query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
f11d91fd30474c700e112f87a144836e
new method for joins
[ { "docid": "3509e2780954535c4a64cdd572421c37", "score": "0.0", "text": "public Result all(String id);", "title": "" } ]
[ { "docid": "531a117827102b9d3093d0b51b5c1125", "score": "0.7874396", "text": "abstract protected Object joinClause(Object o1, Object o2);", "title": "" }, { "docid": "3fb4db9f290400724f924d1b8cbb308e", "score": "0.7644142", "text": "Join createJoin();", "title": "" }, { "docid": "645140e45ecc4b97b0e98a7fb52ca5f8", "score": "0.69340825", "text": "FromTableJoin createFromTableJoin();", "title": "" }, { "docid": "9264f6df8e78b4654812282f022f5607", "score": "0.6928013", "text": "public Joins()\n {\n joins = new ArrayList<Join>();\n }", "title": "" }, { "docid": "a607a80b6dd8f97648a9ea93f5a88a78", "score": "0.6911337", "text": "private static void DoJoin()\n\t{\n\n\t\tArrayList<Attribute> inAttsRight = new ArrayList<Attribute>();\n\t\tinAttsRight.add(new Attribute(\"Int\", \"o_orderkey\"));\n\t\tinAttsRight.add(new Attribute(\"Int\", \"o_custkey\"));\n\t\tinAttsRight.add(new Attribute(\"Str\", \"o_orderstatus\"));\n\t\tinAttsRight.add(new Attribute(\"Float\", \"o_totalprice\"));\n\t\tinAttsRight.add(new Attribute(\"Str\", \"o_orderdate\"));\n\t\tinAttsRight.add(new Attribute(\"Str\", \"o_orderpriority\"));\n\t\tinAttsRight.add(new Attribute(\"Str\", \"o_clerk\"));\n\t\tinAttsRight.add(new Attribute(\"Int\", \"o_shippriority\"));\n\t\tinAttsRight.add(new Attribute(\"Str\", \"o_comment\"));\n\n\t\tArrayList<Attribute> inAttsLeft = new ArrayList<Attribute>();\n\t\tinAttsLeft.add(new Attribute(\"Int\", \"c_custkey\"));\n\t\tinAttsLeft.add(new Attribute(\"Str\", \"c_name\"));\n\t\tinAttsLeft.add(new Attribute(\"Str\", \"c_address\"));\n\t\tinAttsLeft.add(new Attribute(\"Int\", \"c_nationkey\"));\n\t\tinAttsLeft.add(new Attribute(\"Str\", \"c_phone\"));\n\t\tinAttsLeft.add(new Attribute(\"Float\", \"c_acctbal\"));\n\t\tinAttsLeft.add(new Attribute(\"Str\", \"c_mktsegment\"));\n\t\tinAttsLeft.add(new Attribute(\"Str\", \"c_comment\"));\n\n\t\tArrayList<Attribute> outAtts = new ArrayList<Attribute>();\n\t\toutAtts.add(new Attribute(\"Str\", \"att1\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att2\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att3\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att4\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att5\"));\n\n\t\tArrayList<String> leftHash = new ArrayList<String>();\n\t\tleftHash.add(\"c_custkey\");\n\n\t\tArrayList<String> rightHash = new ArrayList<String>();\n\t\trightHash.add(\"o_custkey\");\n\n\t\tString selection = \"right.o_custkey == left.c_custkey && right.o_custkey > Int (1000)\";\n\n\t\tHashMap<String, String> exprs = new HashMap<String, String>();\n\t\texprs.put(\"att1\", \"right.o_comment + Str(\\\" \\\") + left.c_comment\");\n\t\texprs.put(\"att2\", \"right.o_custkey\");\n\t\texprs.put(\"att3\", \"left.c_custkey\");\n\t\texprs.put(\"att4\", \"left.c_name\");\n\t\texprs.put(\"att5\", \"right.o_orderkey\");\n\n\t\t// run the join\n\t\ttry\n\t\t{\n\t\t\tnew Join(inAttsLeft, inAttsRight, outAtts, leftHash, rightHash, selection, exprs, \"customer.tbl\", \"orders.tbl\",\n\t\t\t\t\t\"out.tbl\", \"g++\", \"cppDir/\");\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\n\t}", "title": "" }, { "docid": "4a5941c895f85bed1cb47de5736bfe79", "score": "0.6899833", "text": "protected abstract Object calcJoinRow();", "title": "" }, { "docid": "da827784abc98e887b0e9e042259351c", "score": "0.6677177", "text": "@Test\n\tpublic void join(){\n\t\t\n\t\tCriteriaBuilder criteriaBuilder = em.getCriteriaBuilder();\n\t\tCriteriaQuery<Course> criteriaQuery = criteriaBuilder.createQuery(Course.class);\n\t\t\n\t\t\n\t\t// Define roots\n\t\tRoot<Course> courseRoot = criteriaQuery.from(Course.class);\n\t\t\n\t\t// Define Predicate\n\t\tJoin<Object, Object> join = courseRoot.join(\"students\");\n\t\t\n\t\t// Add Predicate\n\t\n\t\t//5. Defined Typed Query\n\t\t\t\tTypedQuery<Course> query = em.createQuery(criteriaQuery.select(courseRoot));\n\t\t\t\t\n\t\t\t\tList<Course> resultList = query.getResultList();\n\t\t\t\t\n\t\t\t\tlogger.info(\"JOINED COURSES ==> {}\", resultList);\n\t\t\t\t\t\n\t}", "title": "" }, { "docid": "a50e6903d55f06aefe2d03fcec4b06bf", "score": "0.6649933", "text": "public void customerJoins(Customer cust);", "title": "" }, { "docid": "8b7471f4ad2bfd70df59852b883cdcb6", "score": "0.6500107", "text": "private String getJoins() {\r\n\t\treturn joins;\r\n\t}", "title": "" }, { "docid": "4b15ad5c9158432e4537668d729eb8aa", "score": "0.6489626", "text": "@Test\r\n\tvoid join() {\r\n\t\tQuery query = entityManager.createQuery(\"Select c,s from Course c JOIN c.students s\");\r\n\t\tList<Object[]> resultList = query.getResultList();\r\n\t\tlog.info(\"Result Size -> {}\", resultList.size());\r\n\t\tfor (Object[] result : resultList) {\r\n\t\t\tlog.info(\"Course -> {}\", result[0]);\r\n\t\t\tlog.info(\"Student -> {}\", result[1]);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6fa6c0ae83ccf27a061bc9e58905ba63", "score": "0.6429595", "text": "protected String getJoin( LogicalModel businessModel, LogicalRelationship relation,\n Map<LogicalTable, String> tableAliases, Map<String, Object> parameters, boolean genAsPreparedStatement,\n DatabaseMeta databaseMeta, String locale ) throws PentahoMetadataException {\n String join = \"\"; //$NON-NLS-1$\n if ( relation.isComplex() ) {\n try {\n // parse join as MQL\n SqlOpenFormula formula =\n new SqlOpenFormula( businessModel, databaseMeta, relation.getComplexJoin(), tableAliases, parameters,\n genAsPreparedStatement );\n formula.parseAndValidate();\n join = formula.generateSQL( locale );\n } catch ( PentahoMetadataException e ) {\n // backward compatibility, deprecate\n // FIXME: we need to get rid of this and just throw an exception\n logger.warn( Messages.getErrorString(\n \"SqlGenerator.ERROR_0017_FAILED_TO_PARSE_COMPLEX_JOIN\", relation.getComplexJoin() ), e ); //$NON-NLS-1$\n join = relation.getComplexJoin();\n }\n } else if ( relation.getFromTable() != null && relation.getToTable() != null && relation.getFromColumn() != null\n && relation.getToColumn() != null ) {\n // Left side\n String leftTableAlias = null;\n if ( tableAliases != null ) {\n leftTableAlias = tableAliases.get( relation.getFromColumn().getLogicalTable() );\n } else {\n leftTableAlias = relation.getFromColumn().getLogicalTable().getId();\n }\n\n join = databaseMeta.quoteField( leftTableAlias );\n join += \".\"; //$NON-NLS-1$\n join +=\n databaseMeta.quoteField( (String) relation.getFromColumn().getProperty( SqlPhysicalColumn.TARGET_COLUMN ) );\n\n // Equals\n join += \" = \"; //$NON-NLS-1$\n\n // Right side\n String rightTableAlias = null;\n if ( tableAliases != null ) {\n rightTableAlias = tableAliases.get( relation.getToColumn().getLogicalTable() );\n } else {\n rightTableAlias = relation.getToColumn().getLogicalTable().getId();\n }\n\n join += databaseMeta.quoteField( rightTableAlias );\n join += \".\"; //$NON-NLS-1$\n join += databaseMeta.quoteField( (String) relation.getToColumn().getProperty( SqlPhysicalColumn.TARGET_COLUMN ) );\n } else {\n throw new PentahoMetadataException( Messages.getErrorString(\n \"SqlGenerator.ERROR_0003_INVALID_RELATION\", relation.toString() ) ); //$NON-NLS-1$\n }\n\n return join;\n }", "title": "" }, { "docid": "89a89a1e32da3e870e9b533b23d2f6d0", "score": "0.6395803", "text": "public void testJoin() {\n\n\t\t\tSystem.out.println(\"\\nSELECT first,last,street,city,state,zip\" + \" FROM people, address\"\n\t\t\t\t\t+ \" WHERE people.addrId = address.addrId\");\n\n\t\t\t// Collection version chains to String[] version,\n\t\t\t// so this code tests both:\n\t\t\tList columns = new ArrayList();\n\t\t\tcolumns.add(\"first\");\n\t\t\tcolumns.add(\"last\");\n\t\t\tcolumns.add(\"street\");\n\t\t\tcolumns.add(\"city\");\n\t\t\tcolumns.add(\"state\");\n\t\t\tcolumns.add(\"zip\");\n\n\t\t\tList tables = new ArrayList();\n\t\t\ttables.add(address);\n\n\t\t\tTable result = // WHERE people.addrID = address.addrID\n\t\t\t\t\tpeople.select(new Selector.Adapter() {\n\t\t\t\t\t\tpublic boolean approve(Cursor[] tables) {\n\t\t\t\t\t\t\treturn tables[0].column(\"addrId\").equals(tables[1].column(\"addrId\"));\n\t\t\t\t\t\t}\n\t\t\t\t\t}, columns, tables);\n\n\t\t\tprint(result);\n\t\t\tSystem.out.println(\"\");\n\n\t\t\t// Now test a three-way join\n\t\t\t//\n\t\t\tSystem.out.println(\"\\nSELECT first,last,street,city,state,zip,text\" + \" FROM people, address, third\"\n\t\t\t\t\t+ \" WHERE (people.addrId = address.addrId)\" + \" AND (people.addrId = third.addrId)\");\n\n\t\t\tTable third = TableFactory.create(\"third\", new String[] { \"addrId\", \"text\" });\n\t\t\tthird.insert(new Object[] { \"1\", \"addrId=1\" });\n\t\t\tthird.insert(new Object[] { \"2\", \"addrId=2\" });\n\n\t\t\tresult = people.select(new Selector.Adapter() {\n\t\t\t\tpublic boolean approve(Cursor[] tables) {\n\t\t\t\t\treturn (tables[0].column(\"addrId\").equals(tables[1].column(\"addrId\"))\n\t\t\t\t\t\t\t&& tables[0].column(\"addrId\").equals(tables[2].column(\"addrId\")));\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t\t\tnew String[] { \"last\", \"first\", \"state\", \"text\" }, new Table[] { address, third });\n\n\t\t\tSystem.out.println(result.toString() + \"\\n\");\n\t\t}", "title": "" }, { "docid": "2a26b82478afff51a695bf0c5e707181", "score": "0.63947296", "text": "public void testMember(){\n\r\n parser.sqltext = \"select f from t1\";\r\n assertTrue(parser.parse() == 0);\r\n assertTrue(parser.sqlstatements.get(0).joins.getJoin(0).getKind() == TBaseType.join_source_fake );\r\n assertTrue(parser.sqlstatements.get(0).joins.getJoin(0).getTable().toString().compareToIgnoreCase(\"t1\") == 0);\r\n\r\n parser.sqltext = \"select f from t as t1 join t2 on t1.f1 = t2.f1\";\r\n assertTrue(parser.parse() == 0);\r\n assertTrue(parser.sqlstatements.get(0).joins.getJoin(0).getKind() == TBaseType.join_source_table );\r\n assertTrue(parser.sqlstatements.get(0).joins.getJoin(0).getTable().toString().compareToIgnoreCase(\"t\") == 0);\r\n assertTrue(parser.sqlstatements.get(0).joins.getJoin(0).getTable().getAliasClause().toString().compareToIgnoreCase(\"t1\") == 0);\r\n\r\n\r\n parser.sqltext = \"select a_join.f1 from (a as a_alias left join a1 on a1.f1 = a_alias.f1 ) as a_join join b on a_join.f1 = b.f1;\";\r\n assertTrue(parser.parse() == 0);\r\n TJoin lcJoin = parser.sqlstatements.get(0).joins.getJoin(0);\r\n //System.out.println(lcJoin.getKind());\r\n assertTrue(lcJoin.getKind() == TBaseType.join_source_join );\r\n\r\n assertTrue(lcJoin.getJoin().toString().compareToIgnoreCase(\"(a as a_alias left join a1 on a1.f1 = a_alias.f1 )\") == 0);\r\n assertTrue(lcJoin.getJoin().getAliasClause().toString().compareToIgnoreCase(\"a_join\") == 0);\r\n assertTrue(lcJoin.getJoin().getJoinItems().getJoinItem(0).getJoinType() == EJoinType.left);\r\n\r\n assertTrue(lcJoin.getJoinItems().getJoinItem(0).getJoinType() == EJoinType.join);\r\n\r\n parser.sqltext = \"select a_join.f1 from (a as a_alias left join a1 on a1.f1 = a_alias.f1 ) as a_join\";\r\n assertTrue(parser.parse() == 0);\r\n TJoin lcJoin1 = parser.sqlstatements.get(0).joins.getJoin(0);\r\n assertTrue(lcJoin1.getKind() == TBaseType.join_source_join );\r\n assertTrue(lcJoin1.getJoin().toString().compareToIgnoreCase(\"(a as a_alias left join a1 on a1.f1 = a_alias.f1 )\") == 0);\r\n assertTrue(lcJoin1.getJoin().getAliasClause().toString().compareToIgnoreCase(\"a_join\") == 0);\r\n\r\n }", "title": "" }, { "docid": "71514bec40fd668f37706148d23013de", "score": "0.6355988", "text": "<V1, R> KTable<K, R> join(KTable<K, V1> other, ValueJoiner<V, V1, R> joiner);", "title": "" }, { "docid": "3e3794abff18a065cefb3ec1fc914d2c", "score": "0.63337874", "text": "JoinCondition createJoinCondition();", "title": "" }, { "docid": "444538e476f40aafb55f16aad48bfc58", "score": "0.6303519", "text": "private void constructJoins(CriteriaBuilderImpl cb, AbstractCriteriaQueryImpl<?> q, RootImpl<Object> r, Tree joins) {\n \t\tfor (int i = 0; i < joins.getChildCount(); i++) {\n \t\t\tfinal Tree join = joins.getChild(i);\n \n \t\t\tJoinType joinType = JoinType.INNER;\n \n \t\t\tfinal int joinSpecification = join.getChild(0).getType();\n \t\t\tint offset = 0;\n \n \t\t\tif (joinSpecification == JpqlParser.INNER) {\n \t\t\t\toffset = 1;\n \t\t\t\tjoinType = JoinType.INNER;\n \t\t\t}\n \t\t\telse if (joinSpecification == JpqlParser.LEFT) {\n \t\t\t\toffset = 1;\n \t\t\t\tjoinType = JoinType.LEFT;\n \t\t\t}\n \n \t\t\tif (join.getChildCount() == (offset + 3)) {\n \t\t\t\tFetchParent<?, ?> parent = this.getAliased(q, join.getChild(offset).getText());\n \n \t\t\t\tfinal Qualified qualified = new Qualified(join.getChild(offset + 1).getChild(0));\n \n \t\t\t\tfor (final String segment : qualified.getSegments()) {\n \t\t\t\t\tparent = parent.fetch(segment, joinType);\n \t\t\t\t}\n \t\t\t}\n \t\t\telse {\n \t\t\t\tAbstractFrom<?, ?> parent = this.getAliased(q, join.getChild(offset).getText());\n \n \t\t\t\tfinal Aliased aliased = new Aliased(join.getChild(offset + 1));\n \n \t\t\t\tint depth = 0;\n \t\t\t\tfor (final String segment : aliased.getQualified().getSegments()) {\n \t\t\t\t\tif ((depth > 0) && (parent instanceof PluralJoin)) {\n \t\t\t\t\t\tthrow new PersistenceException(\"Cannot qualify, only embeddable joins within the path allowed, \" + \"line \" + join.getLine() + \":\"\n \t\t\t\t\t\t\t+ join.getCharPositionInLine());\n \t\t\t\t\t}\n \n \t\t\t\t\tparent = parent.join(segment, joinType);\n \n \t\t\t\t\tdepth++;\n \t\t\t\t}\n \n \t\t\t\tthis.putAlias(q, join.getChild(1), aliased, parent);\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "7fd8d8c3b7caadbd82f53875223d95fa", "score": "0.630309", "text": "@Override\n @Test\n public void testSimpleJoin() throws Exception { }", "title": "" }, { "docid": "8ce215a1d8071c0a446ed11e40ae9503", "score": "0.6256284", "text": "public boolean isJoin()\r\n { return type == JOIN; }", "title": "" }, { "docid": "037be601f93572c8eb0b2a3db7993671", "score": "0.6253379", "text": "private void appendJoinStatement(JoinStage left,\n JoinStage right) {\n String joinType;\n\n if (left.isRequired() && right.isRequired()) {\n joinType = \"INNER\";\n } else if (left.isRequired() && !right.isRequired()) {\n joinType = \"LEFT OUTER\";\n } else if (!left.isRequired() && right.isRequired()) {\n joinType = \"RIGHT OUTER\";\n } else {\n joinType = \"FULL OUTER\";\n }\n\n // ... <join_type> JOIN <right_table> ON ...\n builder.append(joinType);\n builder.append(JOIN);\n appendFullTableNameAndAlias(right.getStageName());\n builder.append(ON);\n }", "title": "" }, { "docid": "8594868b381eb420e3ddc998d67cee2b", "score": "0.6237956", "text": "@VisibleForTesting\n protected void appendJoinOnKeyOperation(JoinStage left,\n JoinStage right,\n Map<String, JoinKey> stageNameToJoinKeyMap,\n boolean joinOnNullKeys) {\n // Append Join Statement for these 2 stages\n appendJoinStatement(left, right);\n\n String leftAlias = getTableAlias(left.getStageName());\n String rightAlias = getTableAlias(right.getStageName());\n\n JoinKey leftKey = stageNameToJoinKeyMap.get(left.getStageName());\n JoinKey rightKey = stageNameToJoinKeyMap.get(right.getStageName());\n\n // Append Join on key conditions\n appendJoinOnKeyClause(leftAlias, leftKey, rightAlias, rightKey, joinOnNullKeys);\n }", "title": "" }, { "docid": "02782b5ccaabbecf6b22948d39623e58", "score": "0.623586", "text": "protected FetchJoinInformation[] getFetchJoins() {\n\t\treturn new FetchJoinInformation[] {};\n\t}", "title": "" }, { "docid": "b7d3b245a59c104885264d4807506d9e", "score": "0.6229384", "text": "protected void createSubQueryJoinTable() throws ODataApplicationException {\r\n try {\r\n final List<JPAOnConditionItem> left = association\r\n .getJoinTable()\r\n .getJoinColumns(); // Team -->\r\n final List<JPAOnConditionItem> right = association\r\n .getJoinTable()\r\n .getInverseJoinColumns(); // Person -->\r\n createSelectClauseJoin(subQuery, queryRoot, right);\r\n Expression<Boolean> whereCondition = createWhereByAssociation(from, queryJoinTable, left);\r\n whereCondition = cb.and(whereCondition, createWhereByAssociation(queryJoinTable, queryRoot, right));\r\n subQuery.where(applyAdditionalFilter(whereCondition));\r\n } catch (final ODataJPAModelException e) {\r\n throw new ODataJPAQueryException(e, HttpStatusCode.INTERNAL_SERVER_ERROR);\r\n }\r\n\r\n }", "title": "" }, { "docid": "de05b776a0da13111a85dfa9286f6eb5", "score": "0.62081474", "text": "public Relation join(Relation r, Condition c, String name) throws RelationException;", "title": "" }, { "docid": "842c31f542d7051c5760e447fa7203da", "score": "0.6195211", "text": "@VisibleForTesting\n protected void appendJoinOnKeyClause(String leftAlias,\n JoinKey leftKey,\n String rightAlias,\n JoinKey rightKey,\n boolean joinOnNullKeys) {\n // ... ON [left.l1 = right.r1]\n appendEquals(leftAlias, leftKey.getFields().get(0), rightAlias, rightKey.getFields().get(0), joinOnNullKeys);\n\n for (int i = 1; i < leftKey.getFields().size(); i++) {\n // ... [AND left.rN = right.rN]\n builder.append(AND);\n appendEquals(leftAlias, leftKey.getFields().get(i), rightAlias, rightKey.getFields().get(i), joinOnNullKeys);\n }\n }", "title": "" }, { "docid": "c2b772cde2f5620739323b7789950d6b", "score": "0.61200285", "text": "<V1, R> KTable<K, R> leftJoin(KTable<K, V1> other, ValueJoiner<V, V1, R> joiner);", "title": "" }, { "docid": "596fffe6e35cc124ab82c9e1fe7765da", "score": "0.6117066", "text": "public Join(JoinPredicate p, DbIterator child1, DbIterator child2) {\n this._p = p;\n this._child1 = child1;\n this._child2 = child2;\n this._hj = new HashJoin();\n }", "title": "" }, { "docid": "cf8ac926ff4e99aefa376bfe5803aa95", "score": "0.6056133", "text": "<V1, R> KTable<K, R> outerJoin(KTable<K, V1> other, ValueJoiner<V, V1, R> joiner);", "title": "" }, { "docid": "64333b7217579a25d87907e1a59362cc", "score": "0.6040092", "text": "@Override\n\tvoid addOneToManyJoin(QueryBuilder sb, Relation relation, EFieldAccessType fieldReferenceType, SourceReference from, SourceReference to) {\n\t\t\n\t\t\n\t\tfinal String entityAliasName = from.getVarName();\n\t\tfinal String collectionAttrName = relation.getFrom().getAttribute().getName();\n\n\t\t// final String joinVarName = \"join\" + joinParamIdx++;\n\n\t\tfinal String joinVarName = to.getVarName();\n\t\t\n\t\taddOneToManyJoin(sb, entityAliasName, collectionAttrName, joinVarName);\n\t}", "title": "" }, { "docid": "37cdeb9c573932853afa126f882e6db9", "score": "0.59809333", "text": "@Override\r\n\tpublic Map doJoin(Object rcd, List<IJoin> joins, List<IRefiner> refiners) throws Exception{\r\n\t\tMap m=(Map)LightUtil.toJsonObject(rcd);\r\n\t\tif (joins!=null){\r\n\t\t\tfor (IJoin j:joins){\r\n\t\t\t\tj.doJoin(this,m);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (refiners!=null){\r\n\t\t\tfor (IRefiner p:refiners){\r\n\t\t\t\tif (p!=null) p.refineRow(this,null,m,null);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn m;\r\n\t}", "title": "" }, { "docid": "94abc5f2ef479944e3425b055a31d1cb", "score": "0.59666324", "text": "private void appendTempTableRightSideJoin(\r\n Object source,\r\n Attribute[] prototypeAttributes,\r\n MithraFastList<Attribute> nullAttributes,\r\n int pkAttributeCount,\r\n TupleTempContext tempContext,\r\n StringBuilder builder)\r\n {\r\n builder.append(tempContext.getFullyQualifiedTableName(source, this.getMithraObjectPortal().getPersisterId()));\r\n builder.append(\" t1 where \");\r\n this.constructJoin(prototypeAttributes, nullAttributes, pkAttributeCount, builder);\r\n }", "title": "" }, { "docid": "0d379da9279a660b9a2cf9b906f6f7c2", "score": "0.5924585", "text": "@Override\n\tpublic String getJoinTable() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "43147077b3c8ee81d502b7b68502550e", "score": "0.5909217", "text": "@Test\n public void testSqlExistsBasedJoin() {\n Query<Car> carsQuery = and(\n in(Car.FEATURES, \"sunroof\", \"convertible\"),\n existsIn(garages,\n Car.NAME,\n Garage.BRANDS_SERVICED,\n equal(Garage.LOCATION, \"Dublin\")\n )\n );\n\n Map<Car, Set<Garage>> results = new LinkedHashMap<Car, Set<Garage>>();\n for (Car car : cars.retrieve(carsQuery)) {\n Query<Garage> garagesWhichServiceThisCarInDublin\n = and(equal(Garage.BRANDS_SERVICED, car.name), equal(Garage.LOCATION, \"Dublin\"));\n for (Garage garage : garages.retrieve(garagesWhichServiceThisCarInDublin)) {\n Set<Garage> garagesWhichCanServiceThisCar = results.get(car);\n if (garagesWhichCanServiceThisCar == null) {\n garagesWhichCanServiceThisCar = new LinkedHashSet<Garage>();\n results.put(car, garagesWhichCanServiceThisCar);\n }\n garagesWhichCanServiceThisCar.add(garage);\n }\n }\n\n assertEquals(\"join results should contain 2 cars\", 2, results.size());\n Assert.assertTrue(\"join results should contain car1\", results.containsKey(car1));\n Assert.assertTrue(\"join results should contain car4\", results.containsKey(car4));\n\n assertEquals(\"join results for car1\", asSet(garage3, garage4), results.get(car1));\n assertEquals(\"join results for car4\", asSet(garage2), results.get(car4));\n }", "title": "" }, { "docid": "b6a87a51433536e48b1373bb66994162", "score": "0.5880295", "text": "public boolean isJoin()\r\n {\n return false;\r\n }", "title": "" }, { "docid": "04d1f953b08946d3bfc4b8af26eb6407", "score": "0.58499914", "text": "@Test\n public void testMixedJoin3() throws Exception {\n String sql = \"SELECT * FROM g1, g2 inner join g3 on g2.a=g3.a\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n\n verify(selectNode, Select.SYMBOLS_REF_NAME, MultipleElementSymbol.ID);\n\n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n\n verifyUnaryFromClauseGroup(fromNode, From.CLAUSES_REF_NAME, 1, \"g1\");\n\n Node jpNode = verify(fromNode, From.CLAUSES_REF_NAME, 2, JoinPredicate.ID);\n verifyJoin(jpNode, JoinTypeTypes.JOIN_INNER);\n\n verifyUnaryFromClauseGroup(jpNode, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g2\");\n verifyUnaryFromClauseGroup(jpNode, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g3\");\n\n Node criteriaNode = verify(jpNode, JoinPredicate.JOIN_CRITERIA_REF_NAME, CompareCriteria.ID);\n verifyProperty(criteriaNode, AbstractCompareCriteria.OPERATOR_PROP_NAME, CriteriaOperator.Operator.EQ.name());\n\n Node leftExpression = verify(criteriaNode, AbstractCompareCriteria.LEFT_EXPRESSION_REF_NAME, ElementSymbol.ID);\n verifyProperty(leftExpression, Symbol.NAME_PROP_NAME, \"g2.a\");\n\n Node rightExpression = verify(criteriaNode, CompareCriteria.RIGHT_EXPRESSION_REF_NAME, ElementSymbol.ID);\n verifyProperty(rightExpression, Symbol.NAME_PROP_NAME, \"g3.a\");\n \n verifySql(\"SELECT * FROM g1, g2 INNER JOIN g3 ON g2.a = g3.a\", fileNode);\n }", "title": "" }, { "docid": "a506559951a04dc0e30db34336b14fe5", "score": "0.5842896", "text": "public Object caseJoin(Join object) {\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "17ef1425931cdba29af319269e715677", "score": "0.5838745", "text": "private Register[] createJoinResult(Register[] left, Register[] right) {\n Register[] result = new Register[left.length + right.length - 1]; // -1 because of joining key\n\n int pos = 0;\n for (int i = 0; i < left.length; i++) {\n result[pos++] = left[i];\n }\n\n for (int i = 0; i < right.length; i++) {\n if (i != rightJoinAttributeIndex) {\n result[pos++] = right[i];\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "40c5a88230e6895d02cfac5fd675b761", "score": "0.58355373", "text": "public Expression getJoins() {\r\n\t\tif (joins == null) {\r\n\t\t\tjoins = buildNullExpression();\r\n\t\t}\r\n\t\treturn joins;\r\n\t}", "title": "" }, { "docid": "670d44580ae58f35ba944669ffca142b", "score": "0.5796465", "text": "IDbQuery<R> setStraightJoin(boolean straightJoin);", "title": "" }, { "docid": "908d09bd47f3b688ae87c38aa7345a93", "score": "0.57888407", "text": "@Override public String toString()\n{\n return \"JOIN\";\n}", "title": "" }, { "docid": "045e8809b7ed8c5b23fb11b549202897", "score": "0.57779706", "text": "public String toString() {\n\t\treturn \"JoinTableSpec(\"+leftTable.toString()+\" INNER JOIN \"+rightTable.toString()\n\t\t\t\t+\" ON \"+leftCell.toString()+\" = \"+rightCell.toString()+\")\";\n\t}", "title": "" }, { "docid": "fa1b58f82e03fc3366334d4b15791772", "score": "0.5773158", "text": "@Test(timeout = 4000)\n public void test026() throws Throwable {\n String[] stringArray0 = new String[8];\n String string0 = SQLUtil.leftJoin(\"r45_Ruks|DMzE=\", stringArray0, \"\", \" join \", stringArray0);\n assertEquals(\"left join as join on r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null and r45_Ruks|DMzE=.null = join .null\", string0);\n }", "title": "" }, { "docid": "2396bd14c1cb307c4547b31190620871", "score": "0.57656634", "text": "public JoinedTable[] getJoinedTables();", "title": "" }, { "docid": "b9d91a404af93062f5c1705014169458", "score": "0.5755899", "text": "@Test\n public void testJoinOn_withTwoValidTables() {\n String table1column0 = \"user_id\";\n String table1column1 = \"age\";\n int idValue0 = 0;\n int ageValue0 = 23;\n int idValue1 = 1;\n int ageValue1 = 22;\n int idValue2 = 2;\n int ageValue2 = 18;\n String table2column0 = \"pet_id\";\n String table2column1 = \"owner_id\";\n int pet1_id = 0;\n int pet2_id = 1;\n\n try {\n // Set up ModelExtension Table\n String sql = \"CREATE TABLE ModelExtension (\" +\n table1column0 + \" int, \" +\n table1column1 + \" int)\";\n PreparedStatement pstmt = Setup.getConnection().prepareStatement(sql);\n pstmt.execute();\n sql = \"INSERT INTO ModelExtension (\" +\n table1column0 + \", \" +\n table1column1 + \") VALUES (\" +\n idValue0 + \", \" +\n ageValue0 + \"), (\" +\n idValue1 + \", \" +\n ageValue1 + \"), (\" +\n idValue2 + \", \" +\n ageValue2 + \")\";\n pstmt = Setup.getConnection().prepareStatement(sql);\n pstmt.executeUpdate();\n // Set up Test Table\n sql = \"CREATE TABLE Test (\" +\n table2column0 + \" int, \" +\n table2column1 + \" int)\";\n pstmt = Setup.getConnection().prepareStatement(sql);\n pstmt.execute();\n sql = \"INSERT INTO Test (\" +\n table2column0 + \", \" +\n table2column1 + \") VALUES (\" +\n pet1_id + \", \" +\n idValue0 + \"), (\" +\n pet2_id + \", \" +\n idValue1 + \")\";\n pstmt = Setup.getConnection().prepareStatement(sql);\n pstmt.executeUpdate();\n } catch (SQLException e) {\n e.printStackTrace();\n assertTrue(false);\n }\n\n List<ModelExtension> models = child.findAll()\n .joinOn(\n new ModelExtensionWithAnnotation(), \n table1column0, \n table2column1)\n .execute(ModelExtension.class);\n\n assertEquals(2, models.size());\n assertEquals(idValue0, models.get(0).get(table1column0));\n assertEquals(ageValue0, models.get(0).get(table1column1));\n assertEquals(pet1_id, models.get(0).get(table2column0));\n assertEquals(idValue0, models.get(0).get(table2column1));\n\n assertEquals(idValue1, models.get(1).get(table1column0));\n assertEquals(ageValue1, models.get(1).get(table1column1));\n assertEquals(pet2_id, models.get(1).get(table2column0));\n assertEquals(idValue1, models.get(1).get(table2column1));\n }", "title": "" }, { "docid": "4bbf02eea6f6e73b3dfca2a84d583a12", "score": "0.5739744", "text": "public T caseFromJoin(FromJoin object)\n {\n return null;\n }", "title": "" }, { "docid": "d1d68cdaf9f6a7eeaec996a8bfdd29ba", "score": "0.57040405", "text": "public UserJoins getUserJoins(Integer tid, int uid);", "title": "" }, { "docid": "d2929814c5ab1eda168b3ccdf2e23e23", "score": "0.5693661", "text": "public void printJoinResult(String firstTable , Vector<Integer> list1, String secondTable , Vector<Integer> list2) {\n\t\t\n\t\t\n\t\tint firstSize = list1.size();\n\t\tint secondSize = list2.size();\n\t\t\n\t\tVector<String> firstTableRows = null ;\n\t\tVector<String> secondTableRows = null;\n\t\t\n\t\tfor(int i = 0; i < firstSize ; i++) {\n\t\t\tfirstTableRows.add(db.getRecord(firstTable, list1.get(i)));\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < secondSize ; i++) {\n\t\t\tsecondTableRows.add(db.getRecord(secondTable, list2.get(i)));\n\t\t}\n\t\t\n\t\t/**\n\t\t * Let k be count of select columns of firstTable and List of select column index is there.\n\t\t * \n\t\t * Same is there for secondTable\n\t\t * \n\t\t */\n\t\t\n\t\t\n\t\t// TODO set k1 k2\n\t\tint k;\n\t\tint selectSize=0;\n\t\t//int k2=0;\n\t\t\n\t\t\n\t\tString []firstSplit;\n\t\tString []secondSplit;\n\t\t\n\t\tString output = \"\";\n\t\t\n\t\t\n\t\tfor(int i=0; i< firstSize; i++) {\n\t\t\t\n\t\t\tfirstSplit = firstTableRows.get(i).split(\",\");\n\t\t\t\t\t\n\t\t\tfor(int j=0 ; j< secondSize ; j++) {\n\t\t\t\t\n\t\t\t\tsecondSplit = secondTableRows.get(j).split(\",\");\n\t\t\t\toutput = \"\";\n\t\t\t\t\n\t\t\t\tfor(k=0; k< selectSize ;k++) {\n\t\t\t\t\t\n\t\t\t\t\tString table = joinSelectColumn.get(i).substring(0,joinSelectColumn.get(i).indexOf('.')); \n\t\t\t\t\tString index = joinSelectColumn.get(i).substring(joinSelectColumn.get(i).indexOf('.')+1);\n\t\t\t\t\t\n\t\t\t\t\tif(\ttable.equalsIgnoreCase(firstTable)) {\n\t\t\t\t\t\toutput += firstSplit[Integer.parseInt(index)];\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\toutput += secondSplit[Integer.parseInt(index)];\n\t\t\t\t\t}\n\t\t\t\t\tif(k+1 < selectSize)\n\t\t\t\t\t\toutput += \",\";\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tSystem.out.println(output);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "e27e40200cd0f7e9dc8b94b8fe7b4dcb", "score": "0.56850314", "text": "public void testJoinInner() {\n\n String\tsql\t= \"SELECT t.AD_Table_ID, t.TableName, c.AD_Column_ID, c.ColumnName \" + \"FROM AD_Table t INNER JOIN AD_Column c ON (t.AD_Table_ID=c.AD_Table_ID) WHERE t.IsActive='Y'\";\n AccessSqlParser\tfixture\t= new AccessSqlParser(sql);\n\n assertEquals(\"AccessSqlParser[AD_Table=t,AD_Column=c|0]\", fixture.toString());\n }", "title": "" }, { "docid": "fdfa1c71159a87127a7099c6c6917ced", "score": "0.5668344", "text": "private void addOneToManyJoin(QueryBuilder sb, String entityAliasName, String collectionAttrName, String joinVarName) {\n\t\tsb.append(\" \")\n\t\t .append(entityAliasName).append(\".\").append(collectionAttrName)\n\t\t .append(\" \")\n\t\t .append(joinVarName);\n\t}", "title": "" }, { "docid": "95789e43d86be5e9256fad8f0c4530a6", "score": "0.56660557", "text": "public void addJoinOn(boolean enabled, String join) {\r\n\t\tif (enabled) {\r\n\t\t\taddJoinOn(join);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2a2912ac649ee6100be15937236179e2", "score": "0.566506", "text": "public void addJoin(String left, String right, boolean outer, int reltype) {\r\n DSJoinDescriptor d = new DSJoinDescriptor(left, right, outer, reltype);\r\n _joins.addElement(d);\r\n }", "title": "" }, { "docid": "df97ca5fd005660e931129640888a934", "score": "0.56614494", "text": "private static String constructWhereClauseJoin(List<String> columns, String tableA, String tableB, Boolean joinOnNull) {\n StringJoiner conditions = new StringJoiner(\" AND \");\n String joinString = JOIN_ON_STRING_NO_NULL;\n\n if (joinOnNull) {\n joinString = JOIN_ON_STRING_INCLUDE_NULL;\n }\n\n for (String column : columns) {\n escapedBuilder.setLength(0);\n escapedBuilder.append(\"`\").append(column).append(\"`\");\n conditions.add(\n MessageFormat.format(\n joinString,\n tableA,\n tableB,\n escapedBuilder.toString()\n )\n );\n }\n\n return conditions.toString();\n }", "title": "" }, { "docid": "6abbffc278f65515a837da1f4e6c00f3", "score": "0.56578505", "text": "protected Expression buildBSRJoinQuery() {\n try {\n final InputStream input = ResourceUtil.getResourceAsStream(QUERY_FILE);\n final QueryExpression query = QueryExpressionParser.parse(input);\n return query.toExpression(new ReferenceTable(catalog));\n } catch (final Exception e) {\n throw new RuntimeException(e);\n }\n }", "title": "" }, { "docid": "dc3ed49ef7437d5bb598c470c8abed15", "score": "0.56317866", "text": "@Override\n\tpublic void joinTransaction() {\n\t\t\n\t}", "title": "" }, { "docid": "73c67f5124deb3477ed3194e592e2fa0", "score": "0.5629019", "text": "private ArrayList<ArrayList<Object>> getJoinedIntermediate(List<Table> tables) {\n\t\tArrayList<ArrayList<Object>> rtn = new ArrayList<ArrayList<Object>>(); \n\n\t\ttry {\n\t\t\tfor(int iterator = 0; iterator < tables.size(); iterator++) {\n\t\t\t\tTable table = tables.get(iterator);\n\t\t\t\tif(rtn.isEmpty()) {\t\t\t\t\t\n\t\t\t\t\tArrayList<Tuple> tuples = (ArrayList<Tuple>) table.getTuples();\n\t\t\t\t\tfor(Tuple tuple : tuples) {\n\t\t\t\t\t\tArrayList<Object> objectTuple = new ArrayList<Object>();\n\t\t\t\t\t\t\n\t\t\t\t\t\tField fields[] = tuple.getClass().getDeclaredFields();\n\t\t\t\t\t\tfor(int i = 0; i < fields.length; i++) {\n\t\t\t\t\t\t\tField field = fields[i];\n\t\t\t\t\t\t\tfield.setAccessible(true);\n\t\t\t\t\t\t\tobjectTuple.add(field.get(tuple));\n\t\t\t\t\t\t\tfield.setAccessible(false);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\trtn.add(objectTuple);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tint originalTableSize = rtn.size();\n\t\t\t\t\tArrayList<Tuple> tuples = (ArrayList<Tuple>) table.getTuples();\n\t\t\t\t\t\n\t\t\t\t\t// Copy existing tuples for join\n\t\t\t\t\tfor(int j = 0; j < tuples.size() - 1; j++)\n\t\t\t\t\t\tfor(int i = 0; i < originalTableSize; i++)\n\t\t\t\t\t\t\trtn.add(new ArrayList<Object>(rtn.get(i)));\n\t\t\t\t\t\n\t\t\t\t\t// Join\n\t\t\t\t\tfor(int j = 0; j < tuples.size(); j++) {\n\t\t\t\t\t\tTuple tuple = tuples.get(j);\n\t\t\t\t\t\tField fields[] = tuple.getClass().getDeclaredFields();\n\t\t\t\t\t\tfor(int i = 0; i < fields.length; i++) {\n\t\t\t\t\t\t\tField field = fields[i];\n\t\t\t\t\t\t\tfor(int iter = 0; iter < originalTableSize; iter++) {\n\t\t\t\t\t\t\t\tfield.setAccessible(true);\n\t\t\t\t\t\t\t\trtn.get(j * originalTableSize + iter).add(field.get(tuple));\n\t\t\t\t\t\t\t\tfield.setAccessible(false);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tcatch (IllegalAccessException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t/*catch (ClassNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcatch (MalformedURLException e)\t{\n\t\t\te.printStackTrace();\n\t\t}*/\n\t\t\n\t\treturn rtn;\n\t}", "title": "" }, { "docid": "1b28a5a5573f3d93173094b29f163a15", "score": "0.562033", "text": "public void testJoinKey() {\n em.getTransaction().begin();\n em.createQuery(\"DELETE FROM Student s\").executeUpdate();\n em.createQuery(\"DELETE FROM Course s\").executeUpdate();\n em.createQuery(\"DELETE FROM Semester s\").executeUpdate();\n em.getTransaction().commit();\n\n em.getTransaction().begin();\n Student s1 = new Student(); s1.setName(\"S1\");\n Student s2 = new Student(); s2.setName(\"S2\");\n Student s3 = new Student(); s3.setName(\"S3\");\n Student s4 = new Student(); s4.setName(\"S4\");\n Semester sm1 = new Semester(); sm1.setName(\"Summer\");\n Semester sm2 = new Semester(); sm2.setName(\"Fall\");\n Course c1 = new Course(); c1.setName(\"C1\");\n Course c2 = new Course(); c2.setName(\"C2\");\n\n s1.addToEnrollment(c1, sm1); s1.addToEnrollment(c2, sm2);\n s2.addToEnrollment(c2, sm1); s2.addToEnrollment(c1, sm2);\n s3.addToEnrollment(c1, sm2);\n s4.addToEnrollment(c2, sm1);\n\n em.persist(s1); em.persist(s2); em.persist(s3); em.persist(s4);\n em.persist(c1); em.persist(c2);\n em.persist(sm1); em.persist(sm2);\n em.getTransaction().commit();\n\n String jpql = \"select s from Student s JOIN s.enrollment e where KEY(e).name=:name\";\n List<Student> jResult = em.createQuery(jpql).setParameter(\"name\", \"C1\").getResultList();\n\n CriteriaQuery<Student> q = cb.createQuery(Student.class);\n Root<Student> s = q.from(Student.class);\n Join<Map<Course,Semester>,Course> c = ((Joins.Map)s.join(Student_.enrollment)).joinKey();\n q.where(cb.equal(c.get(Course_.name), cb.parameter(String.class, \"name\")));\n\n List<Student> cResult = em.createQuery(q).setParameter(\"name\",\"C1\").getResultList();\n\n assertFalse(jResult.isEmpty());\n assertEquals(cResult.size(), jResult.size());\n for (int i = 0; i < jResult.size(); i++) {\n assertEquals(jResult.get(i).getName(), cResult.get(i).getName());\n }\n }", "title": "" }, { "docid": "871bb222f344ea002f7b1aa6fd5b72ae", "score": "0.56191874", "text": "void joinBill(Bill toJoin);", "title": "" }, { "docid": "8865259015a42c13ea9dd87d273b8263", "score": "0.56189185", "text": "public static List<Join_Plat_Facture> getJoins(Connection connection) throws SQLException {\n Statement ordreSQL = connection.createStatement();\n ResultSet resultats = ordreSQL.executeQuery(\"SELECT * from join_plat_facture\");\n\n List<Join_Plat_Facture> joinList = new ArrayList<>();\n\n while (resultats.next()) {\n Join_Plat_Facture dbJoin = new Join_Plat_Facture(resultats.getInt(\"idx_plat\"),\n resultats.getInt(\"idx_facture\"),\n resultats.getInt(\"quantite\"));\n joinList.add(dbJoin);\n\n //System.out.println(dbJoin);\n }\n\n resultats.close();\n ordreSQL.close();\n\n return joinList;\n }", "title": "" }, { "docid": "ccff71b9471fc232101f8b7416dd0301", "score": "0.56045866", "text": "@Query(\"SELECT new com.demos.jpajoins.springdatajpamapping.dto.OrderResponse(c.firstName , p.name) FROM Customer c JOIN c.products p\")\n public List<OrderResponse> getJoinInformation();", "title": "" }, { "docid": "4856708bb6dd9db87eb6f5d9031395f9", "score": "0.5601638", "text": "public boolean supportsOuterJoinForUpdate() {\n \t\treturn true;\n \t}", "title": "" }, { "docid": "74d79eef644dde4ef0889d8796ebbf52", "score": "0.559977", "text": "@Override\r\n\tpublic void join() {\n\r\n\t}", "title": "" }, { "docid": "55bdd6c9c1b32324114b74c0a58d64eb", "score": "0.55970734", "text": "@Override\n @Test\n public void testQuery_advancedRankingWithJoin() throws Exception { }", "title": "" }, { "docid": "b3268853c5bcb153b56e8405e1e8f96a", "score": "0.55957", "text": "@Test\n public void testMixedJoin() throws Exception {\n String sql = \"SELECT * FROM g1 cross join (g2 cross join g3), g4\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n verify(selectNode, Select.SYMBOLS_REF_NAME, MultipleElementSymbol.ID);\n\n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n\n Node jpNode1 = verify(fromNode, From.CLAUSES_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode1, JoinTypeTypes.JOIN_CROSS);\n\n Node jpNode2 = verify(jpNode1, JoinPredicate.RIGHT_CLAUSE_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode2, JoinTypeTypes.JOIN_CROSS);\n\n verifyUnaryFromClauseGroup(jpNode1, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g1\");\n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g2\");\n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g3\");\n \n verifyUnaryFromClauseGroup(fromNode, From.CLAUSES_REF_NAME, 2, \"g4\");\n \n verifySql(\"SELECT * FROM g1 CROSS JOIN (g2 CROSS JOIN g3), g4\", fileNode);\n }", "title": "" }, { "docid": "8e29c2d289a97fb0bf24d136f08e14a4", "score": "0.5586334", "text": "void visit(final Join join);", "title": "" }, { "docid": "562f7d00e00f88652771fd560510420f", "score": "0.55831265", "text": "@Test\n public void testMixedJoin2() throws Exception {\n String sql = \"SELECT * FROM g1 cross join (g2 cross join g3), g4, g5 cross join g6\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n verify(selectNode, Select.SYMBOLS_REF_NAME, MultipleElementSymbol.ID);\n\n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n\n Node jpNode1 = verify(fromNode, From.CLAUSES_REF_NAME, 1, JoinPredicate.ID);\n verifyJoin(jpNode1, JoinTypeTypes.JOIN_CROSS);\n\n verifyUnaryFromClauseGroup(jpNode1, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g1\");\n \n Node jpNode2 = verify(jpNode1, JoinPredicate.RIGHT_CLAUSE_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode2, JoinTypeTypes.JOIN_CROSS);\n \n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g2\");\n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g3\");\n\n verifyUnaryFromClauseGroup(fromNode, From.CLAUSES_REF_NAME, 2, \"g4\");\n\n Node jpNode3 = verify(fromNode, From.CLAUSES_REF_NAME, 3, JoinPredicate.ID);\n verifyJoin(jpNode3, JoinTypeTypes.JOIN_CROSS);\n\n verifyUnaryFromClauseGroup(jpNode3, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g5\");\n verifyUnaryFromClauseGroup(jpNode3, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g6\");\n \n verifySql(\"SELECT * FROM g1 CROSS JOIN (g2 CROSS JOIN g3), g4, g5 CROSS JOIN g6\", fileNode);\n }", "title": "" }, { "docid": "3e7c1bff34259fc7f771e24878b37fca", "score": "0.55757433", "text": "private void handleJoinColumns(JsonNode propertyNode, JAnnotationUse jAnnotationUse, String annotationKey) {\n if (propertyNode.has(JpaConstants.JOIN_COLUMNS)) {\n JsonNode node = propertyNode.get(annotationKey);\n if (Objects.isNull(node)) {\n return;\n }\n\n // Create Join Column\n JAnnotationUse joinColumn = jAnnotationUse.annotationParam(annotationKey, JoinColumn.class);\n // Get name value\n if (node.has(JpaConstants.NAME)) {\n String joinColumnName = node.get(JpaConstants.NAME).asText();\n joinColumn.param(JpaConstants.NAME, joinColumnName);\n }\n // Get REFERENCED_COLUMN_NAME value and append\n if (node.has(JpaConstants.REFERENCED_COLUMN_NAME)) {\n joinColumn.param(JpaConstants.REFERENCED_COLUMN_NAME, node.get(JpaConstants.REFERENCED_COLUMN_NAME).asText());\n }\n }\n }", "title": "" }, { "docid": "1944bb2a54792b19e7c5279e5c91afbf", "score": "0.5567024", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic List sqlQuery(String sql,HashMap entities,HashMap joins,Object... params);", "title": "" }, { "docid": "57e5026def3329233c984930f66466ee", "score": "0.5565768", "text": "public Train getJoin() {\n\t\treturn join;\n\t}", "title": "" }, { "docid": "932bf03180732885d408013e9a1b5544", "score": "0.5559177", "text": "public void setDrawingJoin(JOIN join);", "title": "" }, { "docid": "8916c78c5c458bdd8d64ecf808a48140", "score": "0.5555216", "text": "@Override public List<Node> visitJoin(@NotNull XQueryParser.JoinContext ctx) {\n\t\tHashMap<String, List<Node>> hashJoin = new HashMap<String, List<Node>>();\n\t\tList<Node> result = new ArrayList<Node>();\n\t\tList<Node> left = new ArrayList<Node>(visit(ctx.query(0)));\n\t\tList<Node> right = new ArrayList<Node>(visit(ctx.query(1)));\n\t\tList<String> latt = transform(ctx.attrs(0));\n\t\tList<String> ratt = transform(ctx.attrs(1));\n\t\t\n\t\tif(latt.isEmpty()){\n\t\t\tfor(Node lnode : left){\n\t\t\t\tfor(Node rnode: right){\n\t\t\t\t\tElement container = doc.createElement(\"tuple\");\n\t\t\t\t\tList<Node> child = findChild(lnode);\n\t\t\t\t\tchild.addAll(findChild(rnode));\n\t\t\t\t\tfor(Node childNode: child){\n\t\t\t\t\t\tcontainer.appendChild(doc.importNode(childNode, true));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t\t\n\t\tList<Node> small = left.size() < right.size() ? left : right,\n\t\t\t\tlarge = left.size() < right.size() ? right : left;\n\t\tList<String> smatt = left.size() < right.size() ? latt : ratt,\n\t\t\t\tlgatt = left.size() < right.size() ? ratt : latt;\n\t\t\n\t\t// store into hash map\n\t\tfor(Node smnode : small){\n\t\t\tString key = convertChildren(smnode, smatt);\n\t\t\tif(hashJoin.containsKey(key)){\n\t\t\t\thashJoin.get(key).add(smnode);\n\t\t\t} else hashJoin.put(key, new ArrayList<Node>(Arrays.asList(smnode)));\n\t\t}\n\t\t\n\t\t// actual join operation\n\t\tfor(Node lgnode : large){\n\t\t\tString attributes = convertChildren(lgnode, lgatt);\n\t\t\tif(hashJoin.containsKey(attributes)){\n\t\t\t\tfor(Node smnode : hashJoin.get(attributes)){\n\t\t\t\t\tElement container = doc.createElement(\"tuple\");\n\t\t\t\t\tList<Node> child = findChild(smnode);\n\t\t\t\t\tchild.addAll(findChild(lgnode));\n\t\t\t\t\tfor(Node childnode: child){\n\t\t\t\t\t\tcontainer.appendChild(doc.importNode(childnode, true));\n\t\t\t\t\t}\n\t\t\t\t\tresult.add(container);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "title": "" }, { "docid": "437e8995e91d720aec0fa8910b890725", "score": "0.5521369", "text": "public ChangeDetectionByJoin(Fields fields) {\n\t\tsuper(fields);\n\t}", "title": "" }, { "docid": "57b2dcafc403fd9c82a65a08739ce8e1", "score": "0.5518748", "text": "@Override\n\tpublic Join select(String id) {\n\t\tJoin j = null;\n\t\tResultSet rs = null;\n\t\tString sql = \"select * from Join where id = ?\";\n\t\tPreparedStatement pstmt = null;\n\n\t\ttry {\n\t\t\tconn = dataSource.getConnection();\n\t\t\tpstmt = conn.prepareStatement(sql);\n\t\t\tpstmt.setString(1, id);;\n\t\t\trs = pstmt.executeQuery();\n\t\t\tif(rs.next()){\n\t\t\t\tj = new Join(rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4));\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tJdbcUtils.closeConnection(conn);\n\t\t}\n\t\treturn j;\n\t}", "title": "" }, { "docid": "c5f6c331f3d8a4830f7d5ae9f12ef775", "score": "0.5516409", "text": "public String toSql() {\t\n int n;\t\n void a;\t\n StringBuilder a2 = new StringBuilder();\t\n Table table = MapperHelper.getTable(this.entity);\t\n a2.append(MapperHelper.getTableName((Table)a, this.entity) + \" \" + a.alias());\t\n JoinTable[] arrjoinTable = a.joinTable();\t\n int n2 = arrjoinTable.length;\t\n int n3 = n = 0;\t\n while (n3 < n2) {\t\n JoinTable a3 = arrjoinTable[n];\t\n Table a4 = MapperHelper.getTable(a3.entity());\t\n a2.append(new StringBuilder().insert(0, \" \").append(a3.type().value()).append(\" \").toString());\t\n a2.append(new StringBuilder().insert(0, MapperHelper.getTableName(a4, this.entity)).append(\" \").append(a3.alias()).toString());\t\n a2.append(new StringBuilder().insert(0, \" ON \").append(a3.on()).toString());\t\n n3 = ++n;\t\n }\t\n StringBuilder stringBuilder = a2;\t\n stringBuilder.append(MapperHelper.getSqlMapValue(this.entity, a.extFromKeys()));\t\n return stringBuilder.toString();\t\n }", "title": "" }, { "docid": "d41b62c1544920b8af35d7175ec809a8", "score": "0.55155575", "text": "@VisibleForTesting\n protected void appendEquals(String leftTable,\n String leftField,\n String rightTable,\n String rightField,\n boolean joinOnNullKeys) {\n if (joinOnNullKeys) {\n builder.append(OPEN_GROUP);\n }\n\n // ...table1.column1 = table2.column2...\n builder.append(leftTable).append(DOT).append(leftField);\n builder.append(EQ);\n builder.append(rightTable).append(DOT).append(rightField);\n\n if (joinOnNullKeys) {\n // ... OR (table1.column1 IS NULL AND table2.column2 IS NULL))...\n builder.append(OR).append(OPEN_GROUP);\n builder.append(leftTable).append(DOT).append(leftField).append(IS_NULL);\n builder.append(AND);\n builder.append(rightTable).append(DOT).append(rightField).append(IS_NULL);\n builder.append(CLOSE_GROUP).append(CLOSE_GROUP);\n }\n }", "title": "" }, { "docid": "16af1c179a5e9d4ce7def3520e9cf1b2", "score": "0.55128163", "text": "public static ArrayList<String> evaluateJoinCondition (Table table1,Table table2,Expression expression)\n\t{\n\t\tArrayList<String> arrayList = new ArrayList<String>();\n\n\t\tHashSet<String> set = extractCond(expression);\n\t\t\n\t\tfor(String s: set)\n\t\t{\n\t\t\tString[] strArr=null;\n\t\t\tif(s.contains(\"=\"))\n\t\t\t{\n\t\t\t\tstrArr=s.split(\"=\");\n\t\t\t\tfor (int i = 0; i < strArr.length; i++) {\n\t\t\t\t\tstrArr[i] = strArr[i].trim();\n\t\t\t\t}\n\t\t\t\tif(!table1.tableName.contains(\"|\"))\n\t\t\t\t{\n\n\t\t\t\t\tif ((strArr[0].split(\"\\\\.\")[0].equalsIgnoreCase(table1.tableName) || strArr[0].split(\"\\\\.\")[0].equalsIgnoreCase(table2.tableName)) &&\n\t\t\t\t\t\t\t(strArr[1].split(\"\\\\.\")[0].equalsIgnoreCase(table1.tableName) || strArr[1].split(\"\\\\.\")[0].equalsIgnoreCase(table2.tableName))){\n\n\t\t\t\t\t\tString FirsttableName=table1.tableName;\n\t\t\t\t\t\tString secondtableName=table2.tableName;\n\t\t\t\t\t\tString attr=strArr[0].substring(strArr[0].indexOf(\".\")+1,strArr[0].length());\n\t\t\t\t\t\tarrayList.add(FirsttableName);\n\t\t\t\t\t\tarrayList.add(secondtableName);\n\t\t\t\t\t\tarrayList.add(attr);\n\t\t\t\t\t\treturn arrayList;\n\n\t\t\t\t\t}\n\n\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tString[] newTableName=table1.tableName.trim().split(\"\\\\|\");\n\t\t\t\t\tfor(int i=0;i<newTableName.length;i++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif((strArr[0].split(\"\\\\.\")[0].equalsIgnoreCase(newTableName[i])&&strArr[1].split(\"\\\\.\")[0].equalsIgnoreCase(table2.tableName))||\n\t\t\t\t\t\t\t\t(strArr[1].split(\"\\\\.\")[0].equalsIgnoreCase(newTableName[i])&&strArr[0].split(\"\\\\.\")[0].equalsIgnoreCase(table2.tableName)))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tString FirsttableName=newTableName[i];\n\t\t\t\t\t\t\tString secondtableName=table2.tableName;\n\t\t\t\t\t\t\tString attr=strArr[0].substring(strArr[0].indexOf(\".\")+1,strArr[0].length());\n\t\t\t\t\t\t\tarrayList.add(FirsttableName);\n\t\t\t\t\t\t\tarrayList.add(secondtableName);\n\t\t\t\t\t\t\tarrayList.add(attr);\n\t\t\t\t\t\t\treturn arrayList;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t}\n\n\t\treturn arrayList;\n\t}", "title": "" }, { "docid": "89e131bb2746bdb599354cf487724fa5", "score": "0.5505952", "text": "@Test(timeout = 4000)\n public void test043() throws Throwable {\n String[] stringArray0 = new String[8];\n String[] stringArray1 = new String[1];\n // Undeclared exception!\n try { \n SQLUtil.innerJoin(\"XSRS9.S, XSRS9.S, XSRS9.S, XSRS9.S, XSRS9.S, XSRS9.S\", stringArray0, \"create table\", (String) null, stringArray1);\n fail(\"Expecting exception: ArrayIndexOutOfBoundsException\");\n \n } catch(ArrayIndexOutOfBoundsException e) {\n //\n // 1\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }", "title": "" }, { "docid": "1645157785134332df9df718184b841e", "score": "0.55050987", "text": "private void appendConditions(String joinType) {\n if (joinQueryInputs.conditions == null || joinQueryInputs.conditions.size() < 1) {\n return;\n }\n for (Condition condition : joinQueryInputs.conditions) {\n sqlQueryBuilder.append(Constants.SPACE).append(joinType).append(Constants.SPACE)\n .append(getRightTableName(condition.condition)).append(Constants.SPACE).append(Constants.ON).append(Constants.SPACE)\n .append(condition.tableName).append(Constants.DOT).append(condition.columnName);\n sqlQueryBuilder.append(Constants.SPACE);\n appendOperator(condition.operatorType);\n sqlQueryBuilder.append(Constants.SPACE);\n\n if (condition.condition != null) {\n sqlQueryBuilder.append(condition.condition.tableName).append(Constants.DOT)\n .append(condition.condition.columnName);\n } else {\n appendConditions(condition.operatorType, condition.conditionValues);\n }\n\n }\n }", "title": "" }, { "docid": "62d6489a03dfc5f0806e542b80c7799b", "score": "0.5499214", "text": "@Test\n public void testCrossJoin() throws Exception {\n String sql = \"SELECT * FROM g1 cross join g2\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n verify(selectNode, Select.SYMBOLS_REF_NAME, MultipleElementSymbol.ID);\n\n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n\n Node jpNode = verify(fromNode, From.CLAUSES_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode, JoinTypeTypes.JOIN_CROSS);\n\n verifyUnaryFromClauseGroup(jpNode, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g1\");\n verifyUnaryFromClauseGroup(jpNode, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g2\");\n \n verifySql(\"SELECT * FROM g1 CROSS JOIN g2\", fileNode);\n }", "title": "" }, { "docid": "ea5d385c3d7f8c2dfb0b8e7a8a9d79d5", "score": "0.5498975", "text": "private void printJoin(ShowlNodeShape shape, NodeNamer namer) {\n\t\t\t\r\n\t\t\tSet<ShowlJoinCondition> set = new HashSet<>();\r\n\t\t\tfor (ShowlDirectPropertyShape direct : shape.getProperties()) {\r\n\t\t\t\tfor (ShowlMapping m : direct.getMappings()) {\r\n\t\t\t\t\tset.add(m.getJoinCondition());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tList<ShowlJoinCondition> list = new ArrayList<>(set);\r\n\t\t\t\r\n\t\t\t// Print FROM clause\r\n\t\t\t\r\n\t\t\tout.indent();\r\n\t\t\tout.print(\"FROM\");\r\n\t\t\tboolean indented = list.size()>1;\r\n\t\t\tif (indented) {\r\n\t\t\t\tout.pushIndent();\r\n\t\t\t}\r\n\t\t\tfor (ShowlJoinCondition join : list) {\r\n\t\t\t\tif (indented) {\r\n\t\t\t\t\tout.println();\r\n\t\t\t\t\tout.indent();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tout.print(' ');\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tShowlNodeShape other = join.otherNode(shape);\r\n\t\t\t\tout.uri(other.getShape().getIri());\r\n\t\t\t\tString varName = join.focusAlias(namer);\r\n\t\t\t\tout.print(\" AS \");\r\n\t\t\t\tout.print(varName);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif (indented) {\r\n\t\t\t\tout.popIndent();\r\n\t\t\t}\r\n\t\t\tout.println();\r\n\t\t\t\r\n\t\t\t// Print WHERE clause\r\n\t\t\t\r\n//\t\t\tout.indent();\r\n//\t\t\tout.print(\"WHERE\");\r\n//\r\n//\t\t\tif (indented) {\r\n//\t\t\t\tout.pushIndent();\r\n//\t\t\t}\r\n//\t\t\t\r\n//\t\t\tfor (ShowlJoinCondition join : list) {\r\n//\t\t\t\tif (indented) {\r\n//\t\t\t\t\tout.println();\r\n//\t\t\t\t\tout.indent();\r\n//\t\t\t\t} else {\r\n//\t\t\t\t\tout.print(' ');\r\n//\t\t\t\t}\r\n//\t\t\t\tShowlPropertyShape left = join.getLeft();\r\n//\t\t\t\tShowlPropertyShape right = join.getRight();\r\n//\t\t\t\t\r\n//\t\t\t\tif (right.getDeclaringShape() == shape) {\r\n//\t\t\t\t\tShowlPropertyShape tmp = left;\r\n//\t\t\t\t\tleft = right;\r\n//\t\t\t\t\tright = tmp;\r\n//\t\t\t\t}\r\n//\t\t\t\t\r\n//\t\t\t\tString leftText = joinValue(left, shape, join, namer);\r\n//\t\t\t\tString rightText = joinValue(right, shape, join, namer);\r\n//\t\t\t\t\r\n//\t\t\t\tout.print(leftText);\r\n//\t\t\t\tout.print(\" = \");\r\n//\t\t\t\tout.print(rightText);\r\n//\t\t\t\t\r\n//\t\t\t}\r\n//\r\n//\t\t\tif (indented) {\r\n//\t\t\t\tout.popIndent();\r\n//\t\t\t}\r\n//\t\t\tout.println();\r\n\t\t}", "title": "" }, { "docid": "d53f317d4642d0644229d5e187079f0e", "score": "0.54966265", "text": "protected void sequence_FULL_INNER_JOIN_LEFT_OUTER_RIGHT_joins(ISerializationContext context, joins semanticObject) {\n\t\tgenericSequencer.createSequence(context, semanticObject);\n\t}", "title": "" }, { "docid": "d64f976c6070b3f7360feb990fb0924e", "score": "0.548979", "text": "public Boolean getIsJoin () {\r\n\t\treturn isJoin;\r\n\t}", "title": "" }, { "docid": "fc6ae4691e5b1a80dd95d2fbf173f497", "score": "0.5480115", "text": "private void buildRowMapping() {\n final Map<String, ColumnDescriptor> targetSource = new TreeMap<>();\n\n // build a DB path .. find parent node that terminates the joint group...\n PrefetchTreeNode jointRoot = this;\n while (jointRoot.getParent() != null && !jointRoot.isDisjointPrefetch()\n && !jointRoot.isDisjointByIdPrefetch()) {\n jointRoot = jointRoot.getParent();\n }\n\n final String prefix;\n if (jointRoot != this) {\n Expression objectPath = ExpressionFactory.pathExp(getPath(jointRoot));\n ASTPath translated = (ASTPath) ((PrefetchProcessorNode) jointRoot)\n .getResolver()\n .getEntity()\n .translateToDbPath(objectPath);\n\n // make sure we do not include \"db:\" prefix\n prefix = translated.getOperand(0) + \".\";\n } else {\n prefix = \"\";\n }\n\n // find propagated keys, assuming that only one-step joins\n // share their column(s) with parent\n\n if (getParent() != null\n && !getParent().isPhantom()\n && getIncoming() != null\n && !getIncoming().getRelationship().isFlattened()) {\n\n DbRelationship r = getIncoming()\n .getRelationship()\n .getDbRelationships()\n .get(0);\n for (final DbJoin join : r.getJoins()) {\n appendColumn(targetSource, join.getTargetName(), prefix\n + join.getTargetName());\n }\n }\n\n ClassDescriptor descriptor = resolver.getDescriptor();\n\n descriptor.visitAllProperties(new PropertyVisitor() {\n\n public boolean visitAttribute(AttributeProperty property) {\n String target = property.getAttribute().getDbAttributePath();\n if(!property.getAttribute().isLazy()) {\n appendColumn(targetSource, target, prefix + target);\n }\n return true;\n }\n\n public boolean visitToMany(ToManyProperty property) {\n return visitRelationship(property);\n }\n\n public boolean visitToOne(ToOneProperty property) {\n return visitRelationship(property);\n }\n\n private boolean visitRelationship(ArcProperty arc) {\n DbRelationship dbRel = arc.getRelationship().getDbRelationships().get(0);\n for (DbAttribute attribute : dbRel.getSourceAttributes()) {\n String target = attribute.getName();\n\n appendColumn(targetSource, target, prefix + target);\n }\n return true;\n }\n });\n\n // append id columns ... (some may have been appended already via relationships)\n for (String pkName : descriptor.getEntity().getPrimaryKeyNames()) {\n appendColumn(targetSource, pkName, prefix + pkName);\n }\n\n // append inheritance discriminator columns...\n for (ObjAttribute column : descriptor.getDiscriminatorColumns()) {\n String target = column.getDbAttributePath();\n appendColumn(targetSource, target, prefix + target);\n }\n\n int size = targetSource.size();\n this.rowCapacity = (int) Math.ceil(size / 0.75);\n this.columns = new ColumnDescriptor[size];\n targetSource.values().toArray(columns);\n }", "title": "" }, { "docid": "9de6ff894ddddf1c2aec053d020c5061", "score": "0.5445812", "text": "@Test(timeout = 4000)\n public void test053() throws Throwable {\n String[] stringArray0 = new String[7];\n String string0 = SQLUtil.join(\"calloeqdkmcg0dtw\", \"4$\", stringArray0, stringArray0[3], \"insert\", stringArray0);\n assertEquals(\"calloeqdkmcg0dtw join null as insert on 4$.null = insert.null and 4$.null = insert.null and 4$.null = insert.null and 4$.null = insert.null and 4$.null = insert.null and 4$.null = insert.null and 4$.null = insert.null\", string0);\n }", "title": "" }, { "docid": "f7fcef6e4d2d40e7cec9d20908c1d83f", "score": "0.5433453", "text": "protected void createSubQueryJoinTableAggregation() throws ODataApplicationException {\r\n try {\r\n final List<JPAOnConditionItem> left = association\r\n .getJoinTable()\r\n .getJoinColumns(); // Person -->\r\n final List<JPAOnConditionItem> right = association\r\n .getJoinTable()\r\n .getInverseJoinColumns(); // Team -->\r\n createSelectClauseAggregation(subQuery, queryJoinTable, left);\r\n final Expression<Boolean> whereCondition = createWhereByAssociation(from, queryJoinTable, parentQuery.jpaEntity);\r\n subQuery.where(applyAdditionalFilter(whereCondition));\r\n handleAggregation(subQuery, queryJoinTable, right);\r\n } catch (final ODataJPAModelException e) {\r\n throw new ODataJPAQueryException(e, HttpStatusCode.INTERNAL_SERVER_ERROR);\r\n }\r\n }", "title": "" }, { "docid": "f0c77e07fc43f24a503c2af0b2eb1941", "score": "0.54080814", "text": "@Test(timeout = 4000)\n public void test044() throws Throwable {\n String[] stringArray0 = new String[12];\n String string0 = SQLUtil.innerJoin(\".z$m\", stringArray0, \"\", \"h?%,\", stringArray0);\n assertEquals(\" as h?%, on .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null and .z$m.null = h?%,.null\", string0);\n }", "title": "" }, { "docid": "5c8ff8cce0d46ff04f2c4518b7539f13", "score": "0.5402075", "text": "public void testJoinOuter() {\n\n String\tsql\t= \"SELECT t.AD_Table_ID, t.TableName, c.AD_Column_ID, c.ColumnName \" + \"FROM AD_Table t LEFT OUTER JOIN AD_Column c ON (t.AD_Table_ID=c.AD_Table_ID) WHERE t.IsActive='Y'\";\n AccessSqlParser\tfixture\t= new AccessSqlParser(sql);\n\n assertEquals(\"AccessSqlParser[AD_Table=t,AD_Column=c|0]\", fixture.toString());\n }", "title": "" }, { "docid": "4c9a6172fa784971e000ca970f15db6d", "score": "0.5400452", "text": "@Test(timeout = 4000)\n public void test011() throws Throwable {\n String[] stringArray0 = new String[0];\n String string0 = SQLUtil.innerJoin(\" zELECT l `kROM&\", stringArray0, \" zELECT l `kROM&\", \" zELECT l `kROM&\", stringArray0);\n assertEquals(\" zELECT l `kROM& as zELECT l `kROM& on \", string0);\n }", "title": "" }, { "docid": "9c49584ecdf099ba9a2ddc5c0b192e77", "score": "0.53972715", "text": "@Test\n\tpublic void leftJoin(){\n\t\t\n\t\tCriteriaBuilder criteriaBuilder = em.getCriteriaBuilder();\n\t\tCriteriaQuery<Course> criteriaQuery = criteriaBuilder.createQuery(Course.class);\n\t\t\n\t\t//Define Roots\n\t\tRoot<Course> courseRoot = criteriaQuery.from(Course.class);\n\t\t\n\t\t//Define Predicates\n\t\tJoin<Object, Object> leftJoin = courseRoot.join(\"students\",JoinType.LEFT);\n\t\t\n\t\t//Add predicates\n\t\t\n\t\t//Define TypedQuery\n\t\tTypedQuery<Course> query = em.createQuery(criteriaQuery.select(courseRoot));\n\t\t\n\t\tList<Course> resultList = query.getResultList();\n\t\t\n\t\tlogger.info(\"LEFT JOINED COURSES ==> {}\", resultList);\n\t\t\n\t}", "title": "" }, { "docid": "10b7dc6f43753179b133dd32e504c79c", "score": "0.5389135", "text": "@Override\r\n\tpublic StoreQnA selectQnAJoin(int storeQnANo)\r\n\t{\n\t\treturn dao.selectQnAJoin(storeQnANo);\r\n\t}", "title": "" }, { "docid": "d246eeb42639afcdff795caa390b4fea", "score": "0.5382196", "text": "@Override\n public DebuggerRuleInfo getDebuggerRuleInfo() {\n return new DebuggerRuleInfo(\"JOIN\", \"Generate variations for every type of JOIN (INNER JOIN | LEFT JOIN | IGHT JOIN).\");\n }", "title": "" }, { "docid": "097310a09afcc520ceaa3b0f74f22930", "score": "0.5376967", "text": "public static <K, E0, E1> JoinClause<K, E0, E1, E1> onKeys(\n DistributedFunction<E0, K> leftKeyFn,\n DistributedFunction<E1, K> rightKeyFn\n ) {\n return new JoinClause<>(leftKeyFn, rightKeyFn, DistributedFunction.identity());\n }", "title": "" }, { "docid": "7b3d194d709c9acb95c2afc382dd29b6", "score": "0.537083", "text": "public boolean joinHelper(Person p){\n\t return false;\n\t}", "title": "" }, { "docid": "fc62875819f55d7e5d1808d08a4b9fd0", "score": "0.534593", "text": "@Override\n public boolean supportsRootTreatTreatJoin() {\n return true;\n }", "title": "" }, { "docid": "b17d3ff962aedecba2c21524a6707f9b", "score": "0.533252", "text": "@Test\n public void testMultiCrossJoin2() throws Exception {\n String sql = \"SELECT * FROM (g1 cross join g2) cross join (g3 cross join g4)\";\n Node fileNode = sequenceSql(sql, TSQL_QUERY);\n\n Node queryNode = verify(fileNode, Query.ID, Query.ID);\n\n Node selectNode = verify(queryNode, Query.SELECT_REF_NAME, Select.ID);\n\n verify(selectNode, Select.SYMBOLS_REF_NAME, MultipleElementSymbol.ID);\n\n Node fromNode = verify(queryNode, Query.FROM_REF_NAME, From.ID);\n\n Node jpNode1 = verify(fromNode, From.CLAUSES_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode1, JoinTypeTypes.JOIN_CROSS);\n\n Node jpNode2 = verify(jpNode1, JoinPredicate.LEFT_CLAUSE_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode2, JoinTypeTypes.JOIN_CROSS);\n\n Node jpNode3 = verify(jpNode1, JoinPredicate.RIGHT_CLAUSE_REF_NAME, JoinPredicate.ID);\n verifyJoin(jpNode3, JoinTypeTypes.JOIN_CROSS);\n \n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g1\");\n verifyUnaryFromClauseGroup(jpNode2, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g2\");\n\n verifyUnaryFromClauseGroup(jpNode3, JoinPredicate.LEFT_CLAUSE_REF_NAME, \"g3\");\n verifyUnaryFromClauseGroup(jpNode3, JoinPredicate.RIGHT_CLAUSE_REF_NAME, \"g4\");\n \n verifySql(\"SELECT * FROM (g1 CROSS JOIN g2) CROSS JOIN (g3 CROSS JOIN g4)\", fileNode);\n }", "title": "" }, { "docid": "7883a4a11f4e25a39566aa4a86a2fc58", "score": "0.53280413", "text": "private void handleJoinTable(JFieldVar field, JDefinedClass clazz, String propertyName, JsonNode propertyNode) {\n if (propertyNode.has(JpaConstants.JOIN_TABLE)) {\n JAnnotationUse jAnnotationUse = field.annotate(JoinTable.class);\n JsonNode node = propertyNode.get(JpaConstants.JOIN_TABLE);\n\n if (node.has(JpaConstants.NAME)) {\n String tableName = node.get(JpaConstants.NAME).asText();\n jAnnotationUse.param(JpaConstants.NAME, tableName);\n }\n\n if (node.has(JpaConstants.JOIN_COLUMNS)) {\n handleJoinColumns(node, jAnnotationUse, JpaConstants.JOIN_COLUMNS);\n handleJoinColumns(node, jAnnotationUse, JpaConstants.INVERSE_JOIN_COLUMNS);\n }\n }\n }", "title": "" }, { "docid": "9207bdf7c19ea47a4703b2cc571cf992", "score": "0.5323577", "text": "@Test(timeout = 4000)\n public void test055() throws Throwable {\n String[] stringArray0 = new String[6];\n String string0 = SQLUtil.join(\"inner\", \"alter session\", stringArray0, \"inner\", \"inner\", stringArray0);\n assertEquals(\"inner as inner on alter session.null = inner.null and alter session.null = inner.null and alter session.null = inner.null and alter session.null = inner.null and alter session.null = inner.null and alter session.null = inner.null\", string0);\n }", "title": "" }, { "docid": "3e8fb1bcc042b4f6a0d6fa1ac8b834a2", "score": "0.5312621", "text": "@Override\n\tpublic Object visit(ASTJoin node, Object data) {\n\t\tint indent = (Integer) data;\n\t\t\n\t\tprintIndent(indent);\n\t\tSystem.out.println(\"join (\");\n\t\tnode.jjtGetChild(0).jjtAccept(this, indent + 2);\n\t\tSystem.out.println(\",\");\n\t\tnode.jjtGetChild(1).jjtAccept(this, indent + 2);\n\t\tSystem.out.println(\",\");\n\t\tnode.jjtGetChild(2).jjtAccept(this, indent + 2);\n\t\tSystem.out.print(\", \");\n\t\tnode.jjtGetChild(3).jjtAccept(this, 0);\n\t\tSystem.out.println();\n\t\tprintIndent(indent);\n\t\tSystem.out.print(\")\");\n\t\treturn null;\n\t}", "title": "" }, { "docid": "77483b4cb491d2e68db85c85a797d73f", "score": "0.5308698", "text": "private ExampleSetBuilder performOuterJoin(ExampleSet leftExampleSet, ExampleSet rightExampleSet,\n\t\t\tList<AttributeSource> originalAttributeSources, List<Attribute> unionAttributeList,\n\t\t\tPair<Attribute[], Attribute[]> keyAttributes) throws ProcessStoppedException {\n\t\tExampleSetBuilder builder;\n\n\t\tAttribute[] leftKeyAttributes = keyAttributes.getFirst();\n\t\tAttribute[] rightKeyAttributes = keyAttributes.getSecond();\n\n\t\t// perform left join (an outer join is the union of a left join and a right join on the same\n\t\t// tables)\n\t\tSet<DoubleArrayWrapper> mappedRightExamples = new HashSet<>();\n\t\tbuilder = performLeftJoin(leftExampleSet, rightExampleSet, originalAttributeSources, unionAttributeList,\n\t\t\t\tkeyAttributes, mappedRightExamples);\n\n\t\tboolean keepBoth = getParameterAsBoolean(PARAMETER_KEEP_BOTH_JOIN_ATTRIBUTES);\n\t\tboolean removeDoubleAttributes = getParameterAsBoolean(PARAMETER_REMOVE_DOUBLE_ATTRIBUTES);\n\t\tint progressCounter = 0;\n\t\tfor (Example rightExample : rightExampleSet) {\n\t\t\t// perform right join, but add example only if it has not been matched during left join\n\t\t\t// above\n\t\t\tif (!mappedRightExamples.contains(new DoubleArrayWrapper(getKeyValues(rightExample, rightKeyAttributes)))) {\n\t\t\t\taddRightOnlyOccurence(originalAttributeSources, unionAttributeList, builder, rightExample, leftKeyAttributes,\n\t\t\t\t\t\trightKeyAttributes, keepBoth, removeDoubleAttributes);\n\t\t\t}\n\t\t\t// trigger operator progress every 100 examples\n\t\t\t++progressCounter;\n\t\t\tif (progressCounter % 100 == 0) {\n\t\t\t\tgetProgress().step(100);\n\t\t\t\tprogressCounter = 0;\n\t\t\t}\n\t\t}\n\t\treturn builder;\n\t}", "title": "" }, { "docid": "432aaf8690c458c514881cdbf0bafdf1", "score": "0.5305167", "text": "private void multipleSessionsWithJoin(SparkSession spark) {\n\n\t\tDataset<Row> empDataset = readEmployeeData(spark);\n\n\t\tlog.info(\"Spark Session old :: \" + spark);\n\n\t\tlog.info(\"Spark Context old :: \" + spark.sparkContext());\n\n\t\tSparkSession.clearActiveSession();\n\t\tSparkSession.clearDefaultSession();\n\n\t\tSparkSession newSession = SparkSession\n\t\t\t\t.builder()\n\t\t\t\t.appName(\"Spark New Session\")\n\t\t\t\t.config(\"spark.eventLog.enabled\", \"true\")\n\t\t\t\t.config(\"spark.driver.cores\", \"2\")\n\t\t\t\t.getOrCreate();\n\n\t\tSparkSession.setDefaultSession(newSession);\n\n\t\tDataset<Row> deptDataset = readDepartmentData(newSession);\n\n\t\tdeptDataset\n\t\t\t\t.join(\n\t\t\t\t\t\tempDataset,\n\t\t\t\t\t\tdeptDataset.col(\"deptno\").equalTo(empDataset.col(\"deptno\")),\n\t\t\t\t\t\t\"inner\"\n\t\t\t\t)\n\t\t\t\t.show();\n\n\t\tlog.info(\"Spark Session new :: \" + newSession);\n\n\t\tlog.info(\"Spark Context new :: \" + newSession.sparkContext());\n\n\t}", "title": "" }, { "docid": "488e197c36b65e37438121e0f8094b93", "score": "0.5299302", "text": "public FetchJoinInformation(String property) {\n\t\tthis(property, JoinType.LEFT);\n\t}", "title": "" }, { "docid": "2b9b2614bafda0bd3f5fd45757679a25", "score": "0.529905", "text": "@NotNull\n DfType join(@NotNull DfType other);", "title": "" }, { "docid": "f79553c49efbf21960d0fc4f76c850c0", "score": "0.52892804", "text": "@Override\n public void visit(final OpLeftJoin opLeftJoin) {\n if (LOG.isDebugEnabled()) {\n LOG.debug(\"Starting visiting OpLeftJoin\");\n }\n final OpRewriter rewriter = new OpRewriter(securityEvaluator, graphIRI);\n addOp(OpLeftJoin.create(rewriteOp2(opLeftJoin, rewriter), rewriter.getResult(), opLeftJoin.getExprs()));\n }", "title": "" } ]
5dc89de2991a9c8561703808da3ee3da
Calculate the bNode closure from a resource. The Statement itself does not automatically get included.
[ { "docid": "2b3b653c0022d086e4b7b87665d03d7e", "score": "0.6428813", "text": "public static Model closure(Resource resource, boolean testThisNode)\n {\n return closure(resource, new ClosureBNode(), testThisNode) ;\n }", "title": "" } ]
[ { "docid": "579db00595b4aad32e3456360a6f1e05", "score": "0.59724456", "text": "public static Model closure(Statement stmt)\n {\n return closure(stmt, new ClosureBNode()) ;\n }", "title": "" }, { "docid": "a46d119664f8bde47a5d699b39b7ce1b", "score": "0.5961538", "text": "public static Model closure(Resource resource, boolean testThisNode, Model results)\n {\n return closure(resource, new ClosureBNode(), testThisNode, results) ;\n }", "title": "" }, { "docid": "819ff6c24a82cfc2b8e0d6973aac0c9b", "score": "0.5650028", "text": "public static Model closure(Resource resource, ClosureTest test, boolean testThisNode)\n {\n return closure(resource, test, testThisNode, GraphFactory.makeJenaDefaultModel()) ;\n }", "title": "" }, { "docid": "126334523a44ab7171797528b00ba555", "score": "0.5584568", "text": "Bits closureOf(int node);", "title": "" }, { "docid": "72dc4b75c9cc7a3eb8dc265c5351fdf7", "score": "0.51547086", "text": "public static Model closure(Statement statement, Model model)\n {\n return closure(statement, new ClosureBNode(), model) ;\n }", "title": "" }, { "docid": "4f29124d1f03388e763d0b6fb4ea70c1", "score": "0.5116885", "text": "public static Model closure(Resource resource, ClosureTest test,\n boolean testThisNode, Model results)\n {\n //Set s = new HashSet() ;\n //Set visited = new HashSet() ;\n List<Resource> visited = new ArrayList<>() ;\n \n if ( ! testThisNode )\n closureNoTest(resource, results, visited, test) ;\n else\n closure(resource, results, visited, test) ;\n return results ;\n }", "title": "" }, { "docid": "78bdb244c20f532a6a05af32a620d543", "score": "0.5033701", "text": "public static Model closure(Statement statement, ClosureTest test)\n {\n return closure(statement, test, GraphFactory.makeJenaDefaultModel()) ;\n }", "title": "" }, { "docid": "4477165ed4c6614d4de48359bab5e859", "score": "0.502721", "text": "public abstract int resourceCost(Graph g);", "title": "" }, { "docid": "82984ef28b261f6a64ae99b861f20fcc", "score": "0.5017747", "text": "@Override\n public ResourceTracker resourceTracker()\n {\n return statement;\n }", "title": "" }, { "docid": "83f06e14cf6b9826edce1d4634117abf", "score": "0.4955582", "text": "public static Model closure(Statement statement, ClosureTest test, Model model)\n {\n //Set visited = new HashSet() ;\n List<Resource> visited = new ArrayList<>() ;\n\n closure(statement, model, visited, test) ;\n return model ;\n }", "title": "" }, { "docid": "b8b03aa78449a84a6ee8f3021bbd6d0e", "score": "0.4874922", "text": "int closureSize(int node);", "title": "" }, { "docid": "95209cbaf19f60d3468fc4c9c0047552", "score": "0.48015878", "text": "ResourceMethodType getBalResource();", "title": "" }, { "docid": "e694c4bba1d18ba65ebee672d96a7ed3", "score": "0.47353292", "text": "private static String readScript(Resource resource) throws IOException {\n\t\tEncodedResource encoded = resource instanceof EncodedResource ? (EncodedResource) resource : new EncodedResource(resource);\n\t\tLineNumberReader lnr = new LineNumberReader(encoded.getReader());\n\t\tString currentStatement = lnr.readLine();\n\t\tStringBuilder scriptBuilder = new StringBuilder();\n\t\twhile (currentStatement != null) {\n\t\t\tif (StringUtils.hasText(currentStatement) && (SQL_COMMENT_PREFIX != null && !currentStatement.startsWith(SQL_COMMENT_PREFIX))) {\n\t\t\t\tif (scriptBuilder.length() > 0) {\n\t\t\t\t\tscriptBuilder.append('\\n');\n\t\t\t\t}\n\t\t\t\tscriptBuilder.append(currentStatement);\n\t\t\t}\n\t\t\tcurrentStatement = lnr.readLine();\n\t\t}\n\t\treturn scriptBuilder.toString();\n\t}", "title": "" }, { "docid": "8beccc49be3560e82787de09e3c0a896", "score": "0.46941105", "text": "String getLiteralBlock();", "title": "" }, { "docid": "8015da11682deb3158b71c11797acfe5", "score": "0.46853694", "text": "R visit(ASTBlockStatement node) throws FFaplException;", "title": "" }, { "docid": "f4720266541673737f44dba97f1d0ad9", "score": "0.46383032", "text": "int reverseClosureSize(int node);", "title": "" }, { "docid": "96a619adba90f1067a51b82a5bc29218", "score": "0.45657563", "text": "Bits reverseClosureOf(int node);", "title": "" }, { "docid": "09ccac1b8731a40c00a74703e0a37554", "score": "0.45414668", "text": "Expression getStatementExpression();", "title": "" }, { "docid": "12a04334f658eec5ae9f00c9a62d914e", "score": "0.4519323", "text": "R visit(ASTStatement node) throws FFaplException;", "title": "" }, { "docid": "6705f135c425b209ae9af17c080a5190", "score": "0.44840476", "text": "private Statement statement() {\n\n\t\tStatement s = null;\n\t\t\n\t\tswitch (lexer.token) {\n\t\tcase THIS:\n\t\tcase IDENT:\n\t\tcase SUPER:\n\t\tcase INT:\n\t\tcase BOOLEAN:\n\t\tcase STRING:\t\n\t\t\ts = new AssignExprLocalDecStatement();\n\t\t\ts = assignExprLocalDec();\n\t\t\tbreak;\n\t\tcase ASSERT:\n\t\t\tassertStatement();\n\t\t\tbreak;\n\t\tcase RETURN:\n\t\t\treturnStatement();\n\t\t\tbreak;\n\t\tcase READ:\n\t\t\treadStatement();\n\t\t\tbreak;\n\t\tcase WRITE:\n\t\t\twriteStatement();\n\t\t\tbreak;\n\t\tcase WRITELN:\n\t\t\twritelnStatement();\n\t\t\tbreak;\n\t\tcase IF:\n\t\t\tifStatement();\n\t\t\tbreak;\n\t\tcase BREAK:\n\t\t\tbreakStatement();\n\t\t\tbreak;\n\t\tcase WHILE:\n\t\t\twhileStatement();\n\t\t\tbreak;\n\t\tcase SEMICOLON:\n\t\t\tnullStatement();\n\t\t\tbreak;\n\t\tcase LEFTCURBRACKET:\n\t\t\tcompositeStatement();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tsignalError.showError(\"Statement expected\");\n\t\t}\n\t\t\n\t\treturn s;\n\t}", "title": "" }, { "docid": "b82a1680da71e7a1deaa5523ead73f7c", "score": "0.44610897", "text": "@Override\n\tpublic Void visitBlock(BlockTree node, StringBuilder p) {\n\t\tp.append(\"\\n\");\n\t\tif ( node.isStatic() ) p.append(\"static \");\n\t\tp.append(\"{\\n\");\n\t\tfor ( StatementTree st : node.getStatements() ) {\n\t\t\tp.append(st);\n\t\t\tp.append(\";\");\n\t\t}\n\t\tp.append(\"\\n}\\n\");\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2d01e3c04608a968913a825695ae9e7e", "score": "0.444656", "text": "Expression getBody();", "title": "" }, { "docid": "9e3bb4a2f379118946a3931a81dd4d42", "score": "0.44464284", "text": "InstructionBlock createInstructionBlock();", "title": "" }, { "docid": "c9e6e3caa2d5287c1f892e30c06108c5", "score": "0.44072628", "text": "public BlueprintCompiler(String resourceRoot) {\n this.name = resourceRoot;\n BlueprintResourceLister bprl = new BlueprintResourceLister(resourceRoot);\n this.fileList = bprl.listFiles();\n this.blueprintSupplier = bprl;\n initScope();\n }", "title": "" }, { "docid": "e89a84882b51910c96f2e19af131176f", "score": "0.44052386", "text": "TransitionBlock getExpression();", "title": "" }, { "docid": "e9bbc4405c522c867bd03f2a8b14282b", "score": "0.43988198", "text": "R visit(ASTBlock node) throws FFaplException;", "title": "" }, { "docid": "1b7d9303775cac8269b33283d78a7694", "score": "0.43842572", "text": "public CompoundStatementNode compound_statement(){\n\t\tCompoundStatementNode node = new CompoundStatementNode();\n\t\tmatch(TokenType.BEGIN);\n\t\tnode.addStatement(optional_statements());\n\t\tmatch(TokenType.END);\n\t\treturn node;\n\t}", "title": "" }, { "docid": "d2721a271a91a7394f9b2af29663e27c", "score": "0.4361612", "text": "public NetworkBoundResource<ResultType> build() {\n return generatedNetworkBoundResource;\n }", "title": "" }, { "docid": "09e8e52ed47bca63a919a95e464b9aeb", "score": "0.4320595", "text": "public Block deriveEffectiveBody() {\n ActivityDefinition self = this.getSelf();\n UnitDefinition subunit = self.getSubunit();\n if (subunit == null) {\n return self.getBody();\n } else {\n NamespaceDefinition definition = subunit.getDefinition();\n return definition instanceof ActivityDefinition?\n ((ActivityDefinition)definition).getBody():\n null;\n }\n }", "title": "" }, { "docid": "ed3f6bd6defa26956dd7bf1028051ce1", "score": "0.42742074", "text": "public T casenode_stmt(node_stmt object)\n {\n return null;\n }", "title": "" }, { "docid": "7feb3c9c445b4a3c11624a34d2a46f21", "score": "0.4269753", "text": "public ASTParserBlock() {\n\t\tint ifCount = 0;\n\t\tint whileCount =0;\n\t\tint forCount =0;\n\t\tint methodCallCount = 0;\n\t}", "title": "" }, { "docid": "c4cc3cf0f456ac33b10ff0baefc5436a", "score": "0.42279568", "text": "private Statement statement() {\n\t\tswitch (lexer.token) {\n\t\tcase THIS:\n\t\tcase IDENT:\n\t\tcase SUPER:\n\t\tcase INT:\n\t\tcase BOOLEAN:\n\t\tcase STRING:\n\t\t\treturn new AssignStatement(assignExprLocalDec());\n\t\tcase RETURN:\n\t\t\treturn returnStatement();\n\t\tcase READ:\n\t\t\treturn readStatement();\n\t\tcase WRITE:\n\t\t\treturn writeStatement();\n\t\tcase WRITELN:\n\t\t\treturn writelnStatement();\n\t\tcase IF:\n\t\t\treturn ifStatement();\n\t\tcase BREAK:\n\t\t\treturn breakStatement();\n\t\tcase WHILE:\n\t\t\treturn whileStatement();\n\t\tcase SEMICOLON:\n\t\t\treturn nullStatement();\n\t\tcase LEFTCURBRACKET:\n\t\t\treturn compositeStatement();\n\t\tdefault:\n\t\t\terror.show(\"Statement expected\");\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f68232f52d6b6ada34eeb9e1bfaa657b", "score": "0.42246264", "text": "private Stmt compound_stmt() {\r\n\r\n if (matchTokens(Symbol.IF)) {\r\n return if_stmt();\r\n } else if (matchTokens(Symbol.WHILE)) {\r\n return while_stmt();\r\n } else if (matchTokens(Symbol.FOR)) {\r\n return for_stmt();\r\n } else if (matchTokens(Symbol.DEF)) {\r\n return funcdef();\r\n } else if (matchTokens(Symbol.CLASS)) {\r\n return classdef();\r\n } else {\r\n error.show(\"Unexpected error in Compound Statement.\");\r\n }\r\n \r\n return null;\r\n }", "title": "" }, { "docid": "583facd13a6a691045a88fa4a7f33455", "score": "0.42244592", "text": "public static double calccost(CostRecord cr, NWPath nwp) {\n\t\tif(nwp != null) { // parent and child not on the same node \n\t\t\treturn calccost(cr.opn.resource().bw(), nwp.latency()) + cr.resource.totalcost; \n\t\t}\n\t\telse { return cr.resource.totalcost; }\n\t}", "title": "" }, { "docid": "6b5718d9dff533bd82544ccd45691284", "score": "0.42228636", "text": "public Type closure() {\n Type ans = extract(2);\n Type u = ans;\n Type uu = u;\n while (true) {\n uu = uu.join(u);\n Type oldans = ans;\n ans = ans.unionWithCommonArity(uu);\n if (oldans == ans)\n break; // The special guarantee of unionWithCommonArity()\n // allows us to use the cheaper \"oldans==ans\" here\n // instead of doing the more expensive\n // \"oldans.equals(ans)\"\n }\n return ans;\n }", "title": "" }, { "docid": "0ca59628effaaf83e96f688db30ea9a0", "score": "0.42178303", "text": "R visit(ASTFuncBlock node) throws FFaplException;", "title": "" }, { "docid": "ed8006c29a339f2d9d45a73dcca73120", "score": "0.42101523", "text": "Message.ResourceRequest getResourceReq();", "title": "" }, { "docid": "240cc63604179f1e166eef9d12ac74f9", "score": "0.4200833", "text": "void generateByteCode(Optimizer opt) throws XPathException;", "title": "" }, { "docid": "6e94f612b123d746b7117bb235ae491a", "score": "0.41865253", "text": "public final Inst resource() throws RecognitionException {\n Inst ijs = null;\n\n CommonTree n=null;\n String i = null;\n\n\n ijs = null; \n try {\n // LowgTree.g:118:3: ( ^( RESOURCE n= ID i= initNumValue ) )\n // LowgTree.g:118:4: ^( RESOURCE n= ID i= initNumValue )\n {\n match(input,RESOURCE,FOLLOW_RESOURCE_in_resource614); \n\n match(input, Token.DOWN, null); \n n=(CommonTree)match(input,ID,FOLLOW_ID_in_resource624); \n pushFollow(FOLLOW_initNumValue_in_resource634);\n i=initNumValue();\n\n state._fsp--;\n\n\n \t\t\tijs = new DecafJS(n.getText() , i);\t \n\n \t\t\n\n match(input, Token.UP, null); \n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ijs;\n }", "title": "" }, { "docid": "3bce5b2ce6b0273bfd1e5fc41f54dd7f", "score": "0.4181103", "text": "private void generateCodeFromNode(Node node, Node parent, int trueLabel, \n int falseLabel) \n {\n \n int type = node.getType();\n Node child = node.getFirstChild();\n switch (type) {\n case TokenStream.LOOP:\n case TokenStream.WITH:\n case TokenStream.LABEL:\n visitStatement(node);\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n break;\n \n case TokenStream.CASE:\n case TokenStream.DEFAULT:\n // XXX shouldn't these be StatementNodes?\n \n case TokenStream.SCRIPT:\n case TokenStream.BLOCK:\n case TokenStream.VOID:\n case TokenStream.NOP:\n // no-ops.\n visitStatement(node);\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n break;\n \n case TokenStream.FUNCTION:\n if (inFunction || parent.getType() != TokenStream.SCRIPT) {\n FunctionNode fn = (FunctionNode) node.getProp(Node.FUNCTION_PROP);\n byte t = fn.getFunctionType();\n if (t != FunctionNode.FUNCTION_STATEMENT) {\n visitFunction(fn, t == FunctionNode.FUNCTION_EXPRESSION_STATEMENT);\n }\n }\n break;\n \n case TokenStream.NAME:\n visitName(node);\n break;\n \n case TokenStream.NEW:\n case TokenStream.CALL:\n visitCall(node, type, child);\n break;\n \n case TokenStream.NUMBER:\n case TokenStream.STRING:\n visitLiteral(node);\n break;\n \n case TokenStream.PRIMARY:\n visitPrimary(node);\n break;\n \n case TokenStream.OBJECT:\n visitObject(node);\n break;\n \n case TokenStream.TRY:\n visitTryCatchFinally(node, child);\n break;\n \n case TokenStream.THROW:\n visitThrow(node, child);\n break;\n \n case TokenStream.RETURN:\n visitReturn(node, child);\n break;\n \n case TokenStream.SWITCH:\n visitSwitch(node, child);\n break;\n \n case TokenStream.COMMA:\n generateCodeFromNode(child, node, -1, -1);\n addByteCode(ByteCode.POP);\n generateCodeFromNode(child.getNextSibling(), \n node, trueLabel, falseLabel);\n break;\n \n case TokenStream.NEWSCOPE:\n addScriptRuntimeInvoke(\"newScope\", \"()\", \n \"Lorg/mozilla/javascript/Scriptable;\");\n break;\n \n case TokenStream.ENTERWITH:\n visitEnterWith(node, child);\n break;\n \n case TokenStream.LEAVEWITH:\n visitLeaveWith(node, child);\n break;\n \n case TokenStream.ENUMINIT:\n visitEnumInit(node, child);\n break;\n \n case TokenStream.ENUMNEXT:\n visitEnumNext(node, child);\n break;\n \n case TokenStream.ENUMDONE:\n visitEnumDone(node, child);\n break;\n \n case TokenStream.POP:\n visitStatement(node);\n if (child.getType() == TokenStream.SETVAR) {\n /* special case this so as to avoid unnecessary\n load's & pop's */\n visitSetVar(child, child.getFirstChild(), false);\n }\n else {\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n if (node.getProp(Node.ISNUMBER_PROP) != null)\n addByteCode(ByteCode.POP2);\n else\n addByteCode(ByteCode.POP);\n }\n break;\n \n case TokenStream.POPV:\n visitStatement(node);\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n astore(scriptResultLocal);\n break;\n \n case TokenStream.TARGET:\n visitTarget(node);\n break;\n \n case TokenStream.JSR:\n case TokenStream.GOTO:\n case TokenStream.IFEQ:\n case TokenStream.IFNE:\n visitGOTO(node, type, child);\n break;\n \n case TokenStream.UNARYOP:\n visitUnary(node, child, trueLabel, falseLabel);\n break;\n \n case TokenStream.TYPEOF:\n visitTypeof(node, child);\n break;\n \n case TokenStream.INC:\n visitIncDec(node, true);\n break;\n \n case TokenStream.DEC:\n visitIncDec(node, false);\n break;\n \n case TokenStream.OR:\n case TokenStream.AND: {\n if (trueLabel == -1) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addByteCode(ByteCode.DUP);\n addScriptRuntimeInvoke(\"toBoolean\", \"(Ljava/lang/Object;)\", \"Z\");\n int falseTarget = acquireLabel();\n if (type == TokenStream.AND)\n addByteCode(ByteCode.IFEQ, falseTarget);\n else\n addByteCode(ByteCode.IFNE, falseTarget);\n addByteCode(ByteCode.POP);\n generateCodeFromNode(child.getNextSibling(), node, trueLabel, falseLabel);\n markLabel(falseTarget);\n }\n else {\n int interLabel = acquireLabel();\n if (type == TokenStream.AND) {\n generateCodeFromNode(child, node, interLabel, falseLabel);\n if (((child.getType() == TokenStream.UNARYOP) && (child.getInt() == TokenStream.NOT))\n || (child.getType() == TokenStream.AND)\n || (child.getType() == TokenStream.OR)\n || (child.getType() == TokenStream.RELOP)\n || (child.getType() == TokenStream.EQOP)) {\n }\n else {\n addScriptRuntimeInvoke(\"toBoolean\",\n \"(Ljava/lang/Object;)\", \"Z\");\n addByteCode(ByteCode.IFNE, interLabel);\n addByteCode(ByteCode.GOTO, falseLabel);\n }\n }\n else {\n generateCodeFromNode(child, node, trueLabel, interLabel);\n if (((child.getType() == TokenStream.UNARYOP) && (child.getInt() == TokenStream.NOT))\n || (child.getType() == TokenStream.AND)\n || (child.getType() == TokenStream.OR)\n || (child.getType() == TokenStream.RELOP)\n || (child.getType() == TokenStream.EQOP)) {\n }\n else {\n addScriptRuntimeInvoke(\"toBoolean\",\n \"(Ljava/lang/Object;)\", \"Z\");\n addByteCode(ByteCode.IFNE, trueLabel);\n addByteCode(ByteCode.GOTO, interLabel);\n }\n }\n markLabel(interLabel);\n child = child.getNextSibling();\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n if (((child.getType() == TokenStream.UNARYOP) && (child.getInt() == TokenStream.NOT))\n || (child.getType() == TokenStream.AND)\n || (child.getType() == TokenStream.OR)\n || (child.getType() == TokenStream.RELOP)\n || (child.getType() == TokenStream.EQOP)) {\n }\n else {\n addScriptRuntimeInvoke(\"toBoolean\",\n \"(Ljava/lang/Object;)\", \"Z\");\n addByteCode(ByteCode.IFNE, trueLabel);\n addByteCode(ByteCode.GOTO, falseLabel);\n }\n }\n }\n break;\n \n case TokenStream.ADD: {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n generateCodeFromNode(child.getNextSibling(), \n node, trueLabel, falseLabel);\n Integer childNumberFlag = \n (Integer)(node.getProp(Node.ISNUMBER_PROP));\n if (childNumberFlag != null) {\n if (childNumberFlag.intValue() == Node.BOTH) {\n addByteCode(ByteCode.DADD);\n }\n else {\n if (childNumberFlag.intValue() == Node.LEFT) {\n addOptRuntimeInvoke(\"add\",\n \"(DLjava/lang/Object;)\",\n \"Ljava/lang/Object;\");\n }\n else {\n addOptRuntimeInvoke(\"add\",\n \"(Ljava/lang/Object;D)\",\n \"Ljava/lang/Object;\");\n }\n }\n }\n else {\n addScriptRuntimeInvoke(\"add\",\n \"(Ljava/lang/Object;Ljava/lang/Object;)\",\n \"Ljava/lang/Object;\");\n }\n }\n break;\n \n case TokenStream.MUL:\n visitArithmetic(node, ByteCode.DMUL, child, parent);\n break;\n \n case TokenStream.SUB:\n visitArithmetic(node, ByteCode.DSUB, child, parent);\n break;\n \n case TokenStream.DIV:\n case TokenStream.MOD:\n visitArithmetic(node, type == TokenStream.DIV\n ? ByteCode.DDIV\n : ByteCode.DREM, child, parent);\n break;\n \n case TokenStream.BITOR:\n case TokenStream.BITXOR:\n case TokenStream.BITAND:\n case TokenStream.LSH:\n case TokenStream.RSH:\n case TokenStream.URSH:\n visitBitOp(node, type, child);\n break;\n \n case TokenStream.CONVERT: {\n Object toType = node.getProp(Node.TYPE_PROP);\n if (toType == ScriptRuntime.NumberClass) {\n addByteCode(ByteCode.NEW, \"java/lang/Double\");\n addByteCode(ByteCode.DUP);\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addScriptRuntimeInvoke(\"toNumber\",\n \"(Ljava/lang/Object;)\", \"D\");\n addDoubleConstructor();\n }\n else {\n if (toType == ScriptRuntime.DoubleClass) {\n // cnvt to double\n // (not Double)\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addScriptRuntimeInvoke(\"toNumber\",\n \"(Ljava/lang/Object;)\", \"D\");\n }\n else {\n if (toType == ScriptRuntime.ObjectClass) {// convert from double\n if ((child.getType() == TokenStream.NUMBER)\n && (child.getProp(Node.ISNUMBER_PROP)\n != null)) {\n Object oldProp\n = child.getProp(Node.ISNUMBER_PROP);\n child.putProp(Node.ISNUMBER_PROP, null);\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child.putProp(Node.ISNUMBER_PROP, oldProp);\n }\n else {\n addByteCode(ByteCode.NEW, \"java/lang/Double\");\n addByteCode(ByteCode.DUP);\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addDoubleConstructor();\n }\n }\n else\n badTree();\n }\n }\n }\n break;\n \n case TokenStream.RELOP:\n if (trueLabel == -1) // need a result Object\n visitRelOp(node, child, parent);\n else\n visitGOTOingRelOp(node, child, parent, trueLabel, falseLabel);\n break;\n \n case TokenStream.EQOP:\n visitEqOp(node, child, parent, trueLabel, falseLabel);\n break;\n \n case TokenStream.GETPROP:\n visitGetProp(node, child);\n break;\n \n case TokenStream.GETELEM:\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n aload(variableObjectLocal);\n if (node.getProp(Node.ISNUMBER_PROP) != null) {\n addOptRuntimeInvoke(\"getElem\",\n \"(Ljava/lang/Object;D\" +\n \"Lorg/mozilla/javascript/Scriptable;)\",\n \"Ljava/lang/Object;\");\n }\n else {\n addScriptRuntimeInvoke(\"getElem\",\n \"(Ljava/lang/Object;Ljava/lang/Object;\" +\n \"Lorg/mozilla/javascript/Scriptable;)\",\n \"Ljava/lang/Object;\");\n }\n break;\n \n case TokenStream.GETVAR: {\n OptLocalVariable lVar\n = (OptLocalVariable)(node.getProp(Node.VARIABLE_PROP));\n visitGetVar(lVar,\n node.getProp(Node.ISNUMBER_PROP) != null,\n node.getString());\n }\n break;\n \n case TokenStream.SETVAR:\n visitSetVar(node, child, true);\n break;\n \n case TokenStream.SETNAME:\n visitSetName(node, child);\n break;\n \n case TokenStream.SETPROP:\n visitSetProp(node, child);\n break;\n \n case TokenStream.SETELEM:\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n aload(variableObjectLocal);\n if (node.getProp(Node.ISNUMBER_PROP) != null) {\n addOptRuntimeInvoke(\"setElem\",\n \"(Ljava/lang/Object;D\" +\n \"Ljava/lang/Object;Lorg/mozilla/javascript/Scriptable;)\",\n \"Ljava/lang/Object;\");\n }\n else {\n addScriptRuntimeInvoke(\"setElem\",\n \"(Ljava/lang/Object;Ljava/lang/Object;\" +\n \"Ljava/lang/Object;Lorg/mozilla/javascript/Scriptable;)\",\n \"Ljava/lang/Object;\");\n }\n break;\n \n case TokenStream.DELPROP:\n while (child != null) {\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n child = child.getNextSibling();\n }\n addScriptRuntimeInvoke(\"delete\",\n \"(Ljava/lang/Object;Ljava/lang/Object;)\",\n \"Ljava/lang/Object;\");\n break;\n \n case TokenStream.BINDNAME:\n case TokenStream.GETBASE:\n visitBind(node, type, child);\n break;\n \n case TokenStream.GETTHIS:\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addScriptRuntimeInvoke(\"getThis\",\n \"(Lorg/mozilla/javascript/Scriptable;)\",\n \"Lorg/mozilla/javascript/Scriptable;\");\n break;\n \n case TokenStream.PARENT:\n generateCodeFromNode(child, node, trueLabel, falseLabel);\n addScriptRuntimeInvoke(\"getParent\",\n \"(Ljava/lang/Object;)\",\n \"Lorg/mozilla/javascript/Scriptable;\");\n break;\n \n case TokenStream.NEWTEMP:\n visitNewTemp(node, child);\n break;\n \n case TokenStream.USETEMP:\n visitUseTemp(node, child);\n break;\n \n case TokenStream.NEWLOCAL:\n visitNewLocal(node, child);\n break;\n \n case TokenStream.USELOCAL:\n visitUseLocal(node, child);\n break;\n \n default:\n throw new RuntimeException(\"Unexpected node type \" +\n \t\t\t\t\t TokenStream.tokenToName(type));\n }\n \n }", "title": "" }, { "docid": "c9fdbe3c33097866bec1444d4d213484", "score": "0.41660267", "text": "@Override\n public Context makeObjectLiteralHeapContext(AbstractNode node, State state, Solver.SolverInterface c) {\n return null;\n }", "title": "" }, { "docid": "57f235480eddbd99f0e0ace33ff79421", "score": "0.41624248", "text": "OclExpression getBodyExpression();", "title": "" }, { "docid": "9d013d784429e489d87ee5be918459c0", "score": "0.41537964", "text": "public RelNode genLogicalPlan(HiveParserASTNode ast) throws SemanticException {\n LOG.info(\"Starting generating logical plan\");\n HiveParserPreCboCtx cboCtx = new HiveParserPreCboCtx();\n // change the location of position alias process here\n processPositionAlias(ast, semanticAnalyzer.getConf());\n if (!semanticAnalyzer.genResolvedParseTree(ast, cboCtx)) {\n return null;\n }\n\n // flink requires orderBy removed from sub-queries, otherwise it can fail to generate the\n // plan\n for (String alias : semanticAnalyzer.getQB().getSubqAliases()) {\n removeOBInSubQuery(semanticAnalyzer.getQB().getSubqForAlias(alias));\n }\n\n HiveParserASTNode queryForCbo = ast;\n if (cboCtx.type == HiveParserPreCboCtx.Type.CTAS\n || cboCtx.type == HiveParserPreCboCtx.Type.VIEW) {\n queryForCbo = cboCtx.nodeOfInterest; // nodeOfInterest is the query\n }\n verifyCanHandleAst(queryForCbo, getQB(), semanticAnalyzer.getQueryProperties());\n semanticAnalyzer.disableJoinMerge = true;\n return logicalPlan();\n }", "title": "" }, { "docid": "58d786139791236212332dded42548b6", "score": "0.41164333", "text": "public void decPendingResource(String nodeLabel, Resource resourceToDec);", "title": "" }, { "docid": "abd869f1824306411fa8d6c1c3b969a6", "score": "0.41159818", "text": "private Set<Resource> getBlankNodeResources(Set<BNode> path, BNode node) {\n\t\tSet<Resource> resources = new HashSet<Resource>();\n\t\tpath.add(node);\n\n\t\t// Iterate over the statements that have the current node as their\n\t\t// subject\n\t\tStatementIterator i = source.getStatements(node, null, null);\n\t\twhile (i.hasNext()) {\n\t\t\tStatement statement = (Statement) i.next();\n\t\t\tif ((statement.getObject() instanceof Resource)\n\t\t\t\t\t&& !(statement.getObject() instanceof BNode)) {\n\t\t\t\tURI pred = statement.getPredicate();\n\t\t\t\tResource obj = (Resource) statement.getObject();\n\t\t\t\tif (!isIncludeOnlyDefinitionProperties()\n\t\t\t\t\t\t|| (isIncludeOnlyDefinitionProperties() && pred\n\t\t\t\t\t\t\t\t.getURI()\n\t\t\t\t\t\t\t\t.equals(\n\t\t\t\t\t\t\t\t\t\t\"http://www.w3.org/2002/07/owl#onProperty\"))) {\n\t\t\t\t\tif (!ignoreResource(obj)) {\n\t\t\t\t\t\tresources.add(obj);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (statement.getObject() instanceof BNode) {\n\t\t\t\tBNode obj = (BNode) statement.getObject();\n\t\t\t\tif (!path.contains(obj)) {\n\t\t\t\t\tresources.addAll(getBlankNodeResources(path, obj));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\ti.close();\n\t\treturn resources;\n\t}", "title": "" }, { "docid": "3a5341c44c12828665a5668d9f86f963", "score": "0.4111542", "text": "private String getLabel(Resource resource) {\n\t\tString label;\n\t\tStatementIterator i = source.getStatements(resource,\n\t\t\t\tURIImpl.RDFS_LABEL, null);\n\t\tif (i.hasNext()) {\n\t\t\tStatement statement = (Statement) i.next();\n\t\t\tlabel = statement.getObject().toString();\n\t\t} else {\n\t\t\tif (resource instanceof BNode) {\n\t\t\t\tlabel = resource.toString();\n\t\t\t} else {\n\t\t\t\tURI uri = (URI) resource;\n\t\t\t\tlabel = uri.getLocalName();\n\t\t\t}\n\t\t}\n\t\ti.close();\n\t\treturn label;\n\t}", "title": "" }, { "docid": "2c545d72bfc268a8f0622a9e774b641f", "score": "0.41112065", "text": "SimpleNode getReferencedSimpleNode();", "title": "" }, { "docid": "a0c639662bcdda73d9651867df08e938", "score": "0.4109713", "text": "org.hl7.fhir.ResourceReference getSubstance();", "title": "" }, { "docid": "4de3b0cff2d9527eb178ebc90efbe114", "score": "0.41045833", "text": "FunctionBlock getFunctionDef();", "title": "" }, { "docid": "554b37a5b0368f08c033b102fd10ccb2", "score": "0.4101733", "text": "public StatementNode statement(){\n\t\tif(lookahead.getType() == TokenType.IF){\n\t\t\tIfStatementNode ifNode = new IfStatementNode();\n\t\t\tmatch(TokenType.IF);\n\t\t\tifNode.setTest(expression());\n\t\t\tmatch(TokenType.THEN);\n\t\t\tifNode.setThenStatement(statement());\n\t\t\tmatch(TokenType.ELSE);\n\t\t\tifNode.setElseStatement(statement());\n\t\t\treturn ifNode;\n\t\t}\n\t\telse if(lookahead.getType() == TokenType.WHILE){\n\t\t\tWhileStatementNode whileNode = new WhileStatementNode();\n\t\t\tmatch(TokenType.WHILE);\n\t\t\twhileNode.setTest(expression());\n\t\t\tmatch(TokenType.DO);\n\t\t\twhileNode.setDoStatement(statement());\n\t\t\treturn whileNode;\n\t\t}\n\t\telse if(lookahead.getType() == TokenType.BEGIN){\n\t\t\treturn compound_statement();\n\t\t}\n\t\telse if(lookahead.getType() == TokenType.ID){\n\t\t\tif(symTable.isProcedureName(lookahead.getLexeme())){\n\t\t\t\tWriteNode node = new WriteNode();\n\t\t\t\tmatch(TokenType.ID);\n\t\t\t\tmatch(TokenType.LEFT_PARENTHESIS);\n\t\t\t\tnode.setExpression(expression());\n\t\t\t\tmatch(TokenType.RIGHT_PARENTHESIS);\n\t\t\t\treturn node;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tString name = lookahead.getLexeme();\n\t\t\t\tmatch(TokenType.ID);\n\t\t\t\tVariableNode node = variable(name);\n\t\t\t\tif(lookahead.getType() == TokenType.COLON_EQUALS_TO){\n\t\t\t\t\tAssignmentStatementNode aNode = new AssignmentStatementNode();\n\t\t\t\t\taNode.setLvalue(node);\n\t\t\t\t\tmatch(TokenType.COLON_EQUALS_TO);\n\t\t\t\t\taNode.setExpression(expression());\n\t\t\t\t\treturn aNode;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse if(symTable.isFunctionName(lookahead.getLexeme())){\n\t\t\tif(lookahead.getLexeme().equals(\"read\")){\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(lookahead.getLexeme().equals(\"write\"))\n\t\t\tmatch(TokenType.ID);\n\t\t\tmatch(TokenType.LEFT_PARENTHESIS);\n\t\t\tmatch(TokenType.ID);\n\t\t\tmatch(TokenType.RIGHT_PARENTHESIS);\n\t\t}\n\t\treturn null; \n\t}", "title": "" }, { "docid": "53c885f199b3896bd4458d3030428987", "score": "0.4096409", "text": "Node getSource();", "title": "" }, { "docid": "7c00ece5f1eb81225a61a1c39ed021ca", "score": "0.40882462", "text": "Scope getOuter();", "title": "" }, { "docid": "90722d244f6c23258e36a2bc47eed4e9", "score": "0.40876338", "text": "R visit(ASTForStatement node) throws FFaplException;", "title": "" }, { "docid": "17ddeef78f49c2892d2556d77e0607fc", "score": "0.40839782", "text": "public Predicate getSubResourcePredicate() {\n return lastVisited;\n }", "title": "" }, { "docid": "4e7265aad7da1f1fca1759ff91289ac2", "score": "0.4081898", "text": "public ExecutableBlock getNextBlock() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bf0b489bd573bfe7da9a245aa843d70f", "score": "0.40733227", "text": "public Message.ResourceRequest.Builder getResourceReqBuilder() {\n return getResourceReqFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "0cbbf75478bf4fbfeb452d756d88d9c6", "score": "0.4072219", "text": "public WebResourceScriptCompiler getWebResourceCompilerForNode(\n\t\t\tNode sourceNode) throws WebResourceCompilerNotFoundException;", "title": "" }, { "docid": "f4f0c6026aac3cd1f986c515d872c562", "score": "0.40719026", "text": "protected ResourceLocation func_110775_a(Entity entity) { return rl; }", "title": "" }, { "docid": "691a27a1427a0de5678bdae1334bb5c4", "score": "0.40565735", "text": "GjsBlock getBlock(String name);", "title": "" }, { "docid": "51b81868c43eca36a1206ca379e83914", "score": "0.40499884", "text": "private void visitRelOp(Node node, Node child, Node parent) {\n int op = node.getInt();\n Integer childNumberFlag = (Integer)(node.getProp(Node.ISNUMBER_PROP));\n if (((childNumberFlag != null)\n && (childNumberFlag.intValue() == Node.BOTH))\n || (op == TokenStream.INSTANCEOF)\n || (op == TokenStream.IN)) \n {\n if (op == TokenStream.INSTANCEOF)\n aload(variableObjectLocal);\n generateCodeFromNode(child, node, -1, -1);\n generateCodeFromNode(child.getNextSibling(), node, -1, -1);\n int trueGOTO = acquireLabel();\n int skip = acquireLabel();\n if (op == TokenStream.INSTANCEOF) {\n addScriptRuntimeInvoke(\"instanceOf\",\n \"(Lorg/mozilla/javascript/Scriptable;\"+\n \"Ljava/lang/Object;Ljava/lang/Object;)\", \"Z\");\n addByteCode(ByteCode.IFNE, trueGOTO);\n }\n else {\n if (op == TokenStream.IN) {\n addScriptRuntimeInvoke(\"in\",\n \"(Ljava/lang/Object;Ljava/lang/Object;)\",\"Z\");\n addByteCode(ByteCode.IFNE, trueGOTO);\n }\n else {\n genSimpleCompare(op, trueGOTO, -1);\n }\n } \n classFile.add(ByteCode.GETSTATIC, \"java/lang/Boolean\",\n \"FALSE\", \"Ljava/lang/Boolean;\");\n addByteCode(ByteCode.GOTO, skip);\n markLabel(trueGOTO);\n classFile.add(ByteCode.GETSTATIC, \"java/lang/Boolean\",\n \"TRUE\", \"Ljava/lang/Boolean;\");\n markLabel(skip);\n classFile.adjustStackTop(-1); // only have 1 of true/false\n }\n else {\n String routine = ((op == TokenStream.LT)\n || (op == TokenStream.GT)) ? \"cmp_LTB\" : \"cmp_LEB\";\n generateCodeFromNode(child, node, -1, -1);\n generateCodeFromNode(child.getNextSibling(), node, -1, -1);\n if (childNumberFlag == null) {\n if (op == TokenStream.GE || op == TokenStream.GT) {\n addByteCode(ByteCode.SWAP);\n }\n addScriptRuntimeInvoke(routine,\n \"(Ljava/lang/Object;Ljava/lang/Object;)\",\n \"Ljava/lang/Boolean;\");\n }\n else {\n boolean doubleThenObject\n = (childNumberFlag.intValue() == Node.LEFT);\n if (op == TokenStream.GE || op == TokenStream.GT) {\n if (doubleThenObject) {\n addByteCode(ByteCode.DUP_X2);\n addByteCode(ByteCode.POP);\n doubleThenObject = false;\n }\n else {\n addByteCode(ByteCode.DUP2_X1);\n addByteCode(ByteCode.POP2);\n doubleThenObject = true;\n }\n }\n if (doubleThenObject)\n addOptRuntimeInvoke(routine,\n \"(DLjava/lang/Object;)\",\n \"Ljava/lang/Boolean;\");\n else\n addOptRuntimeInvoke(routine,\n \"(Ljava/lang/Object;D)\",\n \"Ljava/lang/Boolean;\");\n }\n }\n }", "title": "" }, { "docid": "5387d3b1fedcf7c96e9f0d90c629dd9c", "score": "0.40462336", "text": "private Statement getStatement(KeyAndFlowHash statement){\n Iterator<DataFlowAbstraction> data = statement.getFlow().iterator();\n while (data.hasNext()){\n return data.next().getStmt();\n }\n return null;\n }", "title": "" }, { "docid": "c29cff19fe47862ffe0365af0043dc44", "score": "0.40367404", "text": "private com.google.protobuf.SingleFieldBuilderV3<\n Message.ResourceRequest, Message.ResourceRequest.Builder, Message.ResourceRequestOrBuilder>\n getResourceReqFieldBuilder() {\n if (resourceReqBuilder_ == null) {\n if (!(messageBodyCase_ == 2)) {\n messageBody_ = Message.ResourceRequest.getDefaultInstance();\n }\n resourceReqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<\n Message.ResourceRequest, Message.ResourceRequest.Builder, Message.ResourceRequestOrBuilder>(\n (Message.ResourceRequest) messageBody_,\n getParentForChildren(),\n isClean());\n messageBody_ = null;\n }\n messageBodyCase_ = 2;\n onChanged();;\n return resourceReqBuilder_;\n }", "title": "" }, { "docid": "113e1c83e1b356f79a9b4a304b1e38ef", "score": "0.40312755", "text": "SimpleNodeReference createSimpleNodeReference();", "title": "" }, { "docid": "0ce3040cc696f1cb60fa92a3d9844aa9", "score": "0.40187258", "text": "private static void do_makeDeductiveClosure_rule1(Model m){\n\t\tProperty [][] aryProperty = new Property [][]{\n\t\t\t{OWL.oneOf, RDF.type},\n\t\t\t{OWL.unionOf, RDFS.subClassOf},\t\n\t\t\t{OWL.intersectionOf, RDFS.subClassOf},\t\n\t\t};\n\t\tboolean [] aryDirection = new boolean []{\n\t\t\tfalse,\t// root <-- member\n\t\t\tfalse,\t// root <-- member\t\n\t\t\ttrue,\t// root --> member\n\t\t};\n\t\t\n\t\t//list of anonymous resource having named eqivalent resource\n\t\tHashSet<Resource> set_eq = new HashSet<Resource>();\n\t\t{\n\t\t\tStmtIterator iter = m.listStatements(null, OWL.equivalentClass, (RDFNode)null);\n\t\t\twhile (iter.hasNext()){\n\t\t\t\tStatement stmt = iter.nextStatement(); \n\t\t\t\tif (stmt.getSubject().isURIResource()){\n\t\t\t\t\tif (stmt.getObject().isAnon())\n\t\t\t\t\t\tset_eq.add((Resource)stmt.getObject());\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (stmt.getObject().isURIResource()){\n\t\t\t\t\tif (stmt.getSubject().isAnon())\n\t\t\t\t\t\tset_eq.add(stmt.getSubject());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tModel model_list = ModelFactory.createDefaultModel();\n\t\t{\n\t\t\tmodel_list.add(m.listStatements(null, RDF.first, (RDFNode)null));\n\t\t\tmodel_list.add(m.listStatements(null, RDF.rest, (RDFNode)null));\n\t\t}\n\t\t\n\t\tfor (int i=0; i<aryProperty.length; i++){\n\t\t\tProperty prop = aryProperty[i][0];\n\t\t\tStmtIterator iter = m.listStatements(null, prop,(String)null);\n\t\t\twhile (iter.hasNext()){\n\t\t\t\tStatement stmt = iter.nextStatement();\n\t\t\t\tif (!stmt.getSubject().isAnon())\n\t\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t\t// check if it has equivalent named class\n\t\t\t\tboolean bHasNamedEqClass =false;\n\t\t\t\tif (set_eq.size()>0 && stmt.getObject().isAnon()){\n\t\t\t\t\t\n\t\t\t\t\tbHasNamedEqClass = set_eq.contains(stmt.getSubject());\n\t\t\t\t\t/*\n\t\t\t\t\tIterator iter_eq = m_eq.listSubjectsWithProperty(OWL.equivalentClass,stmt.getObject());\n\t\t\t\t\twhile (iter_eq.hasNext()){\n\t\t\t\t\t\tRDFNode node = (RDFNode)iter_eq.next();\n\t\t\t\t\t\tif (node.isURIResource())\n\t\t\t\t\t\t\tbHasNamedEqClass =true;\n\t\t\t\t\t}\n\t\t\t\t\titer_eq = m_eq.listObjectsOfProperty((Resource)stmt.getObject(), OWL.equivalentClass);\n\t\t\t\t\twhile (iter_eq.hasNext()){\n\t\t\t\t\t\tRDFNode node = (RDFNode)iter_eq.next();\n\t\t\t\t\t\tif (node.isURIResource())\n\t\t\t\t\t\t\tbHasNamedEqClass =true;\n\t\t\t\t\t}\n\t\t\t\t\t*/\n\t\t\t\t}\n\t\t\t\tif (bHasNamedEqClass)\n\t\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t\t// make sure all its list members are related to it\n\t\t\t\tList<RDFNode> inds = ToolJena.listListMembers(model_list, (Resource)stmt.getObject());\n\t\t\t\tIterator<RDFNode> iter_ind = inds.iterator();\n\t\t\t\twhile (iter_ind.hasNext()){\n\t\t\t\t\tRDFNode ind = iter_ind.next();\n\t\t\t\t\tif (ind.isResource()){\n\t\t\t\t\t\tif (aryDirection[i])\n\t\t\t\t\t\t\tm.add(stmt.getSubject(), aryProperty[i][1],ind );\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tm.add((Resource)ind, aryProperty[i][1], stmt.getSubject());\n\t\t\t\t\t}\n\t\t\t\t\t//m.add(m.createStatement(ind, RDF.type, stmt.getObject()));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "39b7209f2533c84f23ce95fa393a72ac", "score": "0.40118456", "text": "public BenchResult inferClosureFromModel();", "title": "" }, { "docid": "a34becbb1975b268e2fc6afaa317a0eb", "score": "0.40087983", "text": "Resource getTarget();", "title": "" }, { "docid": "fcbca117035cc00b32f71527cf1adb08", "score": "0.39949706", "text": "public String visit(Statement n) {\n String _ret=\"\";\n _ret += \" \" + n.f0.accept(this);\n return _ret;\n }", "title": "" }, { "docid": "a81d4307986427e069feaee2f58cbbfd", "score": "0.3987943", "text": "public static Closure evalLazyIO(Closure p) {\n return new EvalLazyIO(p);\n }", "title": "" }, { "docid": "0871d37df85e3f9dfc54f6c0b9342c68", "score": "0.39826545", "text": "public static <T extends Object, U extends Object> Statement of( BiConsumer<T, U> c ){\n StackTraceElement ste = Thread.currentThread().getStackTrace()[2];\n return from( ste );\n }", "title": "" }, { "docid": "275ee62c94d8f660b434c8858966ce37", "score": "0.3982375", "text": "@Override\n\tpublic void visit(BlockStmt n, Object arg) {\n\t\t\n\t}", "title": "" }, { "docid": "d9074f1b0f3ec72f91784dca1e3f88b3", "score": "0.39796284", "text": "java.lang.String getBlockMethod();", "title": "" }, { "docid": "70b21df534312aead8efcc54258ebe14", "score": "0.39763722", "text": "Expr consequent();", "title": "" }, { "docid": "06bca1ccbace0176de2f0cacbd8cfd69", "score": "0.39734352", "text": "public interface Statement {\r\n\t// parallel change has to be non-mutex, so\r\n\t// sequential application from the template parent onto the child\r\n\t// implements parallelism without having to build memory\r\n\t// into the parent of expressions\r\n\t\r\n\t// if children have parent pointers anyways it is unnecessary to supply\r\n\t// the parent object explicitly, but does save a bit of time for the common\r\n\t// case; evaluation should never be against the child if one is to support\r\n\t// parallelism via sequential application.\r\n\t\r\n\t// In the general case, in one implementation paradigm, one would walk\r\n\t// back the whole ancestry to find old values.\r\n\t\r\n\t// if one uses special value objects for fluents, one can have fields\r\n\t// for write locks and the whole interval of the current value and\r\n\t// the prior interval, sneakily linking backwards along the ancestry (but more\r\n\t// efficient because of skipping generations). Essentially forces\r\n\t// keeping the whole closed list, because it keeps all of the closed list's\r\n\t// data (State objects hold mostly references, and these could be lost, but\r\n\t// the referenced data would mostly not be lost). Well, wrapping\r\n\t// collections like HashMap would also be reclaimed, as well as wrapping Entries...\r\n\t// just the bare value objects would be retained. Perhaps that isn't so bad...\r\n\t\r\n\t// Destroys notion of State a lot though. Fix is to forget past the earliest\r\n\t// unfinished action; earlier than that is inaccessible. In the context\r\n\t// of sequential execution the only non-state like states are in the middle\r\n\t// of each individual action, as it should be -- in between each action\r\n\t// is a bona fide state.\r\n\t\r\n\t// need a context id \r\n\t// return indicates whether or not c remains valid\r\n\t// (respects locks/mutexes/constraints/etc.)\r\n\tpublic abstract boolean apply(State p, int contextID, State c);\r\n\t//public abstract boolean start(State p, int contextID, State c);\r\n\t//public abstract boolean end(State p, int contextID, State c);\r\n\t// apply for points, start/end for intervals\r\n\r\n\t\r\n\tpublic abstract void translateStmt(PDDL pddl, Interval unit, PDDL.Time part);\r\n\tpublic void translateDecl(PDDL pddl, Interval unit);\r\n\t// more? Decomposition? Scope?\r\n\t\r\n\t// need a do() method for callbacks...or yet another heirarchy\r\n\t// or just primitive vs. compound statements?\r\n\t// compound statements generate child states with primitive statement callbacks;\r\n\t// primitive statements use themselves?\r\n}", "title": "" }, { "docid": "c3c8891f57c6c54e27ef3417e334b7cf", "score": "0.39720926", "text": "private static void calcClosure(final Fst fst, final State state,\n final HashMap<State, Float>[] cl, final Semiring semiring) {\n final State s = state;\n float pathWeight;\n for (final Arc a : s.arcs()) {\n if ((a.getIlabel() == 0) && (a.getOlabel() == 0)) {\n if (cl[a.getNextState().getId()] == null) {\n calcClosure(fst, a.getNextState(), cl, semiring);\n }\n if (cl[a.getNextState().getId()] != null) {\n for (State pathFinalState : cl[a.getNextState().getId()]\n .keySet()) {\n pathWeight = semiring.times(\n getPathWeight(a.getNextState(), pathFinalState,\n cl), a.getWeight());\n add(state, pathFinalState, pathWeight, cl, semiring);\n }\n }\n add(state, a.getNextState(), a.getWeight(), cl, semiring);\n }\n }\n }", "title": "" }, { "docid": "ef7c7198e19173612e2eecc3a75d2e94", "score": "0.39718372", "text": "private Stmt stmt() {\r\n\r\n Stmt stmt = null;\r\n\r\n if (matchTokens(Symbol.EOF)) {\r\n return null;\r\n }\r\n\r\n if (matchTokens(Symbol.NAME, Symbol.PRINT, Symbol.BREAK, Symbol.CONTINUE, Symbol.RETURN, Symbol.SELF)) {\r\n stmt = simple_stmt();\r\n } else if (matchTokens(Symbol.IF, Symbol.WHILE, Symbol.FOR, Symbol.DEF, Symbol.CLASS)) {\r\n stmt = compound_stmt();\r\n } else {\r\n error.show(\"Simple or Compound Statement expected.\");\r\n }\r\n\r\n return stmt;\r\n }", "title": "" }, { "docid": "76c9860677a00fa7266e1d61e861b72e", "score": "0.39670685", "text": "SemanticNode getSource();", "title": "" }, { "docid": "40b637cade7108a8a22093daf554d993", "score": "0.39646515", "text": "FExpression getParent();", "title": "" }, { "docid": "0cf6ab04bd1db908d7b14ae590179e5e", "score": "0.3959449", "text": "@Nullable\n private static Double getPathWeight(State inState, State outState, HashMap<Integer,Double>[] closure) {\n if (closure[inState.getId()] != null) {\n return closure[inState.getId()].get(outState.getId());\n }\n return null;\n }", "title": "" }, { "docid": "5fa84eb0100297264175279a339de100", "score": "0.3958157", "text": "public void declareTransitiveClosure() throws ModelException {\n \t\tdeclareAtom();\n \t\tdeclareIn(2);\n \t\tdeclareRel(2);\n \t\t// helper function to make transitive closure more readable and less redundant\n \t\tdeclareTrans();\n \t\tString name = \"transClos\";\n \t\tif(this.addFunction(\"Rel2\", name, \"Rel2\"))\n \t\t{\n \t\t\t/// add axiom\n \t\t\t// we define what a transitive closure is\n \t\t\t// this is split into 3 assertions\n \t\t\t// 1. assert r in trans(r)\n \t\t\tTermVar r = TermVar.var(\"Rel2\", \"r\");\n \t\t\tthis.addAxiom(Term.call(\"subset_2\", r, Term.call(name, r)).forall(r));\n \t\t\t// 2. assert that the transitive closure is -in fact- transitive\n \t\t\tthis.addAxiom(Term.call(\"trans\", Term.call(name, r)).forall(r));\n \t\t\t// 3. assert that tcl is minimal\n \t\t\tTermVar r1 = TermVar.var(\"Rel2\", \"r1\");\n \t\t\tTermVar r2 = TermVar.var(\"Rel2\", \"r2\");\n \t\t\tTerm subsetAndTrans = Term.call(\"subset_2\", r1, r2).and(Term.call(\"trans\", r2));\n \t\t\tTerm minimalaxiom = subsetAndTrans.implies(Term.call(\"subset_2\", Term.call(name, r1), r2)).forall(r1, r2);\n \t\t\tthis.addAxiom(minimalaxiom);\n \t\t\t// also, add some lemma about in_2 and the transCl\n \t\t\tassertLemmasTCL(\"transClos\");\n \t\t}\n \t}", "title": "" }, { "docid": "bacb9eea10a5667fae009e1933035dce", "score": "0.39518243", "text": "public Object run(Context cx) {\n Iterator code = prototype.getCodeResources();\n while (code.hasNext()) {\n evaluate(cx, type, (ResourceInterface) code.next());\n }\n return null;\n }", "title": "" }, { "docid": "d564a049c47417f74e3bf36138518780", "score": "0.3950051", "text": "public VaporIdentifier visit(Identifier n, CodeBlock code_block) {\n String id_str = n.f0.toString();\n\n ClassTable class_table = VaporProgramBuilder.symbolTable.get(code_block.symbol_table_class_key);\n MethodTable method_table = class_table.methods.get(code_block.symbol_table_method_key);\n if(method_table.variable_present(id_str))\n {\n String var_name = code_block.symbol_table_class_key+\".\"+code_block.symbol_table_method_key+\".\"+id_str;\n VaporIdentifier id = new VaporIdentifier(var_name);\n return id;\n }\n else\n {\n ComplexType class_containing = class_table.retrieve_class_containing_var(id_str,VaporProgramBuilder.symbolTable);\n String class_containing_str = class_containing.toString();\n Integer field_offset = class_table.total_fields_numbering.get(class_containing_str+\".\"+id_str) * 4;\n VaporIdentifier this_id = new VaporIdentifier(\"this\");\n\n VaporIdentifier id_addr = new VaporIdentifier(\"t\"+code_block.fun_decl.temp_variable_counts.toString());\n code_block.fun_decl.temp_variable_counts++;\n\n Add add_id_addr = new Add(this_id, new VaporIntegerLiteral(field_offset.toString()));\n IdEqualOperator set_id_addr = new IdEqualOperator(id_addr, add_id_addr);\n code_block.instructions.add(set_id_addr);\n\n VaporIntegerLiteral zero_offset = new VaporIntegerLiteral(\"0\");\n MemRef mem_ref = new MemRef(id_addr, zero_offset);\n\n VaporIdentifier result = new VaporIdentifier(\"t\"+code_block.fun_decl.temp_variable_counts.toString());\n code_block.fun_decl.temp_variable_counts++;\n IdEqualMem get_result_instr = new IdEqualMem(result, mem_ref);\n code_block.instructions.add(get_result_instr);\n return result;\n }\n }", "title": "" }, { "docid": "e2bde5a20526b769d32b73a37ff8a6ea", "score": "0.39476168", "text": "public Message.Resource.Builder getResourceBuilder() {\n return getResourceFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "e2bde5a20526b769d32b73a37ff8a6ea", "score": "0.39476168", "text": "public Message.Resource.Builder getResourceBuilder() {\n return getResourceFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "36dd31d118a951e1af762f7e9276e880", "score": "0.3943139", "text": "public static <T extends Object, U extends Object, V extends Object, W extends Object> Statement of( Expr.QuadConsumer<T, U, V, W> c ){\n StackTraceElement ste = Thread.currentThread().getStackTrace()[2];\n return from( ste );\n }", "title": "" }, { "docid": "5b7681628e39312a493fd5481969f8fb", "score": "0.39300317", "text": "java.lang.String getBlock();", "title": "" }, { "docid": "ff53b35ddd9f924922a1792683e363f7", "score": "0.3923044", "text": "@Override\n\tpublic void visitStatement(Statement node) {\n\t\texpression_depth = 1;\n\t\tif(node instanceof Compound_Statement) {\n\t\t\tCompound_Statement t = (Compound_Statement) node;\n\t\t\tint j = 0;\n\t\t\twhile(j != params.size()) {\n\t\t\t\tParameter param = params.get(j++);\n\t\t\t\tlocal_var_code.put(param.t_node.toString(), \"2\"+local_decl);\n\t\t\t\tif(param instanceof ArrayParameter)\n\t\t\t\t\tSystem.out.println(\" sym 2 \"+(local_decl++)+\" 1\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\" sym 2 \"+(local_decl++)+\" 0\");\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < t.local_decls.size(); i++) {\n\t\t\t\tvisitLocal_Declaration(t.local_decls.get(i));\n\t\t\t}\n\t\t\tfor(int i = 0; i < t.stmts.size(); i++) {\n\t\t\t\tvisitStatement(t.stmts.get(i));\n\t\t\t\tif(i != t.stmts.size() - 1)\n\t\t\t\t\thas_return = false;\n\t\t\t}\n\t\t}\n\n\t\telse if(node instanceof While_Statement) {\n\t\t\tWhile_Statement t = (While_Statement) node;\n\t\t\tString label = \"$$\"+label_num++;\n\t\t\tstack.push(label_num);\n\t\t\tSystem.out.print(label);\n\t\t\tfor(int i = 0 ; i < 11-label.length(); i++)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tSystem.out.println(\"nop\");\n\t\t\tvisitExpression(t.expr);\n\t\t\tSystem.out.println(\" fjp $$\"+label_num++);\t// ++ 해야되나?\n\t\t\tvisitStatement(t.stmt);\n\t\t\tSystem.out.println(\" ujp \"+label);\n\t\t\tSystem.out.println(\"$$\"+stack.pop()+\" nop\");\n\t\t}\n\n\t\telse if (node instanceof Expression_Statement) {\n\t\t\tvisitExpression(((Expression_Statement) node).expr);\n\t\t}\n\n\t\telse if(node instanceof If_Statement) {\t\t\t\t\t\t//전체적으로 다시봐야됨\n\t\t\tIf_Statement t = (If_Statement) node;\n\t\t\tString label = \"$$\"+label_num++;\n\n\t\t\tSystem.out.print(label);\n\t\t\tfor(int i = 0 ; i < 11-label.length(); i++)\n\t\t\t\tSystem.out.print(\" \");\n\t\t\tSystem.out.println(\"nop\");\n\t\t\tvisitExpression(t.expr);\n\n\t\t\tif(t.else_stmt == null) {\n\t\t\t\tstack.push(label_num);\n\t\t\t\tSystem.out.println(\" fjp \"+\"$$\"+label_num++);\n\t\t\t\tvisitStatement(t.if_stmt);\n\t\t\t}\n\n\t\t\tif(t.else_stmt != null) {\n\t\t\t\tstack.push(label_num);\n\t\t\t\tSystem.out.println(\" fjp \"+\"$$\"+label_num++);\n\t\t\t\tvisitStatement(t.if_stmt);\n\t\t\t\tstack.push(label_num);\n\t\t\t\tSystem.out.println(\" ujp \"+\"$$\"+stack.peek());\n\t\t\t\tlabel_num++;\n\t\t\t\tint nested = stack.pop();\n\t\t\t\tint current = stack.pop();\n\t\t\t\tSystem.out.print(\"$$\"+current);\n\t\t\t\tfor(int i = 0; i < 11-(\"$$\"+current).length(); i++) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"nop\");\n\t\t\t\tvisitStatement(t.else_stmt);\n\t\t\t\tstack.push(nested);\n\t\t\t}\n\t\t\tint current = stack.pop();\n\t\t\tSystem.out.print(\"$$\"+current);\n\t\t\tfor(int i = 0; i < 11-(\"$$\"+current).length(); i++) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"nop\");\n\t\t}\n\n\t\telse if(node instanceof Return_Statement) {\n\t\t\tReturn_Statement t = (Return_Statement) node;\n\t\t\tif(t.expr != null) {\n\t\t\t\tvisitExpression(t.expr);\n\t\t\t\tSystem.out.println(\" retv\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(\" ret\");\n\t\t\t}\n\t\t\thas_return = true;\n\t\t}\n\t}", "title": "" }, { "docid": "eaca644852432342397fbac017a1ebf0", "score": "0.39218003", "text": "Bits closureUnion(int a, int b);", "title": "" }, { "docid": "a9cf86a5cf86c07577f5a3cf4b23f699", "score": "0.3921589", "text": "public static Statement from( LambdaExpr le ){\n Statement st = le.getBody();\n if( st.isBlockStmt() && st.asBlockStmt().getStatements().size() == 1){\n return st.asBlockStmt().getStatement(0);\n }\n return st;\n }", "title": "" }, { "docid": "05b12b750240d5150e54398e7f2537fa", "score": "0.3919034", "text": "R visit(ASTCreationExpr node) throws FFaplException;", "title": "" }, { "docid": "21fbbbc972f0ed7397a6bf16b4783c53", "score": "0.39143738", "text": "SingleValueResource source();", "title": "" }, { "docid": "592fef812fb4e21b42ac30adbefd4365", "score": "0.3911518", "text": "public BoundaryCondition getBoundaryCondition() {\n\tif(isNode()) return null;\n\treturn b;\n }", "title": "" }, { "docid": "b690da72f276cd5d7399a5cc63760357", "score": "0.39073816", "text": "R visit(ASTLiteral node) throws FFaplException;", "title": "" }, { "docid": "2a2c4726cfe0ea771e98d2e8779036f6", "score": "0.3906083", "text": "R visit(ASTStatementList node) throws FFaplException;", "title": "" }, { "docid": "3e622c8e5a6097417ff49278eeb9a7ed", "score": "0.39027128", "text": "public Block() {\n stmtList = null;\n }", "title": "" }, { "docid": "8996efbc74ef5f2b8e122b251adc9103", "score": "0.38971677", "text": "public IAstExpression getTrueBranch();", "title": "" }, { "docid": "6f6bc7bf1368a7b4ae9611ddb4180865", "score": "0.38957158", "text": "@Override\r\n public void accept(Instruction instruction) {\n basicBlockBuilder.accept(instruction);\r\n }", "title": "" }, { "docid": "c8c9492cd07809cd5ad8af801250af46", "score": "0.3891147", "text": "public T caseedge_stmt_node(edge_stmt_node object)\n {\n return null;\n }", "title": "" }, { "docid": "0a2d06d67a7a49008342ba36bf6859ca", "score": "0.3888038", "text": "java.lang.String getBlockObject();", "title": "" }, { "docid": "1f03e8ce4618631f511aa047c5a63e9f", "score": "0.38869253", "text": "public boolean hasStatements(RepositoryConnection conn, Resource subj, URI pred, Value obj, Resource...contexts) throws RepositoryException;", "title": "" }, { "docid": "af5b1fc7887f116c69d34280a2e2427f", "score": "0.3881835", "text": "Consumer<ISqlNode> transformNode(){\r\n\t\treturn sqlRoot.transformNode();\r\n\t}", "title": "" } ]
20320ee708f24438e18a0ddb19a1c12f
return the Score for GHOST eating
[ { "docid": "671bd25d559ef641c086569cf3403819", "score": "0.63751477", "text": "public int getScore() {\n\t\treturn _score;\n\t}", "title": "" } ]
[ { "docid": "a7f7ff56a5a93225d818821e6cf3d8b7", "score": "0.71987385", "text": "public int getScoreHome()\n {\n return scores[HOME_TEAM];\n }", "title": "" }, { "docid": "35577f05808548f0c8cd63fe1c8606e6", "score": "0.7163832", "text": "public Integer gethScore() {\n return hScore;\n }", "title": "" }, { "docid": "ab20f763d2dd24db43d0cc642e97eaba", "score": "0.7151077", "text": "private int calculateScore() {\n return 5000;\n }", "title": "" }, { "docid": "1c06d61ec3bf8a0e7cb4919f386b911b", "score": "0.71313524", "text": "public int getScoreAway()\n {\n return scores[AWAY_TEAM];\n }", "title": "" }, { "docid": "706ebf89ef2f761e7a2979c621e1fb7b", "score": "0.7125484", "text": "private int score()\r\n\t{\r\n\t\treturn (int)(this.pourcentOfAvailableEnergy()*this.pourcentOfAvailableEnergy()*this.neighboorlist.size());\r\n\t}", "title": "" }, { "docid": "d93c258710d222236c97701ef1494922", "score": "0.6992111", "text": "float getScore();", "title": "" }, { "docid": "d93c258710d222236c97701ef1494922", "score": "0.6992111", "text": "float getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.6983657", "text": "int getScore();", "title": "" }, { "docid": "d20e6dfd48e16bdc4b66930218c67b96", "score": "0.6983657", "text": "int getScore();", "title": "" }, { "docid": "57504f3c609d64b2741f7b9d19d81a6b", "score": "0.6981339", "text": "public static int getScore()\n {\n return Score;\n }", "title": "" }, { "docid": "52073b5ddbb5a454a137fc89672be5f0", "score": "0.6975958", "text": "public int getScore() { hit(\"|project://jpacman/src/main/java/nl/tudelft/jpacman/level/Player.java|(307,1918,<15,0>,<105,1>)\", \"|project://jpacman/src/main/java/nl/tudelft/jpacman/level/Player.java|(1818,42,<83,1>,<85,2>)\"); hit(\"|project://jpacman/src/main/java/nl/tudelft/jpacman/level/Player.java|(307,1918,<15,0>,<105,1>)\", \"|project://jpacman/src/main/java/nl/tudelft/jpacman/level/Player.java|(1818,42,<83,1>,<85,2>)\", \"839\"); return score; }", "title": "" }, { "docid": "5138bc179f8a808f89af24df009dc52d", "score": "0.69210833", "text": "int getPlayerScore(PlayerAttempt game);", "title": "" }, { "docid": "d711ceb5ebec1653de1579ee49c7d088", "score": "0.691685", "text": "int getDireScore();", "title": "" }, { "docid": "76b7dd908173c6dc86610c61b03d20f3", "score": "0.6849343", "text": "public int getScore()\n {\n try\n {\n return score;\n }\n catch(Exception ex)\n {\n ErrorLogger.logError(\"SEVERE\",this.getClass().toString(),ex.toString());\n }\n return 0;\n }", "title": "" }, { "docid": "203e729f0da8e59939d09fa9b5d7110f", "score": "0.68195", "text": "public int getScoreHomeTeam() {\n return homeTeam.score;\n }", "title": "" }, { "docid": "5f79d86948c15e6ad401ad7ddc919e4f", "score": "0.6795555", "text": "@Override\n public int getScore() {\n\treturn state == AlienState.STUNNED || state == AlienState.WAITING && getElapsedTimeVisible() >= getWaitingStateTime() - .25f ? 3 : 1;\n }", "title": "" }, { "docid": "934ce5ef175af10976fc46796e903583", "score": "0.6785137", "text": "public int score();", "title": "" }, { "docid": "934ce5ef175af10976fc46796e903583", "score": "0.6785137", "text": "public int score();", "title": "" }, { "docid": "7bae29d037ff2b36c05f77a56fd5da6f", "score": "0.6784579", "text": "public int getScore();", "title": "" }, { "docid": "7bae29d037ff2b36c05f77a56fd5da6f", "score": "0.6784579", "text": "public int getScore();", "title": "" }, { "docid": "1552e8f0229365134ff701cd3d02555b", "score": "0.6782073", "text": "public int score() {\r\n return score;\r\n }", "title": "" }, { "docid": "316df1c1658f9315e86f1e3908b51350", "score": "0.6778004", "text": "public Integer getScoreEssay() {\n return scoreEssay;\n }", "title": "" }, { "docid": "e24124ed30b445da6f281f53f68d44a0", "score": "0.67631406", "text": "int score();", "title": "" }, { "docid": "d4d97888d10bbc93142e4bf41a27f60a", "score": "0.67561686", "text": "public abstract double getScore();", "title": "" }, { "docid": "d4d97888d10bbc93142e4bf41a27f60a", "score": "0.67561686", "text": "public abstract double getScore();", "title": "" }, { "docid": "dc8cd2c183669dc7af9cf95f296cb183", "score": "0.6753615", "text": "public int getScoreForLife ()\r\n\t{\r\n\t\treturn scoreForLife;\r\n\t}", "title": "" }, { "docid": "43044bcb5159c54a6fec2a4b0bfeb976", "score": "0.67421573", "text": "double computeScore();", "title": "" }, { "docid": "b4467c6fb2f54b8da26e99241b57aa02", "score": "0.667761", "text": "public int calculateScore() {\n\t\tint score = 0;\n\t\t\n\t\tscore += (this.doubleKills) + (this.tripleKills * 3) + (this.quadraKills * 5) + (this.pentaKills * 10);\n\t\t\n\t\treturn score;\n\t}", "title": "" }, { "docid": "f820f791575dbb753a17b93a9126076b", "score": "0.6668998", "text": "public int getScore() {\r\n return time;\r\n }", "title": "" }, { "docid": "eea78720efa5f3eaebd365f0bd6c0a46", "score": "0.66684335", "text": "private int score()\n {\n Board b = getBoard();\n ArrayList<Location> locs = b.getOccupiedLocations();\n int score = 0;\n for ( Location l: locs )\n if ( b.get(l).getColor().equals( getColor() ) )\n score += b.get(l).getValue();\n else\n score -= b.get(l).getValue();\n return score;\n }", "title": "" }, { "docid": "e1ac4c66e4f2f3e4ace1a6bee9c923ad", "score": "0.666515", "text": "public int getScore()\r\n {\r\n int score = 0;\r\n int mult = 1;\r\n ArrayList<Location> arr = this.getGrid().getOccupiedLocations();\r\n int count = 0;\r\n for ( Location loc : arr )\r\n {\r\n if ( this.getGrid().get( loc ).getColor() != null\r\n && this.getGrid().get( loc ).getColor().equals( Color.RED ) )\r\n {\r\n score += ( (Letter)this.getGrid().get( loc ) ).getScore();\r\n count++;\r\n if ( boardPUps[loc.getRow()][loc.getCol()] > mult )\r\n {\r\n mult = boardPUps[loc.getRow()][loc.getCol()];\r\n }\r\n }\r\n }\r\n score *= mult;\r\n if ( count == 8 )\r\n {\r\n score += 50;\r\n }\r\n return score;\r\n }", "title": "" }, { "docid": "4e71e97151cbe68c3eec9dfd57114160", "score": "0.6657828", "text": "public int getScore() {\n return localScore;\n }", "title": "" }, { "docid": "4b0b73176a09fb6ba9ad11f580fe08ac", "score": "0.6656355", "text": "public int getScore ()\r\n\t{\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "6ad65109d613d03b9848e9b1dfb63458", "score": "0.66556317", "text": "Score getBoardScore();", "title": "" }, { "docid": "52f1e71a97f79f8db420d94e5a963987", "score": "0.66429836", "text": "@Override\n\tprotected long getScore() {\n\t\tresult=points;///(timer.getValue());\n\t\t//System.out.println(points + \" / \" + timer.getValue());\n\t\t//System.out.println(result);\n\t\t\n\t\treturn result;\n\t\t//return 0;\n\t}", "title": "" }, { "docid": "f093bd3504f2938de535ae38e209342e", "score": "0.66140985", "text": "public double score() {\n return score;\n }", "title": "" }, { "docid": "ddd9e76399abb99723db2a411cc7ec91", "score": "0.6601219", "text": "int getGainScore();", "title": "" }, { "docid": "0904c46f6eeb8512bc1ecdd5e0b82ed4", "score": "0.657721", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "075662b015d5e9131bf49c8edc9350f5", "score": "0.6572897", "text": "public int getScore()\n {\n return score;\n }", "title": "" }, { "docid": "f6607faf9f4b2cc03a97c67385a570fb", "score": "0.65668577", "text": "public int getScore() {\n\t\tint ret = 0;\n\t\tif (cards.size() >= 7) {\n\t\t\tif (clean) {\n\t\t\t\tret += 500;\n\t\t\t} else {\n\t\t\t\tret += 300;\n\t\t\t}\n\t\t}\n\t\tfor (Card c : cards) {\n\t\t\tret += c.getPoints();\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "3943d46467f13bbfaa45b8aeb7a74b16", "score": "0.65649074", "text": "public double getScore()\n {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "21aedc02b72cf4a8c882643089e444d2", "score": "0.6562766", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "565d6928df12d037b7133384984b4091", "score": "0.6554044", "text": "public int getScore () {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "0afcff79040a5c290c67b689edfef467", "score": "0.6550984", "text": "public double getScore() {\n return this.score;\n }", "title": "" }, { "docid": "380179d7d33bc0d698ce2ba77b78c52e", "score": "0.6543196", "text": "public abstract int getCalculatedScore();", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.65415597", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "77073669518ce887342c86e95868e58f", "score": "0.65415597", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "f468c40c259bb10a9c05f9b874c4604c", "score": "0.65414935", "text": "public double getScore()\n {\n return score;\n }", "title": "" }, { "docid": "76581055d58e7e6e687939b6f3e1887b", "score": "0.65408784", "text": "public int score() {\n\t\t\tArrayList<Integer> scores = possibleScores();\n\t\t\tint maxUnder = Integer.MIN_VALUE;\n\t\t\tint minOver = Integer.MAX_VALUE;\n\t\t\tfor (int score : scores) {\n\t\t\t\tif (score > 21 && score < minOver) {\n\t\t\t\t\tminOver = score;\n\t\t\t\t} else if (score <= 21 && score > maxUnder) {\n\t\t\t\t\tmaxUnder = score;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn maxUnder == Integer.MIN_VALUE ? minOver : maxUnder;\n\t\t}", "title": "" }, { "docid": "f2926a716bbe8af6b631cc94a018c685", "score": "0.65390784", "text": "public int getScore() {\n return score;\n }", "title": "" }, { "docid": "a91f21cdc13f43c0e593eab8dd36fb97", "score": "0.65263975", "text": "public double getScore() { return score; }", "title": "" }, { "docid": "5abf3ffd68b40cbd6ac2b8561c4b3e49", "score": "0.6525314", "text": "public int getScore() { return score; }", "title": "" }, { "docid": "6ab1ff669940526b3f76623074861f31", "score": "0.652372", "text": "private static long calcFinalScore(){\n return (Profile.getAnimalsKilled() * 50) + (getFamilyAlive() * 100) + (Math.round(Profile.getMoney()) * 2) +\n (getInventory()) + (10000 - counter);\n }", "title": "" }, { "docid": "dba5054bea9b916e950a73afbe897379", "score": "0.65165263", "text": "public double getScore() {\n return score;\n }", "title": "" }, { "docid": "2bb38a2a5f2bea389f3244b14c7e815e", "score": "0.6511009", "text": "public int getHighScore() { return highScore; }", "title": "" }, { "docid": "aa1bf98c338dcab1654a2cf848074791", "score": "0.6507855", "text": "public double generateScore() {\n return 0.55 * (1.0 - cpu.usagePercent().doubleValue())\n + 0.4 * (1.0 - memory.memoryUsagePercent());\n }", "title": "" }, { "docid": "06a3fe0c72efdca4121d238e96fee199", "score": "0.6505502", "text": "public float score(GameState currentGS) {\n\n Team myTeam = null;\n Team opTeam = null;\n Pokemon myPman = null;\n Pokemon opPman = null;\n Field myField = null;\n Field opField = null;\n\n int maxingPlayer = this.playerNumber;\n\n if (maxingPlayer == 1) {\n\n myTeam = currentGS.player1Team;\n myPman = currentGS.player1CurrentPokemon;\n opTeam = currentGS.player2Team;\n opPman = currentGS.player2CurrentPokemon;\n\n }\n\n else {\n\n myTeam = currentGS.player2Team;\n myPman = currentGS.player2CurrentPokemon;\n opTeam = currentGS.player1Team;\n opPman = currentGS.player1CurrentPokemon;\n\n }\n\n // Needs to be a float\n float score = 0;\n\n int size = myTeam.size();\n\n for (int i = 0; i < size; i++) {\n\n if (myTeam.get(i).currentHealth <= 0) {\n\n score -= 1;\n\n }\n\n // Add percent of pman remaining health\n\n else {\n\n score += myTeam.get(i).currentHealth / (float) myTeam.get(i).stats.get(0).getStatValue();\n\n }\n\n }\n\n size = opTeam.size();\n\n for (int i = 0; i < size; i++) {\n\n if (opTeam.get(i).currentHealth <= 0) {\n\n score += 1;\n\n }\n\n // Add percent of pman remaining health\n\n else {\n\n score -= opTeam.get(i).currentHealth / (float) opTeam.get(i).stats.get(0).getStatValue();\n\n }\n\n }\n\n // return UtilityFunctions.randomNumber(1,2);\n return score;\n\n }", "title": "" }, { "docid": "e3f1e3828d5f502f1abf4870de3fa4d0", "score": "0.6489578", "text": "public int getScore()\n\t{\n\t\treturn score;\n\t}", "title": "" }, { "docid": "a59653880cc7b519f066db2230fbfd66", "score": "0.6489118", "text": "public int getrTscore(){\n\t\treturn rTscore;\n\t}", "title": "" }, { "docid": "cdfe229eb617612477db0c4e977e056b", "score": "0.648244", "text": "public int getScore(){\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "35a32da4152994fa4243f2a2840b4682", "score": "0.6482164", "text": "public int getScore(){\n\t\t\treturn _score;\n\t\t}", "title": "" }, { "docid": "b18cd17d50e2f05e9ea44f4d85dfc38b", "score": "0.64820945", "text": "public int score() {\n ArrayList<Integer> possibleScores = possibleScores();\n // How to use these 2 variable?\n int maxUnder21 = Integer.MIN_VALUE;\n int minOver21 = Integer.MAX_VALUE;\n for (int posScore : possibleScores) {\n if (posScore > 21 && posScore < minOver21) {\n minOver21 = posScore;\n } else if (posScore <= 21 && posScore > maxUnder21) {\n maxUnder21 = posScore;\n }\n }\n return maxUnder21 == Integer.MIN_VALUE ? minOver21 : maxUnder21;\n }", "title": "" }, { "docid": "d26d8faf4c7677075c12df946d0ff24c", "score": "0.6474275", "text": "public int getScore() {\n return this.score;\n }", "title": "" }, { "docid": "d26d8faf4c7677075c12df946d0ff24c", "score": "0.6474275", "text": "public int getScore() {\n return this.score;\n }", "title": "" }, { "docid": "d26d8faf4c7677075c12df946d0ff24c", "score": "0.6474275", "text": "public int getScore() {\n return this.score;\n }", "title": "" }, { "docid": "9275c66fc8f206dabb7e2331ae7f82d3", "score": "0.64406294", "text": "public double getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "a5bb13b2b99c8717fa7474e3fb405182", "score": "0.6440109", "text": "public int getScore(){\n\t\treturn score;\n\t}", "title": "" }, { "docid": "a5bb13b2b99c8717fa7474e3fb405182", "score": "0.6440109", "text": "public int getScore(){\n\t\treturn score;\n\t}", "title": "" }, { "docid": "49a083c2e59e9aad6d5b541487deacee", "score": "0.644007", "text": "public Double getScore()\r\n {\r\n return score;\r\n }", "title": "" }, { "docid": "bb735a935d56212285d479ba4c3d4ac3", "score": "0.64377666", "text": "public int getscore() {\r\n\t\treturn this.score;\r\n\t}", "title": "" }, { "docid": "5be225af53591d2dd9e6f3f94075d7b4", "score": "0.64252234", "text": "public java.lang.String getGameScore() {\n\t\tString score;\n\t\tString p1Score = null;\n\t\tString p2Score = null;\n\t\tint p1 = player1.getGamePoints();\n\t\tint p2 = player2.getGamePoints();\n\t\tif ((p1 >= 4) && (p1 == p2 + 1)) {\n\t\t\tscore = \"Advantage \" + player1.getName();\n\t\t} else if ((p2 >= 4) && (p2 == p1 + 1)) {\n\t\t\tscore = \"Advantage \" + player2.getName();\n\t\t} else if (((p1 == p2) && (p1 >= 3) && (p2 >= 3))) {\n\t\t\tscore = \"Deuce\";\n\t\t} else if (((p1 + 1 == p2) && (p1 >= 3) && (p2 >= 3))) {\n\t\t\tscore = \"Game\";\n\t\t} else if (((p2 + 1 == p1) && (p1 >= 3) && (p2 >= 3))) {\n\t\t\tscore = \"Game\";\n\t\t} else if (p1 >= 4) {\n\t\t\tscore = \"Game\";\n\t\t} else if (p2 >= 4) {\n\t\t\tscore = \"Game\";\n\t\t} else {\n\n\t\t\tif (p1 == 0) {\n\t\t\t\tp1Score = \"Love\";\n\t\t\t}\n\t\t\tif (p1 == 1) {\n\t\t\t\tp1Score = \"15\";\n\t\t\t}\n\t\t\tif (p1 == 2) {\n\t\t\t\tp1Score = \"30\";\n\t\t\t}\n\t\t\tif (p1 == 3) {\n\t\t\t\tp1Score = \"40\";\n\t\t\t}\n\t\t\tif (p2 == 0) {\n\t\t\t\tp2Score = \"Love\";\n\t\t\t}\n\t\t\tif (p2 == 1) {\n\t\t\t\tp2Score = \"15\";\n\t\t\t}\n\t\t\tif (p2 == 2) {\n\t\t\t\tp2Score = \"30\";\n\t\t\t}\n\t\t\tif (p2 == 3) {\n\t\t\t\tp2Score = \"40\";\n\t\t\t}\n\n\t\t\tscore = p1Score + \"-\" + p2Score;\n\t\t}\n\t\treturn \"Game score: \" + score;\n\t}", "title": "" }, { "docid": "08247463d3fef402b6b04931f59e1024", "score": "0.6422749", "text": "public int getScore() { return this.score; }", "title": "" }, { "docid": "596c58067829f595bced1089053e335e", "score": "0.6422467", "text": "public Double getScore() {\n return score;\n }", "title": "" }, { "docid": "41deef3e1df0c382cd56772c97c65df0", "score": "0.642042", "text": "public int getScore(){\r\n \treturn p;\r\n }", "title": "" }, { "docid": "c5cc702df7d9ef45bc2bcde1d032c817", "score": "0.6413021", "text": "public int getScore() {\n return fScore;\n }", "title": "" }, { "docid": "b1b3c19ad12e4e381daa259fd3697652", "score": "0.64117694", "text": "@Override\n\tpublic int getScore() {\n\t\treturn score;\n\t}", "title": "" }, { "docid": "09ecc9d883c0c60c41f1b34a97d77a83", "score": "0.64102274", "text": "public int getScore(){\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "a4260e356836375ac58c18058c9fc1ef", "score": "0.64059746", "text": "public double getScore() {\n\t\t\treturn this.score;\n\t\t}", "title": "" }, { "docid": "a5a9f006d37cca488827014ecc9a8fb7", "score": "0.64058787", "text": "public int getScore () {\n if (!isFull()) {\n throw new IllegalArgumentException(\"The sector is not full, we can't calculate the score yet\");\n }\n int score = 0;\n for (Coordinates pos : coordinates) {\n score = score + reserve.getAnimal(pos).getValue();\n }\n return score;\n }", "title": "" }, { "docid": "0872106678197a82ce483797797933b1", "score": "0.64020073", "text": "public int getScore() {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "0872106678197a82ce483797797933b1", "score": "0.64020073", "text": "public int getScore() {\r\n\t\treturn score;\r\n\t}", "title": "" }, { "docid": "ab223d72285d1552fd8815140cf7353d", "score": "0.6400244", "text": "protected static double getScore(ANA gold, ANA hyp) {\n if (gold.getValue() == null) {\n // todo: better logging!!!\n System.out.println(\"Null object in gold??\");\n return 0.;\n }\n // other eval distillers might have partial matches; this one is all or nothing based on equality\n return gold.getValue().equals(hyp.getValue()) ? 1. : 0.;\n }", "title": "" }, { "docid": "26324b9c93bb4ebd64a4456ac8ed70c6", "score": "0.6380695", "text": "public Integer getEarnScore() {\r\n return earnScore;\r\n }", "title": "" }, { "docid": "6ddf92a0a881e25cf96e67077a9743ce", "score": "0.638043", "text": "public double getScore() {\n\t\tif (cache == null)\n\t\t\tinitCache();\n\t\treturn cachedScore;\n\t}", "title": "" }, { "docid": "fe02704381d43f83ba8c20b150aa2ce1", "score": "0.63595545", "text": "public int getGlobalScore()\n\t{ return Infos.getGlobalScore(); }", "title": "" }, { "docid": "a56d54801b553a207cac53c576afa4c0", "score": "0.6354301", "text": "public int getScore()\n\t{\n\t\treturn this.score;\n\t}", "title": "" }, { "docid": "18f39a578835a74f2c56a67a1f1e9ef8", "score": "0.6348658", "text": "public Integer getScore() {\n return score;\n }", "title": "" }, { "docid": "18f39a578835a74f2c56a67a1f1e9ef8", "score": "0.6348658", "text": "public Integer getScore() {\n return score;\n }", "title": "" }, { "docid": "18f39a578835a74f2c56a67a1f1e9ef8", "score": "0.6348658", "text": "public Integer getScore() {\n return score;\n }", "title": "" }, { "docid": "abd03dcc4d8e51a1c143d486a0678169", "score": "0.6347282", "text": "public Integer getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "abd03dcc4d8e51a1c143d486a0678169", "score": "0.6347282", "text": "public Integer getScore() {\r\n return score;\r\n }", "title": "" }, { "docid": "15e54469d3629645db4417d551f75ee4", "score": "0.6341227", "text": "@Override\n\tpublic int getHitScore() {\n\t\t// TODO Auto-generated method stub\n\t\tint hitScore = this.random.nextInt(Math.round((this.agility + this.dexterity)/this.randomnessFactor)) + (this.dexterity/2);\n\t\t \t\t\t\t\t\t\t \t//Random based on Agility and Dexterity\t\t\t\t\tDexterity divided by two as the base\n\t\treturn this.weapon.adjustHit(hitScore); //Return hit score adjusted by the equipped weapon\n\t}", "title": "" }, { "docid": "7bd35bf94a6f31eb18ba2e1ad53d7b27", "score": "0.6329328", "text": "public int getScore() {\n\t\treturn score;\n\t}", "title": "" } ]
96b46505b37eec5f219dffc9e07d6f0f
Check if the return description has a 'Description:' string.
[ { "docid": "8253afabef2305131c5bf1f543ec60b7", "score": "0.0", "text": "@Test\n\t\t@RepeatedTest(100)\n\t\t@DisplayName(\"Get account description\")\n\t\tpublic void testSampleServiceGetAccountDescription() {\n\t\t\tassertTrue(orderService.getOrderDescription(1).contains(\"Description\"));\n\t\t}", "title": "" } ]
[ { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "e1cf2f02f06b1a7b7ccca8806fe2f0df", "score": "0.79935926", "text": "boolean hasDescription();", "title": "" }, { "docid": "0769470ffa9a87ad530140eb837d96f7", "score": "0.7541214", "text": "public boolean hasDescription()\n {\n return getDescription() != null && getDescription().length() > 0;\n }", "title": "" }, { "docid": "28333e6180709e6fb6ae29723ec78354", "score": "0.7280384", "text": "boolean hasDescriptionTag();", "title": "" }, { "docid": "49ffd6a0b5fa6a26a5859e739f4ce986", "score": "0.7240585", "text": "boolean isDesc();", "title": "" }, { "docid": "8b6bdf7afc8ff765e225d57527c0bd5a", "score": "0.7232473", "text": "boolean isNilDescription();", "title": "" }, { "docid": "8ef8bd5d20f8fe8d3a32b5d6146d5196", "score": "0.71244836", "text": "boolean hasDesc();", "title": "" }, { "docid": "8ef8bd5d20f8fe8d3a32b5d6146d5196", "score": "0.71244836", "text": "boolean hasDesc();", "title": "" }, { "docid": "8ef8bd5d20f8fe8d3a32b5d6146d5196", "score": "0.71244836", "text": "boolean hasDesc();", "title": "" }, { "docid": "3708d7f86bf062f04dee8c9af2323243", "score": "0.71105814", "text": "boolean hasErrorDescription();", "title": "" }, { "docid": "e585935f7b1a975957e88dfd5d297be2", "score": "0.7104481", "text": "boolean hasContentDescription();", "title": "" }, { "docid": "d5d5e0ab543becd6d7eff37eb4b99dce", "score": "0.70121974", "text": "public boolean descriptionContains(String toCheck){\n\t\t\n\t\treturn description.contains(toCheck);\n\t\t\t\n\t}", "title": "" }, { "docid": "db10529cc2c2b8bf5666c80e051e2146", "score": "0.69930625", "text": "@SuppressWarnings(\"PMD.UselessParentheses\")\n public boolean isDescriptionValid() {\n return (description == null || description.length() <= 500);\n }", "title": "" }, { "docid": "41e93a6f5d7fa750efb00abb08f38713", "score": "0.6968908", "text": "public static boolean isValidDescription(String test) {\n return true;\n }", "title": "" }, { "docid": "16eba14a4d8d97309edf11d54ec63186", "score": "0.6943471", "text": "boolean hasErrorDesc();", "title": "" }, { "docid": "638d614ec764e8aa14af497a55862903", "score": "0.6935785", "text": "boolean isSetDescription();", "title": "" }, { "docid": "0eacb515f11aa62ef68bd5945c95d0de", "score": "0.68307877", "text": "public boolean isDescription() {\n return isNonRdfSourceDescription;\n }", "title": "" }, { "docid": "e33d6cd53fedcee87609998a170f5742", "score": "0.68087023", "text": "private boolean validateCardDescription() {\n if(cardDescription.getText().toString().trim().isEmpty()) {\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "7f9ee08ab5d319374f17cc7b9640e0e6", "score": "0.6796906", "text": "public boolean hasDescription() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "7f9ee08ab5d319374f17cc7b9640e0e6", "score": "0.6796906", "text": "public boolean hasDescription() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "332e66b406309a22f874e00ef95f7738", "score": "0.67508453", "text": "public boolean hasDescription() {\n return fieldSetFlags()[1];\n }", "title": "" }, { "docid": "332e66b406309a22f874e00ef95f7738", "score": "0.67508453", "text": "public boolean hasDescription() {\n return fieldSetFlags()[1];\n }", "title": "" }, { "docid": "d041464f450248117893333dea620663", "score": "0.6735985", "text": "public boolean isSetDescription() {\n return this.description != null;\n }", "title": "" }, { "docid": "d041464f450248117893333dea620663", "score": "0.6735985", "text": "public boolean isSetDescription() {\n return this.description != null;\n }", "title": "" }, { "docid": "6fd3308cea37fdbaff1fb6de5791f8b2", "score": "0.6733288", "text": "public static boolean isValidDescription(String test) {\n return test.matches(DESCRIPTION_VALIDATION_REGEX);\n }", "title": "" }, { "docid": "8ee46d924b2116ef3f2bac6ca647e634", "score": "0.6681485", "text": "public boolean isSetDescription() {\r\n return this.description != null;\r\n }", "title": "" }, { "docid": "71be9591a737a7151b862bb7a5371892", "score": "0.66502976", "text": "@NotNull\n public String getDescription() {\n return description;\n }", "title": "" }, { "docid": "fb23063a02abc3e84bdf4dcc730916b2", "score": "0.6602701", "text": "private boolean isValidDescription(String description) {\n return (description.length() >= DESCRIPTION_MIN_LENGTH) &&\n (description.length() <= DESCRIPTION_MAX_LENGTH);\n }", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.65894824", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.6588563", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "fb54e53cdfc17cc0d2d95925239d792f", "score": "0.6588563", "text": "java.lang.String getDescription();", "title": "" }, { "docid": "9e2c3235b3fd1edfd6b1bc4652a18b02", "score": "0.657124", "text": "private boolean validateDescription() {\n String userDescription = listDescription.getText().toString();\n if (userDescription.isEmpty()) {\n Toast.makeText(getApplicationContext(), \"Please Enter A Description For List!\",\n Toast.LENGTH_SHORT).show();\n return false;\n } else if (userDescription.length() < 3) {\n Toast.makeText(getApplicationContext(), \"Description Must Have 3 Or More Characters!\",\n Toast.LENGTH_SHORT).show();\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "cd0318a775ab42d9d9e7b4f5016bd386", "score": "0.6555379", "text": "public Optional<String> description() {\n return Optional.of(description);\n }", "title": "" }, { "docid": "3ec105622d248ac839de6afd453f8e2f", "score": "0.6519982", "text": "public String getDescription( )\r\n\t{\r\n\t\treturn _strDescription;\r\n\t}", "title": "" }, { "docid": "6e22e1282991140171fed7f69d978e0d", "score": "0.650225", "text": "private String descriptionAbsent() {\n return \" '\\u2639' OOPS!!! The description of a ToDo cannot be empty\";\n }", "title": "" }, { "docid": "1cc217131da05d3acc89bc46ad0e008f", "score": "0.6500777", "text": "@Test\n public void getDescription() {\n assertNotNull(p.getDescription());\n assertEquals(\"kurzbeschreibung 1\", p.getDescription());\n assertNotEquals(\"Kurzbeschreibung 1\", p.getDescription());\n }", "title": "" }, { "docid": "137b888d44a9acef6a34eb25883164cb", "score": "0.648191", "text": "@Nonnull\n\tOptional<String> getDescription();", "title": "" }, { "docid": "546bf272f7876c856b503585431cd32e", "score": "0.64780563", "text": "public java.lang.String getDescription();", "title": "" }, { "docid": "546bf272f7876c856b503585431cd32e", "score": "0.64780563", "text": "public java.lang.String getDescription();", "title": "" }, { "docid": "b52b073cbc32dbbfe5282a1704ec9c5c", "score": "0.64573693", "text": "public boolean hasItemDescription() {\n return fieldSetFlags()[1];\n }", "title": "" }, { "docid": "1fe4fbd887934a900c0d45ca4f277585", "score": "0.64398414", "text": "public boolean isDesc(String desc, long max_length) throws Exception\n {\n // String ?\n if (!this.isString(desc))\n return false;\n \n // Length\n if (desc.length()<5 || desc.length()>max_length)\n return false;\n \n // Passed\n return true;\n }", "title": "" }, { "docid": "bcbaef5ded34857d53d4f704237329c5", "score": "0.64339876", "text": "public boolean hasDescription() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "e3d5853869dee674d3c86ff2088268d9", "score": "0.6424439", "text": "private boolean validateBoardDescription() {\n if(boardDescription.getText().toString().trim().isEmpty()) {\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "1db6071adcc857b42f839ef892655544", "score": "0.641756", "text": "public boolean hasDescription() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "e95741bd2cb22c65695b1656208d186f", "score": "0.6417484", "text": "Optional<String> getDescription();", "title": "" }, { "docid": "400358159f12883d71614ab7d0e3d2a0", "score": "0.6409264", "text": "public boolean hasContentDescription() {\n return contentDescription_ != null;\n }", "title": "" }, { "docid": "4fd42747c65640b7255ff44f69116e41", "score": "0.63963276", "text": "public String getDescription()\r\n\t{\treturn Description;\t}", "title": "" }, { "docid": "70899e8ce0fb04664ecb162e5bfd256d", "score": "0.6382023", "text": "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "title": "" }, { "docid": "70899e8ce0fb04664ecb162e5bfd256d", "score": "0.6382023", "text": "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "title": "" }, { "docid": "7520761d9370ea5890ea364cc8047d3e", "score": "0.63799787", "text": "public void testDescription(){\n User user = new User(\"user\");\n Request request = new Request(user);\n try {\n request.setDescription(\"I need a ride. This is an eMerGency!\");\n }\n catch(DescriptionTooLongException e){\n assertTrue(\"DescriptionTooLongException Thrown!\" , false);\n }\n assertFalse(\"Keyword Search Broken!\" , !request.hasKeyword(\"emergency\"));\n assertTrue(\"Description Setter Broken!\" , request.hasKeyword(\"eMerGency\"));\n }", "title": "" }, { "docid": "d10d7a170cde7afbe5272ba064a01015", "score": "0.63540405", "text": "public String toString() {\n return descriptionAbsent(); //when description is absent\n }", "title": "" }, { "docid": "f7a3bcdfa4a01afbee3b7faa77959ad7", "score": "0.6345835", "text": "boolean isSetDesc();", "title": "" }, { "docid": "c5e1af2753b965cc5421b2db7381ddb2", "score": "0.6323827", "text": "public java.lang.String getDescription() {\n return description_;\n }", "title": "" }, { "docid": "874c267928b9695db2348e9f480b2917", "score": "0.6319481", "text": "public String getDescription() {\n\t\treturn description == null || description.isEmpty() ? \"\" : description;\n\t}", "title": "" }, { "docid": "ced8b981e16377a0af7e169749540b6a", "score": "0.62906283", "text": "boolean getContentDescriptionNull();", "title": "" }, { "docid": "6ca0e48c4d9892fa3b948dd61afb3ae9", "score": "0.62901723", "text": "@java.lang.Override\n public com.google.protobuf.ByteString getDescriptionBytes() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n description_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "02d3270bd6250d773c29674fea6376b9", "score": "0.62878543", "text": "public String getDescription( );", "title": "" }, { "docid": "e1a870ff946b8230bb187daabe36884b", "score": "0.6286929", "text": "private boolean descriptionContinues(String description) {\n //description continues longer if ends in ellipses\n //R.string.ellipses is a string that's just an ellipses, so charAt(0) gets char value of the ellipses\n return description.charAt(description.length() - 1) == mContext.getString(R.string.ellipses).charAt(0);\n }", "title": "" }, { "docid": "322429e5616af68355b3e13fd5605cce", "score": "0.6286467", "text": "@Override\r\n\tpublic String getDecription() {\r\n\t\treturn description;\r\n\t}", "title": "" }, { "docid": "684228f2eb9d230488115b00361e0bfb", "score": "0.62843305", "text": "java.lang.String getDesc();", "title": "" }, { "docid": "684228f2eb9d230488115b00361e0bfb", "score": "0.62843305", "text": "java.lang.String getDesc();", "title": "" }, { "docid": "1bc342de0f981c6842cef042b18e83da", "score": "0.6275556", "text": "public String getDescription(){\r\n\t\treturn description;\r\n\t}", "title": "" }, { "docid": "8873f70cf5203fc1a83d41928eb900f6", "score": "0.626779", "text": "public String getDescription() { return description; }", "title": "" }, { "docid": "8873f70cf5203fc1a83d41928eb900f6", "score": "0.626779", "text": "public String getDescription() { return description; }", "title": "" }, { "docid": "c82ed081bea9f18bbb3a448f1244a790", "score": "0.6265673", "text": "public String getDescription()\r\n {\r\n return description;\r\n }", "title": "" }, { "docid": "6c1f90b28741ba21b1ae9d4ecfee62af", "score": "0.6262302", "text": "public java.lang.String getDescription() {\n return description;\n }", "title": "" }, { "docid": "6c1f90b28741ba21b1ae9d4ecfee62af", "score": "0.6262302", "text": "public java.lang.String getDescription() {\n return description;\n }", "title": "" }, { "docid": "cb9f959ea86816e3360f84a36fe960e3", "score": "0.62556964", "text": "public String getDescription() \n\t{\n\t\treturn description;\n\t}", "title": "" }, { "docid": "cb9f959ea86816e3360f84a36fe960e3", "score": "0.62556964", "text": "public String getDescription() \n\t{\n\t\treturn description;\n\t}", "title": "" }, { "docid": "89bb836be5540b21720f8f07db77dee6", "score": "0.62545174", "text": "boolean isSetDescripcion();", "title": "" }, { "docid": "8bf272170baef711396974eebc0c9aa4", "score": "0.62525094", "text": "public void testGetDescription() {\r\n assertEquals(\"Failed to get description.\", \"description\", condition.getDescription());\r\n }", "title": "" }, { "docid": "d57417bfe7a33e037a1e29c220fdb61f", "score": "0.62522805", "text": "public java.lang.String getDescription() {\n return description;\n }", "title": "" }, { "docid": "d57417bfe7a33e037a1e29c220fdb61f", "score": "0.62522805", "text": "public java.lang.String getDescription() {\n return description;\n }", "title": "" }, { "docid": "084ab21f7beaf171d7154cc655963175", "score": "0.6249897", "text": "String getDescription();", "title": "" }, { "docid": "084ab21f7beaf171d7154cc655963175", "score": "0.6249897", "text": "String getDescription();", "title": "" } ]
f34ad575af1f48d57f5ff4f41fad989a
getter method for member of Groups
[ { "docid": "120b955792280602c81818ebbfc2349a", "score": "0.73409426", "text": "public ArrayList<Group> getMemberOf(){\n \n GroupDAO groupDAO = new GroupDAO();\n \n memberOf = groupDAO.getMemberOf(this);\n \n return memberOf;\n }", "title": "" } ]
[ { "docid": "3d3389d7f929c5ed3a7eaa8072939b28", "score": "0.74318105", "text": "public String getGroup();", "title": "" }, { "docid": "876b66be80d57c4962f70ddc8384a385", "score": "0.73652494", "text": "public Group get() {\n return mainGroup;\n }", "title": "" }, { "docid": "d69d83b53caadecd0ad692a869467430", "score": "0.7330973", "text": "public java.lang.String getGroup(){\n return localGroup;\n }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" }, { "docid": "f74614ee97738c8c8aba8386a8ff0827", "score": "0.7311951", "text": "public Group getGroup() { return cGroup; }", "title": "" } ]
455637a47811c4ca392b0b38401d85b0
Changes language in default customer window.
[ { "docid": "a71d8057af710fce3980bc6fed8eeea3", "score": "0.711658", "text": "public void setLanguage(String l, String c) {\n\t\tString language = properties.getProperty(l);\n\t\tString country = properties.getProperty(c);\n\t\tcurLocale = new Locale(language, country);\n\t\tLocale.setDefault(curLocale);\n\t\tBundle.changeBundle(curLocale);\n\t\tbundle = Bundle.getInstance();\n\t\tthis.primaryStage.setTitle(bundle.getString(\"headerText\"));\n\t\tinitUI();\n\t}", "title": "" } ]
[ { "docid": "ed0a5111914fbd260f2a264c87a31896", "score": "0.74713284", "text": "public void setLanguageCustomer(String l, String c) {\n\t\tSystem.out.println(\"Kieli vaihdetaan \" + l + \" \" + c);\n\t\tString language = properties.getProperty(l);\n\t\tString country = properties.getProperty(c);\n\t\tcurLocale = new Locale(language, country);\n\t\tLocale.setDefault(curLocale);\n\t\tBundle.changeBundle(curLocale);\n\t\tbundle = Bundle.getInstance();\n\t\tthis.primaryStage.setTitle(bundle.getString(\"headerText\"));\n\t}", "title": "" }, { "docid": "461efc0cfffc2c71a23e6c9486942364", "score": "0.7323388", "text": "public void switchLanguage() {\n locale = new Locale(language);\n FacesContext.getCurrentInstance().getViewRoot().setLocale(locale);\n System.out.println(locale);\n System.out.println(language);\n System.out.println(Locale.getDefault());\n }", "title": "" }, { "docid": "e195d2f296eb721e9c629f3c2a637335", "score": "0.69965965", "text": "void switchLanguage(String name);", "title": "" }, { "docid": "2ad510a7c917501ba658caee6a5779ea", "score": "0.694102", "text": "public void setClientLanguage(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localClientLanguageTracker = true;\n } else {\n localClientLanguageTracker = true;\n \n }\n \n this.localClientLanguage=param;\n \n\n }", "title": "" }, { "docid": "2ad510a7c917501ba658caee6a5779ea", "score": "0.694102", "text": "public void setClientLanguage(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localClientLanguageTracker = true;\n } else {\n localClientLanguageTracker = true;\n \n }\n \n this.localClientLanguage=param;\n \n\n }", "title": "" }, { "docid": "0a784f6e5a649531a9b79d9919b11d3e", "score": "0.6939948", "text": "private void setAppLanguage(){\n\t\tPreferencesHandler preferenceshandler = new PreferencesHandler(getApplicationContext());\n\t\tLocale locale = new Locale(preferenceshandler.getLanguage());\n\t\tLocale.setDefault(locale);\n\t\tConfiguration config = new Configuration();\n\t\tconfig.locale = locale;\n\t\tgetBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());\n\t}", "title": "" }, { "docid": "13a8c6f3b404b3c30015be948b1c9113", "score": "0.6912884", "text": "@Override\n public final void onLanguageChange(final Locale newLocale) {\n System.out.println(\"LoginBox locale has changed to \" + newLocale);\n\n this.setLocale(newLocale);\n\n // Manually Refresh content\n this.initDefaults();\n }", "title": "" }, { "docid": "940cea45abc9e835a6bf157cb8f6f3dc", "score": "0.68178314", "text": "private void changeLanguage(String language){\r\n\r\n rb = languages.get(language);\r\n if(rb == null){\r\n rb = languages.get(\"\");\r\n }\r\n \r\n setWindowTitle();\r\n fileMenu.setText(rb.getString(\"fileMenu\"));\r\n _new.setText(rb.getString(\"new\"));\r\n _open.setText(rb.getString(\"open\"));\r\n _save.setText(rb.getString(\"save\"));\r\n _saveAs.setText(rb.getString(\"saveAs\"));\r\n _savetxt.setText(rb.getString(\"saveTxt\"));\r\n _exit.setText(rb.getString(\"exit\"));\r\n languageMenu.setText(rb.getString(\"languageMenu\"));\r\n en_language.setText(rb.getString(\"en_language\"));\r\n pt_language.setText(rb.getString(\"pt_language\"));\r\n helpMenu.setText(rb.getString(\"helpMenu\"));\r\n _use.setText(rb.getString(\"use\"));\r\n _about.setText(rb.getString(\"about\"));\r\n \r\n textEditor.setLabelTitle(rb);\r\n imageViewer.setButtonText(rb);\r\n HelpManual.changeLanguage(rb);\r\n \r\n JOptionPane.setDefaultLocale(rb.getLocale());\r\n }", "title": "" }, { "docid": "4659f8f669a387fa54549304931a7c4f", "score": "0.6768283", "text": "public void askLanguage() {\n HashMap<String, Locale> localeMap = Main.getLanguageManager().getLocalesMap();\n\n if (localeMap.isEmpty()) {\n return;\n }\n String language = gui.getUserSelection(\"Choose a language\", localeMap.keySet().toArray(new String[0]));\n\n Locale locale = localeMap.get(language);\n Main.getLanguageManager().setLocale(locale);\n\n// return gui.getUserLeftButtonPressed(\"Choose a Language // Vælg et sprog\", \"English\", \"Danish\");\n }", "title": "" }, { "docid": "8ad84734ee9fd960b00f416c21629ccf", "score": "0.6709062", "text": "public void onLanguageChange(ValueChangeEvent vce) {\n\t\tif (vce != null) {\n\t\t\tString l = vce.getNewValue().toString();\n\t\t\tsetLanguage(l);\n\t\t\tlocale = new Locale(l);\n\t\t\tFacesContext.getCurrentInstance().getViewRoot().setLocale(locale);\n\t\t} else {\n\t\t\tFacesContext.getCurrentInstance().getViewRoot().setLocale(Locale.ENGLISH);\n\t\t}\n\t}", "title": "" }, { "docid": "aca15faf3e53cb5c7580d3313036ed79", "score": "0.67064214", "text": "void switchToSelectLanguageScreen();", "title": "" }, { "docid": "6702f527ee09412ddec9d018cf5acf9d", "score": "0.6697573", "text": "void setLanguage(String language);", "title": "" }, { "docid": "570ad0df0949cb7e321e9d1c4b7af09b", "score": "0.6677992", "text": "public void setLanguageRestaurantKeeper(String l, String c) {\n\t\tString language = properties.getProperty(l);\n\t\tString country = properties.getProperty(c);\n\t\tcurLocale = new Locale(language, country);\n\t\tLocale.setDefault(curLocale);\n\t\tBundle.changeBundle(curLocale);\n\t\tbundle = Bundle.getInstance();\n\t\tthis.primaryStage.setTitle(bundle.getString(\"headerText\"));\n\t\tstartRestaurant();\n\t}", "title": "" }, { "docid": "2cd637baf75b6352b997cdb982f2423b", "score": "0.6584664", "text": "public void changeLanguageInUI() {\n isEnglish = !isEnglish;\n sortTableInUI();\n\n Main.uiHandler.searchButtonClickInUI();\n }", "title": "" }, { "docid": "2e11e5e2801fd61acb99dd8f6644ef0b", "score": "0.6565989", "text": "private void ChangeLanguage(String lang){\n if(lang == Locale.getDefault().toString() || lang == null){\n this.setContentView(R.layout.activity_main);\n }\n else {\n String languageToLoad = lang; // your language\n Locale locale = new Locale(languageToLoad);\n Locale.setDefault(locale);\n Configuration config = new Configuration();\n config.locale = locale;\n getBaseContext().getResources().updateConfiguration(config,\n getBaseContext().getResources().getDisplayMetrics());\n this.setContentView(R.layout.activity_main);\n initializer();\n }\n }", "title": "" }, { "docid": "7fd6e1fb5d326fe3c56a998e44ae4405", "score": "0.65526235", "text": "public void updateLanguage() {\n\t\tif (config.getLanguage().equals(\"g\")) {\n\t\t\tbutton0.setText(\"OK\");\n\t\t\t\n\t\t\tbutton1.setText(\"Datei hinzufügen\");\n\t\t\tbutton2.setText(\"Übernehmen\");\n\t\t\tbutton3.setText(\"Schließen\");\n\t\t\tbutton4.setText(\"test\");\n\t\t}\n\t\telse if (config.getLanguage().equals(\"e\")) {\n\t\t\tbutton0.setText(\"OK\");\n\t\t\t\n\t\t\tbutton1.setText(\"Add File\");\n\t\t\tbutton2.setText(\"Assume\");\n\t\t\tbutton3.setText(\"Close\");\n\t\t\tbutton4.setText(\"test\");\n\t\t}\n\t\telse {\n\t\t\tbutton0.setText(\"OK\");\n\t\t\t\n\t\t\tbutton1.setText(\"Add File\");\n\t\t\tbutton2.setText(\"Assume\");\n\t\t\tbutton3.setText(\"Close\");\n\t\t\tbutton4.setText(\"test\");\n\t\t}\n\t}", "title": "" }, { "docid": "022f9283167303541d20a4ec54cd0166", "score": "0.65332395", "text": "private void initLanguageLocale() {\n currentLanguageCode = \"en-US\";\n currentLanguageCodePosition = 22;\n }", "title": "" }, { "docid": "d7829ddbd2d0b6ec7825ca5ffba8a69f", "score": "0.65243137", "text": "public void setPreferredLanguage(Locale value)\n {\n preferredLanguage = value;\n }", "title": "" }, { "docid": "41c9da25f87c6d0f8d6379fc00487435", "score": "0.6486886", "text": "private void updateLanguage(Language newLanguage) {\r\n this.language = newLanguage;\r\n TaskAction.setLanguage(this.language);\r\n Trigger.setLanguage(this.language);\r\n When.setLanguage(this.language);\r\n try {\r\n this.i18nPropertiesManager.setLanguage(this.language);\r\n } catch (InvalidParameterException ipe) {/*Pas de traduction dans cette langue*/}\r\n }", "title": "" }, { "docid": "405245af38c521403cf81f6982cfe966", "score": "0.63897634", "text": "@Override\n public void switchToSelectLanguageScreen() {\n setScene(selectLanguageScene);\n }", "title": "" }, { "docid": "bd7fae7c5781e902bf81abe6d394c830", "score": "0.63771313", "text": "public void changeLocale() throws IOException{\n\t\tFramework.principal.close();\n\t\tnew Framework().start(new Stage());\n\t}", "title": "" }, { "docid": "a862485337bf277e711fe91697f672bf", "score": "0.63701886", "text": "public static void updateLocale() {\n AppPreferenceTools appPreferenceTools = new AppPreferenceTools(applicationContext);\n Locale locale = new Locale(appPreferenceTools.getApplicationLocale());\n //to force change default locale\n Configuration conf = applicationContext.getResources().getConfiguration();\n conf.locale = locale;\n conf.setLayoutDirection(locale);\n applicationContext.getResources().updateConfiguration(conf, applicationContext.getResources().getDisplayMetrics());\n Configuration systemConf = Resources.getSystem().getConfiguration();\n systemConf.locale = locale;\n systemConf.setLayoutDirection(locale);\n Resources.getSystem().updateConfiguration(systemConf, Resources.getSystem().getDisplayMetrics());\n Locale.setDefault(locale);\n initCalligraphyConfig(TApplication.applicationContext.getString(R.string.default_font));\n }", "title": "" }, { "docid": "c842ba71b9b7ab1a40a3dfc53b01192c", "score": "0.6356315", "text": "public void setLanguage(String locale) throws DBLayerException, RemoteException;", "title": "" }, { "docid": "4a44930601e0c9142153ab09da47c25e", "score": "0.6351529", "text": "public static void setUserLanguage(String language, HttpSession session) {\r\n MgnlContext.setAttribute(Config.FMT_LOCALE + \".session\", language, Context.SESSION_SCOPE); //$NON-NLS-1$\r\n }", "title": "" }, { "docid": "4e37f0d33cc7260c31d5ce6d44e03e8e", "score": "0.62815285", "text": "@FXML\r\n protected void fransGeklikt(){\r\n updateResourceBundle(\"frans\");\r\n }", "title": "" }, { "docid": "182bc3edecc88969706842c8151eee7e", "score": "0.625689", "text": "private void initLanguageXml(){\n\t\ttabs.add(txtLanguageXml, LocaleText.get(\"languageXml\"));\n\t\tFormUtil.maximizeWidget(txtLanguageXml);\n\t}", "title": "" }, { "docid": "55d07af92c57fafb00ca30bad65f5323", "score": "0.62441105", "text": "private String updateLanguage(){\n language = Paper.book().read(\"language\");\n if(language==null)\n Paper.book().write(\"language\", \"fa\");\n return language;\n }", "title": "" }, { "docid": "6fb9f433617164c5adae7e15ed1194b6", "score": "0.6237513", "text": "@FXML\r\n protected void engelsGeklikt(){\r\n updateResourceBundle(\"engels\");\r\n }", "title": "" }, { "docid": "cb6efc8c2677a25d67c173abf06d9f45", "score": "0.62244993", "text": "public void changeLanguage(String language) {\n LocaleHelper.setLocale(MainActivity.this, language);\n finish();\n startActivity(getIntent());\n }", "title": "" }, { "docid": "bf0329e2eb1f08e084709c997e0add5b", "score": "0.62186486", "text": "public void setLanguage(int value) {\n this.language = value;\n }", "title": "" }, { "docid": "d91b65413b7319c2ad9cdc505e33b060", "score": "0.621411", "text": "public void setLang() {\n new LanguageManager() {\n @Override\n public void engLanguage() {\n mTitle.setText(getString(R.string.drawer_item_about_eng));\n mAppTitle.setText(getString(R.string.nav_header_title_eng));\n mLink=getString(R.string.finance_link_ukr);\n mAbout.setText(getString(R.string.about_text_eng));\n }\n\n @Override\n public void ukrLanguage() {\n mTitle.setText(getString(R.string.drawer_item_about_ukr));\n mAppTitle.setText(getString(R.string.nav_header_title_ukr));\n mLink=getString(R.string.finance_link_ukr);\n mAbout.setText(getString(R.string.about_text_ukr));\n }\n\n @Override\n public void rusLanguage() {\n mTitle.setText(getString(R.string.drawer_item_about_rus));\n mAppTitle.setText(getString(R.string.nav_header_title_rus));\n mLink=getString(R.string.finance_link_rus);\n mAbout.setText(getString(R.string.about_text_rus));\n }\n };\n\n }", "title": "" }, { "docid": "d525dd6930b96e599c2f026aa53d6121", "score": "0.6179675", "text": "private void ChangeLanguage(String languageCode) {\n Context context = LocaleHelper.setLocale(getContext(), languageCode);\n Resources resources = context.getResources();\n\n tv_emailAddress.setText(resources.getString(R.string.EnteryourEmailAddressor));\n tv_mobileNo.setText(resources.getString(R.string.EnteryourMobileNumber));\n tv_txtentervalidEmail.setText(resources.getString(R.string.getdigitalpass));\n btnContinue.setText(resources.getString(R.string.Continue));\n btn_Home.setText(resources.getString(R.string.Home));\n btn_Info.setText(resources.getString(R.string.Info));\n btn_Back.setText(resources.getString(R.string.Back));\n tvrtaServiceTitle.setText(resources.getString(R.string.ContactDetails));\n tv_Seconds.setText(resources.getString(R.string.seconds));\n\n }", "title": "" }, { "docid": "cdfddb455296e5591c15d28d9ebdfbcf", "score": "0.6128351", "text": "public void chooseLanguage()\n {\n JFileChooser fc = new JFileChooser(Files.languageDirecory);\n int returnVal = fc.showOpenDialog(null);\n if (returnVal == JFileChooser.APPROVE_OPTION)\n chooseLanguage(fc.getSelectedFile());\n }", "title": "" }, { "docid": "788ba6439600637598cfb65661f0afab", "score": "0.6120682", "text": "public void setDefaultLanguage(String defaultLanguage)\n\t{\n\t\tthis.defaultLanguage = defaultLanguage;\n\t}", "title": "" }, { "docid": "9a322220519b05e0210d2c465640fad1", "score": "0.60861367", "text": "private void loadLocale() {\n String lang = Locale.getDefault().getLanguage();\n setLocale(lang);\n }", "title": "" }, { "docid": "8ae84dd67f77a8bf45f5cb727fbbb4d2", "score": "0.60853", "text": "private void getSelectedLanguage(){\n System.out.println(language);\n }", "title": "" }, { "docid": "8179aa9b20bc1cefaaa772d4c199e632", "score": "0.6074322", "text": "public void updateLanguage() {\n this.titleLabel.setText(LanguageStringMap.get().getMap().get(TITLE_KEY));\n this.msgLabel.setText(LanguageStringMap.get().getMap().get(MSG_KEY));\n this.getBox().getButtonTypes().clear();\n this.prepareBox();\n }", "title": "" }, { "docid": "b75845f6a92cff9f3c3f7688a24a2011", "score": "0.6072196", "text": "public void languageValueChanged(ValueChangeEvent languageChanged) \r\n\t{\t\t\r\n\t\tthis.setLanguage(languageChanged.getNewValue().toString());\r\n\t}", "title": "" }, { "docid": "7b783cff9f0a4773215d5afd7cb90c56", "score": "0.60699934", "text": "public void setLanguage(String language) {\n \tthis.language = language;\n }", "title": "" }, { "docid": "b39f4b9a86c1e6c356458ff4e9b70591", "score": "0.6053378", "text": "public void loadLocale() {\n String language = sharedPreferences.getString(Locale_KeyValue, \"\");\n changeLocale(language);\n }", "title": "" }, { "docid": "061625c666177d9d4046410fd992c93c", "score": "0.6034308", "text": "public void setLanguageData() {\n\n\n }", "title": "" }, { "docid": "096113b836304b8582922eb01df83be4", "score": "0.60108286", "text": "public static void setLanguage(Context context)//, boolean restart)\n {\n String lang = GlobalData.applicationLanguage;\n\n Locale appLocale;\n\n if (!lang.equals(\"system\"))\n {\n String[] langSplit = lang.split(\"-\");\n if (langSplit.length == 1)\n appLocale = new Locale(lang);\n else\n appLocale = new Locale(langSplit[0], langSplit[1]);\n }\n else\n {\n appLocale = Resources.getSystem().getConfiguration().locale;\n }\n\n Locale.setDefault(appLocale);\n Configuration appConfig = new Configuration();\n appConfig.locale = appLocale;\n context.getResources().updateConfiguration(appConfig, context.getResources().getDisplayMetrics());\n\n // collator for application locale sorting\n collator = getCollator();\n\n //languageChanged = restart;\n\n //GlobalData.getMeasuredRunTime(nanoTimeStart, \"GUIData.setLanguage\");\n\n }", "title": "" }, { "docid": "7aa5cea2d315276b2ec4636e62586f5d", "score": "0.600643", "text": "private void english(){\n\t\tmyDate.setText(\"Own date\");\n\t\ttoDay.setText(\"To day\");\n\t\tfileDate.setText(\"The date of the file\");\n\t\ttext.setText(\"Write our own date(YYYY-MM-DD):\");\n\t}", "title": "" }, { "docid": "b3cfbfa1deb3748c3bfabf3877227f07", "score": "0.5989487", "text": "public void setLanguage(Language newLanguage) throws IllegalArgumentException, IOException {\r\n if (Language.getUnavailableLanguages().contains(newLanguage)) throw new IllegalArgumentException(\"The given language '\" + newLanguage + \"' isn't available\");\r\n this.language = newLanguage;\r\n TaskAction.setLanguage(this.language);\r\n Trigger.setLanguage(this.language);\r\n When.setLanguage(this.language);\r\n this.configPropertiesManager.setProperty(\"Language\", this.language.name());\r\n try {\r\n this.i18nPropertiesManager.setLanguage(this.language);\r\n } catch (InvalidParameterException ipe) {\r\n throw new IOException(ipe.getMessage());\r\n }\r\n this.stage.setTitle(this.i18nPropertiesManager.readProperty(\"mainTitle\"));\r\n this.taskStage.setTitle(this.i18nPropertiesManager.readProperty(\"mainTitle\"));\r\n for (int i=0; i<this.trayIcon.getPopupMenu().getItemCount(); i++) {\r\n MenuItem item = this.trayIcon.getPopupMenu().getItem(i);\r\n if (!item.getLabel().equals(\"-\")) { //!Separator\r\n item.setLabel(this.i18nPropertiesManager.readProperty(item.getName()));\r\n }\r\n }\r\n \r\n }", "title": "" }, { "docid": "bfc2fd0350b5cec71d4cda965be409f4", "score": "0.5980598", "text": "public void setSelectedLanguage(int value)\n {\n selectedLanguage = value;\n }", "title": "" }, { "docid": "7afd9d6041aa781ba3bd39ac0ba1a1e1", "score": "0.59767264", "text": "void onLanguageChanged(LanguageChangedEvent event);", "title": "" }, { "docid": "18208a7a531d3cd76642d9b80f8d779a", "score": "0.5973807", "text": "@FXML\r\n private void setLangTitles () {\r\n if(LoginController.getLang().equals(\"English\")) {\r\n ResourceBundle rb = ResourceBundle.getBundle(\"resources/nat_en\");\r\n userLbl.setText(rb.getString(\"userLbl\"));\r\n currentUserLbl.setText(getCurrentUser());\r\n currentLangLbl.setText(rb.getString(\"currentLangLbl\"));\r\n langLbl.setText(rb.getString(\"langLbl\"));\r\n custUpdateScrBtn.setText(rb.getString(\"updateBtn\"));\r\n custAddScrBtn.setText(rb.getString(\"addBtn\"));\r\n custHomeScrBtn.setText(rb.getString(\"homeBtn\"));\r\n custOptionsLbl.setText(rb.getString(\"customerOptionsTitleLbl\"));\r\n appOptionsLbl.setText(rb.getString(\"appointmentOptionsTitleLbl\"));\r\n scheduleAppLbl.setText(rb.getString(\"scheduleAppHomeTitleLbl\"));\r\n appUpdateScrBtn.setText(rb.getString(\"updateBtn\"));\r\n appHomeScrBtn.setText(rb.getString(\"homeBtn\"));\r\n appAddScrBtn.setText(rb.getString(\"addBtn\"));\r\n exitBtn.setText(rb.getString(\"exitBtn\"));\r\n tableIDCol.setText(rb.getString(\"tableAppIdCol\"));\r\n tableTitleCol.setText(rb.getString(\"tableTitleCol\"));\r\n tableDescCol.setText(rb.getString(\"tableDescriptionCol\"));\r\n tableContactCol.setText(rb.getString(\"tableContactCol\"));\r\n tableCustomerCol.setText(rb.getString(\"tableCustomerIdCol\"));\r\n tableLocCol.setText(rb.getString(\"tableLocationCol\"));\r\n tableTypeCol.setText(rb.getString(\"tableTypeCol\"));\r\n tableStartCol.setText(rb.getString(\"tableStartTimeCol\"));\r\n tableEndCol.setText(rb.getString(\"tableEndTimeCol\"));\r\n tableDateCol.setText(rb.getString(\"dateLbl\"));\r\n monthRadioBtn.setText(rb.getString(\"homeMonthRadioBtn\"));\r\n weekRadioBtn.setText(rb.getString(\"homeWeekRadioBtn\"));\r\n getCustomerReportBtn.setText(rb.getString(\"getCustomerReportBtn\"));\r\n getContactReportBtn.setText(rb.getString(\"getContactReportBtn\"));\r\n getUserReportBtn.setText(rb.getString(\"getUserReportBtn\"));\r\n }\r\n else if (LoginController.getLang().equals(\"French\")) {\r\n ResourceBundle rb = ResourceBundle.getBundle(\"Resources/nat_fr\");\r\n userLbl.setText(rb.getString(\"userLbl\"));\r\n currentUserLbl.setText(getCurrentUser());\r\n currentLangLbl.setText(rb.getString(\"currentLangLbl\"));\r\n langLbl.setText(rb.getString(\"langLbl\"));\r\n custUpdateScrBtn.setText(rb.getString(\"updateBtn\"));\r\n custAddScrBtn.setText(rb.getString(\"addBtn\"));\r\n custHomeScrBtn.setText(rb.getString(\"homeBtn\"));\r\n custOptionsLbl.setText(rb.getString(\"customerOptionsTitleLbl\"));\r\n appOptionsLbl.setText(rb.getString(\"appointmentOptionsTitleLbl\"));\r\n scheduleAppLbl.setText(rb.getString(\"scheduleAppHomeTitleLbl\"));\r\n appUpdateScrBtn.setText(rb.getString(\"updateBtn\"));\r\n appHomeScrBtn.setText(rb.getString(\"homeBtn\"));\r\n appAddScrBtn.setText(rb.getString(\"addBtn\"));\r\n exitBtn.setText(rb.getString(\"exitBtn\"));\r\n tableIDCol.setText(rb.getString(\"tableAppIdCol\"));\r\n tableTitleCol.setText(rb.getString(\"tableTitleCol\"));\r\n tableDescCol.setText(rb.getString(\"tableDescriptionCol\"));\r\n tableContactCol.setText(rb.getString(\"tableContactCol\"));\r\n tableCustomerCol.setText(rb.getString(\"tableCustomerIdCol\"));\r\n tableLocCol.setText(rb.getString(\"tableLocationCol\"));\r\n tableTypeCol.setText(rb.getString(\"tableTypeCol\"));\r\n tableStartCol.setText(rb.getString(\"tableStartTimeCol\"));\r\n tableEndCol.setText(rb.getString(\"tableEndTimeCol\"));\r\n tableDateCol.setText(rb.getString(\"dateLbl\"));\r\n monthRadioBtn.setText(rb.getString(\"homeMonthRadioBtn\"));\r\n weekRadioBtn.setText(rb.getString(\"homeWeekRadioBtn\"));\r\n getCustomerReportBtn.setText(rb.getString(\"getCustomerReportBtn\"));\r\n getContactReportBtn.setText(rb.getString(\"getContactReportBtn\"));\r\n getUserReportBtn.setText(rb.getString(\"getUserReportBtn\"));\r\n }\r\n }", "title": "" }, { "docid": "b325eab3df93021e9e063783232afbc9", "score": "0.59661794", "text": "@Override\n public void setLocale(Locale l) {\n super.setLocale(l);\n bundle = java.util.ResourceBundle.getBundle(\"surruit.leditor/idioma\", l);\n setTitle(bundle.getString(\"APP_NOMBRE\"));\n \n //en el primer arranque se llama antes a esta funcion que al constructor (supongo que en el constructor padre)\n if (laminaBotones != null) laminaBotones.setLocale(l);\n if (laminaInfo != null) laminaInfo.setLocale(l);\n }", "title": "" }, { "docid": "f8ffdbddcd24adbc69f15eaac4c07526", "score": "0.5963287", "text": "@FXML\r\n protected void nederlandsGeklikt(){\r\n updateResourceBundle(\"nederlands\");\r\n }", "title": "" }, { "docid": "8775615cf75a1b03fd73d6b2931af0f4", "score": "0.595851", "text": "private int setLanguage(int i) {\n try {\n if (Constant.LOG_TAG) {\n Log.i(TAG,\n \"setLanguage---->\" + i + \"time --->\"\n + System.currentTimeMillis());\n }\n IActivityManager am = ActivityManagerNative.getDefault();\n Configuration config = am.getConfiguration();\n switch (i) {\n case 0:\n config.locale = Locale.SIMPLIFIED_CHINESE;\n break;\n case 1:\n config.locale = Locale.US;\n break;\n default:\n break;\n }\n\t\t\t\n\t\t\tIntent intent = new Intent(Intent.ACTION_LOCALE_CHANGED);\n\t\t\tintent.setFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);\n mContext.sendBroadcast(intent);\n\t\t\t\n am.updateConfiguration(config);\n Log.i(TAG,\n \"setLanguage---->over\" + i + \"time --->\"\n + System.currentTimeMillis());\n SharedPreferences preferences = mContext.getSharedPreferences(\n Constant.SET_LACOLE, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = preferences.edit();\n editor.putLong(Constant.RESET_LACOLE, System.currentTimeMillis());\n editor.commit();\n \n \n } catch (RemoteException e) {\n e.printStackTrace();\n return 0;\n }\n return 1;\n }", "title": "" }, { "docid": "fa80bfc0267e5da3227943d4594c6626", "score": "0.5952978", "text": "void setLocale(Locale locale);", "title": "" }, { "docid": "f8adea831817acee5278e339883e5974", "score": "0.59273636", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic void chooseLanguage() {\n //cl.setTitle(\"Language\");\n cl.setSize(250, 100);\n \n \n JLabel question = new JLabel(\"Choose the language:\");\n String comboBoxList[] = {\"German (Deutsch)\", \"English (English)\", \"More to come\"};\n \n for (int i = 0; i < comboBoxList.length; i++) {\n \tchooseLanguageBox.addItem(comboBoxList[i]);\t\n }\n\t\t\n panel.add(question);\n panel.add(chooseLanguageBox);\n panel.add(button0);\n button0.addActionListener(this);\n chooseLanguageBox.addActionListener(this);\n \n cl.add(panel);\n cl.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n cl.setVisible(true);\n\t}", "title": "" }, { "docid": "b2282420d41eed08d37c26f337c9b43f", "score": "0.5924365", "text": "public abstract void ukrLanguage();", "title": "" }, { "docid": "cf2147b598cc56bc4af1ae415fc9f6cd", "score": "0.59242034", "text": "void setLang(java.lang.String lang);", "title": "" }, { "docid": "11a1aefd533926a15dd0a71574552180", "score": "0.591433", "text": "public java.lang.String getClientLanguage(){\n return localClientLanguage;\n }", "title": "" }, { "docid": "11a1aefd533926a15dd0a71574552180", "score": "0.591433", "text": "public java.lang.String getClientLanguage(){\n return localClientLanguage;\n }", "title": "" }, { "docid": "0c18f9da2c52a0165cb0f9e242d2c0fd", "score": "0.59053475", "text": "private void selectLanguageTab(){\n\t\tif(showLanguageXml)\n\t\t\ttabs.selectTab(SELECTED_INDEX_LANGUAGE_XML);\n\t}", "title": "" }, { "docid": "bee0e9392ee0a5e8a16b4dbe95f7ca9b", "score": "0.5904907", "text": "public void testLocaleSwitching() {\n assertEquals(\"en\", LocalizationUtil.INSTANCE.getDEFAULT_LOCALE().getLanguage());\n\n // Check that current locale is the default\n assertEquals(LocalizationUtil.INSTANCE.getDEFAULT_LOCALE(), getCurrentLocale());\n\n switchLocale(LocalizationUtil.INSTANCE.getLOCALE_EN());\n assertEquals(LocalizationUtil.INSTANCE.getLOCALE_EN(), getCurrentLocale());\n\n switchLocale(LocalizationUtil.INSTANCE.getLOCALE_FI());\n assertEquals(LocalizationUtil.INSTANCE.getLOCALE_FI(), getCurrentLocale());\n\n switchLocale(LocalizationUtil.INSTANCE.getLOCALE_EN());\n assertEquals(LocalizationUtil.INSTANCE.getLOCALE_EN(), getCurrentLocale());\n }", "title": "" }, { "docid": "76a4a128603c4a8c4f85be34e8a74a00", "score": "0.59037185", "text": "void setXMLLang(String languageCode);", "title": "" }, { "docid": "946cff11b82f8dd33e75b10f0365371e", "score": "0.5896224", "text": "@FXML\n\tprivate void selectLanguageAction(ActionEvent event) throws IOException {\n\t\tMenuItem item = (MenuItem) event.getSource();\n\t\tif (item.equals(menuLanguagePolish)) {\n\t\t\tLOG.debug(\"Language > Polish\");\n\t\t\tLocale.setDefault(Locale.forLanguageTag(\"PL\"));\n\t\t\tmenuLanguageEnglish.setDisable(false);\n\t\t\tmenuLanguagePolish.setDisable(true);\n\t\t} else {\n\t\t\tLOG.debug(\"Language > English\");\n\t\t\tLocale.setDefault(Locale.forLanguageTag(\"EN\"));\n\t\t\tmenuLanguageEnglish.setDisable(true);\n\t\t\tmenuLanguagePolish.setDisable(false);\n\t\t}\n\t\twindow.getScene().setRoot(FXMLLoader.load(getClass().getResource(Startup.FXMLFILE),\n\t\t\t\tResourceBundle.getBundle(Startup.BUNDLEFILE)));\n\t}", "title": "" }, { "docid": "be5cb295182e3a130303cfe2121dff84", "score": "0.58955836", "text": "public void setUserLang(String aUserLang) {\n\t\tuserLang = aUserLang;\n\t}", "title": "" }, { "docid": "c20959edb44ba03bf8da5e3fed293eb8", "score": "0.58930266", "text": "SwitchedLanguage createSwitchedLanguage();", "title": "" }, { "docid": "82fb38896acd2e8c8c777d0586fb0446", "score": "0.58883584", "text": "@Override\r\n\tpublic void setLang(String lang) {\n\t\t\r\n\t}", "title": "" }, { "docid": "01858509cd5df332c3c6c2c1a1067942", "score": "0.5874236", "text": "private void checkLoginSceneLanguage() {\n Locale currentLocale = Locale.getDefault();\n if(currentLocale.getCountry().equals(\"FR\")) {\n companyLabel.setText(\"ABC Système de Planification\");\n titleLabel.setText(\"Connexion Système\");\n instructionLabel.setText(\"Veuillez entrer votre nom d'utilisateur \"\n + \"et votre mot de passe ci-dessous:\");\n usernameLabel.setText(\"Nom d'Utilisateur:\");\n passwordLabel.setText(\"Mot de Passe:\");\n errorLabel.setText(\"Le nom d'utilisateur et le mot de passe que \" +\n \"vous avez entrés ne correspondent pas à nos \" +\n \"enregistrements. Veuillez réessayer.\");\n button.setText(\"S'identifier\");\n } else if(currentLocale.getCountry().equals(\"ES\")) {\n companyLabel.setText(\"ABC Sistema de Programación\");\n titleLabel.setText(\"Sistema de Inicio de Sesión\");\n instructionLabel.setText(\"Por favor ingrese su nombre de usuario y\"\n + \" contraseña en la parte de abajo:\");\n usernameLabel.setText(\"Nombre de Usuario:\");\n passwordLabel.setText(\"Contraseña:\");\n errorLabel.setText(\"El nombre de usuario y la contraseña que ingresó\"\n + \" no coinciden con nuestros registros. Inténtalo de nuevo.\");\n button.setText(\"Iniciar Sesión\");\n\n } else {\n companyLabel.setText(\"ABC Scheduling System\");\n titleLabel.setText(\"System Login\");\n instructionLabel.setText(\"Please enter your username and password below\");\n usernameLabel.setText(\"Username:\");\n passwordLabel.setText(\"Password:\");\n errorLabel.setText(\"The user name and password you entered does \" +\n \"not match our records. Please try again.\");\n button.setText(\"Log In\");\n }\n }", "title": "" }, { "docid": "cbfced4f1cef78fb79c6bbd6eaba8771", "score": "0.5867691", "text": "public void writeSelectedLanguage(String language) {\n sharedPreferences.edit().putString(\"LANGUAGE\", language).apply();\n }", "title": "" }, { "docid": "1708ec024cbe605edbb3ccc66d7e040d", "score": "0.585291", "text": "@Override\r\n public void onClick(View v) {\n Locale locale = new Locale(\"en\");\r\n Locale.setDefault(locale);\r\n // Create a new configuration object\r\n Configuration config = new Configuration();\r\n // Set the locale of the new configuration\r\n config.locale = locale;\r\n // Update the configuration of the Application context\r\n getResources().updateConfiguration(\r\n config,\r\n getResources().getDisplayMetrics()\r\n );\r\n setContentView(R.layout.activity_main);\r\n }", "title": "" }, { "docid": "25d9e8e9c9c8e53815373ab3d0ee3da5", "score": "0.5850168", "text": "public void setLanguage(String value) {\n setAttributeInternal(LANGUAGE, value);\n }", "title": "" }, { "docid": "dcb247dd20dedfb95d82624f53ad3527", "score": "0.5837558", "text": "public String getDefaultLang();", "title": "" }, { "docid": "dcb247dd20dedfb95d82624f53ad3527", "score": "0.5837558", "text": "public String getDefaultLang();", "title": "" }, { "docid": "08f67468cc18a6c33a283a724a8d074c", "score": "0.58355415", "text": "public void CambiaLingua(View v) {\n Configuration c = new Configuration(getResources().getConfiguration());\n switch (lingua) {\n case \"it\":\n lingua = \"en\";\n c.locale = Locale.US;\n break;\n case \"en\":\n lingua = \"it\";\n c.locale = Locale.ITALIAN;\n break;\n default:\n break;\n }\n\n getResources().updateConfiguration(c, getResources().getDisplayMetrics());\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\n startActivity(i);\n finish();\n }", "title": "" }, { "docid": "dea8046381edba63c222f7b16256091f", "score": "0.58255726", "text": "public void setLocale(Locale locale);", "title": "" }, { "docid": "dea8046381edba63c222f7b16256091f", "score": "0.58255726", "text": "public void setLocale(Locale locale);", "title": "" }, { "docid": "91350883fbca5a0c6cec54b1217088da", "score": "0.58219284", "text": "void setLocaleSpecificText(String text);", "title": "" }, { "docid": "00f80f3a0f3152ef5b888e9b9330a2a9", "score": "0.58188504", "text": "public void changeLocale(@Observes Locale locale) {\r\n\t\tif(tag != null) {\r\n\t\t\trefreshDemosMenuModel(locale);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9aef74071dba104547171c5d7b9f940f", "score": "0.5815727", "text": "public void setLocale(Locale locale) {\n fLocale = locale;\n }", "title": "" }, { "docid": "cf49c724ce4df7ed395066bac4dc6f27", "score": "0.58117026", "text": "public void setLanguageDescription(java.lang.String param){\n localLanguageDescriptionTracker = true;\n \n this.localLanguageDescription=param;\n \n\n }", "title": "" }, { "docid": "3b320ebe9f1c20ec5e99e23163929894", "score": "0.5802654", "text": "public static void setLanguage(String language) {\n\t\tcurrentLanguage = language;\n\t\ttry {\n\t\t\tloadCurrentLanguage();\n\t\t} catch (MalformedURLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tLOGGER.info(\"Current language is \" + language);\n\t}", "title": "" }, { "docid": "ba874c20624d98c1f21506b33498fd45", "score": "0.58011854", "text": "public void initLanguage( String language ) {\n if( language.equals(\"es\")\n || language.equals(\"fr\")\n || language.equals(\"en\") ) \n {\n ResourceBundle rb = ResourceBundle.getBundle(\"Resource/Nat_\" + language);\n setLanguageResource( rb );\n \n }\n }", "title": "" }, { "docid": "99e456853b6fd2f18407841e7d18230d", "score": "0.57696754", "text": "void xsetLang(org.apache.xmlbeans.XmlLanguage lang);", "title": "" }, { "docid": "02af95149a2c5fa1a3d5d1461968bf27", "score": "0.5764026", "text": "private void setLanguage( String sLanguage ) {\n\t\tm_sLanguage = sLanguage;\n\t\tm_sLanguageDir = Settings.get( Settings.GATE_DIR ) + m_sLanguage + \"/\"; \n\t\tif( m_sLanguage.equals( Settings.GERMAN ) ) {\n\t\t\tm_sEncoding = \"ISO-8859-1\";\n\t\t}\n\t\telse {\n\t\t\tm_sEncoding = m_sEncoding;\n\t\t}\n\t}", "title": "" }, { "docid": "a74b2168caceb79997582d116e12f261", "score": "0.5760953", "text": "private void initializeMenuLanguage() {\n\t\tif (Locale.getDefault().equals(Locale.forLanguageTag(\"PL\"))) {\n\t\t\tmenuLanguagePolish.setDisable(true);\n\t\t} else {\n\t\t\tmenuLanguageEnglish.setDisable(true);\n\t\t}\n\t}", "title": "" }, { "docid": "65ee4916bafee088fd3867fee5f80e84", "score": "0.5747603", "text": "public void chooseLanguage(File file)\n {\n if (retrieveWords(file))\n rp.getSettings().setLanguage(file.getName());\n }", "title": "" }, { "docid": "c1d2ea6b548743f832c78ead1f9ce385", "score": "0.57432026", "text": "private void getLanguage() {\n LANGUAGE = Locale.getDefault().toString();\n if (LANGUAGE.equals(\"in_ID\")) {\n LANGUAGE = \"id_ID\";\n }\n }", "title": "" }, { "docid": "f607f9de54aa675fed73f7559445cd5d", "score": "0.574055", "text": "private void updateLocaleConfiguration() {\n Locale locale;\n if (Preferences.useKlingonUI(getBaseContext())) {\n locale = new Locale(\"tlh\", \"CAN\");\n } else {\n locale = KlingonAssistant.getSystemLocale();\n }\n Configuration configuration = getBaseContext().getResources().getConfiguration();\n configuration.locale = locale;\n getBaseContext()\n .getResources()\n .updateConfiguration(configuration, getBaseContext().getResources().getDisplayMetrics());\n }", "title": "" }, { "docid": "50ec157d2ea59282e3ef3f2df7b154cf", "score": "0.573737", "text": "private void updateForSpaceBarLanguageSwitch() {\n mNeedsToDisplayLanguage = !(getEnabledKeyboardLocaleCount() <= 1\n && getSystemLocale().getLanguage().equalsIgnoreCase(\n getInputLocale().getLanguage()));\n }", "title": "" }, { "docid": "579746ca23d920570c404073113de29b", "score": "0.5726094", "text": "public void setLanguage(Lang language){\n\t\t\n\t\tif(this.language.equals(language))\n\t\t\treturn;\n\t\tthis.language=language;\n\t\tif(language==Lang.IT){\n\t\t\tvisual.setText(\"Visualizza\");\n\t\t\tmnPriorit.setText(\"Filtra per priorità\");\n\t\t\tmnData.setText(\"Filtra per data\");\n\t\t}\n\t\telse if(language==Lang.EN){\n\t\t\t\n\t\t\tvisual.setText(\"Show\");\n\t\t\tmnPriorit.setText(\"Filter by priority\");\n\t\t\tmnData.setText(\"Filter by date\");\n\t\t}\n\t\telse if(language==Lang.ES){\n\t\t\t\n\t\t\tvisual.setText(\"Ve\");\n\t\t\tmnPriorit.setText(\"Filtra por prioridad\");\n\t\t\tmnData.setText(\"Filtra por fecha\");\n\t\t}\n\t\telse if(language==Lang.DE){\n\t\t\tvisual.setText(\"Gesieh\");\n\t\t\tmnPriorit.setText(\"Durchdringen für priorität\");\n\t\t\tmnData.setText(\"Durchdringen für zeitpunkt\");\n\t\t\t\n\t\t}\n\t\tComponent[] mempanels=dynamic.getComponents();\n\t\tfor(int i=0;i<mempanels.length;i++){\n\t\t\tif(mempanels[i] instanceof MemPanel){\n\t\t\t\tMemPanel mp=(MemPanel)mempanels[i];\n\t\t\t\tmp.setLanguage(language);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "752264d46553a8c53837ae6a44caf632", "score": "0.57147926", "text": "public LocalizableAction getEnLanguage() {\n\t\tLocalizableAction result = new LocalizableAction(\"en\", flp) {\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tLocalizationProvider.getInstance().setLanguage(\"en\");\n\t\t\t}\n\t\t};\n\n\t\treturn result;\n\t}", "title": "" }, { "docid": "f190e445fb2a4df60ad0f43e87035c0d", "score": "0.57075834", "text": "public void setShowLang(boolean value) {\n this.showLang = value;\n }", "title": "" }, { "docid": "065306f73dc7b3990f5ef9b11eccdcd8", "score": "0.5687245", "text": "public void loadLanguages()\n\t{\n\t\tif (languages.size() == 0 || !languages.keySet().contains(\"Français\"))\n\t\t\tlanguages.setProperty(\"French\", \"fr_FR\");\n\t\t\t\n\t}", "title": "" }, { "docid": "e3c00d5006bc3abec5fdbcd6b3749c34", "score": "0.5665699", "text": "protected void handleLanguageMenuButton(Component component) {\n LanguageMenuButton data = (LanguageMenuButton) component;\n target.setLanguage(data.getLanguage().split(\"\\\\|\")[1]);\n }", "title": "" }, { "docid": "36c06d076daef591419b08a749435fb5", "score": "0.56453204", "text": "@Accessor(qualifier = \"language\", type = Accessor.Type.SETTER)\n\tpublic void setLanguage(final LanguageModel value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(LANGUAGE, value);\n\t}", "title": "" }, { "docid": "65956376ba8cf54904f1eacab2442d24", "score": "0.5638159", "text": "public void setLanguage(String language, File contextFile) {\n account.setLanguage(language, contextFile, accountDataRepositoryInterface);\n }", "title": "" }, { "docid": "82d06dedad19ec4f742b02117b8a79d3", "score": "0.5633889", "text": "public abstract void rusLanguage();", "title": "" }, { "docid": "867311088d5923c5032cb7902ead8fec", "score": "0.56305426", "text": "public void setLanguage(String strIdiom)\n {\n \t Locale locale; \n \t locale = new Locale(strIdiom);\n \t Locale.setDefault(locale);\n \t \n \t Configuration conf = new Configuration(); // Configuration Object\n \t conf.locale = locale;\n \t ctx.getApplicationContext().getResources().updateConfiguration(conf, null);\n \t strCurrentLanguage = ctx.getResources().getConfiguration().locale.getDisplayName();\n \t \n \t conf = null;\n \t locale = null;\n }", "title": "" }, { "docid": "457af78fc67940af9639276943bbff24", "score": "0.56164414", "text": "public void saveLocale(String lang) {\n editor.putString(Locale_KeyValue, lang);\n editor.commit();\n }", "title": "" }, { "docid": "35bed5fbd24360df21fd58c4d87f6ef6", "score": "0.5610541", "text": "public void setLanguage(String language) {\n this.mLanguage = language;\n }", "title": "" }, { "docid": "9467929a823ec4e4bf98a91646348448", "score": "0.56011826", "text": "public void setUserLocale(Locale locale) throws UnauthorizedException;", "title": "" }, { "docid": "43f62679f5be3d85cdbd1261e3361015", "score": "0.55921257", "text": "Language getENGLISH();", "title": "" }, { "docid": "78ca92e049cfe2bac848a3efce1e9df1", "score": "0.55850244", "text": "public void notifierNaviguerMenuCulture()\n {\n this.vueMenuCulture.initialiserMenuCulture();\n this.navigateur.naviguerVersMenuCulture();\n }", "title": "" }, { "docid": "6c51b4e5d47e29c36e53f75521a2dfcf", "score": "0.5576676", "text": "public static void changeLangue() throws InterruptedException {\n Thread.sleep(1000);\n\n// Go to the flag and click in.\n driver.findElement(By.cssSelector(\"#icp-nav-flyout > span > span.nav-line-1 > span\")).click();\n\n// Wait 1000ms.\n Thread.sleep(1000);\n\n driver.findElement(By.cssSelector(\"#customer-preferences > div > div > form > div.a-row > div.a-column.a-span7 > div:nth-child(8) > div > label > i\")).click();\n\n Thread.sleep(1000);\n\n driver.findElement(By.className(\"a-button-input\")).click();\n\n }", "title": "" } ]
3620c5f91633ae4d7053bf6c11aae865
Function to merge two linked lists
[ { "docid": "c9f2694ee82c2c9a2b239ed349e1dfaa", "score": "0.7086205", "text": "protected Node merge(Node first, Node second) {\n // If first linked list is empty\n if (first == null) {\n return second;\n }\n\n // If second linked list is empty\n if (second == null) {\n return first;\n }\n\n // Pick the smaller value\n if ( first.data < second.data ) {\n first.next = merge(first.next, second);\n first.next.prev = first;\n first.prev = null;\n return first;\n } else {\n second.next = merge(first, second.next);\n second.next.prev = second;\n second.prev = null;\n return second;\n }\n }", "title": "" } ]
[ { "docid": "42e8eb94fd4a0dd40e01ae85f7e4774d", "score": "0.839838", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2);", "title": "" }, { "docid": "d7d811530c8340bdb9b455a87269d183", "score": "0.79677486", "text": "private static HeapNode mergeNodeLists(HeapNode first, HeapNode second){\n\t\tif ( first == null && second == null){\n\t\t\treturn null;\n\t\t}\n\t\tif (first == null){\n\t\t\treturn second;\n\t\t}\n\t\tif (second == null){\n\t\t\treturn first;\n\t\t}\n\t\t//links the lists to form a circular DLL\n\t\t\n\t\t\n\t\tHeapNode tmp = first.getPrev();\n\t\tfirst.setPrev(second.getPrev());\n\t\tsecond.getPrev().setNext(first);\n\t\tsecond.setPrev(tmp);\n\t\tsecond.getPrev().setNext(second);\n\t\treturn first;\n\t}", "title": "" }, { "docid": "6ae85061b0a736672fd71aeb753edcaf", "score": "0.7664717", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2) {\n ListNode dummy = new ListNode(0);\n ListNode curr = dummy;\n while(l1!=null && l2!=null){\n if(l1.val < l2.val){\n curr.next = l1;\n l1 = l1.next;\n }else{\n curr.next = l2;\n l2 = l2.next;\n }\n curr = curr.next;\n }\n if(l1 != null){\n curr.next = l1;\n }\n if(l2 != null){\n curr.next = l2;\n }\n return dummy.next;\n }", "title": "" }, { "docid": "82f2108ac32bbc6c036fefabf8c4d7fb", "score": "0.7652515", "text": "private ListNode mergeTwoList(ListNode a, ListNode b) {\n if (a == null) return b;\n if (b == null) return a;\n\n ListNode result;\n ListNode aDown = a.down;\n ListNode bDown = b.down;\n\n if (a.value < b.value) {\n result = a;\n a.down = mergeTwoList(aDown, b);\n } else {\n result = b;\n b.down = mergeTwoList(a, bDown);\n }\n return result;\n }", "title": "" }, { "docid": "0e9b044300cd5403fe6f7ca8cd403550", "score": "0.7589896", "text": "public static ListNode mergeTwoLists(ListNode l1, ListNode l2) {\n if(l1 == null) return l2;\n if(l2 == null) return l1;\n ListNode startM;\n /* find out the start node of new list*/\n if(l1.val <= l2.val) {\n startM = new ListNode(l1.val);\n l1 = l1.next;\n } else {\n startM = new ListNode(l2.val);\n l2 = l2.next;\n }\n\n ListNode pM = startM;\n\n while(l1 != null && l2 != null) {\n if(l1.val <= l2.val) {\n pM.next = new ListNode(l1.val);\n l1 = l1.next;\n } else {\n pM.next = new ListNode(l2.val);\n l2 = l2.next;\n }\n pM = pM.next;\n }\n\n /*If second list is finished and elements left in the first list*/\n while(l1 != null) {\n pM.next = new ListNode(l1.val);\n l1 = l1.next;\n pM = pM.next;\n }\n /*If first list is finished and elements left in the second list*/\n while(l2 != null) {\n pM.next = new ListNode(l2.val);\n l2 = l2.next;\n pM = pM.next;\n }\n return startM;\n }", "title": "" }, { "docid": "fb0f0053038bdea8fa1bd773a73aae66", "score": "0.7576888", "text": "private static Node mergeLinkedList(Node node1, Node node2) {\n\n\t\n\t\t\n\t\t if(node1 == null)\n\t\t return node2;\n\t\t else if(node2 == null)\n\t\t return node1;\n\n\t\t Node head;\n\t\t if(node1.data < node2.data)\n\t\t {\n\t\t head = node1;\n\t\t node1 = node1.nextNode;\n\t\t }\n\t\t else\n\t\t {\n\t\t head = node2;\n\t\t node2 = node2.nextNode;\n\t\t }\n\n\t\t Node current = head;\n\t\t while((node1 != null) ||( node2 != null))\n\t\t {\n\t\t if(node1 == null) {\n\t\t current.nextNode = node2;\n\t\t return head;\n\t\t }\n\t\t else if (node2 == null) {\n\t\t current.nextNode = node1;\n\t\t return head;\n\t\t }\n\n\t\t if(node1.data < node2.data)\n\t\t {\n\t\t current.nextNode = node1;\n\t\t current = current.nextNode;\n\n\t\t node1 = node1.nextNode;\n\t\t }\n\t\t else\n\t\t {\n\t\t current.nextNode = node2;\n\t\t current = current.nextNode;\n\n\t\t node2 = node2.nextNode;\n\t\t }\n\t\t }\n\t\t current.nextNode = null ; // needed to complete the tail of the merged list\n\t\t return head;\n\n\t\t}", "title": "" }, { "docid": "0d3fd5f0a3e5a66158190027901bfe33", "score": "0.756092", "text": "private PartitionLinkedList.ListNode mergeTwoLists( PartitionLinkedList.ListNode l1, PartitionLinkedList.ListNode l2 ) {\n\n PartitionLinkedList.ListNode temp = new PartitionLinkedList.ListNode(0);\n\n PartitionLinkedList.ListNode tail = temp;\n\n while (l1 != null && l2 != null) {\n\n if (l1.val < l2.val) {\n tail.next = l1;\n tail = l1;\n l1 = l1.next;\n } else {\n tail.next = l2;\n tail = l2;\n l2 = l2.next;\n }\n\n }\n\n if (l1 == null && l2 != null) {\n while (l2 != null) {\n tail.next = l2;\n tail = l2;\n l2 = l2.next;\n }\n } else if (l1 != null) {\n while (l1 != null) {\n tail.next = l1;\n tail = l1;\n l1 = l1.next;\n }\n }\n\n temp = temp.next;\n return temp;\n }", "title": "" }, { "docid": "f076db2bc077cddeedfa43ab47046806", "score": "0.7537065", "text": "public static DoublyLinkedList<Integer> merge(DoublyLinkedList<Integer> listA, DoublyLinkedList<Integer> listB){\n DoublyLinkedList<Integer> out = new DoublyLinkedList<>();\n while(listA.size() >0 && listB.size() > 0) {\n if(listA.get(0) > listB.size()) {\n out.add(listA.get(0));\n listA.remove(0);\n } else {\n out.add(listB.get(0));\n listB.remove(0);\n }\n }\n while(listA.size() != 0) {\n out.add(listA.remove(0));\n }\n while(listB.size() != 0) {\n out.add(listB.remove(0));\n }\n\n\n return out;\n }", "title": "" }, { "docid": "c2345254af712334e2c6c12844e502da", "score": "0.7503274", "text": "public ListNode mergeTwoLists_21(ListNode list1, ListNode list2) {\n ListNode dummny = new ListNode(-1);\n\n ListNode cur = dummny;\n while (list1 != null && list2 != null) {\n if (list1.val <= list2.val) {\n cur.next = list1;\n list1 = list1.next;\n } else {\n cur.next = list2;\n list2 = list2.next;\n }\n cur = cur.next;\n }\n\n // At least one of list1 and list2 can still have nodes at this point, so connect\n // the non-null list to the end of the merged list.\n cur.next = list1 == null ? list2 : list1;\n\n return dummny.next;\n }", "title": "" }, { "docid": "fa4a908e2a823a455acfa6ad8950942f", "score": "0.7503184", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2) {\r\n\r\n if (l1 == null && l2 == null) {\r\n return null;\r\n }\r\n\r\n if (l1 == null) {\r\n return l2;\r\n }\r\n\r\n if (l2 == null) {\r\n return l1;\r\n }\r\n\r\n ListNode res = new ListNode();\r\n\r\n if (l1.val < l2.val) {\r\n res.val = l1.val;\r\n res.next = mergeTwoLists(l1.next, l2);\r\n } else {\r\n res.val = l2.val;\r\n res.next = mergeTwoLists(l2.next, l1);\r\n }\r\n\r\n return res;\r\n\r\n }", "title": "" }, { "docid": "bf33510bd0760d498c0c91ecc88c0a6a", "score": "0.74152374", "text": "public ListNode merge(ListNode n1, ListNode n2){\n ListNode dummy = new ListNode(0);\n ListNode cur = dummy;//use cur to traverse and link\n while(n1!= null && n2!= null){//want to determine which one is larger, don't use .next != null\n cur.next = n1;\n n1 = n1.next;\n cur.next.next = n2;\n n2 = n2.next;\n cur = cur.next.next;\n }\n if(n1 != null){\n cur.next = n1;\n }else{\n cur.next = n2;\n }\n return dummy.next;\n }", "title": "" }, { "docid": "1382fbaa4a7e96176245fc13d9947203", "score": "0.741", "text": "private ListNode merge(ListNode one, ListNode two) {\n ListNode dummyHead = new ListNode(0);\n ListNode curr = dummyHead;\n\n while (one != null && two != null) {\n if (one.value <= two.value) {\n curr.next = one;\n one = one.next;\n } else {\n curr.next = two;\n two = two.next;\n }\n curr = curr.next;\n }\n\n // post-processing\n if (one != null) {\n curr.next = one;\n } else {\n curr.next = two;\n }\n return dummyHead.next;\n }", "title": "" }, { "docid": "43797b8a7f2afa5fe8a9bde50c02924a", "score": "0.7406323", "text": "public static ListNode merge(ListNode l1, ListNode l2) {\n if (l1 == null) return l2;\n if (l2 == null) return l1;\n if (l1.val < l2.val) {\n l1.next = merge(l1.next, l2);\n return l1;\n } else {\n l2.next = merge(l1, l2.next);\n return l2;\n }\n }", "title": "" }, { "docid": "376dcb21ea6acacc3db2c7bdf9f88f6b", "score": "0.7367314", "text": "public static Node mergeTwoLists(Node l1, Node l2){\n\t\t\n\t\tNode head = new Node(0);\n\t\tNode p = head;\n\t\twhile(l1 != null && l2 != null){\n\t\t\tif(l1.data < l2.data){\n\t\t\t\tp.next = l1;\n\t\t\t\tl1 = l1.next;\n\t\t\t} else{\n\t\t\t\tp.next = l2;\n\t\t\t\tl2 = l2.next;\n\t\t\t}\n\t\t\tp = p.next;\n\t\t}\n\t\tif(l1 != null) p.next = l1;\n\t\tif(l2 != null) p.next = l2;\n\t\t\n\t\treturn head.next;\n\t}", "title": "" }, { "docid": "58d2480824313698cc4180665c62bfba", "score": "0.7337588", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2) { \n ListNode c1=l1;\n ListNode c2=l2;\n ListNode head=new ListNode(-1);\n ListNode pre=head;\n while(c1!=null&&c2!=null){\n if(c1.val>c2.val){\n pre.next=c2;\n pre=pre.next;\n c2=c2.next;\n }\n else{\n pre.next=c1;\n pre=pre.next;\n c1=c1.next;\n }\n \n }\n if(c1==null){\n pre.next=c2;\n }\n else{\n pre.next=c1;\n }\n return head.next;\n }", "title": "" }, { "docid": "3ae59a0adecf457c57c8092676d550d2", "score": "0.73132336", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2) {\n if (l1 == null && l2 == null) {\n return null;\n } else if (l1 == null) {\n return l2;\n } else if (l2 == null) {\n return l1;\n }\n\n if (l1.val <= l2.val) {\n l1.next = this.mergeTwoLists(l1.next, l2);\n return l1;\n } else {\n l2.next = this.mergeTwoLists(l1, l2.next);\n return l2;\n }\n\n }", "title": "" }, { "docid": "ab558bf154f1c4849d1797ae4c1880d8", "score": "0.72793716", "text": "static Node mergeLists(Node headA, Node headB) {\n\t\tNode newNode = new Node();\r\n\t\twhile (headA != null && headB != null) {\r\n\t\t\tNode temp = newNode;\r\n\t\t\twhile (temp.next != null) {\r\n\t\t\t\ttemp = temp.next;\r\n\t\t\t}\r\n\t\t\tif (headA.data > headB.data) {\r\n\t\t\t\ttemp.data = headB.data;\r\n\t\t\t\ttemp.next = new Node();\r\n\t\t\t\theadB = headB.next;\r\n\t\t\t} else {\r\n\t\t\t\ttemp.data = headA.data;\r\n\t\t\t\ttemp.next = new Node();\r\n\t\t\t\theadA = headA.next;\r\n\t\t\t}\r\n\t\t}\r\n\t\twhile (headA != null) {\r\n\t\t\tNode temp = newNode;\r\n\t\t\twhile (temp.next != null) {\r\n\t\t\t\ttemp = temp.next;\r\n\t\t\t}\r\n\t\t\ttemp.data = headA.data;\r\n\t\t\tif (headA.next != null) {\r\n\t\t\t\ttemp.next = new Node();\r\n\t\t\t}\r\n\t\t\theadA = headA.next;\r\n\t\t}\r\n\t\twhile (headB != null) {\r\n\t\t\tNode temp = newNode;\r\n\t\t\twhile (temp.next != null) {\r\n\t\t\t\ttemp = temp.next;\r\n\t\t\t}\r\n\t\t\ttemp.data = headB.data;\r\n\t\t\tif (headB.next != null) {\r\n\t\t\t\ttemp.next = new Node();\r\n\t\t\t}\r\n\t\t\theadB = headB.next;\r\n\t\t}\r\n\t\treturn newNode;\r\n\t}", "title": "" }, { "docid": "33e9fc7691ecc29a43dbaed698e2b275", "score": "0.7201816", "text": "LinkedList concat(LinkedList otherList);", "title": "" }, { "docid": "d1ce865e9b463d48b65a43764081d323", "score": "0.71651417", "text": "private static <K extends Comparable> LinkedList<K> merge2SortedListsInEfficientSolution(Node<K> list1, Node<K> list2) {\n LinkedList<K> sortedMergedList = new LinkedList<>();\n Node<K> pointer1 = list1;\n Node<K> pointer2 = list2;\n\n while (pointer1 != null && pointer2 != null){\n if(pointer1.getItem().compareTo(pointer2.getItem()) < 0) {\n sortedMergedList.addItemFromEnd(pointer1.getItem());\n pointer1 = pointer1.getNext();\n }\n else {\n sortedMergedList.addItemFromEnd(pointer2.getItem());\n pointer2 = pointer2.getNext();\n }\n }\n Node<K> longerListNode = null;\n if( pointer1 == null){\n longerListNode = pointer2;\n }\n else if(pointer2 == null){\n longerListNode = pointer1;\n }\n while (longerListNode != null){\n sortedMergedList.addItemFromEnd(longerListNode.getItem());\n longerListNode = longerListNode.getNext();\n }\n return sortedMergedList;\n }", "title": "" }, { "docid": "4972b2a9c6e7f89fb2b2bcca424e7038", "score": "0.7155143", "text": "public ListNode mergeTwoLists(ListNode l1, ListNode l2) {\n if(l1==null){ return l2; }\n if(l2==null){ return l1; }\n \n ListNode head = l2;\n ListNode pre_node_l2 = null;\n \n while(l1!=null&&l2!=null){\n if(l1.val<=l2.val){\n ListNode temp = l1;\n l1= l1.next;\n temp.next = l2;\n if(l2 == head){ head = temp; }\n if(pre_node_l2!=null){ pre_node_l2.next = temp; }\n pre_node_l2 = temp;\n }else{\n pre_node_l2 = l2;\n l2 = l2.next;\n }\n }\n if(l2==null&&l1!=null){\n pre_node_l2.next = l1;\n }\n \n return head;\n }", "title": "" }, { "docid": "be057d1a9169f134dba2d22c6f5c954f", "score": "0.7123429", "text": "public void merge() {\n\t\t\n\t\t// Input Check: empty list\n\t\tif (head == null) return;\n\t\t\n\t\t// Find midpoint using \"runner\" technique\n\t\tNode p1 = head;\n\t\tNode p2 = head;\n\t\t\n\t\twhile (p1 != null) {\n\t\t\tp1 = p1.next.next;\n\t\t\tp2 = p2.next;\n\t\t}\n\t\t\n\t\tp1 = head;\n\t\t\n\t\t// p2 now at midpoint and p1 at head\n\t\t\n\t\t// Weaving\n\t\twhile (p2 != null) {\n\t\t\tNode p1_next = p1.next;\n\t\t\tNode p2_next = p2.next;\n\t\t\t\n\t\t\tp2.next = p1_next;\n\t\t\tp1.next = p2;\n\t\t\t\n\t\t\tp1 = p1_next;\n\t\t\tp2 = p2_next;\n\t\t}\n\t\t\n\t\t// Stuck in infinite loop\n\t}", "title": "" }, { "docid": "0199d93bee437bc9fb0101a1ba62da99", "score": "0.70525646", "text": "public ListNode mergeRecursively(ListNode l1, ListNode l2){\r\n\t\tif(l1 == null) return l2;\r\n\t\tif(l2 == null) return l1;\r\n\t\t\r\n\t\tif(l1.val < l2.val){\r\n\t\t\tl1.next = mergeRecursively(l1.next, l2);\r\n\t\t\treturn l1;\r\n\t\t}else{\r\n\t\t\tl2.next = mergeRecursively(l2.next, l1);\r\n\t\t\treturn l2;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "21c05582669e412c1ab8d288cdd6e0d5", "score": "0.70295215", "text": "public void merge(SinglyLinkedList otherList){\n\n\t\t// tail of this list needs to reference first item of other list\n\t\tthis.tail.setNext(otherList.head.next());\n\t\t\n\t\t// tail of this list becomes tail of parameter\n\t\tthis.tail = otherList.tail;\n\t\t\n\t\t//add the sizes together\n\t\tthis.size += otherList.size;\n\t\t\n\t}", "title": "" }, { "docid": "78b74bb4b6a7b80b4a6f981258fa5a28", "score": "0.69922125", "text": "static ListNode merge(ListNode left, ListNode right) {\n ListNode dummy = new ListNode(-1);\n ListNode tail = dummy;\n //difference between right and left half size is at most one\n while (left != null && right != null) {\n if (left.val < right.val) {\n tail.next = left;\n left = left.next;\n } else {\n tail.next = right;\n right = right.next;\n }\n tail = tail.next;\n }\n if(left != null) {\n tail.next = left;\n } \n if(right != null) {\n tail.next = right;\n }\n return dummy.next;\n\n }", "title": "" }, { "docid": "d0f5f03e06f05d7010b120586d14c009", "score": "0.6959902", "text": "void merge (SortableList<T> otherList) {\n\t\t\n\t}", "title": "" }, { "docid": "51e770490d522f7b85f541586360b01b", "score": "0.69411904", "text": "private static <E> List<E> concatenate(List<E> a, List<E> b) {\n\t\tif (a.isEmpty()) {\n\t\t\treturn b;\n\t\t} else {\n\t\t\treturn new List<E>(a.getHead(), concatenate(a.getTail(), b));\n\t\t}\n\t}", "title": "" }, { "docid": "b33f1508bd47738fd4198d9ba852755d", "score": "0.6919987", "text": "public Node merge(Node l, Node r) {\n if (l1 == null && l2 null) {\n return null;\n }\n\n if (l2 == null) {\n return l1;\n } else {\n return l2;\n }\n\n // will need to return the head of one of these nodes\n Node head = null;\n Node tail = null;\n if (l1.value >= l2.value) {\n head = l1;\n } else {\n head = l2;\n }\n tail = head;\n\n while (l1 != null && l2 != null) {\n // compare\n if (l1.value >= l2) {\n tail.next = l1;\n l1 = l1.next;\n tail = tail.next;\n tail.next = null\n } else {\n tail.next = l2;\n l2 = l2.next;\n tail = tail.next;\n tail.next = null\n }\n\n }\n\n // here check if l1 or l2 is null, and if any of them are not null, then add them to the\n // end of tail.\n return head;\n}", "title": "" }, { "docid": "f5650150ab1c6194f94b8999654a014c", "score": "0.69192696", "text": "public static ListNode mergeLinkedList(ListNode left, ListNode right) {\n ListNode dummy = new ListNode(0);\n ListNode cursor = dummy;\n\t\t// Append node in ascending order til one of the pointers becomes null.\n while (left != null && right != null) {\n\t\t\tif (left.val <= right.val) {\n\t\t\t\tcursor.next = new ListNode(left.val);\n\t\t\t\tleft = left.next;\n\t\t\t} else {\n\t\t\t\tcursor.next = new ListNode(right.val);\n\t\t\t\tright = right.next;\n\t\t\t}\n\t\t\tcursor = cursor.next;\n\t\t}\n\t\t// Append non-null pointer to the end.\n\t\tif (left != null) {\n\t\t\tcursor.next = left;\t\n\t\t}\n\t\tif (right != null) {\n\t\t\tcursor.next = right;\t\n\t\t}\n return dummy.next;\n }", "title": "" }, { "docid": "0beca30d920679e748d1d0d6db484cff", "score": "0.6893162", "text": "private static ListNode merge(ListNode left, ListNode right) {\n\t ListNode dummy = new ListNode(0);\n\t ListNode tail = dummy;\n\t while (left != null && right != null) {\n\t \tif (left.value <= right.value) {\n\t \t\ttail.next = left;\n\t \t\tleft = left.next;\n\t \t} else {\n\t \t\ttail.next = right;\n\t \t\tright = right.next;\n\t \t}\n\t \ttail = tail.next;\n\t }\n\t if (left != null) {\n\t \ttail.next = left;\n\t }\n\t if (right != null) {\n\t \ttail.next = right;\n\t }\n\t return dummy.next;\n\t}", "title": "" }, { "docid": "74be536771f6a50ed274233012d82029", "score": "0.68557155", "text": "static void addListToList (LinkedList<Integer> list1, LinkedList<Integer> list2)\n {\n while(!list1.isEmpty()){\n list2.add(list1.removeFirst());\n }\n }", "title": "" }, { "docid": "1d839a8cc0102edadcb4d5514db57ba9", "score": "0.679859", "text": "private ListNode merge(ListNode left, ListNode right, ListNode pre){ \n while(left!=null && right!=null){\n if(left.val<=right.val){\n pre.next = left;\n left = left.next;\n }else{\n pre.next = right;\n right = right.next;\n }\n pre = pre.next;\n }\n if(left!=null) pre.next = left;\n else if(right!=null) pre.next = right;\n while(pre.next!=null) pre = pre.next;\n return pre;\n }", "title": "" }, { "docid": "d34d66ce4e75ebbda272d554b8e06565", "score": "0.67746043", "text": "public static ListNode mergeSortedList(ListNode l1, ListNode l2){\n if(l1 == null && l2 == null) return null;\n if(l1 == null && l2 != null) return l2;\n if(l1 != null && l2 == null) return l1;\n\n ListNode head;\n if(l1.val <= l2.val) head = l1;\n else head = l2;\n\n ListNode n1 = l1;\n ListNode n2 = l2;\n ListNode splice = head;\n while(n1 != null && n2 != null){\n if(n1.val <= n2.val) {\n while(n1 != null && n1.val <= n2.val){\n splice = n1;\n n1 = n1.next;\n }\n splice.next = n2;\n }else{\n while(n2 != null && n2.val < n1.val){\n splice = n2;\n n2 = n2.next;\n }\n splice.next = n1;\n }\n }\n return head;\n }", "title": "" }, { "docid": "df538dab3d97ef2436ee6284ac0e53a0", "score": "0.6760151", "text": "private SimpleLinkedList merge(SimpleLinkedList leftPart, SimpleLinkedList rightPart) {\n SimpleLinkedList resultList = new SimpleLinkedList();\n resultList.addFirst(-1);\n resultList.setCount(leftPart.getLength() + rightPart.getLength());\n\n // Initialise pointers to first element of the left, right and result lists\n Node position = resultList.getFirstNode();\n Node leftPos = leftPart.getFirstNode();\n Node rightPos = rightPart.getFirstNode();\n\n // Initialise variable to count how many nodes are left to merge from leftList\n // It is important to count the inversions\n int leftCount = leftPart.getLength();\n\n // Merge the right and left lists. When an element from leftList is inserted in\n // the resultList increment the inversions count of number equal to the elements\n // left to merge in the leftList.\n while (leftPos != null || rightPos != null) {\n if (leftPos == null) {\n position.next = rightPos;\n break;\n } else if (rightPos == null){\n position.next = leftPos;\n break;\n } else {\n if (leftPos.data <= rightPos.data){\n position.next = leftPos;\n leftPos = leftPos.next;\n leftCount--;\n position = position.next;\n } else {\n position.next = rightPos;\n rightPos = rightPos.next;\n position = position.next;\n inversionsCount += leftCount;\n }\n }\n }\n\n // Remove first dummy element\n resultList.removeFirst();\n\n return resultList;\n }", "title": "" }, { "docid": "6c8ccdd86fd787e8ad064961df45c203", "score": "0.6746433", "text": "public static Node MergeLists(Node headA, Node headB) {\n\t Node merged = new Node();\n\t Node mergedHead = merged;\n\t while(headA!=null || headB!=null){\n\t \n\t if(headA !=null && headB != null){\n\t \n\t if(headA.getData() <= headB.getData()){\n\t merged = headA;\n\t headA = headA.getNext();\n\t } else {\n\t merged = headB;\n\t headB = headB.getNext();\n\t }\n\t } else if(headA == null){\n\t merged = headB;\n\t headA = headB.getNext();\n\t } else if(headB == null){\n\t merged = headA;\n\t headB = headA.getNext();\n\t }\n\t \n\t merged = merged.getNext();\n\t \n\t }\n\t return mergedHead;\n\t}", "title": "" }, { "docid": "c2a669301a9dc70dc34de0f41a81a8ea", "score": "0.67208916", "text": "public ListNode mergeKLists(List<ListNode> lists) {\n if(lists.isEmpty()){\n return null;\n }\n //merge\n Queue<ListNode> heap = new PriorityQueue<ListNode>(lists.size(),listNodeComparator);\n for(int i = 0; i < lists.size(); i++){\n if(lists.get(i) != null){\n heap.add(lists.get(i));\n }\n }\n ListNode dummy = new ListNode(0);\n ListNode tail = dummy;\n while(!heap.isEmpty()){\n ListNode head = heap.poll();\n tail.next = head;\n tail = head;\n head = head.next;\n if(head != null){\n heap.add(head);\n }\n }\n return dummy.next;\n }", "title": "" }, { "docid": "633c6b5a86b2d88f96c7c9efc61bcdc4", "score": "0.66970474", "text": "static Node mergeSortList(Node head1, Node head2){\r\n\t\t\tif(head1 == null)\r\n\t\t\t\treturn head2;\r\n\t\t\tif(head2== null)\r\n\t\t\t\treturn head1;\r\n\t\t\t\r\n\t\t\tNode first = new Node(0, null);\r\n\t\t\tNode temp = first;\r\n\t\t\t\r\n\t\t\twhile(head1!=null && head2!=null){\r\n\t\t\t\tif(head1.getData() < head2.getData()){\r\n\t\t\t\t\ttemp.setNext(head1);\r\n\t\t\t\t\thead1 = head1.getNext();\r\n\t\t\t\t}else if(head1.getData() > head2.getData()){\r\n\t\t\t\t\ttemp.setNext(head2);\r\n\t\t\t\t\thead2 = head2.getNext();\r\n\t\t\t\t}else if(head1.getData() == head2.getData()){\r\n\t\t\t\t\ttemp.setNext(head1);\r\n\t\t\t\t\thead1 = head1.getNext();\r\n\t\t\t\t\thead2 = head2.getNext();\r\n\t\t\t\t}\r\n\t\t\t\ttemp = temp.getNext();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(head1 == null){\r\n\t\t\t\twhile(head2!=null){\r\n\t\t\t\t\ttemp.setNext(head2);\r\n\t\t\t\t\thead2 = head2.getNext();\r\n\t\t\t\t\ttemp = temp.getNext();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tif(head2 == null){\r\n\t\t\t\twhile(head1!=null){\r\n\t\t\t\t\ttemp.setNext(head1);\r\n\t\t\t\t\thead1 = head1.getNext();\r\n\t\t\t\t\ttemp = temp.getNext();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\treturn first.getNext();\r\n\t\t}", "title": "" }, { "docid": "5de399a30122b15eb0f35be55159d040", "score": "0.6626169", "text": "public ListNode mergeKLists(List<ListNode> lists) {\n int numLists = lists.size();\n if(numLists < 1) return null;\n if(numLists == 1) return lists.get(0);\n \n // Learn this operation!\n int end = numLists - 1; \n \n while(end > 0){\n int curr = 0;\n while(curr<end){\n lists.set(curr, mergeTwoLists(lists.get(curr), lists.get(end)));\n curr ++;\n end --;\n }\n }\n return lists.get(0);\n }", "title": "" }, { "docid": "9ec23e2c598cd475d9dbe40a1bec0ffd", "score": "0.66178906", "text": "public static LinkedList<Integer> merge(\n LinkedList<Integer> left, LinkedList<Integer> right){\n // this is the same as the merging part of mergesort\n int size = left.size() + right.size();\n LinkedList<Integer> result = new LinkedList<>();\n left.add(1 << 30); right.add(1 << 30);\n for (int i = 0; i < size; i++) {\n if (left.getFirst() < right.getFirst()) {\n result.add(left.remove());\n } else {\n result.add(right.remove());\n }\n }\n return result;\n }", "title": "" }, { "docid": "8a171e919c5f5917f138d34df01bb767", "score": "0.6615176", "text": "private <T extends Comparable<T>> DoubleLinkedList<T> merger(DoubleLinkedList<T> left,DoubleLinkedList<T> right) {\r\n\r\n\r\n DoubleLinkedList<T> result = new DoubleLinkedList<T>();\r\n\r\n while(left.size() > 0 && right.size() > 0) {\r\n if(left.get(0).compareTo(right.get(0)) < 0)\r\n result.add(left.removeFirst());\r\n else\r\n result.add(right.removeFirst());\r\n }\r\n\r\n if(left.size() > 0) {\r\n result.addAll(left);\r\n }\r\n else {\r\n result.addAll(right);\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "6671104350397c81b0a22db6de20cb1a", "score": "0.65915984", "text": "public ListNode mergeKLists_2(ListNode[] lists) {\n if(lists == null || lists.length == 0) return null;\n\n Queue<Integer> queue = new PriorityQueue<>();\n\n for(ListNode node : lists) {\n ListNode currentNode = node;\n\n while(currentNode != null) {\n queue.offer(currentNode.val);\n currentNode = currentNode.next;\n }\n }\n\n ListNode result = new ListNode(0);\n ListNode currentNode = result;\n while(!queue.isEmpty()) {\n currentNode.next = new ListNode(queue.poll());\n currentNode = currentNode.next;\n }\n return result.next;\n }", "title": "" }, { "docid": "c132320d3034d22dec2ed1b73a23fb28", "score": "0.6559908", "text": "private Node merge(Node l, Node r) {\n Node temp, curr;\n temp = new Node<>();\n curr = temp;\n\n while (l != null && r != null) {\n if (l.compareTo((Comparable)r.KeyVal.value) < 1) {\n curr.next = l;\n l = l.next;\n } else {\n curr.next = r;\n r = r.next;\n }\n curr = curr.next;\n }\n if (l == null) {\n curr.next = r;\n } else {\n curr.next = l;\n }\n\n return temp.next;\n }", "title": "" }, { "docid": "a52c19a5a62c233bba6764403e964c0c", "score": "0.65367264", "text": "public ListNode mergeKLists(ListNode[] lists) {\n if (lists == null || lists.length == 0) return null;\n Queue<ListNode> q = new LinkedList<>();\n for (ListNode listNode : lists) {\n q.add(listNode);\n }\n\n while (q.size() > 1) {\n ListNode l1 = q.poll();\n ListNode l2 = q.poll();\n ListNode merged = mergeTwoLists(l1, l2);\n q.add(merged);\n }\n return q.poll();\n }", "title": "" }, { "docid": "9d35d51ef6af1319771e19cb0ea4e7a9", "score": "0.65355647", "text": "static IntList dcatenate(IntList A, IntList B) {\n IntList p = A;\n for (; p.tail != null;) {\n p = p.tail;\n }\n p.tail = B;\n return A;\n }", "title": "" }, { "docid": "e7612ca643f59a4380bc612bca503c32", "score": "0.64895284", "text": "public static Node mergeTwoListsAlternatePostions(Node a, Node b, int c){\n\t\tNode res = null;\n\t\tif(a == null)\n\t\t\treturn b;\n\t\tif(b == null)\n\t\t\treturn a;\n\t\tif(c == 0){\n\t\t\tres = a;\n\t\t\tres.next = mergeTwoListsAlternatePostions(a.next, b, 1);\n\t\t}\n\t\tif(c == 1){\n\t\t\tres = b;\n\t\t\tres.next = mergeTwoListsAlternatePostions(a, b.next, 0);\n\t\t}\n\t\treturn res;\n\t}", "title": "" }, { "docid": "042b7900faa31834dfbdc4a03c3f628a", "score": "0.64893246", "text": "public PostingsList Merge(PostingsList p2) {\n PostingsList answer = new PostingsList();\n int i = 0;\n int j = 0;\n\n while ((i < list.size()) && (j < p2.size())) {\n if (list.get(i).docID == p2.get(j).docID) {\n answer.addEntry(list.get(i));\n i++;\n j++;\n } else if (list.get(i).docID < p2.get(j).docID) {\n answer.addEntry(list.get(i));\n i++;\n } else {\n answer.addEntry(p2.get(j));\n j++;\n }\n }\n\n for(; i < this.list.size(); i++){\n answer.addEntry(list.get(i));\n }\n\n for(; j < p2.list.size(); j++){\n answer.addEntry(p2.get(j));\n }\n\n return answer;\n }", "title": "" }, { "docid": "a3caa3e09f755662d5ae36fc78d82a25", "score": "0.6481743", "text": "Node addTwoLists(Node first, Node second) {\n Node f = first;\n Node s = second;\n \n ArrayList<Integer> a = new ArrayList<Integer>();\n ArrayList<Integer> b = new ArrayList<Integer>();\n while(f != null){\n a.add(f.data);\n f=f.next;\n }\n while(s != null){\n b.add(s.data);\n s=s.next;\n }\n \n \n Node fin=null;\n Node pom=null;\n \n int prek=0;\n int i=0;\n for(i=0;i<Math.min(a.size(),b.size());i++){\n int res =(a.get(i)+b.get(i)+prek)%10;\n \n if(fin == null){\n fin = new Node(res);\n pom=fin;\n \n }else{\n \n pom.next = new Node(res);\n pom=pom.next;\n }\n \n prek=(a.get(i)+b.get(i)+prek)/10;\n \n }\n \n while(i<b.size()){\n int res =(b.get(i)+prek)%10;\n pom.next = new Node(res);\n pom=pom.next;\n prek=(b.get(i)+prek)/10;\n i++;\n }\n while(i<a.size()){\n int res =(a.get(i)+prek)%10;\n pom.next = new Node(res);\n pom=pom.next;\n prek=(a.get(i)+prek)/10;\n i++;\n }\n if(prek>0){\n pom.next = new Node(prek);\n }\n return fin;\n \n }", "title": "" }, { "docid": "c92a445b123df7d2d2dac5586f62c549", "score": "0.64740545", "text": "public static void main(String[] args) {\n\t\tNode<Integer> l1head = linkedlist.takeinput();\n\t\tlinkedlist.print(l1head);\n\t\tSystem.out.println();\n\t\tNode<Integer> l2head = linkedlist.takeinput();\n\t\tlinkedlist.print(l2head);\n\t\tSystem.out.println();\n\t\tl1head = merge(l1head,l2head);\n//\t\tlinkedlist.print(l1head);\n\n\t}", "title": "" }, { "docid": "b3d9ca6d6eca4c21491fa2c7fff25fe1", "score": "0.64564824", "text": "public void merge(\n // indexes of sub-list boundaries; see README\n int start0 // index of first item in list0\n , int start1 // index of first item in list1\n // = just past end of list0\n , int end1 // index past end of list1\n ) {\n ArrayList<String> list0 = new ArrayList<String>();\n ArrayList<String> list1 = new ArrayList<String>();\n Merger first = new Merger(list0);\n Merger second = new Merger(list1);\n for(int index = start0; index < start1; index++) {\n list0.add(usersData.get(index));\n }\n for(int index = start1; index < end1; index++) {\n list1.add(usersData.get(index));\n }\n mergeRecursive(list0, list1, new ArrayList<String>());\n }", "title": "" }, { "docid": "f4e86dfeefaaecf2c317655b533ac872", "score": "0.6434006", "text": "public DistributionList combine(DistributionList dlOne, DistributionList dlTwo)\n {\n return dlOne != null ? dlOne.combine(dlTwo) : (dlTwo != null ? dlTwo : null);\n }", "title": "" }, { "docid": "2ed920763c17d88df02f1d9db8ca734b", "score": "0.64302135", "text": "public Node mergeSort(Node node1,Node node2)\r\n\t{\r\n\t\tNode result = null;\r\n\t\tif(node1 == null)\r\n\t\t\treturn node2;\r\n\t\tif(node2 == null)\r\n\t\t\treturn node1;\r\n\t\tif (node1.data < node2.data) \r\n\t\t{\r\n\t\t\tresult = node1;\r\n\t\t\tresult.Next = mergeSort(node1.Next, node2);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tresult = node2;\r\n\t\t\tresult.Next = mergeSort(node1, node2.Next);\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "6295f3302411e546f88555400bd08c42", "score": "0.6369349", "text": "public ListNode addLists2(ListNode l1, ListNode l2) {\n if (l1 == null || l2 == null) {\n return null;\n }\n ListNode rl1 = reverse(l1);\n ListNode rl2 = reverse(l2);\n ListNode rHead = calculate(rl1, rl2);\n return reverse(rHead);\n }", "title": "" }, { "docid": "7897959ddd73a2b481fde5065d773f9c", "score": "0.63674027", "text": "Node sortedMerge(Node headA, Node headB) {\n Node head = null;\n Node tail = null;\n if (headA.data < headB.data) {\n head = headA;\n tail = headA;\n headA = headA.next;\n } else {\n head = headB;\n tail = headB;\n headB = headB.next;\n }\n while (headA != null && headB != null) {\n if (headA.data < headB.data) {\n tail.next = headA;\n tail = headA;\n headA = headA.next;\n } else {\n tail.next = headB;\n tail = headB;\n headB = headB.next;\n }\n }\n if (headA != null) {\n tail.next = headA;\n }\n if (headB != null) {\n tail.next = headB;\n }\n return head;\n }", "title": "" }, { "docid": "66da0518d0c93b8d513144ef8dd4f058", "score": "0.634667", "text": "static mergeNode mergeSort(mergeNode head)\n{\n\t\n\tif(head==null || head.next==null)\n\t{\n\t\treturn head;\n\t}\n\t\n\t\n\tmergeNode mid=getMidNode(head);\n\t\n\t\tmergeNode head2=mid.next;\n\t\tmid.next=null;\n\t\thead=mergeSort(head);\t//left part\n\t\thead2=mergeSort(head2);\t//right part\n\t\t\n\t\tmergeNode finalNode=mergeTwoList(head,head2);\n\t\treturn finalNode;\n\n}", "title": "" }, { "docid": "8518af537f9ba9ab83efb2e4c6d59170", "score": "0.6310426", "text": "Node mergeTrees(Node node1, Node node2) \n { \n //Stores Inorder of tree1 to list1 \n ArrayList<Integer>list1 = storeInorder(node1); \n \n //Stores Inorder of tree2 to list2 \n ArrayList<Integer>list2 = storeInorder(node2); \n \n // Merges both list1 and list2 into list3 \n ArrayList<Integer>list3 = merge(list1, list2, list1.size(), list2.size()); \n \n //Eventually converts the merged list into resultant BST \n Node node = ALtoBST(list3, 0, list3.size()-1); \n return node; \n }", "title": "" }, { "docid": "ce787ca9c33285f78ced642342cad3fc", "score": "0.62783414", "text": "public ConcatenatedList(List<T> l1, List<T> l2) {\n\t\tinnerLists.add(l1);\n\t\tinnerLists.add(l2);\n\t}", "title": "" }, { "docid": "63eaf7409d376852597ccd63fd9ea5ea", "score": "0.627766", "text": "public Node merge_nodes(Node v1,Node v2){\r\n if (undirected)\r\n System.err.println(\"merge_nodes not implemented for undirected graphs.\");\t//error_handler 1\r\n for(int i=0; i<2; i++){\r\n if (v1.last_adj_edge[i] != null)\r\n v1.last_adj_edge[i].succ_adj_edge[i] = v2.first_adj_edge[i];\r\n else\r\n v1.first_adj_edge[i] = v2.first_adj_edge[i];\r\n if (v2.first_adj_edge[i] != null){\r\n v2.first_adj_edge[i].pred_adj_edge[i] = v1.last_adj_edge[i];\r\n v1.last_adj_edge[i] = v2.last_adj_edge[i];\r\n }\r\n v1.adj_length[i] += v2.adj_length[i];\r\n v2.adj_length[i] = 0;\r\n v2.first_adj_edge[i] = null;\r\n v2.last_adj_edge[i] = null;\r\n }\r\n //waiting for del_node\t\tdel_node(v2);\r\n return v1;\r\n }", "title": "" }, { "docid": "2d34ac11a28e8563f7e2743463237117", "score": "0.6265444", "text": "private SimpleLinkedList mergeSort(SimpleLinkedList list) {\n if (list.getLength() < 2) {\n return list;\n }\n\n // Get the center of the list\n int center = list.getLength() / 2;\n\n // Split the list in two strands in the middle and attach to new\n // lists leftList and rightList with proper count of nodes\n Node position = list.getFirstNode();\n for (int i = 0; i < center - 1; i++) {\n position = position.next;\n }\n SimpleLinkedList leftPart = new SimpleLinkedList(list.getFirstNode(), center);\n SimpleLinkedList rightPart = new SimpleLinkedList(position.next, list.getLength() - center);\n position.next = null;\n\n // Recursively call to split the list until single-node lists are obtained\n SimpleLinkedList newLeft = mergeSort(leftPart);\n SimpleLinkedList newRight = mergeSort(rightPart);\n\n // Return the merged left and right lists\n return merge(newLeft, newRight);\n }", "title": "" }, { "docid": "c25ab483d4b0a4f21ac44cd9ea88bbf2", "score": "0.6263621", "text": "public ArrayList<User>mergeUsers(ArrayList<User> users){\n \n //!!!!!!!!!!!!!public LinkedList<User>mergeUsers(LinkedList<User> tweet){\n \n \n for(User i: users){\n String key = i.getUser_name()+i.getNick_name();\n if(map.containsKey(key)){\n User user = map.get(key);\n int Followers = user.GetFollowers();\n int anotherFollowers = i.GetFollowers();\n if(Followers>anotherFollowers){\n i = user;\n }\n }\n map.put(key, i);\n }\n \n users.clear();\n users.addAll(map.values());\n \n return users;\n \n}", "title": "" }, { "docid": "0c7883903a8eabf3587d0561abd516c3", "score": "0.62519044", "text": "public ListNode mergeKLists(ArrayList<ListNode> lists) {\n ListNode head = new ListNode(0);\n ListNode curr = head;\n int size = lists.size();\n\n int min = Integer.MAX_VALUE;\n int minIndex = -1;\n boolean finished = false;\n while (!finished) {\n for (int i = 0; i < size; i++) {\n ListNode node = lists.get(i);\n if (node != null && node.val < min) {\n min = node.val;\n minIndex = i;\n }\n }\n if (minIndex > -1) {\n ListNode n = lists.get(minIndex);\n curr.next = n;\n curr = curr.next;\n lists.set(minIndex, n.next);\n //Note: reset the min and minIndex\n min = Integer.MAX_VALUE;\n minIndex = -1;\n } else {\n finished = true;\n }\n }\n\n return head.next;\n }", "title": "" }, { "docid": "668e597326f991a7aae943fe6cdb968c", "score": "0.62438995", "text": "private static List concatList(List x, List y) {\n List ret = new ArrayList<Long>(x);\n ret.addAll(y);\n return ret;\n }", "title": "" }, { "docid": "2b4df70eb58a340852107fc0ee868009", "score": "0.6226786", "text": "public ListNode mergeKLists(ListNode[] lists) {\n if(lists == null || lists.length == 0) return null;\n\n Queue<ListNode> queue = new PriorityQueue<>(lists.length, Comparator.comparingInt(list -> list.val));\n\n for(ListNode node : lists) {\n if(node != null) {\n queue.offer(node);\n }\n }\n\n ListNode result = new ListNode(0);\n ListNode currentNode = result;\n while(!queue.isEmpty()) {\n currentNode.next = queue.poll();\n currentNode = currentNode.next;\n\n if(currentNode.next != null) {\n queue.offer(currentNode.next);\n }\n }\n return result.next;\n }", "title": "" }, { "docid": "11526fea937a46cb59894da9d48cdf6d", "score": "0.62229794", "text": "public ListNode mergeKLists_1(ListNode[] lists) {\n if(lists == null || lists.length == 0) return null;\n\n List<Integer> list = new ArrayList<>();\n for(ListNode node : lists) {\n ListNode currentNode = node;\n\n while(currentNode != null) {\n list.add(currentNode.val);\n currentNode = currentNode.next;\n }\n }\n Collections.sort(list);\n\n ListNode result = new ListNode(0);\n ListNode currentNode = result;\n for(Integer val : list) {\n currentNode.next = new ListNode(val);\n currentNode = currentNode.next;\n }\n return result.next;\n }", "title": "" }, { "docid": "147e9d95f4c85e9a0996232a4a8dee06", "score": "0.6215028", "text": "public static <A> List<A> append(final List<A> list1,\n final List<A> list2) {\n final List<A> newList = new LinkedList<>(list1);\n newList.addAll(list2);\n return newList;\n }", "title": "" }, { "docid": "1776d8f6b5e89d91ba57371df3672220", "score": "0.6211723", "text": "public static LinkedList mergeSort(LinkedList list){\n if(list.getSize() > 1){ //Hay algo que ordenar\n int nElementsLeft = list.getSize() / 2;\n int nElementsRight = list.getSize() - nElementsLeft;\n LinkedList leftList = new LinkedList(); //Lista de los elementos a la izquierda\n LinkedList rightList = new LinkedList(); //Lista de los elemento a la derecha\n\n //Copiamos los elementos de la izquierda pertenecientes a la list original\n for(int i = 0; i < nElementsLeft; i++){\n leftList.insertElement(list.getElement(i).getDataT(), i);\n }\n //Copiamos los elementos de la derecha pertenecientes a la list original\n for(int i = nElementsLeft; i < list.getSize(); i++){\n rightList.insertElement(list.getElement(i).getDataT(), i - nElementsLeft);\n }\n\n leftList = mergeSort(leftList);\n rightList = mergeSort(rightList);\n\n int i = 0;\n int j = 0;\n int k = 0;\n while(leftList.getSize() != j && rightList.getSize() != k){\n Node node1 = list.getElement(i);\n if(leftList.getElement(j).getDataT().compareTo(rightList.getElement(k).getDataT()) < 0){\n Node node2 = leftList.getElement(j);\n node1.setDataT(node2.getDataT());\n i++;\n j++;\n } else{\n Node node2 = rightList.getElement(k);\n node1.setDataT(node2.getDataT());\n i++;\n k++;\n }\n }\n //Se unen las listas\n while (leftList.getSize() != j){\n Node node1 = list.getElement(i);\n Node node2 = leftList.getElement(j);\n node1.setDataT(node2.getDataT());\n i++;\n j++;\n }\n while (rightList.getSize() != k){\n Node node1 = list.getElement(i);\n Node node2 = rightList.getElement(k);\n node1.setDataT(node2.getDataT());\n i++;\n k++;\n }\n }\n return list;\n }", "title": "" }, { "docid": "ab5bc9f381275e2b115c6397946e142f", "score": "0.62105095", "text": "public static void main(String[] args) {\n\t\t Node<Integer> l1 = new Node<Integer>(0);\n\t\t Node<Integer> l2 = new Node<Integer>(0);\n\t\t \tint arr[] = {1,2,3,4,5,6,7};\n\t\t Node<Integer>head1=l1;\n\t\t for(int i=0;i<arr.length;i++)\n\t\t {\n\t\t Node<Integer> node2 = new Node<Integer>(arr[i]);\n\t\t l1.next = node2;\n\t\t l1=node2;\n\t\t }\n\t\t int arr1[] = {2,4,4,7,8,10};\n\t\t Node<Integer> head2 = l2;\n\t\t \tfor(int i=0;i<arr1.length;i++)\n\t\t\t {\n\t\t\t Node<Integer> node2 = new Node<Integer>(arr1[i]);\n\t\t\t l2.next = node2;\n\t\t\t l2=node2;\n\t\t\t }\n\t\t \n\t\t \n//\t\tNode<Integer> ans = AddTwoNumber(l1,l2);\n//\twhile(head2.next!=null) {\n//\t\tSystem.out.println(head2.next.data);\n//\t\thead2 = head2.next;\n//\t}\n\t\t \n\t\tNode<Integer> ans = AlterList(head1.next,head2.next);\n\t\twhile(ans!=null) {\n\t\t\tSystem.out.println(ans.data);\n\t\t\tans = ans.next;\n\t\t}\n\t\t \n\n\t}", "title": "" }, { "docid": "510466f84054c9eab373cd466252304b", "score": "0.6210328", "text": "public static void main(String[] args) {\n\tLinkedList<String> address = new LinkedList<String>();\r\n\t address.add(\"Tulsa\");\r\n\t address.add(\"Ada\");\r\n\t address.add(\"Broken Arrow\");\r\n\t address.add(\"Owasso\");\r\n\t address.add(1,\"OKC\");\r\n\t System.out.println(\"Linkedlist 1 is:\"+ address);\r\n\t \r\n\tLinkedList<String> data= new LinkedList<String>();\r\n\t data.add(\"74104\");\r\n\t data.addFirst(\"74135\");\r\n\t data.add(\"foo\");\r\n\t data.add(\"hello world\");\r\n\t data.add(\"777\");\r\n\t System.out.println(\"Linkedlist 2 is\"+ data);\r\n\t \r\n\tLinkedList<String>mergedList= new LinkedList<String>();\r\n\tListIterator<String> aIer= address.listIterator();\r\n\tListIterator<String> dIer= data.listIterator();\r\n\t for(int i=0;i<address.size();i++) {\r\n\t\t mergedList.add(aIer.next());\r\n\t }\r\n\t for(int i=0; i<data.size();i++) {\r\n\t\t mergedList.add(dIer.next());\r\n\t }\r\n\t System.out.println(\"Merged List 2 into list 1:\"+mergedList);\r\n\t\r\n\t aIer= address.listIterator();\r\n\t for(int i =0; i<address.size();i+=2) {\r\n\t\t aIer.next();\r\n\t\t aIer.next();\r\n\t\t aIer.remove();\r\n\t }\r\n\t System.out.println(\"ListAddress with every 2nd word removed:\"+address);\r\n\t \r\n\t LinkedList<String> copydata= new LinkedList<String>();\r\n while(data!= null) { \r\n\t copydata.add(dIer.next());\r\n }\r\n \r\n\r\n\t \r\n\t}", "title": "" }, { "docid": "cd26fbc6e1d7e89e2e9cc8ee90aad885", "score": "0.6210112", "text": "public ListNode mergeKLists(List<ListNode> lists) {\n if(lists == null || lists.size() == 0 ){\n return null;\n }\n \n PriorityQueue<ListNode> heap = new PriorityQueue<ListNode>(lists.size(), heapComparator);\n ListNode dummy = new ListNode(0);\n ListNode tail = dummy;\n for(int i = 0; i < lists.size();i++ ){\n if(lists.get(i) != null){\n heap.add(lists.get(i));\n }\n }\n \n while(heap.size() != 0){\n ListNode head = heap.poll();\n tail.next = head;\n tail = tail.next;\n if(head.next != null){\n head = head.next;\n heap.add(head);\n }\n }\n return dummy.next;\n }", "title": "" }, { "docid": "22645d77448e926c1030b57699da50d8", "score": "0.6189077", "text": "void addLists(){\nint sizeOne = getSize(headOne);\nint sizeTwo = getSize(headTwo);\n//Add same size lists\nif (sizeOne == sizeTwo) {\naddSame(headOne, headTwo);\n}\nelse{\nif (sizeOne < sizeTwo) {\nDigit temp = headOne;\nheadOne = headTwo;\nheadTwo = temp;\n}\n//sizeOne could be bigger than sizeTwo, so the pointer has to be\n//switched- that's why there's absolute value\nint diff = Math.abs(sizeOne - sizeTwo);\nDigit temp = headOne;\nwhile (diff-- >= 0){\ncurr = temp;\ntemp = temp.next;\n}\naddSame(curr, headTwo);\ncarried(headOne);\n}\n// If a number still needs to be carried, it adds to the front of the sum\nif (carry > 0){\ninsert(carry, 3);\n}\n}", "title": "" }, { "docid": "0be043b26042781369804f60ea19d0d3", "score": "0.6185616", "text": "public ListNode mergeKLists(ListNode[] lists) {\n PriorityQueue<Integer> sortedList = new PriorityQueue<Integer>();\n for (int i = 0; i < lists.length; i++) {\n if (lists[i] != null) {\n ListNode head = lists[i];\n while (head != null) {\n sortedList.offer(head.val);\n head = head.next;\n }\n }\n }\n \n if (sortedList.isEmpty()) {\n return null;\n }\n \n ListNode newList = new ListNode(sortedList.poll());\n ListNode temp = newList;\n \n while (!sortedList.isEmpty()) {\n temp.next = new ListNode(sortedList.poll());\n temp = temp.next;\n }\n \n return newList;\n }", "title": "" }, { "docid": "688dddeadcb88ea4d180f6525a211422", "score": "0.61773884", "text": "T merge(T left, T right);", "title": "" }, { "docid": "9b9ee1c7870c810a2cb04845329d81a2", "score": "0.61718065", "text": "ListNode mergeSort(ListNode h) \n {\n if (h == null || h.next == null) { \n return h; \n } \n \n // get the middle of the list \n ListNode middle = getMiddle(h); \n ListNode nextofmiddle = middle.next; \n \n // set the next of middle node to null \n middle.next = null; \n \n // Apply mergeSort on left list \n ListNode left = mergeSort(h); \n \n // Apply mergeSort on right list \n ListNode right = mergeSort(nextofmiddle); \n \n // Merge the left and right lists \n ListNode sortedlist = sortedMerge(left, right); \n return sortedlist; \n }", "title": "" }, { "docid": "80b57616fb045d1718447263176fcda5", "score": "0.616552", "text": "public static ListNode addTwoList_task2(ListNode head1, ListNode head2) {\n\t\tif (head1 == null ) {\n\t\t\treturn head2;\n\t\t}\n\t\tif (head2 == null) {\n\t\t\treturn head1;\n\t\t}\n\t\tListNode dummy = new ListNode(-1);\n\t\tListNode tail = dummy;\n\t\tListNode cur1 = head1;\n\t\tListNode cur2 = head2;\n\t\tint carry = 0;\n\t\twhile(cur1 != null && cur2 != null) {\n\t\t\tint sum = cur1.val + cur2.val + carry;\n\t\t\tcarry = sum/10;\n\t\t\tsum %= 10;\n\t\t\tListNode node = new ListNode(sum);\n\t\t\ttail.next = node;\n\t\t\ttail = node;\n\t\t\tcur1 = cur1.next;\n\t\t\tcur2 = cur2.next;\n\t\t}\n\t\t\n\t\twhile(cur1 != null) {\n\t\t\tint sum = cur1.val + carry;\n\t\t\tcarry = sum/10;\n\t\t\tsum %= 10;\n\t\t\tListNode node = new ListNode(sum);\n\t\t\ttail.next = node;\n\t\t\ttail = node;\n\t\t\tcur1 = cur1.next;\n\t\t}\n\t\t\n\t\twhile(cur2 != null) {\n\t\t\tint sum = cur2.val + carry;\n\t\t\tcarry = sum/10;\n\t\t\tsum %= 10;\n\t\t\tListNode node = new ListNode(sum);\n\t\t\ttail.next = node;\n\t\t\ttail = node;\n\t\t\tcur2 = cur2.next;\n\t\t}\n\t\t\n\t\treturn dummy.next;\n\t}", "title": "" }, { "docid": "d63eafa0f9c106225d4c1af25ddd97b0", "score": "0.61541766", "text": "public List concatLL(List list1, List list2) {\n List copy = new ArrayList(list1);\n copy.addAll(list2);\n return copy;\n }", "title": "" }, { "docid": "a385523104dd6e8047543dfd6b1604b2", "score": "0.61518836", "text": "public ListNode mergeKLists(ListNode[] lists) {\n if (lists == null || lists.length == 0) {\n return null;\n }\n PriorityQueue<ListNode> queue = new PriorityQueue<>(lists.length, new Comparator<ListNode>() {\n @Override\n public int compare(ListNode o1, ListNode o2) {\n if (o1.val < o2.val) {\n return -1;\n } else if (o1.val == o2.val) {\n return 0;\n } else {\n return 1;\n }\n }\n });\n for (ListNode listNode : lists) {\n if (listNode != null) {\n queue.add(listNode);\n }\n }\n ListNode root = new ListNode(0);\n ListNode dummy = root;\n while (!queue.isEmpty()) {\n ListNode node = queue.poll();\n dummy.next = node;\n dummy = dummy.next;\n if (node.next != null) {\n queue.add(node.next);\n }\n }\n return root.next;\n }", "title": "" }, { "docid": "1b21dc2eae385d36ac4323d5c561ef33", "score": "0.6142532", "text": "ArrayList<Integer> merge(ArrayList<Integer>list1, ArrayList<Integer>list2, int m, int n) \n { \n // list3 will contain the merge of list1 and list2 \n ArrayList<Integer> list3 = new ArrayList<>(); \n int i=0; \n int j=0; \n \n //Traversing through both ArrayLists \n while( i<m && j<n) \n { \n // Smaller one goes into list3 \n if(list1.get(i)<list2.get(j)) \n { \n list3.add(list1.get(i)); \n i++; \n } \n else\n { \n list3.add(list2.get(j)); \n j++; \n } \n } \n \n // Adds the remaining elements of list1 into list3 \n while(i<m) \n { \n list3.add(list1.get(i)); \n i++; \n } \n \n // Adds the remaining elements of list2 into list3 \n while(j<n) \n { \n list3.add(list2.get(j)); \n j++; \n } \n return list3; \n }", "title": "" }, { "docid": "38737e08b981b3d37387e359d116ed41", "score": "0.61290145", "text": "private static Treap merge(Treap left, Treap right) {\n if (left == null) {\n return right;\n }\n if (right == null) {\n return left;\n }\n if (left.key < right.key) {\n return attach(left, left.left, merge(left.right, right));\n }\n return attach(right, merge(left, right.left), right.right);\n }", "title": "" }, { "docid": "f487d5028b4ba19edff37a79c2d6727e", "score": "0.61265916", "text": "private LinkedList<Layer> doMerge(final LinkedList<Layer> left, final LinkedList<Layer> right)\r\n \t{\r\n \t\t/*\r\n \t\t * Merging layers should look something like this:\r\n \t\t * Queue<Layer> A, B;\r\n \t\t * List<Layer> result\r\n \t\t * A = layers from one file, sorted from least to greatest\r\n \t\t * B = layers from other file, sorted from least to greatest\r\n \t\t * last = null \r\n \t\t * while A && B are not empty\r\n \t\t * if A.peek.height < B.peek.height\r\n \t\t * if last == B\r\n \t\t * result.append(toolchange B to A)\r\n \t\t * result.append(A.pop)\r\n \t\t * last = A\r\n \t\t * else if B.peek.height < A.peek.height\r\n \t\t * if last == A\r\n \t\t * result.append(toolchange A to B)\r\n \t\t * result.append(B.pop)\r\n \t\t * last = B\r\n \t\t * else // they're of equal height\r\n \t\t * if last != null\r\n \t\t * if last == A\r\n \t\t * result.append(A.pop)\r\n \t\t * else if last == B\r\n \t\t * result.append(B.pop)\r\n \t\t * else\r\n \t\t * result.append(A.pop)\r\n \t\t * // at this point one of them is empty\r\n \t\t * if A is not empty\r\n \t\t * if last == B\r\n \t\t * result.append(toolchange B to A)\r\n \t\t * result.appendAll(A)\r\n \t\t * if B is not empty\r\n \t\t * if last == A\r\n \t\t * result.append(toolchange A to B)\r\n \t\t * result.appendAll(B)\r\n \t\t * \r\n \t\t * \r\n \t\t */\r\n \t\t// using a LinkedList means we can getLast()\r\n \t\tfinal LinkedList<Layer> result = new LinkedList<Layer>();\r\n \r\n \t\t// this is just a handy way to keep track of where our last layer came from\r\n \t\tObject lastLayer = null;\r\n \t\t\r\n \t\t\r\n \t\tfinal ToolheadAlias initialTool;\r\n \t\t// Start by selecting the correct toolhead\r\n \t\t// This mimics how the selection happens in the loop below\r\n \t\tif(right.peek().getHeight() < left.peek().getHeight())\r\n \t\t\tinitialTool = ToolheadAlias.RIGHT;\r\n \t\telse\r\n \t\t\tinitialTool = ToolheadAlias.LEFT;\r\n \r\n \t\t// Prepend the switch to correct tool to the whole thing\r\n \t\tresult.add(new Layer(0, new ArrayList<String>(){{\r\n //\t\t\tadd(initialTool.getRecallOffsetGcodeCommand());\r\n //\t\t\tadd(\"M6 P1 \"+initialTool.getTcode() + \"(Set tool)\");\r\n \t\t\t//been having trouble with prints stopping part way through, think it might be M6's fault\r\n //\t\t\tadd(initialTool.getRecallOffsetGcodeCommand() +\" \"+ initialTool.getTcode());\r\n \t\t\tadd(initialTool.getRecallOffsetGcodeCommand());\r\n \t\t\tadd(\"M108 \"+initialTool.getTcode() + \"(Set tool)\");\r\n \t\t}}));\r\n \t\t\r\n \t\twhile((!left.isEmpty()) || (!right.isEmpty()))\r\n \t\t{\r\n \t\t\tif(right.isEmpty())\r\n \t\t\t{\r\n \t\t\t\tif(right.equals(lastLayer))\r\n \t\t\t\t\tresult.add(toolchange(ToolheadAlias.RIGHT, result.getLast(), ToolheadAlias.LEFT, left.peek()));\r\n \t\t\t\tresult.add(left.pop());\r\n \t\t\t\tlastLayer = left;\r\n \t\t\t}\r\n \t\t\telse if(left.isEmpty())\r\n \t\t\t{\r\n \t\t\t\tif(left.equals(lastLayer))\r\n \t\t\t\t\tresult.add(toolchange(ToolheadAlias.LEFT, result.getLast(), ToolheadAlias.RIGHT, right.peek()));\r\n \t\t\t\tresult.add(right.pop());\r\n \t\t\t\tlastLayer = right;\r\n \t\t\t}\r\n \t\t\telse if(left.peek().getHeight() < right.peek().getHeight())\r\n \t\t\t{\r\n \t\t\t\tif(right.equals(lastLayer))\r\n \t\t\t\t\tresult.add(toolchange(ToolheadAlias.RIGHT, result.getLast(), ToolheadAlias.LEFT, left.peek()));\r\n \t\t\t\tresult.add(left.pop());\r\n \t\t\t\tlastLayer = left;\r\n \t\t\t}\r\n \t\t\telse if(right.peek().getHeight() < left.peek().getHeight())\r\n \t\t\t{\r\n \t\t\t\tif(left.equals(lastLayer))\r\n \t\t\t\t\tresult.add(toolchange(ToolheadAlias.LEFT, result.getLast(), ToolheadAlias.RIGHT, right.peek()));\r\n \t\t\t\tresult.add(right.pop());\r\n \t\t\t\tlastLayer = right;\r\n \t\t\t}\r\n \t\t\telse //equal height\r\n \t\t\t{\r\n \t\t\t\tif(lastLayer == null)\r\n \t\t\t\t{\r\n \t\t\t\t\t//arbitrary\r\n \t\t\t\t\tresult.add(left.pop());\r\n \t\t\t\t\tlastLayer = left;\r\n \t\t\t\t}\r\n \t\t\t\telse\r\n \t\t\t\t{\r\n \t\t\t\t\tif(lastLayer == left)\r\n \t\t\t\t\t\tresult.add(left.pop());\r\n \t\t\t\t\telse// if(lastLayer == right)\r\n \t\t\t\t\t\tresult.add(right.pop());\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t\r\n \t\treturn result;\r\n \t}", "title": "" }, { "docid": "87b47107763cb7651669fccea574d972", "score": "0.61213803", "text": "public static Node mergeKLists(List<Node> lists) {\n\t\tif (lists.isEmpty()) return null;\n\t\tint end = lists.size() - 1;\n\t\twhile (end > 0) {\n\t\t\tint begin = 0;\n\t\t\twhile (begin < end) {\n\t\t\t\tlists.set(begin, merge2Lists(lists.get(begin),\n\t\t\t\t\t\tlists.get(end)));\n\t\t\t\tbegin++;\n\t\t\t\tend--;\n\t\t\t}\n\t\t}\n\t\treturn lists.get(0);\n\t}", "title": "" }, { "docid": "c9f407628b64b6816790082d964bd879", "score": "0.61022085", "text": "public static <E> PositionList<E> merge(final PositionList<E> l1,\n final PositionList<E> l2,\n final Comparator<E> comp) {\n\t //First, we check if the given lists are null. If so, return null:\n\t if (l1.isEmpty() || l2.isEmpty()) {\n\t\t return null;\n\t }\n\t //If not null, we create the result list, a list to have the elements of both and two variables to manage the different values of the lists:\n\t Position<E> i= l2.first();\n\t PositionList<E> result= new NodePositionList<E>(l1);\n\t do {\n\t\t result.addLast(i.element());\n\t\t i=l2.next(i);\n\t }while (l2.next(i)!=null);\n\t //Now result has the elements of both lists, though not sorted. We sort the elements:\n\t PositionList<E> cursor;\n\t \n\t //We return the result list\n\t return result;\n }", "title": "" }, { "docid": "ac9d23fd870b1ba12a0f26ba511aaaaa", "score": "0.609309", "text": "public static LinkedListNode<Integer> mergeSort(LinkedListNode<Integer> h) {\n if (h == null || h.next == null) { \n return h; \n } \n \n // get the middle of the list \n LinkedListNode<Integer> middle = getMiddle(h); \n LinkedListNode<Integer> nextofmiddle = middle.next; \n \n // set the next of middle node to null \n middle.next = null; \n \n // Apply mergeSort on left list \n LinkedListNode<Integer> left = mergeSort(h); \n \n // Apply mergeSort on right list \n LinkedListNode<Integer> right = mergeSort(nextofmiddle); \n \n // Merge the left and right lists \n LinkedListNode<Integer> sortedlist = sortedMerge(left, right); \n return sortedlist; \n }", "title": "" }, { "docid": "c3446009494779450c07bf5de050800b", "score": "0.60900843", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n\t\tif (l1 == null) {\r\n\t\t\treturn l2;\r\n\t\t}\r\n\t\tif (l2 == null) {\r\n\t\t\treturn l1;\r\n\t\t}\r\n\r\n\t\tint len1 = 0;\r\n\t\tint len2 = 0;\r\n\r\n\t\tListNode head = l1;\r\n\r\n\t\twhile (head != null) {\r\n\t\t\t++len1;\r\n\t\t\thead = head.next;\r\n\t\t}\r\n\r\n\t\thead = l2;\r\n\r\n\t\twhile (head != null) {\r\n\t\t\t++len2;\r\n\t\t\thead = head.next;\r\n\t\t}\r\n\r\n\t\tListNode longer = len1 >= len2 ? l1 : l2;\r\n\t\tListNode shorter = len1 < len2 ? l1 : l2;\r\n\r\n\t\tListNode result = null;\r\n\t\tListNode sum = null;\r\n\r\n\t\tint val = 0;\r\n\t\tint carry = 0;\r\n\r\n\t\twhile (shorter != null) {\r\n\t\t\tval = longer.val + shorter.val + carry;\r\n\t\t\tcarry = val / 10;\r\n\t\t\tval -= carry * 10;\r\n\t\t\t\r\n\t\t\tif (sum == null) {\r\n\t\t\t\tsum = new ListNode(val);\r\n\t\t\t\tresult = sum;\r\n\t\t\t} else {\r\n\t\t\t\tsum.next = new ListNode(val);\r\n\t\t\t\tsum = sum.next;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tlonger = longer.next;\r\n\t\t\tshorter = shorter.next;\r\n\t\t}\r\n\r\n\t\twhile (longer != null) {\r\n\t\t\tval = longer.val + carry;\r\n\t\t\tcarry = val / 10;\r\n\t\t\tval -= carry * 10;\r\n\t\t\t\r\n\t\t\tsum.next = new ListNode(val);\r\n\t\t\tsum = sum.next;\r\n\t\t\t\r\n\t\t\tlonger = longer.next;\r\n\t\t}\r\n\r\n\t\tif (carry != 0) {\r\n\t\t\tsum.next = new ListNode(carry);\r\n\t\t}\r\n\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "99c6d1d210b4eb8e2631420e03245bb5", "score": "0.60776216", "text": "public static IntList dcatenate(IntList A, IntList B) {\n //TODO: fill in method\n IntList A_copy = A;\n while(A_copy.rest!=null){\n A_copy = A_copy.rest;\n }\n A_copy.rest=B;\n return A;\n }", "title": "" }, { "docid": "de7f3a2424384f317dce6165ea097b2d", "score": "0.60772145", "text": "public ListNode mergeKLists(ArrayList<ListNode> lists) {\n if (lists == null || lists.size() == 0) {\n return null;\n }\n if (lists.size() == 1) {\n return lists.get(0);\n }\n\n ListNode head = new ListNode(0);\n ListNode result = head;\n while (true) {\n int nullCount = 0;\n ListNode min = null;\n int minValue = Integer.MAX_VALUE;\n int minI = 0;\n\n for (int i = 0; i < lists.size(); i++) {\n ListNode cur = lists.get(i);\n if (cur == null) {\n nullCount++;\n } else {\n if ( minValue > cur.val) {\n minValue = cur.val;\n min = cur;\n minI = i;\n }\n }\n }\n if (nullCount == lists.size()) {\n break;\n }\n head.next = min;\n head = head.next;\n lists.set(minI, min.next);\n\n }\n\n\n return result.next;\n }", "title": "" }, { "docid": "8b24a0eb0da55a90e4c1079f05827b95", "score": "0.6073123", "text": "public static ListNode concat(ListNode small, ListNode equal, ListNode large){\n ListNode leftTail = getTail(small);\n ListNode midTail = getTail(equal);\n if(leftTail == null) {\n if(midTail == null){\n return large;\n }else {\n midTail.next = large;\n return equal;\n }\n } else {\n if(midTail == null){\n leftTail.next = large;\n return small;\n }else{\n midTail.next = large;\n leftTail.next = equal;\n return small;\n }\n }\n \n }", "title": "" }, { "docid": "f1817e082c925cd8367c2e0d40698ba1", "score": "0.604181", "text": "public static <E> List<E> concat(List<E> l1, List<E> l2) {\r\n\t\tList<E> newList = new ArrayList<>(l1);\r\n\t\t\r\n\t\tnewList.addAll(l2);\r\n\t\t\r\n\t\treturn newList;\r\n\t}", "title": "" }, { "docid": "087c944e288b8fe201e8cb926c6feaee", "score": "0.60078233", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n\n\t\t// Intiatlize a list to node - to ease the solution\n\t\tListNode head = new ListNode(0);\n\t\t// stores the location of last inserted node\n\t\tListNode tail = head;\n\n\t\t// Store the sum of current nodes\n\t\tint sum = 0;\n\t\t// Stores the carry from previuos sum\n\t\tint carry = 0;\n\n\t\t// Value from first node\n\t\tint l1Val = 0;\n\t\t// Value from second node\n\t\tint l2Val = 0;\n\n\t\t// Loop until data in both the list\n\t\twhile (l1 != null || l2 != null) {\n\t\t\t// data in list 1 is unavailable - add 0\n\t\t\tl1Val = l1 != null ? l1.val : 0;\n\t\t\t// data in list 2 is unavailable - add 0\n\t\t\tl2Val = l2 != null ? l2.val : 0;\n\n\t\t\t// Sum\n\t\t\tsum = carry + l1Val + l2Val;\n\n\t\t\t// Generate next carry - number greater than 9\n\t\t\tcarry = sum / 10;\n\n\t\t\t// create next node\n\t\t\ttail.next = new ListNode(sum % 10);\n\n\t\t\t// move tail to end\n\t\t\ttail = tail.next;\n\t\t\t// Update nodes based on data availablity\n\t\t\tif (l1 != null)\n\t\t\t\tl1 = l1.next;\n\t\t\tif (l2 != null)\n\t\t\t\tl2 = l2.next;\n\n\t\t}\n\n\t\t// Once list#1 and list#2 does not have data but still we have carry\n\t\t// create a carry node\n\t\tif (carry == 1) {\n\t\t\ttail.next = new ListNode(1);\n\t\t\ttail = tail.next;\n\t\t}\n\t\t// return next of dummy head node\n\t\treturn head.next;\n\n\t}", "title": "" }, { "docid": "b59ef4f84d933e2d8a1a077ab5d79ce7", "score": "0.5990117", "text": "public static ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n\n int sum = 0;\n int carry = 0;\n\n ListNode node = null, temp = null, head = null;\n\n while(l1 != null && l2 != null){\n\n sum = l1.val + l2.val + carry;\n node = new ListNode(sum%10);\n carry = sum/10;\n if(head == null){\n temp = node;\n head = node;\n }else{\n temp.next = node;\n temp = node;\n }\n l1 = l1.next;\n l2 = l2.next;\n }\n\n while(l1 != null){\n sum = l1.val+carry;\n node = new ListNode(sum%10);\n carry = sum/10;\n if(head == null){\n temp = node;\n head = node;\n }else{\n temp.next = node;\n temp = node;\n }\n l1 = l1.next;\n\n }\n\n while(l2 != null){\n sum = l2.val+carry;\n node = new ListNode(sum%10);\n carry = sum/10;\n if(head == null){\n temp = node;\n head = node;\n }else{\n temp.next = node;\n temp = node;\n }\n l2 = l2.next;\n\n }\n if(carry != 0){\n node = new ListNode(carry);\n temp.next = node;\n }\n\n /*System.out.println(\"output....\");\n while(head != null){\n System.out.println(head.val);\n head = head.next;\n }*/\n\n\n return head;\n }", "title": "" }, { "docid": "d9e02ec8bb9a5e35b7e789ec9fe82614", "score": "0.59817845", "text": "public void merge(List<Integer>left,List<Integer>right,List<Integer>k){\n int leftIndex = 0;\n int rightIndex = 0;\n int kIndex = 0;\n\n while (leftIndex < left.size() && rightIndex < right.size()) {\n if ( (left.get(leftIndex).compareTo(right.get(rightIndex))) < 0) {\n k.set(kIndex, left.get(leftIndex));\n leftIndex++;\n } else {\n k.set(kIndex, right.get(rightIndex));\n rightIndex++;\n }\n kIndex++;\n }\n List<Integer> rest=new ArrayList<>();\n int restIndex;\n if (leftIndex >= left.size()) {\n // The left ArrayList has been used up...\n rest = right;\n restIndex = rightIndex;\n } else {\n // The right ArrayList has been used up...\n rest = left;\n restIndex = leftIndex;\n }\n // Copy the rest of whichever ArrayList (left or right) was not used up.\n for (int i=restIndex; i<rest.size(); i++) {\n k.set(kIndex, rest.get(i));\n kIndex++;\n }\n }", "title": "" }, { "docid": "6adc43b9e34fa79d3defe089ed6aca88", "score": "0.59720117", "text": "private void mergeReversed(LinkedList<E> list, LinkedList<E> low, LinkedList<E> high) {\n \n int i = 0;\n int j = 0;\n int count = 0;\n \n int list1 = low.size();\n int list2 = high.size();\n \n while( i < list1 && j < list2) {\n if((int) low.get(i) >= (int) high.get(j)) {\n list.set(count, low.get(i));\n i++;\n }\n else {\n list.set(count, high.get(j));\n j++;\n }\n count++;\n }\n while (i < list1) {\n list.set(count, low.get(i));\n i++;\n count++;\n }\n while(j < list2) {\n list.set(count, high.get(j));\n j++;\n count++;\n }\n \n \n \n }", "title": "" }, { "docid": "bfe33339e65de2eee734075bde649296", "score": "0.59645444", "text": "public static IntList catenate(IntList A, IntList B) {\n //TODO: fill in method\n if(A == null){\n if(B == null){\n return null;\n }\n else{\n return new IntList(B.first, catenate(B.rest,null));}\n }\n else{\n return new IntList(A.first,catenate(A.rest,B));\n }\n }", "title": "" }, { "docid": "cc81f520612f04547cef6ba744948ea3", "score": "0.59636307", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n int[] m=getCharFromNode(l1);\n int[] n=getCharFromNode(l2);\n int len=m.length>n.length?m.length:n.length;\n int[] t=new int[len+1];\n int upInt=0;\n if(len==m.length){\n int temp;\n for(int i=0;i<len;i++){\n if(i+1>n.length){\n temp=m[i]+upInt;\n }else{\n temp=m[i]+n[i]+upInt;\n }\n upInt=0;\n if(temp>9){\n t[i]=temp%10;\n upInt=1;\n }else{\n t[i]=temp;\n }\n }\n }else if(len==n.length){\n int temp;\n for(int i=0;i<len;i++){\n if(i+1>m.length){\n temp=n[i]+upInt;\n }else{\n temp=m[i]+n[i]+upInt;\n }\n upInt=0;\n if(temp>9){\n t[i]=temp%10;\n upInt=1;\n }else{\n t[i]=temp;\n }\n }\n }\n t[t.length-1]=upInt;\n\n ListNode cur=null;\n ListNode temp=null;\n\n int loopLegth=t.length-1;\n if(t[t.length-1]==0){\n loopLegth-=1;\n }\n\n if(loopLegth==0){\n return new ListNode(t[0]);\n }\n\n for(int i=0;i<=loopLegth;i++){\n if(temp==null){\n temp=new ListNode(t[i]);\n cur=temp;\n }else {\n temp.next=new ListNode(t[i]);\n temp=temp.next;\n }\n }\n return cur;\n }", "title": "" }, { "docid": "f371da4ca28772880818c304ddce5be5", "score": "0.59574735", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n ListNode dummy = new ListNode(0);\n ListNode dummyCurr = dummy;\n ListNode curr1 = l1, curr2 = l2;\n int carry = 0;\n while(curr1 != null || curr2 != null){\n int val = (curr1 == null ? 0 : curr1.val) + (curr2 == null ? 0 : curr2.val) + carry;\n carry = val / 10;\n val = val % 10;\n if(dummy.next == null){\n dummy.next = new ListNode(val);\n dummyCurr = dummy.next;\n }\n else{ \n dummyCurr.next = new ListNode(val);\n dummyCurr = dummyCurr.next;\n } \n if(curr1 != null) curr1 = curr1.next;\n if(curr2 != null) curr2 = curr2.next;\n }\n if(carry > 0) dummyCurr.next = new ListNode(carry);\n return dummy.next;\n }", "title": "" }, { "docid": "82fc9ec9c9c78badd257c00cec90658d", "score": "0.5950148", "text": "public static void weaveLists(LinkedList<Integer> first, LinkedList<Integer> second, ArrayList<LinkedList<Integer>> results, LinkedList<Integer> prefix) {\r\n\t\t/* One list is empty. Add the remainder to [a cloned] prefix and\r\n\t\t * store result. */\r\n\t\tif (first.size() == 0 || second.size() == 0) {\r\n\t\t\tLinkedList<Integer> result = (LinkedList<Integer>) prefix.clone();\r\n\t\t\tresult.addAll(first);\r\n\t\t\tresult.addAll(second);\r\n\t\t\tresults.add(result);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t/* Recurse with head of first added to the prefix. Removing the\r\n\t\t * head will damage first, so we’ll need to put it back where we\r\n\t\t * found it afterwards. */\r\n\t\tint headFirst = first.removeFirst();\r\n\t\tprefix.addLast(headFirst);\r\n\t\tweaveLists(first, second, results, prefix);\r\n\t\tprefix.removeLast();\r\n\t\tfirst.addFirst(headFirst);\r\n\t\t\r\n\t\t/* Do the same thing with second, damaging and then restoring\r\n\t\t * the list.*/\r\n\t\tint headSecond = second.removeFirst();\r\n\t\tprefix.addLast(headSecond);\r\n\t\tweaveLists(first, second, results, prefix);\r\n\t\tprefix.removeLast();\t\r\n\t\tsecond.addFirst(headSecond);\r\n\t}", "title": "" }, { "docid": "2c350f02c8b625eec07713c752dd03fd", "score": "0.5947273", "text": "public static ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n if(l1 == null && l2 == null) return null;\n if(l1 == null && l2 != null) return l2;\n if(l1 != null && l2 == null) return l1;\n\n ListNode n1 = l1;\n ListNode n2 = l2;\n int s1 = 0, s2 = 0;\n while(n1 != null){\n s1++;\n n1 = n1.next;\n }\n while(n2 != null){\n s2++;\n n2 = n2.next;\n }\n\n ListNode sumHead;\n int temp = 0;\n ListNode m1 = l1, m2 = l2;\n if(m1.val + m2.val >= 10){\n sumHead = new ListNode(m1.val + m2.val-10);\n temp = 1;\n }else{\n sumHead = new ListNode(m1.val + m2.val);\n }\n\n ListNode m = sumHead;\n\n if(s1 <= s2){\n while(s1 > 1){\n s1--;\n s2--;\n m1 = m1.next;\n m2 = m2.next;\n int sum = m1.val +m2.val +temp;\n temp = 0;\n if(sum >= 10){\n m.next = new ListNode(sum-10);\n temp = 1;\n }else{\n m.next = new ListNode(sum);\n }\n m = m.next;\n }\n while(s2 >1){\n s2--;\n m2 = m2.next;\n int sum = m2.val+temp;\n temp =0;\n if(sum >= 10){\n m.next = new ListNode(sum-10);\n temp = 1;\n }else{\n m.next = new ListNode(sum);\n }\n m = m.next;\n }\n\n }else{\n while(s2 > 1){\n s1--;\n s2--;\n m1 = m1.next;\n m2 = m2.next;\n int sum = m1.val +m2.val +temp;\n temp = 0;\n if(sum >= 10){\n m.next = new ListNode(sum-10);\n temp = 1;\n }else{\n m.next = new ListNode(sum);\n }\n m = m.next;\n }\n while(s1 >1){\n s1--;\n m1 = m1.next;\n int sum = m1.val+temp;\n temp =0;\n if(sum >= 10){\n m.next = new ListNode(sum-10);\n temp = 1;\n }else{\n m.next = new ListNode(sum);\n }\n m = m.next;\n }\n }\n\n if(temp != 0) m.next = new ListNode(temp);\n\n return sumHead;\n }", "title": "" }, { "docid": "cd4bf46053ec5121022f475f2bd7518c", "score": "0.5943865", "text": "public ListNode mergeKLists_v2(List<ListNode> list) throws Exception {\n Queue<ListNode> maxHeap = new PriorityQueue<>(list.size());\n ListNode head = new ListNode(0);\n \n //Build a maxHeap from each head of the input list\n for (ListNode h : list) {\n maxHeap.add(h);\n }\n \n ListNode curr = head;//The head of the new merged list.\n while (!maxHeap.isEmpty()) {\n //Get the max one in the heap\n ListNode h = maxHeap.remove();\n //Add the next node to the maxheap\n if (h.next != null) {\n maxHeap.add(h.next);\n }\n \n curr.next = h;\n h.next = null;\n curr = curr.next;\n }\n \n return head.next;\n }", "title": "" }, { "docid": "260c64982b419601878959ecf3142a1a", "score": "0.59403646", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n ListNode dummyHead = new ListNode(0);\n ListNode p = l1,\n q = l2,\n curr = dummyHead;\n int carry = 0;\n while (p != null || q != null) {\n int x = (p != null) ? p.val: 0;\n int y = (q != null) ? q.val: 0;\n int sum = carry + x + y;\n carry = sum / 10;\n curr.next = new ListNode(sum % 10);\n curr = curr.next;\n if (p != null) p = p.next;\n if (q != null) q = q.next;\n }\n if (carry > 0) {\n curr.next = new ListNode(carry);\n }\n return dummyHead.next;\n}", "title": "" }, { "docid": "18501daa3d58a33f5b530d3edfdcc953", "score": "0.593573", "text": "public static void combine(ArrayList<Integer> first, ArrayList<Integer> second){\r\n int control = 0;\r\n int size1 = first.size();\r\n int size2 = second.size();\r\n while(control < size1 && control < size2){\r\n if(first.contains(second.get(control))){\r\n second.remove(control);\r\n }else{\r\n first.add(second.get(control));\r\n }\r\n \r\n control++;\r\n }\r\n }", "title": "" }, { "docid": "3c628b456f9134c0af9870e2d77ff1e1", "score": "0.59286594", "text": "void merge() {\n final List<T> buffer = Collections.unmodifiableList(new ArrayList<>(list.subList(low, high)));\n final int bufferLastIndex = buffer.size() - 1;\n final int bufferMiddle = (high - low) / 2;\n // re-arrange items in the list according to buffer\n for (int listIndex = low, bufferLeftIndex = 0, bufferRightIndex = bufferMiddle; listIndex < high; listIndex++) {\n if (bufferRightIndex > bufferLastIndex ||\n (bufferLeftIndex < bufferMiddle &&\n comparator.compare(buffer.get(bufferLeftIndex), buffer.get(bufferRightIndex)) <= 0)) {\n list.set(listIndex, buffer.get(bufferLeftIndex++));\n } else {\n list.set(listIndex, buffer.get(bufferRightIndex++));\n }\n }\n }", "title": "" }, { "docid": "f24196372741bb40f54f31a8fec20046", "score": "0.59285855", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n int c=0;\n ListNode *x=l1;\n ListNode *y=l2;\n l2=l2->next;\n l1=l1->next;\n int a;\n a=(x->val)+(y->val)+c;\n ListNode l=new ListNode(a%10);\n ListNode head=l;\n c=a/10;\n while(l1!=NULL||l2!=NULL){\n if(l1==NULL&&l2!=NULL){\n a=l2->val + c;\n //=l1->next;\n l2=l2->next;\n }\n if(l1!=NULL&&l2==NULL){\n a=l1->val + c;\n l1=l1->next;\n //=l2->next;\n }\n if(l1!=NULL&&l2!=NULL){\n a=l2->val+l1->val+c;\n l1=l1->next;\n l2=l2->next;\n }\n ListNode newnode=new ListNode(a%10);\n c=a/10;\n l->next=newnode;\n l=newnode; \n }\n if(c!=0)\n {\n ListNode newnode=new ListNode(c);\n l->next=newnode; \n }\n return head;\n }", "title": "" }, { "docid": "98ad664b0d4d450ca68775f88441072f", "score": "0.59166867", "text": "public ListNode addTwoNumbers(ListNode l1, ListNode l2) {\n if (l1 == null || l2 == null) {\n return null;\n }\n int carry = 0;\n ListNode root = new ListNode(-1);\n ListNode dummy = root;\n while (l1 != null || l2 != null) {\n int value = (l1 == null ? 0 : l1.val) + (l2 == null ? 0 : l2.val) + carry;\n ListNode node = new ListNode(value % 10);\n carry /= 10;\n\n dummy.next = node;\n\n dummy = dummy.next;\n\n l1 = l1 == null ? null : l1.next;\n\n l2 = l2 == null ? null : l2.next;\n\n }\n return root.next;\n }", "title": "" } ]
0eebf20d3db29e9de3771f3e70415940
Internal method to print a subtree in sorted order.
[ { "docid": "cc668e49dbdbaca9a06ea5040e6cbc78", "score": "0.65128535", "text": "private void printTree( BinaryNode<AnyType> t )\n {\n if( t != null )\n {\n printTree( t.left );\n System.out.println( t.element );\n printTree( t.right );\n }\n }", "title": "" } ]
[ { "docid": "9504d62520601271f90e764373c20911", "score": "0.7463656", "text": "void printInOrder()\n\t{\n\t\tprintInOrder(root);\n\t}", "title": "" }, { "docid": "ef7a160734b034a62abb040743ca36d0", "score": "0.7325559", "text": "@Override\n\tpublic void printInorder() {\n\t\tif (null == rootNode) {\n\t\t\tSystem.out.println(\"<Empty Tree>\");\n\t\t} else {\n\t\t\tprintInorder(rootNode);\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "93fd0b2baaac725d8c7bfb6bc031035d", "score": "0.7309865", "text": "public void print(){\n printInorder(overallRoot);\n System.out.println();\n }", "title": "" }, { "docid": "b509eb70bb21674cfa8a5a63d44f1fb3", "score": "0.72809726", "text": "public void printTreeInOrder(){\n\t System.out.println(\"The tree nodes in inorder:\");\n\t printInOrder(root);\n\t System.out.println();\n }", "title": "" }, { "docid": "960649a210ba67e84deecb1e5877a7c8", "score": "0.72081566", "text": "public void print() {\n printInorder(overallRoot);\n }", "title": "" }, { "docid": "f71254639e3f23ec3d2c8dc05a6c1f72", "score": "0.7193954", "text": "public void displayTree(){\n\t\tinorder(rootNode);\n\t\t\n\t}", "title": "" }, { "docid": "7a830c92d0cf4afd6d4cb40590577db8", "score": "0.71685034", "text": "public void printTree(){\n this.maxDepth=0;\n UI.clearText();\n DTNode n = theTree;\n printTree1(n, \"question\", 0);\n }", "title": "" }, { "docid": "a69771123159ab65ba76896caf1cc163", "score": "0.7141423", "text": "public void printTree() {\n\t\tprintSubtree(root);\n\t}", "title": "" }, { "docid": "d42e71ae3cbeec7cac72855f397c98ab", "score": "0.7109447", "text": "public void printInorder() {\n\t\tprintInorder(myRoot);\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "80d86de8d0be25db862b06378e6e8699", "score": "0.7089429", "text": "public void printInorder() {\r\n\t\tif (this.root != null) {\r\n\t\t\tnew BinaryTree<E>(this.root.getLeftChild()).printInorder();\r\n\t\t\tSystem.out.print(this.root.getValue());\r\n\t\t\tnew BinaryTree<E>(this.root.getRightChild()).printInorder();\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "dcf2566e33f2a9bf500059409f167600", "score": "0.70372105", "text": "public void printTree() {\n System.out.print(\"[\" + size + \"]\");\n printTree(root);\n System.out.println();\n }", "title": "" }, { "docid": "2db068c18944bbd31757058f2bb25ef0", "score": "0.701769", "text": "void printPostorder() { printpostOrder(root); }", "title": "" }, { "docid": "d82cadef2e9610438f61ea987b1db59f", "score": "0.6988235", "text": "public void print(){\r\n\t\tprintTree(root, 0);\r\n\t}", "title": "" }, { "docid": "5d6c234adca104f4c84b3c08ed217361", "score": "0.6941404", "text": "public void inOrderPrint() {\n inOrderPrint(root);\n System.out.println();\n }", "title": "" }, { "docid": "85bfe4464c176a64eb7d698b9991047c", "score": "0.6934464", "text": "void printLevelOrder() {\n\t\tint h = height(root);\t\t\n\t\tSystem.out.println(h);\t\t\n\t\tSystem.exit(0);\n\t\t\n\t\tint i;\n\t\tfor (i = 1; i <= h; i++)\n\t\t\tprintGivenLevel(root, i);\n\t}", "title": "" }, { "docid": "3e2d5fdae91e9581f0943b4b044ca27b", "score": "0.69266015", "text": "public void printDirectoryTree() {\n\n\t\tcursor.preorderPrint();\n\t\t\n\t}", "title": "" }, { "docid": "57f2687f7f8523b86beba1c74da99b69", "score": "0.6900296", "text": "private void printTree( BinaryNode t ){\n\t\tif( t != null ){\n\t\t\tprintTree( t.left );\n\t\t System.out.print(t.element+\",\");\n\t\t printTree( t.right );\n\t\t} \n\t}", "title": "" }, { "docid": "376bf9b2c30b014b654a3bc2cf1244ab", "score": "0.68984795", "text": "public static void printOrder(MyBinarySearchTreeNode<Integer> root){\n\t\t\n\t\t//time cost= O(N)\n\t\t//space cost= O(0)\n\n\t\t\n\t\tif(root != null){\n\t\t\tprintOrder(root.leftNode);\n\t\t\tprintOrder(root);\n\t\t\tprintOrder(root.rightNode);\n\t\t}\n\t}", "title": "" }, { "docid": "dcebabb99461e26fb56cf4f43fa4435a", "score": "0.6876687", "text": "public void printTree(BinaryTreeNode[] list);", "title": "" }, { "docid": "4779fccd1f5a743580500a238292933a", "score": "0.6869149", "text": "public void printLevelOrder() {\n\t\tint h = height(root);\n\t\tfor(int i = 1; i<=h; i++) {\n\t\t\tprintGivenLevel(root, i);\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "title": "" }, { "docid": "8e2f5c4873a20ace202dda89223ffa45", "score": "0.68367475", "text": "void printTree(Entry<T> root) {\r\n \tint height = treeHeight(root);\r\n\tfor(int i=1;i<height; height++){\r\n\t\tprintLevel(root,i);\r\n\t}\r\n }", "title": "" }, { "docid": "cfbfde8002b60a4b0b63e037fe06f326", "score": "0.6831238", "text": "public void printInOrder()\n {\n inOrder(root);\n }", "title": "" }, { "docid": "8a879e20198eeb695f26eefef2fed571", "score": "0.68115175", "text": "void printPostorder() {\t printPostorder(root); }", "title": "" }, { "docid": "93393048c7860a939e37f9ac95cefa23", "score": "0.6802278", "text": "void printLevelOrder()\n {\n int h = height(root);\n int i;\n for (i=1; i<=h; i++)\n printGivenLevel(root, i);\n }", "title": "" }, { "docid": "91c1c6f09ec60d148863a4a3d7ed1cd7", "score": "0.67901397", "text": "public void displayLevelOrder(){\n\t\tif(mRoot == null){\n\t\t\tSystem.out.println(\"Error: Tree is empty.\");\n\t\t}\n\t\t\n\t\tQueue<Node> queue = new LinkedList<Node>();\n\t\t\n\t\tqueue.add(mRoot);\n\t\twhile(!queue.isEmpty()){\n\t\t\tNode node = queue.peek();\n\t\t\tSystem.out.print(node.mData + \" \");\n\t\t\tqueue.remove();\n\t\t\t\n\t\t\tif(node.mLeft != null)\n\t\t\t\tqueue.add(node.mLeft);\n\t\t\t\n\t\t\tif(node.mRight != null)\n\t\t\t\tqueue.add(node.mRight);\n\t\t}\n\t\t\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "4e8046350ab3d09997cd72a1313194b3", "score": "0.67532676", "text": "public void printLevelOrder() {\n TreeNodeBFS nextLevelRoot = this;\n while (nextLevelRoot != null) {\n TreeNodeBFS current = nextLevelRoot;\n nextLevelRoot = null;\n while (current != null) {\n System.out.print(current.val + \" \");\n if (nextLevelRoot == null) {\n if (current.left != null)\n nextLevelRoot = current.left;\n else if (current.right != null)\n nextLevelRoot = current.right;\n }\n current = current.next;\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "7080ba352a9dd03134ffffe94ed081b3", "score": "0.67421883", "text": "public void printInOrder() {\r\n\t\tStack<SplayNode> S = new Stack<SplayNode>();\r\n\t\tSplayNode node = root;\r\n\t\tpushLeftNodesToStack(S, node);\r\n\t\twhile (!S.empty()) {\r\n\t\t\tSplayNode<E> n = S.pop();\r\n\t\t\tSystem.out.println(n + \" \");\r\n\t\t\tn = n.getRight();\r\n\t\t\tpushLeftNodesToStack(S, n);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "df953718a9e2afffe0a7208c5ea91d38", "score": "0.6734908", "text": "void printLevelOrder() {\n Queue<BSTNode> queue = new LinkedList<BSTNode>();\n queue.add(root);\n while (!queue.isEmpty())\n {\n BSTNode tempNode = queue.poll();\n System.out.print(tempNode.data + \" \");\n\n /*Enqueue left child */\n if (tempNode.left != null) {\n queue.add(tempNode.left);\n }\n\n /*Enqueue right child */\n if (tempNode.right != null) {\n queue.add(tempNode.right);\n }\n }\n }", "title": "" }, { "docid": "4b80688589dc2f232ac5ea51c7c1af98", "score": "0.66920555", "text": "public void printBinarySearchTree(){\n this.printBinaryNode(root);\n }", "title": "" }, { "docid": "8e7eaed7531ae8f6165e0a440d79908c", "score": "0.6691198", "text": "public void printPreorder() {\r\n\t\tif (this.root != null) {\r\n\t\t\tSystem.out.print(this.root.getValue());\r\n\t\t\tnew BinaryTree<E>(this.root.getLeftChild()).printPreorder();\r\n\t\t\tnew BinaryTree<E>(this.root.getRightChild()).printPreorder();\r\n\t\t}\t\r\n\t}", "title": "" }, { "docid": "c0c3dbf23369b5f635aa06c3c791161b", "score": "0.6661787", "text": "public void printInOrder(Node root){\n\t\t\n\t\tif(root==null)\n\t\t\treturn;\n\t\t\n\t\tprintInOrder(root.left);\n\t\tSystem.out.println(root.data);\n\t\tprintInOrder(root.right);\n\t\t\n\t}", "title": "" }, { "docid": "2e7b057b08e45750cb23198e0e095bbb", "score": "0.6649157", "text": "public void printTree() {\n\t\tif( root == null )\n\t\t\tSystem.out.println( \"Empty tree\" );\n\t\telse\n\t\t\tprintTree(root);\n\t}", "title": "" }, { "docid": "09cdb73199374d1f4e5a9d08ab19cf18", "score": "0.66429055", "text": "public void printTree() {\n\t\tSystem.out.println(printHelp(root));\r\n\t}", "title": "" }, { "docid": "f7baf737a3d70853f0116772440ae4a9", "score": "0.6637634", "text": "void print() {\n for (int k = 0; k <= parent(size - 1); k++) {\n int level = (int) (Math.log(k + 1) / Math.log(2));\n System.out.print(level + \". Seviye \");\n\n System.out.print(\" Parent : \" + heap[k]);\n\n int left = 2 * k + 1;\n int right = 2 * k + 2;\n\n System.out.print(\"\\t\\tLeft Child: \" + heap[left]);\n\n if (right < size) {\n System.out.print(\"\\t\\tRight Child :\" + heap[right]);\n } else {\n System.out.print(\"\\t\\tRight Child : -\");\n }\n\n System.out.println();\n }\n }", "title": "" }, { "docid": "ee7ffaf9e90d06e4c18c17164574a08f", "score": "0.6633237", "text": "private void printInorder(GuestTreeNode root){\n if(root != null){\n printInorder(root.left); \n System.out.print(root.data + \" \");\n printInorder(root.right);\n }\n }", "title": "" }, { "docid": "ae94c42368e44b073611b29b2522a077", "score": "0.6631883", "text": "public void printInOrder() {\n List<Node> inOrder = new ArrayList<>();\n keysInOrder(root, inOrder);\n System.out.println(Arrays.toString(inOrder.toArray()));\n }", "title": "" }, { "docid": "2a52c42da0878494d1b8e7a07f30a0ed", "score": "0.66259015", "text": "static void printLevelOrder(BST tree) {\n\t\tint h = tree.getRoot().getHeight();\n\t\tfor (int i = 0; i <= h; i++) {\n\t\t\tprintGivenLevel(tree.getRoot(), i);\n\t\t}\n\n\t}", "title": "" }, { "docid": "696c02334dd54f0a3aa5bb2e7fea6305", "score": "0.6625844", "text": "public void printLevelOrder() {\r\n\t\tint height = -1;\r\n\t\tQueueList<SplayNode> q = new QueueList<SplayNode>();\r\n\r\n\t\tif (root == null) {\r\n\t\t\tsize = 0;\r\n\t\t\tSystem.out.println(root);\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tq.enqueue(root);\r\n\t\twhile (!q.isEmpty()) {\r\n\t\t\tint nodeCount = q.size();\r\n\r\n\t\t\twhile (nodeCount > 0) {\r\n\t\t\t\tSplayNode<E> node = q.dequeue();\r\n\t\t\t\tSystem.out.print(node.getElement() + \" \");\r\n\t\t\t\tif (node.hasLeft()) {\r\n\t\t\t\t\tq.enqueue(node.getLeft());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (node.hasRight()) {\r\n\t\t\t\t\tq.enqueue(node.getRight());\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\tnodeCount--;\r\n\t\t\t}\r\n\r\n\t\t\tSystem.out.println(\"\");\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "eceaad2e6aaa7848c9c8e00af476ff92", "score": "0.6621469", "text": "public void printTree() {\r\n System.out.println(\"Root is: \" + vertices.get(root));\r\n System.out.print(\"Edges: \");\r\n for (int i = 0; i < parent.length; i++) {\r\n if (parent[i] != -1) {\r\n // Display an edge\r\n System.out.print(\"(\" + vertices.get(parent[i]) + \", \" +\r\n vertices.get(i) + \") \");\r\n }\r\n }\r\n System.out.println();\r\n }", "title": "" }, { "docid": "f519ebcd12d34fb97c5b9e4a64c6628c", "score": "0.6614417", "text": "public void printTree() {\n\t System.out.println(\"Print of tree\");\n\t //ROW Accommodate for the nodes and slashes \n\t //Column NOT UNECESSARY 100 spaces since the white spaces will be there regardless \n\t String[][] treeChoose = new String[2*height(root())][100];\n\t //call printtree1 with root information -- will go through the tree recursively\n\t printTree1(root(), height(root()), 0, treeChoose[0].length/2, treeChoose);\n\t \n\t //when null, empty\n\t for (int n=0; n < treeChoose.length; n++) {\n\t\t for(int m=0; m<treeChoose[0].length; m++) {\n\t\t\t if(treeChoose[n][m]==null) {\n\t\t\t\t treeChoose[n][m]= \" \";\t \n\t\t\t }\n\t\t\t //print\n\t\t\t System.out.print(treeChoose[n][m]);\n\t\t }\n\t\t //line separation\n\t\t System.out.println();\n\t }\n \n\t\n }", "title": "" }, { "docid": "cfd9cc29b18e768b3a0cff731e49bbc7", "score": "0.66001457", "text": "void printPostorder() {\n printPostorder(root);\n }", "title": "" }, { "docid": "4ba09530a5b8546884f05df92d978574", "score": "0.65929544", "text": "void printInorder(Node node) \n\t{ \n\t\tif (node == null) \n\t\t\treturn; \n\n\t\t/* first recur on left child */\n\t\tprintInorder(node.left); \n\n\t\t/* then print the data of node */\n\t\tSystem.out.print(node.key + \" \"); \n\n\t\t/* now recur on right child */\n\t\tprintInorder(node.right); \n\t}", "title": "" }, { "docid": "5a7ffb7add179fa27e1c7c954aca735f", "score": "0.65894216", "text": "public void printInorder(){\r\n\t printInOrderRec(root);\r\n\t System.out.println(\"\");\r\n\t }", "title": "" }, { "docid": "33e7643e5cb5555dfba29bd30e88f6ff", "score": "0.65775", "text": "private void printTree(TreeNode node)\n\t{\n\t\tprintState(node.state);\n\t\tSystem.out.println(node.level + \" v: \" + node.v + \" eval: \" + node.eval);\n\t\t\n\t\tif (node.children != null)\n\t\t{\n\t\t\tfor (int i = 0; i < 7; i++)\n\t\t\t{\n\t\t\t\tif (node.children[i] != null)\n\t\t\t\t{\n\t\t\t\t\tprintTree(node.children[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "cedf0a8ab6d63005eb0f3c53ec3ac6a5", "score": "0.65761185", "text": "public void print(){\n NodoB tmp=_root;\n printIOD(tmp);\n }", "title": "" }, { "docid": "eb2e1938adb57442ac9cdda937d60379", "score": "0.65553474", "text": "public void printPostorder() {\r\n\t\tif (this.root != null) {\r\n\t\t\tnew BinaryTree<E>(this.root.getLeftChild()).printPostorder();\r\n\t\t\tnew BinaryTree<E>(this.root.getRightChild()).printPostorder();\r\n\t\t\tSystem.out.print(this.root.getValue());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "28b45cc02580f38facdd68ec5098b152", "score": "0.6549569", "text": "public void printLevelOrder2() {\n\t\tQueue<Node> queue = new LinkedList<Node>();\n\t\tqueue.add(root);\n\t\t\n\t\twhile(!queue.isEmpty()) {\n\t\t\t//poll() removes the present head... just like dequeue\n\t\t\tNode tempNode = queue.poll();\n\t\t\tSystem.out.print(tempNode.key + \" \");\n\t\t\t\n\t\t\t//Enqueue left child\n\t\t\tif(tempNode.left != null) {\n\t\t\t\tqueue.add(tempNode.left);\n\t\t\t}\n\t\t\t//Enqueue right child\n\t\t\tif(tempNode.right != null) {\n\t\t\t\tqueue.add(tempNode.right);\n\t\t\t}\n\t\t}\t\n\t}", "title": "" }, { "docid": "93cb10ee9e8166b089cbcad07851b206", "score": "0.6545663", "text": "private void inOrderPrint(Node node) {\n if (node == null) {\n \treturn;\n } else {\n \tinOrderPrint(node.left);\n \tSystem.out.print(node.data);\n \tinOrderPrint(node.right);\n }\n }", "title": "" }, { "docid": "2f491105fdae4e2a115197817629bdda", "score": "0.6544454", "text": "private void printInorder(IntTreeNode root) {\n if (root != null) {\n printInorder(root.left);\n System.out.print(\" \" + root.data);\n printInorder(root.right);\n }\n }", "title": "" }, { "docid": "bfe8f7e170705ab23d9a6ea8d1c42f49", "score": "0.65400183", "text": "public void printTree() {\n if (root != null)\n root.printTree(0);\n else\n System.out.println(\"Empty Tree\");\n }", "title": "" }, { "docid": "fdd944f4c9ce29b302e1bad3da847249", "score": "0.65284425", "text": "private void printTree( BinaryNode<AnyType> t )\n {\n if( t != null )\n {\n printTree( t.right );\n System.out.println( t.element );\n printTree( t.left );\n }\n }", "title": "" }, { "docid": "e143bcbc8e33308205dcaefb30771761", "score": "0.65196514", "text": "private void printPostOrder() {\n\t\tprintPostOrder(root);\r\n\t}", "title": "" }, { "docid": "ff95749aab0d02bce33966a4f810ad33", "score": "0.65117866", "text": "public void printInorder(Node root) {\n\t\tif (root!= null) {\n\t\t\tprintInorder(root.left);\n\t\t\tSystem.out.print(root.key+ \"(\"+root.count+\")\"+\"\\t\");\n\t\t\tprintInorder(root.right);\n\t\t}\n\t\telse {\n\t\t\treturn ;\n\t\t}\n\t}", "title": "" }, { "docid": "a8af31683344e8c4c1875e9956284715", "score": "0.649967", "text": "public void printPostorder()\r\n\t{\n postorder(root);\r\n System.out.println(\" \");\r\n\t}", "title": "" }, { "docid": "da5e4452a37abc60e21ae23a39dbbaac", "score": "0.6497806", "text": "public void printTree(\n OpenBTree btree) \n throws StandardException\n {\n if (SanityManager.DEBUG)\n {\n SanityManager.DEBUG_PRINT(\"p_tree\", this.debugPage(btree));\n\n return;\n }\n }", "title": "" }, { "docid": "461c3443a3c52e309faa30ecc9413adf", "score": "0.6492386", "text": "public void printPreOrder()\n {\n preOrder(root);\n }", "title": "" }, { "docid": "cd68c050a80aedad2b44411c07093e72", "score": "0.6481534", "text": "private void printTree( AvlNode<AnyType> t )\n {\n if( t != null )\n {\n printTree( t.left );\n System.out.println( t.element );\n printTree( t.right );\n }\n }", "title": "" }, { "docid": "c74508a42b9f871de1766450f8d80895", "score": "0.6478069", "text": "private void printInorder(SearchTreeNode<E> root) {\n if (root != null) {\n printInorder(root.left);\n System.out.println(root.data);\n printInorder(root.right);\n }\n }", "title": "" }, { "docid": "524f4fd893f1a5bedb8faaa266bb0b2c", "score": "0.64734143", "text": "public void print() \n\t{\n\n\t\tprintTreeNode(root, null, 0, 0);\n\t}", "title": "" }, { "docid": "0ec4d8fd958905aab95ff290cb4e7689", "score": "0.64485407", "text": "private static void displayInOrder(BinaryNode node) {\n\t\t\n\t\tif (node == null) return;\n\t\tdisplayInOrder(node.left);\n\t\tSystem.out.print(node.data + \" \");\n\t\tdisplayInOrder(node.right);\n\t}", "title": "" }, { "docid": "c875d446fd3c570f9aa5978f2761cac9", "score": "0.64464974", "text": "public void printInorder() {\n System.out.print(\"inorder:\");\n printInorder(overallRoot);\n System.out.println();\n }", "title": "" }, { "docid": "f3bc05cb4780742dbefec236e9ffb2ac", "score": "0.6419526", "text": "void printPostorder(Node node) \n\t{ \n\t\tif (node == null) \n\t\t\treturn; \n\n\t\t// first recur on left subtree \n\t\tprintPostorder(node.left); \n\n\t\t// then recur on right subtree \n\t\tprintPostorder(node.right); \n\n\t\t// now deal with the node \n\t\tSystem.out.print(node.key + \" \"); \n\t}", "title": "" }, { "docid": "4ac608bedf0415d2f2a5c020a737e062", "score": "0.64187497", "text": "public String printTree() {\n\t\tString s = \"{\\\"head\\\": \" + head.toString();\n\n\t\tif (leafs.size() > 0) {\n\t\t\ts += \", \\\"leafs\\\":[\";\n\t\t}\n\t\tfor (int i = 0; i < leafs.size(); i++) {\n\t\t\ts += leafs.get(i).toString();\n\n\t\t\tif (leafs.size() - i > 1)\n\t\t\t\ts += \",\";\n\n\t\t}\n\t\tif (leafs.size() > 0) {\n\t\t\ts += \"]\";\n\t\t}\n\t\treturn s += \"}\";\n\t}", "title": "" }, { "docid": "355929299409e9d05776f2fb686cd179", "score": "0.6396197", "text": "public void printInorderPrint() {\n System.out.print(\"InOrder: [ \");\n InOrderTraverse(tree);\n System.out.print(s.substring(0, s.length() - 2));\n System.out.print(\" ]\");\n s = \"\";\n }", "title": "" }, { "docid": "376b8e175c60debaf0b10a880460bfe7", "score": "0.63908976", "text": "void printTree(Entry<T> node) {\n\t\tif(node != null) {\n\t\t\tprintTree(node.left);\n\t\t\tSystem.out.print(\" \" + node.element);\n\t\t\tprintTree(node.right);\n\t\t}\n\t}", "title": "" }, { "docid": "a3f773f2ee9ed5ac3cbd7d656ae59b01", "score": "0.63656354", "text": "public void printPostOrder()\n {\n postOrder(root);\n }", "title": "" }, { "docid": "7d36bf7df5f92c088114d3258953bd7b", "score": "0.6359051", "text": "public static void printPosOrder(MyBinarySearchTreeNode<Integer> root){\n\t\t\n\t\t//time cost= O(N)\n\t\t//space cost= O(0)\n\t\t\n\t\tif(root != null){\n\t\t\tprintOrder(root.leftNode);\n\t\t\tprintOrder(root.rightNode);\n\t\t\tprintOrder(root);\n\t\t}\n\t}", "title": "" }, { "docid": "7e5d63a452e485b118fb9690a6509746", "score": "0.635703", "text": "public void preorderPrint() {\n\t\tSystem.out.println(data);\n\t\tif (left != null)\n\t\t\tleft.preorderPrint();\n\t\tif (right != null)\n\t\t\tright.preorderPrint();\n\t}", "title": "" }, { "docid": "9da4779681676e3f2c858cca351f40fe", "score": "0.6357003", "text": "public void printTree( )\n {\n if( isEmpty( ) )\n System.out.println( \"Empty tree\" );\n else\n printTree( root );\n }", "title": "" }, { "docid": "9da4779681676e3f2c858cca351f40fe", "score": "0.6357003", "text": "public void printTree( )\n {\n if( isEmpty( ) )\n System.out.println( \"Empty tree\" );\n else\n printTree( root );\n }", "title": "" }, { "docid": "9da4779681676e3f2c858cca351f40fe", "score": "0.6357003", "text": "public void printTree( )\n {\n if( isEmpty( ) )\n System.out.println( \"Empty tree\" );\n else\n printTree( root );\n }", "title": "" }, { "docid": "e92f8a493e4ab1cab6ce79876ac61935", "score": "0.6346984", "text": "private void treePrintAll() {\n for (int i = 0; i < binaryTree.length; i++) {\n \n if(binaryTree[i] != null) {\n System.out.println(\"[i = \" + i + \"] : Daten -> \" + binaryTree[i].getDaten() );\n }\n }\n }", "title": "" }, { "docid": "00b1bb375b6c39c787bc8c8cf3a0b3c5", "score": "0.63299334", "text": "public void print() {\n\n int[] heap = this.getHeap();\n int size = this.getSize();\n int maxSize = this.getMaxSize();\n\n System.out.println(\"++++++++++++++++++\\nSize: \" + size + \"\\nMax-Size: \" + maxSize + \"\\n++++++++++++++++++++++++++\");\n\n for (int i = 0; i < size; i++) {\n\n String toPrint = \"Parent: \" + heap[i];\n\n int leftChild = this.leftChild(i);\n if (this.posInRange(leftChild) && leftChild < size) {\n toPrint += \"\\n(\" + leftChild + \") Left: \" + heap[leftChild];\n }\n\n int rightChild = this.rightChild(i);\n if (this.posInRange(rightChild) && rightChild < size) {\n toPrint += \"\\n(\" + rightChild + \") Right: \" + heap[rightChild];\n }\n\n System.out.println(toPrint + \"\\n-------------------\");\n }\n }", "title": "" }, { "docid": "237d024cde2af63e51186314e2872421", "score": "0.63296294", "text": "void printPreorder(Node node) \n\t{ \n\t\tif (node == null) \n\t\t\treturn; \n\n\t\t/* first print data of node */\n\t\tSystem.out.print(node.key + \" \"); \n\n\t\t/* then recur on left sutree */\n\t\tprintPreorder(node.left); \n\n\t\t/* now recur on right subtree */\n\t\tprintPreorder(node.right); \n\t}", "title": "" }, { "docid": "36a0562d424a1c05ca1bd84da5f54dbd", "score": "0.6324524", "text": "void printTree(TreeNode node) {\n if (node == null) {\n return ;\n }\n printTree(node.left);\n System.out.println(node.val + \" \");\n printTree(node.right);\n }", "title": "" }, { "docid": "73d32133b299d35b41924971fb1087cd", "score": "0.63139427", "text": "public void print() {\n print(root);\n }", "title": "" }, { "docid": "fa6dda75226093f20ba954ad8ba0f2c5", "score": "0.6312929", "text": "private void printBSTPTree(Node<T> u) {\r\n\t\tpT = new ArrayList<ArrayList<T>>();\r\n\r\n\t\tint n = 0;\r\n\t\tconstructBSTPTree(u, n);\r\n\r\n\t\tSystem.out.println();\r\n\t\tSystem.out.println(\"CAUTION: horizontal positions are correct only relative to each other\");\r\n\r\n\t\tfor (int i = 0; i < pT.size(); i++) {\r\n\t\t\tint theSize = pT.get(i).size();\r\n\t\t\tint baseWidth = 90;\r\n\t\t\tString thePadding = CommonSuite.stringRepeat(\" \",\r\n\t\t\t\t\t(int) ((baseWidth - 3 * theSize) / (theSize + 1)));\r\n\t\t\tfor (int j = 0; j < theSize; j++)\r\n\t\t\t\tSystem.out.printf(\"%s%3s\", thePadding, pT.get(i).get(j));\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "962eff62db3e47362ab1d6e3f3a53211", "score": "0.63074934", "text": "public void inOrder(TreeNode root)\n\t{\n\t\tif(root == null)\n\t\t\treturn;\n\t\telse\n\t\t{\n\t\t\tinOrder(root.lChild);\n\t\t\tSystem.out.print(root.data + \" \");\n\t\t\tinOrder(root.rChild);\n\t\t}\n\t}", "title": "" }, { "docid": "14c657a963c09c428868e8bb342d792e", "score": "0.6306065", "text": "public void print()\n\t{\n\t\tNode tmp = root;\n\t\twhile(tmp!=null)\n\t\t{\n\t\t\tSystem.out.print(tmp.data + \", \");\n\t\t\ttmp = tmp.next;\n\t\t}\n\t}", "title": "" }, { "docid": "0233e44453fae2a7d17cb2c720292a55", "score": "0.629426", "text": "public void print() {\n printRecursive(root);\n }", "title": "" }, { "docid": "48ad7325079b028f5ad511512bb09043", "score": "0.6284799", "text": "public static void printLevelWise(TreeNode<Integer> root) {\n Queue<TreeNode<Integer>> queue = new LinkedList<>();\n queue.add(root);\n System.out.println(root.data);\n while (!queue.isEmpty()) {\n int queueSize = queue.size();\n for (int i = 0; i < queueSize; i++) {\n TreeNode<Integer> node = queue.poll();\n for (int j = 0; j < node.children.size(); j++) {\n queue.add(node.children.get(j));\n System.out.print(node.children.get(j).data + \" \");\n }\n }\n System.out.println();\n }\n }", "title": "" }, { "docid": "3568dea99749effe09ed26ae0e2441c5", "score": "0.62827283", "text": "private void print()\n {\n int i=1;\n System.out.println(\"ALL\");\n for (Iterator<Map.Entry<String, Node>> it = allClasses.entrySet().iterator();it.hasNext();)\n {\n System.out.println(i+\" TREE :\");\n Map.Entry<String, Node> entry = it.next();\n Node n = entry.getValue();\n System.out.print(entry.getKey()+\" is \");\n if(!(n==null))\n {\n printNode(n);\n }\n System.out.println();\n i++;\n }\n }", "title": "" }, { "docid": "7dbde856e3f3812935694e547a6e3008", "score": "0.62761265", "text": "public void printInorder(Node localRoot) {\t\t\r\n\t\tif(localRoot != null) {\r\n\t\t\tprintInorder(localRoot.leftChild);\r\n\t\t\tlocalRoot.printNode();\r\n\t\t\tprintInorder(localRoot.rightChild);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2374de3d2d6343761f2c889dd0771e01", "score": "0.62726355", "text": "static void printTree(RPSTNode<ControlFlow, Node> root, int level, RPST<ControlFlow, Node> rpst) {\n ArrayList<RPSTNode<ControlFlow, Node>> orderedTopNodes = PlanningHelper.sortTreeLevel(root, root.getEntry(), rpst);\n for (RPSTNode<ControlFlow, Node> node : orderedTopNodes) {\n int depth = PlanningHelper.getDepth(node, rpst);\n for (int i = 0; i < level; i++) {\n System.out.print(\"\\t\");\n }\n\n // Determine type of node for presentation purposes\n String entryString = PlanningHelper.getNodeRepresentation(node.getEntry());\n String exitString = PlanningHelper.getNodeRepresentation(node.getExit());\n\n if (PlanningHelper.isBond(node)) {\n System.out.println(node.getName() + \" (\" + PlanningHelper.getBondType(node, rpst) + \",\" + depth + \", \" + PlanningHelper.getSubLevelCount(node, rpst) + \") [\" + entryString + \" --> \" + exitString + \"]\");\n } else {\n System.out.println(node.getName() + \" (\" + depth + \", \" + PlanningHelper.getSubLevelCount(node, rpst) + \") [\" + entryString + \" --> \" + exitString + \"]\");\n }\n\n if (depth > 0) {\n printTree(node, level + 1, rpst);\n }\n }\n }", "title": "" }, { "docid": "f577d15d09eae56c33df3b3f6f86be5b", "score": "0.6272253", "text": "void printTree(Entry<T> node) {\n if(node != null) {\n printTree(node.left);\n System.out.print(\" \" + node.element);\n printTree(node.right);\n }\n }", "title": "" }, { "docid": "d3a74405ec3ee117db9f96f642b664f1", "score": "0.62522423", "text": "public void printPostorder() {\n System.out.print(\"postorder:\");\n printPostorder(overallRoot);\n System.out.println();\n }", "title": "" }, { "docid": "ef1330eaed87f1b77bb9a9d1c3133579", "score": "0.6244599", "text": "private void printPreorder(BTreeNode n){\r\n if(n!=null){\r\n for( int i = 0; i < n.getElements().length; i++){\r\n if(n.getElements()[i] != null){\r\n print(n.getElements()[i] + \" \");\r\n }\r\n }\r\n for( int i = 0; i < n.getReferences().length; i++){\r\n if(n.getReferences()[i] != null){\r\n printPreorder(n.getReferences()[i]);\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "28471bcff75648c84cfb6d06f25496f6", "score": "0.6201719", "text": "public void displayInOrder() {\r\n\t\tinOrder(root);\r\n\t}", "title": "" }, { "docid": "62a1e2c4513dde3d0c93b62fcb46084d", "score": "0.6199564", "text": "public void printPreOrder(Node root){\n\t\t\n\t\t//Base check\n\t\tif (root==null)\n\t\t\treturn;\n\t\t\n\t\tSystem.out.println(root.data);\n\t\tprintPreOrder(root.left);\n\t\tprintPreOrder(root.right);\n\t\t\n\t}", "title": "" }, { "docid": "d5378c010d1370bab7b87bbf2da4afb1", "score": "0.6194485", "text": "public void print() {\n\t\tprint(root);\n\t}", "title": "" }, { "docid": "d5378c010d1370bab7b87bbf2da4afb1", "score": "0.6194485", "text": "public void print() {\n\t\tprint(root);\n\t}", "title": "" }, { "docid": "1f631b6e0a254d561efcd91d229e22e0", "score": "0.6187719", "text": "public String print() {\n String message = \"\";\n Iterator< Integer> iterator;\n List list = new ArrayList(treeMap.values());\n iterator = list.iterator();\n while (iterator.hasNext()) {\n message += iterator.next() + \"\\n\";\n }\n return message;\n }", "title": "" }, { "docid": "8764d73e49a32bbd8fd072bf9ea9581a", "score": "0.6183449", "text": "public void preOrder()\n\t{\n\t\tSystem.out.println(\"PRE ORDER\");\n\t\tpreOrder(root); //honestly, the only reason we need to do this is because \n\t\t//TreeNode called root is a private and this is the the only why to acess it by making two methods with different parameters\n\t\t\n\t\tSystem.out.println(); //for spacing purposes\n\t\tSystem.out.println();\n\t\tSystem.out.println();\n\t}", "title": "" }, { "docid": "5871000efde081a5533c345caec2918a", "score": "0.6182766", "text": "static void levelOrder(Node root){\n Queue<Node> queue = new LinkedList<Node>();\n\t\tqueue.offer(root);\n\t\twhile (!queue.isEmpty()) {\n\t\t\tNode head = queue.poll();\n\n\t\t\tif (head == null) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.print(head.data + \" \");\n\n\t\t\tqueue.offer(head.left);\n\t\t\tqueue.offer(head.right);\n\t\t}\n\t\tSystem.out.println();\n }", "title": "" }, { "docid": "7e849bec469a69b3ac2a62c4ae67852c", "score": "0.6171398", "text": "public void printInOrderRecursively(SplayNode n) {\r\n\t\tif (n != null) {\r\n\t\t\tprintInOrderRecursively(n.getLeft());\r\n\t\t\tSystem.out.println(n.getElement());\r\n\t\t\tprintInOrderRecursively(n.getRight());\r\n\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2db539b270547b043afd34aaa5daf4f9", "score": "0.6169611", "text": "void printLevelOrder(Node root) \n {\n Queue<Node> queue = new LinkedList<Node>();\n queue.add(root);\n while (!queue.isEmpty()) \n {\n\n /* poll() removes the present head.\n For more information on poll() visit \n http://www.tutorialspoint.com/java/util/linkedlist_poll.htm */\n Node tempNode = queue.poll();\n System.out.print(tempNode.data + \" \");\n\n /*Enqueue left child */\n if (tempNode.left != null) {\n queue.add(tempNode.left);\n }\n\n /*Enqueue right child */\n if (tempNode.right != null) {\n queue.add(tempNode.right);\n }\n }\n }", "title": "" }, { "docid": "cdd2fa50a91cff074c6857b1795d835f", "score": "0.6169431", "text": "public String toString() {\r\n\t\treturn printPreOrder(root, cursor, \"\", \"\", \"\");\r\n\t}", "title": "" }, { "docid": "833936cfc0962dacfdc9c965297cbf55", "score": "0.6164464", "text": "private void printPreorder(IntTreeNode root) {\n if (root != null) {\n System.out.print(\" \" + root.data);\n printPreorder(root.left);\n printPreorder(root.right);\n }\n }", "title": "" }, { "docid": "7dcea164293ed391be025880e55eb0c2", "score": "0.61509037", "text": "public void print() {\n\t\tprint(root, 1);\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f5822401569272925aaf57c542b54083", "score": "0.0", "text": "public int getHealth() {\n\t\treturn health;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.65706384", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64830863", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.63142073", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.6233861", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.62156105", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "73d2e78e03547e3a30a40b196bae2c7d", "score": "0.61959624", "text": "@Override\r\n\tpublic void calificar() {\n\r\n\t}", "title": "" }, { "docid": "74a1be816f56189120d6d74f61abd8f9", "score": "0.6177264", "text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9674eaf92d88fa5ee1741a3c135f859c", "score": "0.609503", "text": "@Override\n\tpublic void Resert() {\n\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.60708153", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.60667324", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.6050197", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.60398114", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.600875", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "06b59299a5db6a0902fdbf88e7826cfa", "score": "0.599773", "text": "private void naceSer() {\n\n\t}", "title": "" }, { "docid": "2ccd2a90144fab8b5fa71c58ca003352", "score": "0.5978821", "text": "@Override\n\tpublic void falar() {\n\t\t\n\t}", "title": "" }, { "docid": "0f6e1929716bfb216fb0d53f4c72c746", "score": "0.5975817", "text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935147", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "fede515c585b365b04aace2b909737cf", "score": "0.59062445", "text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "8a51433116320d5ea7de338cae668e7e", "score": "0.5878679", "text": "@Override\n\tpublic void competir() {\n\t\t\n\t}", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5865623", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "b8693030a2b5a0ed9423a2578e5d2a26", "score": "0.58643967", "text": "@Override\n\tpublic void toto() {\n\t\t\n\t}", "title": "" }, { "docid": "f3d9d337b86266fa06b6c124066ba10f", "score": "0.5853753", "text": "@Override\n\tpublic void suivant() {\n\n\t}", "title": "" }, { "docid": "ab2f45ed8ffa08a06ff449780f0ea9da", "score": "0.5835419", "text": "@Override\r\n\tpublic void ha() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9293596216c60e2004e0a8cfb950ad0f", "score": "0.5823172", "text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "8a33b8de7a2fdf8b7088903dc4a4cf5f", "score": "0.5779682", "text": "@Override\n\tpublic void affiche() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c19a49911957739008b73b032429cb01", "score": "0.57708335", "text": "public void initalize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1717024d52ad1ad5517c9f135ea71904", "score": "0.57634485", "text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5756299", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5737521", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "dbccea21c95a2d676935a3ea758b163e", "score": "0.57351506", "text": "@Override\r\n\tpublic void limpiar() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94b0ced5bfd6c8796dfd708a164694df", "score": "0.5717778", "text": "@Override\n public void desplazarse() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57160354", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.57140064", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c823d8b0c4f55d3f03359daefc39a00", "score": "0.5712678", "text": "@Override\n\tpublic void lanzar() {\n\n\t}", "title": "" }, { "docid": "15823e29a9b2fc554cc535992e0eacee", "score": "0.5709881", "text": "@Override\r\n\tpublic void initData() {\n\r\n\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.570341", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "9b197585ec90d98a2e41d154a1678e4a", "score": "0.57023877", "text": "@Override\n protected void refreshInit() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "a3060192856bd2663b96bd0ef31d99fd", "score": "0.56853366", "text": "@Override\n\t\t\t\tpublic void refresh() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c13ae19df69e3abfecf963fdcf9a29ee", "score": "0.568208", "text": "@Override\n\tpublic void c12() {\n\t\t\n\t}", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5679023", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5d97082ad890b2df7c126438819d2c54", "score": "0.5665557", "text": "private void envejecer() {\n\t\t\n\t}", "title": "" }, { "docid": "8c203fbc4b35fbc9b64bf6b47d67d29a", "score": "0.56584716", "text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "4dc967945b63b3f9ccc200b50799205b", "score": "0.56479424", "text": "@Override\n\tprotected Item func_149866_i() {\n return null;\n }", "title": "" }, { "docid": "4701bace660096d78c2bf92bfe4b6dd4", "score": "0.5643848", "text": "@Override\n\t\t\t\t\tpublic Sequence sequence() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "8ce70d18e04299fa79dc9066550f3a42", "score": "0.56376165", "text": "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f2b0e20cc959024f21173c16e77430c4", "score": "0.5629117", "text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5628332", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.5621647", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "1e530a3abecfdbdcf6f7ca4bd7294921", "score": "0.56150234", "text": "@Override\n\tpublic void andar() {\n\t\t\n\t}", "title": "" } ]
dc5480fb3c04bad50a488502107572c8
Process an element annotated by the handled Annotation Type.
[ { "docid": "9a4085f5dae7bb56fe598e7820d8ecac", "score": "0.61614984", "text": "private void processElement(Element element) {\n\n if (element.getKind() != ElementKind.INTERFACE) {\n return;\n }\n\n TypeElement interfaceElement = (TypeElement) element;\n setDataAccessTypeInfo(interfaceElement);\n\n for (Element interfaceMember : interfaceElement.getEnclosedElements()) {\n\n if (!(interfaceMember instanceof ExecutableElement)) {\n continue;\n }\n\n ExecutableElement methodElement = (ExecutableElement) interfaceMember;\n setDataAccessQueryInfo(methodElement);\n }\n\n generateDataAccessClass();\n\n cleanData();\n }", "title": "" } ]
[ { "docid": "05f8d80079e79fd530430965bad72d1c", "score": "0.7680457", "text": "public abstract void processTypeElement(final TypeElement annotation, final TypeElement element, final MessageInterface messageInterface);", "title": "" }, { "docid": "48421ef37ffb23f0ddcbc59e90da6d19", "score": "0.6815587", "text": "R process(T annotation, AE annotatedElement, T baseAnnotation, BAE baseOrigin);", "title": "" }, { "docid": "751299204325a4596b5d90efb3c10d0c", "score": "0.6039218", "text": "void handle(Element element);", "title": "" }, { "docid": "1eb7a2ca880c97a6d440762285c42920", "score": "0.5955839", "text": "private Object extractAnnotationElement(Object xxx){\n\t\tif(xxx instanceof Type){\n\t\t\treturn org.objectweb.asm.Type.getType(((Type)xxx).getBytecodeType());\n\t\t}\n\t\telse if(xxx instanceof Class){\n\t\t\treturn org.objectweb.asm.Type.getType((Class<?>)xxx);\n\t\t}\n\t\telse{\n\t\t\treturn xxx;\n\t\t}\n\t}", "title": "" }, { "docid": "339a51dd9300fd4ee1b3c8676e31efb9", "score": "0.59055775", "text": "@Override\n public Node visitAnnotatedType(AnnotatedTypeTree tree, Void p) {\n return scan(tree.getUnderlyingType(), p);\n }", "title": "" }, { "docid": "8585dbee0ee623c4b3697e695e8781cf", "score": "0.5854725", "text": "public Object visit(Annotation a) {\n return dispatch(a.node);\n }", "title": "" }, { "docid": "42cc6363bebd0f4d918bc5cc127972b1", "score": "0.58352894", "text": "AnnotatedElement annotatedElement();", "title": "" }, { "docid": "e23fe7510ff9bc49570f8e0fbf6081a8", "score": "0.58002645", "text": "boolean isAnnotationTypeElement();", "title": "" }, { "docid": "e0352d476ea0fdce2f76c2262605cadd", "score": "0.5776726", "text": "protected abstract Class<? extends Annotation> annotation();", "title": "" }, { "docid": "06c6d3632623da3b857b980c691a8ab2", "score": "0.564748", "text": "private void addAnnotatedElements(ReferenceBinding anno, ReferenceBinding type, Set<Element> result) {\n if (type.isClass()) {\n if (inheritsAnno(type, anno)) {\n result.add(_factory.newElement(type));\n }\n }\n for (ReferenceBinding element : type.memberTypes()) {\n addAnnotatedElements(anno, element, result);\n }\n }", "title": "" }, { "docid": "260f544f8e42bd52a47216c65cd37ea0", "score": "0.56103444", "text": "private void checkForAnnotation(final DetailAST ast, final DetailAST identToken, final String implementationType)\n {\n // get modifiers block from class definition\n final DetailAST modifiers = ast.findFirstToken(TokenTypes.MODIFIERS);\n // get annotations block from modifiers block\n DetailAST modifierChild = modifiers.findFirstToken(TokenTypes.ANNOTATION);\n \n while (modifierChild != null)\n {\n // second time through sibling might not be annotation type\n if (modifierChild.getType() == TokenTypes.ANNOTATION\n && modifierChild.findFirstToken(TokenTypes.IDENT).getText().contains(\"ProductType\"))\n {\n return; // annotation found, no need to continue checking\n }\n modifierChild = modifierChild.getNextSibling();\n }\n log(identToken.getLineNo(), \n implementationType + \" implementation class without @ProductType annotation\");\n }", "title": "" }, { "docid": "702758d5e3c60036c2722a58020ff348", "score": "0.5440003", "text": "public <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> pat) {\n logger.trace(\"processing annotated Type: \" + pat.getAnnotatedType().getJavaClass().getName());\n\n boolean modified = false;\n AnnotatedType<T> annotatedType = pat.getAnnotatedType();\n AnnotatedTypeBuilder<T> builder = new AnnotatedTypeBuilder<T>().readFromType(annotatedType);\n\n boolean scopeIsPresent =\n annotatedType.isAnnotationPresent(ApplicationScoped.class)\n || annotatedType.isAnnotationPresent(Dependent.class)\n || annotatedType.isAnnotationPresent(RequestScoped.class)\n || annotatedType.isAnnotationPresent(SessionScoped.class);\n\n Entity entity = annotatedType.getAnnotation(Entity.class);\n if (entity != null) {\n entityClasses.add(annotatedType.getJavaClass());\n }\n\n Stateless stateless = annotatedType.getAnnotation(Stateless.class);\n\n if (stateless != null) {\n processClass(builder, stateless.name(), false, scopeIsPresent);\n modified = true;\n }\n\n Stateful stateful = annotatedType.getAnnotation(Stateful.class);\n\n if (stateful != null) {\n processClass(builder, stateful.name(), false, scopeIsPresent);\n modified = true;\n }\n try {\n Singleton singleton = annotatedType.getAnnotation(Singleton.class);\n if (singleton != null) {\n processClass(builder, singleton.name(), true, scopeIsPresent);\n modified = true;\n if (annotatedType.getAnnotation(Startup.class) != null) {\n startupSingletons.add(annotatedType.getJavaClass());\n }\n }\n } catch (NoClassDefFoundError e) {\n // EJB 3.0\n }\n\n for (AnnotatedMethod<? super T> method : annotatedType.getMethods()) {\n EJB ejb = method.getAnnotation(EJB.class);\n if (ejb != null) {\n builder.removeFromMethod(method, EJB.class);\n modified = true;\n if (!beanNameOrName(ejb).isEmpty()) {\n builder.addToMethod(method, new EjbName.EjbNameLiteral(beanNameOrName(ejb)));\n } else {\n builder.addToMethod(method, DefaultLiteral.INSTANCE);\n }\n }\n }\n\n for (AnnotatedField<? super T> field : annotatedType.getFields()) {\n boolean addInject = false;\n Produces produces = field.getAnnotation(Produces.class);\n EJB ejb = field.getAnnotation(EJB.class);\n if (ejb != null) {\n modified = true;\n addInject = true;\n if (field.getJavaMember().getType().equals(annotatedType.getJavaClass())) {\n logger.error(\"Self injection of EJB Type {} in field {} of Class {} can't get simulated by ejb-cdi-unit\",\n field.getJavaMember().getType().getName(), field.getJavaMember().getName(),\n field.getJavaMember().getDeclaringClass().getName());\n }\n\n builder.removeFromField(field, EJB.class);\n if (!beanNameOrName(ejb).isEmpty()) {\n builder.addToField(field, new EjbName.EjbNameLiteral(beanNameOrName(ejb)));\n } else {\n builder.addToField(field, DefaultLiteral.INSTANCE);\n }\n }\n Resource resource = field.getAnnotation(Resource.class);\n if (resource != null) { // all Resources will be set injected. The Tester must provide anything for them.\n // this means that MessageDrivenContexts, SessionContext and JMS-Resources will be expected to be injected.\n addInject = true;\n }\n if (field.getAnnotation(PersistenceContext.class) != null) {\n addInject = true;\n builder.removeFromField(field, PersistenceContext.class);\n }\n if (addInject) {\n modified = true;\n builder.addToField(field, new AnnotationLiteral<Inject>() {\n private static final long serialVersionUID = 1L;\n });\n if (produces != null) {\n builder.removeFromField(field, Produces.class);\n }\n }\n }\n if (modified) {\n pat.setAnnotatedType(builder.create());\n }\n }", "title": "" }, { "docid": "183a53eb44486886fffff1a82f0e4544", "score": "0.5434854", "text": "String getAnnotatedElement();", "title": "" }, { "docid": "45e6560d33b20b87825b08831d8bbf94", "score": "0.5368509", "text": "public static <A extends Annotation> A getAnnotation(final AnnotatedElement element, final Class<A> type) {\n return getAnnotation(element, type, new HashSet<>());\n }", "title": "" }, { "docid": "3f25794959da47ff7e170e2fdc312c7a", "score": "0.5352611", "text": "@Override\n public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {\n\n if (annotations.isEmpty()) {\n return true;\n }\n\n for (Element element : roundEnv.getElementsAnnotatedWith(GenerateDataAccess.class)) {\n processElement(element);\n }\n\n return true;\n }", "title": "" }, { "docid": "81c1468524547a137e1657e3407896b6", "score": "0.53286815", "text": "void process(Element element) throws XMPPException, XMLException, JaxmppException;", "title": "" }, { "docid": "13e846895e7676ebbd54d8ddff95727e", "score": "0.53140545", "text": "void annotate(Annotation annotation);", "title": "" }, { "docid": "b8c48ebe3e41ed39d6bf552a0618c1da", "score": "0.5284498", "text": "public Object annotation(XSAnnotation ann) {\n/* 148 */ return this.base.annotation(ann);\n/* */ }", "title": "" }, { "docid": "9c601237ee127343d7a5f7ec89e587f1", "score": "0.5238341", "text": "protected abstract Class<? extends Annotation> getAnnotationType();", "title": "" }, { "docid": "f9ab2209e1a8cf78a36862d20b717872", "score": "0.5216595", "text": "public void type(WebElement element, String data);", "title": "" }, { "docid": "9877f317b2be9af1b83bf0f76b2e794f", "score": "0.5209114", "text": "@Override\n public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {\n if (isDebugEnabled) {\n logDebug(\"AutoProtoSchemaBuilderAnnotationProcessor annotations=%s, rootElements=%s\", annotations, roundEnv.getRootElements());\n }\n\n Optional<? extends TypeElement> claimedAnnotation = annotations.stream()\n .filter(a -> a.getQualifiedName().contentEquals(ANNOTATION_NAME))\n .findAny();\n\n try {\n if (claimedAnnotation.isPresent()) {\n for (Element annotatedElement : roundEnv.getElementsAnnotatedWith(claimedAnnotation.get())) {\n AutoProtoSchemaBuilder builderAnnotation = getBuilderAnnotation(annotatedElement);\n SerializationContext serCtx = ProtobufUtil.newSerializationContext();\n try {\n processElement(roundEnv, serCtx, annotatedElement, builderAnnotation, new ProcessorContext());\n } catch (ProtoSchemaBuilderException | DescriptorParserException e) {\n throw new AnnotationProcessingException(e, annotatedElement, \"%s\", getStackTraceAsString(e));\n }\n }\n }\n\n if (roundEnv.processingOver()) {\n serviceLoaderFileGenerator.writeServiceFile(filer);\n }\n } catch (AnnotationProcessingException e) {\n // this is caused by the user supplying incorrect data in the annotation or related classes\n if (isDebugEnabled) {\n logDebug(\"@AutoProtoSchemaBuilder processor threw an exception: %s\", getStackTraceAsString(e));\n }\n reportError(e);\n } catch (Exception e) {\n // this may be a fatal programming error in the annotation processor itself\n reportError(null, \"@AutoProtoSchemaBuilder processor threw a fatal exception: %s\", getStackTraceAsString(e));\n }\n\n return claimedAnnotation.isPresent();\n }", "title": "" }, { "docid": "11ef92a9ef7278a2073b95e33a5dfdb9", "score": "0.5202175", "text": "public abstract void process(JAXBElement<?> rootElement) throws IllegalArgumentException;", "title": "" }, { "docid": "47041a6f14fe67737e3a0b7d0d2ddfdd", "score": "0.51964307", "text": "private void visitElement_INCEXTRAINFO(org.w3c.dom.Element element) {\n //call AttuserScanner\n //scanner.visitDocument(wrknode, prindoc);\n }", "title": "" }, { "docid": "10c38089e257fe6724cace94620a864f", "score": "0.5165246", "text": "private void processToken(Element element, LoginClassFrame frame, TokenProcessor tokenProc)\n {\n if(frame.hasTokenElement())\n return;\n\n // No @Token annotation\n if(element.getAnnotation(Token.class) == null)\n return;\n\n Element result = tokenProc.process(element);\n\n if(result != null && !frame.hasTokenElement())\n frame.setTokenElement(result);\n }", "title": "" }, { "docid": "e7f81a86f2965b3d7b51f25473a995f8", "score": "0.51609", "text": "@Override\n public boolean visitClass(@NotNull UClass aClass) {\n if (aClass.isAnnotationType()) {\n PsiModifierList modifierList = aClass.getModifierList();\n if (modifierList != null) {\n for (PsiAnnotation annotation : modifierList.getAnnotations()) {\n String name = annotation.getQualifiedName();\n if (\"java.lang.annotation.Repeatable\".equals(name)) {\n int api = 24; // minSdk for repeatable annotations\n int minSdk = getMinSdk(mContext);\n if (!isSuppressed(api, aClass, minSdk, mContext, UNSUPPORTED)) {\n Location location = mContext.getLocation(annotation);\n String message = String.format(\"Repeatable annotation requires \"\n + \"API level %1$d (current min is %2$d)\", api, minSdk);\n mContext.report(UNSUPPORTED, annotation, location, message);\n }\n } else if (\"java.lang.annotation.Target\".equals(name)) {\n PsiNameValuePair[] attributes = annotation.getParameterList()\n .getAttributes();\n for (PsiNameValuePair pair : attributes) {\n PsiAnnotationMemberValue value = pair.getValue();\n if (value instanceof PsiArrayInitializerMemberValue) {\n PsiArrayInitializerMemberValue array\n = (PsiArrayInitializerMemberValue) value;\n for (PsiAnnotationMemberValue t : array.getInitializers()) {\n checkAnnotationTarget(t, modifierList);\n }\n } else if (value != null) {\n checkAnnotationTarget(value, modifierList);\n }\n }\n }\n }\n }\n } else {\n for (UTypeReferenceExpression t : aClass.getUastSuperTypes()) {\n checkType(t.getType(), t);\n }\n }\n\n return super.visitClass(aClass);\n }", "title": "" }, { "docid": "64d581d9480f993e2250c9af74c20147", "score": "0.5131683", "text": "public static boolean hasAnnotation(AnnotatedElement elem, \n Class<? extends Annotation> annotationType, boolean checkMetaAnnotations) {\n if (elem.isAnnotationPresent(annotationType)) {\n return true;\n }\n if (checkMetaAnnotations) {\n for (Annotation a : elem.getAnnotations()) {\n for (Annotation meta : a.annotationType().getAnnotations()) {\n if (meta.annotationType().getName().equals(annotationType.getName())) {\n return true;\n }\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "a921b26d7ac56fdcb1ec20352f180fdb", "score": "0.5127315", "text": "protected void processAxiomAnnotations(@Nonnull OWLAxiom ax) {\n for (OWLAnnotation anno : ax.getAnnotations()) {\n anno.accept(this);\n }\n }", "title": "" }, { "docid": "3651d32e9762675e6655cbfcadb20824", "score": "0.5119959", "text": "protected final boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)\n throws Throwable {\n processAnnotations(annotations, roundEnv);\n return false;\n }", "title": "" }, { "docid": "3742cdbcaf279575d0e2cffe7eb06110", "score": "0.50938106", "text": "private void processPartitionTypeTag(IConfigurationElement element) {\n \t\t// add to current openOnDefinition/contentType\n \t\tString theId = getId(element);\n \n \t\tif (theId != null) {\n \t\t\tfCurrentOpenOnDefinition.addPartitionType(fCurrentContentType, theId);\n \t\t}\n \t}", "title": "" }, { "docid": "a956a4642c554436cc5b99bc9107626f", "score": "0.50832444", "text": "@Override\n public boolean visitElement(@NotNull UElement element) {\n return super.visitElement(element);\n }", "title": "" }, { "docid": "fe5f7f1e8aa199fe58a1150f956e4a50", "score": "0.50540763", "text": "@Override\n public boolean process(Set<? extends TypeElement> annotations,\n RoundEnvironment roundEnv)\n {\n DTOModelBuilder builder = new DTOModelBuilder(processingEnv);\n\n for (Element e : roundEnv.getElementsAnnotatedWith(GenerateDTO.class))\n {\n if (e.getKind() == ElementKind.CLASS)\n {\n TypeElement typeElement = (TypeElement) e;\n\n handle(builder, typeElement);\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "95f007f8b908ea1666ea583848674f6b", "score": "0.50421804", "text": "XMLProcessing getTargetElementProcessing();", "title": "" }, { "docid": "9b241999c29e33538754e2f68f79ae91", "score": "0.50305367", "text": "@SuppressWarnings(\"unused\") // Called via the annotation\n @ProcessElement\n public void processElement(ProcessContext c) {\n c.output(userAgentAnalyzer.map(clone(c.element())));\n }", "title": "" }, { "docid": "a05ce1c95a4f38634fa75561a043fa1d", "score": "0.5018528", "text": "int getAnnotationTypeValue();", "title": "" }, { "docid": "12a267daa17945d464fb911d1a3b1b9e", "score": "0.5006073", "text": "public final void annotation(boolean isLeaveNode) throws RecognitionException {\r\n CommonTree a=null;\r\n\r\n try {\r\n // EsperEPL2Ast.g:58:2: ( ^(a= ANNOTATION CLASS_IDENT ( elementValuePair )* ( elementValue )? ) )\r\n // EsperEPL2Ast.g:58:4: ^(a= ANNOTATION CLASS_IDENT ( elementValuePair )* ( elementValue )? )\r\n {\r\n a=(CommonTree)match(input,ANNOTATION,FOLLOW_ANNOTATION_in_annotation92); \r\n\r\n match(input, Token.DOWN, null); \r\n match(input,CLASS_IDENT,FOLLOW_CLASS_IDENT_in_annotation94); \r\n // EsperEPL2Ast.g:58:31: ( elementValuePair )*\r\n loop1:\r\n do {\r\n int alt1=2;\r\n int LA1_0 = input.LA(1);\r\n\r\n if ( (LA1_0==ANNOTATION_VALUE) ) {\r\n alt1=1;\r\n }\r\n\r\n\r\n switch (alt1) {\r\n \tcase 1 :\r\n \t // EsperEPL2Ast.g:58:31: elementValuePair\r\n \t {\r\n \t pushFollow(FOLLOW_elementValuePair_in_annotation96);\r\n \t elementValuePair();\r\n\r\n \t state._fsp--;\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop1;\r\n }\r\n } while (true);\r\n\r\n // EsperEPL2Ast.g:58:49: ( elementValue )?\r\n int alt2=2;\r\n int LA2_0 = input.LA(1);\r\n\r\n if ( (LA2_0==CLASS_IDENT||(LA2_0>=ANNOTATION && LA2_0<=ANNOTATION_ARRAY)||(LA2_0>=INT_TYPE && LA2_0<=NULL_TYPE)) ) {\r\n alt2=1;\r\n }\r\n switch (alt2) {\r\n case 1 :\r\n // EsperEPL2Ast.g:58:49: elementValue\r\n {\r\n pushFollow(FOLLOW_elementValue_in_annotation99);\r\n elementValue();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n match(input, Token.UP, null); \r\n if (isLeaveNode) leaveNode(a); \r\n\r\n }\r\n\r\n }\r\n\r\n catch (RecognitionException rex) {\r\n throw rex;\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4c5cd4c3e3e2cbe79374201259b91028", "score": "0.49785125", "text": "public <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> event) {\n boolean used = false;\n AnnotatedTypeBuilder<T> builder = new AnnotatedTypeBuilder<T>().readFromType(event.getAnnotatedType());\n\n // We need to read the values of the @Secure annotation that are present on:\n // 1. types (classes)\n // 2. methods\n // 3. arbitrarily nested on @SecureBinding annotations\n\n // Gathering the initial secure values from the type\n // TODO: look in superclasses?\n List<Secure> initialSecureAnnotations = new ArrayList<Secure>();\n List<AllowWithFlag> initialAllowWithFlagsAnnotations = new ArrayList<AllowWithFlag>();\n for (Annotation annotation : event.getAnnotatedType().getAnnotations()) {\n collectAnnotations(Secure.class, annotation, initialSecureAnnotations);\n collectAnnotations(AllowWithFlag.class, annotation, initialAllowWithFlagsAnnotations);\n }\n\n for (AnnotatedMethod<?> m : event.getAnnotatedType().getMethods()) {\n // Gathering the secure annotations from the method\n final List<Secure> annotations = new ArrayList<Secure>(initialSecureAnnotations);\n final List<AllowWithFlag> allowWithFlagsAnnotations = new ArrayList<AllowWithFlag>(initialAllowWithFlagsAnnotations);\n\n collectAnnotations(Secure.class, m, annotations);\n collectAnnotations(AllowWithFlag.class, m, allowWithFlagsAnnotations);\n\n // If any annotations have been gathered, adding the annotation to the method and storing it\n // in the map.\n if (annotations.size() > 0) {\n InterceptSecure is = new InterceptSecureImpl(\n annotations.toArray(new Secure[annotations.size()]),\n allowWithFlagsAnnotations.toArray(new AllowWithFlag[allowWithFlagsAnnotations.size()]));\n \n builder.addToMethod(m.getJavaMember(), is);\n used = true;\n\n interceptSecureForMethods.put(m.getJavaMember(), is);\n }\n }\n\n // Setting the new annotated type, if any changes were made\n if (used) {\n event.setAnnotatedType(builder.create());\n }\n }", "title": "" }, { "docid": "3d2ff6b5a6428774213accc1480dc7ad", "score": "0.49778157", "text": "public void visitCode()\n {\n if(!annotationPresent)\n mv.visitAnnotation(determineAnnotation(),true);\n }", "title": "" }, { "docid": "f134af4eb94d881408746949c1295824", "score": "0.4974876", "text": "public void processListenerAnnotation(Class<?> cls) {\n }", "title": "" }, { "docid": "6c0b6b779c68518a57b128244b75defd", "score": "0.4960657", "text": "private void checkParameter(final ParameterContext ctx, final VariableElement element) {\n // for every filtering annotation registered, check if this element is annotated\n // then, we get to\n for (final AnnotationMirror annotation : element.getAnnotationMirrors()) {\n ctx.init(element, annotation);\n final CharSequence name = this.processingEnv.getElementUtils().getBinaryName((TypeElement) annotation.getAnnotationType().asElement());\n final ListenerParameterAnnotation anno = ListenerParameterAnnotation.byClassName(name.toString());\n if (anno != null) {\n anno.validate(ctx);\n }\n }\n }", "title": "" }, { "docid": "8b7930f4a0981dd95b5c8805a3c40c61", "score": "0.4947332", "text": "boolean visit(Element element);", "title": "" }, { "docid": "796be144ccfeaa141c7b315d35002e60", "score": "0.4946184", "text": "void apply(MethodVisitor methodVisitor, MethodDescription methodDescription, AnnotationValueFilter annotationValueFilter);", "title": "" }, { "docid": "71f20560a9cd4ca2c9b5b78017c75a15", "score": "0.4936505", "text": "@Override\n public void processElement(Wrapper<Element> elementWrapper) {\n Element element = elementWrapper.getContent();\n element.setAttributes(getSortedAttributes(element));\n }", "title": "" }, { "docid": "191446eef519db81665afa4eda5e4168", "score": "0.49250233", "text": "public void processValidatorAnnotation(Class<?> cls) {\n }", "title": "" }, { "docid": "65e4239096928d4c679c515a802e67ee", "score": "0.49210978", "text": "public interface ElementAccepter {\n\n /**\n * Accept element to be created by a visitor\n *\n * @param p Parameter\n * @param <T> Type\n * @return Value of type T\n */\n <T> T accept(Parameter p);\n\n /**\n * Accept element to be created by a visitor\n *\n * @param f Field\n * @param <T> Type\n * @return Value of type T\n */\n <T> T accept(Field f);\n\n /**\n * Accept element to be created by a visitor\n *\n * @param c Class\n * @param <T> Type\n * @return Value of type T\n */\n <T> T accept(Class<T> c);\n}", "title": "" }, { "docid": "96cff42bd82e04c41b5eebb44d050561", "score": "0.49190086", "text": "public interface WeiboParseProcessor {\n public void parse(Element e) throws Exception;\n}", "title": "" }, { "docid": "f6708d631f0e8f4039776d861b446c90", "score": "0.49061167", "text": "public interface AnnotationEnhancer extends BiFunction<Map<String, Object>, AnnotatedElement, Map<String, Object>> {\n\n\t}", "title": "" }, { "docid": "1b3b9b43fff12cc756758c47f865f87f", "score": "0.49052042", "text": "public void processElement(Object o) {\n if (o instanceof Element) {\n\n Element e = (Element) o;\n String elementName = e.getQualifiedName();\n\n if (elementName.startsWith(\"text\")) {\n\n if (elementName.equals(\"text:tab\")) // add tab for text:tab\n TextBuffer.append(\"\\\\t\");\n else if (elementName.equals(\"text:s\")) // add space for text:s\n TextBuffer.append(\" \");\n else {\n List children = e.getContent();\n Iterator iterator = children.iterator();\n\n while (iterator.hasNext()) {\n\n Object child = iterator.next();\n //If Child is a Text Node, then append the text\n if (child instanceof Text) {\n Text t = (Text) child;\n TextBuffer.append(t.getValue());\n } else\n processElement(child); // Recursively process the child element\n }\n }\n if (elementName.equals(\"text:p\"))\n TextBuffer.append(\"\\\\n\");\n } else {\n List non_text_list = e.getContent();\n Iterator it = non_text_list.iterator();\n while (it.hasNext()) {\n Object non_text_child = it.next();\n processElement(non_text_child);\n }\n }\n }\n }", "title": "" }, { "docid": "40d075085663fadb95e694367642a2fe", "score": "0.4901539", "text": "@Finished(\"2014/07/12\")\npublic interface IAnnotation\n{\n /**\n * This method tries to return the annotation related to this type.\n *\n * @return the annotation representation of this type, if an annotation backs this\n * object; otherwise, return null.\n */\n public Annotation toAnnotation();\n\n /**\n * This method returns the type of the annotation-definition.\n *\n * <p>\n * This method may return null, under abnormal circumstances. <br>\n * For example, this method will return null, if the name of the annotation is\n * misspelled.\n * </p>\n *\n * @return the annotation-definition of the underlying annotation, or null, if no such\n * object can be found.\n */\n public IAnnotationType getAnnotationType();\n\n /**\n * This method retrieves the values stored in the annotation, if it has any values.\n *\n * <p>\n * In terms of Java based code, the values are stored in an annotation-element named \"value\".\n * The return-type of the element must be String[].\n * If no such element exists, then the annotation does not have any values.\n * The default value of the \"value\" annotation-element is null.\n * </p>\n *\n * @return the value in the annotation.\n */\n public List<String> getAnnotationValues();\n}", "title": "" }, { "docid": "d8e851f3cca4f838618ee38086fd0797", "score": "0.48803464", "text": "public IAnnotationType getAnnotationType();", "title": "" }, { "docid": "fa484e073bd0cbea35e0e5cb920d633b", "score": "0.48700294", "text": "public final void elementValue() throws RecognitionException {\r\n try {\r\n // EsperEPL2Ast.g:66:6: ( annotation[false] | ^( ANNOTATION_ARRAY ( elementValue )* ) | constant[false] | CLASS_IDENT )\r\n int alt4=4;\r\n switch ( input.LA(1) ) {\r\n case ANNOTATION:\r\n {\r\n alt4=1;\r\n }\r\n break;\r\n case ANNOTATION_ARRAY:\r\n {\r\n alt4=2;\r\n }\r\n break;\r\n case INT_TYPE:\r\n case LONG_TYPE:\r\n case FLOAT_TYPE:\r\n case DOUBLE_TYPE:\r\n case STRING_TYPE:\r\n case BOOL_TYPE:\r\n case NULL_TYPE:\r\n {\r\n alt4=3;\r\n }\r\n break;\r\n case CLASS_IDENT:\r\n {\r\n alt4=4;\r\n }\r\n break;\r\n default:\r\n NoViableAltException nvae =\r\n new NoViableAltException(\"\", 4, 0, input);\r\n\r\n throw nvae;\r\n }\r\n\r\n switch (alt4) {\r\n case 1 :\r\n // EsperEPL2Ast.g:66:11: annotation[false]\r\n {\r\n pushFollow(FOLLOW_annotation_in_elementValue148);\r\n annotation(false);\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n case 2 :\r\n // EsperEPL2Ast.g:67:5: ^( ANNOTATION_ARRAY ( elementValue )* )\r\n {\r\n match(input,ANNOTATION_ARRAY,FOLLOW_ANNOTATION_ARRAY_in_elementValue156); \r\n\r\n if ( input.LA(1)==Token.DOWN ) {\r\n match(input, Token.DOWN, null); \r\n // EsperEPL2Ast.g:67:24: ( elementValue )*\r\n loop3:\r\n do {\r\n int alt3=2;\r\n int LA3_0 = input.LA(1);\r\n\r\n if ( (LA3_0==CLASS_IDENT||(LA3_0>=ANNOTATION && LA3_0<=ANNOTATION_ARRAY)||(LA3_0>=INT_TYPE && LA3_0<=NULL_TYPE)) ) {\r\n alt3=1;\r\n }\r\n\r\n\r\n switch (alt3) {\r\n \tcase 1 :\r\n \t // EsperEPL2Ast.g:67:24: elementValue\r\n \t {\r\n \t pushFollow(FOLLOW_elementValue_in_elementValue158);\r\n \t elementValue();\r\n\r\n \t state._fsp--;\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t break loop3;\r\n }\r\n } while (true);\r\n\r\n\r\n match(input, Token.UP, null); \r\n }\r\n\r\n }\r\n break;\r\n case 3 :\r\n // EsperEPL2Ast.g:68:8: constant[false]\r\n {\r\n pushFollow(FOLLOW_constant_in_elementValue169);\r\n constant(false);\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n break;\r\n case 4 :\r\n // EsperEPL2Ast.g:69:8: CLASS_IDENT\r\n {\r\n match(input,CLASS_IDENT,FOLLOW_CLASS_IDENT_in_elementValue179); \r\n\r\n }\r\n break;\r\n\r\n }\r\n }\r\n\r\n catch (RecognitionException rex) {\r\n throw rex;\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4aa21d64a3f3117cc2d5950985fa5547", "score": "0.48594955", "text": "@SuppressWarnings(\"unchecked\")\n\tpublic <A extends Annotation> AnnotationList forEach(Class<A> type, Predicate<AnnotationInfo<A>> filter, Consumer<AnnotationInfo<A>> action) {\n\t\tforEach(x -> {\n\t\t\tif (x.isType(type))\n\t\t\t\tconsume(filter, action, (AnnotationInfo<A>)x);\n\t\t});\n\t\treturn this;\n\t}", "title": "" }, { "docid": "0c85651e3adfcb7586009307d12804d3", "score": "0.4858847", "text": "private void processContentTypeTag(IConfigurationElement element) {\n \t\t// add to current openOnDefinition\n \t\tString theId = getId(element);\n \n \t\tif (theId != null) {\n \t\t\tfCurrentContentType = theId;\n \t\t\tfCurrentOpenOnDefinition.addContentTypeId(fCurrentContentType);\n \t\t} else {\n \t\t\tfCurrentContentType = null;\n \t\t}\n \t}", "title": "" }, { "docid": "0cdd142537d61d876d44fe4c9f57de8e", "score": "0.48337138", "text": "@ProcessElement\n public void processElement(ProcessContext c) {\n System.out.println(c.element());\n }", "title": "" }, { "docid": "29c16ad2c501c41ccdb2bbdd96066c00", "score": "0.48328543", "text": "boolean isAnnotationType();", "title": "" }, { "docid": "0adcab5e54b15e9922d7dce7ad2d2250", "score": "0.48320872", "text": "@Override\n\t\tpublic void visitAttribute(Attribute arg0) {\n\n\t\t}", "title": "" }, { "docid": "981d20afabb559850ff932d73fd4656c", "score": "0.48290423", "text": "interface OneTypeAtribute<E> {\n\tpublic E getElement();\n}", "title": "" }, { "docid": "0cc0031295de60c5973e8e139260ee64", "score": "0.4828003", "text": "@Override\r\n\tpublic void decideEle() {\n\t\tele.decideEle();\r\n\t}", "title": "" }, { "docid": "9658361ae05df68f8586adcdc576e25f", "score": "0.4816774", "text": "public AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) {\n/* 82 */ AnnotationVisitor annotationVisitor = super.visitTypeAnnotation(typeRef, typePath, this.remapper.mapDesc(descriptor), visible);\n/* 83 */ return (annotationVisitor == null) ? null : createAnnotationRemapper(annotationVisitor);\n/* */ }", "title": "" }, { "docid": "aae4e3502c2ac42c22b84710d374a6a4", "score": "0.47956565", "text": "@Override\n protected void processIntern(PsiClass psiClass, PsiAnnotation psiAnnotation, List<? super PsiElement> target) {\n }", "title": "" }, { "docid": "716a6e213470b224f34aad34c2d7b7cf", "score": "0.47891986", "text": "protected void processAliasRegistration(Element ele)\r\n/* 203: */ {\r\n/* 204:283 */ String name = ele.getAttribute(\"name\");\r\n/* 205:284 */ String alias = ele.getAttribute(\"alias\");\r\n/* 206:285 */ boolean valid = true;\r\n/* 207:286 */ if (!StringUtils.hasText(name))\r\n/* 208: */ {\r\n/* 209:287 */ getReaderContext().error(\"Name must not be empty\", ele);\r\n/* 210:288 */ valid = false;\r\n/* 211: */ }\r\n/* 212:290 */ if (!StringUtils.hasText(alias))\r\n/* 213: */ {\r\n/* 214:291 */ getReaderContext().error(\"Alias must not be empty\", ele);\r\n/* 215:292 */ valid = false;\r\n/* 216: */ }\r\n/* 217:294 */ if (valid)\r\n/* 218: */ {\r\n/* 219: */ try\r\n/* 220: */ {\r\n/* 221:296 */ getReaderContext().getRegistry().registerAlias(name, alias);\r\n/* 222: */ }\r\n/* 223: */ catch (Exception ex)\r\n/* 224: */ {\r\n/* 225:299 */ getReaderContext().error(\"Failed to register alias '\" + alias + \r\n/* 226:300 */ \"' for bean with name '\" + name + \"'\", ele, ex);\r\n/* 227: */ }\r\n/* 228:302 */ getReaderContext().fireAliasRegistered(name, alias, extractSource(ele));\r\n/* 229: */ }\r\n/* 230: */ }", "title": "" }, { "docid": "a76eae0a415ea9480e024be95a87b51a", "score": "0.4786816", "text": "@Override\n public void visitAttribute(Attribute attribute) {\n }", "title": "" }, { "docid": "ed755b986ba52b8fde921ffa85575700", "score": "0.47789085", "text": "public void visit(Videodata element) {\n }", "title": "" }, { "docid": "e1e4a620f6bdaedc03e0f7b791fcc831", "score": "0.4766015", "text": "@Override\n public void visitAnnotationVariable(AttributeVariable variable) {\n visitVariable(variable);\n }", "title": "" }, { "docid": "cfcdff753495860009854a63171a571b", "score": "0.47605783", "text": "private static <A extends Annotation> A getParameterAnnotation(Method m, int paramNo, Class<A> annotation) {\n for (Annotation a : m.getParameterAnnotations()[paramNo]) {\n if (annotation.isInstance(a)) {\n return annotation.cast(a);\n }\n }\n return null;\n }", "title": "" }, { "docid": "2f5d30845ce14cc0bf2cb9d5fa64c26f", "score": "0.47472477", "text": "public void visit(Varargs element) {\n }", "title": "" }, { "docid": "79f2da63b8cd518cf1dd9f2ffc69921e", "score": "0.47460675", "text": "@Override\n public boolean process(final Set<? extends TypeElement> annotations, final RoundEnvironment roundEnvironment) {\n Set<? extends Element> classElements = roundEnvironment.getElementsAnnotatedWith(BoundBox.class);\n // For each class that has the annotation\n for (final Element classElement : classElements) {\n\n // Get the annotation information\n TypeElement boundClass = null;\n String maxSuperClass = null;\n List<? extends AnnotationMirror> listAnnotationMirrors = classElement.getAnnotationMirrors();\n if (listAnnotationMirrors == null) {\n messager.printMessage(Kind.WARNING, \"listAnnotationMirrors is null\", classElement);\n return true;\n }\n\n StringBuilder message = new StringBuilder();\n for (AnnotationMirror annotationMirror : listAnnotationMirrors) {\n log.info(\"mirror \" + annotationMirror.getAnnotationType());\n Map<? extends ExecutableElement, ? extends AnnotationValue> map = annotationMirror.getElementValues();\n for (Map.Entry<? extends ExecutableElement, ? extends AnnotationValue> entry : map.entrySet()) {\n message.append(entry.getKey().getSimpleName().toString());\n message.append(\"\\n\");\n message.append(entry.getValue().toString());\n if (BOUNDBOX_ANNOTATION_PARAMETER_BOUND_CLASS.equals(entry.getKey().getSimpleName().toString())) {\n boundClass = getAnnotationValueAsTypeElement(entry.getValue());\n }\n if (BOUNDBOX_ANNOTATION_PARAMETER_MAX_SUPER_CLASS.equals(entry.getKey().getSimpleName().toString())) {\n maxSuperClass = getAnnotationValueAsTypeElement(entry.getValue()).asType().toString();\n }\n }\n }\n\n if (boundClass == null) {\n messager.printMessage(Kind.WARNING, \"BoundClass is null : \" + message, classElement);\n return true;\n }\n\n if (maxSuperClass != null) {\n boundClassVisitor.setMaxSuperClass(maxSuperClass);\n }\n\n ClassInfo classInfo = boundClassVisitor.scan(boundClass);\n listClassInfo.add(classInfo);\n\n // perform some computations on meta model\n inheritanceComputer.computeInheritanceAndHiding(classInfo.getListFieldInfos());\n inheritanceComputer.computeInheritanceAndOverriding(classInfo.getListMethodInfos(), boundClass, elements);\n\n // write meta model to java class file\n try {\n String targetPackageName = classInfo.getTargetPackageName();\n String boundBoxClassName = classInfo.getBoundBoxClassName();\n\n String boundBoxFQN = targetPackageName.isEmpty() ? boundBoxClassName : targetPackageName + \".\" + boundBoxClassName;\n JavaFileObject sourceFile = filer.createSourceFile(boundBoxFQN, (Element[]) null);\n Writer out = sourceFile.openWriter();\n\n boundboxWriter.writeBoundBox(classInfo, out);\n } catch (IOException e) {\n e.printStackTrace();\n error(classElement, e.getMessage());\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "93dc91a1e59b423a85147ac120b103ec", "score": "0.47270712", "text": "public static void additionallyAnnotateAsType(Element e, String type) {\n addAttribute(e, ANNOTATION_TYPE_ATTRIBUTE, type);\n }", "title": "" }, { "docid": "fa5dfa3be1451a976c8b09ff297eca69", "score": "0.472236", "text": "public void execute() throws ExecutionException {\n Document doc = getDocument();\n if (doc == null) {\n return;\n }\n\n AnnotationSet inputAS = doc.getAnnotations(inputASName);\n AnnotationSet outputAS = doc.getAnnotations(outputASName);\n\n AnnotationUtils.removeEmptyAnnotations(inputAS);\n\n trimDanglingWhitespace(inputAS, doc);\n\n // TODO: enforce distinct annotations!\n\n for(String type : inputAS.getAllTypes().stream().filter(s -> annotationTypes.contains(s)).collect(Collectors.toList())) {\n List<Annotation> annots = inputAS.get(type).inDocumentOrder().\n stream().filter(a -> !a.getFeatures().isEmpty()).collect(Collectors.toList()); // filtering out annotations coming from original markup but happening to have the same name as a tag\n\n if(annots.isEmpty()) {\n continue;\n }\n\n Annotation cur = annots.get(0);\n for(int i = 1; i < annots.size(); i++) {\n Annotation next = annots.get(i);\n\n Optional<String> typeCur = Optional.ofNullable(cur.getFeatures().get(\"type\")).map(o -> o.toString());\n Optional<String> typeNext = Optional.ofNullable(next.getFeatures().get(\"type\")).map(o -> o.toString());\n\n boolean typeMissingInOne = (!typeCur.isPresent() ^ !typeNext.isPresent()) || typeNext.equals(Optional.of(\"other\")) || typeCur.equals(Optional.of(\"other\"));\n\n boolean isSameType = typeCur.equals(typeNext);\n\n if((typeMissingInOne || isSameType) && cur.coextensive(next)) {\n FeatureMap mergedFeatures = mergeFeatureMaps(cur.getFeatures(), next.getFeatures());\n\n if(mergedFeatures.containsKey(\"type\")) {\n Set<String> curTypes = new HashSet(Arrays.asList(mergedFeatures.get(\"type\").toString().split(\",\")));\n\n Set<String> newTypes = curTypes;\n // removing 'other' type if some other type is present, since it doesn't add any additional information\n if(curTypes.size() > 1) {\n newTypes = curTypes.stream().filter(s -> !s.equals(\"other\")).collect(Collectors.toSet());\n }\n\n mergedFeatures.put(\"type\", String.join(\",\", newTypes));\n }\n\n cur = next;\n cur.setFeatures(mergedFeatures);\n } else if((typeMissingInOne || isSameType) && cur.withinSpanOf(next)) {\n cur = next;\n } else if((typeMissingInOne || isSameType) && next.withinSpanOf(cur)){\n // don't do anything, skip next\n } else {\n outputAS.add(cur);\n cur = next;\n }\n }\n\n outputAS.add(cur);\n }\n\n inputAS.get(\"Name\").stream().forEach(a -> AnnotationCleanup.cleanupNameAnnotationFeature(a.getFeatures()));\n }", "title": "" }, { "docid": "69fa8295fd03e04a1f123b67832df160", "score": "0.47203645", "text": "public void setValueAnnotationType(Class<? extends Annotation> valueAnnotationType)\r\n/* 61: */ {\r\n/* 62:125 */ this.valueAnnotationType = valueAnnotationType;\r\n/* 63: */ }", "title": "" }, { "docid": "98352f96670f70296eece7968ce63a57", "score": "0.47130227", "text": "public void checkFor(String ElementType, String ElementInfo,\r\n AppiumDriver Driver) {\r\n /**\r\n * @param: [ElementType, ElementInfo, Driver]\r\n *\r\n * @auther: luopeng\r\n *\r\n * @date: 2018/7/10 9:45\r\n *\r\n * @description :检查 元素 类型与定位参数是否正确 Id,xpath\r\n */\r\n if (ElementType == \"Xpath\") {\r\n try {\r\n if (Driver.findElement(By.xpath(ElementInfo)).isDisplayed()) {\r\n AppBase.textPrint(ElementType + \" Element is show up!\");\r\n\r\n // break;\r\n }\r\n } catch (Exception e) {\r\n AppBase.textPrint(ElementType +\r\n \",Element is not show up!Waitting...\");\r\n screenSnap(Driver);\r\n }\r\n } else if (ElementType == \"Id\") {\r\n try {\r\n if (Driver.findElement(By.id(ElementInfo)).isDisplayed()) {\r\n AppBase.textPrint(ElementType + \" Element is show up!\");\r\n }\r\n } catch (Exception e) {\r\n AppBase.textPrint(ElementType +\r\n \" Element is not show up! Waitting...\");\r\n screenSnap(Driver);\r\n }\r\n } else {\r\n AppBase.textPrint(\"NoSuchElementException | NoSuchElementException ! The Element can't be recognition!\");\r\n screenSnap(Driver);\r\n }\r\n }", "title": "" }, { "docid": "f8f13ae58886a2a00f7ab8ba7474e79e", "score": "0.4700504", "text": "public void validateAnnotationsOf(XElement element) {\n try {\n validateAnnotations(element.getAllAnnotations());\n } catch (RuntimeException exception) {\n throw ValidationException.from(exception).append(element);\n }\n }", "title": "" }, { "docid": "3b17fe30c2f4daf1e3344bcf71dc89ac", "score": "0.46863607", "text": "public AnnotationVisitor visitInsnAnnotation(int typeRef, TypePath typePath, String descriptor, boolean visible) {\n/* 435 */ AbstractInsnNode currentInsn = this.instructions.getLast();\n/* 436 */ while (currentInsn.getOpcode() == -1) {\n/* 437 */ currentInsn = currentInsn.getPrevious();\n/* */ }\n/* */ \n/* 440 */ TypeAnnotationNode typeAnnotation = new TypeAnnotationNode(typeRef, typePath, descriptor);\n/* 441 */ if (visible) {\n/* 442 */ currentInsn\n/* 443 */ .visibleTypeAnnotations = Util.add(currentInsn.visibleTypeAnnotations, typeAnnotation);\n/* */ } else {\n/* 445 */ currentInsn\n/* 446 */ .invisibleTypeAnnotations = Util.add(currentInsn.invisibleTypeAnnotations, typeAnnotation);\n/* */ } \n/* 448 */ return typeAnnotation;\n/* */ }", "title": "" }, { "docid": "c85a6bb60cae28113c82395b803bc31a", "score": "0.4670535", "text": "@Override\n public void process(JCas arg0) throws AnalysisEngineProcessException {\n HashMap<Integer, Integer> goldSpans = new HashMap<Integer, Integer>();\n FSIterator itGeneMention = arg0.getAnnotationIndex(GeneMention.type).iterator();\n while (itGeneMention.hasNext()) {\n GeneMention currentMention = (GeneMention) itGeneMention.next();\n if (currentMention.getCasProcessorId().equals(CollectionReader.GOLD)) {\n totalPresent++;\n goldSpans.put(currentMention.getBegin(), currentMention.getEnd());\n } else if (currentMention.getCasProcessorId().equals(Filterer.FINAL)) {\n totalRecall++;\n if (goldSpans.containsKey(currentMention.getBegin())\n && goldSpans.get(currentMention.getBegin()) == currentMention.getEnd()) {\n truePositives++;\n }\n }\n }\n }", "title": "" }, { "docid": "9aca2fe8fc06e7d3bb6d2038f6b56f2c", "score": "0.46702406", "text": "@Override\n\t\tpublic AnnotationVisitor visitAnnotation(String arg0, boolean arg1) {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "a864c38013995da2cfdadf57e82e8abb", "score": "0.46525732", "text": "public void accept(MethodVisitor methodVisitor) {\n/* 660 */ if (this.parameters != null) {\n/* 661 */ for (int i = 0, n = this.parameters.size(); i < n; i++) {\n/* 662 */ ((ParameterNode)this.parameters.get(i)).accept(methodVisitor);\n/* */ }\n/* */ }\n/* */ \n/* 666 */ if (this.annotationDefault != null) {\n/* 667 */ AnnotationVisitor annotationVisitor = methodVisitor.visitAnnotationDefault();\n/* 668 */ AnnotationNode.accept(annotationVisitor, null, this.annotationDefault);\n/* 669 */ if (annotationVisitor != null) {\n/* 670 */ annotationVisitor.visitEnd();\n/* */ }\n/* */ } \n/* 673 */ if (this.visibleAnnotations != null) {\n/* 674 */ for (int i = 0, n = this.visibleAnnotations.size(); i < n; i++) {\n/* 675 */ AnnotationNode annotation = this.visibleAnnotations.get(i);\n/* 676 */ annotation.accept(methodVisitor.visitAnnotation(annotation.desc, true));\n/* */ } \n/* */ }\n/* 679 */ if (this.invisibleAnnotations != null) {\n/* 680 */ for (int i = 0, n = this.invisibleAnnotations.size(); i < n; i++) {\n/* 681 */ AnnotationNode annotation = this.invisibleAnnotations.get(i);\n/* 682 */ annotation.accept(methodVisitor.visitAnnotation(annotation.desc, false));\n/* */ } \n/* */ }\n/* 685 */ if (this.visibleTypeAnnotations != null) {\n/* 686 */ for (int i = 0, n = this.visibleTypeAnnotations.size(); i < n; i++) {\n/* 687 */ TypeAnnotationNode typeAnnotation = this.visibleTypeAnnotations.get(i);\n/* 688 */ typeAnnotation.accept(methodVisitor\n/* 689 */ .visitTypeAnnotation(typeAnnotation.typeRef, typeAnnotation.typePath, typeAnnotation.desc, true));\n/* */ } \n/* */ }\n/* */ \n/* 693 */ if (this.invisibleTypeAnnotations != null) {\n/* 694 */ for (int i = 0, n = this.invisibleTypeAnnotations.size(); i < n; i++) {\n/* 695 */ TypeAnnotationNode typeAnnotation = this.invisibleTypeAnnotations.get(i);\n/* 696 */ typeAnnotation.accept(methodVisitor\n/* 697 */ .visitTypeAnnotation(typeAnnotation.typeRef, typeAnnotation.typePath, typeAnnotation.desc, false));\n/* */ } \n/* */ }\n/* */ \n/* 701 */ if (this.visibleAnnotableParameterCount > 0) {\n/* 702 */ methodVisitor.visitAnnotableParameterCount(this.visibleAnnotableParameterCount, true);\n/* */ }\n/* 704 */ if (this.visibleParameterAnnotations != null)\n/* 705 */ for (int i = 0, n = this.visibleParameterAnnotations.length; i < n; i++) {\n/* 706 */ List<AnnotationNode> parameterAnnotations = this.visibleParameterAnnotations[i];\n/* 707 */ if (parameterAnnotations != null)\n/* */ {\n/* */ \n/* 710 */ for (int j = 0, m = parameterAnnotations.size(); j < m; j++) {\n/* 711 */ AnnotationNode annotation = parameterAnnotations.get(j);\n/* 712 */ annotation.accept(methodVisitor.visitParameterAnnotation(i, annotation.desc, true));\n/* */ } \n/* */ }\n/* */ } \n/* 716 */ if (this.invisibleAnnotableParameterCount > 0) {\n/* 717 */ methodVisitor.visitAnnotableParameterCount(this.invisibleAnnotableParameterCount, false);\n/* */ }\n/* 719 */ if (this.invisibleParameterAnnotations != null) {\n/* 720 */ for (int i = 0, n = this.invisibleParameterAnnotations.length; i < n; i++) {\n/* 721 */ List<AnnotationNode> parameterAnnotations = this.invisibleParameterAnnotations[i];\n/* 722 */ if (parameterAnnotations != null)\n/* */ {\n/* */ \n/* 725 */ for (int j = 0, m = parameterAnnotations.size(); j < m; j++) {\n/* 726 */ AnnotationNode annotation = parameterAnnotations.get(j);\n/* 727 */ annotation.accept(methodVisitor.visitParameterAnnotation(i, annotation.desc, false));\n/* */ } \n/* */ }\n/* */ } \n/* */ }\n/* 732 */ if (this.visited) {\n/* 733 */ this.instructions.resetLabels();\n/* */ }\n/* 735 */ if (this.attrs != null) {\n/* 736 */ for (int i = 0, n = this.attrs.size(); i < n; i++) {\n/* 737 */ methodVisitor.visitAttribute(this.attrs.get(i));\n/* */ }\n/* */ }\n/* */ \n/* 741 */ if (this.instructions.size() > 0) {\n/* 742 */ methodVisitor.visitCode();\n/* */ \n/* 744 */ if (this.tryCatchBlocks != null) {\n/* 745 */ for (int i = 0, n = this.tryCatchBlocks.size(); i < n; i++) {\n/* 746 */ ((TryCatchBlockNode)this.tryCatchBlocks.get(i)).updateIndex(i);\n/* 747 */ ((TryCatchBlockNode)this.tryCatchBlocks.get(i)).accept(methodVisitor);\n/* */ } \n/* */ }\n/* */ \n/* 751 */ this.instructions.accept(methodVisitor);\n/* */ \n/* 753 */ if (this.localVariables != null) {\n/* 754 */ for (int i = 0, n = this.localVariables.size(); i < n; i++) {\n/* 755 */ ((LocalVariableNode)this.localVariables.get(i)).accept(methodVisitor);\n/* */ }\n/* */ }\n/* */ \n/* 759 */ if (this.visibleLocalVariableAnnotations != null) {\n/* 760 */ for (int i = 0, n = this.visibleLocalVariableAnnotations.size(); i < n; i++) {\n/* 761 */ ((LocalVariableAnnotationNode)this.visibleLocalVariableAnnotations.get(i)).accept(methodVisitor, true);\n/* */ }\n/* */ }\n/* 764 */ if (this.invisibleLocalVariableAnnotations != null) {\n/* 765 */ for (int i = 0, n = this.invisibleLocalVariableAnnotations.size(); i < n; i++) {\n/* 766 */ ((LocalVariableAnnotationNode)this.invisibleLocalVariableAnnotations.get(i)).accept(methodVisitor, false);\n/* */ }\n/* */ }\n/* 769 */ methodVisitor.visitMaxs(this.maxStack, this.maxLocals);\n/* 770 */ this.visited = true;\n/* */ } \n/* 772 */ methodVisitor.visitEnd();\n/* */ }", "title": "" }, { "docid": "f118a23c4b15570c3f144dfd5a2c5fd6", "score": "0.4646965", "text": "public void visit(DocumentType documentType) {\n\t\t\r\n\t}", "title": "" }, { "docid": "c9c7025695ae4feeca0d3ef0a37df76f", "score": "0.46448916", "text": "public interface Annotation extends Visited {\n\t// Marker interface, nothing to do\n}", "title": "" }, { "docid": "ae89a482fd27ae12a456b92853885235", "score": "0.46448505", "text": "@Override\n\tpublic AnnotationVisitor visitAnnotation(String arg0, String arg1) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "497673df95e5299f902d2d2f7d8b4b25", "score": "0.4636496", "text": "@Override\n\tpublic void endElement(String uri, String localName, String qName) throws SAXException {\n\t\tvar qNamePop = stack.pop();\n\t\tif (!qNamePop.equals(qName)) Log.info(\"Stack does not match: '\" + qNamePop + \"' != '\" + qName + \"'\");\n\n\t\tswitch (qName) {\n\t\tcase \"annotation\":\n\t\t\tif (annotation != null && !annotation.isEmpty()) entry.add(annotation);\n\t\t\tannotation = null;\n\t\t\tbreak;\n\n\t\tcase \"annotation-category\":\n\t\t\tannotationCategory = null;\n\t\t\tbreak;\n\n\t\tcase \"cv-term\":\n\t\t\tif (annotation != null && !annotation.hasCvTerm() && cvTerm != null && level().equals(\"annotation\")) {\n\t\t\t\tcvTerm.description = text.toString();\n\t\t\t\tannotation.setCvTerm(cvTerm);\n\t\t\t}\n\t\t\tcvTerm = null;\n\t\t\tbreak;\n\n\t\tcase \"description\":\n\t\t\tif (annotation != null && level().equals(\"annotation\") && annotation.getDescription() == null) annotation.setDescription(text.toString());\n\t\t\tbreak;\n\n\t\tcase \"entry\":\n\t\t\tif (entry != null) entry.addMarkers(markersFactory);\n\t\t\tentry = null;\n\t\t\tbreak;\n\n\t\tcase \"identifier\":\n\t\t\tentry.identifierEnd(text.toString());\n\t\t\tbreak;\n\n\t\tcase \"isoform-mapping\":\n\t\t\tisoformAccession = null;\n\t\t\tbreak;\n\n\t\tcase \"isoform-sequence\":\n\t\t\tentry.addIsoformSequence(isoformAccession, text.toString());\n\t\t\tisoformAccession = null;\n\t\t\tbreak;\n\n\t\tcase \"location\":\n\t\t\tif (annotation != null) annotation.locationEnd();\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "f9e9fe79f2faf33f54d7a96059675ef3", "score": "0.46148765", "text": "public WebElement findElement(ManterObjetoMapeado annotation, By byArg){\n\n\t\tWebElement e;\n\n\t\ttry{\n\t\t\tswitch(getTipoBy(byArg)){\n\t\t\t\tcase \"id\":\n\t\t\t\t\treturn super.findElement(By.id(annotation.id()));\n\t\t\t\tcase \"name\":\n\t\t\t\t\treturn super.findElement(By.name(annotation.name()));\n\t\t\t\tcase \"xpath\":\n\t\t\t\t\treturn super.findElement(By.xpath(annotation.xpath()));\n\t\t\t\tcase \"cssSelector\":\n\t\t\t\t\treturn super.findElement(By.cssSelector(annotation.cssSelector()));\n\t\t\t\tcase \"linkText\":\n\t\t\t\t\treturn super.findElement(By.linkText(annotation.linkText()));\n\t\t\t\tcase \"className\":\n\t\t\t\t\treturn super.findElement(By.className(annotation.className()));\n\t\t\t\tcase \"tagName\":\n\t\t\t\t\treturn super.findElement(By.tagName(annotation.tagName()));\n\t\t\t}\n\t\t}catch(NoSuchElementException e0){\n\t\t\t//nothing to do here\n\t\t}\n\t\t\n\t\tlong oldTimeout = getDefaultTimeout();\n\t\tsetDefaultTimeout(2);\n\n\t\ttry{\n\t\t\tif(annotation.id().equals(\"\")){\n\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t}else{\n\t\t\t\te = super.findElement(By.id(annotation.id()));\n\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\treturn e;\n\t\t\t}\n\t\t}catch(NoSuchElementException e1){\n\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por ID:\\\"\" + annotation.id()+\"\\\"\\nXPATH:\"+annotation.xpath()+\"\\nRevise o Mapa de Objetos.\");\n\t\t\ttry{\n\t\t\t\tif(annotation.name().equals(\"\")){\n\t\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t\t}else{\n\t\t\t\t\te = super.findElement(By.name(annotation.name()));\n\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\treturn e;\n\t\t\t\t}\n\t\t\t}catch(NoSuchElementException e2){\n\t\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por NAME:\\\"\" + annotation.name()+\"\\\"\\nXPATH:\"+annotation.xpath()+\"\\nRevise o Mapa de Objetos.\");\n\t\t\t\ttry{\n\t\t\t\t\tif(annotation.xpath().equals(\"\")){\n\t\t\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t\t\t}else{\n\t\t\t\t\t\te = super.findElement(By.xpath(annotation.xpath()));\n\t\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\t\treturn e;\n\t\t\t\t\t}\n\t\t\t\t}catch(NoSuchElementException e3){\n\t\t\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por XPATH:\\\"\" + annotation.xpath()+\"\\\"\\nXPATH:\"+annotation.xpath()+\"\\nRevise o Mapa de Objetos.\");\n\t\t\t\t\ttry{\n\t\t\t\t\t\tif(annotation.cssSelector().equals(\"\")){\n\t\t\t\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\te = super.findElement(By.cssSelector(annotation.cssSelector()));\n\t\t\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\t\t\treturn e;\n\t\t\t\t\t\t}\n\t\t\t\t\t}catch(NoSuchElementException e4){\n\t\t\t\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por CSS:\\\"\" + annotation.cssSelector()+\"\\\"\\nXPATH:\"+annotation.xpath()+\"\\nRevise o Mapa de Objetos.\");\n\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\tif(annotation.linkText().equals(\"\")){\n\t\t\t\t\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\te = super.findElement(By.linkText(annotation.linkText()));\n\t\t\t\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\t\t\t\treturn e;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}catch(NoSuchElementException e5){\n\t\t\t\t\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por LINKTEXT:\\\"\" + annotation.linkText()+\"\\\"\\nXPATH:\"+annotation.xpath()+\"\\nRevise o Mapa de Objetos.\");\n\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\tif(annotation.className().equals(\"\")){\n\t\t\t\t\t\t\t\t\treturn super.findElement(By.id(\"id que nunca vai ocorrer so pra gerar o erro\"));\n\t\t\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\t\t\te = super.findElement(By.className(annotation.className()));\n\t\t\t\t\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\t\t\t\t\treturn e;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}catch(NoSuchElementException e6){\n\t\t\t\t\t\t\t\tUtilConsole.consolePrint(\"Não foi possível localizar WebElement por NENHUMA ESTRATÉGIA.\"+\"\\nRevise o Mapa de Objetos.\");\n\t\t\t\t\t\t\t\tsetDefaultTimeout(oldTimeout);\n\t\t\t\t\t\t\t\tthrow e6;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "f1fa222873e568b78ca76f13b96a385d", "score": "0.46100587", "text": "public void validateElement(XElement element) {\n checkNotNull(element);\n\n // Validate the annotations first since these are common to all element kinds. We don't\n // need to wrap these in try-catch because the *Of() methods are already wrapped.\n validateAnnotationsOf(element);\n\n // Validate enclosed elements based on the given element's kind.\n try {\n if (isTypeElement(element)) {\n XTypeElement typeElement = asTypeElement(element);\n validateElements(typeElement.getTypeParameters());\n validateTypes(\"interface\", typeElement.getSuperInterfaces());\n if (typeElement.getSuperType() != null) {\n validateType(\"superclass\", typeElement.getSuperType());\n }\n // TODO (b/286313067) move the logic to ComponentValidator once the validation logic is\n // split into individual validators to satisfy different needs.\n // Dagger doesn't use components' static method, therefore, they shouldn't be validated to\n // be able to stop component generation.\n if (typeElement.hasAnnotation(TypeNames.COMPONENT)) {\n validateElements(\n typeElement.getEnclosedElements().stream()\n .filter(member -> !XElements.isStatic(member))\n .collect(toImmutableList()));\n } else {\n validateElements(typeElement.getEnclosedElements());\n }\n } else if (isExecutable(element)) {\n if (isMethod(element)) {\n validateType(\"return type\", asMethod(element).getReturnType());\n }\n XExecutableElement executableElement = asExecutable(element);\n validateTypes(\"thrown type\", executableElement.getThrownTypes());\n validateElements(executableElement.getTypeParameters());\n validateElements(executableElement.getParameters());\n } else if (isTypeParameter(element)) {\n validateTypes(\"bound type\", asTypeParameter(element).getBounds());\n }\n } catch (RuntimeException exception) {\n throw ValidationException.from(exception).append(element);\n }\n\n // Validate the type last. This allows errors on more specific elements to be caught above.\n // E.g. errors on parameters will be attributed to the parameter elements rather than the method\n // type, which generally leads to nicer error messages. We don't need to wrap these in try-catch\n // because the *Of() methods are already wrapped.\n validateTypeOf(element);\n }", "title": "" }, { "docid": "6f73c31e6268c4b9be97cdd5d960a42e", "score": "0.46065566", "text": "public final void entryRuleXAnnotationElementValue() throws RecognitionException {\n try {\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:314:1: ( ruleXAnnotationElementValue EOF )\n // ../org.xtext.guicemodules.ui/src-gen/org/xtext/guicemodules/ui/contentassist/antlr/internal/InternalGuiceModules.g:315:1: ruleXAnnotationElementValue EOF\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXAnnotationElementValueRule()); \n }\n pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue607);\n ruleXAnnotationElementValue();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXAnnotationElementValueRule()); \n }\n match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue614); if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return ;\n }", "title": "" }, { "docid": "e7519f8b55ac8f7df697c4038d00baed", "score": "0.45963964", "text": "private static void processAnnots(AnnotationSet annots) {\n Set<String> annotTypes = annots.getAllTypes();\n // iterating over annotation types\n for (String aType : annotTypes) {\n // getting number of annotations per type\n AnnotationSet annotByType = annots.get(aType);\n System.out.println(\"\\nNumber of annotations for \" + aType + \": \" + annotByType.size());\n // iterating over annotations\n for (Annotation a : annotByType) {\n // getting annotation type\n String type = (String) a.getType();\n // term features\n long start = a.getStartNode().getOffset();\n long end = a.getEndNode().getOffset();\n int id = a.getId();\n String features = a.getFeatures().toString();\n System.out.println(type + \" | \" + start + \" | \" + end + \" | \" + id + \" | \" + features);\n }\n }\n }", "title": "" }, { "docid": "fcdcedbe0756e965372ea625b7ca88d0", "score": "0.45957953", "text": "@Override\n\tpublic void onPreProcessing(Type type, Object parameter) {\n\n\t}", "title": "" }, { "docid": "fcdcedbe0756e965372ea625b7ca88d0", "score": "0.45957953", "text": "@Override\n\tpublic void onPreProcessing(Type type, Object parameter) {\n\n\t}", "title": "" }, { "docid": "8c08066f7484c17089516126b65f3d96", "score": "0.45828044", "text": "public T caseAnnotation(Annotation object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fbbb8a5a368c3fdaa074021a6956e1a6", "score": "0.4582705", "text": "public static Annotation getAnnotation(AnnotatedElement element, String annotationTypeName) {\n\t Class<?> annotationType = null; // Unbounded type token\n\t\n\t try {\n\t annotationType = Class.forName(annotationTypeName);\n\t } catch (Exception ex) {\n\t throw new IllegalArgumentException(ex);\n\t }\n\t\n\t return element.getAnnotation(annotationType.asSubclass(Annotation.class));\n\t}", "title": "" }, { "docid": "56f71e6a577b04542b0089a9ab527372", "score": "0.45821065", "text": "public interface Element {\n}", "title": "" }, { "docid": "79754a9c2c226cc98c62283ec050b786", "score": "0.45702657", "text": "List<E> filter(final Class<? extends Annotation> a);", "title": "" }, { "docid": "174dbfb56536f750b782db62cb8209fc", "score": "0.45636702", "text": "AnnotationTypeInstance getInformationSource();", "title": "" }, { "docid": "fe716314277aaba10462a81749873e49", "score": "0.45635694", "text": "Object convertForDisplayAnnotation(Controller controller,\r\n String attributeName, Object input);", "title": "" }, { "docid": "9b04c1efe41d1f76fb88a38f2de90e11", "score": "0.45630437", "text": "private static Object convertDOMValueToMirrorValue(Object domValue, \n\t\t\t\t\t\t\t\t\t\t\t\t\t String name,\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t EclipseMirrorImpl parent,\n\t\t\t\t\t\t\t\t\t\t\t\t\t DeclarationImpl decl, \n\t\t\t\t\t\t\t\t\t\t\t\t\t ProcessorEnvImpl env,\n\t\t\t\t\t\t\t\t\t\t\t\t\t TypeMirror expectedType)\n {\n if( domValue == null ) return null;\t\t\n \n final Object returnValue;\n if( domValue instanceof Boolean ||\n\t\t\tdomValue instanceof Byte ||\n\t\t\tdomValue instanceof Character ||\n\t\t\tdomValue instanceof Double || \n\t\t\tdomValue instanceof Float ||\n\t\t\tdomValue instanceof Integer ||\n\t\t\tdomValue instanceof Long ||\n\t\t\tdomValue instanceof Short ||\n\t\t\tdomValue instanceof String ) \n\t\t\treturnValue = domValue;\n \n else if( domValue instanceof IVariableBinding )\n\t\t{\n \treturnValue = Factory.createDeclaration((IVariableBinding)domValue, env);\t\t\t\n\t\t}\n else if (domValue instanceof Object[])\n\t\t{\n\t\t\tfinal Object[] elements = (Object[])domValue;\n\t\t\tfinal int len = elements.length;\n final List<AnnotationValue> annoValues = new ArrayList<AnnotationValue>(len);\n final TypeMirror leaf; \n if( expectedType instanceof ArrayType )\n \tleaf = ((ArrayType)expectedType).getComponentType();\n else\n \tleaf = expectedType; // doing our best here.\n\t\t\tfor( int i=0; i<len; i++ ){\t\t\t\t\n if( elements[i] == null ) continue;\n // can't have multi-dimensional array.\n // there should be already a java compile time error\n else if( elements[i] instanceof Object[] )\n return null;\n\n\t\t\t\tObject o = convertDOMValueToMirrorValue( elements[i], name, parent, decl, env, leaf );\n\t\t\t\tassert( !( o instanceof IResolvedAnnotation ) ) : \"Unexpected return value from convertDomValueToMirrorValue! o.getClass().getName() = \" + o.getClass().getName();\n\t\t\t\t\n\t\t\t\tfinal AnnotationValue annoValue = createAnnotationValue(o, name, i, parent, env);\n if( annoValue != null )\n annoValues.add(annoValue);\n }\n\t\t\treturn annoValues;\n\t\t}\n\t\t// caller should have caught this case.\n else if( domValue instanceof ITypeBinding )\n\t\t\treturnValue = Factory.createTypeMirror((ITypeBinding)domValue, env);\n\t\t\n else if( domValue instanceof IResolvedAnnotation )\n\t\t{\n\t\t\treturnValue = Factory.createAnnotationMirror((IResolvedAnnotation)domValue, decl, env);\n\t\t}\n else\t \n\t\t\t// should never reach this point\n\t\t\tthrow new IllegalStateException(\"cannot build annotation value object from \" + domValue);\n \n return performNecessaryTypeConversion(expectedType, returnValue, name, parent, env);\n }", "title": "" }, { "docid": "53aaabceee13f6efae796662fd35a696", "score": "0.4560124", "text": "void setInformationSource(AnnotationTypeInstance annotationInstance);", "title": "" }, { "docid": "77c619109aac82724e62c052e91afb89", "score": "0.4556885", "text": "protected abstract void processItem(RendererAspectContext rendererContext,\n Item item,\n ContentHandler handler)\n throws SAXException, LayoutException;", "title": "" }, { "docid": "df3456f8161f7d5040ca8f6338dc1b36", "score": "0.4555029", "text": "private TypeSpec parseElementType(Token token)\r\n throws Exception\r\n {\r\n TypeSpecificationParser typeSpecificationParser =\r\n new TypeSpecificationParser(this);\r\n return typeSpecificationParser.parse(token);\r\n }", "title": "" }, { "docid": "d7d8a14ce5446f245c9d02a056dba75a", "score": "0.45456976", "text": "public final void entryRuleXAnnotationElementValue() throws RecognitionException {\r\n try {\r\n // InternalEmfSupportDsl.g:430:1: ( ruleXAnnotationElementValue EOF )\r\n // InternalEmfSupportDsl.g:431:1: ruleXAnnotationElementValue EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n before(grammarAccess.getXAnnotationElementValueRule()); \r\n }\r\n pushFollow(FOLLOW_1);\r\n ruleXAnnotationElementValue();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n if ( state.backtracking==0 ) {\r\n after(grammarAccess.getXAnnotationElementValueRule()); \r\n }\r\n match(input,EOF,FOLLOW_2); if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "418159fd08765b419d9a1c3e0e6295ed", "score": "0.4535345", "text": "@Override\n public AnnotationVisitor visitAnnotation(String desc, boolean visible) {\n return mContext.annotationVisitor;\n }", "title": "" }, { "docid": "c3b0007dab97ecc302f65e7de6035343", "score": "0.45201156", "text": "public void putClass(Annotation annotation, EntryParam param)\n {\n checkType(param.toString());\n String value = AnnotationCollector.parseClassAttrValue(annotation.get(param.toString()));\n if (value != null)\n {\n put(param, value);\n }\n }", "title": "" }, { "docid": "70db56a47cfbd7943dae3efa05ef959c", "score": "0.45012167", "text": "@Override\r\n\t\t\t\tpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {\n\t\t\t\t\t// if\r\n\t\t\t\t\t// (annotationType.equals(javax.interceptor.Interceptor.class))\r\n\t\t\t\t\t// return true;\r\n\t\t\t\t\treturn del.isAnnotationPresent(annotationType);\r\n\t\t\t\t}", "title": "" }, { "docid": "c49ed7cb7fa95232bf87a604782c2a25", "score": "0.44965035", "text": "boolean isAnnotationPresent(Class<?> type, Class<? extends Annotation> annotationType);", "title": "" } ]
6c2b2ac5add7732336147b16ff9a65ab
public boolean GetVal(int startAddress, int size, OperandDataType data_type, IChunkVals chunk_vals, OperandVal operand_val);
[ { "docid": "a188e86742b908aef5dbfbc30bd3abfa", "score": "0.5982854", "text": "boolean WriteOperandVal(IChunkVals cvals, String operand_val, String address, OperandDataType data_type);", "title": "" } ]
[ { "docid": "8dc8ad247ed3413bdda29b75d3e8fcd9", "score": "0.5768073", "text": "Object getValue(long offset, Class<?> type, Object currentValue) {\n/* 363 */ Object result = null;\n/* 364 */ if (Structure.class.isAssignableFrom(type)) {\n/* 365 */ Structure s = (Structure)currentValue;\n/* 366 */ if (Structure.ByReference.class.isAssignableFrom(type)) {\n/* 367 */ s = Structure.updateStructureByReference(type, s, getPointer(offset));\n/* */ } else {\n/* 369 */ s.useMemory(this, (int)offset, true);\n/* 370 */ s.read();\n/* */ } \n/* 372 */ result = s;\n/* 373 */ } else if (type == boolean.class || type == Boolean.class) {\n/* 374 */ result = Function.valueOf((getInt(offset) != 0));\n/* 375 */ } else if (type == byte.class || type == Byte.class) {\n/* 376 */ result = Byte.valueOf(getByte(offset));\n/* 377 */ } else if (type == short.class || type == Short.class) {\n/* 378 */ result = Short.valueOf(getShort(offset));\n/* 379 */ } else if (type == char.class || type == Character.class) {\n/* 380 */ result = Character.valueOf(getChar(offset));\n/* 381 */ } else if (type == int.class || type == Integer.class) {\n/* 382 */ result = Integer.valueOf(getInt(offset));\n/* 383 */ } else if (type == long.class || type == Long.class) {\n/* 384 */ result = Long.valueOf(getLong(offset));\n/* 385 */ } else if (type == float.class || type == Float.class) {\n/* 386 */ result = Float.valueOf(getFloat(offset));\n/* 387 */ } else if (type == double.class || type == Double.class) {\n/* 388 */ result = Double.valueOf(getDouble(offset));\n/* 389 */ } else if (Pointer.class.isAssignableFrom(type)) {\n/* 390 */ Pointer p = getPointer(offset);\n/* 391 */ if (p != null) {\n/* 392 */ Pointer oldp = (currentValue instanceof Pointer) ? (Pointer)currentValue : null;\n/* */ \n/* 394 */ if (oldp == null || p.peer != oldp.peer) {\n/* 395 */ result = p;\n/* */ } else {\n/* 397 */ result = oldp;\n/* */ } \n/* */ } \n/* 400 */ } else if (type == String.class) {\n/* 401 */ Pointer p = getPointer(offset);\n/* 402 */ result = (p != null) ? p.getString(0L) : null;\n/* 403 */ } else if (type == WString.class) {\n/* 404 */ Pointer p = getPointer(offset);\n/* 405 */ result = (p != null) ? new WString(p.getWideString(0L)) : null;\n/* 406 */ } else if (Callback.class.isAssignableFrom(type)) {\n/* */ \n/* */ \n/* 409 */ Pointer fp = getPointer(offset);\n/* 410 */ if (fp == null) {\n/* 411 */ result = null;\n/* */ } else {\n/* 413 */ Callback cb = (Callback)currentValue;\n/* 414 */ Pointer oldfp = CallbackReference.getFunctionPointer(cb);\n/* 415 */ if (!fp.equals(oldfp)) {\n/* 416 */ cb = CallbackReference.getCallback(type, fp);\n/* */ }\n/* 418 */ result = cb;\n/* */ } \n/* 420 */ } else if (Platform.HAS_BUFFERS && Buffer.class.isAssignableFrom(type)) {\n/* 421 */ Pointer bp = getPointer(offset);\n/* 422 */ if (bp == null) {\n/* 423 */ result = null;\n/* */ } else {\n/* */ \n/* 426 */ Pointer oldbp = (currentValue == null) ? null : Native.getDirectBufferPointer((Buffer)currentValue);\n/* 427 */ if (oldbp == null || !oldbp.equals(bp)) {\n/* 428 */ throw new IllegalStateException(\"Can't autogenerate a direct buffer on memory read\");\n/* */ }\n/* 430 */ result = currentValue;\n/* */ } \n/* 432 */ } else if (NativeMapped.class.isAssignableFrom(type)) {\n/* 433 */ NativeMapped nm = (NativeMapped)currentValue;\n/* 434 */ if (nm != null) {\n/* 435 */ Object value = getValue(offset, nm.nativeType(), null);\n/* 436 */ result = nm.fromNative(value, new FromNativeContext(type));\n/* 437 */ if (nm.equals(result)) {\n/* 438 */ result = nm;\n/* */ }\n/* */ } else {\n/* 441 */ NativeMappedConverter tc = NativeMappedConverter.getInstance(type);\n/* 442 */ Object value = getValue(offset, tc.nativeType(), null);\n/* 443 */ result = tc.fromNative(value, new FromNativeContext(type));\n/* */ } \n/* 445 */ } else if (type.isArray()) {\n/* 446 */ result = currentValue;\n/* 447 */ if (result == null) {\n/* 448 */ throw new IllegalStateException(\"Need an initialized array\");\n/* */ }\n/* 450 */ readArray(offset, result, type.getComponentType());\n/* */ } else {\n/* 452 */ throw new IllegalArgumentException(\"Reading \\\"\" + type + \"\\\" from memory is not supported\");\n/* */ } \n/* 454 */ return result;\n/* */ }", "title": "" }, { "docid": "3ec0d7ad51ca735ad52f960c2c637835", "score": "0.5745827", "text": "Expresion getVal1();", "title": "" }, { "docid": "487bcf65f30c90b3ae3d558a9fb79efe", "score": "0.57421845", "text": "@Override public Type value(GVNGCM.Mode opt_mode) {\n Node mem = mem(), adr = adr(), val = val();\n Type tmem = mem._val;\n Type tadr = adr._val;\n Type tval = val._val; // Value\n if( tmem==Type.ALL || tadr==Type.ALL ) return Type.ALL;\n\n if( tadr == Type.ALL ) tadr = TypeMemPtr.ISUSED0;\n if( !(tmem instanceof TypeMem ) ) return tmem.oob(TypeMem.ALLMEM);\n if( !(tadr instanceof TypeMemPtr) ) return tadr.oob(TypeMem.ALLMEM);\n TypeMem tm = (TypeMem )tmem;\n TypeMemPtr tmp = (TypeMemPtr)tadr;\n return tm.update(tmp._aliases,_fin,_fld,tval);\n }", "title": "" }, { "docid": "198d78e88b1057265a5f71767c7243b1", "score": "0.57244587", "text": "Value doValue(LIRInstruction instruction, Value value, OperandMode mode, EnumSet<OperandFlag> flags);", "title": "" }, { "docid": "66b820bbae7d2937e21e9493e93ace32", "score": "0.56487525", "text": "Expresion getVal2();", "title": "" }, { "docid": "b75d67a24986b2806676350327007e36", "score": "0.56437886", "text": "public abstract E getVal();", "title": "" }, { "docid": "18334a6e882b31c459d1869ee3846287", "score": "0.5639214", "text": "public Value getValue();", "title": "" }, { "docid": "63c2ac4f77b9d230b0366e56cb081300", "score": "0.5633806", "text": "V getValue();", "title": "" }, { "docid": "63c2ac4f77b9d230b0366e56cb081300", "score": "0.5633806", "text": "V getValue();", "title": "" }, { "docid": "63c2ac4f77b9d230b0366e56cb081300", "score": "0.5633806", "text": "V getValue();", "title": "" }, { "docid": "63c2ac4f77b9d230b0366e56cb081300", "score": "0.5633806", "text": "V getValue();", "title": "" }, { "docid": "f57a1acc816c6f38004967e246c89862", "score": "0.5622317", "text": "ValueType getValue();", "title": "" }, { "docid": "d8a90746c9226a6024c83929fb220191", "score": "0.56177676", "text": "public XDValue getValue();", "title": "" }, { "docid": "fba1ec67200a297a91e17696f6d749fe", "score": "0.557216", "text": "Object getValue();", "title": "" }, { "docid": "fba1ec67200a297a91e17696f6d749fe", "score": "0.557216", "text": "Object getValue();", "title": "" }, { "docid": "8282eebedf6730629a1dbc52d26557e3", "score": "0.5571842", "text": "int getVal();", "title": "" }, { "docid": "68c962e1f78668c96cadb8f73fbbc593", "score": "0.55056775", "text": "E getVal();", "title": "" }, { "docid": "9f994c73f41ccb3fbc0a19a204ee0ece", "score": "0.5480315", "text": "boolean hasValue3();", "title": "" }, { "docid": "d2336548dec78b21433c534727041fc1", "score": "0.5444993", "text": "public boolean getValue() {\n/* 66 */ return this.value;\n/* */ }", "title": "" }, { "docid": "37e8d5d9ce8d1fb094cd03bae7d1099d", "score": "0.54408705", "text": "public boolean get(long val) {\n prep( val );\n boolean found = true;\n for (int ii = 0; ii < base.ko && found; ii++) found &= base.getBit( next() );\n return found;\n }", "title": "" }, { "docid": "4144a5b48af586afecca6a0168a4c478", "score": "0.5437113", "text": "public V getValue();", "title": "" }, { "docid": "4144a5b48af586afecca6a0168a4c478", "score": "0.5437113", "text": "public V getValue();", "title": "" }, { "docid": "c25d697da224c2f7835b2874e417f8b3", "score": "0.5433356", "text": "public abstract Number getValue();", "title": "" }, { "docid": "2e74f7b0a3d6fec0f00426990953cb62", "score": "0.543011", "text": "boolean getValue();", "title": "" }, { "docid": "37ea453de46fcb544d868d410183005f", "score": "0.5428559", "text": "int getValue();", "title": "" }, { "docid": "37ea453de46fcb544d868d410183005f", "score": "0.5428559", "text": "int getValue();", "title": "" }, { "docid": "37ea453de46fcb544d868d410183005f", "score": "0.5428559", "text": "int getValue();", "title": "" }, { "docid": "37ea453de46fcb544d868d410183005f", "score": "0.5428559", "text": "int getValue();", "title": "" }, { "docid": "ca24adc18e053150ca3535a39bbac37e", "score": "0.5414296", "text": "public int getValue(MarkedBitArray genes, int start, int length) {\r\n\t\t\tint s = 0;\r\n\t\t\tint b = 1;\r\n\t\t\tlength += start;\r\n\t\t\tfor (int i = start; i < length; i++) {\r\n\t\t\t\tif (genes.get(i)) {\r\n\t\t\t\t\ts += b;\r\n\t\t\t\t}\r\n\t\t\t\tb *= 2;\r\n\t\t\t}\r\n\t\t\treturn s;\r\n\t\t}", "title": "" }, { "docid": "98eff3b3dddd03f24af6c9502c055cab", "score": "0.5389077", "text": "public abstract Object getValue();", "title": "" }, { "docid": "9b60c1c18f5ca7031857d8104f8fe1cf", "score": "0.5384548", "text": "public E getValueOf(int position);", "title": "" }, { "docid": "721eb2ba5f9217deae6e4c2b491d70f9", "score": "0.5358749", "text": "public Integer getValue();", "title": "" }, { "docid": "e1113b7e96804ff522d77f9cacae25ea", "score": "0.53536457", "text": "CD getValue();", "title": "" }, { "docid": "467c1848cfa51d3f757affa1dadb6f6a", "score": "0.5352931", "text": "public V getValue0();", "title": "" }, { "docid": "a64c56142a579fd81539ec6d499ee3a5", "score": "0.53513867", "text": "public Object getValue();", "title": "" }, { "docid": "a64c56142a579fd81539ec6d499ee3a5", "score": "0.53513867", "text": "public Object getValue();", "title": "" }, { "docid": "0e9ddf77879a995e4b11de5ed0d1fecd", "score": "0.5350759", "text": "public Value getValue(EvalContext<Value> ctx, long asOf);", "title": "" }, { "docid": "54eeee4aadf9f7613f02091d46cc0cdf", "score": "0.5333332", "text": "public void testGetValue()\n {\n assertEquals(10, pair.getValue().getOffset());\n }", "title": "" }, { "docid": "18e2062c0d11e2c5d05629489a65f98b", "score": "0.5328847", "text": "E getValue();", "title": "" }, { "docid": "512a2cae6ff9fa6e4f2f5a16d9774679", "score": "0.5305469", "text": "public ValueType getValue() {\n return this.value;\n }", "title": "" }, { "docid": "e9f52b9ce54eb583dd5d6681d8d04cc7", "score": "0.52965367", "text": "public int\ngetValue()\n{\n return(value);\n}", "title": "" }, { "docid": "a91797ce528316afd784e6910bc77b1f", "score": "0.52948153", "text": "public V getValue () { return value; }", "title": "" }, { "docid": "31bb6ff93f48991cdb311fdf291b1635", "score": "0.52706647", "text": "public abstract int getValue();", "title": "" }, { "docid": "60ed7bc19f0779b3bde9ecc9c3dc2fbd", "score": "0.5267024", "text": "public abstract T getValue();", "title": "" }, { "docid": "60ed7bc19f0779b3bde9ecc9c3dc2fbd", "score": "0.5267024", "text": "public abstract T getValue();", "title": "" }, { "docid": "f0e90c15f9bcdb34d9796f6bd5fdafad", "score": "0.52576655", "text": "Number getValue();", "title": "" }, { "docid": "d06e8af8357ffa0abdd6fa2eedb4583e", "score": "0.52479887", "text": "double getValue( );", "title": "" }, { "docid": "a2f77485b46b01f5ad99b1b2f8c3c46a", "score": "0.5242568", "text": "public long getValue() { return cValue.getValue(); }", "title": "" }, { "docid": "319db278ed2e9715af7323616a47bb1d", "score": "0.5214347", "text": "public boolean value(State s)\n {\n boolean result;\n \n switch((ComparisonOperator)operator)\n {\n case LT:\n result = leftOperand.value(s) < rightOperand.value(s);\n break;\n case LTE:\n result = leftOperand.value(s) <= rightOperand.value(s);\n break;\n case GT:\n result = leftOperand.value(s) > rightOperand.value(s);\n break;\n case GTE:\n result = leftOperand.value(s) >= rightOperand.value(s);\n break;\n case EQ:\n result = leftOperand.value(s) == rightOperand.value(s);\n break;\n case NEQ:\n result = leftOperand.value(s) != rightOperand.value(s);\n break;\n default:\n result = false;\n break;\n }\n return result;\n }", "title": "" }, { "docid": "1dd1a7941ed7c8f5c2d661818ea65631", "score": "0.5210212", "text": "long getValue();", "title": "" }, { "docid": "1dd1a7941ed7c8f5c2d661818ea65631", "score": "0.5210212", "text": "long getValue();", "title": "" }, { "docid": "1dd1a7941ed7c8f5c2d661818ea65631", "score": "0.5210212", "text": "long getValue();", "title": "" }, { "docid": "af0df2a3a25004631e3874d68a26486b", "score": "0.5206921", "text": "@Test\n\tpublic void testDataAddressBounds() throws ExecutionException {\n\t\tint lastDataAddress = (dataByteBuffer.limit() / MachineState.VALUE_SIZE) - 1;\n\n\t\tcodeByteBuffer.put(OpCode.SET_VAL.value).putInt(lastDataAddress).putLong(8888L);\n\t\tcodeByteBuffer.put(OpCode.FIN_IMD.value);\n\n\t\texecute(true);\n\n\t\tassertTrue(state.isFinished());\n\t\tassertFalse(state.hadFatalError());\n\t}", "title": "" }, { "docid": "cfee505f11b180f8ae35461e88f27915", "score": "0.5202257", "text": "ScriptValue getValue();", "title": "" }, { "docid": "eca752e553144fc09e804526e579cbe1", "score": "0.5187305", "text": "boolean hasValue2();", "title": "" }, { "docid": "cee0ed8ef02e5fb31e7fc2803a5a487a", "score": "0.5185406", "text": "public int val()\r\n {\r\n return opcode;\r\n }", "title": "" }, { "docid": "0fb749d8b0fb791fd6040e061cb1d509", "score": "0.51699466", "text": "public int getContents(int addr) {\n if (0 > addr || addr > this.memorySize-1) {\n System.err.println(\"ERROR: Attempt to get a value from an address out of range\");\n System.err.println(\" Illegal Address: \" + addr);\n System.exit(1);\n }\n \n return this.mem[addr];\n }", "title": "" }, { "docid": "92bf10874ae02bd56e0c36339d72d751", "score": "0.5156888", "text": "public static boolean value(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"value\")) return false;\n boolean r;\n Marker m = enter_section_(b, l, _NONE_, VALUE, \"<value>\");\n r = single_value(b, l + 1);\n if (!r) r = object(b, l + 1);\n if (!r) r = value_2(b, l + 1);\n exit_section_(b, l, m, r, false, null);\n return r;\n }", "title": "" }, { "docid": "afc283272d7714a69d7fbbee790fb9d8", "score": "0.515679", "text": "@Override\n public byte[] getValue(final String deviceId, final String valueId, int startParam, int endParam)\n throws Exception {\n final String valueKey = getValueKey(valueId);\n\n return getDataManager().getObject(valueKey).withRange(startParam, endParam).getInputStream()\n .readAllBytes();\n\n }", "title": "" }, { "docid": "aa3b577d1da678f6d60e7d7f6301c0dc", "score": "0.513083", "text": "Number startValue();", "title": "" }, { "docid": "33b6bace73061718329f3d3de62db27f", "score": "0.51296115", "text": "@Override\n public Object getValue() {\n return aVal;\n }", "title": "" }, { "docid": "49aaa1df60b6d75b6bf926299de330cf", "score": "0.51223654", "text": "int getEndValue();", "title": "" }, { "docid": "962b0a8a2ba8b64e8b4f4df5e1e874f3", "score": "0.5112682", "text": "@Override\n public Integer peekValue() {\n \treturn getData().getValue();\n }", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "702db3f6f257d241f33c8fcc70a68586", "score": "0.5104165", "text": "boolean hasValue();", "title": "" }, { "docid": "7bc8458a470264a469a8e94ca70e4fde", "score": "0.5102069", "text": "boolean hasValue1();", "title": "" }, { "docid": "c98a1df7405a67f48d4e595b0a51751f", "score": "0.5101498", "text": "public static boolean value(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"value\")) return false;\n boolean r;\n Marker m = enter_section_(b, l, _NONE_, VALUE, \"<value>\");\n r = value_0(b, l + 1);\n if (!r) r = value_1(b, l + 1);\n if (!r) r = value_2(b, l + 1);\n if (!r) r = envFunction(b, l + 1);\n if (!r) r = consumeToken(b, STRING);\n if (!r) r = consumeToken(b, NUMBER);\n if (!r) r = consumeToken(b, BOOLEAN);\n exit_section_(b, l, m, r, false, null);\n return r;\n }", "title": "" }, { "docid": "9a59aa0920e5e05ff16f2c92b202b2b4", "score": "0.50898165", "text": "int computeValue();", "title": "" }, { "docid": "59cac7232e4ffce4ab186cb98423a8c7", "score": "0.5080637", "text": "protected abstract O getValue();", "title": "" }, { "docid": "4fa51b850fca2e37b8ed79dcd6c7cbc0", "score": "0.5078578", "text": "public T getValue();", "title": "" }, { "docid": "182821641b9cc440aa073993bc870ded", "score": "0.5069323", "text": "private static Boolean getval() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "fc2e0c24cc2a00f157d8f73c9996326f", "score": "0.50682163", "text": "public int get_val(){\n \t\treturn this.value;\n \t}", "title": "" }, { "docid": "323c62e40c4c8f5a3e60340f8baad583", "score": "0.5059721", "text": "private ToFormulaVisitor<CompoundInterval, ValueFormulaType> getValueVisitor(InvariantsFormula<CompoundInterval> pFormula) {\n Integer size = ToBitvectorFormulaVisitor.getSize(pFormula, types, machineModel);\n return getValueVisitor(size);\n }", "title": "" }, { "docid": "2624f7a892474ed672692fba568121ee", "score": "0.5059381", "text": "public abstract Object getValueAt(int paramInt1, int paramInt2);", "title": "" }, { "docid": "dfe3431adb763251272dd8729e5ab14d", "score": "0.505459", "text": "@Override\n V getValue();", "title": "" }, { "docid": "6bdee9a105b6f16238c5d10d5d55177f", "score": "0.50473046", "text": "Object getLVal();", "title": "" }, { "docid": "6bdee9a105b6f16238c5d10d5d55177f", "score": "0.50473046", "text": "Object getLVal();", "title": "" }, { "docid": "b626ea4b480b48e267357582ab6ff8f8", "score": "0.5047212", "text": "public boolean read1Value(SoInput in, int index)\n//\n////////////////////////////////////////////////////////////////////////\n{\n\tfinal double[] ret = new double[1]; \n\tif( in.read(ret)) {\n\t\tvalues.setO(index, ret[0]);\n\t\treturn true;\n\t}\n\treturn false;\n}", "title": "" }, { "docid": "c07c8a119cdf799ae89b6be2bea7fc63", "score": "0.50428045", "text": "public E getValue();", "title": "" }, { "docid": "900d08c38d0377a42b273121857437dd", "score": "0.5041871", "text": "public Value<?> getValue();", "title": "" }, { "docid": "004352a477fba5b0f37a1ea1e3b5652a", "score": "0.503551", "text": "boolean hasValset();", "title": "" } ]
bb2288ba335765c8f68dc6ef6a370746
Logs the passed log text and amount to the log text file and system console.
[ { "docid": "8e964c84b8fb5ae487c1bc1d326e4fd0", "score": "0.0", "text": "public static String logActivity(AppProperties appProps, String textToLog, boolean includeDateTime, boolean printToConsole) throws Exception{\r\n\t\ttry {\r\n\t\t\tif (includeDateTime) {\r\n\t\t\t\ttextToLog = AppTools.currentDateTime(appProps.getAppLogDateTimeFormat()) + AppConstant.TEXT_AFTER_LOG_DATETIME + textToLog;\r\n\t\t\t}\r\n\t\t\tString textForLogFile = textToLog;\r\n\t\t\t//-- Make sure the text to log is not too long\r\n\t\t\tif (textForLogFile.length()>appProps.getAppLogMaxTextLength()){\r\n\t\t\t\ttextForLogFile = textForLogFile.substring(0,appProps.getAppLogMaxTextLength()-3) + \"...\";\r\n\t\t\t}\r\n\t\t\t//-- If the option to log to a text file is true, then write data to the text file\r\n\t\t\tif (appProps.isAppLogToFile()){\t\t\t\t\r\n\t\t\t\twriteDataToLogFile(appProps, textForLogFile);\r\n\t\t\t}\r\n\t\t\t//-- Print to the system console (if needed)\r\n\t\t\tif (printToConsole){\r\n\t\t\t\tSystem.out.println(textToLog);\r\n\t\t\t}\t\r\n\t\t\treturn textToLog;\r\n\t\t} catch (Exception e){\r\n\t\t\tthrow e;\r\n\t\t}\t\t\r\n\t}", "title": "" } ]
[ { "docid": "544f4655d9bbc6d1c16dff0fb5b48cf4", "score": "0.6670645", "text": "public void PrintToLog(String text) {\n log = text;\n WriteLog();\n }", "title": "" }, { "docid": "1d479f73d297cbea19970c523a168ac5", "score": "0.6652545", "text": "public void log( String text )\n {\n if ( _loggingEnabled) { _printStream.println( text ); }\n }", "title": "" }, { "docid": "61898cc4516bf3ff85660ae70595c85f", "score": "0.64207196", "text": "@Override\r\n\tpublic void log(String args, String texte) {\n\t\tSystem.out.println(\"Console : \" +texte);\r\n\t}", "title": "" }, { "docid": "1717d722d186ca97efdeb3a123d432f4", "score": "0.63107955", "text": "public static void log(String text) {\r\n\t\tSystem.out.println(text);\r\n\t}", "title": "" }, { "docid": "c463d85124242220579d7a1cbf642ee4", "score": "0.62057257", "text": "public void setLogText(String logText) {\n this.logText = logText;\n }", "title": "" }, { "docid": "d164524d5d139624ff3e0cb8caa3030b", "score": "0.61780035", "text": "public static synchronized void log(String logEntry)\n {\n int entrySize;\n File fileDescp;\n \n try {\n \n // Get the size of the log file if it hasn't been opened yet\n if (logFile == null) {\n fileDescp = new File(Constants.NTCSS_LOG_FILE);\n if (fileDescp.exists() == true)\n currentFileSize = fileDescp.length();\n else\n currentFileSize = 0;\n }\n \n // Check to see if the log file has reached its max size. If it has\n // update the history files\n entrySize = logEntry.length() + LINE_SEPARATOR_SIZE;\n if ((currentFileSize + entrySize) > MAX_LOG_FILE_SIZE) {\n \n // Close the log file if it is open\n if (logFile != null) {\n logFile.close();\n logFile = null;\n }\n \n // Create the history files. The maximum number of history files\n // there should be at any time is MAX_NUM_HISTORY_FILES (this\n // number does not include the log file itself).\n for (int i = MAX_NUM_HISTORY_FILES; i > 0; i--) {\n \n fileDescp = new File(Constants.NTCSS_LOG_FILE + \"_\" + i);\n \n if (fileDescp.exists() == true) {\n if (i == MAX_NUM_HISTORY_FILES)\n fileDescp.delete();\n else\n fileDescp.renameTo(new File(Constants.NTCSS_LOG_FILE + \n \"_\" + (i + 1)));\n }\n } \n fileDescp = new File(Constants.NTCSS_LOG_FILE);\n fileDescp.renameTo(new File(Constants.NTCSS_LOG_FILE + \"_1\")); \n \n // Reset the size count of the log file\n currentFileSize = 0;\n }\n \n // If the log file hasn't been opened for writing, open it\n if (logFile == null) \n logFile = new PrintWriter(\n new FileOutputStream(Constants.NTCSS_LOG_FILE, true)); \n \n \n // Write the given string to the log file\n logFile.println(logEntry);\n logFile.flush();\n \n if (echoOn == true)\n System.out.println(logEntry);\n \n // Update the size count of the log file\n currentFileSize += entrySize;\n }\n catch (Exception exception) {\n \n // If there is any exception, just write the log entry to standard out\n System.out.println(\"LOGERROR \" + logEntry);\n }\n }", "title": "" }, { "docid": "052cb40677b671afc1ac3af16f3f1f27", "score": "0.61344063", "text": "private void logPrint(String logLine) throws FileNotFoundException, UnsupportedEncodingException{\r\n\t\tString line = getLogPrefix() + logLine;\r\n\t\tSystem.out.println(line);\r\n\t\twriteToLogFile(line);\r\n\t}", "title": "" }, { "docid": "00cb0ffdc97dedce73722b601fed645e", "score": "0.6127498", "text": "public void printToLogFile() {\n\t\tDateTimeFormatter formatDate = DateTimeFormatter.ofPattern(\"dd-MM-yyyy HH:mm\");\n\t\tString fileName = (\"log_\" + currentDate.format(formatDate) + \".txt\");\n\t\tFile logFile = new File(fileName);\n\t\t\n\t\ttry(PrintWriter writer = new PrintWriter(logFile)){\n\t\t\tfor(String msg : loggedMessages) {\n\t\t\t\twriter.println(msg);\t\n\t\t\t}\n\t\t\twriter.close();\t\n\t\t}catch(IOException exception) {\n\t\t\tSystem.out.println(\"Unable to read from file\" + exception);\n\t\t}\n\t}", "title": "" }, { "docid": "5e9516636fd665c5113ffdb08423df3f", "score": "0.6066918", "text": "public synchronized void log(String s, String logFile)\n {\n if(logger==null)\n {\n File mFile = new File(LOG);\n try\n {\n if (mFile.exists() || mFile.createNewFile())\n {\n logger = new BufferedWriter(new FileWriter(mFile));\n \n\n }\n }\n catch (IOException e)\n {\n System.out.println(\"Can not create \" + mFile.getAbsoluteFile() + \". Please grant correct write permissions Or configure log file path using property -D\" + PROP_LOG_FILE_LOCATION + \"=<writable file directory>.\");\n e.printStackTrace();\n System.exit(EXIT_ERROR);\n }\n\n }\n\n\n try\n {\n logger.write(s);\n logger.flush();\n \n }catch (IOException e){\n if (e.getMessage() != null && e.getMessage().contains(\"Stream closed\")) {\n System.out.println(\"WARNING: All log data has not written to the log file. Subscription time can be increased using -DTest.executionDuration=<time in ms> property.\" + EOL);\n System.exit(EXIT_SUCCESS);\n }\n else\n {\n fail(e);\n }\n\n }\n\n\n }", "title": "" }, { "docid": "72d76f7293e9275e7ebfe62b85546f8e", "score": "0.6042102", "text": "public void log(String message) {\n\t\t_statusArea.append(\"\\n[\"+new Date().toString()+\"] \" + message);\n\t\ttry {\n\t\t\tBufferedWriter out = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(Paths.get(_appPath, \"AutoSearchLog.txt\"), StandardOpenOption.CREATE, StandardOpenOption.APPEND)));\n\t\t\tout.newLine();\n\t\t\tout.write(\"[\"+new Date().toString()+\"] \" + message);\n\t\t\tout.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "f681826c81b8cca700e29b30cc59beaf", "score": "0.60334086", "text": "public void log(String text) {\n // System.out.println(\"Browser console.log: \"+text);\n logger.info(\"cyBrowser: \"+text);\n }", "title": "" }, { "docid": "5dfeb6652d1191736b193635911073a4", "score": "0.60269755", "text": "public static void log(String text) {\n text += \"\\n\";\n System.out.println(text);\n }", "title": "" }, { "docid": "d2911b531b198d7ac3ab76f1984b6a5f", "score": "0.5972284", "text": "private void writeLog(IProcessMessageManager processMessageManager, ProcessMessage message) {\n processMessageManager.addMessage(message);\n // processMessageManager.updateConsole();\n }", "title": "" }, { "docid": "1d2b744facc5c0d039915d08f45ba8ea", "score": "0.596695", "text": "public void logData(){\n nLog.printToLogln(Utility.TimeStringMS() + \" \" + cycleCnt + \" \" + \n\t\t numMsgsRcvd + \" \" + iWantToTerminate );\n }", "title": "" }, { "docid": "b5cb819c05bb66748b70054cba6d0e25", "score": "0.5950203", "text": "private void performLogging(int count, PrintWriter w) {\n emitf(w, \"Logging %d entries\", count);\n logger.info(\"Starting logging\");\n for (int i = 0; i < count; ++i) {\n logger.log(LOG_LEVELS[random.nextInt(LOG_LEVELS.length)],\n \"An informative log message with some interesting words.\");\n }\n logger.info(\"Done logging\");\n }", "title": "" }, { "docid": "e1b86652da616b05e2e98a8072fb13ea", "score": "0.5938564", "text": "static void log3() {\n System.out.println(\"Logging to file from interface\");\n }", "title": "" }, { "docid": "ca3cb90b8da676d904e7d0b270062541", "score": "0.59349674", "text": "public static void log(String logContent){\n log(DEFAULT_KEY, logContent);\n }", "title": "" }, { "docid": "158bc76d5b48f3833edfee6b2a4cb8d6", "score": "0.593468", "text": "public static void addTextLog(String text) {\n textLog.append(text);\n }", "title": "" }, { "docid": "564b253ea7bb81fe77a94190791b6d41", "score": "0.5930739", "text": "public void println(String text)\n {\n log.append(text + \"\\n\");\n log.setCaretPosition(log.getDocument().getLength());\n }", "title": "" }, { "docid": "564b253ea7bb81fe77a94190791b6d41", "score": "0.5930739", "text": "public void println(String text)\n {\n log.append(text + \"\\n\");\n log.setCaretPosition(log.getDocument().getLength());\n }", "title": "" }, { "docid": "7bd6c6547f918781d5ce86e299581c2e", "score": "0.5925668", "text": "private void writeLog() {\n\t\t\t\t\t\t\n\t\tlogger = Logger.getLogger(this.className);\n\t\t\n\t\tlogger.addHandler(fh);\n\n\t\tlogger.log(logLevel, formatMsg());\n\t\t\n\t}", "title": "" }, { "docid": "b8f74de61024f174e8c2e0da48b54033", "score": "0.5879856", "text": "private static void logging(ArrayList<String> logs, String log_name) {\n Date date = new Date();\n String string = \"Date: \" + date.toString() + \"\\n\" + \"\\n\";\n // for each thing in the dictionary\n for (Integer i = 0; i < logs.size(); i ++) {\n string = string + logs.get(i) + \"\\n\" + \"\\n\";\n }\n try {\n\n File file = new File(log_name);\n\n // if file doesn't exist, create it\n if (!file.exists()) {\n file.createNewFile();\n }\n\n FileWriter fw = new FileWriter(file.getAbsoluteFile());\n BufferedWriter bw = new BufferedWriter(fw);\n bw.write(string);\n bw.close();\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "e8d686bda0df739559d3bd1ede9548ec", "score": "0.58722854", "text": "private void logTheOperation(String description, float amount, int clientId) {\r\n\t\tlong timestamp = System.currentTimeMillis();\r\n\t\tLog log = new Log(timestamp, clientId, description, amount);\r\n\t\tLogger.log(log);\r\n\t}", "title": "" }, { "docid": "a2a29bf7fb11792035c64887b56fd1ac", "score": "0.58579", "text": "@SuppressWarnings(\"deprecation\")\n\tprivate void writeLogFile() {\n\t\tTime t = new Time();\n\t\tt.setToNow();\n\t\tlong timeStamp = t.toMillis(false);\n\t\tString dateTime = Tools.timeStamp2DateTime(t, true);\n\t\tArrayList<String> al;\n\t\t//write cpu log file\n\t\tif (mCpuCount == 0) {\n\t\t\tal = new ArrayList<String>();\n\t\t\tString s = String.valueOf(timeStamp) + \" \"\n\t\t\t\t\t+ dateTime + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPUUsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU0UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU1UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU2UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU3UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU4UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU5UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU6UsageRatio) + \" \"\n\t\t\t\t\t+ String.format(\"%.5f\", mCPU7UsageRatio);\n\t\t\tal.add(s);\n\t\t\tTools.appendTXTFile(al, CPULOGFILE);\n\t\t}\n\t\tmCpuCount++;\n\t\tif (mCpuCount >= mCpuLogInterval) {\n\t\t\tmCpuCount = 0;\n\t\t}\n\t\t//write mem log file\n\t\tif (mMemCount == 0) {\n\t\t\tal = new ArrayList<String>();\n\t\t\tString s = String.valueOf(timeStamp) + \" \"\n\t\t\t\t\t+ dateTime + \" \"\n\t\t\t\t\t+ mTotalMem + \" \"\n\t\t\t\t\t+ mFreeMem + \" \"\n\t\t\t\t\t+ mMemUsageRatio;\n\t\t\tal.add(s);\n\t\t\tTools.appendTXTFile(al, MEMLOGFILE);\n\t\t}\n\t\tmMemCount++;\n\t\tif (mMemCount >= mMemLogInterval) {\n\t\t\tmMemCount = 0;\n\t\t}\n\t\t//write signal log file\n\t\tif (mSignalCount == 0) {\n\t\t\tal = new ArrayList<String>();\n\t\t\tString s = String.valueOf(timeStamp) + \" \"\n\t\t\t\t\t+ dateTime + \" \"\n\t\t\t\t\t+ mRadioSignalStrength + \" \"\n\t\t\t\t\t+ mLteSignalStrength + \" \"\n\t\t\t\t\t+ mLteRsrp + \" \"\n\t\t\t\t\t+ mLteRsrq + \" \"\n\t\t\t\t\t+ mLteRssnr + \" \"\n\t\t\t\t\t+ mLteCqi;\n\t\t\tal.add(s);\n\t\t\tTools.appendTXTFile(al, SIGNALLOGFILE);\n\t\t}\n\t\tmSignalCount++;\n\t\tif (mSignalCount >= mSignalLogInterval) {\n\t\t\tmSignalCount = 0;\n\t\t}\n\t\t//write network log file\n\t\tif (mNetworkCount == 0) {\n\t\t\tal = new ArrayList<String>();\n\t\t\t//calculate cell ID\n\t\t\tString cellID = Tools.CalcCellID(changeNetworkType(mNetworkType), mCellID);\n\t\t\tif (cellID == null) {\n\t\t\t\tcellID = \"unknown\";\n\t\t\t}\n\t\t\tString s = String.valueOf(timeStamp) + \" \"\n\t\t\t\t\t+ dateTime + \" \"\n\t\t\t\t\t+ mMSISDN + \" \"\n\t\t\t\t\t+ mMCCMNC + \" \"\n\t\t\t\t\t+ mNWOPName + \" \"\n\t\t\t\t\t+ cellID + \" \"\n\t\t\t\t\t+ parseNetworkType(mNetworkType) + \" \"\n\t\t\t\t\t+ parsePhoneType(mPhoneType) + \" \"\n\t\t\t\t\t+ parseDataState(mDataState) + \" \"\n\t\t\t\t\t+ mIsRoaming;\n\t\t\tal.add(s);\n\t\t\tTools.appendTXTFile(al, NETWORKLOGFILE);\n\t\t}\n\t\tmNetworkCount++;\n\t\tif (mNetworkCount >= mNetworkLogInterval) {\n\t\t\tmNetworkCount = 0;\n\t\t}\n\t\t//write power log file\n\t\tif (mPowerCount == 0) {\n\t\t\tal = new ArrayList<String>();\n\t\t\tString s = String.valueOf(timeStamp) + \" \"\n\t\t\t\t\t+ dateTime + \" \"\n\t\t\t\t\t+ mPowerSource + \" \"\n\t\t\t\t\t+ mBatteryLevel + \" \"\n\t\t\t\t\t+ String.format(\"%.3f\", mBatteryVolt) + \" \"\n\t\t\t\t\t+ mBatteryTemp;\n\t\t\tal.add(s);\n\t\t\tTools.appendTXTFile(al, POWERLOGFILE);\n\t\t}\n\t\tmPowerCount++;\n\t\tif (mPowerCount >= mPowerLogInterval) {\n\t\t\tmPowerCount = 0;\n\t\t}\n\t}", "title": "" }, { "docid": "da9f0bfa11a188b0c38fee7fb924d3ed", "score": "0.5855499", "text": "private static void logMsg(String textToLog) {\n if (BuildConfig.DEBUG) {\n Log.d(XmlReader.class.toString(), textToLog);\n }\n }", "title": "" }, { "docid": "1fd6661f0740122d0cd45bd1c8251eb5", "score": "0.5823538", "text": "public void logToFile(String log_message) throws IOException\n\t{\n\t\tbw_log.write(log_message);\n\t}", "title": "" }, { "docid": "541a78d39cf73186605c222a554e2e03", "score": "0.57992405", "text": "private static void log (String text){\n\t\t//Implement cool logging here.\n\n\t\t//Basic: Send to the console with a minimized\n\n try {\n\n System.out.println(\" *** UNIT TEST LOG: \" + text);\n\n }catch (Exception e) {\n //Eat the null exception pointer error\n //Todo: see if we can return the line number where the null string was passed without everything\n // with UncaughtExceptionHandler and e.getCause().getStackTrace()\n //https://stackoverflow.com/questions/23903831/how-can-i-get-the-line-number-where-the-exception-was-thrown-using-thread-uncaug\n System.out.println(\" *** Empty/Null string sent to UNIT TEST LOG ***\");\n\n }\n\n }", "title": "" }, { "docid": "5635c2488afa87f95687548a85bf62ad", "score": "0.5798218", "text": "default void log(@NonNull String text){\n Objects.requireNonNull(text);\n System.out.println(ANSI_PURPLE +new Date().toLocaleString() +ANSI_RESET+\" > \" + text);\n }", "title": "" }, { "docid": "e0aa45520bf6638dca66b25389b11319", "score": "0.5796536", "text": "public void print(String text)\n {\n log.append(text);\n log.setCaretPosition(log.getDocument().getLength());\n }", "title": "" }, { "docid": "e0aa45520bf6638dca66b25389b11319", "score": "0.5796536", "text": "public void print(String text)\n {\n log.append(text);\n log.setCaretPosition(log.getDocument().getLength());\n }", "title": "" }, { "docid": "7cb2498c595d0f6e60b8e3353527f517", "score": "0.57897633", "text": "private void printLog(TaskListener taskListener, final String text) {\n taskListener.getLogger().println(text);\n }", "title": "" }, { "docid": "df2bbe5fdf6fcc488417d97828f75915", "score": "0.5766184", "text": "protected void log(String loginfo){\n\t\tlog.debug(this.getWork().getName() + \"-process:\" + loginfo);\r\n\t}", "title": "" }, { "docid": "290a0835bef764fa5698c80b22404849", "score": "0.5758117", "text": "protected void log(String additionalLogString)\n\t{\n\t\tlog_protocol_textarea.setText(log_protocol_textarea.getText() + \"\\n\" + additionalLogString);\n\t}", "title": "" }, { "docid": "dfc283af662bd51cfaa43bccde622743", "score": "0.575667", "text": "public void log(String text, int severe, int logType) {\n this.log(text, severe, logType, this.timeInMysqlFormat());\n }", "title": "" }, { "docid": "a33bb7a0384b3c936dc79a889f02e66b", "score": "0.57542115", "text": "private void writeLogs() {\n\t\tsynchronized(writingLock) {\n\t\t\tif(isEnabled) {\n\t\t\t\twriteLimit = 0;\n\t\t\t\tmData = new ArrayList<>(mRobotThreadLogs);\n\t\t\t\tmData.addAll(mSubsystemThreadLogs);\n\t\t\t\ttry {\n\t\t\t\t\tmData.removeIf(Objects::isNull);\n\t\t\t\t}\n\t\t\t\tcatch(UnsupportedOperationException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tmData.sort(LeveledString::compareTo);\n\t\t\t\tmData.forEach((LeveledString c) -> {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif(c.getLevel().intValue() >= LoggerConstants.writeLevel.intValue()) {\n\t\t\t\t\t\t\tFiles.append(((LeveledString) c).getLeveledString(), mainLog, Charsets.UTF_8);\n\t\t\t\t\t\t\tif(((LeveledString) c).getLevel().intValue() >= LoggerConstants.displayLevel.intValue() && writeLimit <= LoggerConstants.writeLimit) {\n\t\t\t\t\t\t\t\tSystem.out.println(c.getLeveledString());\n\t\t\t\t\t\t\t\twriteLimit++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch(IOException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tmData.clear();\n\t\t\t\tmSubsystemThreadLogs.clear();\n\t\t\t\tmRobotThreadLogs.clear();\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ff3e16e499bf977c497564dadc5ae538", "score": "0.5751322", "text": "public void log() {\n\t\tupdateCounter++;\n\t\tif (updateCounter%10 == 0) {\n\t\tSmartDashboard.putNumber(\"Drive Distance\", ((int)(100*driveEncoder.getDistance()))/100.0);\n\t\tSmartDashboard.putNumber(\"Drive Speed\", driveEncoder.getRate());\n\t\tSmartDashboard.putNumber(\"Gyro\", ((int)(1000*driveGyro.getAngle()))/1000.0);\n\t\t}\n\t}", "title": "" }, { "docid": "7833f87f7cf389cb1ad648edc145971b", "score": "0.5741413", "text": "public void testStoreTxtLog() throws IOException {\n final String logData = \"this is the log data\";\n InputStreamSource txtDataSource = new ByteArrayInputStreamSource(logData.getBytes());\n\n IInvocationContext context = new InvocationContext();\n context.addDeviceBuildInfo(\"fakeDevice\", new BuildInfo());\n mResultReporter.invocationStarted(context);\n mResultReporter.testLogSaved(\"txt_log\", LogDataType.TEXT, txtDataSource,\n new LogFile(REPORT_PATH, REPORT_URL, false /* compressed */, true /* text */));\n mResultReporter.invocationEnded(1);\n\n String output = mResultReporter.getOutput();\n // expect just the log reference and snippet\n assertHasPair(\n output,\n \"large_text\",\n \"txt_log.txt\",\n cdata(String.format(\"Full log: %s\\n\\n%s\", REPORT_URL, logData)));\n assertHasPair(\n output,\n \"large_text\",\n \"txt_log\",\n cdata(String.format(\"Full log: %s\\n\\n%s\", REPORT_URL, logData)));\n }", "title": "" }, { "docid": "3b8a045bd0657e0b0029caf2c91848be", "score": "0.57247525", "text": "private void log(String message) {\n System.out.println(message);\n }", "title": "" }, { "docid": "7d617c753e6b23dbb0d727277937e9b8", "score": "0.57202125", "text": "private void setUpLogFile() {\r\n if (useLogFile && !getJarFilePath().equalsIgnoreCase(\".\")) {\r\n try {\r\n String path = getJarFilePath() + \"/resources/SearchGUI.log\";\r\n\r\n File file = new File(path);\r\n System.setOut(new java.io.PrintStream(new FileOutputStream(file, true)));\r\n System.setErr(new java.io.PrintStream(new FileOutputStream(file, true)));\r\n\r\n // creates a new log file if it does not exist\r\n if (!file.exists()) {\r\n boolean fileCreated = file.createNewFile();\r\n\r\n if (fileCreated) {\r\n FileWriter w = new FileWriter(file);\r\n BufferedWriter bw = new BufferedWriter(w);\r\n bw.close();\r\n w.close();\r\n } else {\r\n JOptionPane.showMessageDialog(this, \"Failed to create the file log file.\\n\"\r\n + \"Please contact the developers.\", \"File Error\", JOptionPane.OK_OPTION);\r\n }\r\n }\r\n } catch (Exception e) {\r\n JOptionPane.showMessageDialog(\r\n null, \"An error occurred when trying to create the SearchGUI log file.\",\r\n \"Error Creating Log File\", JOptionPane.ERROR_MESSAGE);\r\n e.printStackTrace();\r\n }\r\n }\r\n }", "title": "" }, { "docid": "a1bef9d18cd8369c4f197957506b6d19", "score": "0.5711761", "text": "private void displayLog() {\n\t\tString logMessages = \"\";\n\t\tFileInputStream fIn;\n\t\ttry {\n\t\t\t//get file\n\t\t\tfIn = openFileInput(\"messagelog.txt\");\n\t\t\tInputStreamReader isr = new InputStreamReader(fIn);\n\n\t\t\t//read data\n\t\t\tint data = isr.read();\n\t\t\twhile (data != -1) {\n\t\t\t\tchar theChar = (char) data;\n\t\t\t\tdata = isr.read();\n\t\t\t\tlogMessages += theChar;\n\t\t\t}\n\t\t\t\n\t\t\t//write to textview\n\t\t\t((TextView) findViewById(R.id.id_log_container)).setText(logMessages);\n\t\t\tisr.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// show log in android log cat\n\t\t\tLog.d(\"printr\", \"Fehler: \" + e.getMessage());\n\t\t} catch (IOException e) {\n\t\t\t// show log in android log cat\n\t\t\tLog.d(\"printr\", \"Fehler: \" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "1b6253b71ae72516036f50ec5ed75d59", "score": "0.57063335", "text": "public void log( String msg ){\n\t}", "title": "" }, { "docid": "6c7aee4004b3e87bbdcbed51ff45fddc", "score": "0.57061034", "text": "public static void testStepsLog(int logStep, String log) {\n logger.info(log);\n log(\"Step \" + logStep + \" : \" + log);\n }", "title": "" }, { "docid": "3cdd72f1f7fd0e248bfe76c916058fd1", "score": "0.5704993", "text": "private void log() {\r\n\r\n\t\tEventingServiceAsync svc = GWT.create(EventingService.class);\r\n\t\tsvc.log(ICEMain.identifier, getLoggedResult(loggedData), ExperimentIdentifier.CLICKBLOB, 1, new AsyncCallback<Void>() {\r\n\t\t\t\r\n\t\t@Override\r\n\t\tpublic void onSuccess(Void result) {\r\n\t\t\tClickBlobs1user.this.clear();\r\n\t\t\tWindow.alert(\"Successfully logged! Experiment finished\");\r\n\t\t}\r\n\t\t\r\n\t\t@Override\r\n\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\tGWT.log(\"Error:\", caught);\r\n\t\t\tClickBlobs1user.this.clear();\r\n\t\t\tWindow.alert(\"Task finished but was not able to log!\");\r\n\r\n\t\t}\r\n\t\t});\r\n\r\n\t\t\r\n\t\t}", "title": "" }, { "docid": "bb5583e23b6678077467864a879701ce", "score": "0.5702061", "text": "public void log(String message);", "title": "" }, { "docid": "a8256330b649d2df68b7f374bfced76f", "score": "0.5696428", "text": "public void log(String log) throws SQLException{\r\n java.util.Date actual_date = new java.util.Date();\r\n database_log.add(\"(\"+actual_date.toString()+\")\"+\" - \"+log);\r\n // load log to database\r\n if ( debug == 1){\r\n String query = \"INSERT INTO PROGRAM_LOG (program_log_desc) VALUES (?); \";\r\n System.out.println(\"ENTRC LOG: \"+database_log.get(database_log.size()-1));\r\n if ( con == null){\r\n System.out.println(\"Bład bazy: con=null (\"+log+\")\");\r\n }\r\n else{\r\n PreparedStatement ppst = con.prepareStatement(query);\r\n \r\n try{\r\n \r\n ppst.setString(1,log);\r\n \r\n ppst.execute();\r\n \r\n }catch(SQLException e){}\r\n }\r\n\r\n // after 100 records dump to file\r\n if(database_log.size() > 100){\r\n database_log.clear();\r\n } \r\n } \r\n }", "title": "" }, { "docid": "4dda529bee6159c11a949193e6ceea63", "score": "0.5693481", "text": "private static void writeDataToLogFile(AppProperties appProps, String TextToLog) throws Exception{\r\n\t\ttry {\r\n\t\t\t//-- Setup the log file name based on the 'NewLogFileFrequency'. Replace only last instance of period with date\r\n\t\t\tString LogFileName = appProps.getAppLogFile();\r\n\t\t\tif (appProps.getAppLogNewFileFrequency().equalsIgnoreCase(\"monthly\")){\r\n\t\t\t\tLogFileName = LogFileName.replaceAll(\"\\\\.(?!.*\\\\.)\",AppTools.currentDateTime(\"_yyyy_MM\")+\".\");\r\n\t\t\t}\r\n\t\t\tif (appProps.getAppLogNewFileFrequency().equalsIgnoreCase(\"daily\")){\r\n\t\t\t\tLogFileName = LogFileName.replaceAll(\"\\\\.(?!.*\\\\.)\",AppTools.currentDateTime(\"_yyyy_MM_dd\")+\".\");\r\n\t\t\t}\r\n\t\t\t//-- Startup a FileWriter based on the log file name (creates a new file if one isn't there)\r\n\t\t\tFileWriter outFile = new FileWriter(LogFileName,true);\r\n\t\t\t//-- Startup a PrintWriter and write the new line to the file\r\n\t\t\tPrintWriter out = new PrintWriter(outFile);\r\n\t\t\tout.println(TextToLog);\r\n\t\t\t//-- Close the file\r\n\t\t\tout.close();\r\n\t\t} catch (Exception e){\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7728970dd5179d69baf8ec85c5c8451e", "score": "0.5685503", "text": "private void log(String logText, boolean newLine) {\n\t\t\n\t\tif (this.debugOn) {\n\t\t\tif (newLine) {\n\t\t\t\tthis.out.println(logText);\n\t\t\t} else {\n\t\t\t\tthis.out.print(logText);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "5d4dfcecb3a5d63931ed575f0e69f809", "score": "0.5678556", "text": "private void log(Freespace freespace, String msg) {\n\t}", "title": "" }, { "docid": "903b6fb0a574d70a3a1451adfe0e06f8", "score": "0.5667099", "text": "protected static void testCaseLog(String log) {\n logger = extent.createTest(log);\n logger.assignAuthor(\"Rutu Shah\");\n log(\"<strong>\" + log + \"</strong>\");\n }", "title": "" }, { "docid": "fdc856dd7aa23e90192f71e6c584a1e4", "score": "0.5665727", "text": "private static void LogFileMessage(String msg){\n\t\tPrintWriter writer = null;\n\t\ttry {\n\t\t\t// neue Zeile ins Log-File hinzufügen\n\t\t\twriter = new PrintWriter(new FileOutputStream(logFile, true));\n\t\t\t// schreibe das aktuelle Datum, Zeit und die MESSAGE\n\t\t\twriter.println(\"[\"+ actualDateTime() + \"] - \" + msg);\t\t\t\t\t\t\t\t\n\t\t} catch (IOException error) {\n\t\t\t/* wenn das Schreiben ins log file nicht funktioniert,\n\t\t\t * wird in der Console eine Fehlermeldung ausgegeben\n\t\t\t */\n\t\t\tSystem.out.println(\"Error during writing the Log-File to \\\"\" + logFile + \"\\\"\");\n\t\t\tSystem.out.println(\"Error-Details: \" + error);\n\t\t} finally {\n\t\t\tif (writer != null){\n\t\t\t\ttry {\n\t\t\t\t\twriter.close();\n\t\t\t\t} catch (Exception e){}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "435724a501001589119439688d4f8a59", "score": "0.5660694", "text": "default void log(String s) {\n kiir(s, \"log.txt\");\n }", "title": "" }, { "docid": "ba826dd2da4dfacb104081476b28652a", "score": "0.56598043", "text": "private void report(String msg) {\r\n textAreaLog.append(msg + '\\n');\r\n textAreaLog.setCaretPosition(textAreaLog.getDocument().getLength());\r\n }", "title": "" }, { "docid": "2c1b0fd7ecf8e7cd17982a59c3c1ae9c", "score": "0.56564635", "text": "private void writeToLogFile(String logLine) throws FileNotFoundException, UnsupportedEncodingException{\r\n\t logWriter.println(logLine);\r\n\t\tlogWriter.flush();\r\n\t}", "title": "" }, { "docid": "6c4e9a52d9343bca1eb58bef0ac7eb14", "score": "0.5647347", "text": "private void log(String message){\r\n\t\tif(enablbeLog)\tSystem.out.println(message);\r\n\t}", "title": "" }, { "docid": "64e058f381e8edadd00d1dc98ecd69ac", "score": "0.56392914", "text": "public void log() {\n\n SmartDashboard.putNumber(\"DriveTrain Right Target\", m_rightmaster.getClosedLoopTarget(Constants.PID_PRIMARY));\n SmartDashboard.putNumber(\"DriveTrain Right Position\", m_rightmaster.getSelectedSensorPosition(Constants.PID_PRIMARY));\n SmartDashboard.putNumber(\"DriveTrain Left Target\", m_leftmaster.getClosedLoopTarget(Constants.PID_PRIMARY));\n SmartDashboard.putNumber(\"DriveTrain Left Position\", m_rightmaster.getSelectedSensorPosition(Constants.PID_PRIMARY));\n }", "title": "" }, { "docid": "57e8333b4cef3907997dcd278b1ef769", "score": "0.5635448", "text": "public void log(String text, int severe, int logType, String datetime) {\n switch (logType) {\n case FireJavaLog.T_LOGTODATABASE:\n logToDatabase(datetime, text, severe);\n break;\n case FireJavaLog.T_LOGTOFILE:\n ArrayList<String> logToFile = new ArrayList<>();\n logToFile.add(this.prepareStringToLog(text, severe));\n this.writeToFile(this.logFile, logToFile);\n break;\n case FireJavaLog.T_LOGTOTEMPFILE:\n ArrayList<String> logToTempFile = new ArrayList<>();\n logToTempFile.add(this.prepareStringToLog(text, severe));\n this.writeToFile(this.tempLogFile, logToTempFile);\n break;\n case FireJavaLog.T_LOGTOCONSOLE:\n break;\n default:\n break;\n }\n }", "title": "" }, { "docid": "edd6502eefb5e4a2292f106949050c0a", "score": "0.56220573", "text": "public void log() {\r\n\t}", "title": "" }, { "docid": "9ee6fb7162d1c04c51ef0bb66d9d78e5", "score": "0.56147534", "text": "public void log(String text, int severe) {\n this.log(text, severe, this.logType, this.timeInMysqlFormat());\n }", "title": "" }, { "docid": "5e88a044ab93591be60712e447591489", "score": "0.56114274", "text": "private void log(LogType type, String message) {\n LocalDateTime logTime = LocalDateTime.now();\n String time = logTime.format(DateTimeFormatter.ofPattern(\"HH:mm:ss.SSS\"));\n message = String.format(\"[%s] %s\", time, message);\n try {\n switch (type) {\n case PATH:\n pathLogWriter.write(message);\n break;\n case DRIVE:\n driveLogWriter.write(message);\n break;\n }\n } catch (IOException e) {\n System.out.println(\"Something went wrong when trying to log data.\");\n }\n }", "title": "" }, { "docid": "87c28551b895af1db643773bf652ab6b", "score": "0.5608922", "text": "public void logOrder(ArrayList<MenuItem> itemsOrdered, BigDecimal orderPrice) throws IOException {\n\t\t/**\n\t\t * File Writer and BufferedWriter work in tandem to write the order onto the file instance\n\t\t * We record the appropriate date and time and use appropriate syntax from the date class\n\t\t * counter is incremented to reflect the order #\n\t\t * TimeStamp records the present time as well\n\t\t * We must use close() on orderLogger so that it can write onto the file\n\t\t */\n\t\torderLoggerStream = new FileWriter(getFileInstance(),true);\n\t\torderLogger = new BufferedWriter(orderLoggerStream);\n\t\t\n\t\tjava.util.Date orderDate = new java.util.Date();\n\t\t\n\t\tif(count == 1) {\n\t\t\n\t\torderLogger.write( \"Date: \" + calendar.get(Calendar.DAY_OF_MONTH) \n\t\t+ \" \" + calendar.get((Calendar.MONTH +1)) + \" \" + calendar.get(Calendar.YEAR) + \" \" + \"\\n \\n\");\n\n\t\t}\n\t\t\n\t\torderLogger.write(\"Order number\" + count + \", \");\n\t\tcount++;\n\t\torderLogger.write(\" \" + new Timestamp(orderDate.getTime()) + \"\\n\");\n\t\t\n\t\tfor (MenuItem item: itemsOrdered) {\n\t\t\torderLogger.write(item.itemToString() + \"\\n\");\n\t\t\t\n\t\t}\n\t\t\n\t\torderLogger.write(\"Total Price is: $\" + orderPrice + \"\\n \\n\");\n\t\torderLogger.close();\n\t}", "title": "" }, { "docid": "6f6bc96850a800f96dfbdace4f5e6d42", "score": "0.5602408", "text": "@Override\n public void log(String message) {\n System.out.println(message);\n }", "title": "" }, { "docid": "77dd920bf5760dc6b283d37b199756b8", "score": "0.55958194", "text": "public static void logEntry() {\n\t\ttry {\n\t\t\t// opening the existing log, true passed in here indicates\n\t\t\t// that the file already exists\n\t\t\tFileWriter fw = new FileWriter(\"ClientLog.log\", true);\n\t\t\tPrintWriter pw = new PrintWriter(fw);\n\t\t\tpw.println(\" \");\n\t\t\tpw.close();\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "efb14a5fd68fa84a2724526e8deafb37", "score": "0.5589373", "text": "private void logResults() {\n LogToFile.logSystem(\"info\", \"Admin Account \" + (adminCreated ? \"successfully\" : \"not\") + \" created.\");\n LogToFile.logSystem(\"info\", \"Fake User Accounts \" + (fakeUsersCreated ? \"successfully\" : \"not\") + \" created.\");\n LogToFile.logSystem(\"info\", \"Fake Time Records \" + (fakeTimeRecordsCreated ? \"successfully\" : \"not\") + \" created.\");\n LogToFile.logSystem(\"info\", \"Fake Projects \" + (fakeProjectsCreated ? \"successfully\" : \"not\") + \" created.\");\n // timbanTimeRecordService.calculate(2L, \"week\");\n }", "title": "" }, { "docid": "f358e808e794becadc59952bd21c2f6c", "score": "0.5577454", "text": "public void logMessage(String str) throws IOException\n\t{\n\t\tbw_log.write(str);\n\t}", "title": "" }, { "docid": "a592b003d963e405a8adfc64d674cdcd", "score": "0.5577014", "text": "public void openLogsFile() {\n\t\t\n\t\tfinal String FILENAMEREADER = \"log\" + clientID +\".txt\";\n\t\t\n\t\ttry {\n\t\t\tfwLogClient = new FileWriter(FILENAMEREADER);\n\t\t\tbwLogClient = new BufferedWriter(fwLogClient);\n\t\t\tif (!readOrWriter){ // reader\n\t\t\t\tbwLogClient.write(\"rSeq\\tsSeq\\toVal\");\n\t\t\t}else{\n\t\t\t\tbwLogClient.write(\"rSeq\\tosSeq\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "3eb5071ae5798d1d2994fc2665c1105d", "score": "0.5558097", "text": "public void logScan(String str) {\n // loggue dans le fichier /mnt/sdcard/wififun-scan.log ; Utiliser Speed Software File Explorer pour accéder par exemple\n try {\n File myFile = new File(getScanLogFilePath());\n if (!myFile.exists()) {\n myFile.createNewFile();\n }\n\n FileWriter fileWriter = new FileWriter(myFile, true);\n BufferedWriter bufferedWriter = new BufferedWriter(fileWriter);\n bufferedWriter.write(str + \"\\r\\n\");\n bufferedWriter.close();\n fileWriter.close();\n\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "1081f9161b63f009cdf537d8fb59f3b1", "score": "0.5548541", "text": "public void log() {\n SmartDashboard.putNumber(\"Left Ouput\", leftFront.getMotorOutputPercent());\n SmartDashboard.putNumber(\"Right Ouput\", rightFront.getMotorOutputPercent());\n SmartDashboard.putNumber(\"Direction\", -gyro.getAngle());\n }", "title": "" }, { "docid": "96adb022dc6255b0af6e89e61807c72f", "score": "0.55377495", "text": "public void logBoth(String s, String logFile)\n {\n System.out.print(s);\n log(s,logFile);\n }", "title": "" }, { "docid": "e2cb5b00a6360c6917a4c285cc66d09a", "score": "0.5536545", "text": "public void logPrintln(String line) {\n if (getDocument().getLength() > 0) {\n logWriteln(\"\\n\");\n }\n logWriteln(line);\n }", "title": "" }, { "docid": "314eed2a96e19ed1a213cba0476bb557", "score": "0.55316675", "text": "private void WriteLog() {\n BufferedWriter writer = null;\n try {\n File yourFile = new File(\"\" + logFile + \".txt\");\n yourFile.getParentFile().mkdirs();\n writer = new BufferedWriter(new FileWriter(yourFile, true));\n writer.write(log + \"\\n\");\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n Objects.requireNonNull(writer).close();\n } catch (Exception ignored) {\n }\n }\n }", "title": "" }, { "docid": "627fc51a24ef56137d3e8078990ac1a0", "score": "0.55262816", "text": "public void log(String msg){\n System.out.println(this.getName()+\"[\"+this.getWeigth()+\"]: \"+msg);\n }", "title": "" }, { "docid": "0bb1843f2bd96b1b5c84f256c5a09a88", "score": "0.55002326", "text": "public void log(String msg){\n System.out.println(this.getName()+\": \"+msg);\n }", "title": "" }, { "docid": "dcc26982466fddb3e18732b80b3ab894", "score": "0.5498785", "text": "protected void methodStartlog() {\n\t\tlog.info(\"User XYZ is extracting report\");\n\t}", "title": "" }, { "docid": "8da51d1b48a808d3ec0c0c5c01a91f18", "score": "0.5493865", "text": "public void log(String data) {\n\t\t\n\t\t\n\t\tlog.info(data);\n\t\t\n\t\ttest.log(LogStatus.INFO,\"<pre>\"+data+\"</pre>\");\n\t\tReporter.log(data);\n\n\t}", "title": "" }, { "docid": "c52761270a107a63e329d5176265e56a", "score": "0.5483555", "text": "public void log(String message)\n\t{\n\t}", "title": "" }, { "docid": "10c3cc9f224f7f5cb7e16992e4c3cea9", "score": "0.54765016", "text": "public void _log(CommandInterpreter intp) throws Exception {\n \t\tlong logid = -1;\n \t\tString token = intp.nextArgument();\n \t\tif (token != null) {\n \t\t\tBundle bundle = getBundleFromToken(intp, token, false);\n \n \t\t\tif (bundle == null) {\n \t\t\t\ttry {\n \t\t\t\t\tlogid = Long.parseLong(token);\n \t\t\t\t} catch (NumberFormatException e) {\n \t\t\t\t\treturn;\n \t\t\t\t}\n \t\t\t} else {\n \t\t\t\tlogid = bundle.getBundleId();\n \t\t\t}\n \t\t}\n \n \t\torg.osgi.framework.ServiceReference logreaderRef = context.getServiceReference(\"org.osgi.service.log.LogReaderService\");\n \t\tif (logreaderRef != null) {\n \t\t\tObject logreader = context.getService(logreaderRef);\n \t\t\tif (logreader != null) {\n \t\t\t\ttry {\n \t\t\t\t\tEnumeration logentries = (Enumeration) (logreader.getClass().getMethod(\"getLog\", null).invoke(logreader, null));\n \n \t\t\t\t\tif (logentries.hasMoreElements()) {\n \t\t\t\t\t\tObject logentry = logentries.nextElement();\n \t\t\t\t\t\tClass clazz = logentry.getClass();\n \t\t\t\t\t\tMethod getBundle = clazz.getMethod(\"getBundle\", null);\n \t\t\t\t\t\tMethod getLevel = clazz.getMethod(\"getLevel\", null);\n \t\t\t\t\t\tMethod getMessage = clazz.getMethod(\"getMessage\", null);\n \t\t\t\t\t\tMethod getServiceReference = clazz.getMethod(\"getServiceReference\", null);\n \t\t\t\t\t\tMethod getException = clazz.getMethod(\"getException\", null);\n \n \t\t\t\t\t\twhile (true) {\n \t\t\t\t\t\t\tBundle bundle = (Bundle) getBundle.invoke(logentry, null);\n \n \t\t\t\t\t\t\tif ((logid == -1) || ((bundle != null) && (logid == bundle.getBundleId()))) {\n \t\t\t\t\t\t\t\tInteger level = (Integer) getLevel.invoke(logentry, null);\n \t\t\t\t\t\t\t\tswitch (level.intValue()) {\n\t\t\t\t\t\t\t\t\tcase org.osgi.service.log.LogService.LOG_DEBUG :\n \t\t\t\t\t\t\t\t\t\tintp.print(\">\");\n \t\t\t\t\t\t\t\t\t\tintp.print(ConsoleMsg.formatter.getString(\"CONSOLE_DEBUG_MESSAGE\"));\n \t\t\t\t\t\t\t\t\t\tintp.print(\" \");\n \t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase org.osgi.service.log.LogService.LOG_INFO :\n \t\t\t\t\t\t\t\t\t\tintp.print(\">\");\n \t\t\t\t\t\t\t\t\t\tintp.print(ConsoleMsg.formatter.getString(\"CONSOLE_INFO_MESSAGE\"));\n \t\t\t\t\t\t\t\t\t\tintp.print(\" \");\n \t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase org.osgi.service.log.LogService.LOG_WARNING :\n \t\t\t\t\t\t\t\t\t\tintp.print(\">\");\n \t\t\t\t\t\t\t\t\t\tintp.print(ConsoleMsg.formatter.getString(\"CONSOLE_WARNING_MESSAGE\"));\n \t\t\t\t\t\t\t\t\t\tintp.print(\" \");\n \t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase org.osgi.service.log.LogService.LOG_ERROR :\n \t\t\t\t\t\t\t\t\t\tintp.print(\">\");\n \t\t\t\t\t\t\t\t\t\tintp.print(ConsoleMsg.formatter.getString(\"CONSOLE_ERROR_MESSAGE\"));\n \t\t\t\t\t\t\t\t\t\tintp.print(\" \");\n \t\t\t\t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\t\t\t\tdefault :\n \t\t\t\t\t\t\t\t\t\tintp.print(\">\");\n \t\t\t\t\t\t\t\t\t\tintp.print(level);\n \t\t\t\t\t\t\t\t\t\tintp.print(\" \");\n \t\t\t\t\t\t\t\t\t\tbreak;\n \t\t\t\t\t\t\t\t}\n \n \t\t\t\t\t\t\t\tif (bundle != null) {\n \t\t\t\t\t\t\t\t\tintp.print(\"[\");\n \t\t\t\t\t\t\t\t\tintp.print(new Long(bundle.getBundleId()));\n \t\t\t\t\t\t\t\t\tintp.print(\"] \");\n \t\t\t\t\t\t\t\t}\n \n \t\t\t\t\t\t\t\tintp.print(getMessage.invoke(logentry, null));\n \t\t\t\t\t\t\t\tintp.print(\" \");\n \n \t\t\t\t\t\t\t\tServiceReference svcref = (ServiceReference) getServiceReference.invoke(logentry, null);\n \t\t\t\t\t\t\t\tif (svcref != null) {\n \t\t\t\t\t\t\t\t\tintp.print(\"{\");\n \t\t\t\t\t\t\t\t\tintp.print(Constants.SERVICE_ID);\n \t\t\t\t\t\t\t\t\tintp.print(\"=\");\n \t\t\t\t\t\t\t\t\tintp.print(svcref.getProperty(Constants.SERVICE_ID).toString());\n \t\t\t\t\t\t\t\t\tintp.println(\"}\");\n \t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\tif (bundle != null) {\n \t\t\t\t\t\t\t\t\t\tintp.println(bundle.getLocation());\n \t\t\t\t\t\t\t\t\t} else {\n \t\t\t\t\t\t\t\t\t\tintp.println();\n \t\t\t\t\t\t\t\t\t}\n \t\t\t\t\t\t\t\t}\n \n \t\t\t\t\t\t\t\tThrowable t = (Throwable) getException.invoke(logentry, null);\n \t\t\t\t\t\t\t\tif (t != null) {\n \t\t\t\t\t\t\t\t\tintp.printStackTrace(t);\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\tif (logentries.hasMoreElements()) {\n \t\t\t\t\t\t\t\tlogentry = logentries.nextElement();\n \t\t\t\t\t\t\t} else {\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} finally {\n \t\t\t\t\tcontext.ungetService(logreaderRef);\n \t\t\t\t}\n \t\t\t\treturn;\n \t\t\t}\n \t\t}\n \n \t\tintp.println(ConsoleMsg.formatter.getString(\"CONSOLE_LOGSERVICE_NOT_REGISTERED_MESSAGE\"));\n \t}", "title": "" }, { "docid": "62b05f79cdfb4e78a8085191f6d46777", "score": "0.54744196", "text": "public void printLog(String str) {\n }", "title": "" }, { "docid": "9cd704fd376f1b0b154e13226e05ebc6", "score": "0.5466852", "text": "public void log(String message) {\n try {\n FileWriter fwriter = new FileWriter(logfile, true);\n fwriter.write(message + \"\\n\");\n fwriter.close();\n } catch (IOException e) {\n System.out.println(\"client: error during logfile operation\");\n }\n }", "title": "" }, { "docid": "daf4d80e57cd764eea1953d4da3b14e9", "score": "0.5466195", "text": "public void addLog( String str );", "title": "" }, { "docid": "722b098e56fb84055c2e909074c5e38f", "score": "0.5449535", "text": "@Override\n public void log(String message) {\n }", "title": "" }, { "docid": "752cc25ef590f27b34323f1141714845", "score": "0.54313326", "text": "@Override\r\n\tpublic void log(String logMessage) {\n\t\tsuper.log(logMessage);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e4d73bd7af9fff1615255499bff03749", "score": "0.5427926", "text": "public void openLogsFile() {\n\n\t\tfinal String FILENAMEREADER = \"log\" + clientID +\".txt\";\n\n\t\ttry {\n\t\t\tfwLogClient = new FileWriter(FILENAMEREADER);\n\t\t\tbwLogClient = new BufferedWriter(fwLogClient);\n\t\t\tif (!readOrWriter){ // reader\n\t\t\t\tbwLogClient.write(\"rSeq\\tsSeq\\toVal\\n\");\n\t\t\t}else{\n\t\t\t\tbwLogClient.write(\"rSeq\\tsSeq\\n\");\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}finally{\n\t\t\ttry {\n\t\t\t\tif (bwLogClient != null)\n\t\t\t\t\tbwLogClient.close();\n\t\t\t\tif (fwLogClient != null)\n\t\t\t\t\tfwLogClient.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\n\n\t}", "title": "" }, { "docid": "db730361984f2eb63ecdae0822861758", "score": "0.5427629", "text": "public static void QuopnLogWriteFile(String title, String text, boolean textappend) {\n try {\n//\t\t\t\tFile directory = new File(Environment.getExternalStorageDirectory().getPath()+\"/\", QuopnConstants.QUOPN_LOG_FOLDER); \n//\t\t\t\tif (!directory.exists()) { \n//\t\t\t\t\tdirectory.mkdir(); \n//\t\t\t\t} \n//\t\t\t\t//make a new text file in that created new directory/folder\n//\t\t\t\tFile file = new File(directory.getPath() ,QuopnConstants.QUOPN_LOG_FILE); \n//\n//\t\t\t\tif (!file.exists() && directory.exists()){ \n//\t\t\t\t\tfile.createNewFile();\n//\t\t\t\t}\n//\t\t\t\tOutputStreamWriter osw;\n//\t\t\t\tosw = new FileWriter(file,textappend);\n//\n//\t\t\t\tBufferedWriter out = new BufferedWriter(osw);\n//\t\t\t\tout.write(\"************\"+getCurrentDateTime()+\"************\"+title+\": \"+text+\"\\n\");\n//\t\t\t\tout.close();\n\n\n } catch (Exception e) {\n//\t\t\t\tSystem.out.println(\"Encryption Exception \"+e);\n }\n }", "title": "" }, { "docid": "326f7439b83d280bd58ecfbc5ac46dc8", "score": "0.5425727", "text": "public void log( String message )\n {\n Date date = new Date( System.currentTimeMillis() );\n logStream.println( \"[\" + date.toString() + \"] \" + message );\n }", "title": "" }, { "docid": "e96cea01999370b8c1f4ba1a0b80783d", "score": "0.5425482", "text": "public static void log(String message) {\n System.out.println(\"[\" + _CustomChestLootMod.MODID + \"] \" + message);\n }", "title": "" }, { "docid": "9dedccbcd76791dabf04c42d7f6a70f4", "score": "0.5415625", "text": "public void log(String logMsg) {\n logger.info(logMsg);\n }", "title": "" }, { "docid": "81798014e5b275d389d41c809fce0105", "score": "0.54142195", "text": "private void log(String message) {\r\n\t\tif (Axis.printLog && Main.isLoggingEnabled()) {\r\n\t\t\tSystem.out.println(this.getClass().getName() + \".\" + message);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "31d5bc38bdebb105769e5c848574d73d", "score": "0.54142094", "text": "public void log(String str) {\n LWC.getInstance().log(str);\n }", "title": "" }, { "docid": "e28dc47d5011875c1188aa793f15050a", "score": "0.54058087", "text": "private void log(String msg, PrintStream printStream) {\n printStream.print(LOG_MESSAGE_PREFIX);\n printStream.println(msg);\n }", "title": "" }, { "docid": "3b16d6bcf94a052ebe8f7a05ba4c730d", "score": "0.5404614", "text": "private void createLogFile() {\n String path = Environment.getExternalStorageDirectory() + \"/Cardboard\";\n try {\n FileOutputStream fos = new FileOutputStream(path+\"/log.txt\");\n String info = \"hello world\";\n fos.write(info.getBytes());\n fos.flush();\n fos.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "72fe2da365979e2c0589c42473cbd8d5", "score": "0.5402297", "text": "public static void logFile(String message){\n if(log){\n try{\n new File(LOGSDIRETORY).mkdirs();\n File file = new File(LOGSFILE);\n if(!file.exists()) file.createNewFile();\n FileWriter writer = new FileWriter(file, true);\n writer.write(message + \"\\r\\n\");\n writer.close();\n }catch (Exception e){}\n }\n }", "title": "" }, { "docid": "b2a8ddf1c661ab0ba355a2394fc09d0b", "score": "0.5394373", "text": "public void writeLogToFile(String className ,String function , String msg)\n\t{\n\t\tDate date = new Date();\n\t\twriteToFile(\"/MultGasDetecter/logs/\"+date.getSystemDateToStringWithoutHMS()+\".txt\"\n\t\t\t\t\t,dealMsg(className ,function , msg)\n\t\t\t\t\t,true);\n\t}", "title": "" }, { "docid": "23e6112b29e56f4c107a2660952fc3c3", "score": "0.5392655", "text": "public void log(String format, String... args) {\n }", "title": "" }, { "docid": "781905838b694906973f489e9afe416f", "score": "0.5388076", "text": "private static void logStats(int KBperSec, int allThreads, int newThreads) {\n\tString str = formatter.format(new Date(nextCheckTime)) + \" \" + KBperSec + \" \" + allThreads + \" \" + newThreads + \"\\n\";\n FileOutputStream out = null;\n try {\n out = new FileOutputStream(log, true);\n out.write(str.getBytes());\n }\n catch(Throwable t) {\n SdUtils.sendImpAlert(\"Exception writing the following to \" + log + \":\\n\" + str + \"\\nStacktrace:\\n\" + getStackTrace(t));\n }\n finally {\n try {\n out.close();\n }\n catch(Throwable t) { }\n }\n }", "title": "" }, { "docid": "e15b49d545cdda8866562b201e67004c", "score": "0.5381692", "text": "protected void log(Level level, String message) {\n if (message == null) {\n message = \"\" ;\n }\n\n Log.log(this, message);\n\n // log the message\n LogRecord record = new LogRecord(level, message);\n record.setParameters(parameters);\n logger.log(record);\n\n // write the message to the original System.out if desired\n if (echo) {\n ///systemOut.println( message );\n }\n }", "title": "" }, { "docid": "7c3cff2f294d9467da7fb5155ae3dc44", "score": "0.53809756", "text": "@Override\n public void log(List<LedgerEntry> entries) {\n }", "title": "" }, { "docid": "68dbb665481b32c6a9bbad00c1c1617b", "score": "0.5364525", "text": "private void log(String format, String ... args) {\n mLog.print(new Date());\n mLog.print(\" - \");\n mLog.printf(format, (Object[]) args);\n mLog.println();\n }", "title": "" }, { "docid": "5024f4c29a49ea077460be738541de1e", "score": "0.53599983", "text": "private void logTempFileToDatabase() {\n File f = new File(this.tempLogFile);\n if (f.exists() && !f.isDirectory()) {\n ArrayList<String> readFromFile = this.readFromFile(this.tempLogFile);\n this.emptyFile(this.tempLogFile);\n for (String line : readFromFile) {\n String[] parts = line.split(\";\");\n String date = parts[0];\n String severe = parts[1];\n String text = parts[2];\n //supply all arguments\n this.log(text, Integer.parseInt(severe), FireJavaLog.T_LOGTODATABASE, date);\n }\n } else {\n emptyFile(this.tempLogFile);\n }\n }", "title": "" }, { "docid": "c357336fc5d3fcf28a5887f23042ef8b", "score": "0.5357148", "text": "public void logNNL(String message) {\n\t\t_statusArea.append(message);\n\t\ttry {\n\t\t\tBufferedWriter out = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(Paths.get(_appPath, \"AutoSearchLog.txt\"), StandardOpenOption.CREATE, StandardOpenOption.APPEND)));\n\t\t\tout.write(\"[\"+new Date().toString()+\"] \" + message);\n\t\t\tout.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "ec62fea6feb8dc9b579d8a43a8405288", "score": "0.5356952", "text": "public void log( String msg ){\n System.out.println( System.currentTimeMillis() + \": \" + msg );\n }", "title": "" }, { "docid": "33c707cbd2d482caae518987150ba142", "score": "0.5356028", "text": "protected void logInfo(String text) {\n Logger.getInstance().info(getClass(), text);\n }", "title": "" } ]
003ce766ffc3f674a993109532fe4012
Get P11 slot instance. Only one instance (provider) will ever be created for each slot regardless of how many times this method is called.
[ { "docid": "05161e2346df9ce8aa516d1bff79873f", "score": "0.56342864", "text": "public static P11Slot getInstance(final String slotLabel, final String sharedLibrary, final Pkcs11SlotLabelType slotLabelType, \n final String attributesFile, final P11SlotUser token, final int id) throws CryptoTokenOfflineException, NoSuchSlotException { \n final String friendlyName = slotLabel + sharedLibrary + slotLabelType.toString();\n return getInstance(friendlyName, slotLabel, sharedLibrary, slotLabelType, attributesFile, token, id);\n }", "title": "" } ]
[ { "docid": "feabf275c1bc2c0f48a107cf2d897fcf", "score": "0.59818745", "text": "public Slot getSlot ()\r\n {\r\n return slot;\r\n }", "title": "" }, { "docid": "636fdf41e8bb95e3200a74f93384b9be", "score": "0.5922524", "text": "Slot createSlot();", "title": "" }, { "docid": "f4676a5ba471d7c962ea6c50a07dab1c", "score": "0.58972144", "text": "private String getSlot() {\n\t\tint slotPick = rgen.nextInt(1, 7);\n\t\t\tswitch (slotPick) {\n\t\t\tcase 1: return CHERRY;\n\t\t\tcase 2: return LEMON;\n\t\t\tcase 3: return ORANGE;\n\t\t\tcase 4: return PLUM;\n\t\t\tcase 5: return BELL;\n\t\t\tcase 6: return BAR;\n\t\t\tcase 7: return EMPTY_SLOT;\n\t\t\tdefault: return null;\n\t\t}\n\t}", "title": "" }, { "docid": "9517c08e840d26dddeeeaf0e50513818", "score": "0.5822568", "text": "@Override\n public int getSlot() {\n\n if(availableSlots.size() == 0){\n return -1;\n }\n return availableSlots.first();\n }", "title": "" }, { "docid": "e468b866e813752db1a182cb8b2f3817", "score": "0.5753824", "text": "public de.uni_koblenz.jgralabtest.schemas.gretl.pddsl.Slot createSlot();", "title": "" }, { "docid": "50be94f94f149b49fae7543b687a1876", "score": "0.57339454", "text": "public int getLocalSlotNumber();", "title": "" }, { "docid": "26fd3d2766d921ae3351fae65a8df4fe", "score": "0.5721294", "text": "public static RockboxWidgetProvider getInstance()\n {\n return mInstance;\n }", "title": "" }, { "docid": "756ac644c3b93d548743e93e667c5ec4", "score": "0.56317437", "text": "public static P11Slot getInstance(final String friendlyName, final String slotLabel, final String sharedLibrary, final Pkcs11SlotLabelType slotLabelType, \n final String attributesFile, final P11SlotUser p11SlotUser, final int id) throws NoSuchSlotException, CryptoTokenOfflineException {\n if (log.isDebugEnabled()) {\n \tlog.debug(\"P11Slot.getInstance(): \"+String.valueOf(slotLabelType)+\"'\"+slotLabel+\"', '\"+sharedLibrary+\"', \"+\", '\"+attributesFile+\"', \"+id);\n }\n return getInstance(slotLabelType, friendlyName, slotLabel, sharedLibrary, attributesFile, null, p11SlotUser, id);\n }", "title": "" }, { "docid": "6e9ea48c9e7da9a757fdabc42e3f0f0b", "score": "0.56307274", "text": "public int getSlot() {\r\n\t\treturn slot;\r\n\t}", "title": "" }, { "docid": "af2152fa2b2aba1f41934fb02c8bd9ea", "score": "0.5594097", "text": "public int getSlot() {\n return slot;\n }", "title": "" }, { "docid": "af2152fa2b2aba1f41934fb02c8bd9ea", "score": "0.5594097", "text": "public int getSlot() {\n return slot;\n }", "title": "" }, { "docid": "5796396102f96bce5a53ceb3edf90b30", "score": "0.5573409", "text": "public int getSlot() {\n\t\treturn slot;\n\t}", "title": "" }, { "docid": "dfaf074548390d8f386fb335bda1c998", "score": "0.5485552", "text": "public int getSlotNumber() {\n return slotNumber;\n }", "title": "" }, { "docid": "1d21cfd279fde31f538a9b5db02b612d", "score": "0.54332036", "text": "public Slot getSlot(int index) {\n\t\tif(index < NUM_MAIN_SLOTS) return mainSlots.get(index);\n\t\treturn null;\n\t}", "title": "" }, { "docid": "41da9a5aa5c6175959444a291b41cdf1", "score": "0.5416523", "text": "@NotNull\r\n @Contract(pure = true)\r\n public Slot getSlot() {\r\n return this.slot;\r\n }", "title": "" }, { "docid": "8c957e2b62e59e42cbe3c12acddf26e4", "score": "0.53604025", "text": "public static Partie getInstance() {\r\n\t\tif(instance==null) {\r\n\t\t\tinitInstance(2, 2);\r\n\t\t}\r\n\t\treturn instance;\r\n\t}", "title": "" }, { "docid": "724af0dd6ae7116374bcb7ab36f7e556", "score": "0.53126585", "text": "public int getLocalSlotNumber() {\n return 0; //To change body of implemented methods use File | Settings | File Templates.\n }", "title": "" }, { "docid": "432ca27140a4e6413fcef69bb0aefc3f", "score": "0.5296456", "text": "private static synchronized Provider getProvider() throws Exception {\n\t\t\tProvider provider = SunPKCS11BlockCipherFactory.provider;\n\n\t\t\tif ((provider == null) && useProvider) {\n\t\t\t\ttry {\n\t\t\t\t\tClass<?> clazz = Class.forName(\"sun.security.pkcs11.SunPKCS11\");\n\n\t\t\t\t\tif (Provider.class.isAssignableFrom(clazz)) {\n\t\t\t\t\t\tConstructor<?> contructor = clazz.getConstructor(String.class);\n\n\t\t\t\t\t\t// The SunPKCS11 Config name should be unique in order\n\t\t\t\t\t\t// to avoid repeated initialization exceptions.\n\t\t\t\t\t\tString name = null;\n\t\t\t\t\t\tPackage pkg = AES.class.getPackage();\n\n\t\t\t\t\t\tif (pkg != null)\n\t\t\t\t\t\t\tname = pkg.getName();\n\t\t\t\t\t\tif (name == null || name.length() == 0)\n\t\t\t\t\t\t\tname = \"org.jitsi.impl.neomedia.transform.srtp\";\n\n\t\t\t\t\t\tprovider = (Provider) contructor.newInstance(\"--name=\" + name + \"\\\\n\" + \"nssDbMode=noDb\\\\n\" + \"attributes=compatibility\");\n\t\t\t\t\t}\n\t\t\t\t} finally {\n\t\t\t\t\tif (provider == null)\n\t\t\t\t\t\tuseProvider = false;\n\t\t\t\t\telse\n\t\t\t\t\t\tSunPKCS11BlockCipherFactory.provider = provider;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn provider;\n\t\t}", "title": "" }, { "docid": "9675c5d48265eade4886e99b588708e8", "score": "0.5245478", "text": "public int getCardSlot() {\n return cardSlot;\n }", "title": "" }, { "docid": "0e7fd6d284abf0b3c3261f1643aad678", "score": "0.52143127", "text": "public static ParSpreadRateCalculator getInstance() {\n return INSTANCE;\n }", "title": "" }, { "docid": "e8533365ae710b5e807df47f7294b766", "score": "0.5189081", "text": "public static Arm getInstance() {\n if (instance == null) {\n instance = new Arm();\n }\n return instance;\n }", "title": "" }, { "docid": "7a36997134a0fe902d7484a5022ace83", "score": "0.5142243", "text": "org.omg.CORBA.Any get_slot(int id) throws org.omg.PortableInterceptor.InvalidSlot;", "title": "" }, { "docid": "5eaea102095ff4d16a5cbeb033f9dba6", "score": "0.508258", "text": "Slot(int slot) {\n\n this.slot = slot;\n this.cardSessionId = 1;\n this.locked = false;\n this.powered = false;\n this.SIMPresent = false;\n this.basicChannelInUse = false;\n this.respBuffer = new byte[respBufferSize];\n this.atr = null;\n this.FCI = null;\n \n this.getChannelAPDU = new byte[] {0, 0x70, 0, 0, 1};\n this.closeChannelAPDU = new byte[] {0, 0x70, (byte) 0x80, 0};\n this.getResponseAPDU = new byte[] {0, (byte)0xC0, 0, 0, 0};\n this.isAliveAPDU = new byte[] {0, 0x70, (byte) 0x80, 0};\n\n }", "title": "" }, { "docid": "84dfbf8ff6fa41df4b8d39fe1ae8b219", "score": "0.5057693", "text": "public SlotManager getSlotManager() {\r\n return stackFrameMap;\r\n }", "title": "" }, { "docid": "4e40ac799db4188191f88bec44a925d2", "score": "0.5021176", "text": "public SQLInteger getSlot() {\n\t\treturn slot;\n\t}", "title": "" }, { "docid": "bfec8dca1ee86407a8884d7b4e87b240", "score": "0.5018887", "text": "public String getSlotName(){\n\t\treturn slotName;\n\t}", "title": "" }, { "docid": "a0219d005eed93f3f7a7f1a7bbdfd221", "score": "0.5013741", "text": "public Slots getSlots()\n\t{\n\t\treturn Slots.fromNumber( mMessage.getInt( B1_SLOTS ) );\n\t}", "title": "" }, { "docid": "67316c10ecf8caeab648206bcfcf00c6", "score": "0.49916756", "text": "private static PDP getPDPNewInstance(){\n\n PDPConfig pdpConfig = balana.getPdpConfig();\n return new PDP(pdpConfig);\n }", "title": "" }, { "docid": "aa1a385c0ed363f584f28e9c5cceb8af", "score": "0.4989868", "text": "@Override\n\tpublic RacingBike get() {\n\t\tSystem.out.println(\"Inside get method of provider class!!!\");\n\t\treturn new ApacheRR310();\n\t}", "title": "" }, { "docid": "5219d1a0c6dc65511dc45ac865b5192f", "score": "0.49850735", "text": "public synchronized long getSlots() {\n return slots;\n }", "title": "" }, { "docid": "8109d9522b9700ff169491fc6c11a945", "score": "0.4957658", "text": "public static int getExternalModemSlot() {\n return CdmaFeatureOptionUtils.getExternalModemSlot();\n }", "title": "" }, { "docid": "fb24ebd42a7c371b6066a0f3811d35e3", "score": "0.49440658", "text": "public ArrayList<Point> getAvailableSlots ()\n {\n return availableSlots;\n }", "title": "" }, { "docid": "24b905f25613fba9a8182838f1c509d9", "score": "0.49136388", "text": "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}", "title": "" }, { "docid": "90d3290e973d63024ba1b5eeff3104d4", "score": "0.4912202", "text": "public Stack getStack(int slot);", "title": "" }, { "docid": "881933ad71d20e2fc9826f3a81121272", "score": "0.488871", "text": "@Override\n\tpublic List<AvailableSlot> getAvailableSlots() {\n\t\tList<AvailableSlot> slots = (List<AvailableSlot>) availableSlotRepository.findAll();\n\t\treturn slots;\n\t}", "title": "" }, { "docid": "4674c3912b8b5b8b564c5ab926bb2952", "score": "0.48597196", "text": "public GameItem getItem( int slot )\n {\n if( slot < 0 || slot >= size ) {\n return null;\n }\n return items[ slot ];\n }", "title": "" }, { "docid": "678d0dfee80f64928a6db9197b278c55", "score": "0.48549202", "text": "public Slot getSlotFrom() {\n return slotFrom;\n }", "title": "" }, { "docid": "04e7ef72d0a38585f13680549e5f28f9", "score": "0.4849224", "text": "public static ESPProvisionManager getInstance(Context context) {\n\n if (provision == null) {\n provision = new ESPProvisionManager(context);\n }\n return provision;\n }", "title": "" }, { "docid": "541c57f480d10fc42ba58e18b184ea6c", "score": "0.4825831", "text": "public static MyPlayerAdapter getInstance() {\n if (playerAdapter == null) {\n synchronized (MyPlayerAdapter.class) {\n if (playerAdapter == null) playerAdapter = new MyPlayerAdapter();\n }\n }\n return playerAdapter;\n }", "title": "" }, { "docid": "dad4c24ec53e0e2767cdecbb07dd0bdd", "score": "0.48214573", "text": "public Slot getSlot(int index, int zone, Color col) {\n\t\t\n\t\tSlot slot = null;\n\t\t\n\t\tswitch (zone) {\n\t\t\tcase SLOT_HOME:\n\t\t\t\tif (index < NUM_HOME_SLOTS) slot = getPlayerHomeZone(col).get(index);\n\t\t\t\tbreak;\n\t\t\tcase SLOT_END:\n\t\t\t\tif (index < NUM_END_SLOTS) slot = getPlayerEndZone(col).get(index);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tslot = getSlot(index);\n\t\t}\n\t\t\n\t\treturn slot;\n\t\t\n\t}", "title": "" }, { "docid": "f2b7e97709223afe42dedaabef138bae", "score": "0.48028532", "text": "public static SPSSDialog getCurrentInstance()\n\t{\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "59e0b691365d3958b6ed266d58b9c794", "score": "0.47765794", "text": "@Override\n public Slot clone() {\n\tfinal Slot s = new Slot();\n\ts.day = day;\n\ts.start = start;\n\ts.end = end;\n\ts.venue = venue;\n\ts.instructor = instructor;\n\ts.sectionType = sectionType;\n\treturn s;\n }", "title": "" }, { "docid": "4e2e2e67f0844f1b548292ec42152727", "score": "0.4768606", "text": "public Slot getSlotTo() {\n return slotTo;\n }", "title": "" }, { "docid": "fc7edfd94bfb98c3a45c85cfb5d05000", "score": "0.47679612", "text": "public void setSlot (Slot slot)\r\n {\r\n this.slot = slot;\r\n }", "title": "" }, { "docid": "9d2f4ad669ee9fd64ac9ca3283db539b", "score": "0.47590932", "text": "public void setSlot(int slot) {\n this.slot = slot;\n }", "title": "" }, { "docid": "f685c08ac9c32a82af26874e412b95b5", "score": "0.47522885", "text": "public Product get(String player, int slot) throws NullPointerException {\n\t\tif (playerMap.containsKey(player)) {\n\t\t\treturn playerMap.get(player)[slot];\n\t\t} else {\n\t\t\tthrow new NullPointerException();\n\t\t}\n\t}", "title": "" }, { "docid": "a03bb8fa0894a995a459c2cefea4777b", "score": "0.47489503", "text": "public static Slot getSlotByName(String inp_slot, ArrayList<Slot> slots) {\n\t\tfor (Slot s : slots){\n\t\t\tif (s.slotName.equalsIgnoreCase(inp_slot)){\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "22eb6b20ae4140d5824fc8266fb9aebd", "score": "0.47370008", "text": "public Any get_slot(int id) throws InvalidSlot\n {\n if ((id >= m_slots.length) || (id < 0))\n {\n throw new InvalidSlot();\n }\n\n return m_slots[id];\n }", "title": "" }, { "docid": "a5a48ab7f6f28570f0d56a56255a8556", "score": "0.4699607", "text": "private ItemSlot getSelectedSlot() {\n\t\tfor(ItemSlot slot : itemSlots) {\n\t\t\tif((slot.getCoordX() == selectedSlotPosX) && (slot.getCoordY() == selectedSlotPosY)) {\n\t\t\t\treturn slot;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "042d3691a5e1880468bca8bca4493b40", "score": "0.46975204", "text": "public ItemStack getStackInSlot(int slot)\n {\n return waterjetStacks[slot];\n }", "title": "" }, { "docid": "c7be1a38840af2afba77e542a3b30c9c", "score": "0.46710652", "text": "public static ServiceProvider createServiceProvider() {\n \t//return new ActiveMQProvider();\n \treturn new RSPServiceProvider();\n }", "title": "" }, { "docid": "bbc095a83e17bcf9e455e5a2c70e3df7", "score": "0.46660954", "text": "@Override // kotlinx.coroutines.flow.internal.AbstractSharedFlow\n public StateFlowSlot createSlot() {\n return new StateFlowSlot();\n }", "title": "" }, { "docid": "4f2f07c45752c47131af57d09f3d4255", "score": "0.46604437", "text": "public SpaceShipValet access(String license) \n\t{\n\t\tint index = license.hashCode() % chainedPortList.length; //Find the index based on the hashCode based on the first letter of the license\n\t\tif(index < 0)\n\t\t\tindex += chainedPortList.length;\n\t\tif(chainedPortList[index] == null)\n\t\t\treturn null;\n\t\tfor(SpacePort<String, SpaceShipValet> nextShip : chainedPortList[index]) //Go through the entire SpacePort\n\t\t{\n\t\t\tif(nextShip.license.equals(license))//See if there is already a slot with a ship\n\t\t\t\treturn nextShip.ship;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4e47726b4d41f43f8cb10b22821c858e", "score": "0.46492553", "text": "public static synchronized NewspointsApp getInstance() {\n return mInstance;\n }", "title": "" }, { "docid": "d6068e2c8b16ee976e6a3afecc762d45", "score": "0.46395802", "text": "public TimeSlot getTimeSlot(int index)\n {\n TimeSlot aTimeSlot = timeSlots.get(index);\n return aTimeSlot;\n }", "title": "" }, { "docid": "df9ab13a2b716cee1134f0a483411a06", "score": "0.46371582", "text": "@Override\n\t\tpublic Object getInstance() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "0ae00dd6031563328d0d9f511465a21a", "score": "0.46224535", "text": "private Strategy getStrategyInstance() {\n if (strategyInstances.containsKey(strategy)) {\n return strategyInstances.get(strategy);\n } else {\n try {\n Strategy strategyInstance = strategy.getConstructor(Board.class).newInstance(board);\n strategyInstances.put(strategy, strategyInstance);\n return strategyInstance;\n } catch (Exception e) {\n System.err.println(\"Exception when intiating strategy with only board argument\");\n e.printStackTrace();\n return null;\n }\n }\n }", "title": "" }, { "docid": "5e89bdada83d3d4c57244f4cbf6c206b", "score": "0.4605457", "text": "public interface CwmSlot extends org.pentaho.pms.cwm.pentaho.meta.core.CwmModelElement {\n /**\n * Returns the value of reference object.\n * \n * @return Value of reference object.\n */\n public org.pentaho.pms.cwm.pentaho.meta.instance.CwmObject getObject();\n\n /**\n * Sets the value of reference object. See {@link #getObject} for description on the reference.\n * \n * @param newValue\n * New value to be set.\n */\n public void setObject( org.pentaho.pms.cwm.pentaho.meta.instance.CwmObject newValue );\n\n /**\n * Returns the value of reference value.\n * \n * @return Value of reference value.\n */\n public org.pentaho.pms.cwm.pentaho.meta.instance.CwmInstance getValue();\n\n /**\n * Sets the value of reference value. See {@link #getValue} for description on the reference.\n * \n * @param newValue\n * New value to be set.\n */\n public void setValue( org.pentaho.pms.cwm.pentaho.meta.instance.CwmInstance newValue );\n\n /**\n * Returns the value of reference feature.\n * \n * @return Value of reference feature.\n */\n public org.pentaho.pms.cwm.pentaho.meta.core.CwmStructuralFeature getFeature();\n\n /**\n * Sets the value of reference feature. See {@link #getFeature} for description on the reference.\n * \n * @param newValue\n * New value to be set.\n */\n public void setFeature( org.pentaho.pms.cwm.pentaho.meta.core.CwmStructuralFeature newValue );\n}", "title": "" }, { "docid": "54ac91cb9afb0fe04f452d733101fd12", "score": "0.46026868", "text": "public RTWLocation siblingSlot(String slot);", "title": "" }, { "docid": "d7cc88b0d090bcddd52272faf1d3e2fe", "score": "0.4601309", "text": "SipInstanceManager getSipInstanceManager();", "title": "" }, { "docid": "685e4829f853fac359a1317ac8e551bc", "score": "0.4583365", "text": "public static DeliveryConv getInstance(int x, int y) /* x and y of top conveyor: (1,5)*/ {\n if (single_instance == null) {\n single_instance = new DeliveryConv(x, y);\n } \n return single_instance; \n }", "title": "" }, { "docid": "d07f990aa909a5bba404f2c7e327582a", "score": "0.4570103", "text": "public static QRScanner newInstance() {\n QRScanner fragment = new QRScanner();\n return fragment;\n }", "title": "" }, { "docid": "41021b57506852f8be8515c47c5768e6", "score": "0.45694628", "text": "public static ButtonJPanel getInstance(){\n if(instance == null){//if one does not exist, it makes one\n instance = new ButtonJPanel();\n }\n return instance; \n }", "title": "" }, { "docid": "007d19e137fb875aa612c5abaf5317c3", "score": "0.45674595", "text": "String slotOfCar(String regNumber);", "title": "" }, { "docid": "ea9e628ed08d8764285fbc83604f2ab9", "score": "0.45539182", "text": "public static synchronized Seabee getInstance() {\n if (instance == null)\n instance = new Seabee();\n return instance;\n }", "title": "" }, { "docid": "9fdb027b586ad9cc8672cd76e75a2f4c", "score": "0.4552814", "text": "public static RRCPServer getInstance() {\n if (instance == null) {\n instance = new RRCPServer();\n }\n return instance;\n }", "title": "" }, { "docid": "c9fb1a6ef96316ac5adb8edd58310b4b", "score": "0.45488358", "text": "@Override\r\n\tpublic final ItemStack getItemAt(final int slot) {\r\n\t\treturn slot < this.tools.size() ? this.tools.get(slot).get(this.getViewer()) : null;\r\n\t}", "title": "" }, { "docid": "96ed3222361ebe74ebac8a23d7866287", "score": "0.45482305", "text": "public static CardView getInstance() {\n if (null == instance) instance = new CardView();\n return instance;\n }", "title": "" }, { "docid": "8c81e658c58c569465bfc1382115f1ac", "score": "0.45469716", "text": "public RTWLocation subslot(String slot);", "title": "" }, { "docid": "cc0c7e4b6b7e1ba31df36b796f24c6ef", "score": "0.45449993", "text": "@Override\n public T getInstance() {\n return instance;\n }", "title": "" }, { "docid": "6c91cd592515004895b0f0239e1a7834", "score": "0.45315194", "text": "public static SpaceImpl getInstance() throws RemoteException {\n if(spaceImplInstance == null) {\n new SpaceImpl();\n }\n return spaceImplInstance;\n }", "title": "" }, { "docid": "5dc935b87f9daf48cbb662512554abf8", "score": "0.45244217", "text": "public static Tuple getInstance( ) {\n return tuple;\n }", "title": "" }, { "docid": "d5896acab3051b81f18c0a76728a19ed", "score": "0.45219916", "text": "@Override\n\tpublic ItemStack getStackInSlot(int slot){\n\t return modularStacks[slot];\n\t}", "title": "" }, { "docid": "31179d0efe8edaf344c77bfc40dabc1b", "score": "0.4512526", "text": "static public RSMLGUI getInstance() {return instance;}", "title": "" }, { "docid": "24da9f2db8b276f1b77a6ee2074efba3", "score": "0.45097563", "text": "public static int getMaxSlot() {\n\t\tString maxSlot = Utils.getValueFromConfig(\"max_slot\");\n\t\tif (maxSlot == null || maxSlot.isEmpty())\n\t\t{\n\t\t\treturn MAX_SLOT;\n\t\t}\n\t\treturn Integer.parseInt(maxSlot);\n\t}", "title": "" }, { "docid": "0ef29c0e21a9b23e98547af4ebe0ca04", "score": "0.44998598", "text": "public static int getPortFromPool(){\n\n\t\tint port = -1;\n\t\tif(availablePorts.size() <= 0){\n\t\t\treturn -1;\n\t\t}\n\t\tport = availablePorts.get(0).intValue();\n\t\t\n\t\treturn port;\n\t}", "title": "" }, { "docid": "4853befc4583bb5331eff06e35ed7dc3", "score": "0.44947183", "text": "private Place getPlaceWithTelephoneNumber() {\n\n // finds nearby place according the slot value\n List<Place> places = PlaceFinder.findNearbyPlace(GeoCoder.getLatLng(deviceAddress), slotBankNameValue);\n\n // check the list of places for one with opening hours\n return PlaceFinder.findTelephoneNumberPlace(places, slotBankNameValue);\n }", "title": "" }, { "docid": "17fb035a7093ccb240560b3ec4a46760", "score": "0.4491531", "text": "public InventoryMenuTabItemSlots() {\n\t\t// Create our item slots list.\n\t\titemSlots = new ArrayList<ItemSlot>();\n\t\t// Populate our item slots list.\n\t\tTexture itemSlotBackground = new Texture(\"graphics/gamemenu/inventory/inventory_gamemenu_itemslot.png\");\n\t\tTexture itemSlotQuantityOverlay = new Texture(\"graphics/gamemenu/inventory/inventory_gamemenu_quantity_overlay.png\");\n\t\tTexture itemSlotSelectedOverlay = new Texture(\"graphics/gamemenu/inventory/inventory_gamemenu_itemslot_selectedoverlay.png\");\n\t\tFreeTypeFontGenerator.FreeTypeFontParameter parameter = new FreeTypeFontGenerator.FreeTypeFontParameter();\n\t\tparameter.size = C.FONT_SIZE_XXSMALL;\n\t\tBitmapFont quantityCountFont = FontPack.getFontPack().getFont(FontPack.FontType.MAIN_FONT, parameter);\n\t\tquantityCountFont.setColor(Color.BLACK);\n\t\tfor(int slotX = 0; slotX < C.MENU_INVENTORY_ITEM_SLOT_WIDTH; slotX++) {\n\t\t\tfor(int slotY = C.MENU_INVENTORY_ITEM_SLOT_HEIGHT - 1; slotY >= 0; slotY--) {\n\t\t\t\titemSlots.add(new ItemSlot(itemSlotBackground, itemSlotQuantityOverlay, itemSlotSelectedOverlay, quantityCountFont, slotX, slotY));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "ee2c974f246cd8958f9860fe0cb32469", "score": "0.44857338", "text": "public static NAsgnListNode INSTANCE() {\n if (instance == null) {\n instance = new NAsgnListNode();\n }\n return instance;\n }", "title": "" }, { "docid": "8a8c8929ed754ed78f8ac1e8c5fde89f", "score": "0.44832185", "text": "public static IPCGCallDetailCreator instance()\r\n {\r\n if (instance == null)\r\n {\r\n instance = new IPCGCallDetailCreator();\r\n }\r\n return instance;\r\n }", "title": "" }, { "docid": "2921f0f9e05ca25bc778799458e7f44a", "score": "0.44689876", "text": "public C5608l mo17761a() {\n m9894b();\n C5608l fragment = new C5608l();\n Bundle bundle = new Bundle();\n bundle.putSerializable(\"PaymentMethod\", this.f9489a);\n bundle.putInt(\"theme\", this.f9491c);\n fragment.setArguments(bundle);\n fragment.mo17760a(this.f9490b);\n return fragment;\n }", "title": "" }, { "docid": "45bd4e189be51ec833a77d4c71557e63", "score": "0.4460344", "text": "public static WayPointPanel getInstance() {\r\n\t\treturn wayPointTablePanel;\r\n\t}", "title": "" }, { "docid": "6f96bce437560ae7dfecbbf7e26165f7", "score": "0.44495636", "text": "public CourseRegInstance getInstance(String name) throws IOException;", "title": "" }, { "docid": "9a6c7352cb3e16ba215ae57324fd8e3b", "score": "0.443898", "text": "public String getAsSlot(int i);", "title": "" }, { "docid": "ee213fb14edef9e998e7a7cdc924bda8", "score": "0.44380286", "text": "public PooledConnection newInstance() {\n return new PooledConnection(pool);\n }", "title": "" }, { "docid": "dc513b3bddd266c267c2f3745caa6956", "score": "0.4437177", "text": "public static ProphetQueuing getInstance() {\r\n\t\tif (instance_ == null) {\r\n\t\t\tswitch (policy) {\r\n\t\t\tcase FIFO:\r\n\t\t\t\tinstance_ = (ProphetQueuing) new Fifo();\r\n\t\t\t\tbreak;\r\n\t\t\tcase MOFO:\r\n\t\t\t\tinstance_ = (ProphetQueuing) new Mofo();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tBPF.getInstance().getBPFLogger()\r\n\t\t\t\t\t\t.error(TAG, \"Wrong policy in prophet routing type\");\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn instance_;\r\n\t}", "title": "" }, { "docid": "b34931b908d15b6812deed77d85154dc", "score": "0.44346333", "text": "public java.util.List<CapacityProviderStrategyItem> getCapacityProviderStrategy() {\n if (capacityProviderStrategy == null) {\n capacityProviderStrategy = new com.amazonaws.internal.SdkInternalList<CapacityProviderStrategyItem>();\n }\n return capacityProviderStrategy;\n }", "title": "" }, { "docid": "b34931b908d15b6812deed77d85154dc", "score": "0.44346333", "text": "public java.util.List<CapacityProviderStrategyItem> getCapacityProviderStrategy() {\n if (capacityProviderStrategy == null) {\n capacityProviderStrategy = new com.amazonaws.internal.SdkInternalList<CapacityProviderStrategyItem>();\n }\n return capacityProviderStrategy;\n }", "title": "" }, { "docid": "43b70e2ccac526949af7f188e3b58c6b", "score": "0.44329163", "text": "public static PSUniqueObjectGenerator getInstance()\n {\n if ( null == ms_instance )\n ms_instance = new PSUniqueObjectGenerator();\n return ms_instance;\n }", "title": "" }, { "docid": "abb90429657d283d13bfe3e4bd0b886f", "score": "0.4431112", "text": "public ProcessProvider getComponent() {\n return component;\n }", "title": "" }, { "docid": "e0be898fd540fc317243c3ac6ad68e6f", "score": "0.44291136", "text": "public static final PikaxProcessor getInstance() {\n\t\tif (instance == null) {\n\t\t\treturn newInstance();\n\t\t}\n\t\treturn instance;\n\t}", "title": "" }, { "docid": "0c637dfc135c90ae8d855361f8cb31e5", "score": "0.4428235", "text": "private ExportPkg pickProvider(ImportPkg ip) {\n if (Debug.packages) {\n Debug.println(\"pickProvider: for - \" + ip);\n }\n ExportPkg provider = null;\n for (Iterator i = ip.pkg.exporters.iterator(); i.hasNext(); ) {\n ExportPkg ep = (ExportPkg)i.next();\n tempBlackListChecks++;\n if (tempBlackList.contains(ep)) {\n tempBlackListHits++;\n continue;\n }\n if (!checkAttributes(ep, ip)) {\n if (Debug.packages) {\n Debug.println(\"pickProvider: attribute match failed for - \" + ep);\n }\n continue;\n }\n if (tempResolved.contains(ep.bpkgs.bundle)) {\n provider = ep;\n break;\n }\n if ((ep.bpkgs.bundle.state & BundleImpl.RESOLVED_FLAGS) != 0) {\n HashMap oldTempProvider = (HashMap)tempProvider.clone();\n if (checkUses(ep)) {\n provider = ep;\n break;\n } else {\n tempProvider = oldTempProvider;\n tempBlackList.add(ep);\n continue;\n }\n }\n if (ep.bpkgs.bundle.state == Bundle.INSTALLED && checkResolve(ep.bpkgs.bundle)) { \n provider = ep;\n break;\n }\n }\n if (Debug.packages) {\n if (provider != null) {\n Debug.println(\"pickProvider: \" + ip + \" - got provider - \" + provider);\n } else {\n Debug.println(\"pickProvider: \" + ip + \" - found no provider\");\n }\n }\n return provider;\n }", "title": "" }, { "docid": "653807ac9c84cbb3db8d4155d34c9b25", "score": "0.44261447", "text": "private javax.swing.JButton getJButton11() {\n\t\tif(jButton11 == null) {\n\t\t\tjButton11 = new javax.swing.JButton();\n\t\t\tjButton11.setPreferredSize(new java.awt.Dimension(120,40));\n\t\t\tjButton11.setBackground(new java.awt.Color(226,226,222));\n\t\t\tjButton11.setFont(new java.awt.Font(\"Dialog\", java.awt.Font.BOLD, 10));\n\t\t\tjButton11.setText(\"F11 Bloquear\");\n\t\t\tjButton11.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);\n\t\t\tjButton11.setMargin(new Insets(1,2,1,1));\n\t\t\tjButton11.setEnabled(false);\n\t\t}\n\t\treturn jButton11;\n\t}", "title": "" }, { "docid": "f213a1dec71f3ab646084f3a6b40f5fe", "score": "0.44250536", "text": "@objid (\"13e63a4b-fab3-4b16-b7f9-69b4d6187c94\")\n ProvidedInterface getProvider();", "title": "" }, { "docid": "fa6aa7af5a24e53db02c3b331ec7e96e", "score": "0.44162616", "text": "public static payRollFacade getInstance() {\n\t\treturn INSTANCE;\n\t}", "title": "" }, { "docid": "74209f1e1ce7f4f49fb567cf3b543374", "score": "0.4411384", "text": "public DataSlotElements getDataSlotAccess() {\r\n\t\treturn pDataSlot;\r\n\t}", "title": "" }, { "docid": "0763490c6357846339c3bdc91265394a", "score": "0.4411068", "text": "@Override\n public Component getComponent() {\n if (component == null) {\n component = new PubMLSTVisualPanel2();\n }\n component.setPreferredSize(new java.awt.Dimension(480,340));\n return component;\n }", "title": "" }, { "docid": "ab60492b2d0d1082e110259112cde1be", "score": "0.44102165", "text": "public WeaponCardClient getWeaponCardsBySlotPosition(int slotPosition) {\n for (WeaponCardClient weaponCard : weaponCards) {\n if (weaponCard.getSlotPosition() == slotPosition) return weaponCard;\n }\n\n return null;\n }", "title": "" }, { "docid": "590d6029486fc5095debde14760f23cf", "score": "0.4404122", "text": "public static myCourses getInstance()\n {\n if (single_instance == null)\n single_instance = new myCourses();\n return single_instance;\n }", "title": "" }, { "docid": "e4a0e6034b5d39af314d23d42b412a56", "score": "0.44021216", "text": "org.jetbrains.r.classes.S4ClassInfo.S4ClassSlot getSlots(int index);", "title": "" } ]
19fcbee6ce3da69d4bb2b86f2b19c237
native declaration : include\curl\curl.h:2004 enum values
[ { "docid": "ecf48377058f27b3b333d605ad374c70", "score": "0.62569475", "text": "public static interface CURL_TLSAUTH {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2005</i> */\n\t\tpublic static final int CURL_TLSAUTH_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2006</i> */\n\t\tpublic static final int CURL_TLSAUTH_SRP = 1;\n\t\t/**\n\t\t * never use, keep last<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2007</i>\n\t\t */\n\t\tpublic static final int CURL_TLSAUTH_LAST = 2;\n\t}", "title": "" } ]
[ { "docid": "cfac1770c7acf42060dd39de35ffdbe9", "score": "0.7016177", "text": "public static interface CURLUcode {\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:8</i> */\n\t\tpublic static final int CURLUE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:9</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_HANDLE = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:10</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_PARTPOINTER = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:11</i>\n\t\t */\n\t\tpublic static final int CURLUE_MALFORMED_INPUT = 3;\n\t\t/**\n\t\t * 4<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:12</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_PORT_NUMBER = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:13</i>\n\t\t */\n\t\tpublic static final int CURLUE_UNSUPPORTED_SCHEME = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:14</i>\n\t\t */\n\t\tpublic static final int CURLUE_URLDECODE = 6;\n\t\t/**\n\t\t * 7<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:15</i>\n\t\t */\n\t\tpublic static final int CURLUE_OUT_OF_MEMORY = 7;\n\t\t/**\n\t\t * 8<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:16</i>\n\t\t */\n\t\tpublic static final int CURLUE_USER_NOT_ALLOWED = 8;\n\t\t/**\n\t\t * 9<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:17</i>\n\t\t */\n\t\tpublic static final int CURLUE_UNKNOWN_PART = 9;\n\t\t/**\n\t\t * 10<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:18</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_SCHEME = 10;\n\t\t/**\n\t\t * 11<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:19</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_USER = 11;\n\t\t/**\n\t\t * 12<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:20</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_PASSWORD = 12;\n\t\t/**\n\t\t * 13<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:21</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_OPTIONS = 13;\n\t\t/**\n\t\t * 14<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:22</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_HOST = 14;\n\t\t/**\n\t\t * 15<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:23</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_PORT = 15;\n\t\t/**\n\t\t * 16<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:24</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_QUERY = 16;\n\t\t/**\n\t\t * 17<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:25</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_FRAGMENT = 17;\n\t}", "title": "" }, { "docid": "5fda15c44298b0bab6fffc197b8a920f", "score": "0.67001075", "text": "public static interface CURLcode {\n\t\t/** <i>native declaration : include\\curl\\curl.h:413</i> */\n\t\tpublic static final int CURLE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:414</i>\n\t\t */\n\t\tpublic static final int CURLE_UNSUPPORTED_PROTOCOL = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:415</i>\n\t\t */\n\t\tpublic static final int CURLE_FAILED_INIT = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:416</i>\n\t\t */\n\t\tpublic static final int CURLE_URL_MALFORMAT = 3;\n\t\t/**\n\t\t * 4 - [was obsoleted in August 2007 for<br>\n\t\t * 7.17.0, reused in April 2011 for 7.21.5]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:417</i>\n\t\t */\n\t\tpublic static final int CURLE_NOT_BUILT_IN = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:419</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_RESOLVE_PROXY = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:420</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_RESOLVE_HOST = 6;\n\t\t/**\n\t\t * 7<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:421</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_CONNECT = 7;\n\t\t/**\n\t\t * 8<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:422</i>\n\t\t */\n\t\tpublic static final int CURLE_WEIRD_SERVER_REPLY = 8;\n\t\t/**\n\t\t * 9 a service was denied by the server<br>\n\t\t * due to lack of access - when login fails<br>\n\t\t * this is not returned.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:423</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_ACCESS_DENIED = 9;\n\t\t/**\n\t\t * 10 - [was obsoleted in April 2006 for<br>\n\t\t * 7.15.4, reused in Dec 2011 for 7.24.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:426</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_ACCEPT_FAILED = 10;\n\t\t/**\n\t\t * 11<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:428</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_PASS_REPLY = 11;\n\t\t/**\n\t\t * 12 - timeout occurred accepting server<br>\n\t\t * [was obsoleted in August 2007 for 7.17.0,<br>\n\t\t * reused in Dec 2011 for 7.24.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:429</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_ACCEPT_TIMEOUT = 12;\n\t\t/**\n\t\t * 13<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:432</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_PASV_REPLY = 13;\n\t\t/**\n\t\t * 14<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:433</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_227_FORMAT = 14;\n\t\t/**\n\t\t * 15<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:434</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_CANT_GET_HOST = 15;\n\t\t/**\n\t\t * 16 - A problem in the http2 framing layer.<br>\n\t\t * [was obsoleted in August 2007 for 7.17.0,<br>\n\t\t * reused in July 2014 for 7.38.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:435</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP2 = 16;\n\t\t/**\n\t\t * 17<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:438</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_SET_TYPE = 17;\n\t\t/**\n\t\t * 18<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:439</i>\n\t\t */\n\t\tpublic static final int CURLE_PARTIAL_FILE = 18;\n\t\t/**\n\t\t * 19<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:440</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_RETR_FILE = 19;\n\t\t/**\n\t\t * 20 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:441</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE20 = 20;\n\t\t/**\n\t\t * 21 - quote command failure<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:442</i>\n\t\t */\n\t\tpublic static final int CURLE_QUOTE_ERROR = 21;\n\t\t/**\n\t\t * 22<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:443</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP_RETURNED_ERROR = 22;\n\t\t/**\n\t\t * 23<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:444</i>\n\t\t */\n\t\tpublic static final int CURLE_WRITE_ERROR = 23;\n\t\t/**\n\t\t * 24 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:445</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE24 = 24;\n\t\t/**\n\t\t * 25 - failed upload \"command\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:446</i>\n\t\t */\n\t\tpublic static final int CURLE_UPLOAD_FAILED = 25;\n\t\t/**\n\t\t * 26 - couldn't open/read from file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:447</i>\n\t\t */\n\t\tpublic static final int CURLE_READ_ERROR = 26;\n\t\t/**\n\t\t * 27<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:448</i>\n\t\t */\n\t\tpublic static final int CURLE_OUT_OF_MEMORY = 27;\n\t\t/**\n\t\t * Note: CURLE_OUT_OF_MEMORY may sometimes indicate a conversion error<br>\n\t\t * instead of a memory allocation error if CURL_DOES_CONVERSIONS<br>\n\t\t * is defined<br>\n\t\t * 28 - the timeout time was reached<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:453</i>\n\t\t */\n\t\tpublic static final int CURLE_OPERATION_TIMEDOUT = 28;\n\t\t/**\n\t\t * 29 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:454</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE29 = 29;\n\t\t/**\n\t\t * 30 - FTP PORT operation failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:455</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_PORT_FAILED = 30;\n\t\t/**\n\t\t * 31 - the REST command failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:456</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_USE_REST = 31;\n\t\t/**\n\t\t * 32 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:457</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE32 = 32;\n\t\t/**\n\t\t * 33 - RANGE \"command\" didn't work<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:458</i>\n\t\t */\n\t\tpublic static final int CURLE_RANGE_ERROR = 33;\n\t\t/**\n\t\t * 34<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:459</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP_POST_ERROR = 34;\n\t\t/**\n\t\t * 35 - wrong when connecting with SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:460</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CONNECT_ERROR = 35;\n\t\t/**\n\t\t * 36 - couldn't resume download<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:461</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_DOWNLOAD_RESUME = 36;\n\t\t/**\n\t\t * 37<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:462</i>\n\t\t */\n\t\tpublic static final int CURLE_FILE_COULDNT_READ_FILE = 37;\n\t\t/**\n\t\t * 38<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:463</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_CANNOT_BIND = 38;\n\t\t/**\n\t\t * 39<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:464</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_SEARCH_FAILED = 39;\n\t\t/**\n\t\t * 40 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:465</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE40 = 40;\n\t\t/**\n\t\t * 41 - NOT USED starting with 7.53.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:466</i>\n\t\t */\n\t\tpublic static final int CURLE_FUNCTION_NOT_FOUND = 41;\n\t\t/**\n\t\t * 42<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:467</i>\n\t\t */\n\t\tpublic static final int CURLE_ABORTED_BY_CALLBACK = 42;\n\t\t/**\n\t\t * 43<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:468</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_FUNCTION_ARGUMENT = 43;\n\t\t/**\n\t\t * 44 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:469</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE44 = 44;\n\t\t/**\n\t\t * 45 - CURLOPT_INTERFACE failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:470</i>\n\t\t */\n\t\tpublic static final int CURLE_INTERFACE_FAILED = 45;\n\t\t/**\n\t\t * 46 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:471</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE46 = 46;\n\t\t/**\n\t\t * 47 - catch endless re-direct loops<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:472</i>\n\t\t */\n\t\tpublic static final int CURLE_TOO_MANY_REDIRECTS = 47;\n\t\t/**\n\t\t * 48 - User specified an unknown option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:473</i>\n\t\t */\n\t\tpublic static final int CURLE_UNKNOWN_OPTION = 48;\n\t\t/**\n\t\t * 49 - Malformed telnet option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:474</i>\n\t\t */\n\t\tpublic static final int CURLE_TELNET_OPTION_SYNTAX = 49;\n\t\t/**\n\t\t * 50 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:475</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE50 = 50;\n\t\t/**\n\t\t * 51 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:476</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE51 = 51;\n\t\t/**\n\t\t * 52 - when this is a specific error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:477</i>\n\t\t */\n\t\tpublic static final int CURLE_GOT_NOTHING = 52;\n\t\t/**\n\t\t * 53 - SSL crypto engine not found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:478</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_NOTFOUND = 53;\n\t\t/**\n\t\t * 54 - can not set SSL crypto engine as<br>\n\t\t * default<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:479</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_SETFAILED = 54;\n\t\t/**\n\t\t * 55 - failed sending network data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:481</i>\n\t\t */\n\t\tpublic static final int CURLE_SEND_ERROR = 55;\n\t\t/**\n\t\t * 56 - failure in receiving network data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:482</i>\n\t\t */\n\t\tpublic static final int CURLE_RECV_ERROR = 56;\n\t\t/**\n\t\t * 57 - NOT IN USE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:483</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE57 = 57;\n\t\t/**\n\t\t * 58 - problem with the local certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:484</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CERTPROBLEM = 58;\n\t\t/**\n\t\t * 59 - couldn't use specified cipher<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:485</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CIPHER = 59;\n\t\t/**\n\t\t * 60 - peer's certificate or fingerprint<br>\n\t\t * wasn't verified fine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:486</i>\n\t\t */\n\t\tpublic static final int CURLE_PEER_FAILED_VERIFICATION = 60;\n\t\t/**\n\t\t * 61 - Unrecognized/bad encoding<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:488</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_CONTENT_ENCODING = 61;\n\t\t/**\n\t\t * 62 - Invalid LDAP URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:489</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_INVALID_URL = 62;\n\t\t/**\n\t\t * 63 - Maximum file size exceeded<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:490</i>\n\t\t */\n\t\tpublic static final int CURLE_FILESIZE_EXCEEDED = 63;\n\t\t/**\n\t\t * 64 - Requested FTP SSL level failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:491</i>\n\t\t */\n\t\tpublic static final int CURLE_USE_SSL_FAILED = 64;\n\t\t/**\n\t\t * 65 - Sending the data requires a rewind<br>\n\t\t * that failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:492</i>\n\t\t */\n\t\tpublic static final int CURLE_SEND_FAIL_REWIND = 65;\n\t\t/**\n\t\t * 66 - failed to initialise ENGINE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:494</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_INITFAILED = 66;\n\t\t/**\n\t\t * 67 - user, password or similar was not<br>\n\t\t * accepted and we failed to login<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:495</i>\n\t\t */\n\t\tpublic static final int CURLE_LOGIN_DENIED = 67;\n\t\t/**\n\t\t * 68 - file not found on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:497</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_NOTFOUND = 68;\n\t\t/**\n\t\t * 69 - permission problem on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:498</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_PERM = 69;\n\t\t/**\n\t\t * 70 - out of disk space on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:499</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_DISK_FULL = 70;\n\t\t/**\n\t\t * 71 - Illegal TFTP operation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:500</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_ILLEGAL = 71;\n\t\t/**\n\t\t * 72 - Unknown transfer ID<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:501</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_UNKNOWNID = 72;\n\t\t/**\n\t\t * 73 - File already exists<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:502</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_FILE_EXISTS = 73;\n\t\t/**\n\t\t * 74 - No such user<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:503</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_NOSUCHUSER = 74;\n\t\t/**\n\t\t * 75 - conversion failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:504</i>\n\t\t */\n\t\tpublic static final int CURLE_CONV_FAILED = 75;\n\t\t/**\n\t\t * 76 - caller must register conversion<br>\n\t\t * callbacks using curl_easy_setopt options<br>\n\t\t * CURLOPT_CONV_FROM_NETWORK_FUNCTION,<br>\n\t\t * CURLOPT_CONV_TO_NETWORK_FUNCTION, and<br>\n\t\t * CURLOPT_CONV_FROM_UTF8_FUNCTION<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:505</i>\n\t\t */\n\t\tpublic static final int CURLE_CONV_REQD = 76;\n\t\t/**\n\t\t * 77 - could not load CACERT file, missing<br>\n\t\t * or wrong format<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:510</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CACERT_BADFILE = 77;\n\t\t/**\n\t\t * 78 - remote file not found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:512</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_FILE_NOT_FOUND = 78;\n\t\t/**\n\t\t * 79 - error from the SSH layer, somewhat<br>\n\t\t * generic so the error message will be of<br>\n\t\t * interest when this has happened<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:513</i>\n\t\t */\n\t\tpublic static final int CURLE_SSH = 79;\n\t\t/**\n\t\t * 80 - Failed to shut down the SSL<br>\n\t\t * connection<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:517</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_SHUTDOWN_FAILED = 80;\n\t\t/**\n\t\t * 81 - socket is not ready for send/recv,<br>\n\t\t * wait till it's ready and try again (Added<br>\n\t\t * in 7.18.2)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:519</i>\n\t\t */\n\t\tpublic static final int CURLE_AGAIN = 81;\n\t\t/**\n\t\t * 82 - could not load CRL file, missing or<br>\n\t\t * wrong format (Added in 7.19.0)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:522</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CRL_BADFILE = 82;\n\t\t/**\n\t\t * 83 - Issuer check failed. (Added in<br>\n\t\t * 7.19.0)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:524</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ISSUER_ERROR = 83;\n\t\t/**\n\t\t * 84 - a PRET command failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:526</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_PRET_FAILED = 84;\n\t\t/**\n\t\t * 85 - mismatch of RTSP CSeq numbers<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:527</i>\n\t\t */\n\t\tpublic static final int CURLE_RTSP_CSEQ_ERROR = 85;\n\t\t/**\n\t\t * 86 - mismatch of RTSP Session Ids<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:528</i>\n\t\t */\n\t\tpublic static final int CURLE_RTSP_SESSION_ERROR = 86;\n\t\t/**\n\t\t * 87 - unable to parse FTP file list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:529</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_BAD_FILE_LIST = 87;\n\t\t/**\n\t\t * 88 - chunk callback reported error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:530</i>\n\t\t */\n\t\tpublic static final int CURLE_CHUNK_FAILED = 88;\n\t\t/**\n\t\t * 89 - No connection available, the<br>\n\t\t * session will be queued<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:531</i>\n\t\t */\n\t\tpublic static final int CURLE_NO_CONNECTION_AVAILABLE = 89;\n\t\t/**\n\t\t * 90 - specified pinned public key did not<br>\n\t\t * match<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:533</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_PINNEDPUBKEYNOTMATCH = 90;\n\t\t/**\n\t\t * 91 - invalid certificate status<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:535</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_INVALIDCERTSTATUS = 91;\n\t\t/**\n\t\t * 92 - stream error in HTTP/2 framing layer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:536</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP2_STREAM = 92;\n\t\t/**\n\t\t * 93 - an api function was called from<br>\n\t\t * inside a callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:538</i>\n\t\t */\n\t\tpublic static final int CURLE_RECURSIVE_API_CALL = 93;\n\t\t/**\n\t\t * 94 - an authentication function returned an<br>\n\t\t * error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:540</i>\n\t\t */\n\t\tpublic static final int CURLE_AUTH_ERROR = 94;\n\t\t/**\n\t\t * 95 - An HTTP/3 layer problem<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:542</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP3 = 95;\n\t\t/**\n\t\t * 96 - QUIC connection error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:543</i>\n\t\t */\n\t\tpublic static final int CURLE_QUIC_CONNECT_ERROR = 96;\n\t\t/**\n\t\t * never use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:544</i>\n\t\t */\n\t\tpublic static final int CURL_LAST = 97;\n\t}", "title": "" }, { "docid": "b49921e4bf96615bb66d0ea5bbc0a1b4", "score": "0.65988535", "text": "public static interface CURLversion {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2654</i> */\n\t\tpublic static final int CURLVERSION_FIRST = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2655</i> */\n\t\tpublic static final int CURLVERSION_SECOND = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2656</i> */\n\t\tpublic static final int CURLVERSION_THIRD = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2657</i> */\n\t\tpublic static final int CURLVERSION_FOURTH = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2658</i> */\n\t\tpublic static final int CURLVERSION_FIFTH = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2659</i> */\n\t\tpublic static final int CURLVERSION_SIXTH = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2660</i> */\n\t\tpublic static final int CURLVERSION_SEVENTH = 6;\n\t\t/**\n\t\t * never actually use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2661</i>\n\t\t */\n\t\tpublic static final int CURLVERSION_LAST = 7;\n\t}", "title": "" }, { "docid": "4fe7c24665454b423f621bb81f7e3c09", "score": "0.65835696", "text": "public static interface CURLSHcode {\n\t\t/**\n\t\t * all is fine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2625</i>\n\t\t */\n\t\tpublic static final int CURLSHE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2626</i>\n\t\t */\n\t\tpublic static final int CURLSHE_BAD_OPTION = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2627</i>\n\t\t */\n\t\tpublic static final int CURLSHE_IN_USE = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2628</i>\n\t\t */\n\t\tpublic static final int CURLSHE_INVALID = 3;\n\t\t/**\n\t\t * 4 out of memory<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2629</i>\n\t\t */\n\t\tpublic static final int CURLSHE_NOMEM = 4;\n\t\t/**\n\t\t * 5 feature not present in lib<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2630</i>\n\t\t */\n\t\tpublic static final int CURLSHE_NOT_BUILT_IN = 5;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2631</i>\n\t\t */\n\t\tpublic static final int CURLSHE_LAST = 6;\n\t}", "title": "" }, { "docid": "58750465628b1a76fbb177ac31cdcda0", "score": "0.65700394", "text": "public static interface curl_khtype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:698</i> */\n\t\tpublic static final int CURLKHTYPE_UNKNOWN = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:699</i> */\n\t\tpublic static final int CURLKHTYPE_RSA1 = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:700</i> */\n\t\tpublic static final int CURLKHTYPE_RSA = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:701</i> */\n\t\tpublic static final int CURLKHTYPE_DSS = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:702</i> */\n\t\tpublic static final int CURLKHTYPE_ECDSA = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:703</i> */\n\t\tpublic static final int CURLKHTYPE_ED25519 = 5;\n\t}", "title": "" }, { "docid": "729f14adfabd5126af77e8c64271ba01", "score": "0.6516248", "text": "public static interface CURLUPart {\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:29</i> */\n\t\tpublic static final int CURLUPART_URL = 0;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:30</i> */\n\t\tpublic static final int CURLUPART_SCHEME = 1;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:31</i> */\n\t\tpublic static final int CURLUPART_USER = 2;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:32</i> */\n\t\tpublic static final int CURLUPART_PASSWORD = 3;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:33</i> */\n\t\tpublic static final int CURLUPART_OPTIONS = 4;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:34</i> */\n\t\tpublic static final int CURLUPART_HOST = 5;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:35</i> */\n\t\tpublic static final int CURLUPART_PORT = 6;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:36</i> */\n\t\tpublic static final int CURLUPART_PATH = 7;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:37</i> */\n\t\tpublic static final int CURLUPART_QUERY = 8;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:38</i> */\n\t\tpublic static final int CURLUPART_FRAGMENT = 9;\n\t\t/**\n\t\t * added in 7.65.0<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:39</i>\n\t\t */\n\t\tpublic static final int CURLUPART_ZONEID = 10;\n\t}", "title": "" }, { "docid": "4c7ac524fefa16128a80d2f963a1ee5a", "score": "0.64472646", "text": "public static interface curl_infotype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:388</i> */\n\t\tpublic static final int CURLINFO_TEXT = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:389</i>\n\t\t */\n\t\tpublic static final int CURLINFO_HEADER_IN = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:390</i>\n\t\t */\n\t\tpublic static final int CURLINFO_HEADER_OUT = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:391</i>\n\t\t */\n\t\tpublic static final int CURLINFO_DATA_IN = 3;\n\t\t/**\n\t\t * 4<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:392</i>\n\t\t */\n\t\tpublic static final int CURLINFO_DATA_OUT = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:393</i>\n\t\t */\n\t\tpublic static final int CURLINFO_SSL_DATA_IN = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:394</i>\n\t\t */\n\t\tpublic static final int CURLINFO_SSL_DATA_OUT = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:395</i> */\n\t\tpublic static final int CURLINFO_END = 7;\n\t}", "title": "" }, { "docid": "97e27cff9647d665d56a1a6a169fd520", "score": "0.6413194", "text": "public static interface CURLFORMcode {\n\t\t/**\n\t\t * first, no error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2217</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_OK = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2219</i> */\n\t\tpublic static final int CURL_FORMADD_MEMORY = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2220</i> */\n\t\tpublic static final int CURL_FORMADD_OPTION_TWICE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2221</i> */\n\t\tpublic static final int CURL_FORMADD_NULL = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2222</i> */\n\t\tpublic static final int CURL_FORMADD_UNKNOWN_OPTION = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2223</i> */\n\t\tpublic static final int CURL_FORMADD_INCOMPLETE = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2224</i> */\n\t\tpublic static final int CURL_FORMADD_ILLEGAL_ARRAY = 6;\n\t\t/**\n\t\t * libcurl was built with this disabled<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2225</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_DISABLED = 7;\n\t\t/**\n\t\t * last<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2227</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_LAST = 8;\n\t}", "title": "" }, { "docid": "0474e4772e8b573c16b2410d485fb9c9", "score": "0.6345828", "text": "public static interface CURLMSG {\n\t\t/**\n\t\t * first, not used<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:90</i>\n\t\t */\n\t\tpublic static final int CURLMSG_NONE = 0;\n\t\t/**\n\t\t * This easy handle has completed. 'result' contains<br>\n\t\t * the CURLcode of the transfer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:91</i>\n\t\t */\n\t\tpublic static final int CURLMSG_DONE = 1;\n\t\t/**\n\t\t * last, not used<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:93</i>\n\t\t */\n\t\tpublic static final int CURLMSG_LAST = 2;\n\t}", "title": "" }, { "docid": "a3f86edab091fbe34dd9e88554a1279e", "score": "0.62631637", "text": "JsonParser.EnumC4225b mo29860b();", "title": "" }, { "docid": "0ce521b1c4363c9f538443bdfa3fb5a4", "score": "0.61821574", "text": "public static interface curlfiletype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:205</i> */\n\t\tpublic static final int CURLFILETYPE_FILE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:206</i> */\n\t\tpublic static final int CURLFILETYPE_DIRECTORY = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:207</i> */\n\t\tpublic static final int CURLFILETYPE_SYMLINK = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:208</i> */\n\t\tpublic static final int CURLFILETYPE_DEVICE_BLOCK = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:209</i> */\n\t\tpublic static final int CURLFILETYPE_DEVICE_CHAR = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:210</i> */\n\t\tpublic static final int CURLFILETYPE_NAMEDPIPE = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:211</i> */\n\t\tpublic static final int CURLFILETYPE_SOCKET = 6;\n\t\t/**\n\t\t * is possible only on Sun Solaris now<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:212</i>\n\t\t */\n\t\tpublic static final int CURLFILETYPE_DOOR = 7;\n\t\t/**\n\t\t * should never occur<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:214</i>\n\t\t */\n\t\tpublic static final int CURLFILETYPE_UNKNOWN = 8;\n\t}", "title": "" }, { "docid": "5612237d0e2ec5562e194ed7ff44fccd", "score": "0.61741453", "text": "public static interface CURLINFO {\n\t\t/**\n\t\t * first, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2490</i>\n\t\t */\n\t\tpublic static final int CURLINFO_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2491</i> */\n\t\tpublic static final int CURLINFO_EFFECTIVE_URL = 0x100000 + 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2492</i> */\n\t\tpublic static final int CURLINFO_RESPONSE_CODE = 0x200000 + 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2493</i> */\n\t\tpublic static final int CURLINFO_TOTAL_TIME = 0x300000 + 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2494</i> */\n\t\tpublic static final int CURLINFO_NAMELOOKUP_TIME = 0x300000 + 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2495</i> */\n\t\tpublic static final int CURLINFO_CONNECT_TIME = 0x300000 + 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2496</i> */\n\t\tpublic static final int CURLINFO_PRETRANSFER_TIME = 0x300000 + 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2497</i> */\n\t\tpublic static final int CURLINFO_SIZE_UPLOAD = 0x300000 + 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2498</i> */\n\t\tpublic static final int CURLINFO_SIZE_UPLOAD_T = 0x600000 + 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2499</i> */\n\t\tpublic static final int CURLINFO_SIZE_DOWNLOAD = 0x300000 + 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2500</i> */\n\t\tpublic static final int CURLINFO_SIZE_DOWNLOAD_T = 0x600000 + 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2501</i> */\n\t\tpublic static final int CURLINFO_SPEED_DOWNLOAD = 0x300000 + 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2502</i> */\n\t\tpublic static final int CURLINFO_SPEED_DOWNLOAD_T = 0x600000 + 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2503</i> */\n\t\tpublic static final int CURLINFO_SPEED_UPLOAD = 0x300000 + 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2504</i> */\n\t\tpublic static final int CURLINFO_SPEED_UPLOAD_T = 0x600000 + 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2505</i> */\n\t\tpublic static final int CURLINFO_HEADER_SIZE = 0x200000 + 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2506</i> */\n\t\tpublic static final int CURLINFO_REQUEST_SIZE = 0x200000 + 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2507</i> */\n\t\tpublic static final int CURLINFO_SSL_VERIFYRESULT = 0x200000 + 13;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2508</i> */\n\t\tpublic static final int CURLINFO_FILETIME = 0x200000 + 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2509</i> */\n\t\tpublic static final int CURLINFO_FILETIME_T = 0x600000 + 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2510</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_DOWNLOAD = 0x300000 + 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2511</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_DOWNLOAD_T = 0x600000 + 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2512</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_UPLOAD = 0x300000 + 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2513</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_UPLOAD_T = 0x600000 + 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2514</i> */\n\t\tpublic static final int CURLINFO_STARTTRANSFER_TIME = 0x300000 + 17;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2515</i> */\n\t\tpublic static final int CURLINFO_CONTENT_TYPE = 0x100000 + 18;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2516</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_TIME = 0x300000 + 19;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2517</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_COUNT = 0x200000 + 20;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2518</i> */\n\t\tpublic static final int CURLINFO_PRIVATE = 0x100000 + 21;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2519</i> */\n\t\tpublic static final int CURLINFO_HTTP_CONNECTCODE = 0x200000 + 22;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2520</i> */\n\t\tpublic static final int CURLINFO_HTTPAUTH_AVAIL = 0x200000 + 23;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2521</i> */\n\t\tpublic static final int CURLINFO_PROXYAUTH_AVAIL = 0x200000 + 24;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2522</i> */\n\t\tpublic static final int CURLINFO_OS_ERRNO = 0x200000 + 25;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2523</i> */\n\t\tpublic static final int CURLINFO_NUM_CONNECTS = 0x200000 + 26;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2524</i> */\n\t\tpublic static final int CURLINFO_SSL_ENGINES = 0x400000 + 27;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2525</i> */\n\t\tpublic static final int CURLINFO_COOKIELIST = 0x400000 + 28;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2526</i> */\n\t\tpublic static final int CURLINFO_LASTSOCKET = 0x200000 + 29;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2527</i> */\n\t\tpublic static final int CURLINFO_FTP_ENTRY_PATH = 0x100000 + 30;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2528</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_URL = 0x100000 + 31;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2529</i> */\n\t\tpublic static final int CURLINFO_PRIMARY_IP = 0x100000 + 32;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2530</i> */\n\t\tpublic static final int CURLINFO_APPCONNECT_TIME = 0x300000 + 33;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2531</i> */\n\t\tpublic static final int CURLINFO_CERTINFO = 0x400000 + 34;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2532</i> */\n\t\tpublic static final int CURLINFO_CONDITION_UNMET = 0x200000 + 35;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2533</i> */\n\t\tpublic static final int CURLINFO_RTSP_SESSION_ID = 0x100000 + 36;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2534</i> */\n\t\tpublic static final int CURLINFO_RTSP_CLIENT_CSEQ = 0x200000 + 37;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2535</i> */\n\t\tpublic static final int CURLINFO_RTSP_SERVER_CSEQ = 0x200000 + 38;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2536</i> */\n\t\tpublic static final int CURLINFO_RTSP_CSEQ_RECV = 0x200000 + 39;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2537</i> */\n\t\tpublic static final int CURLINFO_PRIMARY_PORT = 0x200000 + 40;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2538</i> */\n\t\tpublic static final int CURLINFO_LOCAL_IP = 0x100000 + 41;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2539</i> */\n\t\tpublic static final int CURLINFO_LOCAL_PORT = 0x200000 + 42;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2540</i> */\n\t\tpublic static final int CURLINFO_TLS_SESSION = 0x400000 + 43;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2541</i> */\n\t\tpublic static final int CURLINFO_ACTIVESOCKET = 0x500000 + 44;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2542</i> */\n\t\tpublic static final int CURLINFO_TLS_SSL_PTR = 0x400000 + 45;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2543</i> */\n\t\tpublic static final int CURLINFO_HTTP_VERSION = 0x200000 + 46;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2544</i> */\n\t\tpublic static final int CURLINFO_PROXY_SSL_VERIFYRESULT = 0x200000 + 47;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2545</i> */\n\t\tpublic static final int CURLINFO_PROTOCOL = 0x200000 + 48;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2546</i> */\n\t\tpublic static final int CURLINFO_SCHEME = 0x100000 + 49;\n\t\t/**\n\t\t * Preferably these would be defined conditionally based on the<br>\n\t\t * sizeof curl_off_t being 64-bits<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2551</i>\n\t\t */\n\t\tpublic static final int CURLINFO_TOTAL_TIME_T = 0x600000 + 50;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2552</i> */\n\t\tpublic static final int CURLINFO_NAMELOOKUP_TIME_T = 0x600000 + 51;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2553</i> */\n\t\tpublic static final int CURLINFO_CONNECT_TIME_T = 0x600000 + 52;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2554</i> */\n\t\tpublic static final int CURLINFO_PRETRANSFER_TIME_T = 0x600000 + 53;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2555</i> */\n\t\tpublic static final int CURLINFO_STARTTRANSFER_TIME_T = 0x600000 + 54;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2556</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_TIME_T = 0x600000 + 55;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2557</i> */\n\t\tpublic static final int CURLINFO_APPCONNECT_TIME_T = 0x600000 + 56;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2558</i> */\n\t\tpublic static final int CURLINFO_RETRY_AFTER = 0x600000 + 57;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2560</i> */\n\t\tpublic static final int CURLINFO_LASTONE = 57;\n\t}", "title": "" }, { "docid": "94d43e71e13ac5a0b3d96df1e9c1fb91", "score": "0.6171988", "text": "EnumC11229a mo66643h();", "title": "" }, { "docid": "357842fbdd23b8d43cabd42eb948bf37", "score": "0.6147313", "text": "public static interface CURLMcode {\n\t\t/**\n\t\t * please call curl_multi_perform() or<br>\n\t\t * curl_multi_socket*() soon<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:61</i>\n\t\t */\n\t\tpublic static final int CURLM_CALL_MULTI_PERFORM = -1;\n\t\t/** <i>native declaration : include\\curl\\multi.h:63</i> */\n\t\tpublic static final int CURLM_OK = 0;\n\t\t/**\n\t\t * the passed-in handle is not a valid CURLM handle<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:64</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_HANDLE = 1;\n\t\t/**\n\t\t * an easy handle was not good/valid<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:65</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_EASY_HANDLE = 2;\n\t\t/**\n\t\t * if you ever get this, you're in deep sh*t<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:66</i>\n\t\t */\n\t\tpublic static final int CURLM_OUT_OF_MEMORY = 3;\n\t\t/**\n\t\t * this is a libcurl bug<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:67</i>\n\t\t */\n\t\tpublic static final int CURLM_INTERNAL_ERROR = 4;\n\t\t/**\n\t\t * the passed in socket argument did not match<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:68</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_SOCKET = 5;\n\t\t/**\n\t\t * curl_multi_setopt() with unsupported option<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:69</i>\n\t\t */\n\t\tpublic static final int CURLM_UNKNOWN_OPTION = 6;\n\t\t/**\n\t\t * an easy handle already added to a multi handle was<br>\n\t\t * attempted to get added - again<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:70</i>\n\t\t */\n\t\tpublic static final int CURLM_ADDED_ALREADY = 7;\n\t\t/**\n\t\t * an api function was called from inside a<br>\n\t\t * callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:72</i>\n\t\t */\n\t\tpublic static final int CURLM_RECURSIVE_API_CALL = 8;\n\t\t/**\n\t\t * wakeup is unavailable or failed<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:74</i>\n\t\t */\n\t\tpublic static final int CURLM_WAKEUP_FAILURE = 9;\n\t\t/**\n\t\t * function called with a bad parameter<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:75</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_FUNCTION_ARGUMENT = 10;\n\t\t/** <i>native declaration : include\\curl\\multi.h:76</i> */\n\t\tpublic static final int CURLM_LAST = 11;\n\t}", "title": "" }, { "docid": "829378e40b38ee4b9f743d33f0b90a9c", "score": "0.61407024", "text": "private static native int[] LanaEnum();", "title": "" }, { "docid": "d14e34b36f5bb60ad17d28b49f07d9fa", "score": "0.6126486", "text": "public static interface CURLformoption {\n\t\t/**\n\t\t * the first one is unused ***********<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2166</i>\n\t\t */\n\t\tpublic static final int CURLFORM_NOTHING = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2167</i> */\n\t\tpublic static final int CURLFORM_COPYNAME = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2168</i> */\n\t\tpublic static final int CURLFORM_PTRNAME = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2169</i> */\n\t\tpublic static final int CURLFORM_NAMELENGTH = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2170</i> */\n\t\tpublic static final int CURLFORM_COPYCONTENTS = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2171</i> */\n\t\tpublic static final int CURLFORM_PTRCONTENTS = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2172</i> */\n\t\tpublic static final int CURLFORM_CONTENTSLENGTH = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2173</i> */\n\t\tpublic static final int CURLFORM_FILECONTENT = 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2174</i> */\n\t\tpublic static final int CURLFORM_ARRAY = 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2175</i> */\n\t\tpublic static final int CURLFORM_OBSOLETE = 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2176</i> */\n\t\tpublic static final int CURLFORM_FILE = 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2178</i> */\n\t\tpublic static final int CURLFORM_BUFFER = 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2179</i> */\n\t\tpublic static final int CURLFORM_BUFFERPTR = 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2180</i> */\n\t\tpublic static final int CURLFORM_BUFFERLENGTH = 13;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2182</i> */\n\t\tpublic static final int CURLFORM_CONTENTTYPE = 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2183</i> */\n\t\tpublic static final int CURLFORM_CONTENTHEADER = 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2184</i> */\n\t\tpublic static final int CURLFORM_FILENAME = 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2185</i> */\n\t\tpublic static final int CURLFORM_END = 17;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2186</i> */\n\t\tpublic static final int CURLFORM_OBSOLETE2 = 18;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2188</i> */\n\t\tpublic static final int CURLFORM_STREAM = 19;\n\t\t/**\n\t\t * added in 7.46.0, provide a curl_off_t length<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2189</i>\n\t\t */\n\t\tpublic static final int CURLFORM_CONTENTLEN = 20;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2191</i>\n\t\t */\n\t\tpublic static final int CURLFORM_LASTENTRY = 21;\n\t}", "title": "" }, { "docid": "8387ee4554bbce626df7ae10166e967c", "score": "0.6066184", "text": "public static interface curlsocktype {\n\t\t/**\n\t\t * socket created for a specific IP connection<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:320</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_IPCXN = 0;\n\t\t/**\n\t\t * socket created by accept() call<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:321</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_ACCEPT = 1;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:322</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_LAST = 2;\n\t}", "title": "" }, { "docid": "f4cc6ad769c09ce8e276e55d80d858d6", "score": "0.6020247", "text": "public static interface CURLSHoption {\n\t\t/**\n\t\t * don't use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2635</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_NONE = 0;\n\t\t/**\n\t\t * specify a data type to share<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2636</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_SHARE = 1;\n\t\t/**\n\t\t * specify which data type to stop sharing<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2637</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_UNSHARE = 2;\n\t\t/**\n\t\t * pass in a 'curl_lock_function' pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2638</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_LOCKFUNC = 3;\n\t\t/**\n\t\t * pass in a 'curl_unlock_function' pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2639</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_UNLOCKFUNC = 4;\n\t\t/**\n\t\t * pass in a user data pointer used in the lock/unlock<br>\n\t\t * callback functions<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2640</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_USERDATA = 5;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2642</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_LAST = 6;\n\t}", "title": "" }, { "docid": "32aad7287eb2b8fa1577df90f02e8b0a", "score": "0.59658355", "text": "public static interface curliocmd {\n\t\t/**\n\t\t * no operation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:361</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_NOP = 0;\n\t\t/**\n\t\t * restart the read stream from start<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:362</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_RESTARTREAD = 1;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:363</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_LAST = 2;\n\t}", "title": "" }, { "docid": "1ae4435c2f8693e7042a1a8d123acb33", "score": "0.5944306", "text": "public static interface curl_proxytype {\n\t\t/**\n\t\t * added in 7.10, new in 7.19.4 default is to use<br>\n\t\t * CONNECT HTTP/1.1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:633</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTP = 0;\n\t\t/**\n\t\t * added in 7.19.4, force to use CONNECT<br>\n\t\t * HTTP/1.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:635</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTP_1_0 = 1;\n\t\t/**\n\t\t * added in 7.52.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:637</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTPS = 2;\n\t\t/**\n\t\t * support added in 7.15.2, enum existed already<br>\n\t\t * in 7.10<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:638</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS4 = 4;\n\t\t/**\n\t\t * added in 7.10<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:640</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS5 = 5;\n\t\t/**\n\t\t * added in 7.18.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:641</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS4A = 6;\n\t\t/**\n\t\t * Use the SOCKS5 protocol but pass along the<br>\n\t\t * host name rather than the IP address. added<br>\n\t\t * in 7.18.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:642</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS5_HOSTNAME = 7;\n\t}", "title": "" }, { "docid": "9ba767faec60943813f7fe3d0ff100bc", "score": "0.5819426", "text": "public static interface curlioerr {\n\t\t/**\n\t\t * I/O operation successful<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:354</i>\n\t\t */\n\t\tpublic static final int CURLIOE_OK = 0;\n\t\t/**\n\t\t * command was unknown to callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:355</i>\n\t\t */\n\t\tpublic static final int CURLIOE_UNKNOWNCMD = 1;\n\t\t/**\n\t\t * failed to restart the read<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:356</i>\n\t\t */\n\t\tpublic static final int CURLIOE_FAILRESTART = 2;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:357</i>\n\t\t */\n\t\tpublic static final int CURLIOE_LAST = 3;\n\t}", "title": "" }, { "docid": "a8f16607c5e3158611aff620086e8150", "score": "0.5757574", "text": "public static interface CURLsslset {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2422</i> */\n\t\tpublic static final int CURLSSLSET_OK = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2423</i> */\n\t\tpublic static final int CURLSSLSET_UNKNOWN_BACKEND = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2424</i> */\n\t\tpublic static final int CURLSSLSET_TOO_LATE = 2;\n\t\t/**\n\t\t * libcurl was built without any SSL support<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2425</i>\n\t\t */\n\t\tpublic static final int CURLSSLSET_NO_BACKENDS = 3;\n\t}", "title": "" }, { "docid": "0fad4db1c58b1b16c030ecff780cba54", "score": "0.56975377", "text": "public interface Libcurl4Library extends Library {\n\tpublic static final String JNA_LIBRARY_NAME = \"libcurl-4\";\n\tpublic static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(Libcurl4Library.JNA_LIBRARY_NAME);\n\tpublic static final Libcurl4Library INSTANCE = (Libcurl4Library)Native.loadLibrary(Libcurl4Library.JNA_LIBRARY_NAME, Libcurl4Library.class);\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_sslbackend {\n\t\t/** <i>native declaration : include\\curl\\curl.h:78</i> */\n\t\tpublic static final int CURLSSLBACKEND_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:79</i> */\n\t\tpublic static final int CURLSSLBACKEND_OPENSSL = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:80</i> */\n\t\tpublic static final int CURLSSLBACKEND_GNUTLS = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:81</i> */\n\t\tpublic static final int CURLSSLBACKEND_NSS = 3;\n\t\t/**\n\t\t * Was QSOSSL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:82</i>\n\t\t */\n\t\tpublic static final int CURLSSLBACKEND_OBSOLETE4 = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:83</i> */\n\t\tpublic static final int CURLSSLBACKEND_GSKIT = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:84</i> */\n\t\tpublic static final int CURLSSLBACKEND_POLARSSL = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:85</i> */\n\t\tpublic static final int CURLSSLBACKEND_WOLFSSL = 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:86</i> */\n\t\tpublic static final int CURLSSLBACKEND_SCHANNEL = 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:87</i> */\n\t\tpublic static final int CURLSSLBACKEND_SECURETRANSPORT = 9;\n\t\t/**\n\t\t * never used since 7.63.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:88</i>\n\t\t */\n\t\tpublic static final int CURLSSLBACKEND_AXTLS = 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:89</i> */\n\t\tpublic static final int CURLSSLBACKEND_MBEDTLS = 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:90</i> */\n\t\tpublic static final int CURLSSLBACKEND_MESALINK = 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:91</i> */\n\t\tpublic static final int CURLSSLBACKEND_BEARSSL = 13;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curlfiletype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:205</i> */\n\t\tpublic static final int CURLFILETYPE_FILE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:206</i> */\n\t\tpublic static final int CURLFILETYPE_DIRECTORY = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:207</i> */\n\t\tpublic static final int CURLFILETYPE_SYMLINK = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:208</i> */\n\t\tpublic static final int CURLFILETYPE_DEVICE_BLOCK = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:209</i> */\n\t\tpublic static final int CURLFILETYPE_DEVICE_CHAR = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:210</i> */\n\t\tpublic static final int CURLFILETYPE_NAMEDPIPE = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:211</i> */\n\t\tpublic static final int CURLFILETYPE_SOCKET = 6;\n\t\t/**\n\t\t * is possible only on Sun Solaris now<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:212</i>\n\t\t */\n\t\tpublic static final int CURLFILETYPE_DOOR = 7;\n\t\t/**\n\t\t * should never occur<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:214</i>\n\t\t */\n\t\tpublic static final int CURLFILETYPE_UNKNOWN = 8;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curlsocktype {\n\t\t/**\n\t\t * socket created for a specific IP connection<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:320</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_IPCXN = 0;\n\t\t/**\n\t\t * socket created by accept() call<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:321</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_ACCEPT = 1;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:322</i>\n\t\t */\n\t\tpublic static final int CURLSOCKTYPE_LAST = 2;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curlioerr {\n\t\t/**\n\t\t * I/O operation successful<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:354</i>\n\t\t */\n\t\tpublic static final int CURLIOE_OK = 0;\n\t\t/**\n\t\t * command was unknown to callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:355</i>\n\t\t */\n\t\tpublic static final int CURLIOE_UNKNOWNCMD = 1;\n\t\t/**\n\t\t * failed to restart the read<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:356</i>\n\t\t */\n\t\tpublic static final int CURLIOE_FAILRESTART = 2;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:357</i>\n\t\t */\n\t\tpublic static final int CURLIOE_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curliocmd {\n\t\t/**\n\t\t * no operation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:361</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_NOP = 0;\n\t\t/**\n\t\t * restart the read stream from start<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:362</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_RESTARTREAD = 1;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:363</i>\n\t\t */\n\t\tpublic static final int CURLIOCMD_LAST = 2;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_infotype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:388</i> */\n\t\tpublic static final int CURLINFO_TEXT = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:389</i>\n\t\t */\n\t\tpublic static final int CURLINFO_HEADER_IN = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:390</i>\n\t\t */\n\t\tpublic static final int CURLINFO_HEADER_OUT = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:391</i>\n\t\t */\n\t\tpublic static final int CURLINFO_DATA_IN = 3;\n\t\t/**\n\t\t * 4<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:392</i>\n\t\t */\n\t\tpublic static final int CURLINFO_DATA_OUT = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:393</i>\n\t\t */\n\t\tpublic static final int CURLINFO_SSL_DATA_IN = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:394</i>\n\t\t */\n\t\tpublic static final int CURLINFO_SSL_DATA_OUT = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:395</i> */\n\t\tpublic static final int CURLINFO_END = 7;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLcode {\n\t\t/** <i>native declaration : include\\curl\\curl.h:413</i> */\n\t\tpublic static final int CURLE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:414</i>\n\t\t */\n\t\tpublic static final int CURLE_UNSUPPORTED_PROTOCOL = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:415</i>\n\t\t */\n\t\tpublic static final int CURLE_FAILED_INIT = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:416</i>\n\t\t */\n\t\tpublic static final int CURLE_URL_MALFORMAT = 3;\n\t\t/**\n\t\t * 4 - [was obsoleted in August 2007 for<br>\n\t\t * 7.17.0, reused in April 2011 for 7.21.5]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:417</i>\n\t\t */\n\t\tpublic static final int CURLE_NOT_BUILT_IN = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:419</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_RESOLVE_PROXY = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:420</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_RESOLVE_HOST = 6;\n\t\t/**\n\t\t * 7<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:421</i>\n\t\t */\n\t\tpublic static final int CURLE_COULDNT_CONNECT = 7;\n\t\t/**\n\t\t * 8<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:422</i>\n\t\t */\n\t\tpublic static final int CURLE_WEIRD_SERVER_REPLY = 8;\n\t\t/**\n\t\t * 9 a service was denied by the server<br>\n\t\t * due to lack of access - when login fails<br>\n\t\t * this is not returned.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:423</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_ACCESS_DENIED = 9;\n\t\t/**\n\t\t * 10 - [was obsoleted in April 2006 for<br>\n\t\t * 7.15.4, reused in Dec 2011 for 7.24.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:426</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_ACCEPT_FAILED = 10;\n\t\t/**\n\t\t * 11<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:428</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_PASS_REPLY = 11;\n\t\t/**\n\t\t * 12 - timeout occurred accepting server<br>\n\t\t * [was obsoleted in August 2007 for 7.17.0,<br>\n\t\t * reused in Dec 2011 for 7.24.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:429</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_ACCEPT_TIMEOUT = 12;\n\t\t/**\n\t\t * 13<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:432</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_PASV_REPLY = 13;\n\t\t/**\n\t\t * 14<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:433</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_WEIRD_227_FORMAT = 14;\n\t\t/**\n\t\t * 15<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:434</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_CANT_GET_HOST = 15;\n\t\t/**\n\t\t * 16 - A problem in the http2 framing layer.<br>\n\t\t * [was obsoleted in August 2007 for 7.17.0,<br>\n\t\t * reused in July 2014 for 7.38.0]<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:435</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP2 = 16;\n\t\t/**\n\t\t * 17<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:438</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_SET_TYPE = 17;\n\t\t/**\n\t\t * 18<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:439</i>\n\t\t */\n\t\tpublic static final int CURLE_PARTIAL_FILE = 18;\n\t\t/**\n\t\t * 19<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:440</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_RETR_FILE = 19;\n\t\t/**\n\t\t * 20 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:441</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE20 = 20;\n\t\t/**\n\t\t * 21 - quote command failure<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:442</i>\n\t\t */\n\t\tpublic static final int CURLE_QUOTE_ERROR = 21;\n\t\t/**\n\t\t * 22<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:443</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP_RETURNED_ERROR = 22;\n\t\t/**\n\t\t * 23<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:444</i>\n\t\t */\n\t\tpublic static final int CURLE_WRITE_ERROR = 23;\n\t\t/**\n\t\t * 24 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:445</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE24 = 24;\n\t\t/**\n\t\t * 25 - failed upload \"command\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:446</i>\n\t\t */\n\t\tpublic static final int CURLE_UPLOAD_FAILED = 25;\n\t\t/**\n\t\t * 26 - couldn't open/read from file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:447</i>\n\t\t */\n\t\tpublic static final int CURLE_READ_ERROR = 26;\n\t\t/**\n\t\t * 27<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:448</i>\n\t\t */\n\t\tpublic static final int CURLE_OUT_OF_MEMORY = 27;\n\t\t/**\n\t\t * Note: CURLE_OUT_OF_MEMORY may sometimes indicate a conversion error<br>\n\t\t * instead of a memory allocation error if CURL_DOES_CONVERSIONS<br>\n\t\t * is defined<br>\n\t\t * 28 - the timeout time was reached<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:453</i>\n\t\t */\n\t\tpublic static final int CURLE_OPERATION_TIMEDOUT = 28;\n\t\t/**\n\t\t * 29 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:454</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE29 = 29;\n\t\t/**\n\t\t * 30 - FTP PORT operation failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:455</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_PORT_FAILED = 30;\n\t\t/**\n\t\t * 31 - the REST command failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:456</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_COULDNT_USE_REST = 31;\n\t\t/**\n\t\t * 32 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:457</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE32 = 32;\n\t\t/**\n\t\t * 33 - RANGE \"command\" didn't work<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:458</i>\n\t\t */\n\t\tpublic static final int CURLE_RANGE_ERROR = 33;\n\t\t/**\n\t\t * 34<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:459</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP_POST_ERROR = 34;\n\t\t/**\n\t\t * 35 - wrong when connecting with SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:460</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CONNECT_ERROR = 35;\n\t\t/**\n\t\t * 36 - couldn't resume download<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:461</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_DOWNLOAD_RESUME = 36;\n\t\t/**\n\t\t * 37<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:462</i>\n\t\t */\n\t\tpublic static final int CURLE_FILE_COULDNT_READ_FILE = 37;\n\t\t/**\n\t\t * 38<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:463</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_CANNOT_BIND = 38;\n\t\t/**\n\t\t * 39<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:464</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_SEARCH_FAILED = 39;\n\t\t/**\n\t\t * 40 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:465</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE40 = 40;\n\t\t/**\n\t\t * 41 - NOT USED starting with 7.53.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:466</i>\n\t\t */\n\t\tpublic static final int CURLE_FUNCTION_NOT_FOUND = 41;\n\t\t/**\n\t\t * 42<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:467</i>\n\t\t */\n\t\tpublic static final int CURLE_ABORTED_BY_CALLBACK = 42;\n\t\t/**\n\t\t * 43<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:468</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_FUNCTION_ARGUMENT = 43;\n\t\t/**\n\t\t * 44 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:469</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE44 = 44;\n\t\t/**\n\t\t * 45 - CURLOPT_INTERFACE failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:470</i>\n\t\t */\n\t\tpublic static final int CURLE_INTERFACE_FAILED = 45;\n\t\t/**\n\t\t * 46 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:471</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE46 = 46;\n\t\t/**\n\t\t * 47 - catch endless re-direct loops<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:472</i>\n\t\t */\n\t\tpublic static final int CURLE_TOO_MANY_REDIRECTS = 47;\n\t\t/**\n\t\t * 48 - User specified an unknown option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:473</i>\n\t\t */\n\t\tpublic static final int CURLE_UNKNOWN_OPTION = 48;\n\t\t/**\n\t\t * 49 - Malformed telnet option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:474</i>\n\t\t */\n\t\tpublic static final int CURLE_TELNET_OPTION_SYNTAX = 49;\n\t\t/**\n\t\t * 50 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:475</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE50 = 50;\n\t\t/**\n\t\t * 51 - NOT USED<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:476</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE51 = 51;\n\t\t/**\n\t\t * 52 - when this is a specific error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:477</i>\n\t\t */\n\t\tpublic static final int CURLE_GOT_NOTHING = 52;\n\t\t/**\n\t\t * 53 - SSL crypto engine not found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:478</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_NOTFOUND = 53;\n\t\t/**\n\t\t * 54 - can not set SSL crypto engine as<br>\n\t\t * default<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:479</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_SETFAILED = 54;\n\t\t/**\n\t\t * 55 - failed sending network data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:481</i>\n\t\t */\n\t\tpublic static final int CURLE_SEND_ERROR = 55;\n\t\t/**\n\t\t * 56 - failure in receiving network data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:482</i>\n\t\t */\n\t\tpublic static final int CURLE_RECV_ERROR = 56;\n\t\t/**\n\t\t * 57 - NOT IN USE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:483</i>\n\t\t */\n\t\tpublic static final int CURLE_OBSOLETE57 = 57;\n\t\t/**\n\t\t * 58 - problem with the local certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:484</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CERTPROBLEM = 58;\n\t\t/**\n\t\t * 59 - couldn't use specified cipher<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:485</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CIPHER = 59;\n\t\t/**\n\t\t * 60 - peer's certificate or fingerprint<br>\n\t\t * wasn't verified fine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:486</i>\n\t\t */\n\t\tpublic static final int CURLE_PEER_FAILED_VERIFICATION = 60;\n\t\t/**\n\t\t * 61 - Unrecognized/bad encoding<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:488</i>\n\t\t */\n\t\tpublic static final int CURLE_BAD_CONTENT_ENCODING = 61;\n\t\t/**\n\t\t * 62 - Invalid LDAP URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:489</i>\n\t\t */\n\t\tpublic static final int CURLE_LDAP_INVALID_URL = 62;\n\t\t/**\n\t\t * 63 - Maximum file size exceeded<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:490</i>\n\t\t */\n\t\tpublic static final int CURLE_FILESIZE_EXCEEDED = 63;\n\t\t/**\n\t\t * 64 - Requested FTP SSL level failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:491</i>\n\t\t */\n\t\tpublic static final int CURLE_USE_SSL_FAILED = 64;\n\t\t/**\n\t\t * 65 - Sending the data requires a rewind<br>\n\t\t * that failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:492</i>\n\t\t */\n\t\tpublic static final int CURLE_SEND_FAIL_REWIND = 65;\n\t\t/**\n\t\t * 66 - failed to initialise ENGINE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:494</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ENGINE_INITFAILED = 66;\n\t\t/**\n\t\t * 67 - user, password or similar was not<br>\n\t\t * accepted and we failed to login<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:495</i>\n\t\t */\n\t\tpublic static final int CURLE_LOGIN_DENIED = 67;\n\t\t/**\n\t\t * 68 - file not found on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:497</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_NOTFOUND = 68;\n\t\t/**\n\t\t * 69 - permission problem on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:498</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_PERM = 69;\n\t\t/**\n\t\t * 70 - out of disk space on server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:499</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_DISK_FULL = 70;\n\t\t/**\n\t\t * 71 - Illegal TFTP operation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:500</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_ILLEGAL = 71;\n\t\t/**\n\t\t * 72 - Unknown transfer ID<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:501</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_UNKNOWNID = 72;\n\t\t/**\n\t\t * 73 - File already exists<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:502</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_FILE_EXISTS = 73;\n\t\t/**\n\t\t * 74 - No such user<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:503</i>\n\t\t */\n\t\tpublic static final int CURLE_TFTP_NOSUCHUSER = 74;\n\t\t/**\n\t\t * 75 - conversion failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:504</i>\n\t\t */\n\t\tpublic static final int CURLE_CONV_FAILED = 75;\n\t\t/**\n\t\t * 76 - caller must register conversion<br>\n\t\t * callbacks using curl_easy_setopt options<br>\n\t\t * CURLOPT_CONV_FROM_NETWORK_FUNCTION,<br>\n\t\t * CURLOPT_CONV_TO_NETWORK_FUNCTION, and<br>\n\t\t * CURLOPT_CONV_FROM_UTF8_FUNCTION<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:505</i>\n\t\t */\n\t\tpublic static final int CURLE_CONV_REQD = 76;\n\t\t/**\n\t\t * 77 - could not load CACERT file, missing<br>\n\t\t * or wrong format<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:510</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CACERT_BADFILE = 77;\n\t\t/**\n\t\t * 78 - remote file not found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:512</i>\n\t\t */\n\t\tpublic static final int CURLE_REMOTE_FILE_NOT_FOUND = 78;\n\t\t/**\n\t\t * 79 - error from the SSH layer, somewhat<br>\n\t\t * generic so the error message will be of<br>\n\t\t * interest when this has happened<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:513</i>\n\t\t */\n\t\tpublic static final int CURLE_SSH = 79;\n\t\t/**\n\t\t * 80 - Failed to shut down the SSL<br>\n\t\t * connection<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:517</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_SHUTDOWN_FAILED = 80;\n\t\t/**\n\t\t * 81 - socket is not ready for send/recv,<br>\n\t\t * wait till it's ready and try again (Added<br>\n\t\t * in 7.18.2)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:519</i>\n\t\t */\n\t\tpublic static final int CURLE_AGAIN = 81;\n\t\t/**\n\t\t * 82 - could not load CRL file, missing or<br>\n\t\t * wrong format (Added in 7.19.0)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:522</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_CRL_BADFILE = 82;\n\t\t/**\n\t\t * 83 - Issuer check failed. (Added in<br>\n\t\t * 7.19.0)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:524</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_ISSUER_ERROR = 83;\n\t\t/**\n\t\t * 84 - a PRET command failed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:526</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_PRET_FAILED = 84;\n\t\t/**\n\t\t * 85 - mismatch of RTSP CSeq numbers<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:527</i>\n\t\t */\n\t\tpublic static final int CURLE_RTSP_CSEQ_ERROR = 85;\n\t\t/**\n\t\t * 86 - mismatch of RTSP Session Ids<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:528</i>\n\t\t */\n\t\tpublic static final int CURLE_RTSP_SESSION_ERROR = 86;\n\t\t/**\n\t\t * 87 - unable to parse FTP file list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:529</i>\n\t\t */\n\t\tpublic static final int CURLE_FTP_BAD_FILE_LIST = 87;\n\t\t/**\n\t\t * 88 - chunk callback reported error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:530</i>\n\t\t */\n\t\tpublic static final int CURLE_CHUNK_FAILED = 88;\n\t\t/**\n\t\t * 89 - No connection available, the<br>\n\t\t * session will be queued<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:531</i>\n\t\t */\n\t\tpublic static final int CURLE_NO_CONNECTION_AVAILABLE = 89;\n\t\t/**\n\t\t * 90 - specified pinned public key did not<br>\n\t\t * match<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:533</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_PINNEDPUBKEYNOTMATCH = 90;\n\t\t/**\n\t\t * 91 - invalid certificate status<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:535</i>\n\t\t */\n\t\tpublic static final int CURLE_SSL_INVALIDCERTSTATUS = 91;\n\t\t/**\n\t\t * 92 - stream error in HTTP/2 framing layer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:536</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP2_STREAM = 92;\n\t\t/**\n\t\t * 93 - an api function was called from<br>\n\t\t * inside a callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:538</i>\n\t\t */\n\t\tpublic static final int CURLE_RECURSIVE_API_CALL = 93;\n\t\t/**\n\t\t * 94 - an authentication function returned an<br>\n\t\t * error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:540</i>\n\t\t */\n\t\tpublic static final int CURLE_AUTH_ERROR = 94;\n\t\t/**\n\t\t * 95 - An HTTP/3 layer problem<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:542</i>\n\t\t */\n\t\tpublic static final int CURLE_HTTP3 = 95;\n\t\t/**\n\t\t * 96 - QUIC connection error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:543</i>\n\t\t */\n\t\tpublic static final int CURLE_QUIC_CONNECT_ERROR = 96;\n\t\t/**\n\t\t * never use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:544</i>\n\t\t */\n\t\tpublic static final int CURL_LAST = 97;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_proxytype {\n\t\t/**\n\t\t * added in 7.10, new in 7.19.4 default is to use<br>\n\t\t * CONNECT HTTP/1.1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:633</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTP = 0;\n\t\t/**\n\t\t * added in 7.19.4, force to use CONNECT<br>\n\t\t * HTTP/1.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:635</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTP_1_0 = 1;\n\t\t/**\n\t\t * added in 7.52.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:637</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_HTTPS = 2;\n\t\t/**\n\t\t * support added in 7.15.2, enum existed already<br>\n\t\t * in 7.10<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:638</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS4 = 4;\n\t\t/**\n\t\t * added in 7.10<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:640</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS5 = 5;\n\t\t/**\n\t\t * added in 7.18.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:641</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS4A = 6;\n\t\t/**\n\t\t * Use the SOCKS5 protocol but pass along the<br>\n\t\t * host name rather than the IP address. added<br>\n\t\t * in 7.18.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:642</i>\n\t\t */\n\t\tpublic static final int CURLPROXY_SOCKS5_HOSTNAME = 7;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h:697</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_khtype {\n\t\t/** <i>native declaration : include\\curl\\curl.h:698</i> */\n\t\tpublic static final int CURLKHTYPE_UNKNOWN = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:699</i> */\n\t\tpublic static final int CURLKHTYPE_RSA1 = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:700</i> */\n\t\tpublic static final int CURLKHTYPE_RSA = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:701</i> */\n\t\tpublic static final int CURLKHTYPE_DSS = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:702</i> */\n\t\tpublic static final int CURLKHTYPE_ECDSA = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:703</i> */\n\t\tpublic static final int CURLKHTYPE_ED25519 = 5;\n\t};\n\t/**\n\t * this is the set of return values expected from the curl_sshkeycallback<br>\n\t * callback<br>\n\t * <i>native declaration : include\\curl\\curl.h:715</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_khstat {\n\t\t/** <i>native declaration : include\\curl\\curl.h:716</i> */\n\t\tpublic static final int CURLKHSTAT_FINE_ADD_TO_FILE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:717</i> */\n\t\tpublic static final int CURLKHSTAT_FINE = 1;\n\t\t/**\n\t\t * reject the connection, return an error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:718</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_REJECT = 2;\n\t\t/**\n\t\t * do not accept it, but we can't answer right now so<br>\n\t\t * this causes a CURLE_DEFER error but otherwise the<br>\n\t\t * connection will be left intact etc<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:719</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_DEFER = 3;\n\t\t/**\n\t\t * not for use, only a marker for last-in-list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:722</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_LAST = 4;\n\t};\n\t/**\n\t * this is the set of status codes pass in to the callback<br>\n\t * <i>native declaration : include\\curl\\curl.h:726</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_khmatch {\n\t\t/**\n\t\t * match<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:727</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_OK = 0;\n\t\t/**\n\t\t * host found, key mismatch!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:728</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_MISMATCH = 1;\n\t\t/**\n\t\t * no matching host/key found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:729</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_MISSING = 2;\n\t\t/**\n\t\t * not for use, only a marker for last-in-list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:730</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_usessl {\n\t\t/**\n\t\t * do not attempt to use SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:742</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_NONE = 0;\n\t\t/**\n\t\t * try using SSL, proceed anyway otherwise<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:743</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_TRY = 1;\n\t\t/**\n\t\t * SSL for the control connection or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:744</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_CONTROL = 2;\n\t\t/**\n\t\t * SSL for all communication or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:745</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_ALL = 3;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:746</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_LAST = 4;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_ftpccc {\n\t\t/**\n\t\t * do not send CCC<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:794</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_NONE = 0;\n\t\t/**\n\t\t * Let the server initiate the shutdown<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:795</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_PASSIVE = 1;\n\t\t/**\n\t\t * Initiate the shutdown<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:796</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_ACTIVE = 2;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:797</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_ftpauth {\n\t\t/**\n\t\t * let libcurl decide<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:802</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_DEFAULT = 0;\n\t\t/**\n\t\t * use \"AUTH SSL\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:803</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_SSL = 1;\n\t\t/**\n\t\t * use \"AUTH TLS\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:804</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_TLS = 2;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:805</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_ftpcreatedir {\n\t\t/**\n\t\t * do NOT create missing dirs!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:810</i>\n\t\t */\n\t\tpublic static final int CURLFTP_CREATE_DIR_NONE = 0;\n\t\t/**\n\t\t * (FTP/SFTP) if CWD fails, try MKD and then CWD<br>\n\t\t * again if MKD succeeded, for SFTP this does<br>\n\t\t * similar magic<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:811</i>\n\t\t */\n\t\tpublic static final int CURLFTP_CREATE_DIR = 1;\n\t\t/**\n\t\t * (FTP only) if CWD fails, try MKD and then CWD<br>\n\t\t * again even if MKD failed!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:814</i>\n\t\t */\n\t\tpublic static final int CURLFTP_CREATE_DIR_RETRY = 2;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:816</i>\n\t\t */\n\t\tpublic static final int CURLFTP_CREATE_DIR_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_ftpmethod {\n\t\t/**\n\t\t * let libcurl pick<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:821</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_DEFAULT = 0;\n\t\t/**\n\t\t * single CWD operation for each path part<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:822</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_MULTICWD = 1;\n\t\t/**\n\t\t * no CWD at all<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:823</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_NOCWD = 2;\n\t\t/**\n\t\t * one CWD to full dir, then work on file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:824</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_SINGLECWD = 3;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:825</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_LAST = 4;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLoption {\n\t\t/**\n\t\t * This is the FILE * or void * the regular output should be written to.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:895</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WRITEDATA = 10000 + 1;\n\t\t/**\n\t\t * The full URL to get/put<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:898</i>\n\t\t */\n\t\tpublic static final int CURLOPT_URL = 10000 + 2;\n\t\t/**\n\t\t * Port number to connect to, if other than default.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:901</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PORT = 0 + 3;\n\t\t/**\n\t\t * Name of proxy to use.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:904</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY = 10000 + 4;\n\t\t/**\n\t\t * \"user:password;options\" to use when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:907</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERPWD = 10000 + 5;\n\t\t/**\n\t\t * \"user:password\" to use with proxy.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:910</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYUSERPWD = 10000 + 6;\n\t\t/**\n\t\t * Range to get, specified as an ASCII string.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:913</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RANGE = 10000 + 7;\n\t\t/**\n\t\t * Specified file stream to upload from (use as input):<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:918</i>\n\t\t */\n\t\tpublic static final int CURLOPT_READDATA = 10000 + 9;\n\t\t/**\n\t\t * Buffer to receive error messages in, must be at least CURL_ERROR_SIZE<br>\n\t\t * bytes big.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:922</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ERRORBUFFER = 10000 + 10;\n\t\t/**\n\t\t * Function that will be called to store the output (instead of fwrite). The<br>\n\t\t * parameters will use fwrite() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:926</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WRITEFUNCTION = 20000 + 11;\n\t\t/**\n\t\t * Function that will be called to read the input (instead of fread). The<br>\n\t\t * parameters will use fread() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:930</i>\n\t\t */\n\t\tpublic static final int CURLOPT_READFUNCTION = 20000 + 12;\n\t\t/**\n\t\t * Time-out the read operation after this amount of seconds<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:933</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEOUT = 0 + 13;\n\t\t/**\n\t\t * If the CURLOPT_INFILE is used, this can be used to inform libcurl about<br>\n\t\t * how large the file being sent really is. That allows better error<br>\n\t\t * checking and better verifies that the upload was successful. -1 means<br>\n\t\t * unknown size.<br>\n\t\t * * For large file support, there is also a _LARGE version of the key<br>\n\t\t * which takes an off_t type, allowing platforms with larger off_t<br>\n\t\t * sizes to handle larger files. See below for INFILESIZE_LARGE.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:944</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INFILESIZE = 0 + 14;\n\t\t/**\n\t\t * POST static input fields.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:947</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDS = 10000 + 15;\n\t\t/**\n\t\t * Set the referrer page (needed by some CGIs)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:950</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REFERER = 10000 + 16;\n\t\t/**\n\t\t * Set the FTP PORT string (interface name, named or numerical IP address)<br>\n\t\t * Use i.e '-' to use default address.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:954</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTPPORT = 10000 + 17;\n\t\t/**\n\t\t * Set the User-Agent string (examined by some CGIs)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:957</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERAGENT = 10000 + 18;\n\t\t/**\n\t\t * Set the \"low speed limit\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:966</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOW_SPEED_LIMIT = 0 + 19;\n\t\t/**\n\t\t * Set the \"low speed time\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:969</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOW_SPEED_TIME = 0 + 20;\n\t\t/**\n\t\t * Set the continuation offset.<br>\n\t\t * * Note there is also a _LARGE version of this key which uses<br>\n\t\t * off_t types, allowing for large file offsets on platforms which<br>\n\t\t * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:977</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESUME_FROM = 0 + 21;\n\t\t/**\n\t\t * Set cookie in request:<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:980</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIE = 10000 + 22;\n\t\t/**\n\t\t * This points to a linked list of headers, struct curl_slist kind. This<br>\n\t\t * list is also used for RTSP (in spite of its name)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:984</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPHEADER = 10000 + 23;\n\t\t/**\n\t\t * This points to a linked list of post entries, struct curl_httppost<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:987</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPPOST = 10000 + 24;\n\t\t/**\n\t\t * name of the file keeping your private SSL-certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:990</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLCERT = 10000 + 25;\n\t\t/**\n\t\t * password for the SSL or SSH private key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:993</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KEYPASSWD = 10000 + 26;\n\t\t/**\n\t\t * send TYPE parameter?<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:996</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CRLF = 0 + 27;\n\t\t/**\n\t\t * send linked-list of QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:999</i>\n\t\t */\n\t\tpublic static final int CURLOPT_QUOTE = 10000 + 28;\n\t\t/**\n\t\t * send FILE * or void * to store headers to, if you use a callback it<br>\n\t\t * is simply passed to the callback unmodified<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1003</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADERDATA = 10000 + 29;\n\t\t/**\n\t\t * point to a file to read the initial cookies from, also enables<br>\n\t\t * \"cookie awareness\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1007</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIEFILE = 10000 + 31;\n\t\t/**\n\t\t * What version to specifically try to use.<br>\n\t\t * See CURL_SSLVERSION defines below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1011</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLVERSION = 0 + 32;\n\t\t/**\n\t\t * What kind of HTTP time condition to use, see defines<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1014</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMECONDITION = 0 + 33;\n\t\t/**\n\t\t * Time to use with the above condition. Specified in number of seconds<br>\n\t\t * since 1 Jan 1970<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1018</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEVALUE = 0 + 34;\n\t\t/**\n\t\t * Custom request, for customizing the get command like<br>\n\t\t * HTTP: DELETE, TRACE and others<br>\n\t\t * FTP: to use a different list command<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1026</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CUSTOMREQUEST = 10000 + 36;\n\t\t/**\n\t\t * FILE handle to use instead of stderr<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1029</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STDERR = 10000 + 37;\n\t\t/**\n\t\t * send linked-list of post-transfer QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1034</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTQUOTE = 10000 + 39;\n\t\t/**\n\t\t * OBSOLETE, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1037</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OBSOLETE40 = 10000 + 40;\n\t\t/**\n\t\t * talk a lot<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1040</i>\n\t\t */\n\t\tpublic static final int CURLOPT_VERBOSE = 0 + 41;\n\t\t/**\n\t\t * throw the header out too<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1043</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADER = 0 + 42;\n\t\t/**\n\t\t * shut off the progress meter<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1046</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOPROGRESS = 0 + 43;\n\t\t/**\n\t\t * use HEAD to get http document<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1049</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOBODY = 0 + 44;\n\t\t/**\n\t\t * no output on http error codes >= 400<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1052</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FAILONERROR = 0 + 45;\n\t\t/**\n\t\t * this is an upload<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1055</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPLOAD = 0 + 46;\n\t\t/**\n\t\t * HTTP POST method<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1058</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POST = 0 + 47;\n\t\t/**\n\t\t * bare names when listing directories<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1061</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DIRLISTONLY = 0 + 48;\n\t\t/**\n\t\t * Append instead of overwrite on upload!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1064</i>\n\t\t */\n\t\tpublic static final int CURLOPT_APPEND = 0 + 50;\n\t\t/**\n\t\t * Specify whether to read the user+password from the .netrc or the URL.<br>\n\t\t * This must be one of the CURL_NETRC_* enums below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1068</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NETRC = 0 + 51;\n\t\t/**\n\t\t * use Location: Luke!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1071</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FOLLOWLOCATION = 0 + 52;\n\t\t/**\n\t\t * transfer data in text/ASCII format<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1074</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRANSFERTEXT = 0 + 53;\n\t\t/**\n\t\t * HTTP PUT<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1077</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PUT = 0 + 54;\n\t\t/**\n\t\t * DEPRECATED<br>\n\t\t * Function that will be called instead of the internal progress display<br>\n\t\t * function. This function should be defined as the curl_progress_callback<br>\n\t\t * prototype defines.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1085</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROGRESSFUNCTION = 20000 + 56;\n\t\t/**\n\t\t * Data passed to the CURLOPT_PROGRESSFUNCTION and CURLOPT_XFERINFOFUNCTION<br>\n\t\t * callbacks<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1089</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROGRESSDATA = 10000 + 57;\n\t\t/**\n\t\t * We want the referrer field set automatically when following locations<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1093</i>\n\t\t */\n\t\tpublic static final int CURLOPT_AUTOREFERER = 0 + 58;\n\t\t/**\n\t\t * Port of the proxy, can be set in the proxy string as well with:<br>\n\t\t * \"[host]:[port]\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1097</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYPORT = 0 + 59;\n\t\t/**\n\t\t * size of the POST input data, if strlen() is not good to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1100</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDSIZE = 0 + 60;\n\t\t/**\n\t\t * tunnel non-http operations through a HTTP proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1103</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPPROXYTUNNEL = 0 + 61;\n\t\t/**\n\t\t * Set the interface string to use as outgoing network interface<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1106</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERFACE = 10000 + 62;\n\t\t/**\n\t\t * Set the krb4/5 security level, this also enables krb4/5 awareness. This<br>\n\t\t * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string<br>\n\t\t * is set but doesn't match one of these, 'private' will be used.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1111</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KRBLEVEL = 10000 + 63;\n\t\t/**\n\t\t * Set if we should verify the peer in ssl handshake, set 1 to verify.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1114</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYPEER = 0 + 64;\n\t\t/**\n\t\t * The CApath or CAfile used to validate the peer certificate<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1118</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CAINFO = 10000 + 65;\n\t\t/**\n\t\t * Maximum number of http redirects to follow<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1124</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXREDIRS = 0 + 68;\n\t\t/**\n\t\t * Pass a long set to 1 to get the date of the requested document (if<br>\n\t\t * possible)! Pass a zero to shut it off.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1128</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FILETIME = 0 + 69;\n\t\t/**\n\t\t * This points to a linked list of telnet options<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1131</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TELNETOPTIONS = 10000 + 70;\n\t\t/**\n\t\t * Max amount of cached alive connections<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1134</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXCONNECTS = 0 + 71;\n\t\t/**\n\t\t * OBSOLETE, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1137</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OBSOLETE72 = 0 + 72;\n\t\t/**\n\t\t * Set to explicitly use a new connection for the upcoming transfer.<br>\n\t\t * Do not use this unless you're absolutely sure of this, as it makes the<br>\n\t\t * operation slower and is less friendly for the network.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1144</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FRESH_CONNECT = 0 + 74;\n\t\t/**\n\t\t * Set to explicitly forbid the upcoming transfer's connection to be re-used<br>\n\t\t * when done. Do not use this unless you're absolutely sure of this, as it<br>\n\t\t * makes the operation slower and is less friendly for the network.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1149</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FORBID_REUSE = 0 + 75;\n\t\t/**\n\t\t * Set to a file name that contains random data for libcurl to use to<br>\n\t\t * seed the random engine when doing SSL connects.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1153</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RANDOM_FILE = 10000 + 76;\n\t\t/**\n\t\t * Set to the Entropy Gathering Daemon socket pathname<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1156</i>\n\t\t */\n\t\tpublic static final int CURLOPT_EGDSOCKET = 10000 + 77;\n\t\t/**\n\t\t * Time-out connect operations after this amount of seconds, if connects are<br>\n\t\t * OK within this time, then fine... This only aborts the connect phase.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1160</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECTTIMEOUT = 0 + 78;\n\t\t/**\n\t\t * Function that will be called to store headers (instead of fwrite). The<br>\n\t\t * parameters will use fwrite() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1164</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADERFUNCTION = 20000 + 79;\n\t\t/**\n\t\t * Set this to force the HTTP request to get back to GET. Only really usable<br>\n\t\t * if POST, PUT or a custom request have been used first.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1169</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPGET = 0 + 80;\n\t\t/**\n\t\t * Set if we should verify the Common name from the peer certificate in ssl<br>\n\t\t * handshake, set 1 to check existence, 2 to ensure that it matches the<br>\n\t\t * provided hostname.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1174</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYHOST = 0 + 81;\n\t\t/**\n\t\t * Specify which file name to write all known cookies in after completed<br>\n\t\t * operation. Set file name to \"-\" (dash) to make it go to stdout.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1178</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIEJAR = 10000 + 82;\n\t\t/**\n\t\t * Specify which SSL ciphers to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1181</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CIPHER_LIST = 10000 + 83;\n\t\t/**\n\t\t * Specify which HTTP version to use! This must be set to one of the<br>\n\t\t * CURL_HTTP_VERSION* enums set below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1185</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP_VERSION = 0 + 84;\n\t\t/**\n\t\t * Specifically switch on or off the FTP engine's use of the EPSV command. By<br>\n\t\t * default, that one will always be attempted before the more traditional<br>\n\t\t * PASV command.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1190</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_EPSV = 0 + 85;\n\t\t/**\n\t\t * type of the file keeping your SSL-certificate (\"DER\", \"PEM\", \"ENG\")<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1193</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLCERTTYPE = 10000 + 86;\n\t\t/**\n\t\t * name of the file keeping your private SSL-key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1196</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLKEY = 10000 + 87;\n\t\t/**\n\t\t * type of the file keeping your private SSL-key (\"DER\", \"PEM\", \"ENG\")<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1199</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLKEYTYPE = 10000 + 88;\n\t\t/**\n\t\t * crypto engine for the SSL-sub system<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1202</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLENGINE = 10000 + 89;\n\t\t/**\n\t\t * set the crypto engine for the SSL-sub system as default<br>\n\t\t * the param has no meaning...<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1207</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLENGINE_DEFAULT = 0 + 90;\n\t\t/**\n\t\t * DEPRECATED, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1211</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_USE_GLOBAL_CACHE = 0 + 91;\n\t\t/**\n\t\t * DNS cache timeout<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1214</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_CACHE_TIMEOUT = 0 + 92;\n\t\t/**\n\t\t * send linked-list of pre-transfer QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1217</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PREQUOTE = 10000 + 93;\n\t\t/**\n\t\t * set the debug function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1220</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEBUGFUNCTION = 20000 + 94;\n\t\t/**\n\t\t * set the data for the debug function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1223</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEBUGDATA = 10000 + 95;\n\t\t/**\n\t\t * mark this as start of a cookie session<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1226</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIESESSION = 0 + 96;\n\t\t/**\n\t\t * The CApath directory used to validate the peer certificate<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1230</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CAPATH = 10000 + 97;\n\t\t/**\n\t\t * Instruct libcurl to use a smaller receive buffer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1233</i>\n\t\t */\n\t\tpublic static final int CURLOPT_BUFFERSIZE = 0 + 98;\n\t\t/**\n\t\t * Instruct libcurl to not use any signal/alarm handlers, even when using<br>\n\t\t * timeouts. This option is useful for multi-threaded applications.<br>\n\t\t * See libcurl-the-guide for more background information.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1238</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOSIGNAL = 0 + 99;\n\t\t/**\n\t\t * Provide a CURLShare for mutexing non-ts data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1241</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SHARE = 10000 + 100;\n\t\t/**\n\t\t * indicates type of proxy. accepted values are CURLPROXY_HTTP (default),<br>\n\t\t * CURLPROXY_HTTPS, CURLPROXY_SOCKS4, CURLPROXY_SOCKS4A and<br>\n\t\t * CURLPROXY_SOCKS5.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1246</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYTYPE = 0 + 101;\n\t\t/**\n\t\t * Set the Accept-Encoding string. Use this to tell a server you would like<br>\n\t\t * the response to be compressed. Before 7.21.6, this was known as<br>\n\t\t * CURLOPT_ENCODING<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1251</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ACCEPT_ENCODING = 10000 + 102;\n\t\t/**\n\t\t * Set pointer to private data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1254</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PRIVATE = 10000 + 103;\n\t\t/**\n\t\t * Set aliases for HTTP 200 in the HTTP Response header<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1257</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP200ALIASES = 10000 + 104;\n\t\t/**\n\t\t * Continue to send authentication (user+password) when following locations,<br>\n\t\t * even when hostname changed. This can potentially send off the name<br>\n\t\t * and password to whatever host the server decides.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1262</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UNRESTRICTED_AUTH = 0 + 105;\n\t\t/**\n\t\t * Specifically switch on or off the FTP engine's use of the EPRT command (<br>\n\t\t * it also disables the LPRT attempt). By default, those ones will always be<br>\n\t\t * attempted before the good old traditional PORT command.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1267</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_EPRT = 0 + 106;\n\t\t/**\n\t\t * Set this to a bitmask value to enable the particular authentications<br>\n\t\t * methods you like. Use this in combination with CURLOPT_USERPWD.<br>\n\t\t * Note that setting multiple bits may cause extra network round-trips.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1272</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPAUTH = 0 + 107;\n\t\t/**\n\t\t * Set the ssl context callback function, currently only for OpenSSL or<br>\n\t\t * WolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument.<br>\n\t\t * The function must match the curl_ssl_ctx_callback prototype.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1277</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CTX_FUNCTION = 20000 + 108;\n\t\t/**\n\t\t * Set the userdata for the ssl context callback function's third<br>\n\t\t * argument<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1281</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CTX_DATA = 10000 + 109;\n\t\t/**\n\t\t * FTP Option that causes missing dirs to be created on the remote server.<br>\n\t\t * In 7.19.4 we introduced the convenience enums for this option using the<br>\n\t\t * CURLFTP_CREATE_DIR prefix.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1287</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_CREATE_MISSING_DIRS = 0 + 110;\n\t\t/**\n\t\t * Set this to a bitmask value to enable the particular authentications<br>\n\t\t * methods you like. Use this in combination with CURLOPT_PROXYUSERPWD.<br>\n\t\t * Note that setting multiple bits may cause extra network round-trips.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1292</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYAUTH = 0 + 111;\n\t\t/**\n\t\t * FTP option that changes the timeout, in seconds, associated with<br>\n\t\t * getting a response. This is different from transfer timeout time and<br>\n\t\t * essentially places a demand on the FTP server to acknowledge commands<br>\n\t\t * in a timely manner.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1298</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_RESPONSE_TIMEOUT = 0 + 112;\n\t\t/**\n\t\t * Set this option to one of the CURL_IPRESOLVE_* defines (see below) to<br>\n\t\t * tell libcurl to resolve names to those IP versions only. This only has<br>\n\t\t * affect on systems with support for more than one, i.e IPv4 _and_ IPv6.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1304</i>\n\t\t */\n\t\tpublic static final int CURLOPT_IPRESOLVE = 0 + 113;\n\t\t/**\n\t\t * Set this option to limit the size of a file that will be downloaded from<br>\n\t\t * an HTTP or FTP server.<br>\n\t\t * Note there is also _LARGE version which adds large file support for<br>\n\t\t * platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1311</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXFILESIZE = 0 + 114;\n\t\t/**\n\t\t * See the comment for INFILESIZE above, but in short, specifies<br>\n\t\t * the size of the file being uploaded. -1 means unknown.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1316</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INFILESIZE_LARGE = 30000 + 115;\n\t\t/**\n\t\t * Sets the continuation offset. There is also a CURLOPTTYPE_LONG version<br>\n\t\t * of this; look above for RESUME_FROM.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1321</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESUME_FROM_LARGE = 30000 + 116;\n\t\t/**\n\t\t * Sets the maximum size of data that will be downloaded from<br>\n\t\t * an HTTP or FTP server. See MAXFILESIZE above for the LONG version.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1326</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXFILESIZE_LARGE = 30000 + 117;\n\t\t/**\n\t\t * Set this option to the file name of your .netrc file you want libcurl<br>\n\t\t * to parse (using the CURLOPT_NETRC option). If not set, libcurl will do<br>\n\t\t * a poor attempt to find the user's home directory and check for a .netrc<br>\n\t\t * file in there.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1332</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NETRC_FILE = 10000 + 118;\n\t\t/**\n\t\t * Enable SSL/TLS for FTP, pick one of:<br>\n\t\t * CURLUSESSL_TRY - try using SSL, proceed anyway otherwise<br>\n\t\t * CURLUSESSL_CONTROL - SSL for the control connection or fail<br>\n\t\t * CURLUSESSL_ALL - SSL for all communication or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1339</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USE_SSL = 0 + 119;\n\t\t/**\n\t\t * The _LARGE version of the standard POSTFIELDSIZE option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1342</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDSIZE_LARGE = 30000 + 120;\n\t\t/**\n\t\t * Enable/disable the TCP Nagle algorithm<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1345</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_NODELAY = 0 + 121;\n\t\t/**\n\t\t * When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option<br>\n\t\t * can be used to change libcurl's default action which is to first try<br>\n\t\t * \"AUTH SSL\" and then \"AUTH TLS\" in this order, and proceed when a OK<br>\n\t\t * response has been received.<br>\n\t\t * Available parameters are:<br>\n\t\t * CURLFTPAUTH_DEFAULT - let libcurl decide<br>\n\t\t * CURLFTPAUTH_SSL - try \"AUTH SSL\" first, then TLS<br>\n\t\t * CURLFTPAUTH_TLS - try \"AUTH TLS\" first, then SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1365</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTPSSLAUTH = 0 + 129;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1367</i> */\n\t\tpublic static final int CURLOPT_IOCTLFUNCTION = 20000 + 130;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1368</i> */\n\t\tpublic static final int CURLOPT_IOCTLDATA = 10000 + 131;\n\t\t/**\n\t\t * zero terminated string for pass on to the FTP server when asked for<br>\n\t\t * \"account\" info<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1375</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_ACCOUNT = 10000 + 134;\n\t\t/**\n\t\t * feed cookie into cookie engine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1378</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIELIST = 10000 + 135;\n\t\t/**\n\t\t * ignore Content-Length<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1381</i>\n\t\t */\n\t\tpublic static final int CURLOPT_IGNORE_CONTENT_LENGTH = 0 + 136;\n\t\t/**\n\t\t * Set to non-zero to skip the IP address received in a 227 PASV FTP server<br>\n\t\t * response. Typically used for FTP-SSL purposes but is not restricted to<br>\n\t\t * that. libcurl will then instead use the same IP address it used for the<br>\n\t\t * control connection.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1387</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_SKIP_PASV_IP = 0 + 137;\n\t\t/**\n\t\t * Select \"file method\" to use when doing FTP, see the curl_ftpmethod<br>\n\t\t * above.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1391</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_FILEMETHOD = 0 + 138;\n\t\t/**\n\t\t * Local port number to bind the socket to<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1394</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOCALPORT = 0 + 139;\n\t\t/**\n\t\t * Number of ports to try, including the first one set with LOCALPORT.<br>\n\t\t * Thus, setting it to 1 will make no additional attempts but the first.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1399</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOCALPORTRANGE = 0 + 140;\n\t\t/**\n\t\t * no transfer, set up connection and let application use the socket by<br>\n\t\t * extracting it with CURLINFO_LASTSOCKET<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1403</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECT_ONLY = 0 + 141;\n\t\t/**\n\t\t * Function that will be called to convert from the<br>\n\t\t * network encoding (instead of using the iconv calls in libcurl)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1407</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_FROM_NETWORK_FUNCTION = 20000 + 142;\n\t\t/**\n\t\t * Function that will be called to convert to the<br>\n\t\t * network encoding (instead of using the iconv calls in libcurl)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1411</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_TO_NETWORK_FUNCTION = 20000 + 143;\n\t\t/**\n\t\t * Function that will be called to convert from UTF8<br>\n\t\t * (instead of using the iconv calls in libcurl)<br>\n\t\t * Note that this is used only for SSL certificate processing<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1416</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_FROM_UTF8_FUNCTION = 20000 + 144;\n\t\t/**\n\t\t * limit-rate: maximum number of bytes per second to send or receive<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1420</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAX_SEND_SPEED_LARGE = 30000 + 145;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1421</i> */\n\t\tpublic static final int CURLOPT_MAX_RECV_SPEED_LARGE = 30000 + 146;\n\t\t/**\n\t\t * Pointer to command string to send if USER/PASS fails.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1424</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_ALTERNATIVE_TO_USER = 10000 + 147;\n\t\t/**\n\t\t * callback function for setting socket options<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1427</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKOPTFUNCTION = 20000 + 148;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1428</i> */\n\t\tpublic static final int CURLOPT_SOCKOPTDATA = 10000 + 149;\n\t\t/**\n\t\t * set to 0 to disable session ID re-use for this transfer, default is<br>\n\t\t * enabled (== 1)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1432</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_SESSIONID_CACHE = 0 + 150;\n\t\t/**\n\t\t * allowed SSH authentication methods<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1435</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_AUTH_TYPES = 0 + 151;\n\t\t/**\n\t\t * Used by scp/sftp to do public/private key authentication<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1438</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_PUBLIC_KEYFILE = 10000 + 152;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1439</i> */\n\t\tpublic static final int CURLOPT_SSH_PRIVATE_KEYFILE = 10000 + 153;\n\t\t/**\n\t\t * Send CCC (Clear Command Channel) after authentication<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1442</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_SSL_CCC = 0 + 154;\n\t\t/**\n\t\t * Same as TIMEOUT and CONNECTTIMEOUT, but with ms resolution<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1445</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEOUT_MS = 0 + 155;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1446</i> */\n\t\tpublic static final int CURLOPT_CONNECTTIMEOUT_MS = 0 + 156;\n\t\t/**\n\t\t * set to zero to disable the libcurl's decoding and thus pass the raw body<br>\n\t\t * data to the application even when it is encoded/compressed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1450</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP_TRANSFER_DECODING = 0 + 157;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1451</i> */\n\t\tpublic static final int CURLOPT_HTTP_CONTENT_DECODING = 0 + 158;\n\t\t/**\n\t\t * Permission used when creating new files and directories on the remote<br>\n\t\t * server for protocols that support it, SFTP/SCP/FILE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1455</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NEW_FILE_PERMS = 0 + 159;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1456</i> */\n\t\tpublic static final int CURLOPT_NEW_DIRECTORY_PERMS = 0 + 160;\n\t\t/**\n\t\t * Set the behaviour of POST when redirecting. Values must be set to one<br>\n\t\t * of CURL_REDIR* defines below. This used to be called CURLOPT_POST301<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1460</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTREDIR = 0 + 161;\n\t\t/**\n\t\t * used by scp/sftp to verify the host's public key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1463</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 = 10000 + 162;\n\t\t/**\n\t\t * Callback function for opening socket (instead of socket(2)). Optionally,<br>\n\t\t * callback is able change the address or refuse to connect returning<br>\n\t\t * CURL_SOCKET_BAD. The callback should have type<br>\n\t\t * curl_opensocket_callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1469</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OPENSOCKETFUNCTION = 20000 + 163;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1470</i> */\n\t\tpublic static final int CURLOPT_OPENSOCKETDATA = 10000 + 164;\n\t\t/**\n\t\t * POST volatile input fields.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1473</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COPYPOSTFIELDS = 10000 + 165;\n\t\t/**\n\t\t * set transfer mode (;type=<a|i>) when doing FTP via an HTTP proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1476</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TRANSFER_MODE = 0 + 166;\n\t\t/**\n\t\t * Callback function for seeking in the input stream<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1479</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SEEKFUNCTION = 20000 + 167;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1480</i> */\n\t\tpublic static final int CURLOPT_SEEKDATA = 10000 + 168;\n\t\t/**\n\t\t * CRL file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1483</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CRLFILE = 10000 + 169;\n\t\t/**\n\t\t * Issuer certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1486</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ISSUERCERT = 10000 + 170;\n\t\t/**\n\t\t * (IPv6) Address scope<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1489</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ADDRESS_SCOPE = 0 + 171;\n\t\t/**\n\t\t * Collect certificate chain info and allow it to get retrievable with<br>\n\t\t * CURLINFO_CERTINFO after the transfer is complete.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1493</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CERTINFO = 0 + 172;\n\t\t/**\n\t\t * \"name\" and \"pwd\" to use when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1496</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERNAME = 10000 + 173;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1497</i> */\n\t\tpublic static final int CURLOPT_PASSWORD = 10000 + 174;\n\t\t/**\n\t\t * \"name\" and \"pwd\" to use with Proxy when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1500</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYUSERNAME = 10000 + 175;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1501</i> */\n\t\tpublic static final int CURLOPT_PROXYPASSWORD = 10000 + 176;\n\t\t/**\n\t\t * Comma separated list of hostnames defining no-proxy zones. These should<br>\n\t\t * match both hostnames directly, and hostnames within a domain. For<br>\n\t\t * example, local.com will match local.com and www.local.com, but NOT<br>\n\t\t * notlocal.com or www.notlocal.com. For compatibility with other<br>\n\t\t * implementations of this, .local.com will be considered to be the same as<br>\n\t\t * local.com. A single * is the only valid wildcard, and effectively<br>\n\t\t * disables the use of proxy.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1510</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOPROXY = 10000 + 177;\n\t\t/**\n\t\t * block size for TFTP transfers<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1513</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TFTP_BLKSIZE = 0 + 178;\n\t\t/**\n\t\t * DEPRECATED, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1517</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_GSSAPI_SERVICE = 10000 + 179;\n\t\t/**\n\t\t * Socks Service<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1520</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_GSSAPI_NEC = 0 + 180;\n\t\t/**\n\t\t * set the bitmask for the protocols that are allowed to be used for the<br>\n\t\t * transfer, which thus helps the app which takes URLs from users or other<br>\n\t\t * external inputs and want to restrict what protocol(s) to deal<br>\n\t\t * with. Defaults to CURLPROTO_ALL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1526</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROTOCOLS = 0 + 181;\n\t\t/**\n\t\t * set the bitmask for the protocols that libcurl is allowed to follow to,<br>\n\t\t * as a subset of the CURLOPT_PROTOCOLS ones. That means the protocol needs<br>\n\t\t * to be set in both bitmasks to be allowed to get redirected to.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1531</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REDIR_PROTOCOLS = 0 + 182;\n\t\t/**\n\t\t * set the SSH knownhost file name to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1534</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KNOWNHOSTS = 10000 + 183;\n\t\t/**\n\t\t * set the SSH host key callback, must point to a curl_sshkeycallback<br>\n\t\t * function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1538</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KEYFUNCTION = 20000 + 184;\n\t\t/**\n\t\t * set the SSH host key callback custom pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1541</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KEYDATA = 10000 + 185;\n\t\t/**\n\t\t * set the SMTP mail originator<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1544</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_FROM = 10000 + 186;\n\t\t/**\n\t\t * set the list of SMTP mail receiver(s)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1547</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_RCPT = 10000 + 187;\n\t\t/**\n\t\t * FTP: send PRET before PASV<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1550</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_PRET = 0 + 188;\n\t\t/**\n\t\t * RTSP request method (OPTIONS, SETUP, PLAY, etc...)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1553</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_REQUEST = 0 + 189;\n\t\t/**\n\t\t * The RTSP session identifier<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1556</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_SESSION_ID = 10000 + 190;\n\t\t/**\n\t\t * The RTSP stream URI<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1559</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_STREAM_URI = 10000 + 191;\n\t\t/**\n\t\t * The Transport: header to use in RTSP requests<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1562</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_TRANSPORT = 10000 + 192;\n\t\t/**\n\t\t * Manually initialize the client RTSP CSeq for this handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1565</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_CLIENT_CSEQ = 0 + 193;\n\t\t/**\n\t\t * Manually initialize the server RTSP CSeq for this handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1568</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_SERVER_CSEQ = 0 + 194;\n\t\t/**\n\t\t * The stream to pass to INTERLEAVEFUNCTION.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1571</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERLEAVEDATA = 10000 + 195;\n\t\t/**\n\t\t * Let the application define a custom write method for RTP data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1574</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERLEAVEFUNCTION = 20000 + 196;\n\t\t/**\n\t\t * Turn on wildcard matching<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1577</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WILDCARDMATCH = 0 + 197;\n\t\t/**\n\t\t * Directory matching callback called before downloading of an<br>\n\t\t * individual file (chunk) started<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1581</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_BGN_FUNCTION = 20000 + 198;\n\t\t/**\n\t\t * Directory matching callback called after the file (chunk)<br>\n\t\t * was downloaded, or skipped<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1585</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_END_FUNCTION = 20000 + 199;\n\t\t/**\n\t\t * Change match (fnmatch-like) callback for wildcard matching<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1588</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FNMATCH_FUNCTION = 20000 + 200;\n\t\t/**\n\t\t * Let the application define custom chunk data pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1591</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_DATA = 10000 + 201;\n\t\t/**\n\t\t * FNMATCH_FUNCTION user pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1594</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FNMATCH_DATA = 10000 + 202;\n\t\t/**\n\t\t * send linked-list of name:port:address sets<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1597</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVE = 10000 + 203;\n\t\t/**\n\t\t * Set a username for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1600</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_USERNAME = 10000 + 204;\n\t\t/**\n\t\t * Set a password for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1603</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_PASSWORD = 10000 + 205;\n\t\t/**\n\t\t * Set authentication type for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1606</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_TYPE = 10000 + 206;\n\t\t/**\n\t\t * Set to 1 to enable the \"TE:\" header in HTTP requests to ask for<br>\n\t\t * compressed transfer-encoded responses. Set to 0 to disable the use of TE:<br>\n\t\t * in outgoing requests. The current default is 0, but it might change in a<br>\n\t\t * future libcurl release.<br>\n\t\t * libcurl will ask for the compressed methods it knows of, and if that<br>\n\t\t * isn't any, it will not ask for transfer-encoding at all even if this<br>\n\t\t * option is set to 1.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1618</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRANSFER_ENCODING = 0 + 207;\n\t\t/**\n\t\t * Callback function for closing socket (instead of close(2)). The callback<br>\n\t\t * should have type curl_closesocket_callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1622</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CLOSESOCKETFUNCTION = 20000 + 208;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1623</i> */\n\t\tpublic static final int CURLOPT_CLOSESOCKETDATA = 10000 + 209;\n\t\t/**\n\t\t * allow GSSAPI credential delegation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1626</i>\n\t\t */\n\t\tpublic static final int CURLOPT_GSSAPI_DELEGATION = 0 + 210;\n\t\t/**\n\t\t * Set the name servers to use for DNS resolution<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1629</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_SERVERS = 10000 + 211;\n\t\t/**\n\t\t * Time-out accept operations (currently for FTP only) after this amount<br>\n\t\t * of milliseconds.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1633</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ACCEPTTIMEOUT_MS = 0 + 212;\n\t\t/**\n\t\t * Set TCP keepalive<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1636</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_KEEPALIVE = 0 + 213;\n\t\t/**\n\t\t * non-universal keepalive knobs (Linux, AIX, HP-UX, more)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1639</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_KEEPIDLE = 0 + 214;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1640</i> */\n\t\tpublic static final int CURLOPT_TCP_KEEPINTVL = 0 + 215;\n\t\t/**\n\t\t * Enable/disable specific SSL features with a bitmask, see CURLSSLOPT_*<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1643</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_OPTIONS = 0 + 216;\n\t\t/**\n\t\t * Set the SMTP auth originator<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1646</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_AUTH = 10000 + 217;\n\t\t/**\n\t\t * Enable/disable SASL initial response<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1649</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SASL_IR = 0 + 218;\n\t\t/**\n\t\t * Function that will be called instead of the internal progress display<br>\n\t\t * function. This function should be defined as the curl_xferinfo_callback<br>\n\t\t * prototype defines. (Deprecates CURLOPT_PROGRESSFUNCTION)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1654</i>\n\t\t */\n\t\tpublic static final int CURLOPT_XFERINFOFUNCTION = 20000 + 219;\n\t\t/**\n\t\t * The XOAUTH2 bearer token<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1657</i>\n\t\t */\n\t\tpublic static final int CURLOPT_XOAUTH2_BEARER = 10000 + 220;\n\t\t/**\n\t\t * Set the interface string to use as outgoing network<br>\n\t\t * interface for DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1662</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_INTERFACE = 10000 + 221;\n\t\t/**\n\t\t * Set the local IPv4 address to use for outgoing DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1666</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_LOCAL_IP4 = 10000 + 222;\n\t\t/**\n\t\t * Set the local IPv6 address to use for outgoing DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1670</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_LOCAL_IP6 = 10000 + 223;\n\t\t/**\n\t\t * Set authentication options directly<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1673</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOGIN_OPTIONS = 10000 + 224;\n\t\t/**\n\t\t * Enable/disable TLS NPN extension (http2 over ssl might fail without)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1676</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_ENABLE_NPN = 0 + 225;\n\t\t/**\n\t\t * Enable/disable TLS ALPN extension (http2 over ssl might fail without)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1679</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_ENABLE_ALPN = 0 + 226;\n\t\t/**\n\t\t * Time to wait for a response to a HTTP request containing an<br>\n\t\t * Expect: 100-continue header before sending the data anyway.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1683</i>\n\t\t */\n\t\tpublic static final int CURLOPT_EXPECT_100_TIMEOUT_MS = 0 + 227;\n\t\t/**\n\t\t * This points to a linked list of headers used for proxy requests only,<br>\n\t\t * struct curl_slist kind<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1687</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYHEADER = 10000 + 228;\n\t\t/**\n\t\t * Pass in a bitmask of \"header options\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1690</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADEROPT = 0 + 229;\n\t\t/**\n\t\t * The public key in DER form used to validate the peer public key<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1694</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PINNEDPUBLICKEY = 10000 + 230;\n\t\t/**\n\t\t * Path to Unix domain socket<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1697</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UNIX_SOCKET_PATH = 10000 + 231;\n\t\t/**\n\t\t * Set if we should verify the certificate status.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1700</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYSTATUS = 0 + 232;\n\t\t/**\n\t\t * Set if we should enable TLS false start.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1703</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_FALSESTART = 0 + 233;\n\t\t/**\n\t\t * Do not squash dot-dot sequences<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1706</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PATH_AS_IS = 0 + 234;\n\t\t/**\n\t\t * Proxy Service Name<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1709</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SERVICE_NAME = 10000 + 235;\n\t\t/**\n\t\t * Service Name<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1712</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SERVICE_NAME = 10000 + 236;\n\t\t/**\n\t\t * Wait/don't wait for pipe/mutex to clarify<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1715</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PIPEWAIT = 0 + 237;\n\t\t/**\n\t\t * Set the protocol used when curl is given a URL without a protocol<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1718</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEFAULT_PROTOCOL = 10000 + 238;\n\t\t/**\n\t\t * Set stream weight, 1 - 256 (default is 16)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1721</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_WEIGHT = 0 + 239;\n\t\t/**\n\t\t * Set stream dependency on another CURL handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1724</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_DEPENDS = 10000 + 240;\n\t\t/**\n\t\t * Set E-xclusive stream dependency on another CURL handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1727</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_DEPENDS_E = 10000 + 241;\n\t\t/**\n\t\t * Do not send any tftp option requests to the server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1730</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TFTP_NO_OPTIONS = 0 + 242;\n\t\t/**\n\t\t * Linked-list of host:port:connect-to-host:connect-to-port,<br>\n\t\t * overrides the URL's host:port (only for the network layer)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1734</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECT_TO = 10000 + 243;\n\t\t/**\n\t\t * Set TCP Fast Open<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1737</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_FASTOPEN = 0 + 244;\n\t\t/**\n\t\t * Continue to send data if the server responds early with an<br>\n\t\t * HTTP status code >= 300<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1741</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KEEP_SENDING_ON_ERROR = 0 + 245;\n\t\t/**\n\t\t * The CApath or CAfile used to validate the proxy certificate<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1745</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CAINFO = 10000 + 246;\n\t\t/**\n\t\t * The CApath directory used to validate the proxy certificate<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1749</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CAPATH = 10000 + 247;\n\t\t/**\n\t\t * Set if we should verify the proxy in ssl handshake,<br>\n\t\t * set 1 to verify.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1753</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_VERIFYPEER = 0 + 248;\n\t\t/**\n\t\t * Set if we should verify the Common name from the proxy certificate in ssl<br>\n\t\t * handshake, set 1 to check existence, 2 to ensure that it matches<br>\n\t\t * the provided hostname.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1758</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_VERIFYHOST = 0 + 249;\n\t\t/**\n\t\t * What version to specifically try to use for proxy.<br>\n\t\t * See CURL_SSLVERSION defines below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1762</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLVERSION = 0 + 250;\n\t\t/**\n\t\t * Set a username for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1765</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_USERNAME = 10000 + 251;\n\t\t/**\n\t\t * Set a password for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1768</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_PASSWORD = 10000 + 252;\n\t\t/**\n\t\t * Set authentication type for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1771</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_TYPE = 10000 + 253;\n\t\t/**\n\t\t * name of the file keeping your private SSL-certificate for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1774</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLCERT = 10000 + 254;\n\t\t/**\n\t\t * type of the file keeping your SSL-certificate (\"DER\", \"PEM\", \"ENG\") for<br>\n\t\t * proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1778</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLCERTTYPE = 10000 + 255;\n\t\t/**\n\t\t * name of the file keeping your private SSL-key for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1781</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLKEY = 10000 + 256;\n\t\t/**\n\t\t * type of the file keeping your private SSL-key (\"DER\", \"PEM\", \"ENG\") for<br>\n\t\t * proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1785</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLKEYTYPE = 10000 + 257;\n\t\t/**\n\t\t * password for the SSL private key for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1788</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_KEYPASSWD = 10000 + 258;\n\t\t/**\n\t\t * Specify which SSL ciphers to use for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1791</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_CIPHER_LIST = 10000 + 259;\n\t\t/**\n\t\t * CRL file for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1794</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CRLFILE = 10000 + 260;\n\t\t/**\n\t\t * Enable/disable specific SSL features with a bitmask for proxy, see<br>\n\t\t * CURLSSLOPT_*<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1798</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_OPTIONS = 0 + 261;\n\t\t/**\n\t\t * Name of pre proxy to use.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1801</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PRE_PROXY = 10000 + 262;\n\t\t/**\n\t\t * The public key in DER form used to validate the proxy public key<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1805</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_PINNEDPUBLICKEY = 10000 + 263;\n\t\t/**\n\t\t * Path to an abstract Unix domain socket<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1808</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ABSTRACT_UNIX_SOCKET = 10000 + 264;\n\t\t/**\n\t\t * Suppress proxy CONNECT response headers from user callbacks<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1811</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SUPPRESS_CONNECT_HEADERS = 0 + 265;\n\t\t/**\n\t\t * The request target, instead of extracted from the URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1814</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REQUEST_TARGET = 10000 + 266;\n\t\t/**\n\t\t * bitmask of allowed auth methods for connections to SOCKS5 proxies<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1817</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_AUTH = 0 + 267;\n\t\t/**\n\t\t * Enable/disable SSH compression<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1820</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_COMPRESSION = 0 + 268;\n\t\t/**\n\t\t * Post MIME data.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1823</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MIMEPOST = 10000 + 269;\n\t\t/**\n\t\t * Time to use with the CURLOPT_TIMECONDITION. Specified in number of<br>\n\t\t * seconds since 1 Jan 1970.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1827</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEVALUE_LARGE = 30000 + 270;\n\t\t/**\n\t\t * Head start in milliseconds to give happy eyeballs.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1830</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS = 0 + 271;\n\t\t/**\n\t\t * Function that will be called before a resolver request is made<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1833</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVER_START_FUNCTION = 20000 + 272;\n\t\t/**\n\t\t * User data to pass to the resolver start callback.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1836</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVER_START_DATA = 10000 + 273;\n\t\t/**\n\t\t * send HAProxy PROXY protocol header?<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1839</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HAPROXYPROTOCOL = 0 + 274;\n\t\t/**\n\t\t * shuffle addresses before use when DNS returns multiple<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1842</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_SHUFFLE_ADDRESSES = 0 + 275;\n\t\t/**\n\t\t * Specify which TLS 1.3 ciphers suites to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1845</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLS13_CIPHERS = 10000 + 276;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1846</i> */\n\t\tpublic static final int CURLOPT_PROXY_TLS13_CIPHERS = 10000 + 277;\n\t\t/**\n\t\t * Disallow specifying username/login in URL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1849</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DISALLOW_USERNAME_IN_URL = 0 + 278;\n\t\t/**\n\t\t * DNS-over-HTTPS URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1852</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DOH_URL = 10000 + 279;\n\t\t/**\n\t\t * Preferred buffer size to use for uploads<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1855</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPLOAD_BUFFERSIZE = 0 + 280;\n\t\t/**\n\t\t * Time in ms between connection upkeep calls for long-lived connections.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1858</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPKEEP_INTERVAL_MS = 0 + 281;\n\t\t/**\n\t\t * Specify URL using CURL URL API.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1861</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CURLU = 10000 + 282;\n\t\t/**\n\t\t * add trailing data just after no more data is available<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1864</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRAILERFUNCTION = 20000 + 283;\n\t\t/**\n\t\t * pointer to be passed to HTTP_TRAILER_FUNCTION<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1867</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRAILERDATA = 10000 + 284;\n\t\t/**\n\t\t * set this to 1L to allow HTTP/0.9 responses or 0L to disallow<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1870</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP09_ALLOWED = 0 + 285;\n\t\t/**\n\t\t * alt-svc control bitmask<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1873</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ALTSVC_CTRL = 0 + 286;\n\t\t/**\n\t\t * alt-svc cache file name to possibly read from/write to<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1876</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ALTSVC = 10000 + 287;\n\t\t/**\n\t\t * maximum age of a connection to consider it for reuse (in seconds)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1879</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXAGE_CONN = 0 + 288;\n\t\t/**\n\t\t * SASL authorisation identity<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1882</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SASL_AUTHZID = 10000 + 289;\n\t\t/**\n\t\t * allow RCPT TO command to fail for some recipients<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1885</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_RCPT_ALLLOWFAILS = 0 + 290;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1887</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LASTENTRY = (0 + 290 + 1);\n\t};\n\t/**\n\t * setting this means we don't care, and that we'd<br>\n\t * like the library to choose the best possible<br>\n\t * for us!\n\t */\n\tpublic static final int CURL_HTTP_VERSION_NONE = 0;\n\t/** please use HTTP 1.0 in the request */\n\tpublic static final int CURL_HTTP_VERSION_1_0 = 1;\n\t/** please use HTTP 1.1 in the request */\n\tpublic static final int CURL_HTTP_VERSION_1_1 = 2;\n\t/** please use HTTP 2 in the request */\n\tpublic static final int CURL_HTTP_VERSION_2_0 = 3;\n\t/** use version 2 for HTTPS, version 1.1 for HTTP */\n\tpublic static final int CURL_HTTP_VERSION_2TLS = 4;\n\t/**\n\t * please use HTTP 2 without HTTP/1.1<br>\n\t * Upgrade\n\t */\n\tpublic static final int CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE = 5;\n\t/**\n\t * Makes use of explicit HTTP/3 without fallback.<br>\n\t * Use CURLOPT_ALTSVC to enable HTTP/3 upgrade\n\t */\n\tpublic static final int CURL_HTTP_VERSION_3 = 30;\n\t/** *ILLEGAL* http version */\n\tpublic static final int CURL_HTTP_VERSION_LAST = 31;\n\t/** first in list */\n\tpublic static final int CURL_RTSPREQ_NONE = 0;\n\tpublic static final int CURL_RTSPREQ_OPTIONS = 1;\n\tpublic static final int CURL_RTSPREQ_DESCRIBE = 2;\n\tpublic static final int CURL_RTSPREQ_ANNOUNCE = 3;\n\tpublic static final int CURL_RTSPREQ_SETUP = 4;\n\tpublic static final int CURL_RTSPREQ_PLAY = 5;\n\tpublic static final int CURL_RTSPREQ_PAUSE = 6;\n\tpublic static final int CURL_RTSPREQ_TEARDOWN = 7;\n\tpublic static final int CURL_RTSPREQ_GET_PARAMETER = 8;\n\tpublic static final int CURL_RTSPREQ_SET_PARAMETER = 9;\n\tpublic static final int CURL_RTSPREQ_RECORD = 10;\n\tpublic static final int CURL_RTSPREQ_RECEIVE = 11;\n\t/** last in list */\n\tpublic static final int CURL_RTSPREQ_LAST = 12;\n\t/**\n\t * These enums are for use with the CURLOPT_NETRC option.<br>\n\t * <i>native declaration : include\\curl\\curl.h:1968</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURL_NETRC_OPTION {\n\t\t/**\n\t\t * The .netrc will never be read.<br>\n\t\t * This is the default.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1969</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_IGNORED = 0;\n\t\t/**\n\t\t * A user:password in the URL will be preferred<br>\n\t\t * to one in the .netrc.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1971</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_OPTIONAL = 1;\n\t\t/**\n\t\t * A user:password in the URL will be ignored.<br>\n\t\t * Unless one is set programmatically, the .netrc<br>\n\t\t * will be queried.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1973</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_REQUIRED = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1976</i> */\n\t\tpublic static final int CURL_NETRC_LAST = 3;\n\t};\n\tpublic static final int CURL_SSLVERSION_DEFAULT = 0;\n\t/** TLS 1.x */\n\tpublic static final int CURL_SSLVERSION_TLSv1 = 1;\n\tpublic static final int CURL_SSLVERSION_SSLv2 = 2;\n\tpublic static final int CURL_SSLVERSION_SSLv3 = 3;\n\tpublic static final int CURL_SSLVERSION_TLSv1_0 = 4;\n\tpublic static final int CURL_SSLVERSION_TLSv1_1 = 5;\n\tpublic static final int CURL_SSLVERSION_TLSv1_2 = 6;\n\tpublic static final int CURL_SSLVERSION_TLSv1_3 = 7;\n\t/** never use, keep last */\n\tpublic static final int CURL_SSLVERSION_LAST = 8;\n\tpublic static final int CURL_SSLVERSION_MAX_NONE = 0;\n\tpublic static final int CURL_SSLVERSION_MAX_DEFAULT = ((int)Libcurl4Library.CURL_SSLVERSION_TLSv1 << 16);\n\tpublic static final int CURL_SSLVERSION_MAX_TLSv1_0 = ((int)Libcurl4Library.CURL_SSLVERSION_TLSv1_0 << 16);\n\tpublic static final int CURL_SSLVERSION_MAX_TLSv1_1 = ((int)Libcurl4Library.CURL_SSLVERSION_TLSv1_1 << 16);\n\tpublic static final int CURL_SSLVERSION_MAX_TLSv1_2 = ((int)Libcurl4Library.CURL_SSLVERSION_TLSv1_2 << 16);\n\tpublic static final int CURL_SSLVERSION_MAX_TLSv1_3 = ((int)Libcurl4Library.CURL_SSLVERSION_TLSv1_3 << 16);\n\t/** never use, keep last */\n\tpublic static final int CURL_SSLVERSION_MAX_LAST = ((int)Libcurl4Library.CURL_SSLVERSION_LAST << 16);\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h:2004</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURL_TLSAUTH {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2005</i> */\n\t\tpublic static final int CURL_TLSAUTH_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2006</i> */\n\t\tpublic static final int CURL_TLSAUTH_SRP = 1;\n\t\t/**\n\t\t * never use, keep last<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2007</i>\n\t\t */\n\t\tpublic static final int CURL_TLSAUTH_LAST = 2;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_TimeCond {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2023</i> */\n\t\tpublic static final int CURL_TIMECOND_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2025</i> */\n\t\tpublic static final int CURL_TIMECOND_IFMODSINCE = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2026</i> */\n\t\tpublic static final int CURL_TIMECOND_IFUNMODSINCE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2027</i> */\n\t\tpublic static final int CURL_TIMECOND_LASTMOD = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2029</i> */\n\t\tpublic static final int CURL_TIMECOND_LAST = 4;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLformoption {\n\t\t/**\n\t\t * the first one is unused ***********<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2166</i>\n\t\t */\n\t\tpublic static final int CURLFORM_NOTHING = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2167</i> */\n\t\tpublic static final int CURLFORM_COPYNAME = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2168</i> */\n\t\tpublic static final int CURLFORM_PTRNAME = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2169</i> */\n\t\tpublic static final int CURLFORM_NAMELENGTH = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2170</i> */\n\t\tpublic static final int CURLFORM_COPYCONTENTS = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2171</i> */\n\t\tpublic static final int CURLFORM_PTRCONTENTS = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2172</i> */\n\t\tpublic static final int CURLFORM_CONTENTSLENGTH = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2173</i> */\n\t\tpublic static final int CURLFORM_FILECONTENT = 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2174</i> */\n\t\tpublic static final int CURLFORM_ARRAY = 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2175</i> */\n\t\tpublic static final int CURLFORM_OBSOLETE = 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2176</i> */\n\t\tpublic static final int CURLFORM_FILE = 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2178</i> */\n\t\tpublic static final int CURLFORM_BUFFER = 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2179</i> */\n\t\tpublic static final int CURLFORM_BUFFERPTR = 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2180</i> */\n\t\tpublic static final int CURLFORM_BUFFERLENGTH = 13;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2182</i> */\n\t\tpublic static final int CURLFORM_CONTENTTYPE = 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2183</i> */\n\t\tpublic static final int CURLFORM_CONTENTHEADER = 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2184</i> */\n\t\tpublic static final int CURLFORM_FILENAME = 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2185</i> */\n\t\tpublic static final int CURLFORM_END = 17;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2186</i> */\n\t\tpublic static final int CURLFORM_OBSOLETE2 = 18;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2188</i> */\n\t\tpublic static final int CURLFORM_STREAM = 19;\n\t\t/**\n\t\t * added in 7.46.0, provide a curl_off_t length<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2189</i>\n\t\t */\n\t\tpublic static final int CURLFORM_CONTENTLEN = 20;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2191</i>\n\t\t */\n\t\tpublic static final int CURLFORM_LASTENTRY = 21;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLFORMcode {\n\t\t/**\n\t\t * first, no error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2217</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_OK = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2219</i> */\n\t\tpublic static final int CURL_FORMADD_MEMORY = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2220</i> */\n\t\tpublic static final int CURL_FORMADD_OPTION_TWICE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2221</i> */\n\t\tpublic static final int CURL_FORMADD_NULL = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2222</i> */\n\t\tpublic static final int CURL_FORMADD_UNKNOWN_OPTION = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2223</i> */\n\t\tpublic static final int CURL_FORMADD_INCOMPLETE = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2224</i> */\n\t\tpublic static final int CURL_FORMADD_ILLEGAL_ARRAY = 6;\n\t\t/**\n\t\t * libcurl was built with this disabled<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2225</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_DISABLED = 7;\n\t\t/**\n\t\t * last<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2227</i>\n\t\t */\n\t\tpublic static final int CURL_FORMADD_LAST = 8;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLsslset {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2422</i> */\n\t\tpublic static final int CURLSSLSET_OK = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2423</i> */\n\t\tpublic static final int CURLSSLSET_UNKNOWN_BACKEND = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2424</i> */\n\t\tpublic static final int CURLSSLSET_TOO_LATE = 2;\n\t\t/**\n\t\t * libcurl was built without any SSL support<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2425</i>\n\t\t */\n\t\tpublic static final int CURLSSLSET_NO_BACKENDS = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLINFO {\n\t\t/**\n\t\t * first, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2490</i>\n\t\t */\n\t\tpublic static final int CURLINFO_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2491</i> */\n\t\tpublic static final int CURLINFO_EFFECTIVE_URL = 0x100000 + 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2492</i> */\n\t\tpublic static final int CURLINFO_RESPONSE_CODE = 0x200000 + 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2493</i> */\n\t\tpublic static final int CURLINFO_TOTAL_TIME = 0x300000 + 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2494</i> */\n\t\tpublic static final int CURLINFO_NAMELOOKUP_TIME = 0x300000 + 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2495</i> */\n\t\tpublic static final int CURLINFO_CONNECT_TIME = 0x300000 + 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2496</i> */\n\t\tpublic static final int CURLINFO_PRETRANSFER_TIME = 0x300000 + 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2497</i> */\n\t\tpublic static final int CURLINFO_SIZE_UPLOAD = 0x300000 + 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2498</i> */\n\t\tpublic static final int CURLINFO_SIZE_UPLOAD_T = 0x600000 + 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2499</i> */\n\t\tpublic static final int CURLINFO_SIZE_DOWNLOAD = 0x300000 + 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2500</i> */\n\t\tpublic static final int CURLINFO_SIZE_DOWNLOAD_T = 0x600000 + 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2501</i> */\n\t\tpublic static final int CURLINFO_SPEED_DOWNLOAD = 0x300000 + 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2502</i> */\n\t\tpublic static final int CURLINFO_SPEED_DOWNLOAD_T = 0x600000 + 9;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2503</i> */\n\t\tpublic static final int CURLINFO_SPEED_UPLOAD = 0x300000 + 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2504</i> */\n\t\tpublic static final int CURLINFO_SPEED_UPLOAD_T = 0x600000 + 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2505</i> */\n\t\tpublic static final int CURLINFO_HEADER_SIZE = 0x200000 + 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2506</i> */\n\t\tpublic static final int CURLINFO_REQUEST_SIZE = 0x200000 + 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2507</i> */\n\t\tpublic static final int CURLINFO_SSL_VERIFYRESULT = 0x200000 + 13;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2508</i> */\n\t\tpublic static final int CURLINFO_FILETIME = 0x200000 + 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2509</i> */\n\t\tpublic static final int CURLINFO_FILETIME_T = 0x600000 + 14;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2510</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_DOWNLOAD = 0x300000 + 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2511</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_DOWNLOAD_T = 0x600000 + 15;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2512</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_UPLOAD = 0x300000 + 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2513</i> */\n\t\tpublic static final int CURLINFO_CONTENT_LENGTH_UPLOAD_T = 0x600000 + 16;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2514</i> */\n\t\tpublic static final int CURLINFO_STARTTRANSFER_TIME = 0x300000 + 17;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2515</i> */\n\t\tpublic static final int CURLINFO_CONTENT_TYPE = 0x100000 + 18;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2516</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_TIME = 0x300000 + 19;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2517</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_COUNT = 0x200000 + 20;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2518</i> */\n\t\tpublic static final int CURLINFO_PRIVATE = 0x100000 + 21;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2519</i> */\n\t\tpublic static final int CURLINFO_HTTP_CONNECTCODE = 0x200000 + 22;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2520</i> */\n\t\tpublic static final int CURLINFO_HTTPAUTH_AVAIL = 0x200000 + 23;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2521</i> */\n\t\tpublic static final int CURLINFO_PROXYAUTH_AVAIL = 0x200000 + 24;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2522</i> */\n\t\tpublic static final int CURLINFO_OS_ERRNO = 0x200000 + 25;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2523</i> */\n\t\tpublic static final int CURLINFO_NUM_CONNECTS = 0x200000 + 26;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2524</i> */\n\t\tpublic static final int CURLINFO_SSL_ENGINES = 0x400000 + 27;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2525</i> */\n\t\tpublic static final int CURLINFO_COOKIELIST = 0x400000 + 28;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2526</i> */\n\t\tpublic static final int CURLINFO_LASTSOCKET = 0x200000 + 29;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2527</i> */\n\t\tpublic static final int CURLINFO_FTP_ENTRY_PATH = 0x100000 + 30;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2528</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_URL = 0x100000 + 31;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2529</i> */\n\t\tpublic static final int CURLINFO_PRIMARY_IP = 0x100000 + 32;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2530</i> */\n\t\tpublic static final int CURLINFO_APPCONNECT_TIME = 0x300000 + 33;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2531</i> */\n\t\tpublic static final int CURLINFO_CERTINFO = 0x400000 + 34;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2532</i> */\n\t\tpublic static final int CURLINFO_CONDITION_UNMET = 0x200000 + 35;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2533</i> */\n\t\tpublic static final int CURLINFO_RTSP_SESSION_ID = 0x100000 + 36;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2534</i> */\n\t\tpublic static final int CURLINFO_RTSP_CLIENT_CSEQ = 0x200000 + 37;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2535</i> */\n\t\tpublic static final int CURLINFO_RTSP_SERVER_CSEQ = 0x200000 + 38;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2536</i> */\n\t\tpublic static final int CURLINFO_RTSP_CSEQ_RECV = 0x200000 + 39;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2537</i> */\n\t\tpublic static final int CURLINFO_PRIMARY_PORT = 0x200000 + 40;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2538</i> */\n\t\tpublic static final int CURLINFO_LOCAL_IP = 0x100000 + 41;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2539</i> */\n\t\tpublic static final int CURLINFO_LOCAL_PORT = 0x200000 + 42;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2540</i> */\n\t\tpublic static final int CURLINFO_TLS_SESSION = 0x400000 + 43;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2541</i> */\n\t\tpublic static final int CURLINFO_ACTIVESOCKET = 0x500000 + 44;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2542</i> */\n\t\tpublic static final int CURLINFO_TLS_SSL_PTR = 0x400000 + 45;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2543</i> */\n\t\tpublic static final int CURLINFO_HTTP_VERSION = 0x200000 + 46;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2544</i> */\n\t\tpublic static final int CURLINFO_PROXY_SSL_VERIFYRESULT = 0x200000 + 47;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2545</i> */\n\t\tpublic static final int CURLINFO_PROTOCOL = 0x200000 + 48;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2546</i> */\n\t\tpublic static final int CURLINFO_SCHEME = 0x100000 + 49;\n\t\t/**\n\t\t * Preferably these would be defined conditionally based on the<br>\n\t\t * sizeof curl_off_t being 64-bits<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2551</i>\n\t\t */\n\t\tpublic static final int CURLINFO_TOTAL_TIME_T = 0x600000 + 50;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2552</i> */\n\t\tpublic static final int CURLINFO_NAMELOOKUP_TIME_T = 0x600000 + 51;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2553</i> */\n\t\tpublic static final int CURLINFO_CONNECT_TIME_T = 0x600000 + 52;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2554</i> */\n\t\tpublic static final int CURLINFO_PRETRANSFER_TIME_T = 0x600000 + 53;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2555</i> */\n\t\tpublic static final int CURLINFO_STARTTRANSFER_TIME_T = 0x600000 + 54;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2556</i> */\n\t\tpublic static final int CURLINFO_REDIRECT_TIME_T = 0x600000 + 55;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2557</i> */\n\t\tpublic static final int CURLINFO_APPCONNECT_TIME_T = 0x600000 + 56;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2558</i> */\n\t\tpublic static final int CURLINFO_RETRY_AFTER = 0x600000 + 57;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2560</i> */\n\t\tpublic static final int CURLINFO_LASTONE = 57;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_closepolicy {\n\t\t/**\n\t\t * first, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2568</i>\n\t\t */\n\t\tpublic static final int CURLCLOSEPOLICY_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2570</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_OLDEST = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2571</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_LEAST_RECENTLY_USED = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2572</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_LEAST_TRAFFIC = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2573</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_SLOWEST = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2574</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_CALLBACK = 5;\n\t\t/**\n\t\t * last, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2576</i>\n\t\t */\n\t\tpublic static final int CURLCLOSEPOLICY_LAST = 6;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_lock_data {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2593</i> */\n\t\tpublic static final int CURL_LOCK_DATA_NONE = 0;\n\t\t/**\n\t\t * CURL_LOCK_DATA_SHARE is used internally to say that<br>\n\t\t * the locking is just made to change the internal state of the share<br>\n\t\t * itself.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2598</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_DATA_SHARE = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2599</i> */\n\t\tpublic static final int CURL_LOCK_DATA_COOKIE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2600</i> */\n\t\tpublic static final int CURL_LOCK_DATA_DNS = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2601</i> */\n\t\tpublic static final int CURL_LOCK_DATA_SSL_SESSION = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2602</i> */\n\t\tpublic static final int CURL_LOCK_DATA_CONNECT = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2603</i> */\n\t\tpublic static final int CURL_LOCK_DATA_PSL = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2604</i> */\n\t\tpublic static final int CURL_LOCK_DATA_LAST = 7;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface curl_lock_access {\n\t\t/**\n\t\t * unspecified action<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2609</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_NONE = 0;\n\t\t/**\n\t\t * for read perhaps<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2610</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_SHARED = 1;\n\t\t/**\n\t\t * for write perhaps<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2611</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_SINGLE = 2;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2612</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_LAST = 3;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLSHcode {\n\t\t/**\n\t\t * all is fine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2625</i>\n\t\t */\n\t\tpublic static final int CURLSHE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2626</i>\n\t\t */\n\t\tpublic static final int CURLSHE_BAD_OPTION = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2627</i>\n\t\t */\n\t\tpublic static final int CURLSHE_IN_USE = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2628</i>\n\t\t */\n\t\tpublic static final int CURLSHE_INVALID = 3;\n\t\t/**\n\t\t * 4 out of memory<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2629</i>\n\t\t */\n\t\tpublic static final int CURLSHE_NOMEM = 4;\n\t\t/**\n\t\t * 5 feature not present in lib<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2630</i>\n\t\t */\n\t\tpublic static final int CURLSHE_NOT_BUILT_IN = 5;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2631</i>\n\t\t */\n\t\tpublic static final int CURLSHE_LAST = 6;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLSHoption {\n\t\t/**\n\t\t * don't use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2635</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_NONE = 0;\n\t\t/**\n\t\t * specify a data type to share<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2636</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_SHARE = 1;\n\t\t/**\n\t\t * specify which data type to stop sharing<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2637</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_UNSHARE = 2;\n\t\t/**\n\t\t * pass in a 'curl_lock_function' pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2638</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_LOCKFUNC = 3;\n\t\t/**\n\t\t * pass in a 'curl_unlock_function' pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2639</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_UNLOCKFUNC = 4;\n\t\t/**\n\t\t * pass in a user data pointer used in the lock/unlock<br>\n\t\t * callback functions<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2640</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_USERDATA = 5;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2642</i>\n\t\t */\n\t\tpublic static final int CURLSHOPT_LAST = 6;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\curl.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLversion {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2654</i> */\n\t\tpublic static final int CURLVERSION_FIRST = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2655</i> */\n\t\tpublic static final int CURLVERSION_SECOND = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2656</i> */\n\t\tpublic static final int CURLVERSION_THIRD = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2657</i> */\n\t\tpublic static final int CURLVERSION_FOURTH = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2658</i> */\n\t\tpublic static final int CURLVERSION_FIFTH = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2659</i> */\n\t\tpublic static final int CURLVERSION_SIXTH = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2660</i> */\n\t\tpublic static final int CURLVERSION_SEVENTH = 6;\n\t\t/**\n\t\t * never actually use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2661</i>\n\t\t */\n\t\tpublic static final int CURLVERSION_LAST = 7;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\multi.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLMcode {\n\t\t/**\n\t\t * please call curl_multi_perform() or<br>\n\t\t * curl_multi_socket*() soon<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:61</i>\n\t\t */\n\t\tpublic static final int CURLM_CALL_MULTI_PERFORM = -1;\n\t\t/** <i>native declaration : include\\curl\\multi.h:63</i> */\n\t\tpublic static final int CURLM_OK = 0;\n\t\t/**\n\t\t * the passed-in handle is not a valid CURLM handle<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:64</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_HANDLE = 1;\n\t\t/**\n\t\t * an easy handle was not good/valid<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:65</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_EASY_HANDLE = 2;\n\t\t/**\n\t\t * if you ever get this, you're in deep sh*t<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:66</i>\n\t\t */\n\t\tpublic static final int CURLM_OUT_OF_MEMORY = 3;\n\t\t/**\n\t\t * this is a libcurl bug<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:67</i>\n\t\t */\n\t\tpublic static final int CURLM_INTERNAL_ERROR = 4;\n\t\t/**\n\t\t * the passed in socket argument did not match<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:68</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_SOCKET = 5;\n\t\t/**\n\t\t * curl_multi_setopt() with unsupported option<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:69</i>\n\t\t */\n\t\tpublic static final int CURLM_UNKNOWN_OPTION = 6;\n\t\t/**\n\t\t * an easy handle already added to a multi handle was<br>\n\t\t * attempted to get added - again<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:70</i>\n\t\t */\n\t\tpublic static final int CURLM_ADDED_ALREADY = 7;\n\t\t/**\n\t\t * an api function was called from inside a<br>\n\t\t * callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:72</i>\n\t\t */\n\t\tpublic static final int CURLM_RECURSIVE_API_CALL = 8;\n\t\t/**\n\t\t * wakeup is unavailable or failed<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:74</i>\n\t\t */\n\t\tpublic static final int CURLM_WAKEUP_FAILURE = 9;\n\t\t/**\n\t\t * function called with a bad parameter<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:75</i>\n\t\t */\n\t\tpublic static final int CURLM_BAD_FUNCTION_ARGUMENT = 10;\n\t\t/** <i>native declaration : include\\curl\\multi.h:76</i> */\n\t\tpublic static final int CURLM_LAST = 11;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\multi.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLMSG {\n\t\t/**\n\t\t * first, not used<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:90</i>\n\t\t */\n\t\tpublic static final int CURLMSG_NONE = 0;\n\t\t/**\n\t\t * This easy handle has completed. 'result' contains<br>\n\t\t * the CURLcode of the transfer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:91</i>\n\t\t */\n\t\tpublic static final int CURLMSG_DONE = 1;\n\t\t/**\n\t\t * last, not used<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:93</i>\n\t\t */\n\t\tpublic static final int CURLMSG_LAST = 2;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\multi.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLMoption {\n\t\t/**\n\t\t * This is the socket callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:348</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_SOCKETFUNCTION = 20000 + 1;\n\t\t/**\n\t\t * This is the argument passed to the socket callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:351</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_SOCKETDATA = 10000 + 2;\n\t\t/**\n\t\t * set to 1 to enable pipelining for this multi handle<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:354</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING = 0 + 3;\n\t\t/**\n\t\t * This is the timer callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:357</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_TIMERFUNCTION = 20000 + 4;\n\t\t/**\n\t\t * This is the argument passed to the timer callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:360</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_TIMERDATA = 10000 + 5;\n\t\t/**\n\t\t * maximum number of entries in the connection cache<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:363</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAXCONNECTS = 0 + 6;\n\t\t/**\n\t\t * maximum number of (pipelining) connections to one host<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:366</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_HOST_CONNECTIONS = 0 + 7;\n\t\t/**\n\t\t * maximum number of requests in a pipeline<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:369</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_PIPELINE_LENGTH = 0 + 8;\n\t\t/**\n\t\t * a connection with a content-length longer than this<br>\n\t\t * will not be considered for pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:373</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE = 30000 + 9;\n\t\t/**\n\t\t * a connection with a chunk length longer than this<br>\n\t\t * will not be considered for pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:377</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE = 30000 + 10;\n\t\t/**\n\t\t * a list of site names(+port) that are blacklisted from<br>\n\t\t * pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:381</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING_SITE_BL = 10000 + 11;\n\t\t/**\n\t\t * a list of server types that are blacklisted from<br>\n\t\t * pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:385</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING_SERVER_BL = 10000 + 12;\n\t\t/**\n\t\t * maximum number of open connections in total<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:388</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_TOTAL_CONNECTIONS = 0 + 13;\n\t\t/**\n\t\t * This is the server push callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:391</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PUSHFUNCTION = 20000 + 14;\n\t\t/**\n\t\t * This is the argument passed to the server push callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:394</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PUSHDATA = 10000 + 15;\n\t\t/**\n\t\t * maximum number of concurrent streams to support on a connection<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:397</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_CONCURRENT_STREAMS = 0 + 16;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:399</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_LASTENTRY = (0 + 16 + 1);\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\\\urlapi.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLUcode {\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:8</i> */\n\t\tpublic static final int CURLUE_OK = 0;\n\t\t/**\n\t\t * 1<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:9</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_HANDLE = 1;\n\t\t/**\n\t\t * 2<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:10</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_PARTPOINTER = 2;\n\t\t/**\n\t\t * 3<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:11</i>\n\t\t */\n\t\tpublic static final int CURLUE_MALFORMED_INPUT = 3;\n\t\t/**\n\t\t * 4<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:12</i>\n\t\t */\n\t\tpublic static final int CURLUE_BAD_PORT_NUMBER = 4;\n\t\t/**\n\t\t * 5<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:13</i>\n\t\t */\n\t\tpublic static final int CURLUE_UNSUPPORTED_SCHEME = 5;\n\t\t/**\n\t\t * 6<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:14</i>\n\t\t */\n\t\tpublic static final int CURLUE_URLDECODE = 6;\n\t\t/**\n\t\t * 7<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:15</i>\n\t\t */\n\t\tpublic static final int CURLUE_OUT_OF_MEMORY = 7;\n\t\t/**\n\t\t * 8<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:16</i>\n\t\t */\n\t\tpublic static final int CURLUE_USER_NOT_ALLOWED = 8;\n\t\t/**\n\t\t * 9<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:17</i>\n\t\t */\n\t\tpublic static final int CURLUE_UNKNOWN_PART = 9;\n\t\t/**\n\t\t * 10<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:18</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_SCHEME = 10;\n\t\t/**\n\t\t * 11<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:19</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_USER = 11;\n\t\t/**\n\t\t * 12<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:20</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_PASSWORD = 12;\n\t\t/**\n\t\t * 13<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:21</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_OPTIONS = 13;\n\t\t/**\n\t\t * 14<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:22</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_HOST = 14;\n\t\t/**\n\t\t * 15<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:23</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_PORT = 15;\n\t\t/**\n\t\t * 16<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:24</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_QUERY = 16;\n\t\t/**\n\t\t * 17<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:25</i>\n\t\t */\n\t\tpublic static final int CURLUE_NO_FRAGMENT = 17;\n\t};\n\t/**\n\t * <i>native declaration : include\\curl\\\\urlapi.h</i><br>\n\t * enum values\n\t */\n\tpublic static interface CURLUPart {\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:29</i> */\n\t\tpublic static final int CURLUPART_URL = 0;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:30</i> */\n\t\tpublic static final int CURLUPART_SCHEME = 1;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:31</i> */\n\t\tpublic static final int CURLUPART_USER = 2;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:32</i> */\n\t\tpublic static final int CURLUPART_PASSWORD = 3;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:33</i> */\n\t\tpublic static final int CURLUPART_OPTIONS = 4;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:34</i> */\n\t\tpublic static final int CURLUPART_HOST = 5;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:35</i> */\n\t\tpublic static final int CURLUPART_PORT = 6;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:36</i> */\n\t\tpublic static final int CURLUPART_PATH = 7;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:37</i> */\n\t\tpublic static final int CURLUPART_QUERY = 8;\n\t\t/** <i>native declaration : include\\curl\\\\urlapi.h:38</i> */\n\t\tpublic static final int CURLUPART_FRAGMENT = 9;\n\t\t/**\n\t\t * added in 7.65.0<br>\n\t\t * <i>native declaration : include\\curl\\\\urlapi.h:39</i>\n\t\t */\n\t\tpublic static final int CURLUPART_ZONEID = 10;\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_IPV6 = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_CONT = (int)((0) | (0));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_MQTT = (int)(1 << 28);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_FUNCTIONPOINT = (int)20000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_HOST = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLGSSAPI_DELEGATION_FLAG = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_WIN32 = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLAUTH_DIGEST_IE = ( int)(1 << 4) ;\n\t\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLHEADER_UNIFIED = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_NOTHING = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_ALL = (int)((1 << 0) | (1 << 2));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_PASSWORD = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_ALL = (int)(~0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_BROTLI = (int)(1 << 23);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLALTSVC_READONLYFILE = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSLOPT_ALLOW_BEAST = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_TELNET = (int)(1 << 6);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_SLISTPOINT = (int)10000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_TRAILERFUNC_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final String LIBCURL_VERSION = (String)\"7.70.0\";\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_CALLBACK = (int)(1 << 6);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLGSSAPI_DELEGATION_NONE = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SMB = (int)(1 << 26);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_NTLM = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_SEND = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_PSL = (int)(1 << 20);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_CSELECT_OUT = (int)0x02;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_LONG = (int)0x200000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_DOUBLE = (int)0x300000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_FTP = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMPTS = (int)(1 << 24);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_STRINGPOINT = (int)10000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMPTE = (int)(1 << 22);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSLOPT_NO_PARTIALCHAIN = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_MAX_READ_SIZE = (int)524288;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLAUTH_NTLM_WB = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_SOCKET = (int)0x500000;\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_WAIT_POLLOUT = (int)0x0004;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_DEFAULT_PORT = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLAUTH_ANYSAFE = (int)(~((1 << 0) | (1 << 4)));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_IMAPS = (int)(1 << 13);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_BUFFER = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURLPIPE_HTTP1 = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SMTPS = (int)(1 << 17);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_POLL_IN = (int)1;\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_CSELECT_ERR = (int)0x04;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_LONG = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_GOPHER = (int)(1 << 25);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLAUTH_NONE = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_ANY = (int)(~0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_READFUNC_ABORT = (int)0x10000000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_LDAP = (int)(1 << 7);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_POLL_NONE = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_READFUNC_PAUSE = (int)0x10000001;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_LIBZ = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_GSSAPI = (int)(1 << 17);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_DICT = (int)(1 << 9);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_TLSAUTH_SRP = (int)(1 << 14);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_TYPEMASK = (int)0xf00000;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_DEFAULT_SCHEME = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SOCKOPT_ALREADY_CONNECTED = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSLOPT_NO_REVOKE = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_FILETYPE = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HET_DEFAULT = (int)200;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_LARGEFILE = (int)(1 << 9);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_UID = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_NEGOTIATE = new NativeLong((long)(1 << 2));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_ALL = (int)((1 << 0) | (1 << 1));\n\t/** <i>native declaration : include\\curl\\system.h</i> */\n\tpublic static final String CURL_FORMAT_CURL_OFF_TU = (String)\"lu\";\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_FNMATCHFUNC_FAIL = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_REDIR_POST_ALL = (int)(1 | 2 | 4);\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_PATH_AS_IS = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeSize CURL_ZERO_TERMINATED = new NativeSize(-1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_GSSAPI = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_NONE = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_PTRNAME = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_REDIR_POST_301 = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_REDIR_POST_302 = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_SEND_CONT = (int)(0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_REDIR_POST_303 = (int)4;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final int LIBCURL_VERSION_PATCH = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_FNMATCHFUNC_MATCH = (int)0;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_GUESS_SCHEME = (int)(1 << 9);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_PUBLICKEY = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_DEBUG = (int)(1 << 6);\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_NON_SUPPORT_SCHEME = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_CHUNK_END_FUNC_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_PTRCONTENTS = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_FILE = (int)(1 << 10);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMP = (int)(1 << 19);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_BASIC = new NativeLong(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_IPRESOLVE_V6 = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_SSPI = (int)(1 << 11);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_IPRESOLVE_V4 = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_LARGE = (int)(1 << 7);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_HTTPS = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_CHUNK_BGN_FUNC_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_WRITEFUNC_PAUSE = (int)0x10000001;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLGSSAPI_DELEGATION_POLICY_FLAG = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_RECV = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_MULTI_SSL = (int)(1 << 22);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_POP3S = (int)(1 << 15);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_NTLM_WB = (int)(1 << 15);\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_URLDECODE = (int)(1 << 6);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLALTSVC_H1 = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLALTSVC_H2 = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_FTPS = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLALTSVC_H3 = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMPE = (int)(1 << 21);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_KERBEROS4 = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_POP3 = (int)(1 << 14);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_AGENT = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_SSL = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_POLL_REMOVE = (int)4;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTSP = (int)(1 << 18);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_NTLM = new NativeLong(1 << 3);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURLPIPE_NOTHING = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_MAX_WRITE_SIZE = (int)16384;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_CHUNK_BGN_FUNC_FAIL = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SMBS = (int)(1 << 27);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SFTP = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_PUSH_DENY = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_HLINKCOUNT = (int)(1 << 7);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_DIGEST = new NativeLong(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_GSSAPI = new NativeLong(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_FILENAME = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_SSL = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_IPRESOLVE_WHATEVER = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMPS = (int)(1 << 23);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_RTMPT = (int)(1 << 20);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_KERBEROS5 = (int)(1 << 18);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_DEFAULT = (int)((1 << 0) | (1 << 1));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_FNMATCHFUNC_NOMATCH = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_ERROR_SIZE = (int)256;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_NO_DEFAULT_PORT = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_PERM = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_NO_AUTHORITY = (int)(1 << 10);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_POLL_OUT = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SEEKFUNC_CANTSEEK = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_GID = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_SLIST = (int)0x400000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_UPKEEP_INTERVAL_DEFAULT = (int)60000;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_URLENCODE = (int)(1 << 7);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSLOPT_REVOKE_BEST_EFFORT = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_READFILE = (int)(1 << 1);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_FILENAME = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_ASYNCHDNS = (int)(1 << 7);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_MAX_HTTP_HEADER = (int)(100 * 1024);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLHEADER_SEPARATE = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final int LIBCURL_VERSION_NUM = (int)0x074600;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_TIME = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_GLOBAL_ACK_EINTR = (int)(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_REDIR_GET_ALL = (int)0;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_APPENDQUERY = (int)(1 << 8);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_CURLDEBUG = (int)(1 << 13);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_PTR = (int)0x400000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_CHUNK_BGN_FUNC_SKIP = (int)2;\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_POLL_INOUT = (int)3;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final int LIBCURL_VERSION_MAJOR = (int)7;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final int LIBCURL_VERSION_MINOR = (int)70;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_ONLY = new NativeLong(1 << 31);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_STRING = (int)0x100000;\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_WAIT_POLLIN = (int)0x0001;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_GSSNEGOTIATE = new NativeLong(1 << 2);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SEEKFUNC_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_HTTP3 = (int)(1 << 25);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_HTTP2 = (int)(1 << 16);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_PUSH_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLE_ALREADY_COMPLETE = (int)99999;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLALTSVC_IMMEDIATELY = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPAUSE_RECV_CONT = (int)(0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_TRAILERFUNC_ABORT = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_LDAPS = (int)(1 << 8);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_ALTSVC = (int)(1 << 24);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_HTTPS_PROXY = (int)(1 << 21);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURLPIPE_MULTIPLEX = (int)2;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SCP = (int)(1 << 4);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_HTTP = (int)(1 << 0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_OFF_T = (int)30000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SOCKOPT_ERROR = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_MASK = (int)0x0fffff;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_IDN = (int)(1 << 10);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLFINFOFLAG_KNOWN_SIZE = (int)(1 << 6);\n\t/** <i>native declaration : include\\curl\\system.h</i> */\n\tpublic static final String CURL_FORMAT_CURL_OFF_T = (String)\"ld\";\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_ANY = new NativeLong(~(1 << 4));\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_TFTP = (int)(1 << 11);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_HTTPPOST_PTRBUFFER = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_SPNEGO = (int)(1 << 8);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_PROGRESSFUNC_CONTINUE = (int)0x10000001;\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_WAIT_POLLPRI = (int)0x0002;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_CHUNK_END_FUNC_FAIL = (int)1;\n\t/** <i>native declaration : include\\curl\\\\urlapi.h</i> */\n\tpublic static final int CURLU_DISALLOW_USER = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final NativeLong CURLAUTH_BEARER = new NativeLong(1 << 6);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_KEYBOARD = (int)(1 << 3);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLOPTTYPE_OBJECTPOINT = (int)10000;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final String LIBCURL_TIMESTAMP = (String)\"2020-04-29\";\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLINFO_OFF_T = (int)0x600000;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_SMTP = (int)(1 << 16);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SOCKOPT_OK = (int)0;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_CONV = (int)(1 << 12);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_UNIX_SOCKETS = (int)(1 << 19);\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic static final int CURL_CSELECT_IN = (int)0x01;\n\t/** <i>native declaration : include\\curl\\curlver.h</i> */\n\tpublic static final String LIBCURL_COPYRIGHT = (String)\"1996 - 2020 Daniel Stenberg, <daniel@haxx.se>.\";\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_SEEKFUNC_FAIL = (int)1;\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLPROTO_IMAP = (int)(1 << 12);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURL_VERSION_GSSNEGOTIATE = (int)(1 << 5);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic static final int CURLSSH_AUTH_DEFAULT = (int)(~0);\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_progress_callback extends Callback {\n\t\tint apply(Pointer clientp, double dltotal, double dlnow, double ultotal, double ulnow);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_xferinfo_callback extends Callback {\n\t\tint apply(Pointer clientp, NativeLong dltotal, NativeLong dlnow, NativeLong ultotal, NativeLong ulnow);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_write_callback extends Callback {\n\t\tNativeSize apply(Pointer buffer, NativeSize size, NativeSize nitems, Pointer outstream);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_resolver_start_callback extends Callback {\n\t\tint apply(Pointer resolver_state, Pointer reserved, Pointer userdata);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_chunk_bgn_callback extends Callback {\n\t\tNativeLong apply(Pointer transfer_info, Pointer ptr, int remains);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_chunk_end_callback extends Callback {\n\t\tNativeLong apply(Pointer ptr);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_fnmatch_callback extends Callback {\n\t\tint apply(Pointer ptr, Pointer pattern, Pointer string);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_seek_callback extends Callback {\n\t\tint apply(Pointer instream, NativeLong offset, int origin);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_read_callback extends Callback {\n\t\tNativeSize apply(Pointer buffer, NativeSize size, NativeSize nitems, Pointer instream);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_trailer_callback extends Callback {\n\t\tint apply(PointerByReference list, Pointer userdata);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_sockopt_callback extends Callback {\n\t\tint apply(Pointer clientp, Pointer curlfd, int purpose);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_opensocket_callback extends Callback {\n\t\tLibcurl4Library.curl_socket_t apply(Pointer clientp, int purpose, curl_sockaddr address);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_closesocket_callback extends Callback {\n\t\tint apply(Pointer clientp, Pointer item);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_ioctl_callback extends Callback {\n\t\tint apply(Libcurl4Library.CURL handle, int cmd, Pointer clientp);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_malloc_callback extends Callback {\n\t\tPointer apply(NativeSize size);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_free_callback extends Callback {\n\t\tvoid apply(Pointer ptr);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_realloc_callback extends Callback {\n\t\tPointer apply(Pointer ptr, NativeSize size);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_strdup_callback extends Callback {\n\t\tPointer apply(Pointer str);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_calloc_callback extends Callback {\n\t\tPointer apply(NativeSize nmemb, NativeSize size);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_debug_callback extends Callback {\n\t\t/**\n\t\t * @param handle the handle/transfer this concerns<br>\n\t\t * @param type what kind of data<br>\n\t\t * @param data points to the data<br>\n\t\t * @param size size of the data pointed to\n\t\t */\n\t\tint apply(Libcurl4Library.CURL handle, int type, Pointer data, NativeSize size, Pointer userptr);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_conv_callback extends Callback {\n\t\tint apply(Pointer buffer, NativeSize length);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_ssl_ctx_callback extends Callback {\n\t\t/**\n\t\t * @param curl easy handle<br>\n\t\t * @param ssl_ctx actually an OpenSSL<br>or WolfSSL SSL_CTX,<br>or an mbedTLS<br>mbedtls_ssl_config\n\t\t */\n\t\tint apply(Libcurl4Library.CURL curl, Pointer ssl_ctx, Pointer userptr);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_sshkeycallback extends Callback {\n\t\t/**\n\t\t * @param easy easy handle<br>\n\t\t * @param knownkey known<br>\n\t\t * @param foundkey found<br>\n\t\t * @param arg1 libcurl's view on the keys\n\t\t */\n\t\tint apply(Libcurl4Library.CURL easy, curl_khkey knownkey, curl_khkey foundkey, int arg1, Pointer clientp);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_formget_callback extends Callback {\n\t\tNativeSize apply(Pointer arg, Pointer buf, NativeSize len);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_lock_function extends Callback {\n\t\tvoid apply(Libcurl4Library.CURL handle, int data, int locktype, Pointer userptr);\n\t};\n\t/** <i>native declaration : include\\curl\\curl.h</i> */\n\tpublic interface curl_unlock_function extends Callback {\n\t\tvoid apply(Libcurl4Library.CURL handle, int data, Pointer userptr);\n\t};\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic interface curl_socket_callback extends Callback {\n\t\t/**\n\t\t * @param easy easy handle<br>\n\t\t * @param s socket<br>\n\t\t * @param what see above<br>\n\t\t * @param userp private callback<br>pointer\n\t\t */\n\t\tint apply(Libcurl4Library.CURL easy, Pointer s, int what, Pointer userp, Pointer socketp);\n\t};\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic interface curl_multi_timer_callback extends Callback {\n\t\t/**\n\t\t * @param multi multi handle<br>\n\t\t * @param timeout_ms see above\n\t\t */\n\t\tint apply(Libcurl4Library.CURLM multi, NativeLong timeout_ms, Pointer userp);\n\t};\n\t/** <i>native declaration : include\\curl\\multi.h</i> */\n\tpublic interface curl_push_callback extends Callback {\n\t\tint apply(Libcurl4Library.CURL parent, Libcurl4Library.CURL easy, NativeSize num_headers, Libcurl4Library.curl_pushheaders headers, Pointer userp);\n\t};\n\t/**\n\t * curl_strequal() and curl_strnequal() are subject for removal in a future<br>\n\t * release<br>\n\t * Original signature : <code>int curl_strequal(const char*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2037</i><br>\n\t * @deprecated use the safer methods {@link #curl_strequal(java.lang.String, java.lang.String)} and {@link #curl_strequal(com.sun.jna.Pointer, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_strequal(Pointer s1, Pointer s2);\n\t/**\n\t * curl_strequal() and curl_strnequal() are subject for removal in a future<br>\n\t * release<br>\n\t * Original signature : <code>int curl_strequal(const char*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2037</i>\n\t */\n\tint curl_strequal(String s1, String s2);\n\t/**\n\t * Original signature : <code>int curl_strnequal(const char*, const char*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2038</i><br>\n\t * @deprecated use the safer methods {@link #curl_strnequal(java.lang.String, java.lang.String, com.ochafik.lang.jnaerator.runtime.NativeSize)} and {@link #curl_strnequal(com.sun.jna.Pointer, com.sun.jna.Pointer, com.ochafik.lang.jnaerator.runtime.NativeSize)} instead\n\t */\n\t@Deprecated \n\tint curl_strnequal(Pointer s1, Pointer s2, NativeSize n);\n\t/**\n\t * Original signature : <code>int curl_strnequal(const char*, const char*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2038</i>\n\t */\n\tint curl_strnequal(String s1, String s2, NativeSize n);\n\t/**\n\t * NAME curl_mime_init()<br>\n\t * * DESCRIPTION<br>\n\t * * Create a mime context and return its handle. The easy parameter is the<br>\n\t * target handle.<br>\n\t * Original signature : <code>curl_mime* curl_mime_init(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2052</i>\n\t */\n\tPointerByReference curl_mime_init(Libcurl4Library.CURL easy);\n\t/**\n\t * NAME curl_mime_free()<br>\n\t * * DESCRIPTION<br>\n\t * * release a mime handle and its substructures.<br>\n\t * Original signature : <code>void curl_mime_free(curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2061</i><br>\n\t * @deprecated use the safer method {@link #curl_mime_free(com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tvoid curl_mime_free(Pointer mime);\n\t/**\n\t * NAME curl_mime_free()<br>\n\t * * DESCRIPTION<br>\n\t * * release a mime handle and its substructures.<br>\n\t * Original signature : <code>void curl_mime_free(curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2061</i>\n\t */\n\tvoid curl_mime_free(PointerByReference mime);\n\t/**\n\t * NAME curl_mime_addpart()<br>\n\t * * DESCRIPTION<br>\n\t * * Append a new empty part to the given mime context and return a handle to<br>\n\t * the created part.<br>\n\t * Original signature : <code>curl_mimepart* curl_mime_addpart(curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2071</i><br>\n\t * @deprecated use the safer method {@link #curl_mime_addpart(com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tPointerByReference curl_mime_addpart(Pointer mime);\n\t/**\n\t * NAME curl_mime_addpart()<br>\n\t * * DESCRIPTION<br>\n\t * * Append a new empty part to the given mime context and return a handle to<br>\n\t * the created part.<br>\n\t * Original signature : <code>curl_mimepart* curl_mime_addpart(curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2071</i>\n\t */\n\tPointerByReference curl_mime_addpart(PointerByReference mime);\n\t/**\n\t * NAME curl_mime_name()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime/form part name.<br>\n\t * Original signature : <code>CURLcode curl_mime_name(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2080</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_name(com.sun.jna.ptr.PointerByReference, java.lang.String)} and {@link #curl_mime_name(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_name(Pointer part, Pointer name);\n\t/**\n\t * NAME curl_mime_name()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime/form part name.<br>\n\t * Original signature : <code>CURLcode curl_mime_name(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2080</i>\n\t */\n\tint curl_mime_name(PointerByReference part, String name);\n\t/**\n\t * NAME curl_mime_name()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime/form part name.<br>\n\t * Original signature : <code>CURLcode curl_mime_name(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2080</i>\n\t */\n\tint curl_mime_name(PointerByReference part, Pointer name);\n\t/**\n\t * NAME curl_mime_filename()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part remote file name.<br>\n\t * Original signature : <code>CURLcode curl_mime_filename(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2089</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_filename(com.sun.jna.ptr.PointerByReference, java.lang.String)} and {@link #curl_mime_filename(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_filename(Pointer part, Pointer filename);\n\t/**\n\t * NAME curl_mime_filename()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part remote file name.<br>\n\t * Original signature : <code>CURLcode curl_mime_filename(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2089</i>\n\t */\n\tint curl_mime_filename(PointerByReference part, String filename);\n\t/**\n\t * NAME curl_mime_filename()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part remote file name.<br>\n\t * Original signature : <code>CURLcode curl_mime_filename(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2089</i>\n\t */\n\tint curl_mime_filename(PointerByReference part, Pointer filename);\n\t/**\n\t * NAME curl_mime_type()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part type.<br>\n\t * Original signature : <code>CURLcode curl_mime_type(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2099</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_type(com.sun.jna.ptr.PointerByReference, java.lang.String)} and {@link #curl_mime_type(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_type(Pointer part, Pointer mimetype);\n\t/**\n\t * NAME curl_mime_type()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part type.<br>\n\t * Original signature : <code>CURLcode curl_mime_type(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2099</i>\n\t */\n\tint curl_mime_type(PointerByReference part, String mimetype);\n\t/**\n\t * NAME curl_mime_type()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part type.<br>\n\t * Original signature : <code>CURLcode curl_mime_type(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2099</i>\n\t */\n\tint curl_mime_type(PointerByReference part, Pointer mimetype);\n\t/**\n\t * NAME curl_mime_encoder()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime data transfer encoder.<br>\n\t * Original signature : <code>CURLcode curl_mime_encoder(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2108</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_encoder(com.sun.jna.ptr.PointerByReference, java.lang.String)} and {@link #curl_mime_encoder(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_encoder(Pointer part, Pointer encoding);\n\t/**\n\t * NAME curl_mime_encoder()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime data transfer encoder.<br>\n\t * Original signature : <code>CURLcode curl_mime_encoder(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2108</i>\n\t */\n\tint curl_mime_encoder(PointerByReference part, String encoding);\n\t/**\n\t * NAME curl_mime_encoder()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime data transfer encoder.<br>\n\t * Original signature : <code>CURLcode curl_mime_encoder(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2108</i>\n\t */\n\tint curl_mime_encoder(PointerByReference part, Pointer encoding);\n\t/**\n\t * NAME curl_mime_data()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from memory data,<br>\n\t * Original signature : <code>CURLcode curl_mime_data(curl_mimepart*, const char*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2118</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_data(com.sun.jna.ptr.PointerByReference, java.lang.String, com.ochafik.lang.jnaerator.runtime.NativeSize)} and {@link #curl_mime_data(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer, com.ochafik.lang.jnaerator.runtime.NativeSize)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_data(Pointer part, Pointer data, NativeSize datasize);\n\t/**\n\t * NAME curl_mime_data()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from memory data,<br>\n\t * Original signature : <code>CURLcode curl_mime_data(curl_mimepart*, const char*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2118</i>\n\t */\n\tint curl_mime_data(PointerByReference part, String data, NativeSize datasize);\n\t/**\n\t * NAME curl_mime_data()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from memory data,<br>\n\t * Original signature : <code>CURLcode curl_mime_data(curl_mimepart*, const char*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2118</i>\n\t */\n\tint curl_mime_data(PointerByReference part, Pointer data, NativeSize datasize);\n\t/**\n\t * NAME curl_mime_filedata()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from named file.<br>\n\t * Original signature : <code>CURLcode curl_mime_filedata(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2128</i><br>\n\t * @deprecated use the safer methods {@link #curl_mime_filedata(com.sun.jna.ptr.PointerByReference, java.lang.String)} and {@link #curl_mime_filedata(com.sun.jna.ptr.PointerByReference, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_filedata(Pointer part, Pointer filename);\n\t/**\n\t * NAME curl_mime_filedata()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from named file.<br>\n\t * Original signature : <code>CURLcode curl_mime_filedata(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2128</i>\n\t */\n\tint curl_mime_filedata(PointerByReference part, String filename);\n\t/**\n\t * NAME curl_mime_filedata()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from named file.<br>\n\t * Original signature : <code>CURLcode curl_mime_filedata(curl_mimepart*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2128</i>\n\t */\n\tint curl_mime_filedata(PointerByReference part, Pointer filename);\n\t/**\n\t * NAME curl_mime_data_cb()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from callback function.<br>\n\t * Original signature : <code>CURLcode curl_mime_data_cb(curl_mimepart*, curl_off_t, curl_read_callback, curl_seek_callback, curl_free_callback, void*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2138</i><br>\n\t * @deprecated use the safer method {@link #curl_mime_data_cb(com.sun.jna.ptr.PointerByReference, com.sun.jna.NativeLong, com.example.jna.Libcurl4Library.curl_read_callback, com.example.jna.Libcurl4Library.curl_seek_callback, com.example.jna.Libcurl4Library.curl_free_callback, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_data_cb(Pointer part, NativeLong datasize, Libcurl4Library.curl_read_callback readfunc, Libcurl4Library.curl_seek_callback seekfunc, Libcurl4Library.curl_free_callback freefunc, Pointer arg);\n\t/**\n\t * NAME curl_mime_data_cb()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from callback function.<br>\n\t * Original signature : <code>CURLcode curl_mime_data_cb(curl_mimepart*, curl_off_t, curl_read_callback, curl_seek_callback, curl_free_callback, void*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2138</i>\n\t */\n\tint curl_mime_data_cb(PointerByReference part, NativeLong datasize, Libcurl4Library.curl_read_callback readfunc, Libcurl4Library.curl_seek_callback seekfunc, Libcurl4Library.curl_free_callback freefunc, Pointer arg);\n\t/**\n\t * NAME curl_mime_subparts()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from subparts.<br>\n\t * Original signature : <code>CURLcode curl_mime_subparts(curl_mimepart*, curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2152</i><br>\n\t * @deprecated use the safer method {@link #curl_mime_subparts(com.sun.jna.ptr.PointerByReference, com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_subparts(Pointer part, Pointer subparts);\n\t/**\n\t * NAME curl_mime_subparts()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part data source from subparts.<br>\n\t * Original signature : <code>CURLcode curl_mime_subparts(curl_mimepart*, curl_mime*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2152</i>\n\t */\n\tint curl_mime_subparts(PointerByReference part, PointerByReference subparts);\n\t/**\n\t * NAME curl_mime_headers()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part headers.<br>\n\t * Original signature : <code>CURLcode curl_mime_headers(curl_mimepart*, curl_slist*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2161</i><br>\n\t * @deprecated use the safer method {@link #curl_mime_headers(com.sun.jna.ptr.PointerByReference, com.example.jna.curl_slist, int)} instead\n\t */\n\t@Deprecated \n\tint curl_mime_headers(Pointer part, curl_slist headers, int take_ownership);\n\t/**\n\t * NAME curl_mime_headers()<br>\n\t * * DESCRIPTION<br>\n\t * * Set mime part headers.<br>\n\t * Original signature : <code>CURLcode curl_mime_headers(curl_mimepart*, curl_slist*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2161</i>\n\t */\n\tint curl_mime_headers(PointerByReference part, curl_slist headers, int take_ownership);\n\t/**\n\t * NAME curl_formadd()<br>\n\t * * DESCRIPTION<br>\n\t * * Pretty advanced function for building multi-part formposts. Each invoke<br>\n\t * adds one part that together construct a full post. Then use<br>\n\t * CURLOPT_HTTPPOST to send it off to libcurl.<br>\n\t * Original signature : <code>CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, null)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2239</i><br>\n\t * @deprecated use the safer method {@link #curl_formadd(com.example.jna.curl_httppost.ByReference[], com.example.jna.curl_httppost.ByReference[], java.lang.Object)} instead\n\t */\n\t@Deprecated \n\tint curl_formadd(PointerByReference httppost, PointerByReference last_post, Object... varargs);\n\t/**\n\t * NAME curl_formadd()<br>\n\t * * DESCRIPTION<br>\n\t * * Pretty advanced function for building multi-part formposts. Each invoke<br>\n\t * adds one part that together construct a full post. Then use<br>\n\t * CURLOPT_HTTPPOST to send it off to libcurl.<br>\n\t * Original signature : <code>CURLFORMcode curl_formadd(curl_httppost**, curl_httppost**, null)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2239</i>\n\t */\n\tint curl_formadd(curl_httppost.ByReference httppost[], curl_httppost.ByReference last_post[], Object... varargs);\n\t/**\n\t * NAME curl_formget()<br>\n\t * * DESCRIPTION<br>\n\t * * Serialize a curl_httppost struct built with curl_formadd().<br>\n\t * Accepts a void pointer as second argument which will be passed to<br>\n\t * the curl_formget_callback function.<br>\n\t * Returns 0 on success.<br>\n\t * Original signature : <code>int curl_formget(curl_httppost*, void*, curl_formget_callback)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2264</i>\n\t */\n\tint curl_formget(curl_httppost form, Pointer arg, Libcurl4Library.curl_formget_callback append);\n\t/**\n\t * NAME curl_formfree()<br>\n\t * * DESCRIPTION<br>\n\t * * Free a multipart formpost previously built with curl_formadd().<br>\n\t * Original signature : <code>void curl_formfree(curl_httppost*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2273</i>\n\t */\n\tvoid curl_formfree(curl_httppost form);\n\t/**\n\t * NAME curl_getenv()<br>\n\t * * DESCRIPTION<br>\n\t * * Returns a malloc()'ed string that MUST be curl_free()ed after usage is<br>\n\t * complete. DEPRECATED - see lib/README.curlx<br>\n\t * Original signature : <code>char* curl_getenv(const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2283</i><br>\n\t * @deprecated use the safer methods {@link #curl_getenv(java.lang.String)} and {@link #curl_getenv(com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tPointer curl_getenv(Pointer variable);\n\t/**\n\t * NAME curl_getenv()<br>\n\t * * DESCRIPTION<br>\n\t * * Returns a malloc()'ed string that MUST be curl_free()ed after usage is<br>\n\t * complete. DEPRECATED - see lib/README.curlx<br>\n\t * Original signature : <code>char* curl_getenv(const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2283</i>\n\t */\n\tPointer curl_getenv(String variable);\n\t/**\n\t * NAME curl_version()<br>\n\t * * DESCRIPTION<br>\n\t * * Returns a static ascii string of the libcurl version.<br>\n\t * Original signature : <code>char* curl_version()</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2292</i>\n\t */\n\tPointer curl_version();\n\t/**\n\t * NAME curl_easy_escape()<br>\n\t * * DESCRIPTION<br>\n\t * * Escapes URL strings (converts all letters consider illegal in URLs to their<br>\n\t * %XX versions). This function returns a new allocated string or NULL if an<br>\n\t * error occurred.<br>\n\t * Original signature : <code>char* curl_easy_escape(CURL*, const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2303</i><br>\n\t * @deprecated use the safer methods {@link #curl_easy_escape(com.example.jna.Libcurl4Library.CURL, java.lang.String, int)} and {@link #curl_easy_escape(com.example.jna.Libcurl4Library.CURL, com.sun.jna.Pointer, int)} instead\n\t */\n\t@Deprecated \n\tPointer curl_easy_escape(Libcurl4Library.CURL handle, Pointer string, int length);\n\t/**\n\t * NAME curl_easy_escape()<br>\n\t * * DESCRIPTION<br>\n\t * * Escapes URL strings (converts all letters consider illegal in URLs to their<br>\n\t * %XX versions). This function returns a new allocated string or NULL if an<br>\n\t * error occurred.<br>\n\t * Original signature : <code>char* curl_easy_escape(CURL*, const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2303</i>\n\t */\n\tPointer curl_easy_escape(Libcurl4Library.CURL handle, String string, int length);\n\t/**\n\t * the previous version:<br>\n\t * Original signature : <code>char* curl_escape(const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2308</i><br>\n\t * @deprecated use the safer methods {@link #curl_escape(java.lang.String, int)} and {@link #curl_escape(com.sun.jna.Pointer, int)} instead\n\t */\n\t@Deprecated \n\tPointer curl_escape(Pointer string, int length);\n\t/**\n\t * the previous version:<br>\n\t * Original signature : <code>char* curl_escape(const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2308</i>\n\t */\n\tPointer curl_escape(String string, int length);\n\t/**\n\t * NAME curl_easy_unescape()<br>\n\t * * DESCRIPTION<br>\n\t * * Unescapes URL encoding in strings (converts all %XX codes to their 8bit<br>\n\t * versions). This function returns a new allocated string or NULL if an error<br>\n\t * occurred.<br>\n\t * Conversion Note: On non-ASCII platforms the ASCII %XX codes are<br>\n\t * converted into the host encoding.<br>\n\t * Original signature : <code>char* curl_easy_unescape(CURL*, const char*, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2323</i><br>\n\t * @deprecated use the safer methods {@link #curl_easy_unescape(com.example.jna.Libcurl4Library.CURL, java.lang.String, int, java.nio.IntBuffer)} and {@link #curl_easy_unescape(com.example.jna.Libcurl4Library.CURL, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tPointer curl_easy_unescape(Libcurl4Library.CURL handle, Pointer string, int length, IntByReference outlength);\n\t/**\n\t * NAME curl_easy_unescape()<br>\n\t * * DESCRIPTION<br>\n\t * * Unescapes URL encoding in strings (converts all %XX codes to their 8bit<br>\n\t * versions). This function returns a new allocated string or NULL if an error<br>\n\t * occurred.<br>\n\t * Conversion Note: On non-ASCII platforms the ASCII %XX codes are<br>\n\t * converted into the host encoding.<br>\n\t * Original signature : <code>char* curl_easy_unescape(CURL*, const char*, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2323</i>\n\t */\n\tPointer curl_easy_unescape(Libcurl4Library.CURL handle, String string, int length, IntBuffer outlength);\n\t/**\n\t * the previous version<br>\n\t * Original signature : <code>char* curl_unescape(const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2329</i><br>\n\t * @deprecated use the safer methods {@link #curl_unescape(java.lang.String, int)} and {@link #curl_unescape(com.sun.jna.Pointer, int)} instead\n\t */\n\t@Deprecated \n\tPointer curl_unescape(Pointer string, int length);\n\t/**\n\t * the previous version<br>\n\t * Original signature : <code>char* curl_unescape(const char*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2329</i>\n\t */\n\tPointer curl_unescape(String string, int length);\n\t/**\n\t * NAME curl_free()<br>\n\t * * DESCRIPTION<br>\n\t * * Provided for de-allocation in the same translation unit that did the<br>\n\t * allocation. Added in libcurl 7.10<br>\n\t * Original signature : <code>void curl_free(void*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2340</i>\n\t */\n\tvoid curl_free(Pointer p);\n\t/**\n\t * NAME curl_global_init()<br>\n\t * * DESCRIPTION<br>\n\t * * curl_global_init() should be invoked exactly once for each application that<br>\n\t * uses libcurl and before any call of other libcurl functions.<br>\n\t * * This function is not thread-safe!<br>\n\t * Original signature : <code>CURLcode curl_global_init(long)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2352</i>\n\t */\n\tint curl_global_init(NativeLong flags);\n\t/**\n\t * NAME curl_global_init_mem()<br>\n\t * * DESCRIPTION<br>\n\t * * curl_global_init() or curl_global_init_mem() should be invoked exactly once<br>\n\t * for each application that uses libcurl. This function can be used to<br>\n\t * initialize libcurl and set user defined memory management callback<br>\n\t * functions. Users can implement memory management routines to check for<br>\n\t * memory leaks, check for mis-use of the curl library etc. User registered<br>\n\t * callback routines will be invoked by this library instead of the system<br>\n\t * memory management routines like malloc, free etc.<br>\n\t * Original signature : <code>CURLcode curl_global_init_mem(long, curl_malloc_callback, curl_free_callback, curl_realloc_callback, curl_strdup_callback, curl_calloc_callback)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2367</i>\n\t */\n\tint curl_global_init_mem(NativeLong flags, Libcurl4Library.curl_malloc_callback m, Libcurl4Library.curl_free_callback f, Libcurl4Library.curl_realloc_callback r, Libcurl4Library.curl_strdup_callback s, Libcurl4Library.curl_calloc_callback c);\n\t/**\n\t * NAME curl_global_cleanup()<br>\n\t * * DESCRIPTION<br>\n\t * * curl_global_cleanup() should be invoked exactly once for each application<br>\n\t * that uses libcurl<br>\n\t * Original signature : <code>void curl_global_cleanup()</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2382</i>\n\t */\n\tvoid curl_global_cleanup();\n\t/**\n\t * Original signature : <code>CURLsslset curl_global_sslset(curl_sslbackend, const char*, const curl_ssl_backend***)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2428</i><br>\n\t * @deprecated use the safer methods {@link #curl_global_sslset(int, java.lang.String, com.sun.jna.ptr.PointerByReference)} and {@link #curl_global_sslset(int, com.sun.jna.Pointer, com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_global_sslset(int id, Pointer name, PointerByReference avail);\n\t/**\n\t * Original signature : <code>CURLsslset curl_global_sslset(curl_sslbackend, const char*, const curl_ssl_backend***)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2428</i>\n\t */\n\tint curl_global_sslset(int id, String name, PointerByReference avail);\n\t/**\n\t * NAME curl_slist_append()<br>\n\t * * DESCRIPTION<br>\n\t * * Appends a string to a linked list. If no list exists, it will be created<br>\n\t * first. Returns the new list, after appending.<br>\n\t * Original signature : <code>curl_slist* curl_slist_append(curl_slist*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2439</i><br>\n\t * @deprecated use the safer methods {@link #curl_slist_append(com.example.jna.curl_slist, java.lang.String)} and {@link #curl_slist_append(com.example.jna.curl_slist, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tcurl_slist curl_slist_append(curl_slist curl_slistPtr1, Pointer charPtr1);\n\t/**\n\t * NAME curl_slist_append()<br>\n\t * * DESCRIPTION<br>\n\t * * Appends a string to a linked list. If no list exists, it will be created<br>\n\t * first. Returns the new list, after appending.<br>\n\t * Original signature : <code>curl_slist* curl_slist_append(curl_slist*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2439</i>\n\t */\n\tcurl_slist curl_slist_append(curl_slist curl_slistPtr1, String charPtr1);\n\t/**\n\t * NAME curl_slist_free_all()<br>\n\t * * DESCRIPTION<br>\n\t * * free a previously built curl_slist.<br>\n\t * Original signature : <code>void curl_slist_free_all(curl_slist*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2449</i>\n\t */\n\tvoid curl_slist_free_all(curl_slist curl_slistPtr1);\n\t/**\n\t * NAME curl_getdate()<br>\n\t * * DESCRIPTION<br>\n\t * * Returns the time, in seconds since 1 Jan 1970 of the time string given in<br>\n\t * the first argument. The time argument in the second parameter is unused<br>\n\t * and should be set to NULL.<br>\n\t * Original signature : <code>time_t curl_getdate(const char*, const time_t*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2460</i><br>\n\t * @deprecated use the safer methods {@link #curl_getdate(java.lang.String, com.example.jna.Libcurl4Library.time_t[])} and {@link #curl_getdate(com.sun.jna.Pointer, com.example.jna.Libcurl4Library.time_t)} instead\n\t */\n\t@Deprecated \n\tLibcurl4Library.time_t curl_getdate(Pointer p, Libcurl4Library.time_t unused);\n\t/**\n\t * NAME curl_getdate()<br>\n\t * * DESCRIPTION<br>\n\t * * Returns the time, in seconds since 1 Jan 1970 of the time string given in<br>\n\t * the first argument. The time argument in the second parameter is unused<br>\n\t * and should be set to NULL.<br>\n\t * Original signature : <code>time_t curl_getdate(const char*, const time_t*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2460</i>\n\t */\n\tLibcurl4Library.time_t curl_getdate(String p, Libcurl4Library.time_t unused[]);\n\t/**\n\t * Original signature : <code>CURLSH* curl_share_init()</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2645</i>\n\t */\n\tPointer curl_share_init();\n\t/**\n\t * Original signature : <code>CURLSHcode curl_share_setopt(CURLSH*, CURLSHoption, null)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2646</i>\n\t */\n\tint curl_share_setopt(Libcurl4Library.CURLSH CURLSHPtr1, int option, Object... varargs);\n\t/**\n\t * Original signature : <code>CURLSHcode curl_share_cleanup(CURLSH*)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2647</i>\n\t */\n\tint curl_share_cleanup(Libcurl4Library.CURLSH CURLSHPtr1);\n\t/**\n\t * NAME curl_version_info()<br>\n\t * * DESCRIPTION<br>\n\t * * This function returns a pointer to a static copy of the version info<br>\n\t * struct. See above.<br>\n\t * Original signature : <code>curl_version_info_data* curl_version_info(CURLversion)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2752</i>\n\t */\n\tcurl_version_info_data curl_version_info(int CURLversion1);\n\t/**\n\t * NAME curl_easy_strerror()<br>\n\t * * DESCRIPTION<br>\n\t * * The curl_easy_strerror function may be used to turn a CURLcode value<br>\n\t * into the equivalent human readable error string. This is useful<br>\n\t * for printing meaningful error messages.<br>\n\t * Original signature : <code>char* curl_easy_strerror(CURLcode)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2763</i>\n\t */\n\tPointer curl_easy_strerror(int CURLcode1);\n\t/**\n\t * NAME curl_share_strerror()<br>\n\t * * DESCRIPTION<br>\n\t * * The curl_share_strerror function may be used to turn a CURLSHcode value<br>\n\t * into the equivalent human readable error string. This is useful<br>\n\t * for printing meaningful error messages.<br>\n\t * Original signature : <code>char* curl_share_strerror(CURLSHcode)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2774</i>\n\t */\n\tPointer curl_share_strerror(int CURLSHcode1);\n\t/**\n\t * NAME curl_easy_pause()<br>\n\t * * DESCRIPTION<br>\n\t * * The curl_easy_pause function pauses or unpauses transfers. Select the new<br>\n\t * state by setting the bitmask, use the convenience defines below.<br>\n\t * Original signature : <code>CURLcode curl_easy_pause(CURL*, int)</code><br>\n\t * <i>native declaration : include\\curl\\curl.h:2785</i>\n\t */\n\tint curl_easy_pause(Libcurl4Library.CURL handle, int bitmask);\n\t/**\n\t * Original signature : <code>CURL* curl_easy_init()</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:28</i>\n\t */\n\tPointer curl_easy_init();\n\t/**\n\t * Original signature : <code>CURLcode curl_easy_setopt(CURL*, CURLoption, null)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:29</i>\n\t */\n\tint curl_easy_setopt(Libcurl4Library.CURL curl, int option, Object... varargs);\n\t/**\n\t * Original signature : <code>CURLcode curl_easy_perform(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:30</i>\n\t */\n\tint curl_easy_perform(Libcurl4Library.CURL curl);\n\t/**\n\t * Original signature : <code>void curl_easy_cleanup(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:31</i>\n\t */\n\tvoid curl_easy_cleanup(Libcurl4Library.CURL curl);\n\t/**\n\t * NAME curl_easy_getinfo()<br>\n\t * * DESCRIPTION<br>\n\t * * Request internal information from the curl session with this function. The<br>\n\t * third argument MUST be a pointer to a long, a pointer to a char * or a<br>\n\t * pointer to a double (as the documentation describes elsewhere). The data<br>\n\t * pointed to will be filled in accordingly and can be relied upon only if the<br>\n\t * function returns CURLE_OK. This function is intended to get used *AFTER* a<br>\n\t * performed transfer, all results from this function are undefined until the<br>\n\t * transfer is completed.<br>\n\t * Original signature : <code>CURLcode curl_easy_getinfo(CURL*, CURLINFO, null)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:46</i>\n\t */\n\tint curl_easy_getinfo(Libcurl4Library.CURL curl, int info, Object... varargs);\n\t/**\n\t * NAME curl_easy_duphandle()<br>\n\t * * DESCRIPTION<br>\n\t * * Creates a new curl session handle with the same options set for the handle<br>\n\t * passed in. Duplicating a handle could only be a matter of cloning data and<br>\n\t * options, internal state info and things like persistent connections cannot<br>\n\t * be transferred. It is useful in multithreaded applications when you can run<br>\n\t * curl_easy_duphandle() for each new thread to avoid a series of identical<br>\n\t * curl_easy_setopt() invokes in every thread.<br>\n\t * Original signature : <code>CURL* curl_easy_duphandle(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:61</i>\n\t */\n\tPointer curl_easy_duphandle(Libcurl4Library.CURL curl);\n\t/**\n\t * NAME curl_easy_reset()<br>\n\t * * DESCRIPTION<br>\n\t * * Re-initializes a CURL handle to the default values. This puts back the<br>\n\t * handle to the same state as it was in when it was just created.<br>\n\t * * It does keep: live connections, the Session ID cache, the DNS cache and the<br>\n\t * cookies.<br>\n\t * Original signature : <code>void curl_easy_reset(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:74</i>\n\t */\n\tvoid curl_easy_reset(Libcurl4Library.CURL curl);\n\t/**\n\t * NAME curl_easy_recv()<br>\n\t * * DESCRIPTION<br>\n\t * * Receives data from the connected socket. Use after successful<br>\n\t * curl_easy_perform() with CURLOPT_CONNECT_ONLY option.<br>\n\t * Original signature : <code>CURLcode curl_easy_recv(CURL*, void*, size_t, size_t*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:84</i>\n\t */\n\tint curl_easy_recv(Libcurl4Library.CURL curl, Pointer buffer, NativeSize buflen, NativeSizeByReference n);\n\t/**\n\t * NAME curl_easy_send()<br>\n\t * * DESCRIPTION<br>\n\t * * Sends data over the connected socket. Use after successful<br>\n\t * curl_easy_perform() with CURLOPT_CONNECT_ONLY option.<br>\n\t * Original signature : <code>CURLcode curl_easy_send(CURL*, const void*, size_t, size_t*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:95</i>\n\t */\n\tint curl_easy_send(Libcurl4Library.CURL curl, Pointer buffer, NativeSize buflen, NativeSizeByReference n);\n\t/**\n\t * NAME curl_easy_upkeep()<br>\n\t * * DESCRIPTION<br>\n\t * * Performs connection upkeep for the given session handle.<br>\n\t * Original signature : <code>CURLcode curl_easy_upkeep(CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\easy.h:106</i>\n\t */\n\tint curl_easy_upkeep(Libcurl4Library.CURL curl);\n\t/**\n\t * Name: curl_multi_init()<br>\n\t * * Desc: inititalize multi-style curl usage<br>\n\t * * Returns: a new CURLM handle to use in all 'curl_multi' functions.<br>\n\t * Original signature : <code>CURLM* curl_multi_init()</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:126</i>\n\t */\n\tPointer curl_multi_init();\n\t/**\n\t * Name: curl_multi_add_handle()<br>\n\t * * Desc: add a standard curl handle to the multi stack<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_add_handle(CURLM*, CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:135</i>\n\t */\n\tint curl_multi_add_handle(Libcurl4Library.CURLM multi_handle, Libcurl4Library.CURL curl_handle);\n\t/**\n\t * Name: curl_multi_remove_handle()<br>\n\t * * Desc: removes a curl handle from the multi stack again<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_remove_handle(CURLM*, CURL*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:145</i>\n\t */\n\tint curl_multi_remove_handle(Libcurl4Library.CURLM multi_handle, Libcurl4Library.CURL curl_handle);\n\t/**\n\t * Name: curl_multi_fdset()<br>\n\t * * Desc: Ask curl for its fd_set sets. The app can use these to select() or<br>\n\t * poll() on. We want curl_multi_perform() called as soon as one of<br>\n\t * them are ready.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_fdset(CURLM*, fd_set*, fd_set*, fd_set*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:157</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_fdset(com.example.jna.Libcurl4Library.CURLM, com.example.jna.Libcurl4Library.fd_set, com.example.jna.Libcurl4Library.fd_set, com.example.jna.Libcurl4Library.fd_set, java.nio.IntBuffer)} and {@link #curl_multi_fdset(com.example.jna.Libcurl4Library.CURLM, com.example.jna.Libcurl4Library.fd_set, com.example.jna.Libcurl4Library.fd_set, com.example.jna.Libcurl4Library.fd_set, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_fdset(Libcurl4Library.CURLM multi_handle, Libcurl4Library.fd_set read_fd_set, Libcurl4Library.fd_set write_fd_set, Libcurl4Library.fd_set exc_fd_set, IntByReference max_fd);\n\t/**\n\t * Name: curl_multi_fdset()<br>\n\t * * Desc: Ask curl for its fd_set sets. The app can use these to select() or<br>\n\t * poll() on. We want curl_multi_perform() called as soon as one of<br>\n\t * them are ready.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_fdset(CURLM*, fd_set*, fd_set*, fd_set*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:157</i>\n\t */\n\tint curl_multi_fdset(Libcurl4Library.CURLM multi_handle, Libcurl4Library.fd_set read_fd_set, Libcurl4Library.fd_set write_fd_set, Libcurl4Library.fd_set exc_fd_set, IntBuffer max_fd);\n\t/**\n\t * Name: curl_multi_wait()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_wait(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:171</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_wait(com.example.jna.Libcurl4Library.CURLM, com.example.jna.curl_waitfd[], int, int, java.nio.IntBuffer)} and {@link #curl_multi_wait(com.example.jna.Libcurl4Library.CURLM, com.example.jna.curl_waitfd[], int, int, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_wait(Libcurl4Library.CURLM multi_handle, Pointer extra_fds, int extra_nfds, int timeout_ms, IntByReference ret);\n\t/**\n\t * Name: curl_multi_wait()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_wait(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:171</i>\n\t */\n\tint curl_multi_wait(Libcurl4Library.CURLM multi_handle, curl_waitfd extra_fds[], int extra_nfds, int timeout_ms, IntBuffer ret);\n\t/**\n\t * Name: curl_multi_wait()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_wait(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:171</i>\n\t */\n\tint curl_multi_wait(Libcurl4Library.CURLM multi_handle, curl_waitfd extra_fds[], int extra_nfds, int timeout_ms, IntByReference ret);\n\t/**\n\t * Name: curl_multi_poll()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_poll(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:185</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_poll(com.example.jna.Libcurl4Library.CURLM, com.example.jna.curl_waitfd[], int, int, java.nio.IntBuffer)} and {@link #curl_multi_poll(com.example.jna.Libcurl4Library.CURLM, com.example.jna.curl_waitfd[], int, int, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_poll(Libcurl4Library.CURLM multi_handle, Pointer extra_fds, int extra_nfds, int timeout_ms, IntByReference ret);\n\t/**\n\t * Name: curl_multi_poll()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_poll(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:185</i>\n\t */\n\tint curl_multi_poll(Libcurl4Library.CURLM multi_handle, curl_waitfd extra_fds[], int extra_nfds, int timeout_ms, IntBuffer ret);\n\t/**\n\t * Name: curl_multi_poll()<br>\n\t * * Desc: Poll on all fds within a CURLM set as well as any<br>\n\t * additional fds passed to the function.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_poll(CURLM*, curl_waitfd[], unsigned int, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:185</i>\n\t */\n\tint curl_multi_poll(Libcurl4Library.CURLM multi_handle, curl_waitfd extra_fds[], int extra_nfds, int timeout_ms, IntByReference ret);\n\t/**\n\t * Name: curl_multi_wakeup()<br>\n\t * * Desc: wakes up a sleeping curl_multi_poll call.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_wakeup(CURLM*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:198</i>\n\t */\n\tint curl_multi_wakeup(Libcurl4Library.CURLM multi_handle);\n\t/**\n\t * Name: curl_multi_perform()<br>\n\t * * Desc: When the app thinks there's data available for curl it calls this<br>\n\t * function to read/write whatever there is right now. This returns<br>\n\t * as soon as the reads and writes are done. This function does not<br>\n\t * require that there actually is data available for reading or that<br>\n\t * data can be written, it can be called just in case. It returns<br>\n\t * the number of handles that still transfer data in the second<br>\n\t * argument's integer-pointer.<br>\n\t * * Returns: CURLMcode type, general multi error code. *NOTE* that this only<br>\n\t * returns errors etc regarding the whole multi stack. There might<br>\n\t * still have occurred problems on individual transfers even when<br>\n\t * this returns OK.<br>\n\t * Original signature : <code>CURLMcode curl_multi_perform(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:216</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_perform(com.example.jna.Libcurl4Library.CURLM, java.nio.IntBuffer)} and {@link #curl_multi_perform(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_perform(Libcurl4Library.CURLM multi_handle, IntByReference running_handles);\n\t/**\n\t * Name: curl_multi_perform()<br>\n\t * * Desc: When the app thinks there's data available for curl it calls this<br>\n\t * function to read/write whatever there is right now. This returns<br>\n\t * as soon as the reads and writes are done. This function does not<br>\n\t * require that there actually is data available for reading or that<br>\n\t * data can be written, it can be called just in case. It returns<br>\n\t * the number of handles that still transfer data in the second<br>\n\t * argument's integer-pointer.<br>\n\t * * Returns: CURLMcode type, general multi error code. *NOTE* that this only<br>\n\t * returns errors etc regarding the whole multi stack. There might<br>\n\t * still have occurred problems on individual transfers even when<br>\n\t * this returns OK.<br>\n\t * Original signature : <code>CURLMcode curl_multi_perform(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:216</i>\n\t */\n\tint curl_multi_perform(Libcurl4Library.CURLM multi_handle, IntBuffer running_handles);\n\t/**\n\t * Name: curl_multi_cleanup()<br>\n\t * * Desc: Cleans up and removes a whole multi stack. It does not free or<br>\n\t * touch any individual easy handles in any way. We need to define<br>\n\t * in what state those handles will be if this function is called<br>\n\t * in the middle of a transfer.<br>\n\t * * Returns: CURLMcode type, general multi error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_cleanup(CURLM*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:229</i>\n\t */\n\tint curl_multi_cleanup(Libcurl4Library.CURLM multi_handle);\n\t/**\n\t * Name: curl_multi_info_read()<br>\n\t * * Desc: Ask the multi handle if there's any messages/informationals from<br>\n\t * the individual transfers. Messages include informationals such as<br>\n\t * error code from the transfer or just the fact that a transfer is<br>\n\t * completed. More details on these should be written down as well.<br>\n\t * * Repeated calls to this function will return a new struct each<br>\n\t * time, until a special \"end of msgs\" struct is returned as a signal<br>\n\t * that there is no more to get at this point.<br>\n\t * * The data the returned pointer points to will not survive calling<br>\n\t * curl_multi_cleanup().<br>\n\t * * The 'CURLMsg' struct is meant to be very simple and only contain<br>\n\t * very basic information. If more involved information is wanted,<br>\n\t * we will provide the particular \"transfer handle\" in that struct<br>\n\t * and that should/could/would be used in subsequent<br>\n\t * curl_easy_getinfo() calls (or similar). The point being that we<br>\n\t * must never expose complex structs to applications, as then we'll<br>\n\t * undoubtably get backwards compatibility problems in the future.<br>\n\t * * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out<br>\n\t * of structs. It also writes the number of messages left in the<br>\n\t * queue (after this read) in the integer the second argument points<br>\n\t * to.<br>\n\t * Original signature : <code>CURLMsg* curl_multi_info_read(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:259</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_info_read(com.example.jna.Libcurl4Library.CURLM, java.nio.IntBuffer)} and {@link #curl_multi_info_read(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tCURLMsg curl_multi_info_read(Libcurl4Library.CURLM multi_handle, IntByReference msgs_in_queue);\n\t/**\n\t * Name: curl_multi_info_read()<br>\n\t * * Desc: Ask the multi handle if there's any messages/informationals from<br>\n\t * the individual transfers. Messages include informationals such as<br>\n\t * error code from the transfer or just the fact that a transfer is<br>\n\t * completed. More details on these should be written down as well.<br>\n\t * * Repeated calls to this function will return a new struct each<br>\n\t * time, until a special \"end of msgs\" struct is returned as a signal<br>\n\t * that there is no more to get at this point.<br>\n\t * * The data the returned pointer points to will not survive calling<br>\n\t * curl_multi_cleanup().<br>\n\t * * The 'CURLMsg' struct is meant to be very simple and only contain<br>\n\t * very basic information. If more involved information is wanted,<br>\n\t * we will provide the particular \"transfer handle\" in that struct<br>\n\t * and that should/could/would be used in subsequent<br>\n\t * curl_easy_getinfo() calls (or similar). The point being that we<br>\n\t * must never expose complex structs to applications, as then we'll<br>\n\t * undoubtably get backwards compatibility problems in the future.<br>\n\t * * Returns: A pointer to a filled-in struct, or NULL if it failed or ran out<br>\n\t * of structs. It also writes the number of messages left in the<br>\n\t * queue (after this read) in the integer the second argument points<br>\n\t * to.<br>\n\t * Original signature : <code>CURLMsg* curl_multi_info_read(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:259</i>\n\t */\n\tCURLMsg curl_multi_info_read(Libcurl4Library.CURLM multi_handle, IntBuffer msgs_in_queue);\n\t/**\n\t * Name: curl_multi_strerror()<br>\n\t * * Desc: The curl_multi_strerror function may be used to turn a CURLMcode<br>\n\t * value into the equivalent human readable error string. This is<br>\n\t * useful for printing meaningful error messages.<br>\n\t * * Returns: A pointer to a zero-terminated error message.<br>\n\t * Original signature : <code>char* curl_multi_strerror(CURLMcode)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:271</i>\n\t */\n\tPointer curl_multi_strerror(int CURLMcode1);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket(CURLM*, curl_socket_t, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:316</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_socket(com.example.jna.Libcurl4Library.CURLM, com.example.jna.Libcurl4Library.curl_socket_t, java.nio.IntBuffer)} and {@link #curl_multi_socket(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.Pointer, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_socket(Libcurl4Library.CURLM multi_handle, Pointer s, IntByReference running_handles);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket(CURLM*, curl_socket_t, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:316</i>\n\t */\n\tint curl_multi_socket(Libcurl4Library.CURLM multi_handle, Libcurl4Library.curl_socket_t s, IntBuffer running_handles);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket_action(CURLM*, curl_socket_t, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:319</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_socket_action(com.example.jna.Libcurl4Library.CURLM, com.example.jna.Libcurl4Library.curl_socket_t, int, java.nio.IntBuffer)} and {@link #curl_multi_socket_action(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.Pointer, int, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_socket_action(Libcurl4Library.CURLM multi_handle, Pointer s, int ev_bitmask, IntByReference running_handles);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket_action(CURLM*, curl_socket_t, int, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:319</i>\n\t */\n\tint curl_multi_socket_action(Libcurl4Library.CURLM multi_handle, Libcurl4Library.curl_socket_t s, int ev_bitmask, IntBuffer running_handles);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket_all(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:324</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_socket_all(com.example.jna.Libcurl4Library.CURLM, java.nio.IntBuffer)} and {@link #curl_multi_socket_all(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.ptr.IntByReference)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_socket_all(Libcurl4Library.CURLM multi_handle, IntByReference running_handles);\n\t/**\n\t * Original signature : <code>CURLMcode curl_multi_socket_all(CURLM*, int*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:324</i>\n\t */\n\tint curl_multi_socket_all(Libcurl4Library.CURLM multi_handle, IntBuffer running_handles);\n\t/**\n\t * Name: curl_multi_timeout()<br>\n\t * * Desc: Returns the maximum number of milliseconds the app is allowed to<br>\n\t * wait before curl_multi_socket() or curl_multi_perform() must be<br>\n\t * called (to allow libcurl's timed events to take place).<br>\n\t * * Returns: CURLM error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_timeout(CURLM*, long*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:343</i>\n\t */\n\tint curl_multi_timeout(Libcurl4Library.CURLM multi_handle, NativeLongByReference milliseconds);\n\t/**\n\t * Name: curl_multi_setopt()<br>\n\t * * Desc: Sets options for the multi handle.<br>\n\t * * Returns: CURLM error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_setopt(CURLM*, CURLMoption, null)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:410</i>\n\t */\n\tint curl_multi_setopt(Libcurl4Library.CURLM multi_handle, int option, Object... varargs);\n\t/**\n\t * Name: curl_multi_assign()<br>\n\t * * Desc: This function sets an association in the multi handle between the<br>\n\t * given socket and a private pointer of the application. This is<br>\n\t * (only) useful for curl_multi_socket uses.<br>\n\t * * Returns: CURLM error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_assign(CURLM*, curl_socket_t, void*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:423</i><br>\n\t * @deprecated use the safer methods {@link #curl_multi_assign(com.example.jna.Libcurl4Library.CURLM, com.example.jna.Libcurl4Library.curl_socket_t, com.sun.jna.Pointer)} and {@link #curl_multi_assign(com.example.jna.Libcurl4Library.CURLM, com.sun.jna.Pointer, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tint curl_multi_assign(Libcurl4Library.CURLM multi_handle, Pointer sockfd, Pointer sockp);\n\t/**\n\t * Name: curl_multi_assign()<br>\n\t * * Desc: This function sets an association in the multi handle between the<br>\n\t * given socket and a private pointer of the application. This is<br>\n\t * (only) useful for curl_multi_socket uses.<br>\n\t * * Returns: CURLM error code.<br>\n\t * Original signature : <code>CURLMcode curl_multi_assign(CURLM*, curl_socket_t, void*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:423</i>\n\t */\n\tint curl_multi_assign(Libcurl4Library.CURLM multi_handle, Libcurl4Library.curl_socket_t sockfd, Pointer sockp);\n\t/**\n\t * Original signature : <code>char* curl_pushheader_bynum(curl_pushheaders*, size_t)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:440</i>\n\t */\n\tPointer curl_pushheader_bynum(Libcurl4Library.curl_pushheaders h, NativeSize num);\n\t/**\n\t * Original signature : <code>char* curl_pushheader_byname(curl_pushheaders*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:442</i><br>\n\t * @deprecated use the safer methods {@link #curl_pushheader_byname(com.example.jna.Libcurl4Library.curl_pushheaders, java.lang.String)} and {@link #curl_pushheader_byname(com.example.jna.Libcurl4Library.curl_pushheaders, com.sun.jna.Pointer)} instead\n\t */\n\t@Deprecated \n\tPointer curl_pushheader_byname(Libcurl4Library.curl_pushheaders h, Pointer name);\n\t/**\n\t * Original signature : <code>char* curl_pushheader_byname(curl_pushheaders*, const char*)</code><br>\n\t * <i>native declaration : include\\curl\\multi.h:442</i>\n\t */\n\tPointer curl_pushheader_byname(Libcurl4Library.curl_pushheaders h, String name);\n\t/**\n\t * curl_url() creates a new CURLU handle and returns a pointer to it.<br>\n\t * Must be freed with curl_url_cleanup().<br>\n\t * Original signature : <code>CURLU* curl_url()</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:60</i>\n\t */\n\tPointerByReference curl_url();\n\t/**\n\t * curl_url_cleanup() frees the CURLU handle and related resources used for<br>\n\t * the URL parsing. It will not free strings previously returned with the URL<br>\n\t * API.<br>\n\t * Original signature : <code>void curl_url_cleanup(CURLU*)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:67</i><br>\n\t * @deprecated use the safer method {@link #curl_url_cleanup(com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tvoid curl_url_cleanup(Pointer handle);\n\t/**\n\t * curl_url_cleanup() frees the CURLU handle and related resources used for<br>\n\t * the URL parsing. It will not free strings previously returned with the URL<br>\n\t * API.<br>\n\t * Original signature : <code>void curl_url_cleanup(CURLU*)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:67</i>\n\t */\n\tvoid curl_url_cleanup(PointerByReference handle);\n\t/**\n\t * curl_url_dup() duplicates a CURLU handle and returns a new copy. The new<br>\n\t * handle must also be freed with curl_url_cleanup().<br>\n\t * Original signature : <code>CURLU* curl_url_dup(CURLU*)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:73</i><br>\n\t * @deprecated use the safer method {@link #curl_url_dup(com.sun.jna.ptr.PointerByReference)} instead\n\t */\n\t@Deprecated \n\tPointerByReference curl_url_dup(Pointer in);\n\t/**\n\t * curl_url_dup() duplicates a CURLU handle and returns a new copy. The new<br>\n\t * handle must also be freed with curl_url_cleanup().<br>\n\t * Original signature : <code>CURLU* curl_url_dup(CURLU*)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:73</i>\n\t */\n\tPointerByReference curl_url_dup(PointerByReference in);\n\t/**\n\t * curl_url_get() extracts a specific part of the URL from a CURLU<br>\n\t * handle. Returns error code. The returned pointer MUST be freed with<br>\n\t * curl_free() afterwards.<br>\n\t * Original signature : <code>CURLUcode curl_url_get(CURLU*, CURLUPart, char**, unsigned int)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:80</i><br>\n\t * @deprecated use the safer method {@link #curl_url_get(com.sun.jna.ptr.PointerByReference, int, com.sun.jna.ptr.PointerByReference, int)} instead\n\t */\n\t@Deprecated \n\tint curl_url_get(Pointer handle, int what, PointerByReference part, int flags);\n\t/**\n\t * curl_url_get() extracts a specific part of the URL from a CURLU<br>\n\t * handle. Returns error code. The returned pointer MUST be freed with<br>\n\t * curl_free() afterwards.<br>\n\t * Original signature : <code>CURLUcode curl_url_get(CURLU*, CURLUPart, char**, unsigned int)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:80</i>\n\t */\n\tint curl_url_get(PointerByReference handle, int what, PointerByReference part, int flags);\n\t/**\n\t * curl_url_set() sets a specific part of the URL in a CURLU handle. Returns<br>\n\t * error code. The passed in string will be copied. Passing a NULL instead of<br>\n\t * a part string, clears that part.<br>\n\t * Original signature : <code>CURLUcode curl_url_set(CURLU*, CURLUPart, const char*, unsigned int)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:88</i><br>\n\t * @deprecated use the safer methods {@link #curl_url_set(com.sun.jna.ptr.PointerByReference, int, java.lang.String, int)} and {@link #curl_url_set(com.sun.jna.ptr.PointerByReference, int, com.sun.jna.Pointer, int)} instead\n\t */\n\t@Deprecated \n\tint curl_url_set(Pointer handle, int what, Pointer part, int flags);\n\t/**\n\t * curl_url_set() sets a specific part of the URL in a CURLU handle. Returns<br>\n\t * error code. The passed in string will be copied. Passing a NULL instead of<br>\n\t * a part string, clears that part.<br>\n\t * Original signature : <code>CURLUcode curl_url_set(CURLU*, CURLUPart, const char*, unsigned int)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:88</i>\n\t */\n\tint curl_url_set(PointerByReference handle, int what, String part, int flags);\n\t/**\n\t * curl_url_set() sets a specific part of the URL in a CURLU handle. Returns<br>\n\t * error code. The passed in string will be copied. Passing a NULL instead of<br>\n\t * a part string, clears that part.<br>\n\t * Original signature : <code>CURLUcode curl_url_set(CURLU*, CURLUPart, const char*, unsigned int)</code><br>\n\t * <i>native declaration : include\\curl\\\\urlapi.h:88</i>\n\t */\n\tint curl_url_set(PointerByReference handle, int what, Pointer part, int flags);\n\tpublic static class CURLU extends PointerType {\n\t\tpublic CURLU(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic CURLU() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class CURL extends PointerType {\n\t\tpublic CURL(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic CURL() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class curl_mime extends PointerType {\n\t\tpublic curl_mime(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic curl_mime() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class sockaddr extends PointerType {\n\t\tpublic sockaddr(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic sockaddr() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class curl_socket_t extends PointerType {\n\t\tpublic curl_socket_t(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic curl_socket_t() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class CURLM extends PointerType {\n\t\tpublic CURLM(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic CURLM() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class CURLSH extends PointerType {\n\t\tpublic CURLSH(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic CURLSH() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class curl_pushheaders extends PointerType {\n\t\tpublic curl_pushheaders(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic curl_pushheaders() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class curl_mimepart extends PointerType {\n\t\tpublic curl_mimepart(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic curl_mimepart() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class fd_set extends PointerType {\n\t\tpublic fd_set(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic fd_set() {\n\t\t\tsuper();\n\t\t}\n\t};\n\tpublic static class time_t extends PointerType {\n\t\tpublic time_t(Pointer address) {\n\t\t\tsuper(address);\n\t\t}\n\t\tpublic time_t() {\n\t\t\tsuper();\n\t\t}\n\t};\n}", "title": "" }, { "docid": "857d3d859e75cff61bc3c81510cb376b", "score": "0.5659147", "text": "public static interface CURL_NETRC_OPTION {\n\t\t/**\n\t\t * The .netrc will never be read.<br>\n\t\t * This is the default.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1969</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_IGNORED = 0;\n\t\t/**\n\t\t * A user:password in the URL will be preferred<br>\n\t\t * to one in the .netrc.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1971</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_OPTIONAL = 1;\n\t\t/**\n\t\t * A user:password in the URL will be ignored.<br>\n\t\t * Unless one is set programmatically, the .netrc<br>\n\t\t * will be queried.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1973</i>\n\t\t */\n\t\tpublic static final int CURL_NETRC_REQUIRED = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1976</i> */\n\t\tpublic static final int CURL_NETRC_LAST = 3;\n\t}", "title": "" }, { "docid": "19b848144dac369e496688de8934edb5", "score": "0.56548727", "text": "public static interface curl_sslbackend {\n\t\t/** <i>native declaration : include\\curl\\curl.h:78</i> */\n\t\tpublic static final int CURLSSLBACKEND_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:79</i> */\n\t\tpublic static final int CURLSSLBACKEND_OPENSSL = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:80</i> */\n\t\tpublic static final int CURLSSLBACKEND_GNUTLS = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:81</i> */\n\t\tpublic static final int CURLSSLBACKEND_NSS = 3;\n\t\t/**\n\t\t * Was QSOSSL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:82</i>\n\t\t */\n\t\tpublic static final int CURLSSLBACKEND_OBSOLETE4 = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:83</i> */\n\t\tpublic static final int CURLSSLBACKEND_GSKIT = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:84</i> */\n\t\tpublic static final int CURLSSLBACKEND_POLARSSL = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:85</i> */\n\t\tpublic static final int CURLSSLBACKEND_WOLFSSL = 7;\n\t\t/** <i>native declaration : include\\curl\\curl.h:86</i> */\n\t\tpublic static final int CURLSSLBACKEND_SCHANNEL = 8;\n\t\t/** <i>native declaration : include\\curl\\curl.h:87</i> */\n\t\tpublic static final int CURLSSLBACKEND_SECURETRANSPORT = 9;\n\t\t/**\n\t\t * never used since 7.63.0<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:88</i>\n\t\t */\n\t\tpublic static final int CURLSSLBACKEND_AXTLS = 10;\n\t\t/** <i>native declaration : include\\curl\\curl.h:89</i> */\n\t\tpublic static final int CURLSSLBACKEND_MBEDTLS = 11;\n\t\t/** <i>native declaration : include\\curl\\curl.h:90</i> */\n\t\tpublic static final int CURLSSLBACKEND_MESALINK = 12;\n\t\t/** <i>native declaration : include\\curl\\curl.h:91</i> */\n\t\tpublic static final int CURLSSLBACKEND_BEARSSL = 13;\n\t}", "title": "" }, { "docid": "65752426bac8370c30094d39d39951c1", "score": "0.5605431", "text": "public static interface curl_khstat {\n\t\t/** <i>native declaration : include\\curl\\curl.h:716</i> */\n\t\tpublic static final int CURLKHSTAT_FINE_ADD_TO_FILE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:717</i> */\n\t\tpublic static final int CURLKHSTAT_FINE = 1;\n\t\t/**\n\t\t * reject the connection, return an error<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:718</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_REJECT = 2;\n\t\t/**\n\t\t * do not accept it, but we can't answer right now so<br>\n\t\t * this causes a CURLE_DEFER error but otherwise the<br>\n\t\t * connection will be left intact etc<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:719</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_DEFER = 3;\n\t\t/**\n\t\t * not for use, only a marker for last-in-list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:722</i>\n\t\t */\n\t\tpublic static final int CURLKHSTAT_LAST = 4;\n\t}", "title": "" }, { "docid": "2aba45a3ed5cafbff1b26a235df77b00", "score": "0.55618757", "text": "public interface DNSResponseCode {\n\n\t \n\t/**\n\t * The Enum RCODE.\n\t */\n\tpublic enum RCODE {\n\t\t\n\t\t/** The no error. */\n\t\tNO_ERROR, \n /** The format error. */\n FORMAT_ERROR, \n /** The nxdomain. */\n NXDOMAIN, \n /** The servfail. */\n SERVFAIL, \n /** The impl error. */\n IMPL_ERROR, \n /** The refused. */\n REFUSED, \n /** The server not found. */\n SERVER_NOT_FOUND, \n /** The unanticipated. */\n UNANTICIPATED\n\t};\n}", "title": "" }, { "docid": "dfd9f113b4aa7ea75515ae0093b884ba", "score": "0.5549395", "text": "public static interface curl_ftpauth {\n\t\t/**\n\t\t * let libcurl decide<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:802</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_DEFAULT = 0;\n\t\t/**\n\t\t * use \"AUTH SSL\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:803</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_SSL = 1;\n\t\t/**\n\t\t * use \"AUTH TLS\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:804</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_TLS = 2;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:805</i>\n\t\t */\n\t\tpublic static final int CURLFTPAUTH_LAST = 3;\n\t}", "title": "" }, { "docid": "f969896f7a49f5179b9ba7f35b913ba7", "score": "0.55416423", "text": "int curl_global_init(NativeLong flags);", "title": "" }, { "docid": "d443b0b4d385d1a4ea91ca8d1c141612", "score": "0.5537021", "text": "private EnumDocumentationAudienceType(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "title": "" }, { "docid": "0825c097de1fa974bb845d800000fad6", "score": "0.55326545", "text": "public void setEnum(PointerRNA ptr, int value)\r\n//\tstatic void rna_RenderSettings_file_format_set(PointerRNA *ptr, int value)\r\n\t{\n//\t#ifdef WITH_QUICKTIME\r\n//\t\tquicktime_verify_image_type(rd);\r\n//\t#endif\r\n\t}", "title": "" }, { "docid": "23c325129ec385f07698b2cef479638f", "score": "0.55153877", "text": "public interface IntentCodeEnum {\n\n final int TRIGGER_REQUEST = 10;\n final int TRIGGER_RESULT = 11;\n final int ACTION_REQUEST = 12;\n final int ACTION_RESULT = 13;\n final int TIME_REQUEST = 20;\n final int TIME_RESULT = 21;\n\n final int WEATHER_REQUEST = 22;\n final int WEATHER_RESULT = 23;\n\n}", "title": "" }, { "docid": "151bd2c566e6ec51b150b9dc52e40f0a", "score": "0.5512309", "text": "public static interface curl_ftpccc {\n\t\t/**\n\t\t * do not send CCC<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:794</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_NONE = 0;\n\t\t/**\n\t\t * Let the server initiate the shutdown<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:795</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_PASSIVE = 1;\n\t\t/**\n\t\t * Initiate the shutdown<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:796</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_ACTIVE = 2;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:797</i>\n\t\t */\n\t\tpublic static final int CURLFTPSSL_CCC_LAST = 3;\n\t}", "title": "" }, { "docid": "f1fb4a2bd089ca9b73f88bd4ab855c71", "score": "0.54916143", "text": "public interface JavaEnum extends JavaType {}", "title": "" }, { "docid": "db60245046bd96ea27b26f20c0bb62ac", "score": "0.5476622", "text": "public interface HTTPStatusConstants {\n static final String OK = \"200 OK\";\n static final String METHOD_NOT_ALLOWED = \"405 Method Not Allowed\";\n static final String NOT_FOUND =\"404 Not Found\";\n static final String PARTIAL_RESPONSE = \"206 Partial Response\";\n static final String MOVED_PERMANENTLY = \"302 Moved Permanently\";\n static final String UNAUTHORIZED = \"401 Unauthorized\";\n}", "title": "" }, { "docid": "7d367ce7217a1612851af40369d466cd", "score": "0.5474357", "text": "private StringValuedEnumReflect() {\r\n throw new UnsupportedOperationException(\"This class must not be instanciated.\");\r\n }", "title": "" }, { "docid": "b4edb46eeaf3cd51bdba8cd5a9e19baa", "score": "0.5459775", "text": "public static interface CURLoption {\n\t\t/**\n\t\t * This is the FILE * or void * the regular output should be written to.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:895</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WRITEDATA = 10000 + 1;\n\t\t/**\n\t\t * The full URL to get/put<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:898</i>\n\t\t */\n\t\tpublic static final int CURLOPT_URL = 10000 + 2;\n\t\t/**\n\t\t * Port number to connect to, if other than default.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:901</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PORT = 0 + 3;\n\t\t/**\n\t\t * Name of proxy to use.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:904</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY = 10000 + 4;\n\t\t/**\n\t\t * \"user:password;options\" to use when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:907</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERPWD = 10000 + 5;\n\t\t/**\n\t\t * \"user:password\" to use with proxy.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:910</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYUSERPWD = 10000 + 6;\n\t\t/**\n\t\t * Range to get, specified as an ASCII string.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:913</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RANGE = 10000 + 7;\n\t\t/**\n\t\t * Specified file stream to upload from (use as input):<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:918</i>\n\t\t */\n\t\tpublic static final int CURLOPT_READDATA = 10000 + 9;\n\t\t/**\n\t\t * Buffer to receive error messages in, must be at least CURL_ERROR_SIZE<br>\n\t\t * bytes big.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:922</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ERRORBUFFER = 10000 + 10;\n\t\t/**\n\t\t * Function that will be called to store the output (instead of fwrite). The<br>\n\t\t * parameters will use fwrite() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:926</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WRITEFUNCTION = 20000 + 11;\n\t\t/**\n\t\t * Function that will be called to read the input (instead of fread). The<br>\n\t\t * parameters will use fread() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:930</i>\n\t\t */\n\t\tpublic static final int CURLOPT_READFUNCTION = 20000 + 12;\n\t\t/**\n\t\t * Time-out the read operation after this amount of seconds<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:933</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEOUT = 0 + 13;\n\t\t/**\n\t\t * If the CURLOPT_INFILE is used, this can be used to inform libcurl about<br>\n\t\t * how large the file being sent really is. That allows better error<br>\n\t\t * checking and better verifies that the upload was successful. -1 means<br>\n\t\t * unknown size.<br>\n\t\t * * For large file support, there is also a _LARGE version of the key<br>\n\t\t * which takes an off_t type, allowing platforms with larger off_t<br>\n\t\t * sizes to handle larger files. See below for INFILESIZE_LARGE.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:944</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INFILESIZE = 0 + 14;\n\t\t/**\n\t\t * POST static input fields.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:947</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDS = 10000 + 15;\n\t\t/**\n\t\t * Set the referrer page (needed by some CGIs)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:950</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REFERER = 10000 + 16;\n\t\t/**\n\t\t * Set the FTP PORT string (interface name, named or numerical IP address)<br>\n\t\t * Use i.e '-' to use default address.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:954</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTPPORT = 10000 + 17;\n\t\t/**\n\t\t * Set the User-Agent string (examined by some CGIs)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:957</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERAGENT = 10000 + 18;\n\t\t/**\n\t\t * Set the \"low speed limit\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:966</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOW_SPEED_LIMIT = 0 + 19;\n\t\t/**\n\t\t * Set the \"low speed time\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:969</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOW_SPEED_TIME = 0 + 20;\n\t\t/**\n\t\t * Set the continuation offset.<br>\n\t\t * * Note there is also a _LARGE version of this key which uses<br>\n\t\t * off_t types, allowing for large file offsets on platforms which<br>\n\t\t * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:977</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESUME_FROM = 0 + 21;\n\t\t/**\n\t\t * Set cookie in request:<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:980</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIE = 10000 + 22;\n\t\t/**\n\t\t * This points to a linked list of headers, struct curl_slist kind. This<br>\n\t\t * list is also used for RTSP (in spite of its name)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:984</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPHEADER = 10000 + 23;\n\t\t/**\n\t\t * This points to a linked list of post entries, struct curl_httppost<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:987</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPPOST = 10000 + 24;\n\t\t/**\n\t\t * name of the file keeping your private SSL-certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:990</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLCERT = 10000 + 25;\n\t\t/**\n\t\t * password for the SSL or SSH private key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:993</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KEYPASSWD = 10000 + 26;\n\t\t/**\n\t\t * send TYPE parameter?<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:996</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CRLF = 0 + 27;\n\t\t/**\n\t\t * send linked-list of QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:999</i>\n\t\t */\n\t\tpublic static final int CURLOPT_QUOTE = 10000 + 28;\n\t\t/**\n\t\t * send FILE * or void * to store headers to, if you use a callback it<br>\n\t\t * is simply passed to the callback unmodified<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1003</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADERDATA = 10000 + 29;\n\t\t/**\n\t\t * point to a file to read the initial cookies from, also enables<br>\n\t\t * \"cookie awareness\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1007</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIEFILE = 10000 + 31;\n\t\t/**\n\t\t * What version to specifically try to use.<br>\n\t\t * See CURL_SSLVERSION defines below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1011</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLVERSION = 0 + 32;\n\t\t/**\n\t\t * What kind of HTTP time condition to use, see defines<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1014</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMECONDITION = 0 + 33;\n\t\t/**\n\t\t * Time to use with the above condition. Specified in number of seconds<br>\n\t\t * since 1 Jan 1970<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1018</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEVALUE = 0 + 34;\n\t\t/**\n\t\t * Custom request, for customizing the get command like<br>\n\t\t * HTTP: DELETE, TRACE and others<br>\n\t\t * FTP: to use a different list command<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1026</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CUSTOMREQUEST = 10000 + 36;\n\t\t/**\n\t\t * FILE handle to use instead of stderr<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1029</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STDERR = 10000 + 37;\n\t\t/**\n\t\t * send linked-list of post-transfer QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1034</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTQUOTE = 10000 + 39;\n\t\t/**\n\t\t * OBSOLETE, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1037</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OBSOLETE40 = 10000 + 40;\n\t\t/**\n\t\t * talk a lot<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1040</i>\n\t\t */\n\t\tpublic static final int CURLOPT_VERBOSE = 0 + 41;\n\t\t/**\n\t\t * throw the header out too<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1043</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADER = 0 + 42;\n\t\t/**\n\t\t * shut off the progress meter<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1046</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOPROGRESS = 0 + 43;\n\t\t/**\n\t\t * use HEAD to get http document<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1049</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOBODY = 0 + 44;\n\t\t/**\n\t\t * no output on http error codes >= 400<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1052</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FAILONERROR = 0 + 45;\n\t\t/**\n\t\t * this is an upload<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1055</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPLOAD = 0 + 46;\n\t\t/**\n\t\t * HTTP POST method<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1058</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POST = 0 + 47;\n\t\t/**\n\t\t * bare names when listing directories<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1061</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DIRLISTONLY = 0 + 48;\n\t\t/**\n\t\t * Append instead of overwrite on upload!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1064</i>\n\t\t */\n\t\tpublic static final int CURLOPT_APPEND = 0 + 50;\n\t\t/**\n\t\t * Specify whether to read the user+password from the .netrc or the URL.<br>\n\t\t * This must be one of the CURL_NETRC_* enums below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1068</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NETRC = 0 + 51;\n\t\t/**\n\t\t * use Location: Luke!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1071</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FOLLOWLOCATION = 0 + 52;\n\t\t/**\n\t\t * transfer data in text/ASCII format<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1074</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRANSFERTEXT = 0 + 53;\n\t\t/**\n\t\t * HTTP PUT<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1077</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PUT = 0 + 54;\n\t\t/**\n\t\t * DEPRECATED<br>\n\t\t * Function that will be called instead of the internal progress display<br>\n\t\t * function. This function should be defined as the curl_progress_callback<br>\n\t\t * prototype defines.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1085</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROGRESSFUNCTION = 20000 + 56;\n\t\t/**\n\t\t * Data passed to the CURLOPT_PROGRESSFUNCTION and CURLOPT_XFERINFOFUNCTION<br>\n\t\t * callbacks<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1089</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROGRESSDATA = 10000 + 57;\n\t\t/**\n\t\t * We want the referrer field set automatically when following locations<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1093</i>\n\t\t */\n\t\tpublic static final int CURLOPT_AUTOREFERER = 0 + 58;\n\t\t/**\n\t\t * Port of the proxy, can be set in the proxy string as well with:<br>\n\t\t * \"[host]:[port]\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1097</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYPORT = 0 + 59;\n\t\t/**\n\t\t * size of the POST input data, if strlen() is not good to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1100</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDSIZE = 0 + 60;\n\t\t/**\n\t\t * tunnel non-http operations through a HTTP proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1103</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPPROXYTUNNEL = 0 + 61;\n\t\t/**\n\t\t * Set the interface string to use as outgoing network interface<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1106</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERFACE = 10000 + 62;\n\t\t/**\n\t\t * Set the krb4/5 security level, this also enables krb4/5 awareness. This<br>\n\t\t * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string<br>\n\t\t * is set but doesn't match one of these, 'private' will be used.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1111</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KRBLEVEL = 10000 + 63;\n\t\t/**\n\t\t * Set if we should verify the peer in ssl handshake, set 1 to verify.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1114</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYPEER = 0 + 64;\n\t\t/**\n\t\t * The CApath or CAfile used to validate the peer certificate<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1118</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CAINFO = 10000 + 65;\n\t\t/**\n\t\t * Maximum number of http redirects to follow<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1124</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXREDIRS = 0 + 68;\n\t\t/**\n\t\t * Pass a long set to 1 to get the date of the requested document (if<br>\n\t\t * possible)! Pass a zero to shut it off.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1128</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FILETIME = 0 + 69;\n\t\t/**\n\t\t * This points to a linked list of telnet options<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1131</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TELNETOPTIONS = 10000 + 70;\n\t\t/**\n\t\t * Max amount of cached alive connections<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1134</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXCONNECTS = 0 + 71;\n\t\t/**\n\t\t * OBSOLETE, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1137</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OBSOLETE72 = 0 + 72;\n\t\t/**\n\t\t * Set to explicitly use a new connection for the upcoming transfer.<br>\n\t\t * Do not use this unless you're absolutely sure of this, as it makes the<br>\n\t\t * operation slower and is less friendly for the network.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1144</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FRESH_CONNECT = 0 + 74;\n\t\t/**\n\t\t * Set to explicitly forbid the upcoming transfer's connection to be re-used<br>\n\t\t * when done. Do not use this unless you're absolutely sure of this, as it<br>\n\t\t * makes the operation slower and is less friendly for the network.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1149</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FORBID_REUSE = 0 + 75;\n\t\t/**\n\t\t * Set to a file name that contains random data for libcurl to use to<br>\n\t\t * seed the random engine when doing SSL connects.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1153</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RANDOM_FILE = 10000 + 76;\n\t\t/**\n\t\t * Set to the Entropy Gathering Daemon socket pathname<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1156</i>\n\t\t */\n\t\tpublic static final int CURLOPT_EGDSOCKET = 10000 + 77;\n\t\t/**\n\t\t * Time-out connect operations after this amount of seconds, if connects are<br>\n\t\t * OK within this time, then fine... This only aborts the connect phase.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1160</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECTTIMEOUT = 0 + 78;\n\t\t/**\n\t\t * Function that will be called to store headers (instead of fwrite). The<br>\n\t\t * parameters will use fwrite() syntax, make sure to follow them.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1164</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADERFUNCTION = 20000 + 79;\n\t\t/**\n\t\t * Set this to force the HTTP request to get back to GET. Only really usable<br>\n\t\t * if POST, PUT or a custom request have been used first.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1169</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPGET = 0 + 80;\n\t\t/**\n\t\t * Set if we should verify the Common name from the peer certificate in ssl<br>\n\t\t * handshake, set 1 to check existence, 2 to ensure that it matches the<br>\n\t\t * provided hostname.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1174</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYHOST = 0 + 81;\n\t\t/**\n\t\t * Specify which file name to write all known cookies in after completed<br>\n\t\t * operation. Set file name to \"-\" (dash) to make it go to stdout.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1178</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIEJAR = 10000 + 82;\n\t\t/**\n\t\t * Specify which SSL ciphers to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1181</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CIPHER_LIST = 10000 + 83;\n\t\t/**\n\t\t * Specify which HTTP version to use! This must be set to one of the<br>\n\t\t * CURL_HTTP_VERSION* enums set below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1185</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP_VERSION = 0 + 84;\n\t\t/**\n\t\t * Specifically switch on or off the FTP engine's use of the EPSV command. By<br>\n\t\t * default, that one will always be attempted before the more traditional<br>\n\t\t * PASV command.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1190</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_EPSV = 0 + 85;\n\t\t/**\n\t\t * type of the file keeping your SSL-certificate (\"DER\", \"PEM\", \"ENG\")<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1193</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLCERTTYPE = 10000 + 86;\n\t\t/**\n\t\t * name of the file keeping your private SSL-key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1196</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLKEY = 10000 + 87;\n\t\t/**\n\t\t * type of the file keeping your private SSL-key (\"DER\", \"PEM\", \"ENG\")<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1199</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLKEYTYPE = 10000 + 88;\n\t\t/**\n\t\t * crypto engine for the SSL-sub system<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1202</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLENGINE = 10000 + 89;\n\t\t/**\n\t\t * set the crypto engine for the SSL-sub system as default<br>\n\t\t * the param has no meaning...<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1207</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSLENGINE_DEFAULT = 0 + 90;\n\t\t/**\n\t\t * DEPRECATED, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1211</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_USE_GLOBAL_CACHE = 0 + 91;\n\t\t/**\n\t\t * DNS cache timeout<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1214</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_CACHE_TIMEOUT = 0 + 92;\n\t\t/**\n\t\t * send linked-list of pre-transfer QUOTE commands<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1217</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PREQUOTE = 10000 + 93;\n\t\t/**\n\t\t * set the debug function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1220</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEBUGFUNCTION = 20000 + 94;\n\t\t/**\n\t\t * set the data for the debug function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1223</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEBUGDATA = 10000 + 95;\n\t\t/**\n\t\t * mark this as start of a cookie session<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1226</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIESESSION = 0 + 96;\n\t\t/**\n\t\t * The CApath directory used to validate the peer certificate<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1230</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CAPATH = 10000 + 97;\n\t\t/**\n\t\t * Instruct libcurl to use a smaller receive buffer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1233</i>\n\t\t */\n\t\tpublic static final int CURLOPT_BUFFERSIZE = 0 + 98;\n\t\t/**\n\t\t * Instruct libcurl to not use any signal/alarm handlers, even when using<br>\n\t\t * timeouts. This option is useful for multi-threaded applications.<br>\n\t\t * See libcurl-the-guide for more background information.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1238</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOSIGNAL = 0 + 99;\n\t\t/**\n\t\t * Provide a CURLShare for mutexing non-ts data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1241</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SHARE = 10000 + 100;\n\t\t/**\n\t\t * indicates type of proxy. accepted values are CURLPROXY_HTTP (default),<br>\n\t\t * CURLPROXY_HTTPS, CURLPROXY_SOCKS4, CURLPROXY_SOCKS4A and<br>\n\t\t * CURLPROXY_SOCKS5.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1246</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYTYPE = 0 + 101;\n\t\t/**\n\t\t * Set the Accept-Encoding string. Use this to tell a server you would like<br>\n\t\t * the response to be compressed. Before 7.21.6, this was known as<br>\n\t\t * CURLOPT_ENCODING<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1251</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ACCEPT_ENCODING = 10000 + 102;\n\t\t/**\n\t\t * Set pointer to private data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1254</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PRIVATE = 10000 + 103;\n\t\t/**\n\t\t * Set aliases for HTTP 200 in the HTTP Response header<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1257</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP200ALIASES = 10000 + 104;\n\t\t/**\n\t\t * Continue to send authentication (user+password) when following locations,<br>\n\t\t * even when hostname changed. This can potentially send off the name<br>\n\t\t * and password to whatever host the server decides.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1262</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UNRESTRICTED_AUTH = 0 + 105;\n\t\t/**\n\t\t * Specifically switch on or off the FTP engine's use of the EPRT command (<br>\n\t\t * it also disables the LPRT attempt). By default, those ones will always be<br>\n\t\t * attempted before the good old traditional PORT command.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1267</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_EPRT = 0 + 106;\n\t\t/**\n\t\t * Set this to a bitmask value to enable the particular authentications<br>\n\t\t * methods you like. Use this in combination with CURLOPT_USERPWD.<br>\n\t\t * Note that setting multiple bits may cause extra network round-trips.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1272</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTPAUTH = 0 + 107;\n\t\t/**\n\t\t * Set the ssl context callback function, currently only for OpenSSL or<br>\n\t\t * WolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument.<br>\n\t\t * The function must match the curl_ssl_ctx_callback prototype.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1277</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CTX_FUNCTION = 20000 + 108;\n\t\t/**\n\t\t * Set the userdata for the ssl context callback function's third<br>\n\t\t * argument<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1281</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_CTX_DATA = 10000 + 109;\n\t\t/**\n\t\t * FTP Option that causes missing dirs to be created on the remote server.<br>\n\t\t * In 7.19.4 we introduced the convenience enums for this option using the<br>\n\t\t * CURLFTP_CREATE_DIR prefix.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1287</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_CREATE_MISSING_DIRS = 0 + 110;\n\t\t/**\n\t\t * Set this to a bitmask value to enable the particular authentications<br>\n\t\t * methods you like. Use this in combination with CURLOPT_PROXYUSERPWD.<br>\n\t\t * Note that setting multiple bits may cause extra network round-trips.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1292</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYAUTH = 0 + 111;\n\t\t/**\n\t\t * FTP option that changes the timeout, in seconds, associated with<br>\n\t\t * getting a response. This is different from transfer timeout time and<br>\n\t\t * essentially places a demand on the FTP server to acknowledge commands<br>\n\t\t * in a timely manner.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1298</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_RESPONSE_TIMEOUT = 0 + 112;\n\t\t/**\n\t\t * Set this option to one of the CURL_IPRESOLVE_* defines (see below) to<br>\n\t\t * tell libcurl to resolve names to those IP versions only. This only has<br>\n\t\t * affect on systems with support for more than one, i.e IPv4 _and_ IPv6.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1304</i>\n\t\t */\n\t\tpublic static final int CURLOPT_IPRESOLVE = 0 + 113;\n\t\t/**\n\t\t * Set this option to limit the size of a file that will be downloaded from<br>\n\t\t * an HTTP or FTP server.<br>\n\t\t * Note there is also _LARGE version which adds large file support for<br>\n\t\t * platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1311</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXFILESIZE = 0 + 114;\n\t\t/**\n\t\t * See the comment for INFILESIZE above, but in short, specifies<br>\n\t\t * the size of the file being uploaded. -1 means unknown.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1316</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INFILESIZE_LARGE = 30000 + 115;\n\t\t/**\n\t\t * Sets the continuation offset. There is also a CURLOPTTYPE_LONG version<br>\n\t\t * of this; look above for RESUME_FROM.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1321</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESUME_FROM_LARGE = 30000 + 116;\n\t\t/**\n\t\t * Sets the maximum size of data that will be downloaded from<br>\n\t\t * an HTTP or FTP server. See MAXFILESIZE above for the LONG version.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1326</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXFILESIZE_LARGE = 30000 + 117;\n\t\t/**\n\t\t * Set this option to the file name of your .netrc file you want libcurl<br>\n\t\t * to parse (using the CURLOPT_NETRC option). If not set, libcurl will do<br>\n\t\t * a poor attempt to find the user's home directory and check for a .netrc<br>\n\t\t * file in there.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1332</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NETRC_FILE = 10000 + 118;\n\t\t/**\n\t\t * Enable SSL/TLS for FTP, pick one of:<br>\n\t\t * CURLUSESSL_TRY - try using SSL, proceed anyway otherwise<br>\n\t\t * CURLUSESSL_CONTROL - SSL for the control connection or fail<br>\n\t\t * CURLUSESSL_ALL - SSL for all communication or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1339</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USE_SSL = 0 + 119;\n\t\t/**\n\t\t * The _LARGE version of the standard POSTFIELDSIZE option<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1342</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTFIELDSIZE_LARGE = 30000 + 120;\n\t\t/**\n\t\t * Enable/disable the TCP Nagle algorithm<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1345</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_NODELAY = 0 + 121;\n\t\t/**\n\t\t * When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option<br>\n\t\t * can be used to change libcurl's default action which is to first try<br>\n\t\t * \"AUTH SSL\" and then \"AUTH TLS\" in this order, and proceed when a OK<br>\n\t\t * response has been received.<br>\n\t\t * Available parameters are:<br>\n\t\t * CURLFTPAUTH_DEFAULT - let libcurl decide<br>\n\t\t * CURLFTPAUTH_SSL - try \"AUTH SSL\" first, then TLS<br>\n\t\t * CURLFTPAUTH_TLS - try \"AUTH TLS\" first, then SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1365</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTPSSLAUTH = 0 + 129;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1367</i> */\n\t\tpublic static final int CURLOPT_IOCTLFUNCTION = 20000 + 130;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1368</i> */\n\t\tpublic static final int CURLOPT_IOCTLDATA = 10000 + 131;\n\t\t/**\n\t\t * zero terminated string for pass on to the FTP server when asked for<br>\n\t\t * \"account\" info<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1375</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_ACCOUNT = 10000 + 134;\n\t\t/**\n\t\t * feed cookie into cookie engine<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1378</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COOKIELIST = 10000 + 135;\n\t\t/**\n\t\t * ignore Content-Length<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1381</i>\n\t\t */\n\t\tpublic static final int CURLOPT_IGNORE_CONTENT_LENGTH = 0 + 136;\n\t\t/**\n\t\t * Set to non-zero to skip the IP address received in a 227 PASV FTP server<br>\n\t\t * response. Typically used for FTP-SSL purposes but is not restricted to<br>\n\t\t * that. libcurl will then instead use the same IP address it used for the<br>\n\t\t * control connection.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1387</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_SKIP_PASV_IP = 0 + 137;\n\t\t/**\n\t\t * Select \"file method\" to use when doing FTP, see the curl_ftpmethod<br>\n\t\t * above.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1391</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_FILEMETHOD = 0 + 138;\n\t\t/**\n\t\t * Local port number to bind the socket to<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1394</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOCALPORT = 0 + 139;\n\t\t/**\n\t\t * Number of ports to try, including the first one set with LOCALPORT.<br>\n\t\t * Thus, setting it to 1 will make no additional attempts but the first.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1399</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOCALPORTRANGE = 0 + 140;\n\t\t/**\n\t\t * no transfer, set up connection and let application use the socket by<br>\n\t\t * extracting it with CURLINFO_LASTSOCKET<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1403</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECT_ONLY = 0 + 141;\n\t\t/**\n\t\t * Function that will be called to convert from the<br>\n\t\t * network encoding (instead of using the iconv calls in libcurl)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1407</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_FROM_NETWORK_FUNCTION = 20000 + 142;\n\t\t/**\n\t\t * Function that will be called to convert to the<br>\n\t\t * network encoding (instead of using the iconv calls in libcurl)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1411</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_TO_NETWORK_FUNCTION = 20000 + 143;\n\t\t/**\n\t\t * Function that will be called to convert from UTF8<br>\n\t\t * (instead of using the iconv calls in libcurl)<br>\n\t\t * Note that this is used only for SSL certificate processing<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1416</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONV_FROM_UTF8_FUNCTION = 20000 + 144;\n\t\t/**\n\t\t * limit-rate: maximum number of bytes per second to send or receive<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1420</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAX_SEND_SPEED_LARGE = 30000 + 145;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1421</i> */\n\t\tpublic static final int CURLOPT_MAX_RECV_SPEED_LARGE = 30000 + 146;\n\t\t/**\n\t\t * Pointer to command string to send if USER/PASS fails.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1424</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_ALTERNATIVE_TO_USER = 10000 + 147;\n\t\t/**\n\t\t * callback function for setting socket options<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1427</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKOPTFUNCTION = 20000 + 148;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1428</i> */\n\t\tpublic static final int CURLOPT_SOCKOPTDATA = 10000 + 149;\n\t\t/**\n\t\t * set to 0 to disable session ID re-use for this transfer, default is<br>\n\t\t * enabled (== 1)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1432</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_SESSIONID_CACHE = 0 + 150;\n\t\t/**\n\t\t * allowed SSH authentication methods<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1435</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_AUTH_TYPES = 0 + 151;\n\t\t/**\n\t\t * Used by scp/sftp to do public/private key authentication<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1438</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_PUBLIC_KEYFILE = 10000 + 152;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1439</i> */\n\t\tpublic static final int CURLOPT_SSH_PRIVATE_KEYFILE = 10000 + 153;\n\t\t/**\n\t\t * Send CCC (Clear Command Channel) after authentication<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1442</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_SSL_CCC = 0 + 154;\n\t\t/**\n\t\t * Same as TIMEOUT and CONNECTTIMEOUT, but with ms resolution<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1445</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEOUT_MS = 0 + 155;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1446</i> */\n\t\tpublic static final int CURLOPT_CONNECTTIMEOUT_MS = 0 + 156;\n\t\t/**\n\t\t * set to zero to disable the libcurl's decoding and thus pass the raw body<br>\n\t\t * data to the application even when it is encoded/compressed<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1450</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP_TRANSFER_DECODING = 0 + 157;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1451</i> */\n\t\tpublic static final int CURLOPT_HTTP_CONTENT_DECODING = 0 + 158;\n\t\t/**\n\t\t * Permission used when creating new files and directories on the remote<br>\n\t\t * server for protocols that support it, SFTP/SCP/FILE<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1455</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NEW_FILE_PERMS = 0 + 159;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1456</i> */\n\t\tpublic static final int CURLOPT_NEW_DIRECTORY_PERMS = 0 + 160;\n\t\t/**\n\t\t * Set the behaviour of POST when redirecting. Values must be set to one<br>\n\t\t * of CURL_REDIR* defines below. This used to be called CURLOPT_POST301<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1460</i>\n\t\t */\n\t\tpublic static final int CURLOPT_POSTREDIR = 0 + 161;\n\t\t/**\n\t\t * used by scp/sftp to verify the host's public key<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1463</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 = 10000 + 162;\n\t\t/**\n\t\t * Callback function for opening socket (instead of socket(2)). Optionally,<br>\n\t\t * callback is able change the address or refuse to connect returning<br>\n\t\t * CURL_SOCKET_BAD. The callback should have type<br>\n\t\t * curl_opensocket_callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1469</i>\n\t\t */\n\t\tpublic static final int CURLOPT_OPENSOCKETFUNCTION = 20000 + 163;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1470</i> */\n\t\tpublic static final int CURLOPT_OPENSOCKETDATA = 10000 + 164;\n\t\t/**\n\t\t * POST volatile input fields.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1473</i>\n\t\t */\n\t\tpublic static final int CURLOPT_COPYPOSTFIELDS = 10000 + 165;\n\t\t/**\n\t\t * set transfer mode (;type=<a|i>) when doing FTP via an HTTP proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1476</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TRANSFER_MODE = 0 + 166;\n\t\t/**\n\t\t * Callback function for seeking in the input stream<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1479</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SEEKFUNCTION = 20000 + 167;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1480</i> */\n\t\tpublic static final int CURLOPT_SEEKDATA = 10000 + 168;\n\t\t/**\n\t\t * CRL file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1483</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CRLFILE = 10000 + 169;\n\t\t/**\n\t\t * Issuer certificate<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1486</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ISSUERCERT = 10000 + 170;\n\t\t/**\n\t\t * (IPv6) Address scope<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1489</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ADDRESS_SCOPE = 0 + 171;\n\t\t/**\n\t\t * Collect certificate chain info and allow it to get retrievable with<br>\n\t\t * CURLINFO_CERTINFO after the transfer is complete.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1493</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CERTINFO = 0 + 172;\n\t\t/**\n\t\t * \"name\" and \"pwd\" to use when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1496</i>\n\t\t */\n\t\tpublic static final int CURLOPT_USERNAME = 10000 + 173;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1497</i> */\n\t\tpublic static final int CURLOPT_PASSWORD = 10000 + 174;\n\t\t/**\n\t\t * \"name\" and \"pwd\" to use with Proxy when fetching.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1500</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYUSERNAME = 10000 + 175;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1501</i> */\n\t\tpublic static final int CURLOPT_PROXYPASSWORD = 10000 + 176;\n\t\t/**\n\t\t * Comma separated list of hostnames defining no-proxy zones. These should<br>\n\t\t * match both hostnames directly, and hostnames within a domain. For<br>\n\t\t * example, local.com will match local.com and www.local.com, but NOT<br>\n\t\t * notlocal.com or www.notlocal.com. For compatibility with other<br>\n\t\t * implementations of this, .local.com will be considered to be the same as<br>\n\t\t * local.com. A single * is the only valid wildcard, and effectively<br>\n\t\t * disables the use of proxy.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1510</i>\n\t\t */\n\t\tpublic static final int CURLOPT_NOPROXY = 10000 + 177;\n\t\t/**\n\t\t * block size for TFTP transfers<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1513</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TFTP_BLKSIZE = 0 + 178;\n\t\t/**\n\t\t * DEPRECATED, do not use!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1517</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_GSSAPI_SERVICE = 10000 + 179;\n\t\t/**\n\t\t * Socks Service<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1520</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_GSSAPI_NEC = 0 + 180;\n\t\t/**\n\t\t * set the bitmask for the protocols that are allowed to be used for the<br>\n\t\t * transfer, which thus helps the app which takes URLs from users or other<br>\n\t\t * external inputs and want to restrict what protocol(s) to deal<br>\n\t\t * with. Defaults to CURLPROTO_ALL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1526</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROTOCOLS = 0 + 181;\n\t\t/**\n\t\t * set the bitmask for the protocols that libcurl is allowed to follow to,<br>\n\t\t * as a subset of the CURLOPT_PROTOCOLS ones. That means the protocol needs<br>\n\t\t * to be set in both bitmasks to be allowed to get redirected to.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1531</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REDIR_PROTOCOLS = 0 + 182;\n\t\t/**\n\t\t * set the SSH knownhost file name to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1534</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KNOWNHOSTS = 10000 + 183;\n\t\t/**\n\t\t * set the SSH host key callback, must point to a curl_sshkeycallback<br>\n\t\t * function<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1538</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KEYFUNCTION = 20000 + 184;\n\t\t/**\n\t\t * set the SSH host key callback custom pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1541</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_KEYDATA = 10000 + 185;\n\t\t/**\n\t\t * set the SMTP mail originator<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1544</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_FROM = 10000 + 186;\n\t\t/**\n\t\t * set the list of SMTP mail receiver(s)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1547</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_RCPT = 10000 + 187;\n\t\t/**\n\t\t * FTP: send PRET before PASV<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1550</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FTP_USE_PRET = 0 + 188;\n\t\t/**\n\t\t * RTSP request method (OPTIONS, SETUP, PLAY, etc...)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1553</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_REQUEST = 0 + 189;\n\t\t/**\n\t\t * The RTSP session identifier<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1556</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_SESSION_ID = 10000 + 190;\n\t\t/**\n\t\t * The RTSP stream URI<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1559</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_STREAM_URI = 10000 + 191;\n\t\t/**\n\t\t * The Transport: header to use in RTSP requests<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1562</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_TRANSPORT = 10000 + 192;\n\t\t/**\n\t\t * Manually initialize the client RTSP CSeq for this handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1565</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_CLIENT_CSEQ = 0 + 193;\n\t\t/**\n\t\t * Manually initialize the server RTSP CSeq for this handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1568</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RTSP_SERVER_CSEQ = 0 + 194;\n\t\t/**\n\t\t * The stream to pass to INTERLEAVEFUNCTION.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1571</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERLEAVEDATA = 10000 + 195;\n\t\t/**\n\t\t * Let the application define a custom write method for RTP data<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1574</i>\n\t\t */\n\t\tpublic static final int CURLOPT_INTERLEAVEFUNCTION = 20000 + 196;\n\t\t/**\n\t\t * Turn on wildcard matching<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1577</i>\n\t\t */\n\t\tpublic static final int CURLOPT_WILDCARDMATCH = 0 + 197;\n\t\t/**\n\t\t * Directory matching callback called before downloading of an<br>\n\t\t * individual file (chunk) started<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1581</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_BGN_FUNCTION = 20000 + 198;\n\t\t/**\n\t\t * Directory matching callback called after the file (chunk)<br>\n\t\t * was downloaded, or skipped<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1585</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_END_FUNCTION = 20000 + 199;\n\t\t/**\n\t\t * Change match (fnmatch-like) callback for wildcard matching<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1588</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FNMATCH_FUNCTION = 20000 + 200;\n\t\t/**\n\t\t * Let the application define custom chunk data pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1591</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CHUNK_DATA = 10000 + 201;\n\t\t/**\n\t\t * FNMATCH_FUNCTION user pointer<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1594</i>\n\t\t */\n\t\tpublic static final int CURLOPT_FNMATCH_DATA = 10000 + 202;\n\t\t/**\n\t\t * send linked-list of name:port:address sets<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1597</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVE = 10000 + 203;\n\t\t/**\n\t\t * Set a username for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1600</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_USERNAME = 10000 + 204;\n\t\t/**\n\t\t * Set a password for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1603</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_PASSWORD = 10000 + 205;\n\t\t/**\n\t\t * Set authentication type for authenticated TLS<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1606</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLSAUTH_TYPE = 10000 + 206;\n\t\t/**\n\t\t * Set to 1 to enable the \"TE:\" header in HTTP requests to ask for<br>\n\t\t * compressed transfer-encoded responses. Set to 0 to disable the use of TE:<br>\n\t\t * in outgoing requests. The current default is 0, but it might change in a<br>\n\t\t * future libcurl release.<br>\n\t\t * libcurl will ask for the compressed methods it knows of, and if that<br>\n\t\t * isn't any, it will not ask for transfer-encoding at all even if this<br>\n\t\t * option is set to 1.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1618</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRANSFER_ENCODING = 0 + 207;\n\t\t/**\n\t\t * Callback function for closing socket (instead of close(2)). The callback<br>\n\t\t * should have type curl_closesocket_callback<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1622</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CLOSESOCKETFUNCTION = 20000 + 208;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1623</i> */\n\t\tpublic static final int CURLOPT_CLOSESOCKETDATA = 10000 + 209;\n\t\t/**\n\t\t * allow GSSAPI credential delegation<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1626</i>\n\t\t */\n\t\tpublic static final int CURLOPT_GSSAPI_DELEGATION = 0 + 210;\n\t\t/**\n\t\t * Set the name servers to use for DNS resolution<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1629</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_SERVERS = 10000 + 211;\n\t\t/**\n\t\t * Time-out accept operations (currently for FTP only) after this amount<br>\n\t\t * of milliseconds.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1633</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ACCEPTTIMEOUT_MS = 0 + 212;\n\t\t/**\n\t\t * Set TCP keepalive<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1636</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_KEEPALIVE = 0 + 213;\n\t\t/**\n\t\t * non-universal keepalive knobs (Linux, AIX, HP-UX, more)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1639</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_KEEPIDLE = 0 + 214;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1640</i> */\n\t\tpublic static final int CURLOPT_TCP_KEEPINTVL = 0 + 215;\n\t\t/**\n\t\t * Enable/disable specific SSL features with a bitmask, see CURLSSLOPT_*<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1643</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_OPTIONS = 0 + 216;\n\t\t/**\n\t\t * Set the SMTP auth originator<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1646</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_AUTH = 10000 + 217;\n\t\t/**\n\t\t * Enable/disable SASL initial response<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1649</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SASL_IR = 0 + 218;\n\t\t/**\n\t\t * Function that will be called instead of the internal progress display<br>\n\t\t * function. This function should be defined as the curl_xferinfo_callback<br>\n\t\t * prototype defines. (Deprecates CURLOPT_PROGRESSFUNCTION)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1654</i>\n\t\t */\n\t\tpublic static final int CURLOPT_XFERINFOFUNCTION = 20000 + 219;\n\t\t/**\n\t\t * The XOAUTH2 bearer token<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1657</i>\n\t\t */\n\t\tpublic static final int CURLOPT_XOAUTH2_BEARER = 10000 + 220;\n\t\t/**\n\t\t * Set the interface string to use as outgoing network<br>\n\t\t * interface for DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1662</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_INTERFACE = 10000 + 221;\n\t\t/**\n\t\t * Set the local IPv4 address to use for outgoing DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1666</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_LOCAL_IP4 = 10000 + 222;\n\t\t/**\n\t\t * Set the local IPv6 address to use for outgoing DNS requests.<br>\n\t\t * Only supported by the c-ares DNS backend<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1670</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_LOCAL_IP6 = 10000 + 223;\n\t\t/**\n\t\t * Set authentication options directly<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1673</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LOGIN_OPTIONS = 10000 + 224;\n\t\t/**\n\t\t * Enable/disable TLS NPN extension (http2 over ssl might fail without)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1676</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_ENABLE_NPN = 0 + 225;\n\t\t/**\n\t\t * Enable/disable TLS ALPN extension (http2 over ssl might fail without)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1679</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_ENABLE_ALPN = 0 + 226;\n\t\t/**\n\t\t * Time to wait for a response to a HTTP request containing an<br>\n\t\t * Expect: 100-continue header before sending the data anyway.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1683</i>\n\t\t */\n\t\tpublic static final int CURLOPT_EXPECT_100_TIMEOUT_MS = 0 + 227;\n\t\t/**\n\t\t * This points to a linked list of headers used for proxy requests only,<br>\n\t\t * struct curl_slist kind<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1687</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXYHEADER = 10000 + 228;\n\t\t/**\n\t\t * Pass in a bitmask of \"header options\"<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1690</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HEADEROPT = 0 + 229;\n\t\t/**\n\t\t * The public key in DER form used to validate the peer public key<br>\n\t\t * this option is used only if SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1694</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PINNEDPUBLICKEY = 10000 + 230;\n\t\t/**\n\t\t * Path to Unix domain socket<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1697</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UNIX_SOCKET_PATH = 10000 + 231;\n\t\t/**\n\t\t * Set if we should verify the certificate status.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1700</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_VERIFYSTATUS = 0 + 232;\n\t\t/**\n\t\t * Set if we should enable TLS false start.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1703</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSL_FALSESTART = 0 + 233;\n\t\t/**\n\t\t * Do not squash dot-dot sequences<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1706</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PATH_AS_IS = 0 + 234;\n\t\t/**\n\t\t * Proxy Service Name<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1709</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SERVICE_NAME = 10000 + 235;\n\t\t/**\n\t\t * Service Name<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1712</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SERVICE_NAME = 10000 + 236;\n\t\t/**\n\t\t * Wait/don't wait for pipe/mutex to clarify<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1715</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PIPEWAIT = 0 + 237;\n\t\t/**\n\t\t * Set the protocol used when curl is given a URL without a protocol<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1718</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DEFAULT_PROTOCOL = 10000 + 238;\n\t\t/**\n\t\t * Set stream weight, 1 - 256 (default is 16)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1721</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_WEIGHT = 0 + 239;\n\t\t/**\n\t\t * Set stream dependency on another CURL handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1724</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_DEPENDS = 10000 + 240;\n\t\t/**\n\t\t * Set E-xclusive stream dependency on another CURL handle<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1727</i>\n\t\t */\n\t\tpublic static final int CURLOPT_STREAM_DEPENDS_E = 10000 + 241;\n\t\t/**\n\t\t * Do not send any tftp option requests to the server<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1730</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TFTP_NO_OPTIONS = 0 + 242;\n\t\t/**\n\t\t * Linked-list of host:port:connect-to-host:connect-to-port,<br>\n\t\t * overrides the URL's host:port (only for the network layer)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1734</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CONNECT_TO = 10000 + 243;\n\t\t/**\n\t\t * Set TCP Fast Open<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1737</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TCP_FASTOPEN = 0 + 244;\n\t\t/**\n\t\t * Continue to send data if the server responds early with an<br>\n\t\t * HTTP status code >= 300<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1741</i>\n\t\t */\n\t\tpublic static final int CURLOPT_KEEP_SENDING_ON_ERROR = 0 + 245;\n\t\t/**\n\t\t * The CApath or CAfile used to validate the proxy certificate<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1745</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CAINFO = 10000 + 246;\n\t\t/**\n\t\t * The CApath directory used to validate the proxy certificate<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1749</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CAPATH = 10000 + 247;\n\t\t/**\n\t\t * Set if we should verify the proxy in ssl handshake,<br>\n\t\t * set 1 to verify.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1753</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_VERIFYPEER = 0 + 248;\n\t\t/**\n\t\t * Set if we should verify the Common name from the proxy certificate in ssl<br>\n\t\t * handshake, set 1 to check existence, 2 to ensure that it matches<br>\n\t\t * the provided hostname.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1758</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_VERIFYHOST = 0 + 249;\n\t\t/**\n\t\t * What version to specifically try to use for proxy.<br>\n\t\t * See CURL_SSLVERSION defines below.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1762</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLVERSION = 0 + 250;\n\t\t/**\n\t\t * Set a username for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1765</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_USERNAME = 10000 + 251;\n\t\t/**\n\t\t * Set a password for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1768</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_PASSWORD = 10000 + 252;\n\t\t/**\n\t\t * Set authentication type for authenticated TLS for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1771</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_TLSAUTH_TYPE = 10000 + 253;\n\t\t/**\n\t\t * name of the file keeping your private SSL-certificate for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1774</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLCERT = 10000 + 254;\n\t\t/**\n\t\t * type of the file keeping your SSL-certificate (\"DER\", \"PEM\", \"ENG\") for<br>\n\t\t * proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1778</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLCERTTYPE = 10000 + 255;\n\t\t/**\n\t\t * name of the file keeping your private SSL-key for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1781</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLKEY = 10000 + 256;\n\t\t/**\n\t\t * type of the file keeping your private SSL-key (\"DER\", \"PEM\", \"ENG\") for<br>\n\t\t * proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1785</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSLKEYTYPE = 10000 + 257;\n\t\t/**\n\t\t * password for the SSL private key for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1788</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_KEYPASSWD = 10000 + 258;\n\t\t/**\n\t\t * Specify which SSL ciphers to use for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1791</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_CIPHER_LIST = 10000 + 259;\n\t\t/**\n\t\t * CRL file for proxy<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1794</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_CRLFILE = 10000 + 260;\n\t\t/**\n\t\t * Enable/disable specific SSL features with a bitmask for proxy, see<br>\n\t\t * CURLSSLOPT_*<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1798</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_SSL_OPTIONS = 0 + 261;\n\t\t/**\n\t\t * Name of pre proxy to use.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1801</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PRE_PROXY = 10000 + 262;\n\t\t/**\n\t\t * The public key in DER form used to validate the proxy public key<br>\n\t\t * this option is used only if PROXY_SSL_VERIFYPEER is true<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1805</i>\n\t\t */\n\t\tpublic static final int CURLOPT_PROXY_PINNEDPUBLICKEY = 10000 + 263;\n\t\t/**\n\t\t * Path to an abstract Unix domain socket<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1808</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ABSTRACT_UNIX_SOCKET = 10000 + 264;\n\t\t/**\n\t\t * Suppress proxy CONNECT response headers from user callbacks<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1811</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SUPPRESS_CONNECT_HEADERS = 0 + 265;\n\t\t/**\n\t\t * The request target, instead of extracted from the URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1814</i>\n\t\t */\n\t\tpublic static final int CURLOPT_REQUEST_TARGET = 10000 + 266;\n\t\t/**\n\t\t * bitmask of allowed auth methods for connections to SOCKS5 proxies<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1817</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SOCKS5_AUTH = 0 + 267;\n\t\t/**\n\t\t * Enable/disable SSH compression<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1820</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SSH_COMPRESSION = 0 + 268;\n\t\t/**\n\t\t * Post MIME data.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1823</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MIMEPOST = 10000 + 269;\n\t\t/**\n\t\t * Time to use with the CURLOPT_TIMECONDITION. Specified in number of<br>\n\t\t * seconds since 1 Jan 1970.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1827</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TIMEVALUE_LARGE = 30000 + 270;\n\t\t/**\n\t\t * Head start in milliseconds to give happy eyeballs.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1830</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS = 0 + 271;\n\t\t/**\n\t\t * Function that will be called before a resolver request is made<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1833</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVER_START_FUNCTION = 20000 + 272;\n\t\t/**\n\t\t * User data to pass to the resolver start callback.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1836</i>\n\t\t */\n\t\tpublic static final int CURLOPT_RESOLVER_START_DATA = 10000 + 273;\n\t\t/**\n\t\t * send HAProxy PROXY protocol header?<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1839</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HAPROXYPROTOCOL = 0 + 274;\n\t\t/**\n\t\t * shuffle addresses before use when DNS returns multiple<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1842</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DNS_SHUFFLE_ADDRESSES = 0 + 275;\n\t\t/**\n\t\t * Specify which TLS 1.3 ciphers suites to use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1845</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TLS13_CIPHERS = 10000 + 276;\n\t\t/** <i>native declaration : include\\curl\\curl.h:1846</i> */\n\t\tpublic static final int CURLOPT_PROXY_TLS13_CIPHERS = 10000 + 277;\n\t\t/**\n\t\t * Disallow specifying username/login in URL.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1849</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DISALLOW_USERNAME_IN_URL = 0 + 278;\n\t\t/**\n\t\t * DNS-over-HTTPS URL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1852</i>\n\t\t */\n\t\tpublic static final int CURLOPT_DOH_URL = 10000 + 279;\n\t\t/**\n\t\t * Preferred buffer size to use for uploads<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1855</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPLOAD_BUFFERSIZE = 0 + 280;\n\t\t/**\n\t\t * Time in ms between connection upkeep calls for long-lived connections.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1858</i>\n\t\t */\n\t\tpublic static final int CURLOPT_UPKEEP_INTERVAL_MS = 0 + 281;\n\t\t/**\n\t\t * Specify URL using CURL URL API.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1861</i>\n\t\t */\n\t\tpublic static final int CURLOPT_CURLU = 10000 + 282;\n\t\t/**\n\t\t * add trailing data just after no more data is available<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1864</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRAILERFUNCTION = 20000 + 283;\n\t\t/**\n\t\t * pointer to be passed to HTTP_TRAILER_FUNCTION<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1867</i>\n\t\t */\n\t\tpublic static final int CURLOPT_TRAILERDATA = 10000 + 284;\n\t\t/**\n\t\t * set this to 1L to allow HTTP/0.9 responses or 0L to disallow<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1870</i>\n\t\t */\n\t\tpublic static final int CURLOPT_HTTP09_ALLOWED = 0 + 285;\n\t\t/**\n\t\t * alt-svc control bitmask<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1873</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ALTSVC_CTRL = 0 + 286;\n\t\t/**\n\t\t * alt-svc cache file name to possibly read from/write to<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1876</i>\n\t\t */\n\t\tpublic static final int CURLOPT_ALTSVC = 10000 + 287;\n\t\t/**\n\t\t * maximum age of a connection to consider it for reuse (in seconds)<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1879</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAXAGE_CONN = 0 + 288;\n\t\t/**\n\t\t * SASL authorisation identity<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1882</i>\n\t\t */\n\t\tpublic static final int CURLOPT_SASL_AUTHZID = 10000 + 289;\n\t\t/**\n\t\t * allow RCPT TO command to fail for some recipients<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1885</i>\n\t\t */\n\t\tpublic static final int CURLOPT_MAIL_RCPT_ALLLOWFAILS = 0 + 290;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:1887</i>\n\t\t */\n\t\tpublic static final int CURLOPT_LASTENTRY = (0 + 290 + 1);\n\t}", "title": "" }, { "docid": "4ed0db7150c539b527fb1a58605c3f89", "score": "0.54545146", "text": "Pointer curl_version();", "title": "" }, { "docid": "32e24e83d945a4bfd6a8ce916c0aac04", "score": "0.5433496", "text": "public int getEnum(PointerRNA ptr)\r\n//\tstatic int rna_RenderSettings_engine_get(PointerRNA *ptr)\r\n\t{\n\t\t\r\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "3e536afe03be70fbbb136c94d540ce7c", "score": "0.5425281", "text": "EnumDecl createEnumDecl();", "title": "" }, { "docid": "6e2406078a961b3d798895b9e7b48310", "score": "0.54228544", "text": "interface Constants {\n\n /**\n * Magic no. used in stream verification.\n */\n int MAGIC = 0xBADDECAF;\n\n /**\n * Indicates that the packet contains protocol version.\n */\n int VERSION = 0x00000001;\n\n /**\n * Indicates that a packet is a request to open a new channel.\n */\n byte OPEN = 0x20;\n\n /**\n * Indicates that a packet is a request to close an existing channel.\n */\n byte CLOSE = 0x21;\n\n /**\n * Indicates the start of an invocation request.\n */\n byte REQUEST = 0x30;\n\n /**\n * Indicates the start of an invocation return.\n */\n byte RESPONSE = 0x31;\n\n /**\n * Indicates the continuation of a stream of data packets.\n */\n byte DATA = 0x32;\n\n /**\n * Indicates that the client is supplying user/password authentication\n * details.\n */\n byte AUTH_BASIC = 0x40;\n\n /**\n * Indicates that a client is supplying no authentication details.\n */\n byte AUTH_NONE = 0x41;\n\n /**\n * Indicates that connection has been accepted.\n */\n byte AUTH_OK = 0x4E;\n\n /**\n * Indicates that connection has been refused.\n */\n byte AUTH_DENIED = 0x4F;\n\n /**\n * Indicates that a packet is a ping request.\n */\n byte PING_REQUEST = 0x50;\n\n /**\n * Indicates that a packet is a ping response.\n */\n byte PING_RESPONSE = 0x51;\n\n /**\n * Indicates the no. of bytes read from the stream.\n */\n byte FLOW_READ = 0x60;\n\n /**\n * Indicates to close the connection.\n */\n byte SHUTDOWN = 0x70;\n\n}", "title": "" }, { "docid": "c90949664f5447554163833ff56aaafb", "score": "0.54178226", "text": "protected AffectEnum( int __n ) { __Ezj_value = __n; }", "title": "" }, { "docid": "f209c517457d51f4c416eaad8730d8ad", "score": "0.541041", "text": "Pointer curl_easy_strerror(int CURLcode1);", "title": "" }, { "docid": "4bb7035a25a7036519d077711fd70efb", "score": "0.53877246", "text": "Enumeration createEnumeration();", "title": "" }, { "docid": "5fa8fdb390e7690a784a3b5d3fa27737", "score": "0.5385041", "text": "public ASNEnumType() {\n setType (ENUM);\n \n /* Do collections */\n namedNumberList = new Vector ();\n }", "title": "" }, { "docid": "24e859b17cd095a4d2757e585d3e4b6e", "score": "0.53815246", "text": "public void setEnum(PointerRNA ptr, int value)\r\n//\tstatic void rna_RenderSettings_engine_set(PointerRNA *ptr, int value)\r\n\t{\n\t}", "title": "" }, { "docid": "a5fa363c99df1e3055a36b4278aa75b4", "score": "0.5380362", "text": "interface C9388l0 {\n\n /* renamed from: com.crashlytics.android.core.l0$a */\n public enum C9389a {\n JAVA,\n NATIVE\n }\n\n /* renamed from: a */\n Map<String, String> mo25081a();\n\n /* renamed from: b */\n String mo25082b();\n\n /* renamed from: c */\n File mo25083c();\n\n /* renamed from: d */\n File[] mo25084d();\n\n String getIdentifier();\n\n C9389a getType();\n\n void remove();\n}", "title": "" }, { "docid": "25d8a45a5228682c476469a5825eb7fe", "score": "0.53652686", "text": "public interface C0262a {\n public static final C0274a f458a;\n\n /* renamed from: com.chartboost.sdk.Libraries.a.1 */\n static class C15131 extends C1190e {\n C15131() {\n }\n\n public boolean m5690a(Object obj) {\n int intValue = ((Number) obj).intValue();\n return intValue >= 200 && intValue < 300;\n }\n\n public String m5689a() {\n return \"Must be a valid status code (>=200 && <300)\";\n }\n }\n\n static {\n f458a = C0276g.m485b(C0276g.m483b(), new C15131());\n }", "title": "" }, { "docid": "c8271c62e3a847a96bb9a3ddc9083f11", "score": "0.5330166", "text": "private void enumerationTypeDefinition(){\n accept(Token.L_PAR, \"'(' expected\");\n SymbolEntry list = identifierList();\n // All of the IDs here should be constants\n this.setRole(list, SymbolEntry.CONST);\n accept(Token.R_PAR, \"')' expected\");\n }", "title": "" }, { "docid": "0fb23af9a279381081d06feee21cfb60", "score": "0.5318695", "text": "public interface C15242e {\n\n /* renamed from: a */\n public static final int f44164a = -1;\n\n /* renamed from: b */\n public static final int f44165b = -2;\n\n /* renamed from: a */\n long mo47169a(C15462n nVar) throws HttpException;\n}", "title": "" }, { "docid": "319776a46df4b89ab30fe02d3012191d", "score": "0.5302713", "text": "public static interface curl_khmatch {\n\t\t/**\n\t\t * match<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:727</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_OK = 0;\n\t\t/**\n\t\t * host found, key mismatch!<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:728</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_MISMATCH = 1;\n\t\t/**\n\t\t * no matching host/key found<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:729</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_MISSING = 2;\n\t\t/**\n\t\t * not for use, only a marker for last-in-list<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:730</i>\n\t\t */\n\t\tpublic static final int CURLKHMATCH_LAST = 3;\n\t}", "title": "" }, { "docid": "5f65d00a7eae2d69416fddef40f84017", "score": "0.52896136", "text": "Enum createEnum();", "title": "" }, { "docid": "c3073eb1d19d707e394ac77bea28a570", "score": "0.5282601", "text": "Pointer curl_share_strerror(int CURLSHcode1);", "title": "" }, { "docid": "a20bf6c5d1f5a8f09267147a48f7b966", "score": "0.5278019", "text": "public static interface curl_closepolicy {\n\t\t/**\n\t\t * first, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2568</i>\n\t\t */\n\t\tpublic static final int CURLCLOSEPOLICY_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2570</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_OLDEST = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2571</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_LEAST_RECENTLY_USED = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2572</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_LEAST_TRAFFIC = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2573</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_SLOWEST = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2574</i> */\n\t\tpublic static final int CURLCLOSEPOLICY_CALLBACK = 5;\n\t\t/**\n\t\t * last, never use this<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2576</i>\n\t\t */\n\t\tpublic static final int CURLCLOSEPOLICY_LAST = 6;\n\t}", "title": "" }, { "docid": "2f83fa9721e8a03edccace1aa655dc27", "score": "0.52688295", "text": "public interface MessageConstant {\n public final static String HB_STR = \"0-0\";\n\n public enum COMMAND_TYPE {\n FIND(\"find\",\"\"),\n CONFIG(\"config===\",\"===\");\n private String cmd;\n private String split;\n COMMAND_TYPE(String cmd,String split){\n this.cmd=cmd;\n this.split=split;\n }\n }\n}", "title": "" }, { "docid": "ca78f8bb894f8aba6d17b5e205530e6b", "score": "0.5264217", "text": "PointerByReference curl_mime_init(Libcurl4Library.CURL easy);", "title": "" }, { "docid": "4ce069d31b11fe60176caab0d63334e4", "score": "0.52311945", "text": "com.cdiscount.www.AcceptationStateEnum.Enum getAcceptationState();", "title": "" }, { "docid": "5690505bd0b2460a69788ca421021ad5", "score": "0.522877", "text": "public EnumDeclaration(int flags, String name, List<? extends ReferenceType> impl, List<Node> body,\n String fn, int bl, int bc, int el, int ec) {\n super(flags, name, new ReferenceType(\"java.lang.Enum\"), impl, HandleConstructors(name, body), fn, bl, bc, el, ec);\n }", "title": "" }, { "docid": "3f469fa157437d9011a60a0746adcb2c", "score": "0.52205426", "text": "int curl_easy_setopt(Libcurl4Library.CURL curl, int option, Object... varargs);", "title": "" }, { "docid": "83a6119c92877872ce3f6e2378ceefb9", "score": "0.5210896", "text": "public interface UpgraderConstants {\n\n /** Current data services version */\n public static final String DATA_CURRENT_VERSION = \"1.6\";\n \n /** Current WS-Enumeration support version */\n public static final String ENUMERATION_CURRENT_VERSION = \"1.6\";\n}", "title": "" }, { "docid": "7125d8dcaa43ac7a5b51f90b7092bb5a", "score": "0.5207049", "text": "private IfcStateEnum(int value, String name, String literal) {\n\t\tthis.value = value;\n\t\tthis.name = name;\n\t\tthis.literal = literal;\n\t}", "title": "" }, { "docid": "5b9d461c30aa5f1c2285402d1c1d9235", "score": "0.5202112", "text": "Enum(String type, String name, String version) {\n this.type = type;\n this.name = name;\n this.version = version;\n }", "title": "" }, { "docid": "dbf5bbfbf841820b30b6f61785cffac5", "score": "0.52012724", "text": "EnumC69953Je(int i) {\n this.value = i;\n }", "title": "" }, { "docid": "987540bd4b27b4b61169d3ebf4750fde", "score": "0.51765466", "text": "public interface ResponseCode {\n final int JOIN_SUCCESS=1;\n final int JOIN_FAIL=2;\n final int GROUPDETAIL_SUCCESS=11;\n final int GROUPJOIN_SUCCESS=15;\n final int GROUPJOIN_FAIL=16;\n final int JOIN_NICKNAMECHECK_SUCCESS=13;\n final int JOIN_NICKNAMECHECK_FAIL=14;\n final int FEED_ADD_SUCCESS=15;\n final int FEED_ADD_FAIL=16;\n final int COMMUNITY_SUCCESS = 31;\n final int COMMENTLIST_SUCCESS = 23;\n final int COMMENTWRITE_SUCCESS=21;\n final int FEED_SUCCESS=9;\n\n}", "title": "" }, { "docid": "55df82f51bf22bf1a6d233f54669e6d2", "score": "0.5176391", "text": "private static interface Constants {\n\n\t\tString CONTENT_TYPE = \"Content-Type\";\n\t\tString APPLICATION_V2_JSON = \"application/vnd.schemaregistry.v2+json\";\n\t}", "title": "" }, { "docid": "529ce8ac6f1de2cba737b564cbb71918", "score": "0.5174881", "text": "public interface ErrorCode {\n\n /*0 成功\n 200\t逻辑错误\n 300\t没有权限\n 400\t未找到服务\n 500\t服务器错误*/\n\n /**\n * 成功\n */\n public static final int Code_Success = 0;\n /**\n * 逻辑错误\n */\n public static final int Code_200 = 200;\n /**\n * 没有权限\n */\n public static final int Code_300 = 300;\n /**\n * 服务未找到\n */\n public static final int Code_400 = 400;\n /**\n * 服务器错误\n */\n public static final int Code_500 = 500;\n}", "title": "" }, { "docid": "0fa565819acf2a600207e1df53b6de12", "score": "0.51596224", "text": "long getCodeType();", "title": "" }, { "docid": "cf29055b73ee437b338a9288de238daf", "score": "0.515497", "text": "public static interface ATTM_STATUS\n\t{\n\t\tpublic static final int UNKNOWN = -1;\n\t\tpublic static final int NOT_INSTALLED = 0;\n\t\tpublic static final int INSTALLED_NOT_PROVISIONED = 1;\n\t\tpublic static final int PROVISIONED = 2;\n\t}", "title": "" }, { "docid": "ad68c6d23f48c8c1aaa90333d1f9cc97", "score": "0.514622", "text": "@Override\n\tpublic Object visitEnum_decl(InterpreterParser.Enum_declContext ctx) {\n\t\tint val = 0;\n\t\tfor(int i = 1; i < ctx.id().size(); ++i){\n\t\t\t//visit(ctx.ID(i));\n\t\t\tvisit(ctx.id(i));\n\t\t\tif (i - 1 < ctx.NUM().size()){\n\t\t\t\tval = Integer.valueOf(ctx.NUM(i-1).getText());\n\t\t\t}\n\t\t\tProgram.getInstance().Symbols[id_index].Class = Program.getInstance().NUM;\n\t\t\tProgram.getInstance().Symbols[id_index].Type = Program.getInstance().INT;\n\t\t\tProgram.getInstance().Symbols[id_index].Value = val++;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "add606f2cdb25ef13f19e22e1f81e226", "score": "0.51222664", "text": "Pointer curl_multi_strerror(int CURLMcode1);", "title": "" }, { "docid": "18da3a2213766226e35ebd644228c9a3", "score": "0.51176816", "text": "private OrgEnum(final String value) {\r\n\t\tthis.value = value;\r\n\t}", "title": "" }, { "docid": "7ee0ecd4ee367344e3a10bb3bc0dce89", "score": "0.5107909", "text": "public interface ParserBasicInformation {\n\n public static final int ERROR_SYMBOL = 118, MAX_NAME_LENGTH = 41, NUM_STATES = 1102, NT_OFFSET = 118, SCOPE_UBOUND = 290, SCOPE_SIZE = 291, LA_STATE_OFFSET = 16382, MAX_LA = 1, NUM_RULES = 800, NUM_TERMINALS = 118, NUM_NON_TERMINALS = 360, NUM_SYMBOLS = 478, START_STATE = 1580, EOFT_SYMBOL = 60, EOLT_SYMBOL = 60, ACCEPT_ACTION = 16381, ERROR_ACTION = 16382;\n}", "title": "" }, { "docid": "61fdd96f49ec178d7d37975c49bd4303", "score": "0.51074827", "text": "public static interface curl_TimeCond {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2023</i> */\n\t\tpublic static final int CURL_TIMECOND_NONE = 0;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2025</i> */\n\t\tpublic static final int CURL_TIMECOND_IFMODSINCE = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2026</i> */\n\t\tpublic static final int CURL_TIMECOND_IFUNMODSINCE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2027</i> */\n\t\tpublic static final int CURL_TIMECOND_LASTMOD = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2029</i> */\n\t\tpublic static final int CURL_TIMECOND_LAST = 4;\n\t}", "title": "" }, { "docid": "c76d907940e33ed9f09eebd84755191a", "score": "0.50776756", "text": "public interface CYKPARSERConstants {\r\n\r\n /** End of File. */\r\n int EOF = 0;\r\n /** RegularExpression Id. */\r\n int LF = 4;\r\n /** RegularExpression Id. */\r\n int LFLF = 5;\r\n /** RegularExpression Id. */\r\n int VARIABLE = 6;\r\n /** RegularExpression Id. */\r\n int TS = 7;\r\n /** RegularExpression Id. */\r\n int TERMINAL = 8;\r\n /** RegularExpression Id. */\r\n int DIVISION = 9;\r\n\r\n /** Lexical state. */\r\n int DEFAULT = 0;\r\n\r\n /** Literal token values. */\r\n String[] tokenImage = {\r\n \"<EOF>\",\r\n \"\\\" \\\"\",\r\n \"\\\"\\\\r\\\"\",\r\n \"\\\"\\\\t\\\"\",\r\n \"\\\"\\\\n\\\"\",\r\n \"\\\" \\\\n\\\"\",\r\n \"<VARIABLE>\",\r\n \"<TS>\",\r\n \"<TERMINAL>\",\r\n \"\\\"->\\\"\",\r\n };\r\n\r\n}", "title": "" }, { "docid": "a1335f614a648dc606d40545db6eb102", "score": "0.5072927", "text": "private TipoImpuestoIvaEnum(String code)\n/* 10: */ {\n/* 11:15 */ this.code = code;\n/* 12: */ }", "title": "" }, { "docid": "44f6ef2a81035908bdf0c7fc4b0f0402", "score": "0.5070726", "text": "private DeviceTypeEnum(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "b7d089767608d6c8a1502de83d6e2434", "score": "0.50688756", "text": "private DeviceStateEnum(int value) {\n this.value = value;\n }", "title": "" }, { "docid": "1595a4dbf5dc068c282f9ad476eea0ef", "score": "0.50682616", "text": "@Generated\npublic interface SchemeConstantsU {\n\n String U = \"U\";\n String URGP = \"URGP\";\n String UNWD = \"UNWD\";\n String UNWR = \"UNWR\";\n String UNWEIGHT = \"UNWEIGHT\";\n String UNDE = \"UNDE\";\n String UNT = \"UNT\";\n String UNKNOWN = \"UNKNOWN\";\n String UPDT = \"UPDT\";\n String UNAF = \"UNAF\";\n String UNBA = \"UNBA\";\n String USECU = \"USECU\";\n String UNCO = \"UNCO\";\n String UNFR = \"UNFR\";\n String UNDL = \"UNDL\";\n String UNALL = \"UNALL\";\n String UDTP = \"UDTP\";\n String UCPURR_LATEST_VERSION = \"UCPURR_LATEST_VERSION\";\n String UCP_LATEST_VERSION = \"UCP_LATEST_VERSION\";\n String URR_LATEST_VERSION = \"URR_LATEST_VERSION\";\n String UNDK = \"UNDK\";\n String URDG = \"URDG\";\n\n}", "title": "" }, { "docid": "0c26c290f25b0a9f340508419c0c9271", "score": "0.50551236", "text": "public static interface curl_lock_access {\n\t\t/**\n\t\t * unspecified action<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2609</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_NONE = 0;\n\t\t/**\n\t\t * for read perhaps<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2610</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_SHARED = 1;\n\t\t/**\n\t\t * for write perhaps<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2611</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_SINGLE = 2;\n\t\t/**\n\t\t * never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2612</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_ACCESS_LAST = 3;\n\t}", "title": "" }, { "docid": "83c9dabd5e50a61d07bf1b4dd99025c3", "score": "0.5050527", "text": "EnumFieldAtom createEnumFieldAtom();", "title": "" }, { "docid": "70aa5179635a9dac63277d20d0c382de", "score": "0.504969", "text": "public interface PlatformEnum {\n \n /**\n * Get name of platform constant.\n * \n * @return platform constant name\n */\n String getName();\n \n /**\n * Determine if the specified context platform matches this constant.\n * \n * @param contextPlatform active context platform\n * @return 'true' if this constant matches the specified context platform; otherwise 'false'\n */\n boolean matches(String contextPlatform);\n \n}", "title": "" }, { "docid": "00c94ca3abdbd952b71c2b45862b4ce8", "score": "0.5034356", "text": "public static interface curl_ftpmethod {\n\t\t/**\n\t\t * let libcurl pick<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:821</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_DEFAULT = 0;\n\t\t/**\n\t\t * single CWD operation for each path part<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:822</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_MULTICWD = 1;\n\t\t/**\n\t\t * no CWD at all<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:823</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_NOCWD = 2;\n\t\t/**\n\t\t * one CWD to full dir, then work on file<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:824</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_SINGLECWD = 3;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:825</i>\n\t\t */\n\t\tpublic static final int CURLFTPMETHOD_LAST = 4;\n\t}", "title": "" }, { "docid": "949b4b46d11418727214f4ff2086782c", "score": "0.50320965", "text": "EnumFieldValue createEnumFieldValue();", "title": "" }, { "docid": "52ccf791dd3f90d386682ea8a801db48", "score": "0.5029953", "text": "AuthenticationStateEnum(String value) {\n\t\tthis.value = value;\n\t}", "title": "" }, { "docid": "8ec4e46d18268523b21a8e0d1cb6c231", "score": "0.50291663", "text": "private IfcFlowInstrumentTypeEnum(int value, String name, String literal) {\r\n\t\tthis.value = value;\r\n\t\tthis.name = name;\r\n\t\tthis.literal = literal;\r\n\t}", "title": "" }, { "docid": "2fd9be84ae6d54bc7da273dba85f4525", "score": "0.5023284", "text": "gov.nih.nlm.ncbi.www.OrgModDocument.OrgMod.Subtype.Value.Enum getValue();", "title": "" }, { "docid": "f715c360c0dba1fd28204d60551d06c6", "score": "0.5016053", "text": "@Override\n public int[] getSupportedTypes() {\n return new int[]{C.TYPE_DASH, C.TYPE_HLS, C.TYPE_OTHER};\n }", "title": "" }, { "docid": "cd1f8c4388fcf9d31f3b0d596a566941", "score": "0.501411", "text": "String asEnumConstant();", "title": "" }, { "docid": "f329d378248032dc1cf84ecce7b84250", "score": "0.50044495", "text": "public static interface curl_usessl {\n\t\t/**\n\t\t * do not attempt to use SSL<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:742</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_NONE = 0;\n\t\t/**\n\t\t * try using SSL, proceed anyway otherwise<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:743</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_TRY = 1;\n\t\t/**\n\t\t * SSL for the control connection or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:744</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_CONTROL = 2;\n\t\t/**\n\t\t * SSL for all communication or fail<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:745</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_ALL = 3;\n\t\t/**\n\t\t * not an option, never use<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:746</i>\n\t\t */\n\t\tpublic static final int CURLUSESSL_LAST = 4;\n\t}", "title": "" }, { "docid": "7f043360de8a7ec410dc16f88ffa472e", "score": "0.50028026", "text": "public interface RequestCode {\n int CAMERA_REQUEST_CODE = 300;\n int GALLERY_REQUEST_CODE = 400;\n\n int ADD_ITEM_REQUEST_CODE = 125;\n int UPDATE_ITEM_REQUEST_CODE = 126;\n\n int ADD_USER_REQUEST_CODE = 255;\n int UPDATE_USER_REQUEST_CODE = 256;\n\n int ADD_LOCATION_REQUEST_CODE = 377;\n int UPDATE_LOCATION_REQUEST_CODE = 378;\n\n int RC_BARCODE_CAPTURE = 9001;\n\n int ADD_ITEM_IN_REQUEST_CODE = 444;\n int UPDATE_ITEM_IN_REQUEST_CODE = 445;\n\n int ADD_ITEM_OUT_REQUEST_CODE = 511;\n int UPDATE_ITEM_OUT_REQUEST_CODE = 512;\n\n int UPDATE_USER_INFO = 800;\n}", "title": "" }, { "docid": "155599789d5ccf6458a79f060b0b302f", "score": "0.5000432", "text": "public interface Enumeration extends DataType {\n /**\n * Appends the EnumerationLiteral to the literals list. It allows duplicates. Null values are not\n * allowed. This is equivalent to using addLiteral(countLiterals(), literal).\n *\n *\n * @param literal The EnumerationLiteral to add to this list\n * @throws IllegalArgumentException if literal is null\n */\n void addLiteral(EnumerationLiteral literal);\n\n /**\n * Adds the EnumerationLiteral at the index position in the literals list. It allows duplicates.\n * Null values are not allowed. Note that adding at index = countLiterals() is equivalent to\n * calling addLiteral(literal).\n *\n *\n * @param index the position to insert this EnumerationLiteral in this list\n * @param literal The EnumerationLiteral to add to this list\n * @throws IllegalArgumentException if literal is null\n * @throws IndexOutOfBoundsException if index < 0 or index > literals.size()\n */\n void addLiteral(int index, EnumerationLiteral literal);\n\n /**\n * Appends the EnumerationLiteral instance to the literals list. It allows duplicates. Null values\n * are not allowed. This is equivalent to using addLiterals(countLiterals(), literals).\n *\n *\n * @param literals The EnumerationLiteral collection to add to this list\n * @throws IllegalArgumentException if literals is null or contains null elements.\n */\n void addLiterals(Collection<EnumerationLiteral> literals);\n\n /**\n * Adds the EnumerationLiteral instances at the index position in the contained literals list. It\n * allows duplicates. Null values are not allowed. Note that adding at index = countLiterals() is\n * equivalent to calling addLiterals(literals).\n *\n *\n * @param index the position to insert this EnumerationLiteral collection in this list\n * @param literals The EnumerationLiteral collection to add to this list\n * @throws IllegalArgumentException if literals is null or contains null elements\n * @throws IndexOutOfBoundsException if index < 0 or index > countLiterals()\n */\n void addLiterals(int index, Collection<EnumerationLiteral> literals);\n\n /**\n * Sets the EnumerationLiteral at the index position in the literals list. Null values are not allowed.\n *\n *\n * @param index the position to set this EnumerationLiteral in this list\n * @param literal The EnumerationLiteral to set in this list\n * @throws IllegalArgumentException if literal is null\n * @throws IndexOutOfBoundsException if index < 0 or index >= literals.size()\n */\n void setLiteral(int index, EnumerationLiteral literal);\n\n /**\n * Removes the EnumerationLiteral instance at the index position from the literals list.\n *\n *\n * @return EnumerationLiteral The removed EnumerationLiteral\n * @param index the position of the EnumerationLiteral in this list to remove\n * @throws IndexOutOfBoundsException if index < 0 or index >= literals.size()\n */\n EnumerationLiteral removeLiteral(int index);\n\n /**\n * Removes the first instance, by reference, of the passed EnumerationLiteral, from the literals list.\n *\n *\n * @return true if the instance was in the list and was successfully removed, false if it was not\n * removed, or did not exist in the list\n * @param literal The EnumerationLiteral to remove from this list\n * @throws IllegalArgumentException if literal is null\n */\n boolean removeLiteral(EnumerationLiteral literal);\n\n /**\n * Removes the instances, by reference, of each passed EnumerationLiteral from the contained\n * literals list. It will iterate via the passed collection using its iterator and remove the first\n * instance, by reference, of each passed EnumerationLiteral, from the contained literals list.\n *\n *\n * @return boolean True if the state of the contained literals list has changed, false otherwise.\n * @param literals Collection of EnumerationLiteral instances to remove from the contained list\n * @throws IllegalArgumentException if literals is null or it contains null elements\n */\n boolean removeLiterals(Collection<EnumerationLiteral> literals);\n\n /**\n * Removes all elements from the literals list.\n *\n */\n void clearLiterals();\n\n /**\n * Returns a shallow copy of the literals list.\n *\n *\n * @return shallow copy of the literals list\n */\n List<EnumerationLiteral> getLiterals();\n\n /**\n * Checks if the EnumerationLiteral is contained in the literals list. The check is done by reference.\n *\n *\n * @return true if the EnumerationLiteral is in the list, false otherwise\n * @param literal The EnumerationLiteral to check for its presence in this list\n * @throws IllegalArgumentException if literal is null\n */\n boolean containsLiteral(EnumerationLiteral literal);\n\n /**\n * Gets the index of the appearance of the EnumerationLiteral, by reference, in the literals list.\n * It will always return the index of the first instance of the EnumerationLiteral if there are\n * duplicates in the list. It will return -1 if the EnumerationLiteral instance is not in the list.\n *\n *\n * @return the index of the EnumerationLiteral instance in the list, or -1 if not found\n * @param literal EnumerationLiteral instance to look for\n * @throws IllegalArgumentException if argument is null.\n */\n int indexOfLiteral(EnumerationLiteral literal);\n\n /**\n * Returns the size of the literals list.\n *\n *\n * @return the number of elements in the list\n */\n int countLiterals();\n}", "title": "" }, { "docid": "97a493c651b0464df1da136af312724b", "score": "0.4993635", "text": "Pointer curl_easy_init();", "title": "" }, { "docid": "d9a44dd27eabff5a2d312a73c262f495", "score": "0.49879906", "text": "public static interface CURLMoption {\n\t\t/**\n\t\t * This is the socket callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:348</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_SOCKETFUNCTION = 20000 + 1;\n\t\t/**\n\t\t * This is the argument passed to the socket callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:351</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_SOCKETDATA = 10000 + 2;\n\t\t/**\n\t\t * set to 1 to enable pipelining for this multi handle<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:354</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING = 0 + 3;\n\t\t/**\n\t\t * This is the timer callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:357</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_TIMERFUNCTION = 20000 + 4;\n\t\t/**\n\t\t * This is the argument passed to the timer callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:360</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_TIMERDATA = 10000 + 5;\n\t\t/**\n\t\t * maximum number of entries in the connection cache<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:363</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAXCONNECTS = 0 + 6;\n\t\t/**\n\t\t * maximum number of (pipelining) connections to one host<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:366</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_HOST_CONNECTIONS = 0 + 7;\n\t\t/**\n\t\t * maximum number of requests in a pipeline<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:369</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_PIPELINE_LENGTH = 0 + 8;\n\t\t/**\n\t\t * a connection with a content-length longer than this<br>\n\t\t * will not be considered for pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:373</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE = 30000 + 9;\n\t\t/**\n\t\t * a connection with a chunk length longer than this<br>\n\t\t * will not be considered for pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:377</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE = 30000 + 10;\n\t\t/**\n\t\t * a list of site names(+port) that are blacklisted from<br>\n\t\t * pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:381</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING_SITE_BL = 10000 + 11;\n\t\t/**\n\t\t * a list of server types that are blacklisted from<br>\n\t\t * pipelining<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:385</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PIPELINING_SERVER_BL = 10000 + 12;\n\t\t/**\n\t\t * maximum number of open connections in total<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:388</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_TOTAL_CONNECTIONS = 0 + 13;\n\t\t/**\n\t\t * This is the server push callback function pointer<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:391</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PUSHFUNCTION = 20000 + 14;\n\t\t/**\n\t\t * This is the argument passed to the server push callback<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:394</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_PUSHDATA = 10000 + 15;\n\t\t/**\n\t\t * maximum number of concurrent streams to support on a connection<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:397</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_MAX_CONCURRENT_STREAMS = 0 + 16;\n\t\t/**\n\t\t * the last unused<br>\n\t\t * <i>native declaration : include\\curl\\multi.h:399</i>\n\t\t */\n\t\tpublic static final int CURLMOPT_LASTENTRY = (0 + 16 + 1);\n\t}", "title": "" }, { "docid": "2138ae6e56b2974b6025ecbe80990b09", "score": "0.49868712", "text": "@Override\r\n public void visitEnumLiteral(EnumLiteral literal) {\n }", "title": "" }, { "docid": "38f299b5c4b984eaf368c641a0f9dfb2", "score": "0.49841273", "text": "public interface StatusCodes {\n\n /**\n * Everything is ok\n */\n int OK = 0;\n\n /**\n * Status code for a client side error\n */\n int CLIENT_NETWORK_ERROR = 900;\n\n /**\n * Status code for an internal server error\n */\n int INTERNAL_SERVER_ERROR = 500;\n\n int BAD_REQUEST = 400;\n int FORBIDDEN = 403;\n}", "title": "" }, { "docid": "9ac8f816f2749904e7c715204d4c82b5", "score": "0.49795914", "text": "public interface RequestCode {\n final int LIKE_REQUEST = 100;\n public static final int PICK_FROM_CAMERA = 0;\n public static final int PICK_FROM_ALBUM=1;\n public static final int CROP_FROM_CAMERA = 2;\n\n final String LIKE_URL = \"LikeServlet\";\n}", "title": "" }, { "docid": "7cadb87ce6fbea0426021cd7483765d5", "score": "0.4966871", "text": "EnumField createEnumField();", "title": "" }, { "docid": "042d1fff2109dd6412744cceed237c4a", "score": "0.49425822", "text": "public static interface curl_lock_data {\n\t\t/** <i>native declaration : include\\curl\\curl.h:2593</i> */\n\t\tpublic static final int CURL_LOCK_DATA_NONE = 0;\n\t\t/**\n\t\t * CURL_LOCK_DATA_SHARE is used internally to say that<br>\n\t\t * the locking is just made to change the internal state of the share<br>\n\t\t * itself.<br>\n\t\t * <i>native declaration : include\\curl\\curl.h:2598</i>\n\t\t */\n\t\tpublic static final int CURL_LOCK_DATA_SHARE = 1;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2599</i> */\n\t\tpublic static final int CURL_LOCK_DATA_COOKIE = 2;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2600</i> */\n\t\tpublic static final int CURL_LOCK_DATA_DNS = 3;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2601</i> */\n\t\tpublic static final int CURL_LOCK_DATA_SSL_SESSION = 4;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2602</i> */\n\t\tpublic static final int CURL_LOCK_DATA_CONNECT = 5;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2603</i> */\n\t\tpublic static final int CURL_LOCK_DATA_PSL = 6;\n\t\t/** <i>native declaration : include\\curl\\curl.h:2604</i> */\n\t\tpublic static final int CURL_LOCK_DATA_LAST = 7;\n\t}", "title": "" }, { "docid": "51b019b65d24a209f714e8cc71628346", "score": "0.49348024", "text": "EnumLiteral createEnumLiteral();", "title": "" }, { "docid": "51b019b65d24a209f714e8cc71628346", "score": "0.49348024", "text": "EnumLiteral createEnumLiteral();", "title": "" } ]
72fc604ab3335f05d082e86702b9743a
Constructor con atributos propios (Clase Habitacion)
[ { "docid": "05ced929d57c65e74cc41c9f0636ca1f", "score": "0.65801466", "text": "public Habitacion(int numeroCuarto, int numeroPersonas, Date fechaIngreso, Date fechaSalida) {\r\n this.numeroCuarto = numeroCuarto;\r\n this.numeroPersonas = numeroPersonas;\r\n this.fechaIngreso = fechaIngreso;\r\n this.fechaSalida = fechaSalida;\r\n }", "title": "" } ]
[ { "docid": "a4a47be3d8ae61d24a261770b6e779df", "score": "0.73225003", "text": "public Anemometro() {\r\n\t \tsuper();\r\n\r\n\t\r\n\t}", "title": "" }, { "docid": "254c55d33e75a5dfad0ec8771a056b47", "score": "0.7232891", "text": "public BusquedaDeHabitaciones() {\n }", "title": "" }, { "docid": "8e1be2a4a386d2af2edc821e2211c480", "score": "0.7162732", "text": "public Asistencia()\r\n {\r\n initialize();\r\n }", "title": "" }, { "docid": "ca6676f8f7fe91aacfa0321526506052", "score": "0.70641625", "text": "public Pessoa() {\r\n\t}", "title": "" }, { "docid": "9a2490660271643274b2cda156924da9", "score": "0.69731784", "text": "private Bomba(){\n\t\tsuper();\n\t\tthis.setTamanio(new Tamanio(Config.BOMBA_ANCHO, Config.BOMBA_ALTO));\n\t\tthis.setDanio(Config.BOMBA_DANIO);\t\n\t}", "title": "" }, { "docid": "d6763404df054605388f0aac9bdf6753", "score": "0.6964741", "text": "public Comentario() {\r\n super();\r\n }", "title": "" }, { "docid": "697cf63d2f3c32a4ee826ed03f76bd2b", "score": "0.6948935", "text": "public Condominio() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "a0f07c23272ef4d080a168a87b7bb66d", "score": "0.6913731", "text": "public Diccionario() {\n\t\t\n\t}", "title": "" }, { "docid": "4a03c230eb23fd60ee90703a06a65cf0", "score": "0.6904924", "text": "public BaiaBaiaDelMundo()\n {\n }", "title": "" }, { "docid": "a0880136c57a43d9d500c9895c7170f4", "score": "0.689938", "text": "public Habitacion(int numeroCuarto, int numeroPersonas, Date fechaIngreso, Date fechaSalida, int numeroEdificio, int numeroPiso, String personaEncargada, String direccion, String nombredueno, String nombreEmpresa, String telefonoEmpresa, Date fechaDeApertura) {\r\n super(numeroEdificio, numeroPiso, personaEncargada, direccion, nombredueno, nombreEmpresa, telefonoEmpresa, fechaDeApertura);\r\n this.numeroCuarto = numeroCuarto;\r\n this.numeroPersonas = numeroPersonas;\r\n this.fechaIngreso = fechaIngreso;\r\n this.fechaSalida = fechaSalida;\r\n }", "title": "" }, { "docid": "e471c0668df24d47accb8523bf8f203b", "score": "0.68660694", "text": "public Obras1() {\r\n\t}", "title": "" }, { "docid": "9ff824a5e67995b97893cd889da74025", "score": "0.6863489", "text": "public Threat()\r\n\t{\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "2f99ef74abdacfa2ab9f791fce95dc9a", "score": "0.68509656", "text": "public Carrinho () {\n\n }", "title": "" }, { "docid": "5f77fffa0b66aba39372f4001e586a14", "score": "0.6837384", "text": "public Boleta() {\n }", "title": "" }, { "docid": "3eeac37039018adb09f4036bb4f96972", "score": "0.6827826", "text": "public Historial() {\r\n\t}", "title": "" }, { "docid": "8c973ea8c3668e782a7d1c75fec2a052", "score": "0.6825199", "text": "public Atendimento(){\n\t\t\n\t}", "title": "" }, { "docid": "00e11c2403e00708a1ab5c7342f9eb41", "score": "0.6821125", "text": "public PromedioPorColeccion() {\n }", "title": "" }, { "docid": "bcab4df45f1dbbf0b687d5db8ec7071c", "score": "0.6817429", "text": "public Dependente() {\r\n \r\n }", "title": "" }, { "docid": "f83ecc6080875f3cfb17501161cb8b75", "score": "0.6808999", "text": "public Igual() {\n }", "title": "" }, { "docid": "3379037fc158b288be88dc8359c608c6", "score": "0.6791332", "text": "public Solicitud() {\n }", "title": "" }, { "docid": "9ea932ad70b4cd9f86a7720ca9237271", "score": "0.67892444", "text": "public AclamacaoEvangelho(){}", "title": "" }, { "docid": "1254b0ee901ff89d0d036a743e819b31", "score": "0.67743343", "text": "public Diccionario() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "4bd1f25f95cd9a535b387c0425839328", "score": "0.67618877", "text": "public Albero() {\n\n /* rimanda al costruttore della classe */\n this(new AlberoModello());\n\n }", "title": "" }, { "docid": "ab5a9e4dca48d436ad35c03718073d13", "score": "0.6751481", "text": "public Anatomy() {\n \n }", "title": "" }, { "docid": "dd66eb0a77eb0818e929e311c09f57ea", "score": "0.67509216", "text": "public Spielauswahl ()\n {\n \n }", "title": "" }, { "docid": "6775b595961aa657d0b2db26a9faf014", "score": "0.67489433", "text": "public Prenotazione() {super(); }", "title": "" }, { "docid": "9247ccc01b08a67ecfff046242fc84e9", "score": "0.6738885", "text": "public Alumno () {\n }", "title": "" }, { "docid": "a139b232e1eee840b579fc32c9a99cd6", "score": "0.6729537", "text": "public AbsenceControleur() {\r\n }", "title": "" }, { "docid": "b25b13d0cfe26416f2bb7e82cabfd918", "score": "0.67250115", "text": "public HistoriaClinica() {\r\n }", "title": "" }, { "docid": "e763a27b61a34d4a604d744c8b37fe60", "score": "0.6713949", "text": "private void construct(){\n\t\t\n\t}", "title": "" }, { "docid": "ca9fd3596c915ed7aa5476efdc6c819a", "score": "0.6708186", "text": "protected Comestible() {\n\n\t}", "title": "" }, { "docid": "0ecfdef8363b6de2360a4b77b542a7b2", "score": "0.6689791", "text": "public Spieldaten() {\r\n \r\n }", "title": "" }, { "docid": "83a8abd7747f14abb3f4cacddd2a1e80", "score": "0.6687734", "text": "public Fantasmas() {\r\n\t}", "title": "" }, { "docid": "ee6d239833f75f1187d126b9db0ed731", "score": "0.6675683", "text": "public Caracteristicas() {\n }", "title": "" }, { "docid": "4b5a1dc93b10f72f552f11a986b7fe11", "score": "0.6674191", "text": "public Entidad() {\n\t}", "title": "" }, { "docid": "caca925031c28508bbaf9576ee03695d", "score": "0.66663814", "text": "public XeKhach(){}", "title": "" }, { "docid": "e5b4de9e3603fe9dc7008bf174657bb5", "score": "0.66623867", "text": "public Mochila() {\r\n\r\n}", "title": "" }, { "docid": "0d29ca348e91bacabe7a9a137bf2ff74", "score": "0.66570354", "text": "public Alumno() {\r\n\t}", "title": "" }, { "docid": "45876975a15cde5e71dcd4dbec601b9a", "score": "0.6651696", "text": "public Ficha() {\n\t}", "title": "" }, { "docid": "fd46a70b91898c47a02f70058b33698e", "score": "0.66513574", "text": "public Autentikacija() {\n }", "title": "" }, { "docid": "5c1a2c27137d0b9a0a75d86ab699ce0a", "score": "0.6629224", "text": "public Partida() {\n }", "title": "" }, { "docid": "dfabad6771a30c3e82427851a7fc0168", "score": "0.6623278", "text": "public DaftarPegawai() {\n }", "title": "" }, { "docid": "789fadd4987db941edb4a8e1c8aea74e", "score": "0.66191727", "text": "public Metodologia() {}", "title": "" }, { "docid": "83e7a941ef13a12370e8df935432c00b", "score": "0.65819", "text": "public SgamactaraDefImpl()\n {\n }", "title": "" }, { "docid": "d9473bf4d2b2b9a51fad5053539ee1d0", "score": "0.65783226", "text": "public Goal() {\n\t\t\n\t}", "title": "" }, { "docid": "027bbdf43bfbeeefe97a903a7e36f861", "score": "0.65777594", "text": "public Paciente() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "5e0ffdc2f8374b9e68363fec8e07274c", "score": "0.6572998", "text": "public Persona() {\n\t\t\n\t}", "title": "" }, { "docid": "46b2c244d5d8e24f660e008b016787b5", "score": "0.657142", "text": "public Diet() {\n }", "title": "" }, { "docid": "8d6ec5439ad72e8c74e129afd99017e1", "score": "0.6563945", "text": "public Filtro() {\n\t\t\n\t}", "title": "" }, { "docid": "9d9638d072514815b8e1e15cfc71ab55", "score": "0.65638375", "text": "public Interfaz() {\n\n }", "title": "" }, { "docid": "bb871a973afd31aae345fc270d61aeec", "score": "0.6563414", "text": "public daGiac(){\n \n }", "title": "" }, { "docid": "61d06eddbf520fa03b3c8609f7637754", "score": "0.65487903", "text": "public Seguridad() {\r\n }", "title": "" }, { "docid": "796cd00074420d8cd9f21c828764f4d0", "score": "0.6545732", "text": "public PuntoVenta(){\n \n }", "title": "" }, { "docid": "aa0e3c4b6fe2cd5c763ec8025ed9d3b9", "score": "0.65433717", "text": "public RespuestaComprobante() {}", "title": "" }, { "docid": "1cca5d8df4e3f3c12d59f0014138dc4c", "score": "0.65417546", "text": "public LancamentoAprovisionado() {}", "title": "" }, { "docid": "10659a019254b043679a865b41bd683b", "score": "0.6534684", "text": "public Empresa() {\n compañia1 = new Compañia(\"Movistar\");\n compañia2 = new Compañia(\"Vodafone\");\n compañia3 = new Compañia(\"Otros\");\n }", "title": "" }, { "docid": "7827592da266986b7e967c0fadfdbda5", "score": "0.6527828", "text": "public Empleado() {\n\t\t// Start of user code constructor for Empleado)\n\t\tsuper();\n\t\t// End of user code\n\t}", "title": "" }, { "docid": "fae15fc962116712b72704947a797116", "score": "0.65250695", "text": "public Wuerfel(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "af7b33abb862a429fefe709e0f92319c", "score": "0.65178883", "text": "public Computador()\n\t{\n\t\tinitComputador();\n\t}", "title": "" }, { "docid": "1be0b68607cafadc05fa34c91e202e68", "score": "0.65156704", "text": "public ExTemporalidade() {\n\t}", "title": "" }, { "docid": "d1b6a265315a88191f375aaa542010bd", "score": "0.65127116", "text": "public Schreiben()\n {\n }", "title": "" }, { "docid": "36a529998a8c064382e946c27607a735", "score": "0.65096784", "text": "public reloj(){// Contructor porque la clase es heredada\n super();\n }", "title": "" }, { "docid": "bd687549a9325eddf344140ff0b59ae5", "score": "0.650312", "text": "public Turno(){\n \n }", "title": "" }, { "docid": "1ee12bd0aca02917c74afd640bd93ded", "score": "0.6495863", "text": "public FiltroSistemaAbastecimento() {\r\n\t}", "title": "" }, { "docid": "442992e834056fbd7f35ca018c56de87", "score": "0.6492653", "text": "public Clinic() {\n\t}", "title": "" }, { "docid": "3d25ad3080ae5eb63ab8fcc58cf405bb", "score": "0.64902335", "text": "public void inicializa() ;", "title": "" }, { "docid": "1234d8ce2cc97d19de67e9c3f995b201", "score": "0.64751995", "text": "public compraMB() {\r\n \r\n }", "title": "" }, { "docid": "ed0bcb4229c29bc5d32bc499df37cfd8", "score": "0.6474401", "text": "public CH() {\n }", "title": "" }, { "docid": "2d043de3179ce8946e3eafb334e625cc", "score": "0.6473741", "text": "public ProyectoParticipante() {}", "title": "" }, { "docid": "fb65c094d2646433435cafc49f651c6d", "score": "0.6471821", "text": "public Tbddinhkem1() {\n super();\n }", "title": "" }, { "docid": "4654d617b4d14f144951db3d867362dc", "score": "0.6471676", "text": "public Relatorios() {\r\n }", "title": "" }, { "docid": "86e23c8e11b7c601205154c987f669c7", "score": "0.647128", "text": "public Herbivorous(){\n\n }", "title": "" }, { "docid": "f5fa312ac4b9a712000d763b3b41dbe5", "score": "0.64701945", "text": "public Estudiante()\n {\n }", "title": "" }, { "docid": "177f62add571fc6c5417532448fbae03", "score": "0.6467427", "text": "public Pilha ()\n\t{\n\t\tthis.iniciacao (10, 10);\n\t}", "title": "" }, { "docid": "0dae36f9f9dbe7c64ff0d53e46541f8c", "score": "0.6466971", "text": "@Override\n\tpublic void construir(Object... args) {\n\t\t\n\t}", "title": "" }, { "docid": "07c3158a0aaa599913eef25b89d03343", "score": "0.6460286", "text": "public Diplome() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "ca5c4bb5a861fcdf741af3ff1dbdbb0e", "score": "0.6457847", "text": "public Societe() {}", "title": "" }, { "docid": "f712a2058f8a807f87bd2ba9b8e0c94b", "score": "0.6456532", "text": "public Empleados() {\n initComponents();\n limpiarextra();\n llenarBanco();\n cargar();\n }", "title": "" }, { "docid": "b623d0f9691b28330bb97136160d1954", "score": "0.6456247", "text": "public ProductoAtributo(Producto producto, Atributo atributo)\r\n/* 50: */ {\r\n/* 51: 73 */ this.producto = producto;\r\n/* 52: 74 */ this.atributo = atributo;\r\n/* 53: */ }", "title": "" }, { "docid": "1bd6e67d2331458e7b5dfee551e37cd1", "score": "0.6453832", "text": "public Fila(){\n super();\n }", "title": "" }, { "docid": "fc639a33efd628c6bf27453243e08468", "score": "0.6453452", "text": "public futbolista() {\n\t\t\tSystem.out.println(\"Constructor Vacio\");\n\t\t}", "title": "" }, { "docid": "e355ee61dd119b8549f2a58a8adc4318", "score": "0.64471835", "text": "public Cactus() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "bd012f470142a8b18db43dee85efa717", "score": "0.64456576", "text": "public CSolicitud() {\r\n }", "title": "" }, { "docid": "76ced39fcba31f14a7262dfa769d7f0f", "score": "0.64454585", "text": "public DocenteLaboral(){}", "title": "" }, { "docid": "3be5d4877afc6416b16b653f58600141", "score": "0.64407974", "text": "public BuktiPresensi(){\n }", "title": "" }, { "docid": "2b52eb9ff7e7044bdf722f1548f74047", "score": "0.64290917", "text": "public Pracownik() {\n }", "title": "" }, { "docid": "05a2ded528c70151a438aa69a43d941a", "score": "0.6422183", "text": "@Override\n\tpublic void inicializar() {\n\t\t\n\t}", "title": "" }, { "docid": "0e0718a9e6c00d3bc144d058cec162e9", "score": "0.6420748", "text": "public PerfilAmbito() { }", "title": "" }, { "docid": "57536032ef88f711f39f10df45920bbb", "score": "0.642026", "text": "public ArchFond() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "6996bdc1ad81d7b2cd47dc8b4f227747", "score": "0.64054954", "text": "public Agente() {\n\n }", "title": "" }, { "docid": "622cb44814dac04ed0af11ebb25822ab", "score": "0.64044935", "text": "public Persona() {\n\t}", "title": "" }, { "docid": "f355083eb11d92a77df0f28cade2290e", "score": "0.63984627", "text": "public Conexion() {\n\t}", "title": "" }, { "docid": "750fdfb4bc78eb40ad4ae40f8c5d4a92", "score": "0.6397867", "text": "public Fundacion() {\r\n }", "title": "" }, { "docid": "6f2fa865a1b300c77e6cf4e3e85b83c6", "score": "0.6393348", "text": "public Asistencia() {\n \n initComponents();\n \n \n \n }", "title": "" }, { "docid": "cd4337bcf08b5f394fe8df47f5d75d83", "score": "0.6392858", "text": "public Caboose(){\n\t\tsuper(null);\n\t}", "title": "" }, { "docid": "a3d09de55ad9511aa0b04e42d830bd55", "score": "0.63916236", "text": "public HesabKolEntity() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "3c4ffa102579d6edfa590b8916c05869", "score": "0.6388477", "text": "private ServicosRecursosHumanos() {\n }", "title": "" }, { "docid": "6b2fbdbbebcf1a9c64cd2ef726f3f75a", "score": "0.63852835", "text": "public Meteo() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "1d1e9b1c22e41adfe6332c0e9d6380a3", "score": "0.6379305", "text": "public Dominio()\n {\n \n }", "title": "" }, { "docid": "426a39a56faa3be171622fd5a0efd5fa", "score": "0.6378233", "text": "public ContaCorrente() {}", "title": "" } ]
12b675df093964ab48a05acbc3d15a36
Getter method for the COM property "Thumbnails"
[ { "docid": "1bbbc9d3c44ebdc869bf56e6d5afb11d", "score": "0.6509329", "text": "@DISPID(37) //= 0x25. The runtime will prefer the VTID if present\r\n @VTID(83)\r\n boolean thumbnails();", "title": "" } ]
[ { "docid": "4c162e89de117298a323079769cfa145", "score": "0.7433795", "text": "List<String> getThumbnails();", "title": "" }, { "docid": "08457aafb1b161edb75c164a8efa7397", "score": "0.7342171", "text": "@XmlElementWrapper(name = \"thumbnails\")\n\t@XmlElements( { @XmlElement(name = \"thumbnail\", type = ThumbnailItem.class) })\n\tpublic List<ThumbnailItem> getThumbnails() {\n\t\treturn thumbnails;\n\t}", "title": "" }, { "docid": "73225fa9b7f62daea44a808a8eb3db23", "score": "0.70896554", "text": "net.iGap.proto.ProtoGlobal.Thumbnail getSmallThumbnail();", "title": "" }, { "docid": "8eac37ae6e2a67ab0f04e45a387c1ada", "score": "0.7027147", "text": "public String getThumbnail() {\n return this.thumbnail;\n }", "title": "" }, { "docid": "cfd29a99bfe6221812a3f98161246405", "score": "0.7007234", "text": "public String getThumb() {\n return thumb;\n }", "title": "" }, { "docid": "8151fd1eb2863637d6779b1d49ec4f05", "score": "0.694824", "text": "public Bitmap getThumbnail(){\n return mThumbnail;\n }", "title": "" }, { "docid": "b3b6ff43aca4de4ed1fed202738ea41d", "score": "0.69345003", "text": "public String getThumbnail() {\r\n\t\treturn this.thumbnail;\r\n\t}", "title": "" }, { "docid": "b3b6ff43aca4de4ed1fed202738ea41d", "score": "0.69345003", "text": "public String getThumbnail() {\r\n\t\treturn this.thumbnail;\r\n\t}", "title": "" }, { "docid": "a7e7faef872579d9553c57ff7c9615d9", "score": "0.6920706", "text": "net.iGap.proto.ProtoGlobal.Thumbnail getLargeThumbnail();", "title": "" }, { "docid": "cec3b210e2ee7b4db5d9e9a84a7f6b21", "score": "0.6849617", "text": "public String getThumb() {\r\n\t\treturn thumb;\r\n\t}", "title": "" }, { "docid": "5358d0eba77820d56e835d8a7b92d1d0", "score": "0.6808787", "text": "net.iGap.proto.ProtoGlobal.Thumbnail getWaveformThumbnail();", "title": "" }, { "docid": "a66ae0c4c65713c1d4796f66f8831d7b", "score": "0.67947197", "text": "public List<ThumbFile> listThumbnails();", "title": "" }, { "docid": "6b0e976312d81bbdf4b69ad6c091b2a6", "score": "0.67705226", "text": "Dimension getThumbSize();", "title": "" }, { "docid": "fe9a438db2e331699ac813ac6dfac9da", "score": "0.67347956", "text": "public AssetThumbSize getThumbnailSize() {\n return mThumbnailSize;\n }", "title": "" }, { "docid": "71d7b6efe5c6f799678d9e66f5ce5954", "score": "0.668346", "text": "public ResourceLink getThumbnail() {\n return this.thumbnail;\n }", "title": "" }, { "docid": "0f045694b8804b4e98eecffb4236f73c", "score": "0.6605104", "text": "public String getthumbnailURL() {return null;}", "title": "" }, { "docid": "bf4c51610f573da36b705daf56df28ba", "score": "0.6541165", "text": "net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getSmallThumbnailOrBuilder();", "title": "" }, { "docid": "f82031864e5baf39d3871175e54f44f6", "score": "0.65375775", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getSmallThumbnailOrBuilder() {\n return getSmallThumbnail();\n }", "title": "" }, { "docid": "6a1aa01c272ab5f993425eed5083152e", "score": "0.65067637", "text": "public String thumbprint() {\n return this.thumbprint;\n }", "title": "" }, { "docid": "0de613a403e635dc9e90125c604f485d", "score": "0.64439076", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getLargeThumbnailOrBuilder() {\n return getLargeThumbnail();\n }", "title": "" }, { "docid": "0920e568966d6565e9e586f1cb1a6412", "score": "0.6418828", "text": "public String getThumbUrl() {\n return thumbUrl;\n }", "title": "" }, { "docid": "9527ef74682c3664066a8c854fdb7dcf", "score": "0.63766664", "text": "net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getLargeThumbnailOrBuilder();", "title": "" }, { "docid": "aab89d676f607ea43859c783fe78faf5", "score": "0.6349495", "text": "java.lang.String getThumbURL();", "title": "" }, { "docid": "8302f6b48e37bea8b0086d38712cbb13", "score": "0.63018453", "text": "@DISPID(37) //= 0x25. The runtime will prefer the VTID if present\r\n @VTID(84)\r\n void thumbnails(\r\n boolean prop);", "title": "" }, { "docid": "16eab44222f92520b045dc0796e02277", "score": "0.6249659", "text": "public String getThumbprint() {\r\n\t\treturn _thumbprint;\r\n\t}", "title": "" }, { "docid": "7a8898c732c3844a0554d5b93aaa8a29", "score": "0.6248269", "text": "Map<String, String> getThumbnailUrls();", "title": "" }, { "docid": "363190b2123bb49a2919fe844ea90386", "score": "0.61972386", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getWaveformThumbnailOrBuilder() {\n return getWaveformThumbnail();\n }", "title": "" }, { "docid": "e29ca6787674e63ccec4129eab8debc8", "score": "0.6193482", "text": "@ApiModelProperty(value = \"A url for displaying a thumbnail of this item\")\n public String getThumbnailUrl() {\n return thumbnailUrl;\n }", "title": "" }, { "docid": "11c1abb19603ea18d8861f7fc8f65333", "score": "0.6154099", "text": "java.lang.String getThumbprint();", "title": "" }, { "docid": "b34ed4c993339de6d2f6a928f40fe43f", "score": "0.61415213", "text": "public interface MThumbSliderAdditional\n{\n /**\n * Gets the bounding box of the slider\n * @return the bounding box of the slider\n */\n Rectangle getTrackRect();\n\n /**\n * Gets the size of thumbs\n * @return the size of the thumb\n */\n Dimension getThumbSize();\n\n /// Gets the x position of thumb tip for that value on the slider body\n int xPositionForValue(int value);\n\n /// Gets the y position of thumb tip for that value on the slider body\n int yPositionForValue(int value);\n}", "title": "" }, { "docid": "c915dba3e28fc083ec52998d3f78bcd7", "score": "0.61071455", "text": "int getThumbSizeKB();", "title": "" }, { "docid": "b33c5ec9ea8136fb89fa06e3a1b8d7ec", "score": "0.60665417", "text": "@Updatable\n public List<String> getThumbPrints() {\n if (thumbPrints == null) {\n thumbPrints = new ArrayList<>();\n }\n\n return thumbPrints;\n }", "title": "" }, { "docid": "0aa915b4a783f86356376459832db8ca", "score": "0.6053178", "text": "public IMOps thumbnail()\n {\n\n String oper; // only used in some methods\n StringBuffer buf = new StringBuffer(); // local buffer for option-args\n iCmdArgs.add(\"-thumbnail\");\n\n if (buf.length() > 0)\n {\n iCmdArgs.add(buf.toString());\n }\n return this;\n }", "title": "" }, { "docid": "e1e5d036c212996738e05ddc372590b1", "score": "0.60437065", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.Thumbnail getWaveformThumbnail() {\n return waveformThumbnail_ == null ? net.iGap.proto.ProtoGlobal.Thumbnail.getDefaultInstance() : waveformThumbnail_;\n }", "title": "" }, { "docid": "dab92969c00f77d0d6a551018a5802a2", "score": "0.6032616", "text": "@javax.annotation.Nullable\n @ApiModelProperty(example = \"https://pps.whatsapp.net/v/t61.24694-24/11111111_2222222222222222_3333333_n.jpg?oh=f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8&oe=5E5E5E5E\", value = \"An URL to the thumbnail photo\")\n @JsonProperty(JSON_PROPERTY_THUMBNAIL_PHOTO_URL)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getThumbnailPhotoUrl() {\n return thumbnailPhotoUrl;\n }", "title": "" }, { "docid": "b5ec0a9df7075e27044e2181bf94bdad", "score": "0.60309243", "text": "private GalleryProperties innerProperties() {\n return this.innerProperties;\n }", "title": "" }, { "docid": "0c9490fcf1b23098d2c2058c9ea48d25", "score": "0.60234165", "text": "boolean hasSmallThumbnail();", "title": "" }, { "docid": "e6a58c6958f719256c59452f4041c791", "score": "0.60212713", "text": "org.apache.xmlbeans.XmlString xgetThumbURL();", "title": "" }, { "docid": "8032bc4b8ec1d95c4e0dec427f35ad9a", "score": "0.5997474", "text": "public Dimension getThumbnailPreferredSize(){\n\t\t\n\t\treturn this.thumbnailPreferredSize;\n\t\t\n\t}", "title": "" }, { "docid": "1ace4ff24f1613ee49719aa33fef011f", "score": "0.5988119", "text": "net.iGap.proto.ProtoGlobal.ThumbnailOrBuilder getWaveformThumbnailOrBuilder();", "title": "" }, { "docid": "b73dd0072e265d71771988f1ae0c3bce", "score": "0.59872115", "text": "public Bitmap getThumbnail()\n {\n return BitmapFactory.decodeFile(this.thumbnailPath);\n }", "title": "" }, { "docid": "03922e64d9811fcd930e065510355146", "score": "0.5973303", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.Thumbnail getSmallThumbnail() {\n return smallThumbnail_ == null ? net.iGap.proto.ProtoGlobal.Thumbnail.getDefaultInstance() : smallThumbnail_;\n }", "title": "" }, { "docid": "87c05b77094a158ecbe55d75bdd370aa", "score": "0.59633875", "text": "@java.lang.Override\n public net.iGap.proto.ProtoGlobal.Thumbnail getLargeThumbnail() {\n return largeThumbnail_ == null ? net.iGap.proto.ProtoGlobal.Thumbnail.getDefaultInstance() : largeThumbnail_;\n }", "title": "" }, { "docid": "6a9fd88e70104bd7fd65fee64b474c44", "score": "0.5946654", "text": "@ApiModelProperty(example = \"https://cloud.wowza.com/proxy/stats/?target=10.11.12.13&app=app-79b8&stream=99b62146@130135.stream&media=json\", value = \"The URL to receive the preview thumbnail.\")\n public String getThumbnailUrl() {\n return thumbnailUrl;\n }", "title": "" }, { "docid": "528fd821b01a43c0e2e3168c851b7b89", "score": "0.59264696", "text": "@ApiModelProperty(example = \"null\", value = \"Indicates if a thumbnail has been generated \")\n public Boolean getHasThumbnail() {\n return hasThumbnail;\n }", "title": "" }, { "docid": "2fddf5ee9015a00ac8e12d750e59db2b", "score": "0.5917621", "text": "public String thumbView() {\n setViewType(ResultViewType.THUMBNAILS);\n setStartRow(0);\n setFetchRows(-1);\n resetTableView();\n return show();\n }", "title": "" }, { "docid": "498e2c99b0ec31771965210ebd4e2264", "score": "0.5911517", "text": "String getThumbnailUrl(String name);", "title": "" }, { "docid": "2af3192e33772216e3f99cc4e1c2f08b", "score": "0.5910382", "text": "@java.lang.Override\n public boolean hasSmallThumbnail() {\n return smallThumbnail_ != null;\n }", "title": "" }, { "docid": "f4437a0e36387461fddce5326259fc45", "score": "0.5908438", "text": "boolean hasLargeThumbnail();", "title": "" }, { "docid": "9102993ab959e2b38a7bc5e659341dd1", "score": "0.58976364", "text": "public java.lang.String getThumbnailUrl() {\n java.lang.Object ref = thumbnailUrl_;\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 thumbnailUrl_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "4de92acdcce74fa26284551ec344debb", "score": "0.5846971", "text": "@Override\r\n\tpublic List<WzImageProperty> getProperties() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "d3b2baf331d970d0311a105b58c5e448", "score": "0.58441925", "text": "public android.graphics.drawable.Drawable getThumb() { throw new RuntimeException(\"Stub!\"); }", "title": "" }, { "docid": "9b4925291e2d6066cc5415660c1dd379", "score": "0.5827856", "text": "org.apache.xmlbeans.XmlInt xgetThumbSizeKB();", "title": "" }, { "docid": "72c587fd57939f04632bcdf9c1e63bed", "score": "0.58001506", "text": "public PictureT getListingPicture() {\n return listingPicture;\n }", "title": "" }, { "docid": "5995af507feb5334ec8b1dce3fca7a76", "score": "0.5787019", "text": "public java.lang.String getCarThumb() {\r\n return localCarThumb;\r\n }", "title": "" }, { "docid": "cf4d1d6943e3281b5570aacfbb22b1ec", "score": "0.5773141", "text": "@java.lang.Override\n public boolean hasLargeThumbnail() {\n return largeThumbnail_ != null;\n }", "title": "" }, { "docid": "3de590a1f0be555e8dc790bf7680f378", "score": "0.5767507", "text": "public java.lang.String getThumbnailUrl() {\n java.lang.Object ref = thumbnailUrl_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n thumbnailUrl_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "c69d1a6a376ede9e54beaee0115e7f69", "score": "0.57464206", "text": "public String getImageWidth(){return imageWidth;}", "title": "" }, { "docid": "39911238f3fdbfce4e1abff51581126f", "score": "0.5742877", "text": "public Picture getPicture(){return pic;}", "title": "" }, { "docid": "c180ab0ba0dcea86a89faa18175373c7", "score": "0.57318443", "text": "public static Object GetSeriesImage (Object SeriesInfo, boolean Thumb) {\n Object o = sagex.SageAPI.call(\"GetSeriesImage\", new Object[] {SeriesInfo,Thumb});\n if (o!=null) return (Object) o;\n return null;\n}", "title": "" }, { "docid": "a43261eadd3332f06c45114a2442c803", "score": "0.5729644", "text": "public String getThumbnailName() {\n return \"userPhotos/\" + getId() + \"_thumbnail.\" + getExtension();\n }", "title": "" }, { "docid": "2e16411678465e77c23b421ac1cb1379", "score": "0.5725786", "text": "public static Object GetSeriesImage (UIContext _uicontext,Object SeriesInfo, boolean Thumb) {\n Object o = sagex.SageAPI.call(_uicontext, \"GetSeriesImage\", new Object[] {SeriesInfo,Thumb});\n if (o!=null) return (Object) o;\n return null;\n}", "title": "" }, { "docid": "252e42222648f2fbf867ff5f94997c50", "score": "0.5723257", "text": "public void setThumbnails(List<ThumbnailItem> thumbnails) {\n\t\tthis.thumbnails = thumbnails;\n\t}", "title": "" }, { "docid": "06b1a4b92c1a5b2047885f621efd480f", "score": "0.5701469", "text": "public com.google.protobuf.ByteString\n getThumbnailUrlBytes() {\n java.lang.Object ref = thumbnailUrl_;\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 thumbnailUrl_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "6c4c87c9a45bc61ce5bd9f81b5a17be5", "score": "0.56875104", "text": "public BufferedImage getThumbImage( )\n\t{\n\t\ttry\n\t\t{\n\t\t\treturn imageDataObtainer.getThumbImage();\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\te.printStackTrace();\n\n\t\t\treturn null;\n\t\t}\n\t}", "title": "" }, { "docid": "b58818b7d62a1503ce6daea860454e11", "score": "0.56809616", "text": "public String getPrimaryThumbprint() {\n return this.primaryThumbprint;\n }", "title": "" }, { "docid": "d62034ebe9333b574edcb6588c234991", "score": "0.56660295", "text": "public Uri getThumbnailUri() {\n if(isClosed())\n return null ;\n return parseUriNullSafe(mCursor.getString(mColumnThumbnailUri));\n }", "title": "" }, { "docid": "aa44d9b3c91e4fbd119b4529f94dbd7b", "score": "0.5622246", "text": "public com.google.protobuf.ByteString\n getThumbnailUrlBytes() {\n java.lang.Object ref = thumbnailUrl_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n thumbnailUrl_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "ffe04884bcacbdad0f1b4b4a00377d6e", "score": "0.56200063", "text": "@Override\n\t\tpublic byte[] getFileThumbnail() throws RemoteException {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "1c0bdea8d764f9e278a97515f14e8724", "score": "0.55849004", "text": "java.lang.String getPicture();", "title": "" }, { "docid": "a0391abc13d063be94bd30b31deb6a14", "score": "0.5583011", "text": "public Boolean getAutogenThumbprint() {\n if (autogenThumbprint == null) {\n autogenThumbprint = false;\n }\n\n return autogenThumbprint;\n }", "title": "" }, { "docid": "90f3dc069f807002d067c765a48c16ec", "score": "0.5579079", "text": "public String getPic() {\r\n return pic;\r\n }", "title": "" }, { "docid": "7f6c77ece8aa342411d179af340ebff2", "score": "0.5576112", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getThumbnailDetails() != null)\n sb.append(\"ThumbnailDetails: \").append(getThumbnailDetails());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "3c1a44880bc4981314dcaae25e5ce7e0", "score": "0.5569605", "text": "public void setThumbnail(String thumbnail) {\n this.thumbnail = thumbnail;\n }", "title": "" }, { "docid": "b61422a33032a36fc660158327b4cbfe", "score": "0.5558779", "text": "public static Object GetSeriesImageAtIndex (Object SeriesInfo, int Index, boolean Thumb) {\n Object o = sagex.SageAPI.call(\"GetSeriesImageAtIndex\", new Object[] {SeriesInfo,Index,Thumb});\n if (o!=null) return (Object) o;\n return null;\n}", "title": "" }, { "docid": "aee3a3354c1eee5f3d8bb2baddd809b0", "score": "0.5544665", "text": "public String getPic() {\n return pic;\n }", "title": "" }, { "docid": "aee3a3354c1eee5f3d8bb2baddd809b0", "score": "0.5544665", "text": "public String getPic() {\n return pic;\n }", "title": "" }, { "docid": "bbfc818204f684d33775ea4a64235b36", "score": "0.5533159", "text": "public String getPicture() {\r\n return picture;\r\n }", "title": "" }, { "docid": "1701f149f659d020bbe4b0193b559c23", "score": "0.552286", "text": "public IMOps thumbnail(\n Integer width)\n {\n\n String oper; // only used in some methods\n StringBuffer buf = new StringBuffer(); // local buffer for option-args\n iCmdArgs.add(\"-thumbnail\");\n\n if (width != null)\n {\n buf.append(width.toString());\n }\n if (buf.length() > 0)\n {\n iCmdArgs.add(buf.toString());\n }\n return this;\n }", "title": "" }, { "docid": "2d31b3e64eece610547da356f5b3dfa0", "score": "0.55211705", "text": "public String getMicroPic() {\r\n return microPic;\r\n }", "title": "" }, { "docid": "f194439d87de5ab7879e6f909e1a618d", "score": "0.55141413", "text": "public Image getPhoto();", "title": "" }, { "docid": "b21e351b8a71abb86978cc564373f76d", "score": "0.5512391", "text": "public DefaultListModel getPictureListModel(){\n\t\t\n\t\treturn this.pictureListModel;\n\t\t\n\t}", "title": "" }, { "docid": "014a83b54ff63e5d25ed94dbc16c08d1", "score": "0.5500246", "text": "boolean hasWaveformThumbnail();", "title": "" }, { "docid": "3fbf4bd485aceee05f124fc05a80d9ee", "score": "0.5497925", "text": "public String getImgSmallUrl() {\n return imgSmallUrl;\n }", "title": "" }, { "docid": "da3bc90dcf0ef91d6b89c597412a136d", "score": "0.5495759", "text": "java.util.List<java.lang.String>\n getLargeVoicePicList();", "title": "" }, { "docid": "32e4ea934a817bd4a5b4c54b1fe40002", "score": "0.5491549", "text": "void setThumbSizeKB(int thumbSizeKB);", "title": "" }, { "docid": "1e17b15d6447db62ee0b810a6834258b", "score": "0.54891324", "text": "public PictureT getPicture10() {\n return picture10;\n }", "title": "" }, { "docid": "58747db144ab517d2f3ea9d40034c8e7", "score": "0.5482006", "text": "@Generated\n @Selector(\"requestThumbnail\")\n public native void requestThumbnail();", "title": "" }, { "docid": "360a71a676e064a95dd9b7cae5a8bf94", "score": "0.5481723", "text": "void setThumbURL(java.lang.String thumbURL);", "title": "" }, { "docid": "a9da82d7303adfe561e9493b3ae6cf15", "score": "0.5471391", "text": "public String getPicture() {\n return picture;\n }", "title": "" }, { "docid": "a9da82d7303adfe561e9493b3ae6cf15", "score": "0.5471391", "text": "public String getPicture() {\n return picture;\n }", "title": "" }, { "docid": "51fd620172aaae6f34934acdb2a37fbe", "score": "0.54679435", "text": "public Picture getPicture() {\n\n return this.picture;\n\n }", "title": "" }, { "docid": "e62e8521f3e7b1b63835c96e5a40a751", "score": "0.54659605", "text": "public JList getPictureList(){\n\t\t\n\t\treturn this.pictureList;\n\t\t\n\t}", "title": "" }, { "docid": "830d17997f6fb815aca5d708559d04ec", "score": "0.5465646", "text": "@Nullable\n public String getThumbCoverUrl() {\n if (cover != null && cover.isPresent())\n return cover.get().getThumbUrl();\n return null;\n }", "title": "" }, { "docid": "21bb199a2beba8c34cd8591d73cc6948", "score": "0.54566085", "text": "@Override\n public int getCount() {\n return mThumbIds.length;\n }", "title": "" }, { "docid": "c94a8367758d1966539dadc65301b9e8", "score": "0.5456295", "text": "public boolean hasSmallThumbnail() {\n return smallThumbnailBuilder_ != null || smallThumbnail_ != null;\n }", "title": "" }, { "docid": "531eda67a197f6c9bede7929fed8bf69", "score": "0.5446477", "text": "public Picture picture() {\n return picture;\n }", "title": "" }, { "docid": "07386b59b0467fe802279843f42db85a", "score": "0.5441237", "text": "public net.iGap.proto.ProtoGlobal.Thumbnail.Builder getLargeThumbnailBuilder() {\n \n onChanged();\n return getLargeThumbnailFieldBuilder().getBuilder();\n }", "title": "" }, { "docid": "758d5a850b8c2361142f5f519ad41489", "score": "0.5440265", "text": "public void setThumbnail(String thumbnail) {\r\n\t\tthis.thumbnail = thumbnail;\r\n\t}", "title": "" }, { "docid": "758d5a850b8c2361142f5f519ad41489", "score": "0.5440265", "text": "public void setThumbnail(String thumbnail) {\r\n\t\tthis.thumbnail = thumbnail;\r\n\t}", "title": "" } ]
cd06ed1f0cb1134a73df3ce12265c860
String s = "abc" ; System.out.println(s.substring(1,3)); printTheSum(10.5, 20.9); printTheSum(123.9, 200.1); printTheSum(11.33, 44.1); printTheSum(11, 5);
[ { "docid": "59834bb8a02efcb0a1490680c3e9e05b", "score": "0.0", "text": "public static void main(String[] args) {\n\t\treportName(\"Andy\",\"Smo\");\n\t\treverseString(\"Hello my dear, smart Andy. Wish you to lern java very succesfful!!!\");\n\n\t}", "title": "" } ]
[ { "docid": "8109b1afc65d2542d497168ff2bb9175", "score": "0.64201415", "text": "@Test\n\tpublic void testSum() {\n\t\tStringNumberSumator addClass = new StringNumberSumator();\n\t\tassertEquals(\"67868778555572961\", addClass.sum(\"91686886861\", \"67868686868686100\"));\n\t\tassertEquals(\"2\", addClass.sum(\"1\", \"1\"));\n\t\tassertEquals(\"1998\", addClass.sum(\"999\", \"999\"));\n\t\tassertEquals(\"9968\", addClass.sum(\"9753\", \"215\"));\n\t}", "title": "" }, { "docid": "80bbc3910fc3332d40a90a6c250369e2", "score": "0.6335289", "text": "private static double _sum(String text){\n\t\tStringTokenizer st = new StringTokenizer(text, \"+-\", true);\r\n\t\tdouble calc = 0.0;\r\n\t\twhile(st.hasMoreTokens()){\r\n\t\t\tString token = st.nextToken();\r\n\t\t\tif(token.equals(\"+\")){\r\n\t\t\t\tcalc += _product(st.nextToken());\r\n\t\t\t}\r\n\t\t\telse if(token.equals(\"-\")){\r\n\t\t\t\tcalc -= _product(st.nextToken());\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tcalc = _product(token);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn calc;\r\n\t}", "title": "" }, { "docid": "bcb35e86c257c9868af645756dfa02ac", "score": "0.6325188", "text": "private static double parseSubstring( String s, int beginIndex, int endIndex ) {\n\t\t\n\t\tString substring = s.substring( beginIndex, endIndex );\n\n\t\tif ( substring.equals( s ) ) {\n\t\t\treturn Double.parseDouble( substring );\n\t\t}\n\t\telse {\t\n\t\t\tswitch( s.charAt( endIndex ) ) {\n\t\t\t\tcase '+':\n\t\t\t\t\treturn Double.parseDouble( substring );\n\t\t\t\tcase '-':\n\t\t\t\t\treturn Double.parseDouble( substring );\n\t\t\t\tcase 'i':\n\t\t\t\t\tif ( substring.equals( \"-\" ) ) {\n\t\t\t\t\t\treturn -1;\n\t\t\t\t\t}\n\t\t\t\t\tif ( substring.equals( \"+\" ) || substring.isBlank() ) {\n\t\t\t\t\t\treturn 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn Double.parseDouble ( substring );\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "2ed2625600df7a008d478535a56e416e", "score": "0.63175607", "text": "public double getLogSum(String s) {\n\tif (s.length()<3) {\n\t System.out.println(\"----[getLogSum] Wrong length!\\n\");\n\t return 0;\n\t} else {\n\t double ret = 0.0;\n\t String cpy = s;\n\t String tmp = \"\";\n\t while (cpy.length()>=3) {\n\t\ttmp = cpy.substring(0,3);\n\t\tdouble current = 0.0;\n\t\tif (percents.get(tmp) == null) {\n\t\t cpy = cpy.substring(3);\n\t\t continue;\n\t\t}\n\t\tcurrent = percents.get(tmp);\n\t\tret += Math.log(current);\n\t\tcpy = cpy.substring(3);\n\t }\n\t return ret;\n\t}\n }", "title": "" }, { "docid": "ab34debb991fcf2414b30e8d59ce03f8", "score": "0.61757", "text": "public static void main(String[] args) {\n\t\tString s=\"21Dihit11Bangera1995\";\r\n\t\tString temp=\"\";\r\n\t\tint sum=0;\r\n\t\tfor(int i=0;i<s.length();i++) {\r\n\t\t\tCharacter ch=s.charAt(i);\r\n\t\t\tSystem.out.println(ch);\r\n\t\t\tif(ch.isDigit(ch)) {\r\n\t\t\t\ttemp=temp+ch;\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tsum=sum+Integer.parseInt(temp);\r\n\t\t\t\ttemp=\"0\";\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\tSystem.out.println(\"The addition of numbers in String is \"+(sum+Integer.parseInt(temp)));\r\n\t\r\n\t\t\r\n\t\t\r\n\r\n}", "title": "" }, { "docid": "b8c1b42a9c5ef64fcd09655b7fb6588c", "score": "0.61654025", "text": "public int calculate(String s) {\n if(s.length()==0) return 0;\n s = s.replace(\" \", \"\");\n s += \"$\";\n Stack<Integer> numbers = new Stack<>();\n int num = 0;\n char sign = '+';\n for(char c : s.toCharArray()){\n if(Character.isDigit(c)){\n num = num*10+ (c-'0');\n }else{\n if(sign=='+'){\n numbers.push(num);\n }else if(sign=='-'){\n numbers.push(-num);\n }else if(sign=='*'){\n numbers.push(numbers.pop()*num);\n }else if(sign=='/'){\n numbers.push(numbers.pop()/num);\n }\n num = 0;\n sign = c;\n System.out.println(sign);\n }\n }\n num = 0;\n for(Integer i : numbers){\n num += i;\n }\n return num;\n }", "title": "" }, { "docid": "f230268a01b18746600a4e6dee81bbc2", "score": "0.6106371", "text": "@Test\n public void testSum()\n {\n int testSum = 0;\n testSum = StringCalculator.add(StringCalculator.splitString(\"1,2,3\"));\n\n assertEquals(\"Did not seem to add them together\",6,testSum);\n }", "title": "" }, { "docid": "8bf30dd1e7adfb924c63f6052d4b2663", "score": "0.60960466", "text": "public int decimal(String s){\n\n char[] c = s.toCharArray();\n int n = 0;\n for (int i = 0; i < 5; i++){\n n = 10 * n + Character.digit(c[i], 10);\n }\n return n;\n }", "title": "" }, { "docid": "2c0015251d928f36f134848fbfe58c4e", "score": "0.6014385", "text": "public static int sumNumbers(String str) {\n str+=\" \";//Pad strings\n int sum = 0;\n int numberFound = 0;\n for (int i = 0; i<str.length(); i++) {\n //check for integer\n if(isInt(str.substring(i,i+1))){\n Boolean stop = false;\n int sizeOfNumber = 0;\n String intFound = \"\";\n while(!stop){\n if(isInt(str.substring(i,i+sizeOfNumber+1))){\n intFound = str.substring(i,i+sizeOfNumber+1);\n sizeOfNumber++;\n }\n else{\n stop=true;\n i += sizeOfNumber;\n sum += Integer.parseInt(intFound);\n }\n }\n\n }\n }\n return sum;\n }", "title": "" }, { "docid": "2f65241fd94e71981caf2174da869c7f", "score": "0.5983475", "text": "public int findSum(String str) {\n\t\tint sum = 0;\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tsum += findVal(str.charAt(i));\n\t\t}\n\t\t\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "25cf3487df76d51153bbeed3e6d96419", "score": "0.5948348", "text": "@Test\n void returnsSum(){\n int sumFourFive = 9;\n int sumTenEight = 18;\n\n assertEquals(sumFourFive, Calculator.add(\"4,5\"));\n assertEquals(sumTenEight, Calculator.add(\"10,8\"));\n }", "title": "" }, { "docid": "44d0cbb18fda4a1e7d91573054c253ad", "score": "0.58699113", "text": "public static int getSumOfNumbers(String s) {\r\n\t\tif (s == null)\r\n\t\t\treturn 0;\r\n\t\tint result = 0;\r\n\t\tStringTokenizer tokenizer = new StringTokenizer(s, \" \");\r\n\t\twhile (tokenizer.hasMoreTokens()) {\r\n\t\t\tString token = tokenizer.nextToken();\r\n\t\t\tif (!token.equals(\" \")) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tint n = Integer.parseInt(token);\r\n\t\t\t\t\tresult += n;\r\n\t\t\t\t} catch (NumberFormatException e) {\r\n\t\t\t\t\t// Not very nice\r\n\t\t\t\t\tSystem.err.println(e.getMessage());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "22c9324545982d0ae21b54199e8e9281", "score": "0.5862345", "text": "public int calculate(String s) {\n if(s == null || s.length() == 0)\n return 0;\n \n Stack<Integer> stack = new Stack<>();\n int num = 0;\n char op = '+';\n for(int i = 0; i < s.length(); i++) {\n if(Character.isDigit(s.charAt(i)))\n num = (num*10) + s.charAt(i)-'0';\n \n if((!Character.isDigit(s.charAt(i)) && s.charAt(i) != ' ') || i == s.length()-1) {\n if(op == '+')\n stack.push(num);\n else if(op == '-')\n stack.push(-num);\n else if(op == '*')\n stack.push(stack.pop()*num);\n else\n stack.push(stack.pop()/num);\n \n op = s.charAt(i);\n num = 0;\n }\n }\n for(int n : stack)\n num += n;\n return num;\n }", "title": "" }, { "docid": "aecd682ac60c109d652092ce35d682d3", "score": "0.58557695", "text": "public static int sumOfNumberInString(String string){\n int total = 0;\n String oneCharString;\n\n for (char c : string.toCharArray()) {\n oneCharString = Character.toString(c);\n // look for digits only\n if (Pattern.matches(\"\\\\d\", oneCharString))\n total += Integer.parseInt(oneCharString);\n }\n return total;\n }", "title": "" }, { "docid": "89fb7210c2cac773559a20156af98722", "score": "0.5823993", "text": "public int calculate(String s) {\n if (s == null) return 0;\n s = s.trim().replaceAll(\" +\", \"\");\n int length = s.length();\n \n int res = 0;\n long preVal = 0; // initial preVal is 0\n char sign = '+'; // initial sign is +\n int i = 0;\n while (i < length) {\n long curVal = 0;\n while (i < length && (int)s.charAt(i) <= 57 && (int)s.charAt(i) >= 48) { // int\n curVal = curVal*10 + (s.charAt(i) - '0');\n i++;\n }\n if (sign == '+') {\n res += preVal; // update res\n preVal = curVal;\n } else if (sign == '-') {\n res += preVal; // update res\n preVal = -curVal;\n } else if (sign == '*') {\n preVal = preVal * curVal; // not update res, combine preVal & curVal and keep loop\n } else if (sign == '/') {\n preVal = preVal / curVal; // not update res, combine preVal & curVal and keep loop\n }\n if (i < length) { // getting new sign\n sign = s.charAt(i);\n i++;\n }\n }\n res += preVal;\n return res;", "title": "" }, { "docid": "d5511375adae937b87c3d14b65c5571b", "score": "0.5819401", "text": "public static void main(String[] args) {\n String x = \"5\";\n //int n = Integer.parseInt(x) + 2;\n //System.out.println(n);\n\n //int k = 10 + 3 * 2;\n //System.out.println(k);\n String m = \"1.1\";\n //double n =\n\n }", "title": "" }, { "docid": "cb18a872528061069a89eb2ca086f5f1", "score": "0.58059716", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tString str = \"asdf1qwer9as8d7\";\r\n\t\tstr = str.replaceAll(\"[A-Za-z]\", \"\");\r\n\t\tSystem.out.println(str);\r\n\t\tint number = Integer.parseInt(str); \r\n\t\tshort sum = 0;\r\n\t\twhile (number != 0)\r\n\t\t{\r\n\t\t\tsum += number%10;\r\n\t\t\tnumber= number/10;\r\n\t\t\t\r\n\t\t}\r\n\t\tSystem.out.println(\"Sum is\" + sum);\r\n\t}", "title": "" }, { "docid": "9e62cdf2eabb1ae2872bd9cf069dc122", "score": "0.5793526", "text": "public int calculate(String s) {\n Stack<Integer> stack = new Stack<>();\n int result = 0, num = 0, sign = 1;\n for (int i = 0; i < s.length(); i++) {\n char c = s.charAt(i);\n if (Character.isDigit(c)) {\n num = 10 * num + Character.getNumericValue(c);\n } else if (c == '+' || c == '-') {\n result += sign * num;\n sign = c == '-' ? -1 : 1;\n num = 0;\n } else if (c == '(') {\n stack.push(result);\n stack.push(sign);\n sign = 1;\n result = 0;\n } else if (c == ')') {\n result += sign * num;\n result *= stack.pop();\n result += stack.pop();\n sign = 1;\n num = 0;\n }\n }\n return result + sign * num;\n }", "title": "" }, { "docid": "889d49d4abfed36fb06264a092beb1d4", "score": "0.5752911", "text": "public static void main(String[] args) {\n\t\tString str = \"12345\"; // String str -> 자리수 hello h=0 ~~ 문자열의 길이\r\n\t\tint sum = 0;\r\n\t\t\r\n\t\t\r\n\t\tfor(int i=0; i <str.length(); i++) {\r\n\t\t\tsum = sum + str.charAt(i) - '0';\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"sum=\"+sum);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "660c3f465dc7dc06ad7c7dda03868cce", "score": "0.5733028", "text": "@Test\n\tpublic void testGetDigitsSumValidStr1() {\n\t\t// valid string with numbers\n\t\tSumService objSumService = new SumServiceImpl();\n\t\tString mockInputStr = \"abc123\";\n\t\tlong sum = objSumService.getDigitsSum(mockInputStr);\n\t\tAssert.assertTrue(sum == 6);\n\t}", "title": "" }, { "docid": "f2879b5e8dd3651b6b09c04fa621b88b", "score": "0.5681614", "text": "static int countSubstring(String subStr, String str)\r\n\t{\r\n\t\treturn (str.length() - str.replace(subStr, \"\").length())\r\n\t\t\t\t/ subStr.length();\r\n\t}", "title": "" }, { "docid": "8a876785bd1d213c3a99f9e6b0a738d0", "score": "0.5665709", "text": "public static int SumOfNumbers4(String str) {\r\n\t\tint sum = 0;\r\n\t\tint currentSum = 0;\r\n\t\tboolean negative = false;\r\n\t\tfor (int i = 0; i < str.length(); i++) {\r\n\t\t\tif (Character.isDigit(str.charAt(i))) {\r\n\t\t\t\tcurrentSum = currentSum * 10\r\n\t\t\t\t + Character.getNumericValue(str.charAt(i));\r\n\t\t\t} else if (str.charAt(i) == '-') {\r\n//\t\t\t\tif (currentSum != 0) {\r\n//\t\t\t\t\tsum = sum + currentSum;\r\n//\t\t\t\t\tcurrentSum = 0;\r\n//\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tif (negative)\r\n\t\t\t\t\tcurrentSum = currentSum * -1;\r\n\t\t\t\tsum = sum + currentSum;\r\n\t\t\t\tcurrentSum = 0;\r\n\t\t\t\tnegative = false;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (negative)\r\n\t\t\tcurrentSum = currentSum * -1;\r\n\t\treturn sum = sum + currentSum;\r\n\t}", "title": "" }, { "docid": "db4478356660330dea80ba346bcd531c", "score": "0.56648695", "text": "@Test\n\tpublic void testGetDigitsSumValidStr2() {\n\t\tSumService objSumService = new SumServiceImpl();\n\t\tString mockInputStr = \" 98 hi60 \";\n\t\tlong sum = objSumService.getDigitsSum(mockInputStr);\n\t\tAssert.assertTrue(sum == 23);\n\t}", "title": "" }, { "docid": "66bf3d59ff4c415c359d6ab89353b374", "score": "0.56635714", "text": "public static void main(String args[]) {\n String text = \"Lorem ipsum dolor sit amet, consectetur adipiscing elit\";\n\n int start= 0;\n int middle= text.length()/2;\n\n String firstHalf= text.substring(start,middle);\n String secondHalf= text.substring(middle);\n System.out.println(firstHalf);\n System.out.println(secondHalf);\n\n}", "title": "" }, { "docid": "4723ad4f333db38892ce4a9c5d55ef55", "score": "0.565867", "text": "@Test\n void returnsSumOfAll(){\n int sumFourFiveSix = 15;\n int sumOneTwoThreeFour = 10;\n\n assertEquals(sumFourFiveSix, Calculator.add(\"4,5,6\"));\n assertEquals(sumOneTwoThreeFour, Calculator.add(\"1,2,3,4\"));\n }", "title": "" }, { "docid": "6f8631dd56a34f7a9b82555fd4741cac", "score": "0.56257176", "text": "String substring(SubStringInput subStringInput);", "title": "" }, { "docid": "c81597f26ead2d18ad2293d145664ad3", "score": "0.5616573", "text": "public static int retrieveStringDecimalCount(String input){\n\tint scale ;\n\tBigDecimal bigVal=new BigDecimal(input);\t\n\tscale = bigVal.scale();\t\n\treturn scale;\n\t\n}", "title": "" }, { "docid": "8563a8bfc59bb387e25860d734556b7e", "score": "0.5565754", "text": "private static double parsePrice(String s){\n double price = Double.parseDouble(s.replaceAll(\"$|p\", \"\"));\n if (!s.contains(\".\")) {\n price = Double.valueOf(Double.valueOf(price) / Double.valueOf(\"100\"));\n }\n return price;\n }", "title": "" }, { "docid": "4175ae5d08c7fbf2e06dbd8d4e098782", "score": "0.55651945", "text": "int add(String numbers);", "title": "" }, { "docid": "b52bb41b4a4ae03e036812ec31ffecd5", "score": "0.55584705", "text": "public static void main(String[] args) {\n String str = \"7427466391\";\n int sum = 0;\n char[] chars = str.toCharArray();\n for (int i = 0; i < str.length(); i++) {\n sum += Integer.valueOf(Objects.toString(chars[i],\"\"));\n }\n System.out.println(sum);\n }", "title": "" }, { "docid": "e185d5ce2c8efb726b2f5644aba63e19", "score": "0.55436563", "text": "public static void main(String args[])\n {\n Scanner in = new Scanner(System.in);\n String str = in.nextLine();\n int len = str.length();\n int flag=0;\n double bd=0,ad=0;\n for(int i=0;i<len;i++)\n {\n if(str.charAt(i)=='.')\n flag=1;\n }\n if(flag==1)\n {\n for(int i=len-1;str.charAt(i)!='.'&&i>0;i--)\n {\n ad = (ad/10)+(str.charAt(i)-'0');\n }\n \n ad= ad/10;\n \n for(int i=0;str.charAt(i)!='.';i++)\n {\n bd = (bd*10)+(str.charAt(i)-'0');\n }\n }\n else\n {\n for(int i=0;i<len;i++)\n {\n bd = (bd*10)+(str.charAt(i)-'0');\n }\n }\n double sum = bd+ad;\n \n System.out.printf(\"%.6f\",sum);\n }", "title": "" }, { "docid": "729a06f5928bf9795e62be81d2c9cbb5", "score": "0.55101043", "text": "private static int wordSum(String s)\r\n {\r\n int n = 0;\r\n \r\n for(char c: s.toCharArray())\r\n n += c - 'A' + 1;\r\n \r\n return n;\r\n }", "title": "" }, { "docid": "0653ad503c1075b09d9637b95389cb62", "score": "0.5502156", "text": "public int calculate(String s) {\n\n int sign = 1;\n int res = 0;\n int num = 0;\n\n Stack<Integer> stackNum = new Stack<Integer>();\n Stack<Integer> stackSign = new Stack<Integer>();\n\n for(int i = 0; i < s.length(); i++) {\n\n char c = s.charAt(i);\n\n if(c >= '0' && c <= '9') {\n\n num = 10 * num + c - '0';\n\n } else if(c == '+' || c == '-'){\n\n res += num * sign;\n\n //reset\n num = 0;\n sign = c == '+' ? 1 : -1;\n\n } else if(c == '(') {\n\n stackNum.push(res);\n res = 0;//reset\n //num must be zero at this time\n\n stackSign.push(sign);\n sign = 1;//reset\n\n } else if(c == ')') {\n\n res += num * sign;\n num = 0;//reset\n sign = 1;\n\n res = stackNum.pop() + stackSign.pop() * res;\n\n }\n }\n\n res += num * sign;\n\n return res;\n }", "title": "" }, { "docid": "23035dd423a1dc96a57d3c26f72f659c", "score": "0.54820293", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tString value = \"Ramkumar1153\";\r\n\t\t\r\n\t\tint total = 0;\r\n\t\t\r\n\t\tchar[] array = value.toCharArray();\r\n\t\t\r\n\t\tfor (char separate : array) {\r\n\t\t\t\r\n\t\t\tif (Character.isDigit(separate)) \r\n\t\t\t{\r\n\t\t\t\tint number =Character.getNumericValue(separate);\r\n\t\t\t\ttotal = total+number;\r\n\t\t\t}\r\n\t\t}\r\n\t\tSystem.out.println(total);\r\n\t}", "title": "" }, { "docid": "84aeb64c8d04c37e145f989c23cb1bb1", "score": "0.547128", "text": "public static void main(String[] args) {\nsum(300,30);\r\nsum(2,1);\r\nsum(2,2);\r\n\t}", "title": "" }, { "docid": "2d0245fee8f68c2637f0ebecbcb172d7", "score": "0.5448298", "text": "@Test\n public void shouldReturnSumThreeNumber(){\n Assert.assertEquals(6,calculator.add(\"1,2,3\"));\n }", "title": "" }, { "docid": "b506bd63862ed00463b2551b9793a876", "score": "0.5440301", "text": "public Double add(String s) throws CalculatorException {\n\t\tDouble sum = 0.0;\n\t\tif (s == null || s.equals(\"\")) {\n\t\t\treturn 0.0;\n\t\t} else {\n\t\t\tString[] numbers = s.split(\",\");\n\t\t\tif(numbers.length > 2) {\n\t\t\t\tthrow new CalculatorException(\"too many values\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttry {\n\t\t\t\tsum = Double.parseDouble(numbers[0]) + Double.parseDouble(numbers[1]);\n\t\t\t\t}catch(Exception e){\n\t\t\t\t\tthrow new CalculatorException(\"invalid input\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn sum;\n\t}", "title": "" }, { "docid": "d0b520ae2bca32a43ae57b2d863c42c3", "score": "0.5433548", "text": "public static void main(String[] args) {\n\r\n\t\tString s=\"abbbccda\";\r\n\t\tint[] a=uniformSubstring(s);\r\n\t\tSystem.out.println(a);\r\n\t}", "title": "" }, { "docid": "6e74169c150580ddd9bd6da2852bd93c", "score": "0.5427149", "text": "private static int checkSum(String zip){\n \tint sum = 0;\n\tfor (int pos = 0; pos < zip.length(); pos++){\n\t sum += (int)zip.charAt(pos);\n\t}\n\treturn sum%10;\n }", "title": "" }, { "docid": "94eb5254748e4581c13d99ead7747b31", "score": "0.5412973", "text": "@Override\n\tpublic int sumOfNumbers(String input) {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "7d7a2a995730b6666679d2db16d093cc", "score": "0.5402669", "text": "public static void main (String [] args){\r\n String nome = \"12345\";\r\n printSubstring(nome);\r\n }", "title": "" }, { "docid": "e50a6cb9e3a210adc78af225d808c2c1", "score": "0.54026073", "text": "private double getSum(String vara, String varb){\r\n \r\n localresult = 0;\r\n \r\n num1 = Double.parseDouble(vara);\r\n num2 = Double.parseDouble(varb);\r\n localresult = num1 + num2;\r\n \r\n return localresult;\r\n \r\n }", "title": "" }, { "docid": "214e326125fcc93eb08124fc8e6ad85a", "score": "0.5388952", "text": "public static void main(String[] args) {\n\t\t\n\t\tprintTheSum(10.5, 20.9);\n\t\tprintTheSum(123.9, 200.1);\n\t\tprintTheSum(11.33, 44.1);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "1cbc13f24488d9ce2bf89fe261c96755", "score": "0.53773093", "text": "public static boolean isSumDifferenceString(String str)\n\t{\n\t\tboolean isSumDifferenceString=false;\n\n\t\tif(Character.isDigit(str.charAt(0)) && Character.isDigit(str.charAt(2)))\n\t\t{\n\t\t\tString str0ToString=String.valueOf(str.charAt(0));\n\t\t\tString str2ToString=String.valueOf(str.charAt(2));\n\t\t\tint sum=Integer.valueOf(str0ToString);\n\t\t\tint difference=Integer.valueOf(str2ToString);\n\t\t\tdouble sumDividedBy2= (double) sum/2;\n\t\t\tdouble differenceDivideBy2 = (double) difference/2;\n\t\t\tdouble highPipCount= sumDividedBy2 + differenceDivideBy2;\n\t\t\tdouble lowPipCount = sumDividedBy2 - differenceDivideBy2;\n\t\t\tfor(int i=1; i<MIN_TO_MAX.length;i++)\n\t\t\t{\n\t\t\t\tif(highPipCount== i || lowPipCount == i)\n\t\t\t\t{\n\t\t\t\t\tisSumDifferenceString= true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif(str.length()!=3 || str.charAt(1)!=(SUM_DIFFERENCE_DELIMITER))\n\t\t{\n\t\t\tisSumDifferenceString = false;\n\t\t}\n\t\treturn isSumDifferenceString;\n\t}", "title": "" }, { "docid": "f466db9b74aa1154f1589c5c648f9e7a", "score": "0.5373192", "text": "public static void main(String[] args) {\n System.out.println(getEvenDigitSum(123456789));\n System.out.println(getEvenDigitSum(252));\n System.out.println(getEvenDigitSum(-22));\n\n }", "title": "" }, { "docid": "407368394ae80da595c24ec618e5f6ba", "score": "0.53721195", "text": "public double evaluateString(String givenString)\r\n {\r\n Expression expression = new Expression(givenString);\r\n return expression.calculate();\r\n }", "title": "" }, { "docid": "dc147ce13e69687566ab49c1335b2670", "score": "0.53592646", "text": "public static void main(String[] args) {\n\t\t\n\t\t\n\t\tString str=\"sagsh\";\n\t\t\n\t\tint sum=0;\n\t\t\n\t\tfor(int i=0;i<str.length();i++)\n\t\t{\n\t\t sum =sum + str.codePointAt(i)* Math.pow(10,i);\n\t\t \n\t\t\t\n\t\t}\n\t\t\n\t\t\n\n\t\t\n\t}", "title": "" }, { "docid": "a79fb0b53041ef526abaec20a3efe32c", "score": "0.5347401", "text": "public static void main(String[] args) {\n\n String str=\"a1b2c3d4\";\n char [] Array=str.toCharArray();\n\n int sum=0;\n for(int i=0; i<Array.length; i++){\n if(Array[i]>=48 && Array[i]<=57){ //on ascii table, the characters between #48 ~ #57 are digits\n sum+=Integer.parseInt(\"\"+Array[i]); // Ascii table: 48 => 0, 57 => 9\n }\n }\n System.out.println(sum);\n\n\n System.out.println(\"========================================================\");\n\n Character.isAlphabetic('A');// note: identifies if the character is alphabetic\n // second way to to it\n\n int sum2=0;\n for(int i=0; i<Array.length; i++){\n if(Character.isDigit(Array[i])){ // identifies if the given character is digit\n sum2+=Integer.parseInt(\"\"+Array[i]);\n }\n }\n System.out.println(sum2);\n\n }", "title": "" }, { "docid": "2cc031bb5501bd4bb61f152474393c81", "score": "0.53465044", "text": "public static void main(String[] args) \r\n\t{\n\t\tString n1=\"12\";\r\n\t\tint n2=20;\r\n\t\t\r\n\t\t//Double\r\n\t\tString a=\"10.50\";\r\n\t\t\r\n\t\tint n3=Integer.parseInt(n1);\r\n\t\tdouble a1=Double.parseDouble(a);\r\n\t\t\r\n\t\tint sum=n2+n3;\r\n\t\t\r\n\t\tSystem.out.println(\"Summation:\"+ sum);\r\n\t\tSystem.out.println(\"Double:\"+ a1);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9e021baa943355a0af9d7aef8fb9582f", "score": "0.53463674", "text": "public static void main(String[] args) {\n\t\tint output = 0;\n\t\t//output = parseString(\"10 abc 20 abc 30 4\");\n\t\toutput = parseString(\"4 ab 2 cd 45 10\");\n\t\t//output = parseString(\"abc ddsds sdd\");\n\t\t//output = parseString(\"10 abc 20 abc 30 4 22 22\");\n System.out.println(String.valueOf(output));\n\n\t}", "title": "" }, { "docid": "a6e65399114cfc58dcd91548ee5a596d", "score": "0.5338653", "text": "public static void main(String[] args) {\n\n\t\tString s=\"jellojaiprashanth\";\n\t\tint numofparts=5;\n\t\tint slength=s.length();\n\t\tint li=slength/numofparts;\n\t\t\n\t\tint j=0;\n\t\tint i=0;\n\t\tString c1=\"\";\n\t\t\n\t\t\t\tchar[] c=s.toCharArray();\n\t\t\n\t\t\t\t\n\t\t\tfor (i = 0; i < 5; i++) {\n\t\t\t\tc1=\"\";\n\t\t\t\tfor ( j = i*li; j <(i+1)*li ; j++) {\n\t\t\t\t\tc1=c1+c[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c1);\n\t\t\t}\t\n\t}", "title": "" }, { "docid": "8996befbd6883814abbdc3fae6ac34e7", "score": "0.53235644", "text": "static int size_of_sub(String passed){\n return 1;\n }", "title": "" }, { "docid": "59d907da94db63f11ad82183853ccb3e", "score": "0.5320943", "text": "@Test\n\tpublic void testgetHexDigitsSumValidStr1() {\n\t\t// valid string with numbers\n\t\tSumService objSumService = new SumServiceImpl();\n\t\tString mockInputStr = \"abc123\";\n\t\tlong sum = objSumService.getHexDigitsSum(mockInputStr);\n\t\tAssert.assertTrue(sum == 39);\n\t}", "title": "" }, { "docid": "a46be4e0e9683e52943f5c47d4dcfd21", "score": "0.5320755", "text": "public static void main(String args[]){ \r\n\t\tString str=\"23.6\"; \r\n\t\tdouble d=Double.parseDouble(\"23.6\"); \r\n\t\tSystem.out.println(d); \r\n\t}", "title": "" }, { "docid": "301e13478398831f211d94e74d3aa331", "score": "0.5310661", "text": "static int size_of_sta(String passed){\n return 3;\n }", "title": "" }, { "docid": "8b99466a3ef905b7f7d0df9bdcc35a95", "score": "0.5310612", "text": "public long calculCalories(String str) {\n\t\t//splite la chaine de caractére selon le vergule \n\t\tString[] table = str.split(\",\");\n\t\t//initialisé la valeur de somme à 0\n\t\tlong sumCalories = 0;\n\t\tfor(String element: table) {\n\t\t\tswitch (element) {\n\t\t\tcase \"egg\" : sumCalories += proteins.getEgg();break;\n\t\t\tcase \"seafood\" : sumCalories += proteins.getSeafood();break;\n\t\t\tcase \"fruit\" : sumCalories += carbohydrates.getFruit();break;\n\t\t\tcase \"vegetable\" : sumCalories += carbohydrates.getVegetable();break;\n\t\t\tcase \"cheese\" : sumCalories += fats.getCheese();break;\n\t\t\tcase \"peanut\" : sumCalories += fats.getPeanuts();break;\n\t\t}\n\t\t\t\t\n\t\t}\n\t\t\n\t\treturn sumCalories;\n\t}", "title": "" }, { "docid": "822e0463be5fed697426a682b7e1eff7", "score": "0.5298284", "text": "public static void main(String[] args) {\n\t\tString str = \"Java candir\";\n\t\t\n\t\tSystem.out.println(str.substring(5));\n\t\tSystem.out.println(str.substring(10));\n\t\tSystem.out.println(str.substring(11));\n\t\t//System.out.println(str.substring(20));// hata\n\t\t\n\t\tSystem.out.println(str.substring(5,8));\n\t\tSystem.out.println(str.substring(5,11));\n\t\tSystem.out.println(str.substring(5,5));//hiç\n\t\t//System.out.println(str.substring(5,1));\n\t\t\n\t}", "title": "" }, { "docid": "19f248727a336b901a1ebd5e3b936543", "score": "0.52925885", "text": "@Test\n\tpublic void addNumbers() {\n\t\tStringCalculator calculator = new StringCalculator();\n\t\tAssert.assertEquals(5, calculator.add(\"2,3\"));\n\t}", "title": "" }, { "docid": "5e4c0d009c7bce70223085d8863264f2", "score": "0.52814806", "text": "public long evaluate(String s) {\n\n String[] arr = s.split(\" \");\n\n int max = (arr.length + 1) / 2;\n\n int result = Integer.valueOf(arr[0]);\n for (int i = 1; i < max; i++) {\n String mathStr = arr[i+max-1];\n switch (mathStr) {\n case \"+\" :\n result = result + Integer.valueOf(arr[i]);\n break;\n case \"*\" :\n result = result * Integer.valueOf(arr[i]);\n break;\n case \"/\" :\n result = result / Integer.valueOf(arr[i]);\n break;\n\n }\n }\n return result;\n }", "title": "" }, { "docid": "551f8bbbe3e272f7109c16815007d419", "score": "0.52741235", "text": "@Override\n public float measureText(String text, int start, int end) {\n return measureText(text.toCharArray(), start, end - start);\n }", "title": "" }, { "docid": "db8713676649bcd95526ab6c411be523", "score": "0.52664477", "text": "public static void main(String[] args)\n {\n System.out.println(EvaluateString.evaluate(\"10 + 2 * 6\"));\n System.out.println(EvaluateString.evaluate(\"100 * 2 + 12\"));\n System.out.println(EvaluateString.evaluate(\"100 * ( 2 + 12 )\"));\n System.out.println(EvaluateString.evaluate(\"100 * ( 2 + 12 ) / 14\"));\n }", "title": "" }, { "docid": "20c3b61d04fc7dd520e597c20a0d2c8a", "score": "0.52588713", "text": "public static void main(String[] args) {\n System.out.println(digitSum(125));\n\n int someNum = Integer.parseInt(\"10\");\n someNum += 20;\n System.out.println(someNum);\n }", "title": "" }, { "docid": "517fd96951ca03847360c8f1ba4d9be0", "score": "0.52567935", "text": "public static void main(String[] args) {\n int result1 = sum(10,20);\n System.out.println(result1);\n int result2 = sum(10,20,30);\n System.out.println(result2);\n int result3 = sum(10,20,30,40);\n System.out.println(result3);\n\n }", "title": "" }, { "docid": "b353b09c5212ed754e57bc24942cf238", "score": "0.5252046", "text": "public static void main(String args[])\n {\n Scanner input=new Scanner(System.in);\n String s=input.next();\n String res=\"\";\n for(int i=0;i<s.length();i+=2)\n {\n int times=Integer.parseInt(String.valueOf(s.charAt(i+1)));\n for(int j=0;j<times;j++)\n {\n res+=s.charAt(i);\n }\n }\n System.out.println(res);\n }", "title": "" }, { "docid": "a24ab3d52e74772df0292497f003b8a0", "score": "0.52368987", "text": "public static String doubleChar(String str) {\n String result=\"\";\n for (int i = 0; i <str.length() ; i++) {\n String temp1=str.substring(i,(i+1));\n result=result+temp1+temp1;\n }\n return result;\n }", "title": "" }, { "docid": "8cf3225099da1832c957e7ae2c313b73", "score": "0.5233724", "text": "public static double stringToDouble(String str) {\n\t\t\n\t\tVector<Integer> charRemoveLocations = new Vector<Integer>(0);\n\t\tStringBuilder tempString = new StringBuilder(str);\n\t\tint periodCount = 0;\n\t\tfor (int i = 0; i < str.length(); i++) {\n\t\t\tboolean removeChar = true;\n\t\t\t\n\t\t\tif ((str.charAt(i) == '.') && (periodCount == 0)) {\n\t\t\t\tremoveChar = false;\n\t\t\t\tperiodCount++;\n\t\t\t}\n\t\t\t\n\t\t\telse {\n\t\t\t\t// Looping through ASCII values for numbers 0-9\n\t\t\t\tfor(int j = 48; j < 58; j++) {\n\t\t\t\t\tif ((int) str.charAt(i) == j) {\n\t\t\t\t\t\tremoveChar = false;\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\tif (removeChar == true) {\n\t\t\t\tcharRemoveLocations.addElement(i);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = charRemoveLocations.size(); i > 0; i--) {\n\t\t\ttempString.deleteCharAt(charRemoveLocations.get(i - 1));\n\t\t}\n\t\t\n\t\tstr = tempString.toString();\n\t\treturn Double.parseDouble(str);\n\t\t\n\t}", "title": "" }, { "docid": "3f15a4e2b952554678631bc1b1fe0188", "score": "0.5232459", "text": "public static void main(String[] args) {\n String str =\"pwwkew\";\r\n getLength(str);\r\n\t}", "title": "" }, { "docid": "d2c229ab12835b2f24cdecb7f4b54e40", "score": "0.52266824", "text": "public int add(String string) {\n\t\tif(\"\".contentEquals(string))\n\t\t\treturn 0;\n\t\tString[] values = splitter.split(string);\n\t\n\t\tcheckNegatives(values);\n\t\t\n\t\treturn addSum(values);\n\t}", "title": "" }, { "docid": "3af90fa465b6801b3ea8cabb24e7ec00", "score": "0.52253973", "text": "void mo60000a(String str, String str2, String str3);", "title": "" }, { "docid": "f72cd53983f3f66c40aafe1b1d537548", "score": "0.52252954", "text": "public int evaluate(String expression) {\r\n\t\t int sum = 0;\r\n\t\t for (String summand: expression.split(\"\\\\+\"))\r\n\t\t sum += Integer.valueOf(summand);//HM: Integer.valueOf() cast string to int\r\n\t\t return sum;\r\n\t\t }", "title": "" }, { "docid": "38554b0db360a33294c60100adaef731", "score": "0.5213751", "text": "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Integer firstDigit = sc.nextInt();\n Integer secondDigit = sc.nextInt();\n \n System.out.println(sum(firstDigit, secondDigit));\n sc.close();\n }", "title": "" }, { "docid": "874c01fc31234a134e21830eae002f30", "score": "0.52069646", "text": "public static int reader_s10(String a,String b,String c,String d) {\n int sum=0;\n if (a.equals(\"*\")){\n sum++;\n }\n if (b.equals(\"*\")){\n sum+=2;\n }\n if (c.equals(\"*\")){\n sum+=4;\n }\n if (d.equals(\"*\")){\n sum+=8;\n }\n return sum;\n }", "title": "" }, { "docid": "935b4c28842a3b984e729792276ed472", "score": "0.5206641", "text": "public static void main (String[] args) {\n String s = \"9234\"; // 9000 + 200 + 30 + 4\n int digit, wholenum = 0;\n \n digit = s.charAt(0) - '0';\n wholenum = digit * 1000;\n digit = s.charAt(1) - '0';\n wholenum += digit * 100;\n digit = s.charAt(2) - '0';\n wholenum += digit * 10;\n digit = s.charAt(3) - '0';\n wholenum += digit * 1;\n \n System.out.println(\"wholenum \" + wholenum);\n System.out.println(\"wholenum * 2 \" + (wholenum*2));\n //System.out.println(\"wholenum * 2\" + s*2);\n \n //System.out.println(\"digit \" + digit);\n //System.out.println(\"digit +1 \" + (digit+1));\n}", "title": "" }, { "docid": "169437f8e69d53682b5165921835dcef", "score": "0.5200125", "text": "public static void main(String args[] ) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n ArrayList<Integer> list = new ArrayList<Integer>();\n for (int i = 0; i < N; i++) {\n \tString s = sc.nextLine();\n \tint indexSpace = s.indexOf(' ');\n \t\tint l = Integer.parseInt(s.substring(0, indexSpace));\n \t\tint r = Integer.parseInt(s.substring(indexSpace + 1));\n \t\tif(l > r) {\n \t\t\tlist.add(0);\n \t\t} else {\n \t\t\t//list.add(sum1(l, r));\n \t\t\tSystem.out.println(\"By sum: \" + sum(l, r));\n \t\t}\n }\n for(int j = 0; j < list.size(); j++) {\n \tSystem.out.println(\"By sum1: \" + list.get(j));\n }\n\n }", "title": "" }, { "docid": "1eddc7f607d6024f7f7daa7d6a5a6665", "score": "0.5197054", "text": "static int size_of_cpe(String passed){\n return 3;\n }", "title": "" }, { "docid": "7a1cdde451958253fd8a3ecc2ee5714a", "score": "0.51920533", "text": "@Test\n public void test_5_15_sum_13_4() {\n Rational r = Rational.sum(r_5_15, r_13_4);\n assertEquals(\"43/12\",r.toString());\n }", "title": "" }, { "docid": "c991d321077bd2132020f81777aa2d3f", "score": "0.51897275", "text": "private String getData(String s, String beginTag, String endTag) {\n\t\tString[] s1 = s.split(beginTag);\r\n\t\tString[] s2 = s1[1].split(endTag);\r\n//\t\tLog.d(\"s2: \", s2[0] + \" \" + s2[1]);\r\n\t\treturn s2[0];\r\n\t}", "title": "" }, { "docid": "4bd7bb9792e5f35ff3731705f3c3b6ac", "score": "0.5185381", "text": "public static void main(String[] args) {\n\t\t\n\t String x = \"100\";\n\t System.out.println(x+100);\n\t int i = Integer.parseInt(x);\n\t System.out.println(i+100);\n\t String total = \"5000\";\n\t int value = Integer.parseInt(total)-30+45;\n\t System.out.println(value);\n\t \n\t String y = \"100A\";\n\t String[] f=y.split(\"A\");\n\t int k = Integer.parseInt(f[0]);\n\t \n\t \n\t System.out.println(k+20);\n\t //String to double:\n\t String p = \"12.33\";\n\t double d = Double.parseDouble(p);\n\t System.out.println(d+20);\n\t \n\t int marks = 100;\n\t \n\t String s = String.valueOf(marks);\n\t System.out.println(s+20); \n\t \n\t boolean flag = true;\n\t System.out.println(flag+\"Bye\");\n\n\t}", "title": "" }, { "docid": "57e314de93997b649620349a03efd704", "score": "0.51789427", "text": "public static void main(String[]args) {\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tint a=100;\r\n\t\tint b=200;\r\n\t\t\r\n\t\tString x=\"hello\";\r\n\t\tString y=\"world\";\r\n\t\t\r\n\t\tdouble d=10.10;\r\n\t\tdouble e=20.10;\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"1\" +a+b);\r\n\t\tSystem.out.println(\"2\" +x+y);\r\n\t\tSystem.out.println(\"3\" +a+b+x+y);\r\n\t\t\r\n\t\tSystem.out.println(\"4\" +x+y+a+b); //it wont add the numbers\r\n\t\t\r\n\t\tSystem.out.println(\"5\" +x+y+(a+b)); //this will add numbers\r\n\t\t\r\n\t\tSystem.out.println( \"6\" +x+a+b+y);\r\n\t\t\r\n\t\tSystem.out.println( \"7\" +(x+y)+b+a);\r\n\t\t\r\n\t\tSystem.out.println( \"8\" +(a+b)+(x+y));\r\n\t\t\r\n\t\tSystem.out.println( \"9\" +(a+b)+y+x);\r\n\t\t\r\n\t\tSystem.out.println( \"10\" +a+b+a+b+x+a+y+x+y+b+x+y+(a+b+x+y+b+a));\r\n\t\t\r\n\t\t//600hello100worldhelloworld200helloworld300helloworld200100\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"the sume of d and e is:\" +(d+e));\r\n\t\tSystem.out.println(\"the sume of integer and double value is:\" +(a+b+d+e));\r\n\t\tSystem.out.println(\"the sum of string and double value is:\" +(x+d+y+e));\r\n\t\t\r\n\t\t\r\n\t\tSystem.out.println(\"shivang\");\r\n\t\tSystem.out.print(\"selenium\");\r\n\t\tSystem.out.println(\"java\");\r\n\t\tSystem.out.print(\"hello i am kishan\");\r\n\t\tSystem.out.print(\"hiiiii\");\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3b0b77b7473c8afe5445313f39265674", "score": "0.51767695", "text": "public String calculate(String operation, int first, int firstBase, int second);", "title": "" }, { "docid": "4afbfeef17cda0f5614708fd7816199d", "score": "0.5159472", "text": "int mo25340a(String str, int i);", "title": "" }, { "docid": "d96bce01d3c41a7bff3b81bcee39113d", "score": "0.5153869", "text": "private static int a(String string, int n2, int n3) throws NumberFormatException {\n int n4;\n int n5;\n if (n2 < 0 || n3 > string.length() || n2 > n3) {\n throw new NumberFormatException(string);\n }\n if (n2 < n3) {\n n4 = n2 + 1;\n int n6 = Character.digit((char)string.charAt(n2), (int)10);\n if (n6 < 0) {\n throw new NumberFormatException(\"Invalid number: \" + string.substring(n2, n3));\n }\n n5 = - n6;\n } else {\n n4 = n2;\n n5 = 0;\n }\n while (n4 < n3) {\n int n7 = n4 + 1;\n int n8 = Character.digit((char)string.charAt(n4), (int)10);\n if (n8 < 0) {\n throw new NumberFormatException(\"Invalid number: \" + string.substring(n2, n3));\n }\n n5 = n5 * 10 - n8;\n n4 = n7;\n }\n return - n5;\n }", "title": "" }, { "docid": "6ad86338c78d394c4234feed5d6b057c", "score": "0.5151361", "text": "static int size_of_add(String passed){\n return 1;\n }", "title": "" }, { "docid": "4cfb3ae41565ee153b748c314c614870", "score": "0.51509964", "text": "public static void main(String[] args) {\n System.out.println(\"hoi\");\r\n\r\n double a = 33.3;\r\n double b = 66.6;\r\n double r = sum(a, b);\r\n System.out.println(a + \" + \" + b + \" = \" + r);\r\n\r\n double r2 = sub(a, b);\r\n System.out.println(a + \" - \" + b + \" = \" + r2);\r\n\r\n double r3 = multiply(a, b);\r\n System.out.println(a + \" * \" + b + \" = \" + r3);\r\n\r\n\r\n }", "title": "" }, { "docid": "8fe9ab9e3c549f43046405a0712f313d", "score": "0.51344", "text": "public double calculateAge(String a)\r\n {\r\n double aAge=0;\r\n double x=0.0;\r\n String nums = \"0123456789\";\r\n if((a.length() <= 1) && (a.contains(\"w\")||a.contains(\"d\")))\r\n x = Double.parseDouble(a.substring(0, a.length()));\r\n else if((a.length() > 1) && (a.contains(\"w\")||a.contains(\"d\")))\r\n x = Double.parseDouble(a.substring(0, a.length()-1));\r\n else\r\n x = Double.parseDouble(a);\r\n \r\n if(a.contains(\"w\")) {\r\n aAge = x * 0.019165;\r\n }\r\n else if (a.contains(\"d\")) {\r\n aAge = x * 0.00273973;\r\n }\r\n else { \r\n aAge = Double.parseDouble(x+\"\");\r\n }\r\n String newAge = df.format(aAge);\r\n return Double.parseDouble(newAge); \r\n \r\n }", "title": "" }, { "docid": "e95e89b277ecb8b30643c10b7d614732", "score": "0.5122427", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"문자열을 입력하세요.\");\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tString str = scan.next();\r\n\r\n\t\tint sum = 0;\r\n\t\tfor (int i = 0; i < str.length(); i++) {\r\n\t\t\tsum += (str.charAt(i) - 48);\r\n\t\t\t// sum+=(str.charAt(i)-'0'); // '0'=48 , '1'=49\r\n\t\t}\r\n\t\tSystem.out.println(sum);\r\n\t\t/*\r\n\t\t * str.length(); \r\n\t\t * str.charAt(0); \r\n\t\t * str.charAt(1); \r\n\t\t * str.charAt(2);\r\n\t\t * System.out.println(str);\r\n\t\t */\r\n\r\n\t}", "title": "" }, { "docid": "2a3b5e527e47d515998dce681996463a", "score": "0.5108863", "text": "public static void main(String[] args){\n int a = 100;\n int b = 200;\n\n double d1 = 20.10;\n double d2 = 39.20;\n\n String x = \"Hello\";\n String y = \"World\";\n\n String z = x+y;\n //concatenation happens left to right\n String result = a+b+x+y; //300HelloWorld\n String result1 = x+y+a+b; //HelloWorld100200\n String result2 = (x+y+(a+b)); //HelloWorld300\n String result3 = (a+b+x+y+a+x+b+y); //300HelloWorld100Hello200World\n String result4 = (d1+d2+x+y); //59.30HelloWorld\n String result5 = (x+y+d1+d2); //HelloWorld20.139.2\n\n\n System.out.println(\"The concatenated string is: \" + z + \"\\n\" + \"The result value is: \" + result+ \"\\n\" \n + \"The result value is: \" + result1+ \"\\n\" \n + \"The result value is: \" + result2+ \"\\n\" \n + \"The result value is: \" + result3+ \"\\n\" \n + \"The result value is: \" + result4+ \"\\n\"\n + \"The result value is: \" + result5+ \"\\n\");\n }", "title": "" }, { "docid": "bacc9d5bd54c695ea082920c671b1b1d", "score": "0.51075923", "text": "public static int reader_s1(String a,String b,String c,String d) {\n int sum=0;\n if (a.equals(\"*\")){\n sum++;\n }\n if (b.equals(\"*\")){\n sum+=2;\n }\n if (c.equals(\"*\")){\n sum+=4;\n }\n if (d.equals(\"*\")){\n sum+=8;\n }\n return sum;\n }", "title": "" }, { "docid": "0b654dfb7501cbcf6615e82e1c08c0a1", "score": "0.5105094", "text": "public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString st = sc.next();\n\t\tString [] arr = st.split(\"-\"); // '-' 기준으로 배열에 담기 \n\t\t\n\t\t//처음 '-'전 앞숫자에 '+' 가 있으면!! 그거는 + 로 나눠서 arr2에 넣기 \n\t\t//없으면 넘어감 \n\t\tString [] arr2 = arr[0].split(\"\\\\+\");\n\t\t\n\t\t//그리고 그 배열arr2의 값을 변수에 대입!\n\t\tint a = 0;\n\t\tfor(String b : arr2)\n\t\t\ta += Integer.parseInt(b);\n\t\t//이렇게 하면 a에는 두값이 누적된상태임 \n\t\t\n\t\tint sum = 0;\n\t\t\n\t\tfor(int i=1;i<arr.length; i++) {\n\t\t\t\n\t\t\tString [] arr3 = arr[i].split(\"//+\");\n\t\t\t\n\t\t\t//배열의 값을 변수에 대입 \n\t\t\tfor(String b : arr3)\n\t\t\t\tsum += Integer.parseInt(b);\n\t\t}\n\t\t\n\t\tSystem.out.println(a-sum);\n\n\t}", "title": "" }, { "docid": "dfa1e6ab98cb4f7e1c8118b0bf4f865c", "score": "0.5104424", "text": "@Test\n\tpublic void testgetHexDigitsSumValidStr2() {\n\t\tSumService objSumService = new SumServiceImpl();\n\t\tString mockInputStr = \" fbc 123 \";\n\t\tlong sum = objSumService.getHexDigitsSum(mockInputStr);\n\t\tAssert.assertTrue(sum == 44);\n\t}", "title": "" }, { "docid": "50633d04d862447eccc6a4858d9a073e", "score": "0.5097706", "text": "public double calculate(String in) throws DivisionByZero{\n String[] s = Validator.toStringArr(in);\n Stack<Double> op = new Stack<>();\n double a, b;\n for (int i=0; i< s.length;i++){\n if (s[i].matches(\"[-+*/%]\")){\n b = op.pop();\n a = op.pop();\n switch (s[i]){\n case \"-\": {\n op.push(a-b);\n break;\n }\n case \"+\": {\n op.push(a+b);\n break;\n }\n case \"*\": {\n op.push(a*b);\n break;\n }\n // Check both division operations for division by 0\n case \"/\": {\n if (b == 0) {\n throw new DivisionByZero(\"Division by 0\");\n } else {\n op.push(a / b);\n break;\n }\n }\n case \"%\": {\n if (b == 0) {\n throw new DivisionByZero(\"Division by 0\");\n } else {\n op.push(a % b);\n break;\n }\n }\n }\n } else {\n op.push(Double.parseDouble(s[i]));\n }\n }\n return op.pop();\n }", "title": "" }, { "docid": "571989952493a50f044d87fc1d56ada5", "score": "0.50956005", "text": "private int getPrice(String price){\n String [] parts = price.split(\" \");\n String priceString = parts[1];\n String finalPrice =\"\";\n for(int i=0;i<priceString.length();i++){\n if(priceString.charAt(i) == ','){\n continue;\n }else{\n finalPrice+=priceString.charAt(i);\n }\n }\n return Integer.parseInt(finalPrice);\n }", "title": "" }, { "docid": "4d744d29c5b3218a6446c642fce95212", "score": "0.5090562", "text": "public int evaluateAnOtherCalculation(String expression) {\r\n\t int sum = 0;\r\n\t for (String summand: expression.split(\"\\\\+\"))\r\n\t sum += Integer.valueOf(summand);//HM: Integer.valueOf() cast string to int\r\n\t return sum;\r\n\t }", "title": "" }, { "docid": "361c16ab7e793eaf81bc33a6ce22523e", "score": "0.5082897", "text": "static int parseFunc(String str) {\r\n try {\r\n return Integer.parseInt(str);\r\n } catch (NumberFormatException e) {\r\n if (str.equals(\"\"))\r\n return 0;\r\n if (str.substring(0, 3).equals(\"abs\"))\r\n return Math.abs(parsePlusMinus(str.substring(4, str.length() - 1)));\r\n else if (str.substring(0, 4).equals(\"sqrt\"))\r\n return (int) Math.sqrt(parsePlusMinus(str.substring(5, str.length() - 1)));\r\n throw e;\r\n }\r\n }", "title": "" }, { "docid": "ebb812ba6b088d60ae91b4fa807f6717", "score": "0.5076697", "text": "public static void main(String[] args) {\n\t\t\n\t\tString x = \"100\";\n\t\tSystem.out.println(x+100100);\n\t\t\n\t\tint i = Integer.parseInt(x);\n\t\tSystem.out.println(i+20);\n\t\t\n\t\tString y = \"12.55\";\n\t\tdouble d = Double.parseDouble(y);\n\t\tSystem.out.println(d+10);\n\t\t\n\t\t//String to character\n\t\tString z = \"r\";\n\t\tchar a = Character.parseCharacter(z);\n\t\t\n\t\t\n\n\t}", "title": "" }, { "docid": "da4f116a231d3777567c777b990fc5ba", "score": "0.5074626", "text": "static int size_of_daa(String passed){\n return 1;\n }", "title": "" }, { "docid": "2ad628c317e91cbf557f33356499764e", "score": "0.50732636", "text": "public String calculatePricePerPiece(int piece, String price){\n \t\tdouble b = Double.parseDouble(price);\n \t\treturn b/piece+\"\";\n \t}", "title": "" }, { "docid": "a6cf245d4c262ed7d2e818a61a8b8763", "score": "0.50614077", "text": "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String cur = sc.nextLine();\n StringBuilder answer = new StringBuilder();\n int sum = 0;\n int curInt = 0;\n while (true) {\n try {\n //Part 2\n curInt = ((Integer.parseInt(cur) / 3) - 2);\n while(curInt > 0){\n sum += curInt;\n curInt /= 3;\n curInt -= 2;\n }\n cur = sc.nextLine();\n } catch (NoSuchElementException | NumberFormatException e){\n break;\n }\n }\n sc.close();\n System.out.println(sum);\n }", "title": "" }, { "docid": "9274c660a944da613f27e076a1fd3c7a", "score": "0.50601125", "text": "public static void processInput(String str)\n\t{\n\t\t//implement the logic\n\t\tString a[] = str.split(\" \");\n\t\tint maxS = Integer.parseInt(a[0]);\n\t\tint p[]= new int[maxS+1];\n\t\t\n\t\tfor(int i = 0; i <= maxS; i++)\n\t\t{\n\t\t\tp[i] = Integer.parseInt(a[1].charAt(i)+\"\");\n\t\t}\n\t\t\n\t\tint count = 0;\n\t\tint req = 0;\n\t\tfor(int i = 0; i <=maxS; i++)\n\t\t{\n\t\t\tif(p[i] != 0)\n\t\t\t{\n\t\t\t\tif(count < i)\n\t\t\t\t\treq = req + 1;\t\n\t\t\t}\n\t\t\tcount = count + p[i];\n\t\t}\n\t\tSystem.out.println(req);\n\t}", "title": "" }, { "docid": "2952349a2a0f7688ac5b8d84f66abd9f", "score": "0.5046272", "text": "private double[] getMeanAndSd(String s) {\n\t\tString firstSplit[] = s.split(\"\\n\");\n\t\tString secondSplit[] = firstSplit[0].split(\"\\\\(\");\n\t\tdouble mean = 0.0;\n\t\ttry {\n\t\t\tmean = Double.parseDouble(secondSplit[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t}\n\t\tdouble sd = 0.0;\n\t\tString thridSplit[] = secondSplit[1].split(\"\\\\)\");\n\t\ttry {\n\t\t\tsd = Double.parseDouble(thridSplit[0]);\n\t\t} catch (NumberFormatException e) {\n\t\t}\n\t\treturn new double[] { mean, sd };\n\t}", "title": "" }, { "docid": "0316696404bae935add61f8b04a9393a", "score": "0.5045724", "text": "public static void main(String[] args) {\n //System.out.println(getLCA(2,3));\n Scanner scanner = new Scanner(System.in);\n String s = scanner.nextLine();\n String[] arr = s.split(\" \");\n int res = 0;\n for (int i = 0; i < arr.length; i++) {\n res+=Integer.parseInt(arr[i]);\n }\n System.out.println(res/7700.0);\n }", "title": "" } ]
1f25340ba64d645239ab9016938db708
This method was generated by MyBatis Generator. This method corresponds to the database table user
[ { "docid": "20ec407bef650fa409922488b9c3f551", "score": "0.0", "text": "int insertSelective(User record);", "title": "" } ]
[ { "docid": "338b235fc9a9d97f73cfe7c27dfc8ab6", "score": "0.6867685", "text": "@Override\n public List<User> queryAllUser() {\n try {\n // TODO Auto-generated method stub\n UserDao ud = MybatisUtil.getMapper(UserDao.class);\n List<User> list = ud.queryAllUser();\n\n return list;\n } catch (Exception e) {\n throw new RuntimeException(e.getMessage());\n } finally {\n MybatisUtil.close();\n }\n }", "title": "" }, { "docid": "37c5133acf6be40a65d87b4996a87c16", "score": "0.68040895", "text": "@Override\r\n\tpublic List<User> seleUser() {\n\t\tString hql = \"from User\";\r\n\t\tArrayList<User> list = (ArrayList<User>) baseDao.getAll(hql);\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "2a3b6203228b483d275d65c0af43c2f1", "score": "0.6708552", "text": "@Override\n\tpublic List<User> getAllUsers() {\n\t\t String hql = \"from User\"; \n\t Query query = mSessionFactory.getCurrentSession().createQuery(hql); \n\t \n\t return query.list(); \n\t}", "title": "" }, { "docid": "e2007507af213d70535b233ac430b677", "score": "0.6686993", "text": "@Override\n public String asTableDbName() {\n return \"user_info\";\n }", "title": "" }, { "docid": "cc00e1d2375e6b82fcca3ec50d6a2bf6", "score": "0.65185666", "text": "@MyBatisRepository\npublic interface UserMybatisDao {\n User findByLoginName(String loginName);\n\n int createUser(User user);\n\n int modifyUser(User user);\n\n int deleteUser(Long userId);\n}", "title": "" }, { "docid": "e68cb64d19ee0663db0231d5be2e42ed", "score": "0.6514891", "text": "public interface UserMapper {\n @Select(\"select * from user\")\n @Results({\n @Result(property = \"id\", column = \"id\", javaType = Long.class),\n @Result(property = \"userName\", column = \"user_name\", javaType = String.class),\n @Result(property = \"passWord\", column = \"pass_word\", javaType = String.class),\n @Result(property = \"email\", column = \"email\", javaType = String.class),\n @Result(property = \"nickName\", column = \"nick_name\", javaType = String.class),\n @Result(property = \"regTime\", column = \"reg_time\", javaType = String.class)\n })\n List<UserDO> getAll();\n\n @Insert(\"INSERT INTO user(user_name,pass_word,email,nick_name,reg_time) VALUES(#{userName}, #{passWord}, #{email}, #{nickName}, #{regTime})\")\n void insert(UserDO user);\n}", "title": "" }, { "docid": "034934af74c806642e6cc86f4eda67e0", "score": "0.65080696", "text": "@MyBatisRepository\npublic interface MboxUserDAO {\n\n /**\n *\n *\n * @author dengbin ibcm@qq.com\n * @param user\n * @since JDK 1.6\n */\n public void insertUser(TabletUser user);\n /**\n *\n * @author dengbin ibcm@qq.com\n * @param userId\n * @since JDK 1.6\n */\n public void removeUser(long userId);\n /**\n *\n *\n * @author dengbin ibcm@qq.com\n * @param userId\n * @return\n * @since JDK 1.6\n */\n public List<TabletUser> getMboxUser(Map map);\n /**\n * \n *\n * @author dengbin ibcm@qq.com\n * @param user\n * @return\n * @since JDK 1.6\n */\n public int checkTabletUser(TabletUser user);\n \n public Date getLastUpdateTime();\n \n public List<TabletUser> getUpdateUser(Date update);\n}", "title": "" }, { "docid": "2897a069ad87f0b08adb8436ca72a11f", "score": "0.6408768", "text": "@Mapper\npublic interface UserDAO {\n String TABLE_NAME=\" user \";\n String INSERT_FIELDS =\" name, salt, password, createdDate, status, email\";\n String SELECT_FIELDS = \" id, \" + INSERT_FIELDS;\n\n @Select({\"select \",SELECT_FIELDS,\" from \",TABLE_NAME,\" where id = #{id}\"})\n User selectByid(@Param(\"id\") int id);\n\n @Select({\"select \",SELECT_FIELDS,\" from \",TABLE_NAME,\" where name = #{name}\"})\n User selectByName(@Param(\"name\") String name);\n\n @Insert({\"insert into \", TABLE_NAME,\" (\", INSERT_FIELDS, \")values(#{name},#{salt},#{password},#{createdDate},#{status},#{email})\"})\n int addUser(User user);\n}", "title": "" }, { "docid": "603f016221bec01f285a065ec7c67739", "score": "0.6406364", "text": "@RegisterMapper(UserMapper.class)\npublic interface UserDAO {\n\n /**\n * Insert a new user into the table\n */\n @SqlUpdate(\"INSERT INTO users (username, password, name, age, successful_logins, failed_logins, roles) values (:username, :password, :name, :age, null, null, '{\\\"USER\\\"}')\")\n void insert(@Bind(\"username\") String username, @Bind(\"password\") String password, @Bind(\"name\") String name, @Bind(\"age\") int age);\n\n\n /**\n * Append the current timestamp to the {@code successful_login} table\n *\n * @param username the username of the user to append\n */\n @SqlUpdate(\"UPDATE users SET successful_logins=ARRAY_APPEND((SELECT successful_logins FROM users WHERE username=:username),:timestamp) WHERE username=:username\")\n void addSuccessfulLogin(@Bind(\"timestamp\") String timestamp, @Bind(\"username\") String username);\n\n\n /**\n * Append the current timestamp to the {@code failed_logins} table\n *\n * @param username the username of the user to append\n */\n @SqlUpdate(\"UPDATE users SET failed_logins=ARRAY_APPEND((SELECT failed_logins FROM users WHERE username=:username),:timestamp) WHERE username=:username\")\n void addFailedLogin(@Bind(\"timestamp\") String timestamp, @Bind(\"username\") String username);\n\n\n /**\n * Returns the {@link User} by their {@code username}\n *\n * @param username username of the user to fetch {@link User} information for\n * @return the {@link User} by thier {@code username}\n */\n @SqlQuery(\"SELECT * FROM users WHERE username = :username LIMIT 1\")\n User getUser(@Bind(\"username\") String username);\n\n /**\n * Returns a {@link User} by their {@code username} and {@code password}\n *\n * @param username username of the user\n * @param password password of the user\n * @return a {@link User} by their {@code username} and {@code password}\n */\n @SqlQuery(\"SELECT * FROM users WHERE username = :username AND password = :password LIMIT 1\")\n User getUser(@Bind(\"username\") String username, @Bind(\"password\") String password);\n\n /**\n * Close with no args is used to close the connection\n */\n void close();\n}", "title": "" }, { "docid": "1ce9c12285fe50987bae2675695306c8", "score": "0.63848037", "text": "public List<User> getListUser() {\n\t\tSqlSession sqlSession = MyBatisUtil.getSqlSessionFactory().openSession();\n\t\ttry {\n\t\t\tUserMapper userMapper = sqlSession.getMapper(UserMapper.class);\n\t\t\treturn userMapper.getListUser();\n\t\t} finally {\n\t\t\tsqlSession.close();\n\t\t}\n\t}", "title": "" }, { "docid": "9e3f4906fac85f3b3ae67c2e7c41e97d", "score": "0.63777983", "text": "public interface UserMapper {\n\n// @Insert(\"INSERT INTO user (username,sex,birthday,address) VALUE (#{username},#{sex},#{birthday},#{address})\")\n public int save(User user);\n\n// @Select(\"SELECT * FROM user WHERE id = #{id}\")\n public User findUserById(int id);\n\n\n}", "title": "" }, { "docid": "c6b157ed3931582341b8e60c503f32bc", "score": "0.637397", "text": "@Select(\"Select id,enabled,name,role_id from users\")\r\n\tList<User> getAll();", "title": "" }, { "docid": "c38a74f11abdbdf28f270826328653f2", "score": "0.6364664", "text": "@Select({\n \"select\",\n \"id, userName, pwd, email, slat, avatar, sex, phone, brithday, nickName, trueName, \",\n \"status, createTime, updateTime, address, workyears, job, dream, introduce, balance, \",\n \"points\",\n \"from kd_user\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"userName\", property=\"username\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pwd\", property=\"pwd\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"email\", property=\"email\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"slat\", property=\"slat\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"avatar\", property=\"avatar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"sex\", property=\"sex\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"brithday\", property=\"brithday\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"nickName\", property=\"nickname\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"trueName\", property=\"truename\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"createTime\", property=\"createtime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"updateTime\", property=\"updatetime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"workyears\", property=\"workyears\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"job\", property=\"job\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"dream\", property=\"dream\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"introduce\", property=\"introduce\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"balance\", property=\"balance\", jdbcType=JdbcType.BIGINT),\n @Result(column=\"points\", property=\"points\", jdbcType=JdbcType.BIGINT)\n })\n List<KDUser> selectAll();", "title": "" }, { "docid": "dab72f8a0519a7fe9646d68ff9fcef92", "score": "0.62747407", "text": "@Override\n\tpublic List<User> selectUser(Map map) {\n\t\treturn getSqlSession().getMapper(UserMapper.class).selectUser(map);\n\t}", "title": "" }, { "docid": "3e91a29d3cd8c32380ec18d9d69c01db", "score": "0.6274234", "text": "@Override\n\tpublic List<User> ListUser() {\n\t\tList<User> list=sessionfactory.getCurrentSession().createQuery(\"from User u\").list();\n\t\treturn list;\n\t}", "title": "" }, { "docid": "0910662ca0b1d2de626e2620848df779", "score": "0.6268442", "text": "@Override\n public List<UserDTO> findAllUsers() {\n return jdbcTemplate.query(\n \"SELECT USER_ID, FIRST_NAME, LAST_NAME, DATE_OF_BIRTH, EMAIL, TELEPHONE, ADDRESS, POST_CODE FROM USER\",\n new UserMapper());\n }", "title": "" }, { "docid": "160bbe54b40c668ccf3a71c604784c21", "score": "0.62448424", "text": "UserModel getUser(int id) throws SQLException;", "title": "" }, { "docid": "1b3e3da6042b4dfa4fbec14cccb0e001", "score": "0.6216587", "text": "@Repository\npublic interface UserMapper {\n List<Admin> getAll();\n\n Integer userUpdate(@Param(\"id\") Integer id,@Param(\"username\") String username,@Param(\"fullname\") String fullname,@Param(\"password\") String password,@Param(\"roleId\") Integer roleId);\n\n @Insert(\"INSERT INTO TLG_User(username,fullname,password,roleId,createTime,modules,isdelete)\" +\n \"VALUES(#{username},#{fullname},#{password},#{roleId},getdate(),'',0)\")\n Integer userAdd(@Param(\"username\") String username,@Param(\"fullname\") String fullname,@Param(\"password\") String password,@Param(\"roleId\") Integer roleId);\n\n @Update(\"update tlg_user set isdelete=1 where id=${id}\")\n Integer userDel(@Param(\"id\") Integer id);\n\n\n @Update(\"update tlg_user set city='${city}' where id=${userId}\")\n Integer updateCity(@Param(\"userId\") Integer userId, @Param(\"city\") String city);\n\n @Select(\"select top 1 id,username,password,fullname,roleId from tlg_user where username=#{username} and isDelete=0 \")\n @Results({\n @Result(id=true,property=\"id\",column=\"id\"),@Result(property=\"username\",column=\"username\"),\n @Result(property=\"password\",column=\"password\"),@Result(property=\"fullname\",column=\"fullname\"),\n @Result(property=\"role\",column=\"roleId\",one=@One(select=\"com.tlgc.mapper.franchise.RoleMapper.getRoleById\"))\n })\n\n User getUserByUsername(String username);\n @Select(\"select u.id,username,password,fullname,roleId,r.title role,u.isdelete from tlg_user u join tlg_roles r on u.roleId=r.id\")\n List<HashMap> getUserList();\n}", "title": "" }, { "docid": "1a15a8594a0ce55b1107334fc76a2e7a", "score": "0.6208468", "text": "@Mapper\npublic interface UserServiceMapper {\n\n @Insert({\"INSERT INTO tb_user (userId) VALUES (#{UserVo.userId})\"})\n int addUser(@Param(\"UserVo\") UserVo user);\n\n /**\n * 一个参数可以不加 @Param(\"\")\n */\n @Select({\"SELECT * FROM tb_user WHERE userId = #{userId}\"})\n UserVo findUserByUserId(String userId);\n\n @Select({\"SELECT * FROM tb_user WHERE phone = #{phone}\"})\n UserVo findUserByPhone(String phone);\n\n @Update({\n \"UPDATE tb_user set userName=#{UserVo.userName},nickName=#{UserVo.nickName},\"\n + \"phone=#{UserVo.phone},avatar=#{UserVo.avatar},department=#{UserVo.department},\"\n + \"userGroup=#{UserVo.group},userType=#{UserVo.userType},updatedAt=now() \"\n + \"WHERE userId = #{UserVo.userId}\"})\n int updateUserByUserId(@Param(\"UserVo\") UserVo user);\n\n @Delete({\"DELETE FROM tb_user WHERE userId = #{userId}\"})\n int deleteUserByUserId(String userId);\n\n @Update({\"UPDATE tb_user set userType = #{userType} WHERE userId = #{userId}\"})\n int setUserType(@Param(\"userId\") String userId, @Param(\"userType\") String userType); // 设置用户类型\n\n}", "title": "" }, { "docid": "85c5c61d4aabba112e5dffb92ff9e277", "score": "0.6188284", "text": "@Mapper\npublic interface UserMapper {\n\n /**\n * 根据name查询用户\n * @param loginDto\n * @return\n */\n @Select(\"SELECT id, user_name AS userName, account, password, salt, locked FROM sys_user where user_name=#{uname} \")\n List<UserBo> selectByUname(UserDto loginDto);\n\n /**\n * 修改密码\n * @param userDto\n * @return\n */\n @Update(\"update sys_user set password=#{password} where user_name=#{uname}\")\n void updateUser(UserDto userDto);\n}", "title": "" }, { "docid": "721457e5ad70013aed2e2020ed5b6bba", "score": "0.6180246", "text": "public interface UserMapper {\n\n @Select(\"SELECT * FROM app_user WHERE id = #{userId}\")\n @Results({\n @Result(property = \"ssoId\", column = \"sso_id\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\")\n })\n User findOne(@Param(\"userId\") String userId);\n\n @Select(\"SELECT * FROM app_user WHERE sso_id = #{ssoId}\")\n @Results({\n @Result(property = \"ssoId\", column = \"sso_id\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\")\n })\n User findBySsoId(@Param(\"ssoId\") String ssoId);\n\n @Select(\"SELECT user_profile.type FROM \" +\n \" seqnumgen.user_profile,\" +\n \" seqnumgen.app_user_user_profile,\" +\n \" seqnumgen.app_user\" +\n \" WHERE \" +\n \" user_profile.id = app_user_user_profile.user_profile_id AND \" +\n \" app_user_user_profile.user_id = app_user.id AND \" +\n \" app_user.id = #{userId}\")\n @Results({\n @Result(property = \"ssoId\", column = \"sso_id\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\")\n })\n Set<UserProfile> findUserProfilesByUserId(@Param(\"userId\") int userId);\n\n @Insert(\"INSERT INTO app_user(sso_id, password, first_name, last_name, email) \" +\n \"VALUES (#{ssoId}, #{password}, #{first_name}, #{last_name}, #{email})\")\n @Results({\n @Result(property = \"ssoId\", column = \"sso_id\"),\n @Result(property = \"firstName\", column = \"first_name\"),\n @Result(property = \"lastName\", column = \"last_name\")\n })\n void saveUser(@Param(\"ssoId\") String ssoId,\n @Param(\"firstName\") String firstName,\n @Param(\"lastName\") String lastName,\n @Param(\"email\") String email);\n}", "title": "" }, { "docid": "a56edec1a123b7a1f399d7e79d7930f0", "score": "0.61743", "text": "public interface TbAdminUserMapper {\n\n @Select(\"select * from tb_admin_user where username=#{username} and password=#{password}\")\n TbAdminUser selectUser(@Param(\"username\") String username, @Param(\"password\") String password);\n}", "title": "" }, { "docid": "2dce3c30e8621a96cf7c5142c527cfdb", "score": "0.6168631", "text": "@Override\r\n\tpublic String getTableName() {\n\t\treturn \"tb_goods_user\";\r\n\t}", "title": "" }, { "docid": "f0109bb71fc5bf5f3b87bd61895502a0", "score": "0.61253405", "text": "@Override\n public List<User> getListUsers() {\n return entityManager.createQuery(\n \"select u from User u order by u.id\", User.class)\n .getResultList();\n }", "title": "" }, { "docid": "1263bc23ae8a4ca60624f12fbf4d730c", "score": "0.6107606", "text": "@SqlQuery(\"select * from player where name = ?\")\n @RegisterBeanMapper(User.class)\n User userByName(@Bind(\"name\") String name);", "title": "" }, { "docid": "9f3383939b9b026fa5ae411a95688789", "score": "0.6099145", "text": "@Override\r\n\tpublic List<User> listAllUser() {\n\t\tSession session = this.sessionFactory.getCurrentSession();\r\n\t\tList<User> emps = session.createQuery(\"from User\", User.class).list();\r\n\t\treturn emps;\r\n\t}", "title": "" }, { "docid": "c6a19f5487a672362fc2568facc26c38", "score": "0.6096273", "text": "@Select({\n \"select\",\n \"id, userName, pwd, email, slat, avatar, sex, phone, brithday, nickName, trueName, \",\n \"status, createTime, updateTime, address, workyears, job, dream, introduce, balance, \",\n \"points\",\n \"from kd_user\",\n \"where id = #{id,jdbcType=BIGINT}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.BIGINT, id=true),\n @Result(column=\"userName\", property=\"username\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"pwd\", property=\"pwd\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"email\", property=\"email\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"slat\", property=\"slat\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"avatar\", property=\"avatar\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"sex\", property=\"sex\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"brithday\", property=\"brithday\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"nickName\", property=\"nickname\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"trueName\", property=\"truename\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"status\", property=\"status\", jdbcType=JdbcType.TINYINT),\n @Result(column=\"createTime\", property=\"createtime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"updateTime\", property=\"updatetime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"workyears\", property=\"workyears\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"job\", property=\"job\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"dream\", property=\"dream\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"introduce\", property=\"introduce\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"balance\", property=\"balance\", jdbcType=JdbcType.BIGINT),\n @Result(column=\"points\", property=\"points\", jdbcType=JdbcType.BIGINT)\n })\n KDUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "ab832d7ad00cedf7d3e6871edede528e", "score": "0.60815084", "text": "@Insert({\n \"insert into kd_user (id, userName, \",\n \"pwd, email, slat, \",\n \"avatar, sex, phone, \",\n \"brithday, nickName, \",\n \"trueName, status, \",\n \"createTime, updateTime, \",\n \"address, workyears, \",\n \"job, dream, introduce, \",\n \"balance, points)\",\n \"values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, \",\n \"#{pwd,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{slat,jdbcType=VARCHAR}, \",\n \"#{avatar,jdbcType=VARCHAR}, #{sex,jdbcType=TINYINT}, #{phone,jdbcType=VARCHAR}, \",\n \"#{brithday,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, \",\n \"#{truename,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, \",\n \"#{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, \",\n \"#{address,jdbcType=VARCHAR}, #{workyears,jdbcType=INTEGER}, \",\n \"#{job,jdbcType=VARCHAR}, #{dream,jdbcType=VARCHAR}, #{introduce,jdbcType=VARCHAR}, \",\n \"#{balance,jdbcType=BIGINT}, #{points,jdbcType=BIGINT})\"\n })\n int insert(KDUser record);", "title": "" }, { "docid": "8713792bc2044973588695ae4ff10ed1", "score": "0.60505915", "text": "@Query(value = \"FROM User u\")\n\tArrayList<User> getAllUsers();", "title": "" }, { "docid": "d6cb4b7e6a1b306b1f0865a7816621f3", "score": "0.6041787", "text": "@SuppressWarnings(\"unchecked\")\r\n\t@Override\r\n\tpublic List<User> listUser() {\n\t\treturn sessionFactory.getCurrentSession().createQuery(\"from User\").list();\r\n\t}", "title": "" }, { "docid": "4e1b40c93f1a161f55eeee9e60ae375e", "score": "0.602036", "text": "IrpAsseuser selectByPrimaryKey(Long asseuserid) throws SQLException;", "title": "" }, { "docid": "dffb6f610dbdc9ed9a839d3d228d5935", "score": "0.6011386", "text": "@Override\n\tpublic List<User> getUserList() {\n\t\treturn userDao.findAll();\n\t}", "title": "" }, { "docid": "d4cda667e915e23e933b22b633bdb237", "score": "0.5995336", "text": "@Override\r\n\tpublic UserVO userInfo(String userId) throws Exception {\n\t\treturn session.selectOne(\"org.spring.img.mappers.userMapper.userImpormation\",userId);\r\n\t}", "title": "" }, { "docid": "ee14521ab0001dd1a8b76cadde876b12", "score": "0.59910923", "text": "public List<DbUserPojo> listUsers();", "title": "" }, { "docid": "a43e2fa806fd580b45e380f4ea04cf46", "score": "0.59891385", "text": "UsercontrollerUser selectByPrimaryKey(Integer userId);", "title": "" }, { "docid": "171af5e159ea23eb7be9de50b12fae06", "score": "0.5988437", "text": "@Query (\"SELECT * FROM User\")\n List<User> getUsers();", "title": "" }, { "docid": "a474675b347a9109d7e17a4ba3a89898", "score": "0.5978488", "text": "public interface UserDao {\n //这里以接口形式定义了数据库操作方法,我们只需\n // 在Mybatis映射文件中对其进行映射就可以直接使用\n public User selectById(int id);\n public User selectByName(String username);\n}", "title": "" }, { "docid": "ecd1e7af2079b40daead83378e2d21d4", "score": "0.5971749", "text": "public CloudinsUserDao() {\n super(CloudinsUser.CLOUDINS_USER, jooq.data.tables.pojos.CloudinsUser.class);\n }", "title": "" }, { "docid": "100fe6852c7215c1ceb69cb61538b9f0", "score": "0.5959311", "text": "@Override\n\tpublic List<User> selectAllNo(){\n\t\treturn this.getSqlSession().selectList(\"com.hcycom.pingtest.dao.UserMapper.selectAllNo\");\n\t}", "title": "" }, { "docid": "b354807da251a61e61ee22128c3bf65e", "score": "0.5955581", "text": "public interface UserMapper {\n @Select(\"select * from `user` where id = #{id}\")\n User getUser(@Param(\"id\") int id);\n\n @Insert(\"INSERT INTO `user` (id, `name`) VALUE (null, #{name});\")\n void addUser(@Param(\"name\") String name);\n\n @Select(\"select * from `user`\")\n List<User> findUser();\n}", "title": "" }, { "docid": "7edd3abb7745eced5103f9ca2d6ca669", "score": "0.5942552", "text": "public interface UserMapper {\n\n @Select(\"select * from user where name=#{name}\")\n UserEntity findName(@Param(\"name\") String name);\n\n @Insert(\"insert into user(name,age) values(#{name},#{age}) \")\n int addUser(@Param(\"name\") String name, @Param(\"age\") int age);\n}", "title": "" }, { "docid": "01eef15cce3d54ddb59f7759fae78f24", "score": "0.5931987", "text": "@Override\n\tpublic User login(User u){\n\t\treturn this.getSqlSession().selectOne(\"com.hcycom.pingtest.dao.UserMapper.login\",u);\n\t}", "title": "" }, { "docid": "b5a0880a3a5548a909e35c6b2754d0d5", "score": "0.5922682", "text": "@Override\n\tpublic List<?> findAllUser() {\n\t\treturn this.getHibernateTemplate().find(\"from User\");\n\t}", "title": "" }, { "docid": "866e454c236694c40009ec6c2caddbe2", "score": "0.59111136", "text": "@Override\n\tpublic List list() {\n\t\tUserExample example = new UserExample();\n\t\texample.setOrderByClause(\"id desc\");\n\t\treturn userMapper.selectByExample(example);\n\t}", "title": "" }, { "docid": "b5e70091ca610cdd439feba350301815", "score": "0.59079766", "text": "public List<User> listUsers() {\nSession sess=sessionFactory.openSession();\n\t\t\n\t\tlistUsers=sess.createQuery(\"from User\").list();\n\t\treturn listUsers;\n\t\t\n\t}", "title": "" }, { "docid": "b28c9bcf9f702f6ba295e05df6b85b6f", "score": "0.59077257", "text": "Jduser selectByPrimaryKey(String username);", "title": "" }, { "docid": "204508aa753e4a7bc1c0f88ff78bec28", "score": "0.5905771", "text": "@Override\r\n\tpublic List<User> selectUser() {\n\t\treturn mm.selectUser();\r\n\t}", "title": "" }, { "docid": "d648e36e9c517a079c59ef61141cbf23", "score": "0.59013784", "text": "@Override \r\n\tpublic List<User> displayAllUsers() {\n\t\tString sql = \"Select * from users\";\r\n\t\tList<User> list = new LinkedList<User>();\r\n\t\ttry {\r\n\t\t\tPreparedStatement ps = ConnectionManager.getConnection().prepareStatement(sql);\r\n\t\t\tResultSet rs = ps.executeQuery();\r\n\t\t\twhile(rs.next())\r\n\t\t\t{\r\n\t\t\t\tUser user = new User();\r\n\t\t\t\tuser.setFirstname(rs.getString(\"first_name\"));\r\n\t\t\t\tuser.setLastname(rs.getString(\"last_name\"));\r\n\t\t\t\tuser.setUsername(rs.getString(\"user_name\"));\r\n\t\t\t\tuser.setPassword(rs.getString(\"password\"));\r\n\t\t\t\tuser.setEmail(rs.getString(\"email\"));\r\n\t\t\t\tuser.setMobile(rs.getString(\"mobile\"));\r\n\t\t\t\tlist.add(user);\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t} catch(SQLException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "b68d0efd73476a31ca09fd255469c961", "score": "0.5897822", "text": "public interface UserIncreaseDAO extends MybatisDAO {\n\n int insertUserIncrease(UserIncreaseDTO dto);\n int updateUserIncrease(UserIncreaseDTO dto);\n int deleteUserIncrease(int id);\n int deleteUserIncreases (UserIncreaseDTO dto);\n\n UserIncreaseDTO getUserIncreaseById(int id);\n UserIncreaseDTO getUserIncreaseOne(Map<String,Object> paramMap);\n List<UserIncreaseDTO> getUserIncreases(Map<String,Object> paramMap);\n int getUserIncreasesCount(Map<String,Object> paramMap);\n}", "title": "" }, { "docid": "146315888d2603d090559dae03854d49", "score": "0.5877588", "text": "public List<User> findusers() {\n\t\tInputStream inputStream = null;\n\t\t\n\t\tList<User> userList= new ArrayList<User>();\n\t\t\n try {\n inputStream = Resources.getResourceAsStream(\"mybatis.xml\");\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(inputStream);\n SqlSession sqlSession = sqlSessionFactory.openSession();\n \n try {\n // 获取mapper \n \tUserMapper projectMapper = sqlSession.getMapper(UserMapper.class);\n \n \tuserList=projectMapper.findusers();\n \t\n \t\n } finally {\n // 最后一定关闭SqlSession\n sqlSession.close();\n }\n\t\t//return projectList;\n\t\treturn userList;\n\t}", "title": "" }, { "docid": "d2cfad17b7e10ad218405760fb48c7dd", "score": "0.5869013", "text": "@Override\n UserQuery query();", "title": "" }, { "docid": "acef95a79e7c2ae4bd9aed071d3a7db0", "score": "0.58600914", "text": "@Override\r\n\tpublic List<User> getAllUser() {\n\t\treturn userMapper.getAllUser();\t\r\n\t}", "title": "" }, { "docid": "afceb8b09d8cfbb256d7468c1075f4dc", "score": "0.58493036", "text": "@Repository\npublic interface UserDao {\n\n @Delete(\"delete from user where name = #{name}\")\n void deleteUserByName(String name);\n\n @Select(\"select count(*) cnt from user\")\n int count();\n\n @Select(\"select * from user\")\n List<User> find();\n\n @Select(\"select name, password, email from user where name = #{name}\")\n User findByName(String name);\n\n @Insert(\"insert into user (name, password, email) values (#{name}, #{password}, #{email})\")\n void insertUser(User user);\n\n @Update(\"update user set password = #{password} where name = #{name}\")\n void updateUserPasswordByName(@Param(\"password\") String password, @Param(\"name\") String name);\n}", "title": "" }, { "docid": "227dd5769f6cce9137e7e1eabd8ea3e1", "score": "0.5842278", "text": "public interface UserMapper {\n\n int deleteByPrimaryKey(String id);\n\n int insert(UserTest record);\n\n int insertSelective(UserTest record);\n\n UserTest selectByPrimaryKey(String id);\n\n int updateByPrimaryKeySelective(UserTest record);\n\n int updateByPrimaryKey(UserTest record);\n\n /**\n * 查找用户\n *\n * @param loginName 登录名\n * @param password 密码(为了不增加复杂度,这里不进行加密,使用明文)\n */\n Integer countUserByNameAndPwd(@Param(\"loginName\") String loginName,\n @Param(\"password\") String password);\n\n /**\n * 根据loginName获取用户\n *\n * @param loginName 登录名\n */\n UserTest getByLoginName(@Param(\"loginName\") String loginName);\n\n /**\n * 分页获取用户列表\n */\n List<UserTest> getAll(\n @Param(\"start\") int start,\n @Param(\"end\") int end,\n @Param(\"loginName\") String loginName,\n @Param(\"realName\") String realName,\n @Param(\"isForbidden\") String isForbidden);\n\n /**\n * 获取用户列表大小\n */\n int countGetAll(@Param(\"loginName\") String loginName,\n @Param(\"realName\") String realName,\n @Param(\"isForbidden\") String isForbidden);\n}", "title": "" }, { "docid": "5fe8f87bc6f1159608b4f4b31046fdc4", "score": "0.5839661", "text": "@Override\r\n public List<User> getAllUsers() {\r\n return userDao.selectAllUsers();\r\n }", "title": "" }, { "docid": "5f2e13574fe18cc7db581cbe27846311", "score": "0.58368003", "text": "public interface UserDao extends BaseDao {\n\n Account getAccountByUsername(String username);\n\n Account getEntityAccount(Account account, String accountname, String accountname1);\n\n /**\n * 根据一个坐标和范围,获取范围内的用户\n *\n * @param coordinate\n * @param distance\n * @return\n */\n List<User> getUserByRange(String coordinate, Integer distance,Map<String,Object> conditions);\n\n /**\n * 统计所有注册用户的数量\n * @return\n */\n Long getRegisterUserAmount();\n /**\n * 统计当日新增用户的数量\n * @return\n */\n Long getAddUsersAmountByDay();\n\n User getUserByUsername(String username);\n}", "title": "" }, { "docid": "1a59d53033ae1201df0d09623d7b3e37", "score": "0.5833121", "text": "public UserTable() {\n\t\tthis(\"user\", null);\n\t}", "title": "" }, { "docid": "c6e11fc52c8433832bc6e5d7f15300a9", "score": "0.5831837", "text": "@Override\n\tpublic List<User> getAllUsers() {\n\t\tSession currentSession = sessionFactory.getCurrentSession();\n\t\t\t\t\n\t\t// create a query ... sort by last name\n\t\tQuery<User> theQuery = \n\t\t\t\tcurrentSession.createQuery(\"from User\",User.class);\n\t\t\n\t\t// execute query and get result list\n\t\tList<User> users = theQuery.getResultList();\n\t\t\t\t\n\t\t// return the results\t\t\n\t\treturn users;\n\t}", "title": "" }, { "docid": "372e60c0f4e210d1701818da1433fec1", "score": "0.58287597", "text": "@Override\n\tpublic void add(User newUser) throws SQLException {\n\n\t}", "title": "" }, { "docid": "c7570e3706e2402b1b39f84818aff7e6", "score": "0.58286977", "text": "@Mapper\npublic interface AuthUserDao {\n @Select(\"select * from auth_user where username=#{userName}\")\n AuthUser findUserByUserName(String userName);\n}", "title": "" }, { "docid": "e02d3acbc94e66b3c88b61e719a55faf", "score": "0.5826811", "text": "public interface UserbMapper {\n\n @Insert(\"INSERT INTO userb(userb_name,userb_wxid,userb_scid) VALUE(#{name},#{wxid},#{scid})\")\n void add(UserbEntity userbEntity);\n\n\n}", "title": "" }, { "docid": "8d2f449f053c813762e72a61dcf1855b", "score": "0.582647", "text": "@Override\n\tpublic User getUser(String id) {\n\t\tString hql = \"from User u where u.id=?\"; \n Query query = mSessionFactory.getCurrentSession().createQuery(hql); \n query.setString(0, id); \n \n return (User)query.uniqueResult(); \n\t}", "title": "" }, { "docid": "7b1ed7a4dca0f409a79f03ab57973586", "score": "0.5819808", "text": "@Override\n\tpublic User mapRow(ResultSet row, int rNum) throws SQLException {\n\t\tUser user = new User();\n\t\tuser.setId(row.getInt(\"uid\"));\n\t\tuser.setEmail(row.getString(\"email\"));\n\t\tuser.setPassword(row.getString(\"password\"));\n\t\tuser.setFname(row.getString(\"fname\"));\n\t\tuser.setLname(row.getString(\"lname\"));\n\t\t\n\t\treturn user;\n\t}", "title": "" }, { "docid": "a5c2d06b9714b09d568f7994eef97802", "score": "0.581843", "text": "@Test\n public void getUserList(){\n SqlSession sqlSession = MybatisUtils.getSqlSession();\n\n // Second step: get the needed DAO\n UserMapper mapper = sqlSession.getMapper(UserMapper.class);\n List<User> userList = mapper.getUserList();\n\n //Third step: we then see the result\n for(User user:userList){\n System.out.println(user);\n }\n\n //close sqlsession\n sqlSession.close();\n }", "title": "" }, { "docid": "2e8e588d50eec3100184206f35ecf58f", "score": "0.581424", "text": "@Override\r\n\tpublic UserDAO getUserDAO() {\n\t\treturn new H2UserDAO();\r\n\t}", "title": "" }, { "docid": "33fe8d96567aaec540777dfe0f913e17", "score": "0.5814056", "text": "@Mapper\npublic interface UserMapper {\n\n String GET_EVERYTHING = \"SELECT * FROM test.users\";\n String GET_EVERYTHING_ACTIVE = \"SELECT * FROM test.users WHERE is_active = 1;\";\n String GET_USER_BY_ID = \"SELECT * FROM test.users WHERE id = #{id};\";\n String GET_USER_BY_FNAME_AND_LNAME = \"Select * FROM test.users WHERE first_name = #{first_name} AND \" +\n \"last_name = #{last_name}\";\n String CREATE_USER = \"INSERT INTO test.users (first_name, last_name, is_active)\" +\n \"VALUES (#{first_name}, #{last_name}, #{is_active});\";\n String MODIFY_USER = \"UPDATE test.users SET first_name = #{first_name}, \" +\n \"last_name = #{last_name}, is_active = #{is_active} WHERE id = #{id}\";\n String DELETE_USER = \"DELETE FROM test.users WHERE id = #{id}\";\n\n @Select(GET_EVERYTHING)\n public ArrayList<User> getEverything();\n\n @Select(GET_EVERYTHING_ACTIVE)\n public ArrayList<User> getEverythingActive();\n\n @Select(GET_USER_BY_ID)\n public User getUserByID(int id);\n\n @Select(GET_USER_BY_FNAME_AND_LNAME)\n public User getUserByFNameAndLName(User user);\n\n @Insert(CREATE_USER)\n public int createUser(User user);\n\n @Update(MODIFY_USER)\n public int modifyUser(User user);\n\n @Delete(DELETE_USER)\n public int deleteUser(int id);\n}", "title": "" }, { "docid": "559d21d8c4b79b546d59f4333bd44b3e", "score": "0.5806883", "text": "public UserList loadUsers() throws SQLException;", "title": "" }, { "docid": "340e7d2941616858e436d588e1ef871e", "score": "0.58054507", "text": "@Override\n public List<User> allUsers() {\n Session session = sessionFactory.getCurrentSession();\n return session.createQuery(\"from User\").list();\n }", "title": "" }, { "docid": "6e99894b30b32b53a1152a72a738655c", "score": "0.5804647", "text": "@Override\n\tpublic List<User> queryAllUser() {\n\t\treturn userDao.queryAllUser();\n\t}", "title": "" }, { "docid": "122021277ef1bfeee77a4915ecfc9adc", "score": "0.5803299", "text": "public interface MemberDao {\n\n @Select(\"select id, username, password, phone, email from xx_member where ${columnName} = #{columnValue}\")\n Member findByColumn(@Param(value = \"columnName\") String columnName, @Param(value = \"columnValue\")String columnValue);\n\n @Insert(\"INSERT INTO xx_member (username, password, email, phone, gender, name, mobile, create_date, modify_date, version, \"\n + \" amount,balance, is_enabled, is_locked, lock_key, login_failure_count, point, register_ip, member_rank) \"\n + \" VALUES (#{username}, #{password}, #{email}, #{phone}, #{gender}, #{name}, #{mobile}, now(), now(), 0, 0, 0, 1, 0, '', 0, 0, '',1)\")\n @Options(useGeneratedKeys = true, keyProperty = \"id\")\n int insert(Member member);\n\n @Select(\"select id, username, password, phone, email from xx_member where username = #{userName} or email = #{userName}\")\n Member findByUserNameOrEmail(@Param(value = \"userName\") String userName);\n}", "title": "" }, { "docid": "b709a91ee64f63fef7bdd10b4528c0bc", "score": "0.57989484", "text": "@Override\n\tpublic User mapRow(ResultSet rs, int rowNum) throws SQLException {\n\n\t\tUser user = new User();\n\t\tuser.setEmail(rs.getString(\"email\"));\n\t\tuser.setPassword(rs.getString(\"password\"));\n\t\tuser.setFname(rs.getString(\"fname\"));\n\t\tuser.setLname(rs.getString(\"lname\"));\n\t\tuser.setAge(rs.getInt(\"age\"));\n\t\treturn user;\n\n\t}", "title": "" }, { "docid": "79af476f40309b2712d4d56794ecfee8", "score": "0.5797275", "text": "@Override public List<Users> getAll() {\n\t String Query=\"Users.findAll\"; return super.getAll(Query); }", "title": "" }, { "docid": "7e3275084a1fe38406636a7d054e0615", "score": "0.5795416", "text": "private void createUserTable() throws SQLException\n {\n if (!database().hasTable(\"TUSER\"))\n {\n log.info(\"creating table TUSER\");\n database().executeSQL(\n \"CREATE TABLE TUSER \"\n + \"(CACCESSLEVEL TINYINT NOT NULL, \"\n + \"CAUTHENTICATIONDOMAINID INTEGER NOT NULL, \"\n + \"CEMAIL TINYTEXT , CFIRSTNAME TINYTEXT , \"\n + \"OID INTEGER NOT NULL, CLASTNAME TINYTEXT , \"\n + \"PASSWORD TINYTEXT , CPREFERENCES BLOB , \"\n + \"CUNIVERSITYIDNO TINYTEXT , \"\n + \"CUPDATEMUTABLEFIELDS BIT NOT NULL, URL TINYTEXT , \"\n + \"CUSERNAME TINYTEXT NOT NULL)\");\n database().executeSQL(\n \"ALTER TABLE TUSER ADD PRIMARY KEY (OID)\");\n }\n }", "title": "" }, { "docid": "af5f45601d39f4998c10282e51968480", "score": "0.5791507", "text": "public interface DbUserDAO {\n\t/** \n\t * This is the method to be used to initialize\n\t * database resources ie. connection.\n\t */\n\t public void setDataSource(DataSource ds);\n\t /** \n\t * This is the method to be used to create\n\t * a record in the User table.\n\t */\n\t public void create(int id, String userPw, int active, String userName);\n\t /** \n\t * This is the method to be used to list down\n\t * a record from the User table corresponding\n\t * to a passed user id.\n\t */\n\t public DbUserPojo getUser(int id);\n\t /** \n\t * This is the method to be used to list down\n\t * all the records from the User table.\n\t */\n\t public List<DbUserPojo> listUsers();\n\t /** \n\t * This is the method to be used to delete\n\t * a record from the User table corresponding\n\t * to a passed user id.\n\t */\n\t public void delete(int id);\n\t /** \n\t * This is the method to be used to update\n\t * a record into the User table.\n\t */\n\t public void update(int id, String userPw, int active, String userName);\n\t}", "title": "" }, { "docid": "98c731b3167d4c129653c7a6d31781a4", "score": "0.57682157", "text": "public List<User> getAllUsers() throws PersistenceException {\n\t\tList<User> result=null;\n\t\tPreparedStatement preparedSELECTstatement;\n\t\tResultSet resultSet = null;\n\t\t\t\t\n\t\n\t\t// get the connection\n\t\tConnection conn = openConnection();\n\t\t\n\t\t// \n\t\t// process the request\n\t\t\n\t\t// create the statement\n\t\ttry {\n\t\t\tpreparedSELECTstatement = conn\n\t\t\t .prepareStatement(\"SELECT a.id, a.name, \"\n\t\t\t\t\t\t\t\t\t+ \"b.email_address, b.cell_number, b.first_name, b.last_name, b.nick_name, b.line_id, \"\n\t\t\t\t\t\t\t\t\t+ \"d.name AS organization_name, d.description As organization_description, d.id AS organization_id, \"\n\t\t\t\t\t\t\t\t\t+ \"e.group_id, gadr.doc_type_ids AS allowed_doc_types, \"\n\t\t\t\t\t\t\t\t\t+ \"g.name AS group_name, h.id AS group_type_id, h.name AS group_type, h.color_hex_code AS group_type_color, \"\n\t\t\t\t\t\t\t\t\t+ \" h.order_index, j.name as role, j.id as role_id \"\n\t\t\t\t\t\t\t\t\t+ \"FROM user a \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN user_contact b ON a.id = b.user_id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN user_organization c ON a.id=c.user_id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN organization d ON c.organization_id=d.id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN organization_group_rel_tree e ON d.id = e.parent_org_id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN user_group f ON a.id = f.user_id AND f.group_id = e.group_id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN group_data g ON e.group_id = g.id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN group_data_type h ON h.id = g.group_data_type_id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN group_allowed_doctype_rel gadr ON gadr.parent_group_type_id = h.id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN user_role i on i.user_id = a.id \"\n\t\t\t\t\t\t\t\t\t+ \"JOIN role j on i.role_id = j.id \"\n\t\t\t \t\t\t\t);\n\t\t\t\n\t\t\t// execute the statement \n\t\t\tresultSet = preparedSELECTstatement.executeQuery();\n\t \n\t //\n\t // process the result\n\t result = extractUsersFromResult(resultSet);\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} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t// release the connection\n\t\tcloseConnection(conn);\n\t\t\t\t\n\t\t// return the result\n\t\treturn result;\n\t}", "title": "" }, { "docid": "308aeb3c5e31462a4a68dd2e743f1e7d", "score": "0.5765366", "text": "@Override\n public List<User> getAllUsers() {\n List<User> users = null;\n try {\n users = em.createNamedQuery(\"User.getAllUsers\").getResultList();\n return users;\n } catch (Exception ex) {\n ex.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "bc33a7a0b9c0fdaa10330fa03481cf81", "score": "0.57650006", "text": "@Override\n\tpublic User getEntity(String sql, String name) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d7caef7f0a15e9d21c76f6649b39ed64", "score": "0.57646614", "text": "@Override\n\tpublic User getUserByName(String name) {\n\t\tString hql = \"from User u where u.name=?\"; \n Query query = mSessionFactory.getCurrentSession().createQuery(hql); \n query.setString(0, name);\n return (User)query.uniqueResult(); \n\t}", "title": "" }, { "docid": "c257c207115da0a4e10d50c72b73a8ad", "score": "0.5764112", "text": "@Override\n\tpublic List<User> getUserList() {\n\t\tList<User> users = new ArrayList<>();\n\t\ttry(Connection con = dataSource.getConnection();PreparedStatement statement = con.prepareStatement(userDao.getString(\"getUserList\"));\n\t\t\tResultSet rs = statement.executeQuery();) {\n\t\t\t\n\t\t\twhile (rs.next()) {\n\t\t\tUser user = new User();\n\t\t\tuser.setUserId(rs.getInt(\"user_id\"));\n\t\t\tuser.setFname(rs.getString(\"fname\"));\n\t\t\tuser.setLimit(rs.getInt(\"limit\"));\n\t\t\tuser.setLname(rs.getString(\"lname\"));\n\t\t\tuser.setServerIp(rs.getString(\"server_ip\"));\n\t\t\tuser.setUserName(rs.getString(\"username\"));\n\t\t\tuser.setUsageLimit(rs.getInt(\"usage_limit\"));\n\t\t\tuser.setPassword(rs.getString(\"password\"));\n\t\t\tuser.setUserRoleId(rs.getInt(\"role_id\"));\n\t\t\tuser.setPendingRequest(rs.getString(\"pending_request\")==null?0:rs.getInt(\"pending_request\"));\n\t\t\tusers.add(user);\n\t\t\t\n\t\t\t}\n\t\t\tcon.close();\n\t\t}catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\treturn users;\n\t}", "title": "" }, { "docid": "4737cf3e81c3aa0e43bdf0fd27125379", "score": "0.5762413", "text": "@Override\r\n\tpublic UserList getUserName() {\r\n\t\tUserList UList = new UserList(db.getStatement(),true);\t\t\r\n\t\treturn UList;\r\n\t}", "title": "" }, { "docid": "26470ea4eb1abea0224edb863ac1ab04", "score": "0.5755306", "text": "SecondUserSon selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "8606c9591b0a9c775771092eecec2c1d", "score": "0.5754084", "text": "public SysUserDao() {\n super(SysUser.SYS_USER, com.wl.myshrio.generator.jooq.tables.pojos.SysUser.class);\n }", "title": "" }, { "docid": "ecc052f6fcfc5517c583e03c6c0f25ef", "score": "0.57498103", "text": "public List<Map<String, String>> getUserNameList() {\n\t\tSystem.out.println(\"UserDao ------- getUserList()\");\n\t\t\n\t\tString getUserName = \"select NAME from user\";\n\t\tList<Map<String, String>> result = this.query(getUserName, new RowMapper<Map<String, String>>() {\n\t\t\t@Override\n\t\t\tpublic Map<String, String> mapRow(ResultSet re, int index) throws SQLException {\n\t\t\t\tMap<String, String> map = new HashMap<String, String>();\n\t\t\t\tmap.put(\"name\", re.getString(\"NAME\")+ \"=\" + index );\t\n\t\t\t\treturn map; \n\t\t\t}\n\t\t});\n\t\treturn result;\n\t}", "title": "" }, { "docid": "8479e9e450409fad95f21f1578ca5e86", "score": "0.5743936", "text": "@Dao\npublic interface UserDAO {\n\n @Insert\n void insert(User... users);\n\n @Update\n void update(User... users);\n\n @Delete\n void delete(User... users);\n\n @Query(\"SELECT * FROM \" + UserDatabase.USER_TABLE + \" ORDER BY userId ASC\")\n List<User> getUsers();\n\n @Query(\"SELECT username FROM \" + UserDatabase.USER_TABLE + \" ORDER BY username ASC\")\n List<String> getUsernames();\n\n @Query(\"SELECT * FROM \" + UserDatabase.USER_TABLE + \" WHERE userId = :id\")\n User getUserById(int id);\n\n @Query(\"SELECT * FROM \" + UserDatabase.USER_TABLE + \" WHERE username = :username\")\n User getUserByUsername(String username);\n\n}", "title": "" }, { "docid": "d64a164a6bd2abd96bb73eb5b32772d6", "score": "0.5740444", "text": "SysUserinfo selectByPrimaryKey(String id);", "title": "" }, { "docid": "2785bd0453843a03e34cb34b4ff24358", "score": "0.57401145", "text": "@Mapper\npublic interface UserMapper {\n\n @Select(\"SELECT * FROM USER WHERE NAME = #{name}\")\n User findByName(@Param(\"name\") String name);\n\n @Insert(\"INSERT INTO USER(NAME, AGE) VALUES(#{name}, #{age})\")\n int insert(@Param(\"name\") String name, @Param(\"age\") Integer age);\n}", "title": "" }, { "docid": "21c6d3ccd47a6ad07672a8030f63539e", "score": "0.57396454", "text": "public ArrayList<User> getAllUser() {\n Session session = HibernateUtil.getSessionFactory().getCurrentSession();\n Transaction transaction = session.beginTransaction();\n Query query = session.createQuery(\"from user\");\n ArrayList<User> list = (ArrayList<User>) query.list();\n transaction.commit();\n return list;\n }", "title": "" }, { "docid": "53a138f095669d03a56b58b64599f0e1", "score": "0.57357424", "text": "OfUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "8bd5be499c1f8e06868b48b45ccdce2f", "score": "0.573344", "text": "@Override\n\t@Transactional\n\tpublic List<Userselect> findAll() {\n\t\tString consult= \"SELECT u FROM Userselect u\";\n\t\treturn entityManager.createQuery(consult).getResultList();\n\t}", "title": "" }, { "docid": "92f2aee735a7b92b17ccd01d6c46aff8", "score": "0.5729424", "text": "public DbUserPojo getUser(int id);", "title": "" }, { "docid": "9697f7c4717498ee7c91a9d64e21e84f", "score": "0.5729277", "text": "public ArrayList<User> findAllUsers(){\r\n ArrayList<User> userList = new ArrayList<User>();\r\n try {\r\n userList= (ArrayList<User>)userDao.loadAll();\r\n \r\n } catch(SQLException e){\r\n e.printStackTrace();\r\n }\r\n return userList;\r\n }", "title": "" }, { "docid": "70aa434e0d8e881a388431129b77465b", "score": "0.57270736", "text": "public static void testAddUser() {\n SqlSession session = sqlSessionFactory.openSession();\n try {\n User user = new User();\n user.setUsername(\"User-name-1\");\n user.setMobile(\"13838009988\");\n UserMaper userMaper = session.getMapper(UserMaper.class);\n userMaper.insertUser(user);\n session.commit();\n // System.out.println(user.getGroupId());\n } finally {\n session.close();\n }\n }", "title": "" }, { "docid": "35759f11adb2673bf676c121b2321d58", "score": "0.5722969", "text": "public List<foot_user_DTO> userList1() {\n\t\tList<foot_user_DTO> list = sqlse.selectList(ns+\"userList1\");\n\t\treturn list;\n\t}", "title": "" }, { "docid": "9874c0daa9d2837762aee124896d26d9", "score": "0.5720774", "text": "UserBean login(UserBean user) throws SQLException;", "title": "" }, { "docid": "207596c98ea26c230ad536d920df3447", "score": "0.5714307", "text": "Users selectByPrimaryKey(Integer userId);", "title": "" }, { "docid": "661dce0e21d08941572e149868d2f7fa", "score": "0.57075363", "text": "@Select({\n \"select\",\n \"id, activity_id, user_id, create_time, create_by, name, age, head_img, grade, \",\n \"phone, address\",\n \"from activity_signup\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results(id=\"signupMap\",value={\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"activity_id\", property=\"activityId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"user_id\", property=\"userId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.TIMESTAMP),\n @Result(column=\"create_by\", property=\"createBy\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"name\", property=\"name\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"age\", property=\"age\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"head_img\", property=\"headImg\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"grade\", property=\"grade\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"phone\", property=\"phone\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"address\", property=\"address\", jdbcType=JdbcType.VARCHAR)\n })\n ActivitySignup selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "e8f23917bedef8c1ea6f241714735619", "score": "0.5698986", "text": "protected Object mapRow(ResultSet rs, int rownum) throws SQLException {\n\t\tUser user = new User();\n\t\tuser.setId(rs.getLong(\"idCategoria\"));\n\t\tuser.setForename(rs.getString(\"descripcion\"));\n\t\treturn user;\n\t}", "title": "" }, { "docid": "6fdc3ab465736a20f9d49b3c105290c5", "score": "0.569834", "text": "@Override\n\tpublic List<User> getUsers() throws SQLException {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2005aaed60fd277e6559e1ffaa2f0157", "score": "0.56931007", "text": "PensionSysUser selectByPrimaryKey(Long id);", "title": "" }, { "docid": "a3908b28b6d5653b94cdcc80ced643ef", "score": "0.5691157", "text": "public Object mapRow(ResultSet rs) {\n\t\tU user = new U();\r\n\t\ttry {\r\n\t\t\tuser.setUsername(rs.getString(\"username\"));\r\n\t\t\tuser.setPassword(rs.getString(\"password\"));\r\n\t\t\tuser.setRealname(rs.getString(\"realname\"));\r\n\t\t\tuser.setRole(rs.getString(\"role\"));\r\n\t\t\tuser.setSex(rs.getString(\"sex\"));\r\n\t\t\tuser.setTelephone(rs.getLong(\"telephone\"));\r\n\t\t\tuser.setId(rs.getInt(\"id\"));\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}\r\n\t\treturn user;\r\n\t}", "title": "" }, { "docid": "91379eddcff2244b2694156bd8191f52", "score": "0.569097", "text": "@GetMapping(\"\")\n public Iterable<User> findAllUsers() {\n return userTable.findAll();\n }", "title": "" } ]
2df0792e84670fdd9c84239c93f01633
The subnets for the endpoint to be deployed into. repeated string subnetIds = 7;
[ { "docid": "aa711be24caba45321f91310f675a037", "score": "0.56750554", "text": "public com.google.protobuf.ByteString\n getSubnetIdsBytes(int index) {\n return subnetIds_.getByteString(index);\n }", "title": "" } ]
[ { "docid": "89327fe2f63e6c9a233d9c8274621121", "score": "0.72030854", "text": "public String [] getSubnetIds() {\n return this.SubnetIds;\n }", "title": "" }, { "docid": "f9d1cad1c78d498b3835e7c22e275f4a", "score": "0.6812569", "text": "public void setSubnetIds(String [] SubnetIds) {\n this.SubnetIds = SubnetIds;\n }", "title": "" }, { "docid": "bda77696d227f7fd35997b7684b0bf0c", "score": "0.66690594", "text": "public void setEgressServiceSubnets(List<String> egressServiceSubnets) {\n this.egressServiceSubnets = egressServiceSubnets;\n }", "title": "" }, { "docid": "508bd57d344a8ad03cdf97cad3a1c501", "score": "0.6523708", "text": "@Named(\"DescribeSubnets\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"DescribeSubnets\")\n @XMLResponseParser(DescribeSubnetsResponseHandler.class)\n @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class)\n FluentIterable<Subnet> describeSubnetsInRegion(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @BinderParam(BindSubnetIdsToIndexedFormParams.class) String... subnetIds);", "title": "" }, { "docid": "401879180b37d1d45961978ad4e33776", "score": "0.64970785", "text": "public List<String> getSubnets() {\n return loadBalancerRaider.getLoadBalancerSubnets(executionStateCache.getLoadBalancerName());\n }", "title": "" }, { "docid": "33c46a18568a1db460dcc4b93493b7e4", "score": "0.6476858", "text": "public String getSubnetId() {\n return this.subnetId;\n }", "title": "" }, { "docid": "d473ae1c7b476593f9a7f0ebe83c104f", "score": "0.64546853", "text": "public int getSubnetIdsCount() {\n return subnetIds_.size();\n }", "title": "" }, { "docid": "d473ae1c7b476593f9a7f0ebe83c104f", "score": "0.64546853", "text": "public int getSubnetIdsCount() {\n return subnetIds_.size();\n }", "title": "" }, { "docid": "367ac634cf1b650f9d616eb10357ffb2", "score": "0.64106375", "text": "public List<String> getEgressServiceSubnets() {\n return egressServiceSubnets;\n }", "title": "" }, { "docid": "140daa427b13c48cf9097aaa0556b758", "score": "0.64084035", "text": "public int getSubnetIdsCount() {\n return subnetIds_.size();\n }", "title": "" }, { "docid": "140daa427b13c48cf9097aaa0556b758", "score": "0.64084035", "text": "public int getSubnetIdsCount() {\n return subnetIds_.size();\n }", "title": "" }, { "docid": "17572106fea984d608bd8b403f878be0", "score": "0.63642114", "text": "java.lang.String getSubnetIds(int index);", "title": "" }, { "docid": "17572106fea984d608bd8b403f878be0", "score": "0.63642114", "text": "java.lang.String getSubnetIds(int index);", "title": "" }, { "docid": "fd39c97a1de35d7f9599500eaa4ebbe8", "score": "0.63290936", "text": "public String subnetId() {\n return this.subnetId;\n }", "title": "" }, { "docid": "fd39c97a1de35d7f9599500eaa4ebbe8", "score": "0.63290936", "text": "public String subnetId() {\n return this.subnetId;\n }", "title": "" }, { "docid": "79071813c334ab5451dd95c66d3be1f6", "score": "0.6324684", "text": "int getSubnetIdsCount();", "title": "" }, { "docid": "79071813c334ab5451dd95c66d3be1f6", "score": "0.6324684", "text": "int getSubnetIdsCount();", "title": "" }, { "docid": "b911cdb1c720a5133e94cafd71d711bc", "score": "0.6289038", "text": "public ResourceId subnet() {\n return this.subnet;\n }", "title": "" }, { "docid": "49b6fc88727a6929e8f83a5006298779", "score": "0.62768054", "text": "List<Subnet> getSubNetList(String tenantId, String vcnId) throws Exception;", "title": "" }, { "docid": "63db29abd87f36a0ce266b57b80d7588", "score": "0.6272227", "text": "@Override\n public String getSubnetID() { \n return networkIp() + \".\" + super.subnetIDCalculate() + \".0.0\" ;\n }", "title": "" }, { "docid": "fa1ebd2ce51a9ca459064f096913abe5", "score": "0.6251985", "text": "java.util.List<java.lang.String>\n getSubnetIdsList();", "title": "" }, { "docid": "fa1ebd2ce51a9ca459064f096913abe5", "score": "0.6251985", "text": "java.util.List<java.lang.String>\n getSubnetIdsList();", "title": "" }, { "docid": "6c131660ff1e8aa3cab139263c6911bc", "score": "0.62025297", "text": "@SinceApiVersion(\"2011-01-01\")\n@RequestFilters(FormSigner.class)\n@VirtualHost\npublic interface AWSSubnetApi extends SubnetApi {\n\n /**\n * Creates a subnet in an existing VPC.\n *\n * @param region\n * @param vpcId The ID of the VPC.\n * @param cidrBlock The network range for the subnet, in CIDR notation. For example, 10.0.0.0/24.\n * @param options\n * @return AWS Subnet\n */\n @Named(\"CreateSubnet\")\n @POST\n @Path(\"/\")\n @XMLResponseParser(SubnetHandler.class)\n @FormParams(keys = ACTION, values = \"CreateSubnet\")\n Subnet createSubnetInRegion(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @FormParam(\"VpcId\") String vpcId, @FormParam(\"CidrBlock\") String cidrBlock,\n CreateSubnetOptions... options);\n\n /**\n * Deletes a subnet.\n *\n * @param region\n * @param subnetId\n * @see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteSubnet.html\"\n * >doc</a>\n */\n @Named(\"DeleteSubnet\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"DeleteSubnet\")\n void deleteSubnetInRegion(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @FormParam(\"SubnetId\") String subnetId);\n\n /**\n * Describes one or more of your subnets.\n *\n * @param region Subnet are Region-specific.\n * @param subnetIds Subnet to describe.\n * @see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html\"\n * >doc</a>\n */\n @Named(\"DescribeSubnets\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"DescribeSubnets\")\n @XMLResponseParser(DescribeSubnetsResponseHandler.class)\n @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class)\n FluentIterable<Subnet> describeSubnetsInRegion(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @BinderParam(BindSubnetIdsToIndexedFormParams.class) String... subnetIds);\n\n /**\n * Returns information about subnets available to you. If you specify filters,\n * information about subnets matching those filters is returned. Otherwise, all\n * subnets you have access to are returned.\n *\n * @param region Subnets are Region-specific.\n * @param filter Multimap of filter key/values.\n * @see <a href=\"http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html\"\n * >doc</a>\n */\n @Named(\"DescribeSubnets\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"DescribeSubnets\")\n @XMLResponseParser(DescribeSubnetsResponseHandler.class)\n @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class)\n FluentIterable<Subnet> describeSubnetsInRegionWithFilter(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @BinderParam(BindFiltersToIndexedFormParams.class) Multimap<String, String> filter);\n\n /**\n * Modifies a subnet attribute. You can only modify one attribute at a time.\n *\n * @param region The region for the subnet\n * @param subnetId The ID of the subnet\n * @param options The options containing the attribute to modify. You can only modify one attribute at a time.\n * @return true if the modification was successful\n */\n @ApiVersionOverride(\"2014-06-15\")\n @Named(\"ModifySubnetAttribute\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"ModifySubnetAttribute\")\n @XMLResponseParser(ReturnValueHandler.class)\n @Fallback(Fallbacks.FalseOnNotFoundOr404.class)\n boolean modifySubnetAttribute(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @FormParam(\"SubnetId\") String subnetId,\n ModifySubnetAttributeOptions options);\n}", "title": "" }, { "docid": "ab1aa9e56f226416b240935c5821ef52", "score": "0.6175687", "text": "public JsonNode listSubnets() throws JsonProcessingException, MalformedURLException, IOException, RuntimeException{\n\t\treturn listSubnets(currentContainerName);\n\t}", "title": "" }, { "docid": "a17dc58df59068d6add0b14556b24813", "score": "0.61256176", "text": "public void setSubnetId(String subnetId) {\n this.subnetId = subnetId;\n }", "title": "" }, { "docid": "021f6ae627cc972de17a4070b94d0e88", "score": "0.60774106", "text": "public com.google.protobuf.ProtocolStringList\n getSubnetIdsList() {\n return subnetIds_;\n }", "title": "" }, { "docid": "021f6ae627cc972de17a4070b94d0e88", "score": "0.60769176", "text": "public com.google.protobuf.ProtocolStringList\n getSubnetIdsList() {\n return subnetIds_;\n }", "title": "" }, { "docid": "d4b5bc79b7707d29418d6a9bae578c95", "score": "0.6052725", "text": "public Long getSubnetId() {\n return this.SubnetId;\n }", "title": "" }, { "docid": "16f10e6438c7ed8a9d095e56c2ff3c42", "score": "0.60414934", "text": "@Test\n public void testGetSubnetIps() {\n String bClassCidr = \"10.10.0.0/16\";\n Set<IpAddress> bClassIps = getSubnetIps(bClassCidr);\n assertEquals(((Double) Math.pow(2, 16)).intValue() - 4, bClassIps.size());\n\n String cClassCidr = \"10.10.10.0/24\";\n Set<IpAddress> cClassIps = getSubnetIps(cClassCidr);\n assertEquals(((Double) Math.pow(2, 8)).intValue() - 4, cClassIps.size());\n\n String dClassCidr = \"10.10.10.10/32\";\n Set<IpAddress> dClassIps = getSubnetIps(dClassCidr);\n assertEquals(0, dClassIps.size());\n }", "title": "" }, { "docid": "e761e6fecbfdcbbc8980fad85551aec2", "score": "0.5993364", "text": "public String subnetResourceId() {\n return this.innerProperties() == null ? null : this.innerProperties().subnetResourceId();\n }", "title": "" }, { "docid": "dbf4b93f458190464f01e6f006e2c545", "score": "0.5993137", "text": "public String getSubnetId() {\n String subnetId = \"\";\n String[] ipAddressOctet = ipAddress.split(Pattern.quote(\".\"));\n String[] subnetMaskOctet = subnetMask.split(Pattern.quote(\".\"));\n \n for(int i=0; i<ipAddressOctet.length; i++){\n subnetId += convertBitToDecimal(andBitOperation\n (convertDecimalToBit(ipAddressOctet[i])\n ,convertDecimalToBit(subnetMaskOctet[i]))) + \".\";\n }\n \n return subnetId.substring(0, subnetId.length()-1);\n }", "title": "" }, { "docid": "05de43bdb6586c52592059ba6e9799e3", "score": "0.5977908", "text": "public String getUniqueSubnetId() {\n return this.UniqueSubnetId;\n }", "title": "" }, { "docid": "a99b4758b0bb5cd0bbdaaa6357e6332e", "score": "0.5966811", "text": "public java.lang.String getSubnetIds(int index) {\n return subnetIds_.get(index);\n }", "title": "" }, { "docid": "a99b4758b0bb5cd0bbdaaa6357e6332e", "score": "0.5963421", "text": "public java.lang.String getSubnetIds(int index) {\n return subnetIds_.get(index);\n }", "title": "" }, { "docid": "5a178f9f9ce5b8131ca4ccb33db9f91d", "score": "0.5948111", "text": "public java.lang.String getSubnetIds(int index) {\n return subnetIds_.get(index);\n }", "title": "" }, { "docid": "5a178f9f9ce5b8131ca4ccb33db9f91d", "score": "0.5948111", "text": "public java.lang.String getSubnetIds(int index) {\n return subnetIds_.get(index);\n }", "title": "" }, { "docid": "6b82ff50e9254546b310ee8402c98481", "score": "0.59261", "text": "GetSubnetResponse getSubNet(String subnetId) throws Exception;", "title": "" }, { "docid": "130dd02fb10eb13d94e5f7b0f9267d40", "score": "0.5902101", "text": "public Future<DescribeSubnetsResult> describeSubnetsAsync(DescribeSubnetsRequest describeSubnetsRequest) \n throws AmazonServiceException, AmazonClientException;", "title": "" }, { "docid": "aa768e4003ac71cf672be0c03ce80349", "score": "0.5849914", "text": "@RequestMapping(value=\"/subnets\",method=RequestMethod.GET)\r\n public List<Subnet> getSubnetsList(@RequestHeader(value=ParamConstant.AUTH_TOKEN,defaultValue=\"nownoimpl\") String guiToken,\r\n\t\t @RequestParam(value=ParamConstant.LIMIT,defaultValue=\"\") String limit,\r\n \t\t@RequestParam(value=ParamConstant.NAME, defaultValue=\"\") String name,\r\n \t\t@RequestParam(value=ParamConstant.NETWORK_ID,defaultValue=\"\") String network_id) {\r\n \t\r\n \tMap<String,String> paramMap=null; \r\n \t\r\n \tif(!\"\".equals(limit)){\r\n \t\tparamMap=new HashMap<String,String>();\r\n \t\tparamMap.put(ParamConstant.LIMIT, limit);\r\n \t}\r\n \t\r\n \tif(!\"\".equals(name)){\t\t\r\n \t\tif(paramMap==null) paramMap=new HashMap<String,String>();\r\n \t\tparamMap.put(ParamConstant.NAME, name);\r\n \t}\r\n \t\r\n \tif(!\"\".equals(network_id)){\t\t\r\n \t\tif(paramMap==null) paramMap=new HashMap<String,String>();\r\n \t\tparamMap.put(ParamConstant.NETWORK_ID, network_id);\r\n \t}\r\n \t\r\n \t \t\r\n \t//@TODO 1. guitoken should has no defaultValue,if there no token ,bad request \r\n \t\r\n \t//@TODO 2. guitoken should be checked, timeout or not\r\n \t\r\n \t\r\n \tSubnetService snService= OsApiServiceFactory.getSubnetService();\r\n \tList<Subnet> list = snService.getSubnetList(paramMap, guiToken);\r\n \t\r\n \treturn list;\r\n \r\n }", "title": "" }, { "docid": "7d3b1e7f6975a08d5f142d91d42f6ec9", "score": "0.5782564", "text": "public Builder addSubnetIds(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSubnetIdsIsMutable();\n subnetIds_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "7d3b1e7f6975a08d5f142d91d42f6ec9", "score": "0.5782564", "text": "public Builder addSubnetIds(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSubnetIdsIsMutable();\n subnetIds_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b32d705b4a4637de496376483bfaa789", "score": "0.5743496", "text": "@JsonDeserialize(as = NeutronSubnetIPAvailability.class)\npublic interface SubnetIPAvailability extends ModelEntity, Buildable<SubnetIPAvailabilityBuilder> {\n\n /**\n * Number of used IPs per subnet\n *\n * @return the number of IPs\n */\n BigInteger getUsedIps();\n\n /**\n * Number of total IPs per subnet\n *\n * @return the number of IPs\n */\n BigInteger getTotalIps();\n\n /**\n * @return the subnet identifier\n */\n String getSubnetId();\n\n /**\n * @return the subnet name\n */\n String getSubnetName();\n\n /**\n * @return the IP version type of subnet\n */\n IPVersionType getIpVersion();\n\n /**\n * @return the subnet CIDR\n */\n String getCidr();\n}", "title": "" }, { "docid": "e7985fbf33b2d41a6c53f106df69373f", "score": "0.57423913", "text": "com.google.protobuf.ByteString\n getSubnetIdsBytes(int index);", "title": "" }, { "docid": "e7985fbf33b2d41a6c53f106df69373f", "score": "0.57423913", "text": "com.google.protobuf.ByteString\n getSubnetIdsBytes(int index);", "title": "" }, { "docid": "c2912d4b7bef63ab7abf9df0b978f322", "score": "0.5737289", "text": "public com.google.protobuf.ProtocolStringList\n getSubnetIdsList() {\n return subnetIds_.getUnmodifiableView();\n }", "title": "" }, { "docid": "c2912d4b7bef63ab7abf9df0b978f322", "score": "0.5737289", "text": "public com.google.protobuf.ProtocolStringList\n getSubnetIdsList() {\n return subnetIds_.getUnmodifiableView();\n }", "title": "" }, { "docid": "cbabe9443bf9667ed6d401fb0481276a", "score": "0.5699107", "text": "public Builder addAllSubnetIds(\n java.lang.Iterable<java.lang.String> values) {\n ensureSubnetIdsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, subnetIds_);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "cbabe9443bf9667ed6d401fb0481276a", "score": "0.5699107", "text": "public Builder addAllSubnetIds(\n java.lang.Iterable<java.lang.String> values) {\n ensureSubnetIdsIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, subnetIds_);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3d919d0d5a118c8f0c7c4291b10da11d", "score": "0.5693654", "text": "public Builder clearSubnetIds() {\n subnetIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3d919d0d5a118c8f0c7c4291b10da11d", "score": "0.5693654", "text": "public Builder clearSubnetIds() {\n subnetIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;\n bitField0_ = (bitField0_ & ~0x00000002);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "493712f42cafd22a55d3b1ef2e993dd1", "score": "0.56394446", "text": "public com.google.protobuf.ByteString\n getSubnetIdsBytes(int index) {\n return subnetIds_.getByteString(index);\n }", "title": "" }, { "docid": "493712f42cafd22a55d3b1ef2e993dd1", "score": "0.56394446", "text": "public com.google.protobuf.ByteString\n getSubnetIdsBytes(int index) {\n return subnetIds_.getByteString(index);\n }", "title": "" }, { "docid": "ea93ad371893578194632ab838b211fc", "score": "0.5571794", "text": "public JsonNode listSubnet(String subnetName) throws JsonProcessingException, MalformedURLException, IOException, RuntimeException{\n\t\treturn listSubnet(currentContainerName, subnetName);\n\t}", "title": "" }, { "docid": "eaf159841640a8651f43c17526cc91f0", "score": "0.5547686", "text": "public JsonNode listSubnets(String containerName) throws JsonProcessingException, MalformedURLException, IOException, RuntimeException{\n\t\tString mountPoint = \"/controller/nb/v2/subnetservice/\" + containerName + \"/subnets\";\n\t\treturn mapper.readTree(RestUtils.doGet(requestPrefix + mountPoint, userAccount, userPassword));\n\t}", "title": "" }, { "docid": "89ff795dd8dddcfba2943865189de587", "score": "0.5518819", "text": "public Builder addSubnetIdsBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureSubnetIdsIsMutable();\n subnetIds_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "89ff795dd8dddcfba2943865189de587", "score": "0.5518819", "text": "public Builder addSubnetIdsBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n ensureSubnetIdsIsMutable();\n subnetIds_.add(value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d18d6332d190cc8bf5b81dfe98c5af8c", "score": "0.54606646", "text": "public Builder setSubnetIds(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSubnetIdsIsMutable();\n subnetIds_.set(index, value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d18d6332d190cc8bf5b81dfe98c5af8c", "score": "0.54606646", "text": "public Builder setSubnetIds(\n int index, java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureSubnetIdsIsMutable();\n subnetIds_.set(index, value);\n onChanged();\n return this;\n }", "title": "" }, { "docid": "8fddc1c9db82a2cb4c4f0a3c76837d71", "score": "0.5415677", "text": "@Named(\"DescribeSubnets\")\n @POST\n @Path(\"/\")\n @FormParams(keys = ACTION, values = \"DescribeSubnets\")\n @XMLResponseParser(DescribeSubnetsResponseHandler.class)\n @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class)\n FluentIterable<Subnet> describeSubnetsInRegionWithFilter(\n @EndpointParam(parser = RegionToEndpointOrProviderIfNull.class) @Nullable String region,\n @BinderParam(BindFiltersToIndexedFormParams.class) Multimap<String, String> filter);", "title": "" }, { "docid": "ec812f00ebc498d70aea7eb53638143f", "score": "0.5346267", "text": "public void testIterableSubnet() throws IllegalArgumentException, NonContiguousSubnetMask\n {\n Subnet subnet = new Subnet(new IPAddress(\"10.100.4.0\"), new IPAddress(\"255.255.255.0\"));\n int counter = 0;\n for (IPAddress ip : subnet)\n {\n counter++;\n }\n assertEquals(256, counter);\n\n int counter2 = 0;\n for (IPAddress ip : subnet)\n {\n counter2++;\n }\n assertEquals(256, counter2);\n }", "title": "" }, { "docid": "52f959a1590bd0e606216ba79305ae7e", "score": "0.52938855", "text": "public void setSubnetId(Long SubnetId) {\n this.SubnetId = SubnetId;\n }", "title": "" }, { "docid": "9ed6ddb5f9cfef65644fc5cedf941376", "score": "0.52850705", "text": "public JsonNode listSubnet(String containerName, String subnetName) throws JsonProcessingException, MalformedURLException, IOException, RuntimeException{\n\t\tString mountPoint = \"/controller/nb/v2/subnetservice/\" + containerName + \"/subnet/\" + subnetName;\n\t\treturn mapper.readTree(RestUtils.doGet(requestPrefix + mountPoint, userAccount, userPassword));\n\t}", "title": "" }, { "docid": "a16418a8af382fb34d0189d8cadb4d22", "score": "0.5260356", "text": "public DescribeSubnetsResult listSubnetsFromVPC(String vpcId){\n DescribeSubnetsRequest describeSubnetsRequest = new DescribeSubnetsRequest().withFilters(\n new Filter().withName(\"vpc-id\").withValues(vpcId)\n );\n DescribeSubnetsResult describeSubnetsResult = amazonEC2.describeSubnets(describeSubnetsRequest);\n return describeSubnetsResult;\n }", "title": "" }, { "docid": "6da18e710c392c6fe6d95e8d794c2e0f", "score": "0.52325654", "text": "@Override\n public String hostRangeCalculate() {\n \n String firstIp = networkIp() + \".\" + super.subnetIDCalculate() + \".0.1\";\n String lastIp = networkIp() + \".\" + super.broadcastCalculate() + \".255.254\";\n\n return firstIp + \" - \" + lastIp;\n }", "title": "" }, { "docid": "7967f716147438c26f792847f9fad6f8", "score": "0.52289474", "text": "public DescribeSubnetsResult describeVpcSubnets(String vpcId) throws Exception {\n DescribeSubnetsRequest request =\n new DescribeSubnetsRequest()\n .withFilters(new Filter().withName(\"vpc-id\").withValues(vpcId));\n DescribeSubnetsResult result = ec2Client.describeSubnets(request);\n if (result.getSubnets().isEmpty()) {\n throw new BaseException(ExceptionCode.NO_AVAILABLE_SUBNET);\n }\n return result;\n }", "title": "" }, { "docid": "f344b78e06343d17b9c2df0fa15dc651", "score": "0.5202193", "text": "public String getSubnetBitmap() {\n String subnetBitmap = \"\";\n int totalSubnetBit = subnetBit;\n int dotPosition = 9;\n if (networkClass.equals(\"A\")) {\n subnetBitmap += \"0nnnnnnn.\";\n for(int i = 1; i < 27; i++) {\n if(i % dotPosition == 0) {\n subnetBitmap += \".\";\n } else if(totalSubnetBit > 0) {\n subnetBitmap += \"s\";\n totalSubnetBit--;\n } else\n subnetBitmap += \"h\";\n }\n } else if (networkClass.equals(\"B\")) {\n subnetBitmap += \"10nnnnnn.nnnnnnnn.\";\n for(int i = 1; i < 18; i++) {\n if(i % dotPosition == 0) {\n subnetBitmap += \".\";\n } else if(totalSubnetBit > 0) {\n subnetBitmap += \"s\";\n totalSubnetBit--;\n }\n else\n subnetBitmap += \"h\";\n }\n } else {\n subnetBitmap += \"110nnnnn.nnnnnnnn.nnnnnnnn.\";\n for(int i = 0; i < 8; i++) {\n if(i < subnetBit)\n subnetBitmap += \"s\";\n else\n subnetBitmap += \"h\";\n }\n }\n \n return subnetBitmap;\n }", "title": "" }, { "docid": "816ce3ccc3a4e7f069766526b8251bf1", "score": "0.5192396", "text": "List<String> outboundIpAddresses();", "title": "" }, { "docid": "2cd0466b7f92adbc01450a82f322c70b", "score": "0.51754165", "text": "public void setUniqueSubnetId(String UniqueSubnetId) {\n this.UniqueSubnetId = UniqueSubnetId;\n }", "title": "" }, { "docid": "0c53e034f8b3702ec7d9d516643dd625", "score": "0.50911623", "text": "public Future<DescribeSubnetsResult> describeSubnetsAsync(DescribeSubnetsRequest describeSubnetsRequest,\n AsyncHandler<DescribeSubnetsRequest, DescribeSubnetsResult> asyncHandler)\n throws AmazonServiceException, AmazonClientException;", "title": "" }, { "docid": "9fdf9e33ffe260090468f6adcfc9663d", "score": "0.50865567", "text": "public String addSubnet(String subnetName, String subnetAddress, List<String> nodeConnectors) throws ClientProtocolException, IOException{\n\t\treturn addSubnet(currentContainerName, subnetName, subnetAddress, nodeConnectors);\n\t}", "title": "" }, { "docid": "3f1ec5c55b5fbb6b2d6d3c266f378d8d", "score": "0.50610894", "text": "Set<PeerEndpoint> endpoints();", "title": "" }, { "docid": "d88fe05d4aad409d58f1875b89cad023", "score": "0.5000088", "text": "Collection<Endpoint> getEndpoints();", "title": "" }, { "docid": "5c5539fc5ee3d82e14db7d7600e7adbb", "score": "0.49991828", "text": "public String getHostAddressRange() {\n String[] subnetIdOctet = getSubnetId().split(Pattern.quote(\".\"));\n String lastOctet = \"\"+(Integer.parseInt(subnetIdOctet[3]) + 1);\n subnetIdOctet[3] = lastOctet;\n \n String[] broadcastAddressOctet = getBroadcastAddress().split(Pattern.quote(\".\"));\n lastOctet = \"\"+(Integer.parseInt(broadcastAddressOctet[3]) - 1);\n broadcastAddressOctet[3] = lastOctet;\n \n String start = \"\";\n String end = \"\";\n for(int i=0; i<4; i++) {\n start += subnetIdOctet[i] + \".\";\n end += broadcastAddressOctet[i] + \".\";\n }\n \n \n return start.substring(0, start.length()-1)+ \" - \" + end.substring(0, end.length()-1);\n }", "title": "" }, { "docid": "90335ceb6302428fb11a7852f6d8549f", "score": "0.497003", "text": "public String addSubnet(String containerName, String subnetName, String subnetAddress, List<String> nodeConnectors) throws ClientProtocolException, IOException{\n\t\tString paraString;\n\t\tMap<String, Object> request;\n\t\tString mountPoint = \"/controller/nb/v2/subnetservice/\" + containerName + \"/subnet/\" + subnetName;\n\t\t\n\t\trequest = new HashMap<String, Object>();\n\t\trequest.put(\"name\", subnetName);\n\t\trequest.put(\"subnet\", subnetAddress);\n\t\t\n\t\t//\tnode connectors are optional\n\t\tif(nodeConnectors != null){\n\t\t\trequest.put(\"nodeConnectors\", nodeConnectors);\n\t\t}\n\t\telse{\n\t\t\trequest.put(\"nodeConnectors\", new ArrayList<String>());\n\t\t}\n\t\t\n\t\t\n\t\tparaString = mapper.writeValueAsString(request);\t//\tMap -> JSON String\n\t\treturn RestUtils.doPut(requestPrefix + mountPoint, paraString, userAccount, userPassword);\n\t}", "title": "" }, { "docid": "45241327b6ee4edd2e95266b881a522f", "score": "0.4965813", "text": "NetworkConfiguration findByIpAddressRangesIpAddressPoolIpAddress(long ipAddress);", "title": "" }, { "docid": "dcc7010c6f39dd766163799ccb542e4d", "score": "0.4947613", "text": "public abstract List<ProfileDefinitionEndpointParams> endpoints();", "title": "" }, { "docid": "c24c74b2ffd615bb16d61f35ae232c52", "score": "0.49307555", "text": "public String modifySubnet(String containerName, String subnetName, String subnetAddress, List<String> nodeConnectors) throws MalformedURLException, IOException, RuntimeException{\n\t\tString paraString;\n\t\tMap<String, Object> request;\n\t\tString mountPoint = \"/controller/nb/v2/subnetservice/\" + containerName + \"/subnet/\" + subnetName;\n\t\t\n\t\trequest = new HashMap<String, Object>();\n\t\trequest.put(\"name\", subnetName);\n\t\trequest.put(\"subnet\", subnetAddress);\n\t\t\n\t\t//\tnode connectors are optional\n\t\tif(nodeConnectors != null){\n\t\t\trequest.put(\"nodeConnectors\", nodeConnectors);\n\t\t}\n\t\telse{\n\t\t\trequest.put(\"nodeConnectors\", new ArrayList<String>());\n\t\t}\n\t\t\n\t\tparaString = mapper.writeValueAsString(request);\t//\tMap -> JSON String\n\t\treturn RestUtils.doPost(requestPrefix + mountPoint, paraString, userAccount, userPassword);\n\t}", "title": "" }, { "docid": "65407981f52e7439060259cf53cda64e", "score": "0.49098608", "text": "public IpamDnsAwsProfile addEgressServiceSubnetsItem(String egressServiceSubnetsItem) {\n if (this.egressServiceSubnets == null) {\n this.egressServiceSubnets = new ArrayList<String>();\n }\n this.egressServiceSubnets.add(egressServiceSubnetsItem);\n return this;\n }", "title": "" }, { "docid": "5ab5435a8571259796fba248f0d3b29b", "score": "0.48942453", "text": "@Given(\"^attach removed subnets$\")\n public LoadBalancerStepDefinitions attachRandomRemovedSubnets() {\n for (String subnet : executionStateCache.getDetachedSubnets()) {\n loadBalancerRaider.attachLoadBalancerToSubnets(executionStateCache.getLoadBalancerName(), subnet);\n }\n executionStateCache.removeDetachedSubnets(executionStateCache.getDetachedSubnets());\n return this;\n }", "title": "" }, { "docid": "01e7f3a4f2980ee6a078f5987ec60d4e", "score": "0.48839024", "text": "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getSubnetId() != null)\n sb.append(\"SubnetId: \").append(getSubnetId()).append(\",\");\n if (getSecurityGroupIds() != null)\n sb.append(\"SecurityGroupIds: \").append(getSecurityGroupIds()).append(\",\");\n if (getPreserveClientIp() != null)\n sb.append(\"PreserveClientIp: \").append(getPreserveClientIp()).append(\",\");\n if (getClientToken() != null)\n sb.append(\"ClientToken: \").append(getClientToken()).append(\",\");\n if (getTagSpecifications() != null)\n sb.append(\"TagSpecifications: \").append(getTagSpecifications());\n sb.append(\"}\");\n return sb.toString();\n }", "title": "" }, { "docid": "0ca3a1b325799665b9fab6fc6c169410", "score": "0.4864539", "text": "public String [] getLoadBalancerIds() {\n return this.LoadBalancerIds;\n }", "title": "" }, { "docid": "65ca4606347ffa191e67b1ea72795a5a", "score": "0.48485237", "text": "@ApiModelProperty(required = true, value = \"List of IP addresses\")\n public List<String> getIpAddrs() {\n return ipAddrs;\n }", "title": "" }, { "docid": "b128fa51e59bbc0ba459039d0eac150c", "score": "0.48454756", "text": "public String nextCidr() {\n long l = next();\n return l == -1 ? null : longAsIPV4String(l) + \"/\" + subnetSize;\n }", "title": "" }, { "docid": "337d1e8708f7f71442b2471ca53291aa", "score": "0.4842346", "text": "public String modifySubnet(String subnetName, String subnetAddress, List<String> nodeConnectors) throws MalformedURLException, IOException, RuntimeException{\n\t\treturn modifySubnet(currentContainerName, subnetName, subnetAddress, nodeConnectors);\n\t}", "title": "" }, { "docid": "f830ae1e00d6a821a3fb023c8c619968", "score": "0.48422492", "text": "@Override\n public void visitNodeInterfaceDeliveredToSubnet(NodeInterfaceDeliveredToSubnet.State state) {}", "title": "" }, { "docid": "ca111014e010ef7a5d83108834595120", "score": "0.4839742", "text": "public static Set<String> toClassCSubNets(Set<String> IPSet) {\n\t\tSet<String> subNets= new HashSet<String>();\n\t\tfor (String ip:IPSet) {\n\t\t\tip = ipClean(ip);\n\t\t\tString subnet = ip.substring(0,ip.lastIndexOf(\".\"))+\".0/24\";\n\t\t\tsubNets.add(subnet);\n\t\t}\n\t\treturn subNets;\n\t}", "title": "" }, { "docid": "4484f251356d5efa20df8f35122049c8", "score": "0.4838122", "text": "public Future<CreateSubnetResult> createSubnetAsync(CreateSubnetRequest createSubnetRequest) \n throws AmazonServiceException, AmazonClientException;", "title": "" }, { "docid": "eb46542b03be807551161e0a0f55e338", "score": "0.48133203", "text": "public IpConfigurationProperties withSubnet(ResourceId subnet) {\n this.subnet = subnet;\n return this;\n }", "title": "" }, { "docid": "58936fb27c1a6c11aff98706ed3b5e00", "score": "0.476997", "text": "public IntegrationRuntimeCustomerVirtualNetwork withSubnetId(String subnetId) {\n this.subnetId = subnetId;\n return this;\n }", "title": "" }, { "docid": "3d13be7ecf1a097828bd842ac851f318", "score": "0.4715219", "text": "@Override\n public void visitDeliveredToSubnet(DeliveredToSubnet.State state) {}", "title": "" }, { "docid": "4b8d5bd67082f63f42fd12137b37165a", "score": "0.4714379", "text": "public void setLoadBalancerIds(String [] LoadBalancerIds) {\n this.LoadBalancerIds = LoadBalancerIds;\n }", "title": "" }, { "docid": "6acb96b2c30185d10bc1ca52edb0934b", "score": "0.46889693", "text": "Ipv6PeeringConfig.DefinitionStages.Blank<WithCreate> defineIpv6Config();", "title": "" }, { "docid": "60140acbe4d071c8f0eb67b91b9eeece", "score": "0.4663909", "text": "public Set<EndpointId> endpoints() {\n return endpoints;\n }", "title": "" }, { "docid": "04ec4b907c69311982d4f430969b1692", "score": "0.46627963", "text": "public List<String> getUddiServiceEndPoints(String sHomeCommunityId) throws Exception {\n List<String> serviceEndpointsList = new ArrayList<String>();\n try {\n CMBusinessEntity cmBizEntity = ConnectionManagerCache.getBusinessEntity(sHomeCommunityId);\n\n for (CMBusinessService service : cmBizEntity.getBusinessServices().getBusinessService()) {\n log.debug(\"Found service [\" + service.getUniformServiceName() + \"] for HCID [\" + sHomeCommunityId + \"]\");\n // Check for defined binding templates. If at least one found, log endpoint URL\n if (service.getBindingTemplates() != null &&\n service.getBindingTemplates().getBindingTemplate() != null &&\n service.getBindingTemplates().getBindingTemplate().size() > 0 &&\n service.getBindingTemplates().getBindingTemplate().get(0) != null) {\n\n log.debug(\"--> First endpoint is [\" + service.getBindingTemplates().getBindingTemplate().get(0).getEndpointURL() + \"]\");\n serviceEndpointsList.add(service.getBindingTemplates().getBindingTemplate().get(0).getEndpointURL());\n\n }\n\n }\n\n } catch (Exception e) {\n throw new Exception(e);\n }\n\n return serviceEndpointsList;\n }", "title": "" }, { "docid": "f066b2c6fcc88ce5613fa2308efee257", "score": "0.46331215", "text": "public NeptuneSubnetGroupResource getDbSubnetGroup() {\n return dbSubnetGroup;\n }", "title": "" }, { "docid": "1d0985202eef8080b36dbf9608a55949", "score": "0.46232215", "text": "java.util.List<lightpay.lnd.grpc.NodeAddress> \n getAddressesList();", "title": "" }, { "docid": "d4a1e7499c7b492422f64d9474255f30", "score": "0.4619035", "text": "Ipv6PeeringConfig.UpdateDefinitionStages.Blank<Update> defineIpv6Config();", "title": "" }, { "docid": "7ba7a5d27ac759ff3a374c2e6f79fb1f", "score": "0.45994332", "text": "private List<String> getAPIGatewayURLs() {\n APIManagerConfiguration apiConfig = ServiceReferenceHolder.getInstance().getAPIManagerConfigurationService()\n .getAPIManagerConfiguration();\n Map<String, Environment> APIEnvironments = apiConfig.getApiGatewayEnvironments();\n List<String> gatewayURLs = new ArrayList<String>(2);\n for (Environment environment : APIEnvironments.values()) {\n gatewayURLs.add(environment.getApiGatewayEndpoint());\n }\n return gatewayURLs;\n }", "title": "" }, { "docid": "93a7af0f1ab04f2048fcf5d089983e97", "score": "0.45776698", "text": "@Test\n public void containTest() {\n List<String> subNetNoOverlapping = Lists.newArrayList(\"192.168.0.0/26\", \"192.168.0.128/25\", \"192.168.0.64/26\");\n for (String subnetOne : subNetNoOverlapping) {\n for (String subnetTwo : subNetNoOverlapping) {\n if (StringUtils.equals(subnetOne, subnetTwo)) {\n continue;\n }\n Assert.assertFalse(NetworkUtils.contains(subnetOne, subnetTwo));\n }\n }\n\n // Case 2: Same subnet\n String subnetSame = \"192.168.0.0/26\";\n Assert.assertTrue(NetworkUtils.contains(subnetSame, subnetSame));\n\n // Case 3: Two subnets, one contains another\n String biggerSubnet = \"10.0.0.0/8\";\n String smallerSubnet = \"10.0.0.0/18\";\n Assert.assertTrue(NetworkUtils.contains(biggerSubnet, smallerSubnet));\n Assert.assertFalse(NetworkUtils.contains(smallerSubnet, biggerSubnet));\n }", "title": "" } ]
b6bf078436db15b85c9a668ebebabf7e
Name of the Kafka user. string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[azAZ09_]", (.yandex.cloud.length) = "1256"];
[ { "docid": "28a7218fc9ddc82514ea1b11350526a9", "score": "0.0", "text": "public java.lang.String getName() {\n java.lang.Object ref = name_;\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 name_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" } ]
[ { "docid": "5a99b6f6ceed83b4d5056170c63904d0", "score": "0.6330417", "text": "private String createUserName(GoogleIdToken.Payload payload) {\n String userNameLetters = \"\" + ((String) payload.get(\"given_name\")).toLowerCase().charAt(0);\n String family_name = ((String) payload.get(\"family_name\")).toLowerCase();\n if (family_name.length() < 4)\n userNameLetters += family_name;\n else\n userNameLetters += family_name.substring(0, 3);\n if (userNameLetters.length() == 0)\n userNameLetters = \"unknown\";\n String userName = userNameLetters + \"001\";\n try (Connection conn = DBConnectionUtils.getConnectionFromClasspath(\"connection.properties\")) {\n List<UserAuthentication> userAuthentications = UserAuthenticationDAO.getAllUserAuthentications(conn);\n for (int userNameNum = 2; !UserNameServlet.checkUserName(userAuthentications, userName); userNameNum++) {\n userName = userNameLetters;\n if (userNameNum < 10) userName += \"0\";\n if (userNameNum < 100) userName += \"0\";\n userName += userNameNum;\n }\n return userName;\n } catch (SQLException | IOException e) {\n e.printStackTrace();\n }\n return null;\n }", "title": "" }, { "docid": "18859014c9f29be42067e86412bab0cf", "score": "0.60752094", "text": "public String getName() {\n return userName;\n }", "title": "" }, { "docid": "07512f74627f47d4a793b52997a50ded", "score": "0.6056137", "text": "@Override\n public String getName() {\n return userName;\n }", "title": "" }, { "docid": "5060ee295b036878009ded558fd6b2fd", "score": "0.6050561", "text": "public void setUserName(String name) {\r\n\t\tthis.userName = name;\r\n\t}", "title": "" }, { "docid": "b5b41067a8686b8773f678359d827e91", "score": "0.6044505", "text": "@ApiModelProperty(value = \"unique userid (alphanumberic) of the user\")\n public String getName() {\n return name;\n }", "title": "" }, { "docid": "0e27d87fb0743c53eec8340537b80e63", "score": "0.6031606", "text": "@ApiModelProperty(required = true, value = \"User name of the member\")\n\t@NotNull\n\n\t@Size(min = 1, max = 50)\n\tpublic String getUserName() {\n\t\treturn username;\n\t}", "title": "" }, { "docid": "4f5dafaddbbc453ea081556bce2ecde6", "score": "0.5996833", "text": "@Override\n\tpublic String getUserByName(String name) {\n\t\treturn \"sorry,\"+name;\n\t}", "title": "" }, { "docid": "dbf65f7466f0a5110ce1c12f01973c7f", "score": "0.5939864", "text": "@Override\n\tpublic String getStringAttribute(String name) {\n\t\treturn username;\n\t}", "title": "" }, { "docid": "1b0f9483b930428c799daf1dbeab77fb", "score": "0.5933509", "text": "protected CharSequence getUserName() {\n\t\treturn \"u0154784\";\r\n\t}", "title": "" }, { "docid": "7056a57c6bac40e9cfb59d8f571459a0", "score": "0.5914091", "text": "java.lang.String getUserName();", "title": "" }, { "docid": "7056a57c6bac40e9cfb59d8f571459a0", "score": "0.5914091", "text": "java.lang.String getUserName();", "title": "" }, { "docid": "0c1b97ab546bc5d23b0eb40a75407b65", "score": "0.58827084", "text": "public Builder setUserName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n userName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "0c1b97ab546bc5d23b0eb40a75407b65", "score": "0.58827084", "text": "public Builder setUserName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n userName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "bfa3125e210312c62daa68d59d4e875b", "score": "0.5841001", "text": "@Override\n public void storeUserName(String name) {\n storageIo.setUserName(userInfoProvider.getUserId(), name);\n }", "title": "" }, { "docid": "ccf89ceac2a70b3dd2ef74cac0db8c74", "score": "0.5811781", "text": "public void setName(String name) {\r\n this.username = name;\r\n }", "title": "" }, { "docid": "111f1b1a56f9ea506a135db8e0449461", "score": "0.5805643", "text": "com.google.protobuf.ByteString\n getUserNameBytes();", "title": "" }, { "docid": "111f1b1a56f9ea506a135db8e0449461", "score": "0.5805643", "text": "com.google.protobuf.ByteString\n getUserNameBytes();", "title": "" }, { "docid": "d59d8ed625d5c2f78118359819de635e", "score": "0.57624155", "text": "public String getName()\n/* */ {\n/* 236 */ return getUsername();\n/* */ }", "title": "" }, { "docid": "f932c68235f3244f3eee8b2dc0cdc957", "score": "0.5744019", "text": "public String getUser_name() {\n return user_name;\n }", "title": "" }, { "docid": "f3ad93dfd997fd1d91f7ff94e3438ea2", "score": "0.57354474", "text": "public String getName() {\n return user;\n }", "title": "" }, { "docid": "8f96eb35236158d3f85b82717237320a", "score": "0.56971097", "text": "@Override\n\tpublic int getMaxUserNameLength() {\n\t\treturn 1024;\t// In MonetDB the max length of column sys.db_user_info.name is defined as 1024\n\t}", "title": "" }, { "docid": "54f8ed240fb4ff3716853177ac28af5e", "score": "0.5688867", "text": "public String getName() {\n return user.getName();\n }", "title": "" }, { "docid": "e66d9c6a59f1bae6b8a4e5183ad630a1", "score": "0.5678726", "text": "public java.lang.String getUserName() {\n java.lang.Object ref = userName_;\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 userName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "e66d9c6a59f1bae6b8a4e5183ad630a1", "score": "0.5678726", "text": "public java.lang.String getUserName() {\n java.lang.Object ref = userName_;\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 userName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "ae1f837334ae95ffecdf23895fdc15e0", "score": "0.5672266", "text": "public java.lang.String getUserName() {\n java.lang.Object ref = userName_;\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 userName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "be6874bbc1bef0c719901c2167246c3d", "score": "0.5667342", "text": "public Builder setUserNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n userName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "be6874bbc1bef0c719901c2167246c3d", "score": "0.5667342", "text": "public Builder setUserNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000010;\n userName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "865b08c0a047dea897a88472f25b0b7b", "score": "0.56498456", "text": "public String getUser() {\n return name;\n }", "title": "" }, { "docid": "17f26bd5347af0faea77fdd2e9711d57", "score": "0.56380236", "text": "public OAuthUser name(String name) {\n set(\"name\", name);\n return this;\n }", "title": "" }, { "docid": "a7b7b55a001c1431dc8d8476469d10b6", "score": "0.561262", "text": "String getUserName() {\r\n return this.userName;\r\n }", "title": "" }, { "docid": "3a5f0964bc7cf6f732f2c48bcfbde53f", "score": "0.5599897", "text": "public java.lang.String getUserName() {\n java.lang.Object ref = userName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n userName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "9ce4cb7ec230a4663d6cf647fb7eeb82", "score": "0.5597095", "text": "@Override\n public String toString() {\n return userName;\n }", "title": "" }, { "docid": "23657ca2bd4504e12b0c32e8622bcf89", "score": "0.5590147", "text": "@Param(1)\n @NonNull String getUsername();", "title": "" }, { "docid": "e3a1749bfb1cbeb9227d0c289520bdbf", "score": "0.55887294", "text": "public CatUser(\n\t\t\tString name){\n\t\tsuper();\n\t\t\n\t\tif (name == null)\n\t\t\tname = \"\";\n\t\t// put the data into the parse object\n\t\tparse.put(NAME, name);\n\t}", "title": "" }, { "docid": "b0d0167ae7e559c506f0cb2ad3fe68df", "score": "0.55858105", "text": "public void setUserName(final String userName);", "title": "" }, { "docid": "13175725bb8ff9ecb900645d46220fcd", "score": "0.55705863", "text": "@DISPID(6)\n\t// = 0x6. The runtime will prefer the VTID if present\n\t@VTID(12)\n\tjava.lang.String userName();", "title": "" }, { "docid": "6cfc1ea3dfceb20a078005e90f4d6ade", "score": "0.55679506", "text": "public void userName(String userName);", "title": "" }, { "docid": "163ec715d7ee43c2f27801f0effd689d", "score": "0.55618566", "text": "private static String getPossessiveUserName() {\n String name = null;\n \n if (OSUtils.isMacOSX())\n name = System.getProperty(\"user.fullname\", null);\n \n if (name == null)\n name = System.getProperty(\"user.name\", \"Unknown\");\n \n if(!name.endsWith(\"s\"))\n name += \"'s\";\n else\n name += \"'\";\n \n return name;\n }", "title": "" }, { "docid": "37650cfb4a991b12dec900b7f85e7ca5", "score": "0.5557269", "text": "public String getUserName();", "title": "" }, { "docid": "87be6ca7588ad16e31ea662c0ddbb71f", "score": "0.55385184", "text": "UserInfo getByName(@Param(\"userNickName\") String userNickName);", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "0499fd87beada200a8c90bf15f02b6b7", "score": "0.55287385", "text": "java.lang.String getUsername();", "title": "" }, { "docid": "bf9100dd4f575ae65e3177ef3f48cd07", "score": "0.5528555", "text": "public final void setUserName(final String pName) {\n this.username = pName;\n }", "title": "" }, { "docid": "905f0d65b5b123e328be1f88f8a715b3", "score": "0.5521165", "text": "public String getName() {\n try {\n return user.fetchIfNeeded().getString(KEY_FIRST_NAME) + \" \" + user.fetchIfNeeded().getString(KEY_LAST_NAME);\n } catch (ParseException e) {\n e.printStackTrace();\n }\n return \"errorUser\";\n }", "title": "" }, { "docid": "7df900ebd29dc8b1d31ad6325d763545", "score": "0.5520803", "text": "public String getUserName() {\r\n return userName;\r\n }", "title": "" }, { "docid": "7df900ebd29dc8b1d31ad6325d763545", "score": "0.5520803", "text": "public String getUserName() {\r\n return userName;\r\n }", "title": "" }, { "docid": "89608c91268da9b4ca1bd63cb851de42", "score": "0.5517812", "text": "void setUserName(String userName) {\r\n this.userName = userName;\r\n }", "title": "" }, { "docid": "cdf26ff78cb89f496312294987c94e01", "score": "0.5513206", "text": "interface WithUserName {\n /**\n * @param userName the name of the administrator account\n * @return the next stage of the definition\n */\n WithUserCredentials withUserName(String userName);\n }", "title": "" }, { "docid": "ca8f0bf3a3b4ed7a7b14f6014e9f04cd", "score": "0.55095327", "text": "@AutoEscape\n @Override\n public String getUserName();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.55084944", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.55084944", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.55084944", "text": "java.lang.String getUser();", "title": "" }, { "docid": "1df5cb6a286597916a145a2ff7b6f27a", "score": "0.55084944", "text": "java.lang.String getUser();", "title": "" }, { "docid": "922e4b678a175a74e9075ef5505ba2de", "score": "0.55020344", "text": "public String getUserName() {\n return this.userName;\n }", "title": "" }, { "docid": "922e4b678a175a74e9075ef5505ba2de", "score": "0.55020344", "text": "public String getUserName() {\n return this.userName;\n }", "title": "" }, { "docid": "ec68d62d9a2d1fbe511dfab4fe1b2925", "score": "0.55011994", "text": "public void setUserName(String userName);", "title": "" }, { "docid": "cf2cedd13979b105925c723f0e41a4bc", "score": "0.5480476", "text": "public void setUserName(String userName) {\r\n this.userName = userName;\r\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "43e67c5b3cc4b12258079d896b6f5060", "score": "0.54779595", "text": "public String getUserName() {\n return userName;\n }", "title": "" }, { "docid": "8ae2c3a54da1d460b63a4137687dfc22", "score": "0.54761416", "text": "String getUserNameAtPosition(int position);", "title": "" }, { "docid": "34748d3e2d2d29d5c370a5ed6b897aab", "score": "0.5463906", "text": "public String getUserName() {\n return _userName;\n }", "title": "" }, { "docid": "c5cefe260384ff9327e056e7632b5896", "score": "0.546221", "text": "public String getUserName(){\n\t\treturn userName;\n\t}", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" }, { "docid": "d95966d299dd919f78f2d3ea987749a3", "score": "0.5450678", "text": "public void setUserName(String userName) {\n this.userName = userName;\n }", "title": "" } ]
1d92b136ca11b15347b123411e47724c
why do this??? mBTAdapter.cancelDiscovery();
[ { "docid": "e8edadd9c44a09f28738c4dc8b7387aa", "score": "0.0", "text": "@Override\r\n public void run() {\n\r\n try {\r\n mSock.connect();\r\n } catch (IOException e) {\r\n try {\r\n mSock.close();\r\n } catch (IOException e1) {\r\n Log.e(TAG, \"close error.\");\r\n e1.printStackTrace();\r\n }\r\n Log.e(TAG, \"connect error.\");\r\n e.printStackTrace();\r\n }\r\n\r\n }", "title": "" } ]
[ { "docid": "fcfc5caf18a7f066efcc6de0b2127179", "score": "0.6906014", "text": "private void stopDiscovery() {\n if (mDisposable != null) {\n mDisposable.dispose();\n }\n }", "title": "" }, { "docid": "d6061702b240ffb4f3a490aaf953ad4c", "score": "0.6802695", "text": "private void startDiscovery() {\n\t\tbtAdapter.cancelDiscovery();\n\t\tbtAdapter.startDiscovery();\n\t}", "title": "" }, { "docid": "1364a9b37704ca2eabe29cda0a0e48dc", "score": "0.6769626", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n\t\t\t\tif (ba.isDiscovering()) {\n\t\t\t\t\tba.cancelDiscovery();\n\t\t\t\t}\n\n\t\t\t}", "title": "" }, { "docid": "ced8e09998c8638ce499819f7dd6ecf2", "score": "0.65823096", "text": "private void doDiscovery() {\n Log.d(TAG, \"doDiscovery()\");\n\n // If we're already discovering, stop it\n if (mBtAdapter.isDiscovering()) {\n mBtAdapter.cancelDiscovery();\n }\n\n // Request discover from BluetoothAdapter\n mBtAdapter.startDiscovery();\n }", "title": "" }, { "docid": "08b0038e086070f44950dcc63846f711", "score": "0.6562312", "text": "public void stopDiscovery() {\n if (mApiClient != null) {\n Weave.DEVICE_API.stopLoading(mApiClient, mDiscoveryListener);\n }\n }", "title": "" }, { "docid": "a4d1759598f00d049fe70929224d4435", "score": "0.6459018", "text": "private void resetBluetooth() {\n if (mBtAdapter != null) {\n mBtAdapter.disable();\n mHandler.postDelayed(new Runnable() {\n\n @Override\n public void run() {\n checkEnableBt();\n }\n }, 200);\n\n }\n }", "title": "" }, { "docid": "00cbb811c6e839d254c5444461f31c59", "score": "0.63822335", "text": "@Override\n public boolean onUnbind(Intent intent) {\n \tcloseBluetooth();\n return super.onUnbind(intent);\n }", "title": "" }, { "docid": "4f0915d33d8d0a9ec2f2e78b4f9ee981", "score": "0.635654", "text": "void bluetoothDeactivated();", "title": "" }, { "docid": "41eeecf01c06f7b3725d488a1cbc91f0", "score": "0.62514234", "text": "public void stopTrackingNfc() {\n\t\tif (adapter == null) {\n\t\t\treturn;\n\t\t}\n\t\tadapter.disableForegroundDispatch(activity);\n\t}", "title": "" }, { "docid": "ca2bdc697604fd2590b33ec043310bab", "score": "0.62267333", "text": "public void stopDiscoverability() {\r\n this.findableServerThread.interrupt();\r\n }", "title": "" }, { "docid": "8072663da42f97bad94bf875017f093c", "score": "0.6210245", "text": "public void mBTClose1() {\n if (oBTServer!=null)\n oBTServer.mCloseService2(); //Disconnect a relayed device\n mDisconnect();\n if (oBTadapter != null) {\n if (oBTadapter.isEnabled()) {\n if (isOpenedByMe) //170905 only if this application opened the bluetooth\n oBTadapter.disable();\n }\n }\n if (mReceiver1!=null)\n try { //Protection from crash bugfix 171013\n mContext.unregisterReceiver(mReceiver1);\n }\n catch (final Exception exception) {\n // The receiver was not registered. There is nothing to do in that case. Everything is fine.\n }\n }", "title": "" }, { "docid": "ca13e48695782dfb4c9ef6d674a31616", "score": "0.60586476", "text": "void canceledPendingNodeStop();", "title": "" }, { "docid": "d8f0f4b4e56102dd20dd80ae1fb94afe", "score": "0.60098386", "text": "private void stopPulling() {\n\n // un register this task\n eventDispatcher.unRegister(this);\n\n // tell the container to send response\n asyncContext.complete();\n\n // cancel data changed listening\n if (pullingTimeoutFuture != null){\n pullingTimeoutFuture.cancel(false);\n }\n }", "title": "" }, { "docid": "78bea6c38537b6e2250c35459f44d985", "score": "0.59981984", "text": "public static void disconnect() {\n if (AppSettings.bluetoothConnection != null) \n \tAppSettings.bluetoothConnection.stop();\n\t}", "title": "" }, { "docid": "22a8da1831159501c6826bbfe2093914", "score": "0.59801465", "text": "public void onNetDisConnect() {\n\n\t}", "title": "" }, { "docid": "b50ad298e26ed05c3dbcfcb24429eeae", "score": "0.59477425", "text": "@Override\n public void onClick(View v)\n {\n if (!mBluetoothAdapter.isEnabled()) {\n Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);\n startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT);\n }\n\n if (clicked) {\n registerDevicesBtn.setText(\"Register Devices\");\n clicked = false;\n mBluetoothAdapter.cancelDiscovery();\n Log.d(\"BT\", \"Cancelled task.\");\n } else {\n registerDevicesBtn.setText(\"Stop Registering Devices\");\n clicked = true;\n devices = new ArrayList<>();\n mBluetoothAdapter.startDiscovery();\n Log.d(\"BT\", \"Started task.\");\n }\n }", "title": "" }, { "docid": "c7864b96884bc118330559f91c3dc105", "score": "0.5914347", "text": "private void doDiscovery() {\n if (D) Log.d(TAG, \"doDiscovery()\");\n\n // Indicate scanning in the title\n setProgressBarIndeterminateVisibility(true);\n setTitle(R.string.scanning);\n\n // Turn on sub-title for new devices\n findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);\n\n // If we're already discovering, stop it\n if (mBtAdapter.isDiscovering()) {\n mBtAdapter.cancelDiscovery();\n }\n\n // Request discover from BluetoothAdapter\n mBtAdapter.startDiscovery();\n }", "title": "" }, { "docid": "76e0f392126bc8e754809c4a568e4b00", "score": "0.5898078", "text": "@Override\n\tprotected void onNetworkDisConnected() {\n\n\t}", "title": "" }, { "docid": "b1ec1dff606c38dd80a8f1ea8cf28b8f", "score": "0.58838624", "text": "public boolean mBT_PickDevice2(){ //Will change sRemoteDeviceName\n if (oBTadapter==null) return false;\n bDevicePickerActive=true;\n oBTadapter.startDiscovery();\n {\n Intent intent = new Intent(\"android.bluetooth.devicepicker.action.LAUNCH\");\n mContext.startActivity(intent); //startActivityForResult\n }\n mSleep(1000);\n return true;\n }", "title": "" }, { "docid": "81dbebcb33050b3686ca40eb645f6b22", "score": "0.5875548", "text": "public void stopRinging();", "title": "" }, { "docid": "7c6adfc06c2e7702bc33451ec21f099c", "score": "0.58747536", "text": "public void cancel() {\n try {\n bluetoothServerSocket.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "5c7fbfbbad47cce371cd99ca737b757b", "score": "0.5874169", "text": "public void disconnect() {if(mEnable) mBS.disconnect();}", "title": "" }, { "docid": "6ca87070038ca6161b7bc97d3a499944", "score": "0.58589584", "text": "private void btnGetVisibleClicked(View v)\n {\n Intent enableBTIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n startActivityForResult(enableBTIntent,Constants.REQUEST_DISCOVERABILITY_BT);\n }", "title": "" }, { "docid": "29bd95a88757ea435a2c2c28ed0afde3", "score": "0.5850334", "text": "private void doDiscovery() {\n\t\t// Indicate scanning in the title\n\t\t// setProgressBarIndeterminateVisibility(true);\n\t\tsetTitle(R.string.scanning);\n\n\t\t// Turn on sub-title for new devices\n\t\tfindViewById(R.id.title_new_devices).setVisibility(View.VISIBLE);\n\n\t\t// If we're already discovering, stop it\n\t\tif (m_BtAdapter.isDiscovering()) {\n\t\t\tm_BtAdapter.cancelDiscovery();\n\t\t}\n\n\t\t// Request discover from BluetoothAdapter\n\t\tm_BtAdapter.startDiscovery();\n\t}", "title": "" }, { "docid": "4482f81755d1d8e496631dbfe73a78ad", "score": "0.5834445", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n sendHandlerMessage(STOP_SCANNING_DEVICE_FLAG, 0);\n }", "title": "" }, { "docid": "81caf5a272498cb4d264d5eb2a829f4d", "score": "0.58214086", "text": "@Override\n\t\tpublic void onClick(View v) {\n\t\t\tIntent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n\t\t\tdiscoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 100);\n\t\t\tstartActivity(discoverableIntent);\n\t\t}", "title": "" }, { "docid": "d53819e4cdc2b076f72c2a2ed1eddb86", "score": "0.57969856", "text": "@Override\r\n public void disconnected(SyncEvent e) {\n btFechar.setEnabled(true);\r\n }", "title": "" }, { "docid": "67130298264368dc52938e32a63729a6", "score": "0.57905996", "text": "private void turnOff(View v) {\n bluetoothAdapter.disable();\n }", "title": "" }, { "docid": "8b0636a366113e234c5f7603517095d2", "score": "0.5774779", "text": "@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View v, int arg2,long arg3)\n\t\t\t{\n\t\t\t\tif(btAdapter.isDiscovering())\n\t\t\t\t{\n\t\t\t\t\tbtAdapter.cancelDiscovery();\n\t\t\t\t}\n\t\t\t\tString BtDeviceInfo = ((TextView)v).getText().toString();\n\t\t\t\tmBtDevName = BtDeviceInfo.split(\"\\n\")[0];\n\t\t\t\tmBtDevChosen = BtDeviceInfo.substring(BtDeviceInfo.length()-17);\n\t\t\t\tactivity_result_set(mBtDevChosen);\n\t\t\t}", "title": "" }, { "docid": "6cab6f6d59eb77342ae5e6f5a9c65a80", "score": "0.5743856", "text": "public void advertiseOff() {\n if(!isAdvertising) return;\r\n \r\n // flip our flag to indicate we're no longer advertising\r\n isAdvertising = false;\r\n \r\n // tell the system's BluetoothLeAdvertiser to stop advertising\r\n btLeAdv.stopAdvertising(advertiseCallback);\r\n \r\n // clear out the system's BluetoothGattServer's services, and close it\r\n btGattServer.clearServices();\r\n btGattServer.close();\r\n \r\n // clear our local list of advertised services\r\n gattServices.clear();\r\n \r\n theService = null;\r\n \r\n\t}", "title": "" }, { "docid": "37b3d57ad41aa7774e6b9b20ea7eb9a5", "score": "0.5740405", "text": "public int disconnect() {\n Log.d(TAG, \"kill start\");\n \n // TODO: check if conditionals fixes bug\n // disconnecting when bluetooth not enabeled\n for( BluetoothConnectionThread bct: bluetoothConnectionThreads ){\n if (bct != null) {\n bct.kill();\n bct = null;\n }\n }\n \n if (this.router != null) {\n this.router.stop();\n this.router = null;\n }\n \n Log.d(TAG, \"kill success\");\n return Constants.SUCCESS;\n }", "title": "" }, { "docid": "55e0faf72a31ec36afaccde149c62c46", "score": "0.57358944", "text": "@Override\n public void cancel() {\n\n }", "title": "" }, { "docid": "e375faae064097d045f054b6978541d9", "score": "0.57167256", "text": "private void setDiscoverableBt() {\n\t\tIntent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n\t\tdiscoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, MADN3SCamera.DISCOVERABLE_TIME);\n\t\tstartActivity(discoverableIntent);\n\t}", "title": "" }, { "docid": "3e513b151f6e3ab4ac5762e8dd2b40f8", "score": "0.57126206", "text": "public void deselectNotify() {\n }", "title": "" }, { "docid": "b6221ced5f26e70fd47dd46ab5dad16a", "score": "0.5706532", "text": "@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}", "title": "" }, { "docid": "19fe31f7f9db47501338ff6787ed5f0e", "score": "0.5702588", "text": "void connectionHandlerRequestStopScanning();", "title": "" }, { "docid": "190c9923509a2d288e0f306a3a2a2786", "score": "0.56849575", "text": "public void bluetooth_enable_discoverability()\r\n {\n\t\t\r\n Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\r\n\t\tdiscoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);\r\n\t\tLoaderActivity.m_Activity.startActivity(discoverableIntent);\r\n\t\tserver_connect_thread = new Server_Connect_Thread();\r\n\t\tserver_connect_thread.start();\r\n\t\tmessages.clear();\r\n }", "title": "" }, { "docid": "4e8538df45f82592e02fa5731eaa7887", "score": "0.56714445", "text": "@Override\n public void cancel() {\n }", "title": "" }, { "docid": "07e892dc3233fe56846568a9626c42fc", "score": "0.5667671", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.cancel();\n //回调搜索方式\n if (!bOpenDevice) {\n BluetoothComm.ScanDevice(DEVICE_ADDRESS_FILETER, 5, 1);\n if (!scan_progress.isShown()) {\n scan_progress.setVisibility(View.VISIBLE);\n }\n } else {\n showLogMessage(\"请先断开连接\");\n }\n }", "title": "" }, { "docid": "acf2a0342d6e6e76037885cbf9ec4053", "score": "0.5659479", "text": "private void ensureDiscoverable() {\n if (mBluetoothAdapter.getScanMode() !=\n BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {\n Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);\n startActivity(discoverableIntent);\n }\n }", "title": "" }, { "docid": "acf2a0342d6e6e76037885cbf9ec4053", "score": "0.5659479", "text": "private void ensureDiscoverable() {\n if (mBluetoothAdapter.getScanMode() !=\n BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {\n Intent discoverableIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n discoverableIntent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);\n startActivity(discoverableIntent);\n }\n }", "title": "" }, { "docid": "6403d3369951cbb58288069fd4741e1d", "score": "0.565487", "text": "abstract protected void onDisconnection();", "title": "" }, { "docid": "de80d9f8bdc2199c886f36ef23dc371b", "score": "0.5648451", "text": "@Override\n public void run() {\n Log.d(\"Final\", devices.toString());\n client.stopDiscovery();\n }", "title": "" }, { "docid": "46cdf56023a70dbf01a5fa1cc1af6cae", "score": "0.56426454", "text": "public void m9978e() {\n if (this.f8226a != null) {\n this.f8226a.cancel();\n }\n }", "title": "" }, { "docid": "065f5c6f66286a81fb8a436f8619b3e8", "score": "0.56378657", "text": "@Override\n public void cancel() {\n\n }", "title": "" }, { "docid": "065f5c6f66286a81fb8a436f8619b3e8", "score": "0.56378657", "text": "@Override\n public void cancel() {\n\n }", "title": "" }, { "docid": "065f5c6f66286a81fb8a436f8619b3e8", "score": "0.56378657", "text": "@Override\n public void cancel() {\n\n }", "title": "" }, { "docid": "aefb83be7c3bd17efc73f1fe36fad9d9", "score": "0.5625733", "text": "@Override\n public void cancel() {\n\n }", "title": "" }, { "docid": "1966a5d46c453bbb6150e0c12262b0fd", "score": "0.562566", "text": "public void mo29430b() {\n Log.w(\"MessageCenter\", \"unregistering MessageCenter's Broadcast Receiver\");\n C1049a.m3996a(this.f9292a).mo4058a((BroadcastReceiver) this.f9298g);\n }", "title": "" }, { "docid": "f084b85ec0dea2df4ac0466034c5b5c2", "score": "0.5616094", "text": "public void m4567b() {\n try {\n LocalBroadcastManager.getInstance(this.f4212b).unregisterReceiver(this);\n } catch (Exception e) {\n }\n }", "title": "" }, { "docid": "305022ab1b108dffd435cc719e8e5289", "score": "0.56110156", "text": "@Override\n\t\t\t\t\t\tpublic void cancel() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}", "title": "" }, { "docid": "2c30bae2e94c4b4bda064faea1385b6e", "score": "0.5610349", "text": "void onUnbind();", "title": "" }, { "docid": "1a735f374b069a0c3d81aed4ca29d6cb", "score": "0.560009", "text": "@RequiresPermission(allOf = {Manifest.permission.BLUETOOTH_ADMIN, Manifest.permission.BLUETOOTH, Manifest.permission.ACCESS_FINE_LOCATION})\n public void stopBleScan() {\n\n if (bleScanner != null) {\n bleScanner.stopScan();\n }\n }", "title": "" }, { "docid": "0aac7519401ea48183a5351437e3a976", "score": "0.55901057", "text": "@Override\r\n protected void onStop() {\r\n super.onStop();\r\n adapter.stopListening();\r\n }", "title": "" }, { "docid": "e08efef291d085eb264d8253c6bb2ea7", "score": "0.5585455", "text": "private synchronized void stop()\n\t{\n\t\ttry\n\t\t{\n\t\t\tunregisterReceiver( mConnectivityReceiver );\n\t\t}\n\t\tcatch ( IllegalArgumentException e )\n\t\t{\n\t\t\te.printStackTrace();\n\n\t\t} // try/catch\n\n\t}", "title": "" }, { "docid": "c1352b1a0694a0bdd080b65aca7a14ec", "score": "0.55837107", "text": "public void stopBroadcast(){\r\n\t\tthePres.stopBroadcast();\r\n\t\tstartBtn.setLabel(\"Start Broadcast\");\r\n\t\tdrawer.stopTasking();\r\n\t\tisPlaying = false;\r\n\t\tcurrRateLabel.setText(\"0 \");\r\n\t}", "title": "" }, { "docid": "859436df0369696d01fa8759800f0442", "score": "0.5581866", "text": "private void disconnect() {\n activityRunning = false;\n MRTClient.getInstance().doHangup();\n MRTClient.getInstance().removeClientListener(this);\n\n finish();\n }", "title": "" }, { "docid": "35878c3d582fbb7b1989ca1232b0ab07", "score": "0.5569712", "text": "@Override\n public void onClick(View v) {\n if (mBluetoothAdapter.isEnabled()) {\n\n }\n }", "title": "" }, { "docid": "e0496c4b04b3ec5381f6e6fdcecefa08", "score": "0.5560641", "text": "public void discoverDevices(){\r\n \t// If we're already discovering, stop it\r\n if (mBtAdapter.isDiscovering()) {\r\n mBtAdapter.cancelDiscovery();\r\n }\r\n \r\n Toast.makeText(this, \"Listining for paired devices.\", Toast.LENGTH_LONG).show();\r\n \tmBtAdapter.startDiscovery(); \r\n }", "title": "" }, { "docid": "fb3543a6237214e2370dc85ffd029b25", "score": "0.5554748", "text": "@Override\n public void stop()\n {\n mAdapter.deactivate(); \n logger.log(Level.INFO, \"CorpusService stopped\" );\n }", "title": "" }, { "docid": "8d50e4934aeb61daf36426f990205e56", "score": "0.55528617", "text": "@Override\n public void cancel() {\n }", "title": "" }, { "docid": "cbe920db3aa16f17eaf1d9d8f68b0ff4", "score": "0.555021", "text": "@Override\n public boolean onUnbind(Intent intent){\n return false;\n }", "title": "" }, { "docid": "ab7ead992e457982d452d77d5f842fc2", "score": "0.5543686", "text": "public final void dyC() {\n AppMethodBeat.i(29675);\n com.tencent.mm.blink.b.HQ().o(new Runnable() {\n public final void run() {\n AppMethodBeat.i(29667);\n if (w.this.ynU) {\n ab.i(\"MicroMsg.LauncherUI.MainTabUnreadMgr\", \"remove setTagRunnable\");\n al.af(w.this.ynV);\n }\n AppMethodBeat.o(29667);\n }\n });\n AppMethodBeat.o(29675);\n }", "title": "" }, { "docid": "706b8e5e1c821c7c8e58c5f187e80c83", "score": "0.554305", "text": "public void stop() {\n // If we weren't scanning, or Bluetooth is not supported, we're done.\n if (!scanning || adapter == null) {\n return;\n }\n\n // If Bluetooth is not enabled, scanning will automatically have been stopped.\n if (!adapter.isEnabled()) {\n scanning = false;\n Log.i(TAG, \"Scanning stopped by adapter.\");\n return;\n }\n\n // Get the BLE scanner. If this is null, Bluetooth may not be enabled.\n BluetoothLeScanner scanner = adapter.getBluetoothLeScanner();\n if (scanner == null) {\n Log.w(TAG, \"Could not retrieve scanner to stop scanning.\");\n return;\n }\n scanner.stopScan(scanCallback);\n\n scanning = false;\n Log.i(TAG, \"Stopped scanning.\");\n }", "title": "" }, { "docid": "5b4196113b89178699d60310a6582da1", "score": "0.55373764", "text": "public void onCancelled() {\n super.onCancelled();\n AsyncTask unused = KeyguardIndicationController.this.mChargeAsyncTask = null;\n }", "title": "" }, { "docid": "be20d56a515fc14ad9e0ebb5e769520e", "score": "0.55370235", "text": "@Override protected void onStop()\n {\n super.onStop();\n adapter.stopListening();\n }", "title": "" }, { "docid": "ca1a3ad0b969f510f82e9a6e49e387ae", "score": "0.5536949", "text": "@Override\n protected void onStop() {\n super.onStop();\n adapter.stopListening();\n }", "title": "" }, { "docid": "9d2eb4c8747bcc320fad9b7402f0af5b", "score": "0.55315685", "text": "synchronized void cancel()\n {\n state = DNSState.CANCELED;\n notifyAll();\n }", "title": "" }, { "docid": "4d8c8c0b0abb0070004c4494c2148bc3", "score": "0.55278474", "text": "public void doUnbind(){\n\t\tboolean isBound = settings.getBoolean(\"isBound\", false);\n\t\tif(isBound){\n\t\t\tcontext.unbindService(SpeedConnection);\n\t\t\tcontext.stopService(i);\n\t\t\teditor.putBoolean(\"isBound\", false);\n\t\t\teditor.apply();\n\t\t}\n\t}", "title": "" }, { "docid": "6260680da4a3101e14a7115a703431d8", "score": "0.5527469", "text": "public void discoverable()\n {\n if(mEnable) {\n Log.d(LOGTAG, \"Make discoverable\");\n if(mBluetoothAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {\n listen(false); // Stop listening if were listening\n Intent i = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n i.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);\n mContext.startActivity(i);\n listen(true); // Start again\n }\n }\n }", "title": "" }, { "docid": "7b55da307bd5a6f44a44803529adeeb5", "score": "0.5526471", "text": "public void onDisable() {\r\n }", "title": "" }, { "docid": "1edb21d3d6e5cbc21f1032a469af7eb8", "score": "0.55258703", "text": "public void stopListening();", "title": "" }, { "docid": "7945ce6ea06d73ff60f70ecbd92a4ff4", "score": "0.5523251", "text": "@Override\r\n\tpublic void cancel() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e0cceed47291751f93cf14fdcb2ed942", "score": "0.5521285", "text": "protected void processDisconnection(){}", "title": "" }, { "docid": "dfab40a0b831cea6cc2ac0f12b60260c", "score": "0.5520544", "text": "private boolean isBtConnected(){\n \treturn false;\n }", "title": "" }, { "docid": "28471a94fb3045183a14d8835e8c2745", "score": "0.55120164", "text": "@Override\n\tpublic void onClick(View v) {\n\t\t// TODO Auto-generated method stub\n\t\tIntent intent;\n\t\tswitch (v.getId()) {\n\t\tcase R.id.iv_back_BluetoothSearch:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\tcase R.id.bt_searchBluetooth_searchBluetooth:\n\t\t\tbt_searchBluetooth_searchBluetooth.setText(\"搜索中...\");\n\t\t\tToast.makeText(SearchBluetoothActivity.this, \"开始搜索蓝牙设备\", Toast.LENGTH_LONG).show();\n\t\t\tif (devices.size() == 0) {\n\t\t\t\tSet<BluetoothDevice> tmpDevices = ba.getBondedDevices();\n\t\t\t\tIterator<BluetoothDevice> it = tmpDevices.iterator();\n\t\t\t\tif (tmpDevices != null) {\n\t\t\t\t\twhile (it.hasNext()) {\n\t\t\t\t\t\tdevices.add((BluetoothDevice) it.next());\n\t\t\t\t\t}\n\t\t\t\t\tbdApdater = new DeviceAdapter(SearchBluetoothActivity.this, devices);\n\t\t\t\t\tlv_bluetoothDevice.setAdapter(bdApdater);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (ba.isDiscovering()) {\n\t\t\t\tba.cancelDiscovery();\n\t\t\t}\n\t\t\tba.startDiscovery();\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "dc24acea398e27189c4a5abe018f7b79", "score": "0.5511731", "text": "@Override\n public void scanActuatorsStopped() {\n }", "title": "" }, { "docid": "49f469b88c614027dffc68fa785eaf8c", "score": "0.5510741", "text": "@Override\n public void onDisable() {\n }", "title": "" }, { "docid": "4bd61baf19ec8cdcd996da65e980af87", "score": "0.5500258", "text": "public void disbandChannel()\r\n\t{\r\n\t\tif (_partys != null)\r\n\t\tfor (L2Party party : _partys)\r\n\t\t\tif (party != null)\r\n\t\t\t\tremoveParty(party);\r\n\t\t_partys = null;\r\n\t}", "title": "" }, { "docid": "a54df50edc7b97bd1816e69ed8fe83f5", "score": "0.5486794", "text": "private final void m118787c(bkcr bkcr) {\n if (getAdapter() instanceof bkcq) {\n ((bkcq) getAdapter()).remove(bkcr);\n }\n }", "title": "" }, { "docid": "07281c895eba9164741a741ec7a68936", "score": "0.54860246", "text": "public void mo8820d() {\n if (!((Activity) C3720a.this._context).getClass().getSimpleName().equalsIgnoreCase(LiveViewMoviePantilterCheckRangeActivity.class.getSimpleName())) {\n C2331d.m10114a((Activity) C3720a.this, C2328a.ON_PANTILTER_NO_CONNECT, (Bundle) null);\n } else {\n C3720a.this.finish();\n }\n }", "title": "" }, { "docid": "58fb46c8f93b7fb9b2a12501e8f94507", "score": "0.54852986", "text": "private void ensureDiscoverable() {\n\t\tif (D)\n\t\t\tLog.d(TAG, \"ensure discoverable\");\n\t\tif (mBluetoothAdapter.getScanMode() != BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE) {\n\t\t\tIntent discoverableIntent = new Intent(\n\t\t\t\t\tBluetoothAdapter.ACTION_REQUEST_DISCOVERABLE);\n\t\t\tdiscoverableIntent.putExtra(\n\t\t\t\t\tBluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300);\n\t\t\tstartActivity(discoverableIntent);\n\t\t}\n\t}", "title": "" }, { "docid": "22c971e2290575e034af4b5f2d3bc783", "score": "0.5472954", "text": "@Override\n\t\tpublic void cancel() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "cc2296af69da12e72d9fbbfaeb273324", "score": "0.5471097", "text": "public static void stopOrStartScanningBle(final BluetoothAdapter mBluetoothAdapter,\n final LeScanCallback callback,\n final ScanCallback scanCallback,\n int stopOrstartScan){\n switch(stopOrstartScan){\n case STARTSCAN:\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){\n Log.i(TAG,\"调用的是android5.0以上的启动方法\");\n final BluetoothLeScanner scanner = mBluetoothAdapter.getBluetoothLeScanner();\n scanner.startScan(scanCallback);\n new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n Thread.sleep(SCAN_TIME);\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n scanner.stopScan(scanCallback);\n }\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }).start();\n }else {\n Log.i(TAG,\"调用的是android5.0以下的启动方法\");\n mBluetoothAdapter.startLeScan(callback);\n new Thread(new Runnable() {\n @Override\n public void run() {\n try {\n Thread.sleep(SCAN_TIME);\n mBluetoothAdapter.stopLeScan(callback);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }).start();\n\n }\n break;\n case STOPSCAN:\n if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){\n Log.i(TAG,\"调用的是android5.0以上的停止方法\");\n mBluetoothAdapter.getBluetoothLeScanner().stopScan(scanCallback);\n }else {\n Log.i(TAG,\"调用的是android5.0以下的停止方法\");\n mBluetoothAdapter.stopLeScan(callback);\n }\n break;\n }\n }", "title": "" }, { "docid": "04a061569ece0e1b147aaf371931ab5b", "score": "0.5470923", "text": "public void disconnect() {\r\n\t\trunning = false;\r\n\t}", "title": "" }, { "docid": "9484e03f3045150525ab95a8c52c24b0", "score": "0.54678744", "text": "@Override\n public void onFailure(int i) {\n discoverPeersTillSuccess();\n }", "title": "" }, { "docid": "fa2f021d64dcbae2f4ac38290d606d05", "score": "0.5464155", "text": "private void checkBTState() {\n\n if(btAdapter==null) {\n Toast.makeText(getContext(), \"El dispositivo no soporta bluetooth\", Toast.LENGTH_LONG).show();\n } else {\n if (btAdapter.isEnabled()) {\n } else {\n Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE);\n startActivityForResult(enableBtIntent, 1);\n }\n }\n }", "title": "" }, { "docid": "2dce21000943d062c60502284cc60244", "score": "0.5464012", "text": "@Override\n\tpublic boolean unConnectNetShowToast() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "ddd21a99bd67b7697e989cca130ad33b", "score": "0.5462993", "text": "protected void onBSTaskRemoved(Intent rootIntent) {\n\n }", "title": "" }, { "docid": "933f7c1bfadd6ee05f802a87c5d2ee36", "score": "0.5462685", "text": "public void disableReader() {\n active = false;\n deregisterBroadcastReceiver();\n }", "title": "" }, { "docid": "80aead04cbb0d77030fc82913fcaf617", "score": "0.5454881", "text": "@SuppressLint(\"NewApi\") \n\tprivate void stopScan() {\n\t\tif (mIsScanning) {\n\t\t\tDFUManager.log(TAG, \"stopScan\");\n\t\t\tmBluetoothAdapter.stopLeScan(mLEScanCallback);\n\t\t\tmIsScanning = false;\n\t\t}\n\t}", "title": "" }, { "docid": "04cdffea6dfed516424ced3dab1962f0", "score": "0.54539275", "text": "@Override\n public void scanAborted() {\n this.mplLiveData.stopAll();\n this.mplLiveData.emptyPool(); // CKA April 25, 2014\n }", "title": "" }, { "docid": "198afa1f6424582720fe4597691a18c7", "score": "0.5452108", "text": "public void onDisable() {\n }", "title": "" }, { "docid": "198afa1f6424582720fe4597691a18c7", "score": "0.5452108", "text": "public void onDisable() {\n }", "title": "" }, { "docid": "d4a42c0e7eb33c2be7579f445cc4a4aa", "score": "0.54450953", "text": "public void onDisable()\n {\n }", "title": "" }, { "docid": "f439227ad2ac7d90d7aea0d1809a7a47", "score": "0.54448444", "text": "public void off() throws Exception;", "title": "" }, { "docid": "de9255f9e9693d208ef7e906f2dc2cb2", "score": "0.54441893", "text": "public void disconnect() {\n/* 244 */ this.delegate.disconnect();\n/* */ }", "title": "" }, { "docid": "b218dd892b91be08bfeb21f5dda2512b", "score": "0.5443058", "text": "@Override\n public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {\n bluetoothAdapter.cancelDiscovery();\n\n Log.d(TAG, \"onItemClick: You Clicked on a device.\");\n String deviceName = sensorDevices.get(i).getDevice().getName();\n String deviceAddress = sensorDevices.get(i).getDevice().getAddress();\n\n Log.d(TAG, \"onItemClick: deviceName = \" + deviceName);\n Log.d(TAG, \"onItemClick: deviceAddress = \" + deviceAddress);\n\n int isBonded = sensorDevices.get(i).getDevice().getBondState();\n if (isBonded == BOND_BONDED) {\n Toast.makeText(activity, \"연결 되었습니다.\", Toast.LENGTH_SHORT).show();\n startActivity(new Intent(getContext(), InduceActivity.class));\n } else if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2) {\n showProgress(deviceName.substring(4) + \"와 연결 중 입니다.\");\n Log.d(TAG, \"Trying to pair with \" + deviceName);\n sensorDevices.get(i).getDevice().createBond();\n }\n }", "title": "" }, { "docid": "0ad1ef704a54f2c04fc1d6ec2c810b68", "score": "0.5440785", "text": "@Override\n\tpublic void turnOff() {\n\n\t}", "title": "" }, { "docid": "14512e2debc48b30c75241e902c25dd8", "score": "0.54347813", "text": "@Override\n\tpublic void cancel() {\n\t\t\n\t}", "title": "" }, { "docid": "ca6fb4c41accc4488066d2b906df304c", "score": "0.5426924", "text": "private void addScanningTimeout() {\n Runnable timeout = new Runnable() {\n @Override\n public void run() {\n if(mBleWrapper == null) return;\n mScanning = false;\n mBleWrapper.stopScanning();\n getActivity().invalidateOptionsMenu(); //refresh menu bar\n }\n };\n mHandler.postDelayed(timeout, SCANNING_TIMEOUT);\n }", "title": "" } ]
961401c092dd73f1b9823d74ba9abdcb
$ANTLR end "rule__Doozle__TargetAssignment_4" $ANTLR start "rule__Doozle__OnAssignment_6" InternalDsl.g:14587:1: rule__Doozle__OnAssignment_6 : ( RULE_STRING ) ;
[ { "docid": "5bbc78cc8808a5fa151987fe1be4da93", "score": "0.8313975", "text": "public final void rule__Doozle__OnAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14591:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14592:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14592:2: ( RULE_STRING )\r\n // InternalDsl.g:14593:3: RULE_STRING\r\n {\r\n before(grammarAccess.getDoozleAccess().getOnSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getDoozleAccess().getOnSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" } ]
[ { "docid": "3e48e50588ee79a2e5bd15f3021099ad", "score": "0.7983089", "text": "public final void rule__Doozle__TargetAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14576:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14577:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14577:2: ( RULE_STRING )\r\n // InternalDsl.g:14578:3: RULE_STRING\r\n {\r\n before(grammarAccess.getDoozleAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getDoozleAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "470f2a420ef4f0599dfd89ee33ffa6b8", "score": "0.6624584", "text": "public final void rule__Doozle__Group__6__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:7316:1: ( ( ( rule__Doozle__OnAssignment_6 ) ) )\r\n // InternalDsl.g:7317:1: ( ( rule__Doozle__OnAssignment_6 ) )\r\n {\r\n // InternalDsl.g:7317:1: ( ( rule__Doozle__OnAssignment_6 ) )\r\n // InternalDsl.g:7318:2: ( rule__Doozle__OnAssignment_6 )\r\n {\r\n before(grammarAccess.getDoozleAccess().getOnAssignment_6()); \r\n // InternalDsl.g:7319:2: ( rule__Doozle__OnAssignment_6 )\r\n // InternalDsl.g:7319:3: rule__Doozle__OnAssignment_6\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Doozle__OnAssignment_6();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getDoozleAccess().getOnAssignment_6()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ddab026976479fa645e3944376346508", "score": "0.6598257", "text": "public final void rule__Transform__OnAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15791:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15792:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15792:2: ( RULE_STRING )\r\n // InternalDsl.g:15793:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTransformAccess().getOnSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTransformAccess().getOnSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "736fbef63345c0d00467577eb83853c1", "score": "0.6544117", "text": "public final void rule__ExecJava__DbSrcAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13316:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13317:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13317:2: ( RULE_STRING )\r\n // InternalDsl.g:13318:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExecJavaAccess().getDbSrcSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExecJavaAccess().getDbSrcSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "74423fdd397dc9086dc09c566447e947", "score": "0.652098", "text": "public final void rule__Copydata__ToAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15551:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15552:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15552:2: ( RULE_STRING )\r\n // InternalDsl.g:15553:3: RULE_STRING\r\n {\r\n before(grammarAccess.getCopydataAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getCopydataAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3f0eba51f8c64bcaf4a875dc6ff9371a", "score": "0.6495932", "text": "public final void rule__Doozle__Group__4__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:7262:1: ( ( ( rule__Doozle__TargetAssignment_4 ) ) )\r\n // InternalDsl.g:7263:1: ( ( rule__Doozle__TargetAssignment_4 ) )\r\n {\r\n // InternalDsl.g:7263:1: ( ( rule__Doozle__TargetAssignment_4 ) )\r\n // InternalDsl.g:7264:2: ( rule__Doozle__TargetAssignment_4 )\r\n {\r\n before(grammarAccess.getDoozleAccess().getTargetAssignment_4()); \r\n // InternalDsl.g:7265:2: ( rule__Doozle__TargetAssignment_4 )\r\n // InternalDsl.g:7265:3: rule__Doozle__TargetAssignment_4\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Doozle__TargetAssignment_4();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getDoozleAccess().getTargetAssignment_4()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "89c16c7c89630ccb806985da856e3aa8", "score": "0.644025", "text": "public final void rule__Doozle__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14561:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14562:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14562:2: ( RULE_STRING )\r\n // InternalDsl.g:14563:3: RULE_STRING\r\n {\r\n before(grammarAccess.getDoozleAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getDoozleAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "2fbebf6833f2b1af8a908794814acd24", "score": "0.637223", "text": "public final void rule__Dropfile__TargetAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14531:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14532:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14532:2: ( RULE_STRING )\r\n // InternalDsl.g:14533:3: RULE_STRING\r\n {\r\n before(grammarAccess.getDropfileAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getDropfileAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bb67acd0984b061f040b7dcf4b406ac3", "score": "0.6253454", "text": "public final void rule__Callprocess__TargetAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15206:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15207:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15207:2: ( RULE_STRING )\r\n // InternalDsl.g:15208:3: RULE_STRING\r\n {\r\n before(grammarAccess.getCallprocessAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getCallprocessAccess().getTargetSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "47c801e34a9cc292c9afd6b540657a80", "score": "0.62507665", "text": "public final void rule__Rest__UrlAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14666:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14667:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14667:2: ( RULE_STRING )\r\n // InternalDsl.g:14668:3: RULE_STRING\r\n {\r\n before(grammarAccess.getRestAccess().getUrlSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getRestAccess().getUrlSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a2604e03ae828ef5443de110a822de42", "score": "0.61748946", "text": "public final void rule__Transition__TargetAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1158:1: ( ( ( ruleEString ) ) )\n // InternalMyDsl.g:1159:2: ( ( ruleEString ) )\n {\n // InternalMyDsl.g:1159:2: ( ( ruleEString ) )\n // InternalMyDsl.g:1160:3: ( ruleEString )\n {\n before(grammarAccess.getTransitionAccess().getTargetStateCrossReference_3_0()); \n // InternalMyDsl.g:1161:3: ( ruleEString )\n // InternalMyDsl.g:1162:4: ruleEString\n {\n before(grammarAccess.getTransitionAccess().getTargetStateEStringParserRuleCall_3_0_1()); \n pushFollow(FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getTransitionAccess().getTargetStateEStringParserRuleCall_3_0_1()); \n\n }\n\n after(grammarAccess.getTransitionAccess().getTargetStateCrossReference_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c29ddbdc7408e9cdf4c99aaab252ea15", "score": "0.6128779", "text": "public final void rule__Updatedaudit__DatasourceAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15311:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15312:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15312:2: ( RULE_STRING )\r\n // InternalDsl.g:15313:3: RULE_STRING\r\n {\r\n before(grammarAccess.getUpdatedauditAccess().getDatasourceSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getUpdatedauditAccess().getDatasourceSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "654c8a1fd8816cc61b4a1fa5e054d760", "score": "0.60940105", "text": "public final void rule__FirebaseReactiveNotification__UrlAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13496:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13497:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13497:2: ( RULE_STRING )\r\n // InternalDsl.g:13498:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseReactiveNotificationAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseReactiveNotificationAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "98b8da70da8ac545e92198a518efa8e0", "score": "0.6060293", "text": "public final void rule__FirebaseDatabasePut__UrlAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13376:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13377:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13377:2: ( RULE_STRING )\r\n // InternalDsl.g:13378:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseDatabasePutAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseDatabasePutAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "34b0bc6138b7f59b8f725c0f5dc1d997", "score": "0.6042302", "text": "public final void rule__Copydata__SourceAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15536:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15537:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15537:2: ( RULE_STRING )\r\n // InternalDsl.g:15538:3: RULE_STRING\r\n {\r\n before(grammarAccess.getCopydataAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getCopydataAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1ccbd0b9b6d8a06f1c46abb63c8674b3", "score": "0.602068", "text": "public final void rule__WriteCsv__ToAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15626:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15627:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15627:2: ( RULE_STRING )\r\n // InternalDsl.g:15628:3: RULE_STRING\r\n {\r\n before(grammarAccess.getWriteCsvAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getWriteCsvAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "c9932eb74fd62626897d68102bb60b2d", "score": "0.6010025", "text": "public final void rule__LoadCsv__ToAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15716:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15717:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15717:2: ( RULE_STRING )\r\n // InternalDsl.g:15718:3: RULE_STRING\r\n {\r\n before(grammarAccess.getLoadCsvAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getLoadCsvAccess().getToSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bf9112ca400607e72200f3b6e11339dd", "score": "0.5931758", "text": "public final void rule__UserStory__EventAssignment_4_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23091:1: ( ( ( ruleDQualifiedName ) ) )\n // InternalSus.g:23092:2: ( ( ruleDQualifiedName ) )\n {\n // InternalSus.g:23092:2: ( ( ruleDQualifiedName ) )\n // InternalSus.g:23093:3: ( ruleDQualifiedName )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserStoryAccess().getEventDemDomainEventCrossReference_4_1_0()); \n }\n // InternalSus.g:23094:3: ( ruleDQualifiedName )\n // InternalSus.g:23095:4: ruleDQualifiedName\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserStoryAccess().getEventDemDomainEventDQualifiedNameParserRuleCall_4_1_0_1()); \n }\n pushFollow(FOLLOW_2);\n ruleDQualifiedName();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserStoryAccess().getEventDemDomainEventDQualifiedNameParserRuleCall_4_1_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserStoryAccess().getEventDemDomainEventCrossReference_4_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "150d2235e309a09f05bd2e054a593ddc", "score": "0.5928331", "text": "public final void rule__Selector__StepsAssignment_4_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVizualizer.g:4240:1: ( ( RULE_STRING ) )\n // InternalVizualizer.g:4241:2: ( RULE_STRING )\n {\n // InternalVizualizer.g:4241:2: ( RULE_STRING )\n // InternalVizualizer.g:4242:3: RULE_STRING\n {\n before(grammarAccess.getSelectorAccess().getStepsSTRINGTerminalRuleCall_4_1_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getSelectorAccess().getStepsSTRINGTerminalRuleCall_4_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bde72f52abdae318109e31aba9c50ac3", "score": "0.5895791", "text": "public final void rule__ClickSendSms__TargetAssignment_8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15401:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15402:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15402:2: ( RULE_STRING )\r\n // InternalDsl.g:15403:3: RULE_STRING\r\n {\r\n before(grammarAccess.getClickSendSmsAccess().getTargetSTRINGTerminalRuleCall_8_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getClickSendSmsAccess().getTargetSTRINGTerminalRuleCall_8_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "575072040836b0057c3f165a5a87c4e0", "score": "0.5873521", "text": "public final void rule__PubChangeDescription__DateAssignment_0_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23464:1: ( ( RULE_STRING ) )\n // InternalSus.g:23465:2: ( RULE_STRING )\n {\n // InternalSus.g:23465:2: ( RULE_STRING )\n // InternalSus.g:23466:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubChangeDescriptionAccess().getDateSTRINGTerminalRuleCall_0_4_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubChangeDescriptionAccess().getDateSTRINGTerminalRuleCall_0_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "46d8fc96f500bf2e2170cd432954a6c8", "score": "0.585419", "text": "public final void rule__GooglecalPUT__DbSrcAssignment_14() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14231:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14232:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14232:2: ( RULE_STRING )\r\n // InternalDsl.g:14233:3: RULE_STRING\r\n {\r\n before(grammarAccess.getGooglecalPUTAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getGooglecalPUTAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "843e7f26ebd9acbcc2226afa46efd98e", "score": "0.58540463", "text": "public final void rule__ExecJava__ClassFqnAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13301:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13302:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13302:2: ( RULE_STRING )\r\n // InternalDsl.g:13303:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExecJavaAccess().getClassFqnSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExecJavaAccess().getClassFqnSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b2943688a6b30a1618ebc552df84ad7a", "score": "0.5831065", "text": "public final void rule__Callprocess__SourceAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15221:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15222:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15222:2: ( RULE_STRING )\r\n // InternalDsl.g:15223:3: RULE_STRING\r\n {\r\n before(grammarAccess.getCallprocessAccess().getSourceSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getCallprocessAccess().getSourceSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b432af8291e5fdff8225481cb06bd406", "score": "0.5823563", "text": "public final void rule__PubGlossaryEntry__CommentAssignment_0_6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23884:1: ( ( RULE_STRING ) )\n // InternalSus.g:23885:2: ( RULE_STRING )\n {\n // InternalSus.g:23885:2: ( RULE_STRING )\n // InternalSus.g:23886:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubGlossaryEntryAccess().getCommentSTRINGTerminalRuleCall_0_6_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubGlossaryEntryAccess().getCommentSTRINGTerminalRuleCall_0_6_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "57f0daad1b2a00922fed903d0c15365a", "score": "0.57904595", "text": "public final void rule__WriteCsv__SourceAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15611:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15612:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15612:2: ( RULE_STRING )\r\n // InternalDsl.g:15613:3: RULE_STRING\r\n {\r\n before(grammarAccess.getWriteCsvAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getWriteCsvAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "d84bd9762ab1cffa5fb20e224925216c", "score": "0.5782177", "text": "public final void rule__PubGlossaryEntry__TextAssignment_0_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23869:1: ( ( RULE_STRING ) )\n // InternalSus.g:23870:2: ( RULE_STRING )\n {\n // InternalSus.g:23870:2: ( RULE_STRING )\n // InternalSus.g:23871:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubGlossaryEntryAccess().getTextSTRINGTerminalRuleCall_0_4_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubGlossaryEntryAccess().getTextSTRINGTerminalRuleCall_0_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "d8c65599ddf7a65c4a7cb7cf3c7e85ed", "score": "0.5753494", "text": "public final void rule__PubReference__TargetAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:25254:1: ( ( ( ruleDQualifiedName ) ) )\n // InternalSus.g:25255:2: ( ( ruleDQualifiedName ) )\n {\n // InternalSus.g:25255:2: ( ( ruleDQualifiedName ) )\n // InternalSus.g:25256:3: ( ruleDQualifiedName )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubReferenceAccess().getTargetReferenceTargetCrossReference_2_0()); \n }\n // InternalSus.g:25257:3: ( ruleDQualifiedName )\n // InternalSus.g:25258:4: ruleDQualifiedName\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubReferenceAccess().getTargetReferenceTargetDQualifiedNameParserRuleCall_2_0_1()); \n }\n pushFollow(FOLLOW_2);\n ruleDQualifiedName();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubReferenceAccess().getTargetReferenceTargetDQualifiedNameParserRuleCall_2_0_1()); \n }\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubReferenceAccess().getTargetReferenceTargetCrossReference_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8c970f1a3ee05c45332d9a1355bbff3c", "score": "0.5732713", "text": "public final void rule__FBCLead__TargetAssignment_12() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14351:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14352:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14352:2: ( RULE_STRING )\r\n // InternalDsl.g:14353:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFBCLeadAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFBCLeadAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "940f7a9fd041f40289e2eeaec20b8554", "score": "0.57065195", "text": "public final void rule__Expression__LhsAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15836:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15837:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15837:2: ( RULE_STRING )\r\n // InternalDsl.g:15838:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExpressionAccess().getLhsSTRINGTerminalRuleCall_1_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExpressionAccess().getLhsSTRINGTerminalRuleCall_1_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4932e695c96e9305ff78d5b0643e73ac", "score": "0.57042176", "text": "public final void rule__Updatedaudit__LogsinkAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15296:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15297:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15297:2: ( RULE_STRING )\r\n // InternalDsl.g:15298:3: RULE_STRING\r\n {\r\n before(grammarAccess.getUpdatedauditAccess().getLogsinkSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getUpdatedauditAccess().getLogsinkSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "f8b2c508dd2b44e4767a17bf0d620873", "score": "0.5693442", "text": "public final void rule__PubGlossaryEntry__CommentAssignment_1_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23929:1: ( ( RULE_STRING ) )\n // InternalSus.g:23930:2: ( RULE_STRING )\n {\n // InternalSus.g:23930:2: ( RULE_STRING )\n // InternalSus.g:23931:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubGlossaryEntryAccess().getCommentSTRINGTerminalRuleCall_1_5_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubGlossaryEntryAccess().getCommentSTRINGTerminalRuleCall_1_5_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7c26e8500af7f64a53f5a63178ef87bd", "score": "0.5692228", "text": "public final void rule__Rest__AuthtokenAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14651:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14652:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14652:2: ( RULE_STRING )\r\n // InternalDsl.g:14653:3: RULE_STRING\r\n {\r\n before(grammarAccess.getRestAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getRestAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "79109b9b383b361bfc3bf5943e7ccd18", "score": "0.56908286", "text": "public final void rule__JexTestCase__UrlAssignment_5_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalJexTest.g:23850:1: ( ( RULE_STRING ) )\n // InternalJexTest.g:23851:1: ( RULE_STRING )\n {\n // InternalJexTest.g:23851:1: ( RULE_STRING )\n // InternalJexTest.g:23852:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getJexTestCaseAccess().getUrlSTRINGTerminalRuleCall_5_1_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getJexTestCaseAccess().getUrlSTRINGTerminalRuleCall_5_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8aa6f925b6342550150f53780e34476b", "score": "0.56763893", "text": "public final void rule__TipoFuncion__NombreAssignment_6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalVaryGrammarEnglish.g:18422:1: ( ( ruleEString ) )\n // InternalVaryGrammarEnglish.g:18423:1: ( ruleEString )\n {\n // InternalVaryGrammarEnglish.g:18423:1: ( ruleEString )\n // InternalVaryGrammarEnglish.g:18424:1: ruleEString\n {\n before(grammarAccess.getTipoFuncionAccess().getNombreEStringParserRuleCall_6_0()); \n pushFollow(FollowSets000.FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getTipoFuncionAccess().getNombreEStringParserRuleCall_6_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0998b0accb773188b189ee459d07e87f", "score": "0.56458753", "text": "public final void rule__PostEndPoint__UrlAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVizualizer.g:4007:1: ( ( RULE_STRING ) )\n // InternalVizualizer.g:4008:2: ( RULE_STRING )\n {\n // InternalVizualizer.g:4008:2: ( RULE_STRING )\n // InternalVizualizer.g:4009:3: RULE_STRING\n {\n before(grammarAccess.getPostEndPointAccess().getUrlSTRINGTerminalRuleCall_4_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getPostEndPointAccess().getUrlSTRINGTerminalRuleCall_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "f69b7483a15d187b9abdb5b540dbc4ff", "score": "0.5639711", "text": "public final void rule__PubChangeDescription__DescriptionAssignment_1_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23554:1: ( ( RULE_STRING ) )\n // InternalSus.g:23555:2: ( RULE_STRING )\n {\n // InternalSus.g:23555:2: ( RULE_STRING )\n // InternalSus.g:23556:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubChangeDescriptionAccess().getDescriptionSTRINGTerminalRuleCall_1_7_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubChangeDescriptionAccess().getDescriptionSTRINGTerminalRuleCall_1_7_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "78a86b21e1db0e900302e9558c49b89c", "score": "0.5606915", "text": "public final void rule__JexTestCase__DescriptionAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalJexTest.g:23835:1: ( ( RULE_STRING ) )\n // InternalJexTest.g:23836:1: ( RULE_STRING )\n {\n // InternalJexTest.g:23836:1: ( RULE_STRING )\n // InternalJexTest.g:23837:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getJexTestCaseAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getJexTestCaseAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c959531bd824e52febb8452ab2e2b61c", "score": "0.55972856", "text": "public final void rule__Rest__AckdatatoAssignment_33() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14816:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14817:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14817:2: ( RULE_STRING )\r\n // InternalDsl.g:14818:3: RULE_STRING\r\n {\r\n before(grammarAccess.getRestAccess().getAckdatatoSTRINGTerminalRuleCall_33_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getRestAccess().getAckdatatoSTRINGTerminalRuleCall_33_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "821ba91f4a3e89d5bf715a704f642480", "score": "0.55925596", "text": "public final void rule__PubCodeListing__CodeLinesAssignment_6_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:25130:1: ( ( RULE_STRING ) )\n // InternalSus.g:25131:2: ( RULE_STRING )\n {\n // InternalSus.g:25131:2: ( RULE_STRING )\n // InternalSus.g:25132:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubCodeListingAccess().getCodeLinesSTRINGTerminalRuleCall_6_0_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubCodeListingAccess().getCodeLinesSTRINGTerminalRuleCall_6_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b6a382ec6e8957f68558ee9a44f1995e", "score": "0.5590703", "text": "public final void rule__FirebaseReactiveNotification__DbSrcAssignment_12() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13556:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13557:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13557:2: ( RULE_STRING )\r\n // InternalDsl.g:13558:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseReactiveNotificationAccess().getDbSrcSTRINGTerminalRuleCall_12_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseReactiveNotificationAccess().getDbSrcSTRINGTerminalRuleCall_12_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e64253910e0d3a4895e6411a1c79fe14", "score": "0.5580397", "text": "public final void rule__SmsLeadSms__UrlAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13601:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13602:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13602:2: ( RULE_STRING )\r\n // InternalDsl.g:13603:3: RULE_STRING\r\n {\r\n before(grammarAccess.getSmsLeadSmsAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getSmsLeadSmsAccess().getUrlSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "48ef936227a21db38dbeae0df03ade5d", "score": "0.55585015", "text": "public final void rule__ClickSendSms__UseridAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15371:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15372:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15372:2: ( RULE_STRING )\r\n // InternalDsl.g:15373:3: RULE_STRING\r\n {\r\n before(grammarAccess.getClickSendSmsAccess().getUseridSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getClickSendSmsAccess().getUseridSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "4af84840851dfbaea1220d6819c9f890", "score": "0.5557145", "text": "public final void rule__ExecJava__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13286:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13287:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13287:2: ( RULE_STRING )\r\n // InternalDsl.g:13288:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExecJavaAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExecJavaAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "71d92b6031659beb973039d73aff11f2", "score": "0.5555062", "text": "public final void rule__ExecJava__ValueAssignment_8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13331:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13332:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13332:2: ( RULE_STRING )\r\n // InternalDsl.g:13333:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExecJavaAccess().getValueSTRINGTerminalRuleCall_8_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExecJavaAccess().getValueSTRINGTerminalRuleCall_8_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "406243a986643ec22a3ff182742c0a7d", "score": "0.55490226", "text": "public final void rule__Vector__NombreAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalVaryGrammarEnglish.g:18634:1: ( ( ruleEString ) )\n // InternalVaryGrammarEnglish.g:18635:1: ( ruleEString )\n {\n // InternalVaryGrammarEnglish.g:18635:1: ( ruleEString )\n // InternalVaryGrammarEnglish.g:18636:1: ruleEString\n {\n before(grammarAccess.getVectorAccess().getNombreEStringParserRuleCall_7_0()); \n pushFollow(FollowSets000.FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getVectorAccess().getNombreEStringParserRuleCall_7_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1d21009f39c578a3ce4230805e2a9fd2", "score": "0.55382776", "text": "public final void rule__FBFormDownload__TargetAssignment_12() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14471:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14472:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14472:2: ( RULE_STRING )\r\n // InternalDsl.g:14473:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFBFormDownloadAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFBFormDownloadAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3223ddc69fe57e4b52a067201ad43a46", "score": "0.553451", "text": "public final void rule__SendMail__DbSrcAssignment_8() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13946:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13947:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13947:2: ( RULE_STRING )\r\n // InternalDsl.g:13948:3: RULE_STRING\r\n {\r\n before(grammarAccess.getSendMailAccess().getDbSrcSTRINGTerminalRuleCall_8_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getSendMailAccess().getDbSrcSTRINGTerminalRuleCall_8_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3afff675f4b4ddea14edf0721dd53084", "score": "0.55332637", "text": "public final void rule__GooglecontactPUT__DbSrcAssignment_14() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14096:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14097:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14097:2: ( RULE_STRING )\r\n // InternalDsl.g:14098:3: RULE_STRING\r\n {\r\n before(grammarAccess.getGooglecontactPUTAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getGooglecontactPUTAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e9de786b7e5c1ba0b8869beba0564cca", "score": "0.55301785", "text": "public final void rule__TrelloGET__TargetAssignment_12() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14966:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14967:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14967:2: ( RULE_STRING )\r\n // InternalDsl.g:14968:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTrelloGETAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTrelloGETAccess().getTargetSTRINGTerminalRuleCall_12_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5a0280a8169769874802041a775ec2b0", "score": "0.55137765", "text": "public final void rule__Field__LabelAssignment_0_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1717:1: ( ( RULE_STRING ) )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1718:1: ( RULE_STRING )\n {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1718:1: ( RULE_STRING )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1719:1: RULE_STRING\n {\n before(grammarAccess.getFieldAccess().getLabelSTRINGTerminalRuleCall_0_4_0()); \n match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rule__Field__LabelAssignment_0_43355); \n after(grammarAccess.getFieldAccess().getLabelSTRINGTerminalRuleCall_0_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "abc83e1bd8bd2627a8f657d4e38fe480", "score": "0.54996306", "text": "public final void rule__Transition__DescriptionAssignment_0_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalJexTest.g:24394:1: ( ( RULE_STRING ) )\n // InternalJexTest.g:24395:1: ( RULE_STRING )\n {\n // InternalJexTest.g:24395:1: ( RULE_STRING )\n // InternalJexTest.g:24396:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTransitionAccess().getDescriptionSTRINGTerminalRuleCall_0_1_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTransitionAccess().getDescriptionSTRINGTerminalRuleCall_0_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "89ee31d3848c47087f4b26fd485c1004", "score": "0.54934126", "text": "public final void rule__SmsLeadSms__SenderAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13616:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13617:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13617:2: ( RULE_STRING )\r\n // InternalDsl.g:13618:3: RULE_STRING\r\n {\r\n before(grammarAccess.getSmsLeadSmsAccess().getSenderSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getSmsLeadSmsAccess().getSenderSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3509aa866b580b2653eb528cae331f23", "score": "0.54842806", "text": "public final void rule__Selector__StepsAssignment_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVizualizer.g:4225:1: ( ( RULE_STRING ) )\n // InternalVizualizer.g:4226:2: ( RULE_STRING )\n {\n // InternalVizualizer.g:4226:2: ( RULE_STRING )\n // InternalVizualizer.g:4227:3: RULE_STRING\n {\n before(grammarAccess.getSelectorAccess().getStepsSTRINGTerminalRuleCall_3_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getSelectorAccess().getStepsSTRINGTerminalRuleCall_3_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "195d73db0792ca0d794ce47124e63cfc", "score": "0.5481038", "text": "public final void rule__Graph__LaelAssignment_3_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVizualizer.g:3823:1: ( ( RULE_STRING ) )\n // InternalVizualizer.g:3824:2: ( RULE_STRING )\n {\n // InternalVizualizer.g:3824:2: ( RULE_STRING )\n // InternalVizualizer.g:3825:3: RULE_STRING\n {\n before(grammarAccess.getGraphAccess().getLaelSTRINGTerminalRuleCall_3_1_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getGraphAccess().getLaelSTRINGTerminalRuleCall_3_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6fe8b378c390a8777bd3ac2d5ad1501d", "score": "0.5465569", "text": "public final void rule__TestedClass__DescriptionAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalJexTest.g:24913:1: ( ( RULE_STRING ) )\n // InternalJexTest.g:24914:1: ( RULE_STRING )\n {\n // InternalJexTest.g:24914:1: ( RULE_STRING )\n // InternalJexTest.g:24915:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getTestedClassAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getTestedClassAccess().getDescriptionSTRINGTerminalRuleCall_4_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4101dc349806ec3ca80926428a60529f", "score": "0.54411346", "text": "public final void rule__GetEndPoint__UrlAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalVizualizer.g:4056:1: ( ( RULE_STRING ) )\n // InternalVizualizer.g:4057:2: ( RULE_STRING )\n {\n // InternalVizualizer.g:4057:2: ( RULE_STRING )\n // InternalVizualizer.g:4058:3: RULE_STRING\n {\n before(grammarAccess.getGetEndPointAccess().getUrlSTRINGTerminalRuleCall_4_0()); \n match(input,RULE_STRING,FOLLOW_2); \n after(grammarAccess.getGetEndPointAccess().getUrlSTRINGTerminalRuleCall_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "58db3d9402cf738b8f4add90d7cc11c1", "score": "0.5437397", "text": "public final void rule__DeclaracionDefinida__TipoAssignment_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalVaryGrammarEnglish.g:18979:1: ( ( ruleEString ) )\n // InternalVaryGrammarEnglish.g:18980:1: ( ruleEString )\n {\n // InternalVaryGrammarEnglish.g:18980:1: ( ruleEString )\n // InternalVaryGrammarEnglish.g:18981:1: ruleEString\n {\n before(grammarAccess.getDeclaracionDefinidaAccess().getTipoEStringParserRuleCall_0_0()); \n pushFollow(FollowSets000.FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getDeclaracionDefinidaAccess().getTipoEStringParserRuleCall_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8ca7ed42f0504db6e20eb2388b594303", "score": "0.54301214", "text": "public final void rule__Expression__RhsAssignment_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15866:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15867:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15867:2: ( RULE_STRING )\r\n // InternalDsl.g:15868:3: RULE_STRING\r\n {\r\n before(grammarAccess.getExpressionAccess().getRhsSTRINGTerminalRuleCall_3_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getExpressionAccess().getRhsSTRINGTerminalRuleCall_3_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b9599f1f7ca90c20d50d4f03ea5c9453", "score": "0.54273725", "text": "public final void rule__TrelloPUT__AuthtokenAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15026:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15027:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15027:2: ( RULE_STRING )\r\n // InternalDsl.g:15028:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTrelloPUTAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTrelloPUTAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "104433f1b1fb2ada6c066249095f71c7", "score": "0.5395065", "text": "public final void rule__PubChangeDescription__AuthorAssignment_0_6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23479:1: ( ( RULE_STRING ) )\n // InternalSus.g:23480:2: ( RULE_STRING )\n {\n // InternalSus.g:23480:2: ( RULE_STRING )\n // InternalSus.g:23481:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubChangeDescriptionAccess().getAuthorSTRINGTerminalRuleCall_0_6_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubChangeDescriptionAccess().getAuthorSTRINGTerminalRuleCall_0_6_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3aca2d1fbc16de2c72f28f25db07350d", "score": "0.5394226", "text": "public final void rule__Copydata__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15521:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15522:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15522:2: ( RULE_STRING )\r\n // InternalDsl.g:15523:3: RULE_STRING\r\n {\r\n before(grammarAccess.getCopydataAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getCopydataAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "add9c4b140abb4544aa0345742f469c8", "score": "0.53886795", "text": "public final void rule__Uno__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRulesUNO.g:1733:1: ( ( ( rule__Uno__ReglesAssignment_5 )? ) )\n // InternalRulesUNO.g:1734:1: ( ( rule__Uno__ReglesAssignment_5 )? )\n {\n // InternalRulesUNO.g:1734:1: ( ( rule__Uno__ReglesAssignment_5 )? )\n // InternalRulesUNO.g:1735:2: ( rule__Uno__ReglesAssignment_5 )?\n {\n before(grammarAccess.getUnoAccess().getReglesAssignment_5()); \n // InternalRulesUNO.g:1736:2: ( rule__Uno__ReglesAssignment_5 )?\n int alt22=2;\n int LA22_0 = input.LA(1);\n\n if ( (LA22_0==86) ) {\n alt22=1;\n }\n switch (alt22) {\n case 1 :\n // InternalRulesUNO.g:1736:3: rule__Uno__ReglesAssignment_5\n {\n pushFollow(FOLLOW_2);\n rule__Uno__ReglesAssignment_5();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getUnoAccess().getReglesAssignment_5()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "32d272ebc088df6ea157cd40049980fe", "score": "0.53845835", "text": "public final void rule__Attribut__IdAssignment_0_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRulesUNO.g:4238:1: ( ( ruleJoueur ) )\n // InternalRulesUNO.g:4239:2: ( ruleJoueur )\n {\n // InternalRulesUNO.g:4239:2: ( ruleJoueur )\n // InternalRulesUNO.g:4240:3: ruleJoueur\n {\n before(grammarAccess.getAttributAccess().getIdJoueurParserRuleCall_0_0_0()); \n pushFollow(FOLLOW_2);\n ruleJoueur();\n\n state._fsp--;\n\n after(grammarAccess.getAttributAccess().getIdJoueurParserRuleCall_0_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "638d11aedb93f25552dd73ed47c0fd10", "score": "0.5382004", "text": "public final void rule__LoadCsv__SourceAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15701:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15702:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15702:2: ( RULE_STRING )\r\n // InternalDsl.g:15703:3: RULE_STRING\r\n {\r\n before(grammarAccess.getLoadCsvAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getLoadCsvAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "12b38b1e7536e9aa069b0e6805676a03", "score": "0.5375514", "text": "public final void rule__GooglecalPUT__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14141:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14142:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14142:2: ( RULE_STRING )\r\n // InternalDsl.g:14143:3: RULE_STRING\r\n {\r\n before(grammarAccess.getGooglecalPUTAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getGooglecalPUTAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "306905253edf98803571b35120f0247f", "score": "0.5374168", "text": "public final void rule__PubReferenceTargetName__NameAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23374:1: ( ( RULE_ID ) )\n // InternalSus.g:23375:2: ( RULE_ID )\n {\n // InternalSus.g:23375:2: ( RULE_ID )\n // InternalSus.g:23376:3: RULE_ID\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubReferenceTargetNameAccess().getNameIDTerminalRuleCall_2_0()); \n }\n match(input,RULE_ID,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubReferenceTargetNameAccess().getNameIDTerminalRuleCall_2_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "27defce6d4b148433f06e76ef5853a03", "score": "0.53615713", "text": "public final void rule__GooglecalPUT__ValueAssignment_17() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14246:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14247:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14247:2: ( RULE_STRING )\r\n // InternalDsl.g:14248:3: RULE_STRING\r\n {\r\n before(grammarAccess.getGooglecalPUTAccess().getValueSTRINGTerminalRuleCall_17_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getGooglecalPUTAccess().getValueSTRINGTerminalRuleCall_17_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "6df4fe31d82b4094befa081a5ec523ff", "score": "0.53530455", "text": "public final void rule__TrelloGET__AuthtokenAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14906:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14907:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14907:2: ( RULE_STRING )\r\n // InternalDsl.g:14908:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTrelloGETAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTrelloGETAccess().getAuthtokenSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "074cddb36b8ae0c2312028aec207a930", "score": "0.533773", "text": "public final void rule__Program__MainMethodAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:4779:1: ( ( ( ruleEString ) ) )\n // InternalMyDsl.g:4780:2: ( ( ruleEString ) )\n {\n // InternalMyDsl.g:4780:2: ( ( ruleEString ) )\n // InternalMyDsl.g:4781:3: ( ruleEString )\n {\n before(grammarAccess.getProgramAccess().getMainMethodMethodCrossReference_7_0()); \n // InternalMyDsl.g:4782:3: ( ruleEString )\n // InternalMyDsl.g:4783:4: ruleEString\n {\n before(grammarAccess.getProgramAccess().getMainMethodMethodEStringParserRuleCall_7_0_1()); \n pushFollow(FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getProgramAccess().getMainMethodMethodEStringParserRuleCall_7_0_1()); \n\n }\n\n after(grammarAccess.getProgramAccess().getMainMethodMethodCrossReference_7_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "62efd24978f33ac05a460302835c4dca", "score": "0.5336062", "text": "public final void rule__FirebaseReactiveNotification__FbjsonAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13511:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13512:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13512:2: ( RULE_STRING )\r\n // InternalDsl.g:13513:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseReactiveNotificationAccess().getFbjsonSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseReactiveNotificationAccess().getFbjsonSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e3c5611749bea9cfeb11eda96b559867", "score": "0.53354704", "text": "public final void rule__FirebaseReactiveNotification__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13481:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13482:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13482:2: ( RULE_STRING )\r\n // InternalDsl.g:13483:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseReactiveNotificationAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseReactiveNotificationAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "57251d7faf2597153bedcf8e608d660a", "score": "0.53251874", "text": "public final void rule__Transition__NameAssignment_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1124:1: ( ( ruleEString ) )\n // InternalMyDsl.g:1125:2: ( ruleEString )\n {\n // InternalMyDsl.g:1125:2: ( ruleEString )\n // InternalMyDsl.g:1126:3: ruleEString\n {\n before(grammarAccess.getTransitionAccess().getNameEStringParserRuleCall_0_0()); \n pushFollow(FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getTransitionAccess().getNameEStringParserRuleCall_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4efc057890612775dbce93f246e28a78", "score": "0.5312852", "text": "public final void rule__TextField__LabelAssignment_0_1_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1747:1: ( ( RULE_STRING ) )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1748:1: ( RULE_STRING )\n {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1748:1: ( RULE_STRING )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1749:1: RULE_STRING\n {\n before(grammarAccess.getTextFieldAccess().getLabelSTRINGTerminalRuleCall_0_1_4_0()); \n match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rule__TextField__LabelAssignment_0_1_43417); \n after(grammarAccess.getTextFieldAccess().getLabelSTRINGTerminalRuleCall_0_1_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ee2753364b4b2d1f951c4a40e433269e", "score": "0.5305257", "text": "public final void rule__FBCLead__AppSecretAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14306:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14307:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14307:2: ( RULE_STRING )\r\n // InternalDsl.g:14308:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFBCLeadAccess().getAppSecretSTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFBCLeadAccess().getAppSecretSTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "689b5a6fad4901645f3abf0a696e71d9", "score": "0.5300006", "text": "public final void rule__Feature__TypeAssignment_4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDomainDSL.g:1326:1: ( ( ( ruleQualifiedName ) ) )\n // InternalDomainDSL.g:1327:2: ( ( ruleQualifiedName ) )\n {\n // InternalDomainDSL.g:1327:2: ( ( ruleQualifiedName ) )\n // InternalDomainDSL.g:1328:3: ( ruleQualifiedName )\n {\n before(grammarAccess.getFeatureAccess().getTypeTypeCrossReference_4_0()); \n // InternalDomainDSL.g:1329:3: ( ruleQualifiedName )\n // InternalDomainDSL.g:1330:4: ruleQualifiedName\n {\n before(grammarAccess.getFeatureAccess().getTypeTypeQualifiedNameParserRuleCall_4_0_1()); \n pushFollow(FOLLOW_2);\n ruleQualifiedName();\n\n state._fsp--;\n\n after(grammarAccess.getFeatureAccess().getTypeTypeQualifiedNameParserRuleCall_4_0_1()); \n\n }\n\n after(grammarAccess.getFeatureAccess().getTypeTypeCrossReference_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "22a0fd72bc69c4564094c8c2921ca6af", "score": "0.5296519", "text": "public final void rule__State__NameAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1109:1: ( ( ruleEString ) )\n // InternalMyDsl.g:1110:2: ( ruleEString )\n {\n // InternalMyDsl.g:1110:2: ( ruleEString )\n // InternalMyDsl.g:1111:3: ruleEString\n {\n before(grammarAccess.getStateAccess().getNameEStringParserRuleCall_1_0()); \n pushFollow(FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getStateAccess().getNameEStringParserRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a24018a29353bdf7ef55cf632a269c0f", "score": "0.52962595", "text": "public final void rule__FirebaseDatabasePut__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13361:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13362:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13362:2: ( RULE_STRING )\r\n // InternalDsl.g:13363:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFirebaseDatabasePutAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFirebaseDatabasePutAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "417465a39b78dd74f40dfe5059bd3ab5", "score": "0.5290541", "text": "public final void rule__TrelloGET__KeyAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14921:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14922:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14922:2: ( RULE_STRING )\r\n // InternalDsl.g:14923:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTrelloGETAccess().getKeySTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTrelloGETAccess().getKeySTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1d4d8d8e10fd995ce5b2969cc82988cb", "score": "0.52895665", "text": "public final void rule__UserStory__GoalAssignment_7() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23125:1: ( ( ruleDRichText ) )\n // InternalSus.g:23126:2: ( ruleDRichText )\n {\n // InternalSus.g:23126:2: ( ruleDRichText )\n // InternalSus.g:23127:3: ruleDRichText\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserStoryAccess().getGoalDRichTextParserRuleCall_7_0()); \n }\n pushFollow(FOLLOW_2);\n ruleDRichText();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserStoryAccess().getGoalDRichTextParserRuleCall_7_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ba3466e79e0732cec4778d60ca5fd1bc", "score": "0.5287981", "text": "public final void rule__PubChangeDescription__DateAssignment_1_3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23524:1: ( ( RULE_STRING ) )\n // InternalSus.g:23525:2: ( RULE_STRING )\n {\n // InternalSus.g:23525:2: ( RULE_STRING )\n // InternalSus.g:23526:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubChangeDescriptionAccess().getDateSTRINGTerminalRuleCall_1_3_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubChangeDescriptionAccess().getDateSTRINGTerminalRuleCall_1_3_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ad4a9acc7b6b5e30ae83179daf9f22ce", "score": "0.5287505", "text": "public final void rule__Rest__PostdatafromAssignment_23() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:14756:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:14757:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:14757:2: ( RULE_STRING )\r\n // InternalDsl.g:14758:3: RULE_STRING\r\n {\r\n before(grammarAccess.getRestAccess().getPostdatafromSTRINGTerminalRuleCall_23_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getRestAccess().getPostdatafromSTRINGTerminalRuleCall_23_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "02edb3b809fd38dc10a3c3d26693f092", "score": "0.52828145", "text": "public final void rule__GooglecontactSelectAll__DbSrcAssignment_14() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13856:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13857:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13857:2: ( RULE_STRING )\r\n // InternalDsl.g:13858:3: RULE_STRING\r\n {\r\n before(grammarAccess.getGooglecontactSelectAllAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getGooglecontactSelectAllAccess().getDbSrcSTRINGTerminalRuleCall_14_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "135cb79f479da7440011b6d5312e29e8", "score": "0.52753335", "text": "public final void rule__Form__TitleAssignment_6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1657:1: ( ( RULE_STRING ) )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1658:1: ( RULE_STRING )\n {\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1658:1: ( RULE_STRING )\n // ../htmlgenerator.ui/src-gen/htmlgenerator/ui/contentassist/antlr/internal/InternalMyDsl.g:1659:1: RULE_STRING\n {\n before(grammarAccess.getFormAccess().getTitleSTRINGTerminalRuleCall_6_0()); \n match(input,RULE_STRING,FOLLOW_RULE_STRING_in_rule__Form__TitleAssignment_63231); \n after(grammarAccess.getFormAccess().getTitleSTRINGTerminalRuleCall_6_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5b8eb1a07a20284b38078001a6d31ee0", "score": "0.5274536", "text": "public final void rule__UserStory__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:5630:1: ( ( ( rule__UserStory__EventAssignment_4_1 ) ) )\n // InternalSus.g:5631:1: ( ( rule__UserStory__EventAssignment_4_1 ) )\n {\n // InternalSus.g:5631:1: ( ( rule__UserStory__EventAssignment_4_1 ) )\n // InternalSus.g:5632:2: ( rule__UserStory__EventAssignment_4_1 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getUserStoryAccess().getEventAssignment_4_1()); \n }\n // InternalSus.g:5633:2: ( rule__UserStory__EventAssignment_4_1 )\n // InternalSus.g:5633:3: rule__UserStory__EventAssignment_4_1\n {\n pushFollow(FOLLOW_2);\n rule__UserStory__EventAssignment_4_1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getUserStoryAccess().getEventAssignment_4_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7a1b94e10f8c3c0974dd37896289080b", "score": "0.527412", "text": "public final void rule__Doozle__Group__2__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:7208:1: ( ( ( rule__Doozle__NameAssignment_2 ) ) )\r\n // InternalDsl.g:7209:1: ( ( rule__Doozle__NameAssignment_2 ) )\r\n {\r\n // InternalDsl.g:7209:1: ( ( rule__Doozle__NameAssignment_2 ) )\r\n // InternalDsl.g:7210:2: ( rule__Doozle__NameAssignment_2 )\r\n {\r\n before(grammarAccess.getDoozleAccess().getNameAssignment_2()); \r\n // InternalDsl.g:7211:2: ( rule__Doozle__NameAssignment_2 )\r\n // InternalDsl.g:7211:3: rule__Doozle__NameAssignment_2\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Doozle__NameAssignment_2();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n after(grammarAccess.getDoozleAccess().getNameAssignment_2()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b58149d54f89a16af8c3574fe9716b4f", "score": "0.5267936", "text": "public final void rule__TipoProcedimiento__NombreAssignment_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalVaryGrammarEnglish.g:18467:1: ( ( ruleEString ) )\n // InternalVaryGrammarEnglish.g:18468:1: ( ruleEString )\n {\n // InternalVaryGrammarEnglish.g:18468:1: ( ruleEString )\n // InternalVaryGrammarEnglish.g:18469:1: ruleEString\n {\n before(grammarAccess.getTipoProcedimientoAccess().getNombreEStringParserRuleCall_5_0()); \n pushFollow(FollowSets000.FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getTipoProcedimientoAccess().getNombreEStringParserRuleCall_5_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "182d554aa1dd53b74cb48549a4ad4d5a", "score": "0.5267916", "text": "public final void rule__Action__IdAssignment_0_0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRulesUNO.g:4148:1: ( ( ruleJoueur ) )\n // InternalRulesUNO.g:4149:2: ( ruleJoueur )\n {\n // InternalRulesUNO.g:4149:2: ( ruleJoueur )\n // InternalRulesUNO.g:4150:3: ruleJoueur\n {\n before(grammarAccess.getActionAccess().getIdJoueurParserRuleCall_0_0_0()); \n pushFollow(FOLLOW_2);\n ruleJoueur();\n\n state._fsp--;\n\n after(grammarAccess.getActionAccess().getIdJoueurParserRuleCall_0_0_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "118e2c77845948e861642dd022e6f892", "score": "0.5265222", "text": "public final void rule__Fetch__SourceAssignment_4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15146:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15147:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15147:2: ( RULE_STRING )\r\n // InternalDsl.g:15148:3: RULE_STRING\r\n {\r\n before(grammarAccess.getFetchAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getFetchAccess().getSourceSTRINGTerminalRuleCall_4_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a285cef64d055d96d73385462f7a10e0", "score": "0.5265207", "text": "public final void rule__TrelloPUT__KeyAssignment_6() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15041:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15042:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15042:2: ( RULE_STRING )\r\n // InternalDsl.g:15043:3: RULE_STRING\r\n {\r\n before(grammarAccess.getTrelloPUTAccess().getKeySTRINGTerminalRuleCall_6_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getTrelloPUTAccess().getKeySTRINGTerminalRuleCall_6_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9d1639c291e15441a3cbdbed1e294be9", "score": "0.5253032", "text": "public final void rule__Updatedaudit__NameAssignment_2() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:15281:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:15282:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:15282:2: ( RULE_STRING )\r\n // InternalDsl.g:15283:3: RULE_STRING\r\n {\r\n before(grammarAccess.getUpdatedauditAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getUpdatedauditAccess().getNameSTRINGTerminalRuleCall_2_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "a5af6ef33821ecb575afacc2c6b2fb55", "score": "0.5252312", "text": "public final void rule__Variable__NombreAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalVaryGrammarEnglish.g:19414:1: ( ( ruleEString ) )\n // InternalVaryGrammarEnglish.g:19415:1: ( ruleEString )\n {\n // InternalVaryGrammarEnglish.g:19415:1: ( ruleEString )\n // InternalVaryGrammarEnglish.g:19416:1: ruleEString\n {\n before(grammarAccess.getVariableAccess().getNombreEStringParserRuleCall_1_0()); \n pushFollow(FollowSets000.FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getVariableAccess().getNombreEStringParserRuleCall_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5111919c1b6da453e032a7cca029d6a8", "score": "0.52448076", "text": "public final void rule__Definition__Group_1__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalCalculator.g:876:1: ( ( ( rule__Definition__ExpressionAssignment_1_4 ) ) )\n // InternalCalculator.g:877:1: ( ( rule__Definition__ExpressionAssignment_1_4 ) )\n {\n // InternalCalculator.g:877:1: ( ( rule__Definition__ExpressionAssignment_1_4 ) )\n // InternalCalculator.g:878:2: ( rule__Definition__ExpressionAssignment_1_4 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDefinitionAccess().getExpressionAssignment_1_4()); \n }\n // InternalCalculator.g:879:2: ( rule__Definition__ExpressionAssignment_1_4 )\n // InternalCalculator.g:879:3: rule__Definition__ExpressionAssignment_1_4\n {\n pushFollow(FOLLOW_2);\n rule__Definition__ExpressionAssignment_1_4();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDefinitionAccess().getExpressionAssignment_1_4()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fd558ad924bc0d53263a28412f7aea35", "score": "0.52441746", "text": "public final void rule__Transition__SourceAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1139:1: ( ( ( ruleEString ) ) )\n // InternalMyDsl.g:1140:2: ( ( ruleEString ) )\n {\n // InternalMyDsl.g:1140:2: ( ( ruleEString ) )\n // InternalMyDsl.g:1141:3: ( ruleEString )\n {\n before(grammarAccess.getTransitionAccess().getSourceStateCrossReference_1_0()); \n // InternalMyDsl.g:1142:3: ( ruleEString )\n // InternalMyDsl.g:1143:4: ruleEString\n {\n before(grammarAccess.getTransitionAccess().getSourceStateEStringParserRuleCall_1_0_1()); \n pushFollow(FOLLOW_2);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getTransitionAccess().getSourceStateEStringParserRuleCall_1_0_1()); \n\n }\n\n after(grammarAccess.getTransitionAccess().getSourceStateCrossReference_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3aea8cc27ba6a17ac38447317624b1c7", "score": "0.52371454", "text": "public final void rule__XStringLiteral__ValueAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalBotDuino.g:23216:1: ( ( RULE_STRING ) )\n // InternalBotDuino.g:23217:1: ( RULE_STRING )\n {\n // InternalBotDuino.g:23217:1: ( RULE_STRING )\n // InternalBotDuino.g:23218:1: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "58902371616507ce4b3310efdb454502", "score": "0.5233608", "text": "public final void rule__DmxStringLiteral__ValueAssignment_1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:26872:1: ( ( RULE_STRING ) )\n // InternalSus.g:26873:2: ( RULE_STRING )\n {\n // InternalSus.g:26873:2: ( RULE_STRING )\n // InternalSus.g:26874:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getDmxStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getDmxStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "33a069564d433e529d76c9099369c355", "score": "0.5231244", "text": "public final void rule__ValueAssignment__ValueAssignment_2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../monoge.dsl.ui/src-gen/monoge/dsl/ui/contentassist/antlr/internal/InternalExtension.g:3505:1: ( ( ruleEString ) )\n // ../monoge.dsl.ui/src-gen/monoge/dsl/ui/contentassist/antlr/internal/InternalExtension.g:3506:1: ( ruleEString )\n {\n // ../monoge.dsl.ui/src-gen/monoge/dsl/ui/contentassist/antlr/internal/InternalExtension.g:3506:1: ( ruleEString )\n // ../monoge.dsl.ui/src-gen/monoge/dsl/ui/contentassist/antlr/internal/InternalExtension.g:3507:1: ruleEString\n {\n before(grammarAccess.getValueAssignmentAccess().getValueEStringParserRuleCall_2_0()); \n pushFollow(FOLLOW_ruleEString_in_rule__ValueAssignment__ValueAssignment_27063);\n ruleEString();\n\n state._fsp--;\n\n after(grammarAccess.getValueAssignmentAccess().getValueEStringParserRuleCall_2_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7da60f41364cb6e66fe8127ef386eefd", "score": "0.5210805", "text": "public final void rule__Uno__ReglesAssignment_5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalRulesUNO.g:3953:1: ( ( ruleRegles ) )\n // InternalRulesUNO.g:3954:2: ( ruleRegles )\n {\n // InternalRulesUNO.g:3954:2: ( ruleRegles )\n // InternalRulesUNO.g:3955:3: ruleRegles\n {\n before(grammarAccess.getUnoAccess().getReglesReglesParserRuleCall_5_0()); \n pushFollow(FOLLOW_2);\n ruleRegles();\n\n state._fsp--;\n\n after(grammarAccess.getUnoAccess().getReglesReglesParserRuleCall_5_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "abef22da6fa4b8fc4b136497f695d49f", "score": "0.52100974", "text": "public final void rule__PubChangeDescription__DescriptionAssignment_0_8() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalSus.g:23494:1: ( ( RULE_STRING ) )\n // InternalSus.g:23495:2: ( RULE_STRING )\n {\n // InternalSus.g:23495:2: ( RULE_STRING )\n // InternalSus.g:23496:3: RULE_STRING\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPubChangeDescriptionAccess().getDescriptionSTRINGTerminalRuleCall_0_8_0()); \n }\n match(input,RULE_STRING,FOLLOW_2); if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPubChangeDescriptionAccess().getDescriptionSTRINGTerminalRuleCall_0_8_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "00ff1d6263733861c2e74adde79dda41", "score": "0.52069676", "text": "public final void rule__Process__NameAssignment_1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalDsl.g:13136:1: ( ( RULE_STRING ) )\r\n // InternalDsl.g:13137:2: ( RULE_STRING )\r\n {\r\n // InternalDsl.g:13137:2: ( RULE_STRING )\r\n // InternalDsl.g:13138:3: RULE_STRING\r\n {\r\n before(grammarAccess.getProcessAccess().getNameSTRINGTerminalRuleCall_1_0()); \r\n match(input,RULE_STRING,FOLLOW_2); \r\n after(grammarAccess.getProcessAccess().getNameSTRINGTerminalRuleCall_1_0()); \r\n\r\n }\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" } ]
9dddf938737c8bdbde459e14761a1f7a
Called by the OSGi framework when the bundle is stopped.
[ { "docid": "75101315bfbf882f28e5085c2401a194", "score": "0.6583705", "text": "@Override\n public void stop(final BundleContext context) throws Exception\n {\n // close the configuration listener\n if (m_configurationListener != null) {\n m_configurationListener.close();\n }\n // close the log\n m_log.close();\n }", "title": "" } ]
[ { "docid": "5722d3c777506d4473346dea6519814e", "score": "0.8226353", "text": "@Override\n\tpublic void stop(BundleContext bundleContext) throws Exception {\n\t}", "title": "" }, { "docid": "5722d3c777506d4473346dea6519814e", "score": "0.8226353", "text": "@Override\n\tpublic void stop(BundleContext bundleContext) throws Exception {\n\t}", "title": "" }, { "docid": "4b72a8ac64ebeb031bf1a5f846e060f4", "score": "0.79873425", "text": "@Override\n\tpublic void stop(BundleContext context) throws Exception {\n\t}", "title": "" }, { "docid": "b6cc05cc08905c3a76071b368147256a", "score": "0.7606619", "text": "public void stop(BundleContext context)\r\n {\r\n\r\n }", "title": "" }, { "docid": "f15e615de7ef8a8bd3064f35d3474862", "score": "0.75977564", "text": "public void stop(final BundleContext bundleContext)\n {\n }", "title": "" }, { "docid": "83696eedb8acc04d5815c8d16fe1029c", "score": "0.7465882", "text": "public void stop(BundleContext context) throws Exception\n {\n }", "title": "" }, { "docid": "27fbaa6ce6e4963b2f6ba37cc71d0df4", "score": "0.7446738", "text": "public void stop(BundleContext context) throws Exception {\n\t}", "title": "" }, { "docid": "d0f3f31c239dad3dc9e12c40a98e17f6", "score": "0.7403902", "text": "public void stop(BundleContext context) {\n System.out.println(\"Good bye!\");\n }", "title": "" }, { "docid": "a658d010195b1302c8a0392077194c79", "score": "0.7394312", "text": "public void stop( BundleContext context ) throws BundleException {\n\t\n\t\tlog(LogService.LOG_INFO, \"Stopping\");\n\t\tif( obixService != null) obixService.stop();\n\t\tActivator.bc = null;\n\t\tbootTime = null;\n\t}", "title": "" }, { "docid": "a78205bd0ea1fd6b0ab2f63af9732974", "score": "0.7352779", "text": "public void stop( BundleContext context ) throws Exception {\r\n super.stop( context );\r\n plugin = null;\r\n }", "title": "" }, { "docid": "7e8be71f6f657856cf88ae8976082979", "score": "0.7337428", "text": "public void stop( BundleContext bc )\n throws Exception\n {\n ;\n }", "title": "" }, { "docid": "b732a0c8ee7834d472f89d84da12a712", "score": "0.7295955", "text": "public void stop(BundleContext context) throws Exception {\r\n\t\tsuper.stop(context);\r\n\t\tplugin = null;\r\n\t}", "title": "" }, { "docid": "b732a0c8ee7834d472f89d84da12a712", "score": "0.7295955", "text": "public void stop(BundleContext context) throws Exception {\r\n\t\tsuper.stop(context);\r\n\t\tplugin = null;\r\n\t}", "title": "" }, { "docid": "99c6d90b556c2f217e007223369a48bd", "score": "0.71941686", "text": "public void stop(BundleContext context) throws Exception {\n if (serviceReg != null) {\n serviceReg.unregister();\n serviceReg = null;\n }\n this.context = null;\n\t}", "title": "" }, { "docid": "315d507774ff5f26753ca71683429c96", "score": "0.7110369", "text": "protected void stopped() {\n }", "title": "" }, { "docid": "a5ee6064995cd5bebade4732e5acfe82", "score": "0.7039357", "text": "@Override\n public void stop(BundleContext context) throws Exception {\n Recorder.getInstance().stop();\n \n super.stop(context);\n \n plugin = null;\n }", "title": "" }, { "docid": "f26340aa0cb2b7084ed38b1e555c2056", "score": "0.6979246", "text": "@Override\n public void onStop() {\n EventBus.getDefault().unregister(this);\n\n super.onStop();\n }", "title": "" }, { "docid": "57833bf9b735df9d3933b1e25f109120", "score": "0.69647056", "text": "@Override\n public void shutDown() {\n }", "title": "" }, { "docid": "44e0352a97ec285fe1553e78522b99f0", "score": "0.69538677", "text": "public void stop(BundleContext context) throws Exception {\n if (logServiceTracker != null) {\n logServiceTracker.close();\n logServiceTracker = null;\n }\n this.bundleContext = null;\n plugin = null;\n }", "title": "" }, { "docid": "2580ee26ac78bd3e9003e676a9c50794", "score": "0.6932149", "text": "@Override\n\tprotected void onStop() {\n\n\t\tint ret = mfs100api.MFS100Uninit(gbldevice);\n\t\tif (ret != 0) {\n\t\t\tmfs100api.CheckError(ret);\n\t\t\tSetTextonuiThread(mfs100api.ErrorString);\n\t\t} else {\n\t\t\tSetTextonuiThread(\"Uninit Success\");\n\t\t\tgbldevice = 0;\n\n\t\t}\n\n\t\tsuper.onStop();\n\t}", "title": "" }, { "docid": "ca29403f37111e774c668e6864569887", "score": "0.69261265", "text": "@Override\n protected void onStop() {\n EventBus.getDefault().unregister(this);\n super.onStop();\n }", "title": "" }, { "docid": "4cf228c46a06180ac17c179bc7f52972", "score": "0.68393004", "text": "public void onStop() {\n this.mApp.unregisterHandler(this.mHandler);\n super.onStop();\n }", "title": "" }, { "docid": "21b9708a3f78cfa7d067f0c4f33951c7", "score": "0.68332785", "text": "public void stop(BundleContext bc) {\n\t\tbc.ungetService(masterRef);\n\t\tdriverRegistration.unregister();\n\t}", "title": "" }, { "docid": "ca2c6ea0ef426ff90559d4e37368c069", "score": "0.68260586", "text": "@Override\n public void applicationStopped() {\n }", "title": "" }, { "docid": "cc06f3dca592c361f9973f110401d5d9", "score": "0.6814594", "text": "public void stop(BundleContext bc)\n throws Exception\n {\n configService = null;\n resourcesService = null;\n credService = null;\n certificateDialogService = null;\n }", "title": "" }, { "docid": "5910b11fac2484472132619d048b6823", "score": "0.68036735", "text": "public void shutDown() {\n //TODO: Add persistent saving.\n System.exit(0);\n }", "title": "" }, { "docid": "df0ecbc989efd2840cf14d0b3e679cc5", "score": "0.6799472", "text": "@Override\n\tpublic void stop() throws Exception {\n\t\tPlatform.exit();\n\t}", "title": "" }, { "docid": "537fcffe0473bd7fe07219814d7ee165", "score": "0.6786137", "text": "private void unregister(BundleContext bundleContext) throws Exception {\n\n\t\tif (_saReg != null) {\n\t\t\t_saReg.unregister();\n\t\t\t_saReg = null;\n\t\t}\n\n\t\tif (_ilsReg != null) {\n\t\t\t_ilsReg.unregister();\n\t\t\t_ilsReg = null;\n\t\t}\n\n\t\tif (_servletActivator != null) {\n\t\t\t_servletActivator.stop(bundleContext);\n\t\t\t_servletActivator = null;\n\n\t\t}\n\t\tif (_llsActivator != null) {\n\t\t\t_llsActivator.stop(bundleContext);\n\t\t\t_llsActivator = null;\n\n\t\t}\n\t\tif (_rlsActivator != null) {\n\t\t\t_rlsActivator.stop(bundleContext);\n\t\t\t_rlsActivator = null;\n\n\t\t}\n\t\t_authControl = null;\n\t}", "title": "" }, { "docid": "133021e1329ca3923fcab339fb2546ad", "score": "0.67849183", "text": "public void shutdown() throws Exception {\n\t\tServiceReference[] references = bundleContext.getServiceReferences(\n\t\t ApplicationHandle.class.getName(),\n\t\t \"(&(application.state=RUNNING)(application.descriptor=\"\n\t\t + getApplicationId() + \"))\");\n\n\t\tif (references != null) {\n\t\t\tfor (ServiceReference reference : references) {\n\t\t\t\tApplicationHandle handle = (ApplicationHandle) bundleContext\n\t\t\t\t .getService(reference);\n\t\t\t\tif (handle != null) {\n\t\t\t\t\tSystem.out.println(\"Stoppe Instanz \" + handle.getInstanceId());\n\t\t\t\t\thandle.destroy();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "9e36293e3fe4df98414b5777499903da", "score": "0.6755026", "text": "public void stop()\n {\n m_container.destroyContextHandler( m_handler );\n }", "title": "" }, { "docid": "896296842e471c13a1f7c50b4592fcd3", "score": "0.67508173", "text": "@Override\n public void unregister() {\n this.bundle.getServiceRegistry().unregisterService(this);\n }", "title": "" }, { "docid": "7ee08885a9a3764df33b8f82c40bf398", "score": "0.6744215", "text": "@Override\r\n\tprotected void stopService() {\n\t}", "title": "" }, { "docid": "dcb1a7937014a28f54d1453e123ae6f9", "score": "0.67281765", "text": "private void terminated() {\r\n\t\tfTerminated = true;\r\n\t\tfSuspended = false;\r\n\t\tDebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this);\r\n\t\tfireTerminateEvent();\r\n\t}", "title": "" }, { "docid": "820063235f1261524af02035f1bde9de", "score": "0.6724905", "text": "public void stop(BundleContext bundleContext) throws Exception {\n\t\tunregister(bundleContext);\n\t\tif (_saActivator != null) {\n _saActivator.stop(bundleContext);\n _saActivator = null;\n\n }\n\t\tLoginStartup.stop(bundleContext);\n\t}", "title": "" }, { "docid": "446d927d8090f1ff4074b5ebc5e58446", "score": "0.6696202", "text": "@Override\npublic void unload() {\n if (loggingService != null) {\n getServiceBroker().releaseService(this, LoggingService.class, loggingService);\n logger = null;\n loggingService = null;\n }\n super.unload();\n }", "title": "" }, { "docid": "56f9c49c515bd65ccbb47109b8d0dca2", "score": "0.66866803", "text": "public void stop() {\n System.exit(0);\n }", "title": "" }, { "docid": "5ad8cb5a5db05e76fb53694abe169eb7", "score": "0.6677314", "text": "public void shutDown()\n\t{\n\t\tisShutDown = true;\n\t}", "title": "" }, { "docid": "efa4092a0aa372a0fbcea00ba84299ac", "score": "0.6677074", "text": "@Override\n public void onTerminate() {\n Singleton.destroyInstance();\n super.onTerminate();\n }", "title": "" }, { "docid": "1d5647a65cf61c94676c2715a4658d2f", "score": "0.6664003", "text": "@Override\n\tpublic void destroy(BundleContext context, DependencyManager dm)\n\t\t\tthrows Exception {\n\t\t\n\t}", "title": "" }, { "docid": "7b3d5446b4be9b4b852eb58b030975d7", "score": "0.6650035", "text": "@Override\n\tpublic void onApplicationEvent(ContextStoppedEvent arg0) {\n\t\tSystem.out.println(\"Inside stop event handler...\");\n\t}", "title": "" }, { "docid": "f95690d7129be39d93d42d9bf32fb8c8", "score": "0.6649316", "text": "@Override\n protected void shutdownService() {\n }", "title": "" }, { "docid": "7a48f827dd0ae3c1c1f62ebbba110b48", "score": "0.66345716", "text": "@Override\n\tpublic void onTerminate() {\n\t\tsuper.onTerminate();\n\t}", "title": "" }, { "docid": "f33f5bf06ba442d3b71374af28ab2f53", "score": "0.663115", "text": "@Override\n\tpublic void stopService() {\n\n\t}", "title": "" }, { "docid": "44c7e2270d2431a355623b63abcf1b77", "score": "0.6625464", "text": "@PreDestroy\n public void stop() {\n }", "title": "" }, { "docid": "641951cb6532cb791ba94218c88d76ae", "score": "0.66159534", "text": "@Override\n public void onDestroy() {\n BusProvider.getInstance().post(new KillServiceEvent());\n super.onDestroy();\n }", "title": "" }, { "docid": "9b9a9aac3062144770c81f0226f659bf", "score": "0.66125226", "text": "public void stopStuff()\n\t{\n\t\tmMoteSensorManager.unregisterListener(this);\n\t\tmMoteSensorManager = null;\n\t\t\n\t\t// destroy the bluetooth connection\n\t\tmBluetoothStateManager.unregisterListener(this);\n\t\tmBluetoothStateManager.stopDown();\n\t\tmBluetoothStateManager = null;\n\t\t\n\t\tstart = false;\n\t\t\n\t\t/*// ema stop\n\t\tstopService(emaScheduler);*/\n\t}", "title": "" }, { "docid": "de04120e7aaad6adef8d22e6f508902e", "score": "0.661217", "text": "public void stop(BundleContext bc) \r\n {\r\n // remove chat communication servce from service registry \r\n// endptsvc.removeListener(\"jxmechat\");\r\n }", "title": "" }, { "docid": "26b9276db9f98ec3bf032f06ce9c660b", "score": "0.66113544", "text": "@Override\r\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\t\t\r\n\t\tstopService(new Intent(this, BleService.class));\r\n\t}", "title": "" }, { "docid": "a652f9c75768c130e49b93c10e5b7f49", "score": "0.65923804", "text": "protected void onTerminate() {\n\tunregisterFromPeers();\n }", "title": "" }, { "docid": "19a635f40f80c6cec2c1424a9e5730ed", "score": "0.65844303", "text": "public void applicationStop();", "title": "" }, { "docid": "d84a6a84cd4382cca0a36a985fe01008", "score": "0.6576451", "text": "@Override\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\n\t\tJBLApplication.getInstance().quit();\n\t}", "title": "" }, { "docid": "64cb1db2b3fbd2cd7019ce4efb1915d6", "score": "0.6570352", "text": "@Override\r\n\tpublic void onDestroy() {\n\t\tsuper.onDestroy();\r\n\t\tstopService();\r\n\t}", "title": "" }, { "docid": "d76bd0e92364449c496ca1cafade6c49", "score": "0.65671575", "text": "@Override\n public void onDestroy() {\n getApplicationContext().getContentResolver().unregisterContentObserver(mVolumeChangeListener);\n //writeToLog(\"Main Service Killed\", getApplicationContext());\n super.onDestroy();\n }", "title": "" }, { "docid": "39bdb489b09d4f3964baac393eef248a", "score": "0.65620166", "text": "@Override\n public void onDestroy() {\n super.onDestroy();\n System.exit(0); // Ensures app completely shuts down on exit\n }", "title": "" }, { "docid": "65f34f9b9f60dcd4af65f49e044bd53f", "score": "0.6561086", "text": "@Override\n\tpublic void onStop() {\n\t\tsuper.onStop();\n//\t\tEventBus.getDefault().unregister(this);\n\t}", "title": "" }, { "docid": "b9e93757ebb3aba812504690caed7e49", "score": "0.65553546", "text": "@Override\n public void onStop(boolean terminated) {\n\n }", "title": "" }, { "docid": "8cabe1287781833184cb709eeb8869c1", "score": "0.65502506", "text": "public void stopped() {\n client.shutDown();\n System.out.println(\"WORLD HAS BEEN CLOSED\");\n super.stopped();\n }", "title": "" }, { "docid": "81b3511fee84c92a03a2f685d4498d7e", "score": "0.65263546", "text": "@Override\n\tpublic void onShutdown()\n\t{\n\n\t}", "title": "" }, { "docid": "8eac925b3cd0268b57e0e53548cae651", "score": "0.65245074", "text": "void shutdown() {\n // remove the shutdown hook, will fail if called from the\n // shutdown hook itself. Otherwise this prevents shutdown\n // from being called again\n try {\n Runtime.getRuntime().removeShutdownHook(this);\n } catch (Throwable t) {\n // don't care for problems removing the hook\n }\n\n stopSling();\n }", "title": "" }, { "docid": "e4a9801425929519fc5e57708ac2ecad", "score": "0.65228134", "text": "@Override\n\tpublic void onStop() {\n\t\tmHandler.removeMessages(HANDLER_EVENT_RX);\n\t\tsuper.onStop();\n\t}", "title": "" }, { "docid": "b05773cd76b5cd5bfd4fef129b24a7c4", "score": "0.65055585", "text": "@Override\r\n\tpublic void stop()\r\n\t{\r\n\t}", "title": "" }, { "docid": "d7ade1f93de6806607891571e42f75c4", "score": "0.6497522", "text": "public void stop()\r\n\t{\r\n\t\t_.envProbe.stopWaiting();\r\n\t\t_.stopped = true;\r\n\t}", "title": "" }, { "docid": "d6cc570e78a8a8b5d0596bd837651b40", "score": "0.6489337", "text": "@Override\r\n public void stop() {\r\n }", "title": "" }, { "docid": "0dfbf7803d744bf5e31cb9ad8e94e208", "score": "0.6483325", "text": "public void stop(BundleContext context) throws Exception {\n\t\tSystem.err.println(\"Shutting down Connectivity Service...\");\n\t\ttcpConnectorService.unregister();\n\t\tudpConnectorService.unregister();\n\t\t//LOGGER.info(\"Notification Service Is Terminated !!\");\n\t\tSystem.err.println(\"Connectivity Service Is Terminated !!\");\n\t\n\t}", "title": "" }, { "docid": "696447a15086e5265847ed2bcb19f092", "score": "0.6472489", "text": "void stopped();", "title": "" }, { "docid": "fbf76962f4327d359cd24e8a7662628d", "score": "0.6470652", "text": "@Override\n\tprotected void onDestroy() {\n\t\tsuper.onDestroy();\n\t\t\n\t\tstop();\n\t}", "title": "" }, { "docid": "33e8a07dedb7d5a0dc63e777f9774978", "score": "0.6470264", "text": "@Override\n\tpublic void onStop()\n\t{\n\t\tsuper.onStop();\n\t}", "title": "" }, { "docid": "d706dde1248aab706a64fc6501776070", "score": "0.6460651", "text": "public void stop() {\n InterfaceToMETA.stop();\n }", "title": "" }, { "docid": "b0e6d071d9654d7c0e613f870627263c", "score": "0.64529127", "text": "@Override\r\n\tpublic void stop() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0e6d071d9654d7c0e613f870627263c", "score": "0.64529127", "text": "@Override\r\n\tpublic void stop() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b0e6d071d9654d7c0e613f870627263c", "score": "0.64529127", "text": "@Override\r\n\tpublic void stop() {\n\t\t\r\n\t}", "title": "" }, { "docid": "72c89210eed62291cf39515e323c2159", "score": "0.64500874", "text": "@Override\n\tpublic void stop() {\n\t}", "title": "" }, { "docid": "72c89210eed62291cf39515e323c2159", "score": "0.64500874", "text": "@Override\n\tpublic void stop() {\n\t}", "title": "" }, { "docid": "72c89210eed62291cf39515e323c2159", "score": "0.64500874", "text": "@Override\n\tpublic void stop() {\n\t}", "title": "" }, { "docid": "4fbe78403083b913d3295a9f3de650e0", "score": "0.6448286", "text": "public void shutdownStarted()\r\n {\n stop();\r\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "1a773f00e0fb8a8bd0f3dead0441e502", "score": "0.6447139", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "9c52ea53897dfba345845d7fbb062397", "score": "0.6443941", "text": "@Override\n\tpublic void onDestroy() {\n\t\tstop();\n\t\tsuper.onDestroy();\n\t}", "title": "" }, { "docid": "fddf97699ced96dcf39477971fe4e77f", "score": "0.6442244", "text": "@Override\n public void stop() {\n }", "title": "" }, { "docid": "b2f58e44c9ea91ac8e7001c4368e62e7", "score": "0.6441644", "text": "public void onSpiContextDestroyed();", "title": "" }, { "docid": "21abdf21a7e3a1dbe20ec6ad28dc835a", "score": "0.6436411", "text": "public void stop() {\n\t\tMessage.obtain( localHandler, _IS_EXIT).sendToTarget();\n\t\tqf.unsubscribe( this);\n\t}", "title": "" }, { "docid": "8383e9ffbb7a011faa734daa9b7ee156", "score": "0.64306825", "text": "@Override\n public void onDestroy() {\n super.onDestroy();\n stopService();\n }", "title": "" }, { "docid": "b17dec4df997dd7050b3779915e15271", "score": "0.64306134", "text": "public void stop() throws LifeCycleException;", "title": "" }, { "docid": "b5722212c877c0b4d55b72715af5bd62", "score": "0.6427403", "text": "@Override\n public void aborted() {\n if (UIMAFramework.getLogger().isLoggable(Level.FINEST)) {\n UIMAFramework.getLogger(this.getClass()).logrb(Level.FINEST, this.getClass().getName(),\n \"process\", CPMUtils.CPM_LOG_RESOURCE_BUNDLE, \"UIMA_CPM_stopped__FINEST\",\n new Object[] { Thread.currentThread().getName() });\n }\n }", "title": "" }, { "docid": "f88b4ac42db367c88b47f67be026d251", "score": "0.64268285", "text": "@Override\n\tprotected void onStop()\n\t{\n\t\tsuper.onStop();\n\t}", "title": "" }, { "docid": "6fcd8fdd8863675144f546849b64af0d", "score": "0.6421959", "text": "@Override\r\n\tpublic void onStop() throws JFException {\n\t\t\r\n\t}", "title": "" }, { "docid": "600376c14b2a0a0e87399da560a3be65", "score": "0.64188045", "text": "@Override\n public void stop() {\n this.injector.getInstance(ScenarioScope.class).exitScope();\n this.injector.getInstance(DecisionService.class).cleanUp();\n this.injector.getInstance(UserService.class).cleanUp();\n this.injector.getInstance(Storage.class).cleanUp();\n }", "title": "" }, { "docid": "88d2cd75c655240d80065bf063a89ef5", "score": "0.6418527", "text": "@Override\r\n public void stop() {\n \r\n }", "title": "" }, { "docid": "acec68ff8eff2f35209e4391abd7ad65", "score": "0.64174443", "text": "@Override\n\tpublic void onStop() {\n\n\t\tsuper.onStop();\n\t}", "title": "" }, { "docid": "5d414826754faab7f97cb152723d88c3", "score": "0.64162433", "text": "@Override\r\n\tpublic void onStop() {\n\t\tsuper.onStop();\r\n\t}", "title": "" } ]
e1441939b29a9b1d666aba70867e8910
This method returns all news entries for a given keyword.
[ { "docid": "e2eb4ff7bbed4cf6e227bfbce54bbe2e", "score": "0.7687893", "text": "public synchronized static List<NewsPojo> readByKeyword(String keyword) {\r\n\t\tList<NewsPojo> entries = new LinkedList<NewsPojo>();\r\n\t\tfor(NewsPojo pojo : new LinkedList<NewsPojo>(database.values())) {\r\n\t\t\tfor(String s : pojo.getKeywords()) {\r\n\t\t\t\tif(s.toLowerCase().contains(keyword.toLowerCase())) {\r\n\t\t\t\t\tentries.add(pojo);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entries;\r\n\t}", "title": "" } ]
[ { "docid": "95be66a2ac52238cfb58825bf975771f", "score": "0.70873046", "text": "public List<Article> retrieveArticlesOfGivenkeyword(String keyword);", "title": "" }, { "docid": "7902c38045e6bd03d5230446e94fdda0", "score": "0.65824836", "text": "public Map<String, Object> listByKeyword(String keyword) {\n\t\tSystem.out.println(\"******* ArticleRepository - listByKeyword() *******\");\n\t\tMap<String, Object> response = new LinkedHashMap<String, Object>();\n\t\tArrayList<Article> list = new ArrayList<Article>();\n\t\tIterator<Article> itr = getArticles().iterator();\n\n\t\twhile (itr.hasNext()) {\n\t\t\tArticle article = (Article) itr.next();\n\t\t\tString s = article.getKeyword().toLowerCase();\n\t\t\tint index = s.indexOf(keyword);\n\t\t\tif (index == -1) {\n\t\t\t\tresponse.put(\"message\", \"There is no article in the given keyword\");\n\t\t\t} else {\n\t\t\t\tlist.add(article);\n\n\t\t\t}\n\t\t}\n\n\t\tif (!list.isEmpty())\n\t\t\tresponse.put(\"Article\", list);\n\n\t\treturn response;\n\t}", "title": "" }, { "docid": "9070f225e5abe9d752d5d088ef288377", "score": "0.6200954", "text": "public Timeline search(String keyword){\n\n\t\tTimeline searchList = new Timeline();\n\n\t\tfor(int i = 0; i<list.size(); i++){\n\t\t\tif(list.get(i).getMessage().contains(keyword)) {\n\t\t\t\tsearchList.add(list.get(i));\n\t\t\t}\n\n\t\t}\n\t\treturn searchList;\n\n\t}", "title": "" }, { "docid": "e07caf4fb752e1a2e07dca9a3c370f3c", "score": "0.6173029", "text": "public List<Content> getContentsFromKeyword(String keyword)\n throws RemoteException;", "title": "" }, { "docid": "8e8b642d007aaddd86f889575fed72c3", "score": "0.6084963", "text": "@Override\n\tpublic List<News> findAll() {\n\t\treturn newsMapper.findAll();\n\t}", "title": "" }, { "docid": "379085f0064c8a4db4370ed14256e267", "score": "0.60747993", "text": "@Override\n public ArrayList<News> search(String word) throws SQLException {\n ArrayList<News> listNews = new ArrayList<News>();\n Connection connection = null;\n Statement stmt = null;\n ResultSet rsNews = null;\n try {\n connection = DBConnectionPool.getConnection();\n String query = \"select * from \" + DBNames.TABLE_NEWS + \" WHERE \"\n + DBNames.ATT_NEWS_DESCRIPTION + \" like '%\" + word + \"%'\"\n + \" or \" + DBNames.ATT_NEWS_DATE + \" like '%\" + word + \"%'\"\n + \" or \" + DBNames.ATT_NEWS_TITLE + \" like '%\" + word + \"%'\"\n + \" or \" + DBNames.ATT_NEWS_TYPE + \" like '%\" + word + \"%'\"\n + \" or \" + DBNames.ATT_NEWS_TIME + \" like '%\" + word + \"%'\"\n + \" or \" + DBNames.ATT_NEWS_ATTACHED + \" like '%\" + word + \"%'\";\n stmt = connection.createStatement();\n rsNews = stmt.executeQuery(query);\n while (rsNews.next()) {\n int id = rsNews.getInt(DBNames.ATT_NEWS_ID);\n String title = rsNews.getString(DBNames.ATT_NEWS_TITLE);\n String description = rsNews.getString(DBNames.ATT_NEWS_DESCRIPTION);\n String type = rsNews.getString(DBNames.ATT_NEWS_TYPE);\n Date date = rsNews.getDate(DBNames.ATT_NEWS_DATE);\n GregorianCalendar data = new GregorianCalendar();\n data.setTime(date);\n Time time = rsNews.getTime(DBNames.ATT_NEWS_TIME);\n //Date ora=new Date(time.getTime());\n String attached = rsNews.getString(DBNames.ATT_NEWS_ATTACHED);\n int idDelegate = rsNews.getInt(DBNames.ATT_NEWS_DELEGATEACCOUNT);\n News news = new News();\n news.setId(id);\n news.setTitle(title);\n news.setDescription(description);\n news.setType(type);\n news.setDate(data);\n news.setTime(time);\n news.setAttached(attached);\n news.setDelegate(idDelegate);\n listNews.add(news);\n }\n } finally {\n stmt.close();\n DBConnectionPool.releaseConnection(connection);\n }\n return listNews;\n }", "title": "" }, { "docid": "4792357d04a833c2c9a1647f0e1465f1", "score": "0.5948706", "text": "public List<NEWS> findNews(String content) throws Exception {\n\t\tList<NEWS> listnewsallList = new ArrayList<NEWS>();\n\t\tSystem.out.println(\"into2\");\n\t\tList<MyNews> listnews = (List<MyNews>) sessionFactory\n\t\t\t\t.getCurrentSession().createQuery(\" from MyNews \").list();\n\t\tfor (Iterator iterator = listnews.iterator(); iterator.hasNext();) {\n\t\t\tMyNews news = (MyNews) iterator.next();\n\t\t\tNEWS news2 = new NEWS(news.getTitle(), news.getDescription(),\n\t\t\t\t\tnews.getPicUrl(), news.getUrl());\n\t\t\tlistnewsallList.add(news2);\n\t\t}\n\t\tSystem.out.println(listnews);\n\t\tSystem.out.println(listnewsallList);\n\t\treturn listnewsallList;\n\t}", "title": "" }, { "docid": "5b445312d343463ada9fc566b3252d4d", "score": "0.5880703", "text": "public Collection findAll(String keyword, String worksite);", "title": "" }, { "docid": "f51fe570a22c5ea61cc3cc068fe2f752", "score": "0.578336", "text": "public List<News> getAllNewsByTag(String tag) {\n List<News> newsList = new ArrayList<News>();\n \t \n // Select All Query\n String selectQuery = \"SELECT * \" +\n \t\t\"FROM \" + NewsBase.TABLE_NAME + \" \" +\n \t\t\"WHERE \" + NewsBase.COLUMN_NAME_TAGS +\" = '%\"+ tag + \"%'\" +\n \"ORDER BY \"+ NewsBase.COLUMN_NAME_PRIORITY +\" DESC, \"+ NewsBase.COLUMN_NAME_CREATEDDATE +\" DESC\";\n \n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n \n //Looping through all rows and adding to list\n if (cursor.moveToFirst()) {\n do {\n \t //Create new News with values\n News news = createNewsWithCursor(cursor);\n\n //Adding news to list\n if (news != null)\n newsList.add(news);\n } while (cursor.moveToNext());\n }\n cursor.close();\n db.close();\n \n // return news list\n return newsList;\n }", "title": "" }, { "docid": "7a45dc7c6deb893011c27107bbdc959b", "score": "0.57232803", "text": "@Override\n\tpublic List<Goods> searchByKeyword(String keyword) {\n\t\treturn goodsDao.searchGoodsByKeyword(keyword);\n\t}", "title": "" }, { "docid": "3f16d7a93b4ed7f219ca53c6807b5cad", "score": "0.5692261", "text": "public List<NEWS> getAllNews(String content) throws Exception {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2c61c8f66267b0238bef6bb4794350c2", "score": "0.56862444", "text": "public synchronized static List<NewsPojo> read() {\r\n\t\treturn new LinkedList<NewsPojo>(database.values());\r\n\t}", "title": "" }, { "docid": "d1e14fd64bec9dabec90b1d8970e638e", "score": "0.5663863", "text": "ArrayList<News> findNewsByTitle(Request request) throws ServiceException;", "title": "" }, { "docid": "6be3b7a7be529f14c044112e12a2d18c", "score": "0.563947", "text": "@Override\n\tpublic List<BuildNews> getNewsList(BuildNews buildNews) {\n\t\treturn buildNewsDao.query(buildNews, null);\n\t}", "title": "" }, { "docid": "f8062bab9d77671fe422a4eb094e75c9", "score": "0.5631537", "text": "List<News> findFreshNews(String count) throws ServiceException;", "title": "" }, { "docid": "943d798be4dd9db781bf587f92af35b2", "score": "0.5606371", "text": "@Override\n public List<NewsModel> findAll(Pageble page) {\n StringBuilder sqlQuery = new StringBuilder(\"select * from news\");\n if (page.getSort() != null) {\n sqlQuery.append(\" order by \").append(page.getSort().getSortName()).append(\" \").append(page.getSort().getSortBy()).append(\"\");\n }\n if (page.getOffset() != null && page.getLimit() != null) {\n sqlQuery.append(\" limit \").append(page.getOffset()).append(\",\").append(page.getLimit());\n }\n //open connection\n return this.query(sqlQuery.toString(), new NewMapper());\n }", "title": "" }, { "docid": "4c25ec3bf338f06d92596b391ab66c54", "score": "0.5584204", "text": "public List<SyndEntry> getSearchFeeds() throws IOException, FeedException, FetcherException {\n SyndFeed feed = this.getFeedFromSearch(searchParams);\n if(feed == null || feed.getEntries() == null) {\n return Collections.emptyList();\n } else {\n return (List<SyndEntry>) feed.getEntries();\n }\n }", "title": "" }, { "docid": "fe6fed558d04ea02fee6e2a0f318ad40", "score": "0.55836546", "text": "@Override\n\tpublic List<ImageKeyword> getFeedKeywordList(int feedId) throws Exception {\n\t\treturn keywordDao.getFeedKeywordList(feedId);\n\t}", "title": "" }, { "docid": "75b9646a02ad425fa950b17001f29157", "score": "0.5497277", "text": "List<Article> getArticles( String newsSourceId );", "title": "" }, { "docid": "d417f38bfb4f2eb902ab278d200c5282", "score": "0.54907954", "text": "List<Article> getArticles( String newsSourceId, Date date );", "title": "" }, { "docid": "1574ebaac4a04c925b623a0a561117b7", "score": "0.5447629", "text": "public Page<Article> getAllByKeyword(final Pageable pageable,\n final String keyword) {\n return articleSearchService.searchByKeyword(pageable, keyword);\n }", "title": "" }, { "docid": "6739d14ed2a381603870c4b3ad0e0240", "score": "0.5444707", "text": "@Override\n\tpublic List<Document> getDocumentByKeyword(String keyword) {\n\t\treturn documentDao.selectByKeyword(keyword);\n\t}", "title": "" }, { "docid": "b24117b0286324d0440c0fe56b28d5cb", "score": "0.5428695", "text": "List<Article> search(String title);", "title": "" }, { "docid": "25278fbbd3cf78343e90b35e41e5fa1d", "score": "0.54264337", "text": "ArrayList<News> findNewsByDate(Request request) throws ServiceException;", "title": "" }, { "docid": "c0ab00c1990cd41324c099be31a9bd14", "score": "0.5411073", "text": "@Override\r\n public List<NewsVO> getLatestPosts() {\n// \r\n// n = new NewsVO();\r\n// n.setTitle(\"Title of news 2\");\r\n// n.setDesc(\"Desc DescDescDescDescDescDescDescDescDescDescDescDescDesc of news 1\");\r\n// n.setUpCount(20);\r\n// n.setDownCount(2);\r\n// n.setId(2);\r\n// n.setShowEdit(true);\r\n// n.setScore(5);\r\n// n.setUserName(\"rajat\");\r\n// n.setDomain(\"www.indianwall.com\");\r\n// n.setWhen(new Date());\r\n// nlist.add(n);\r\n DBHelper dbhelper = new HSqlHelper();\r\n List<NewsVO> nlist = dbhelper.selectLatestPosts();\r\n return nlist;\r\n }", "title": "" }, { "docid": "f6ad96d0d94a7c42db6a4be964a49785", "score": "0.5404929", "text": "public ArrayList<MealNotification> fetchEntries() {\n SQLiteDatabase mDatabase = this.getWritableDatabase();\n ArrayList<MealNotification> histories = new ArrayList<MealNotification>();\n\n Cursor cursor = mDatabase.query(NotificationDbHelpher.TABLE_NAME_ENTRIES,\n allColumns, null, null, null, null, null);\n\n cursor.moveToFirst();\n\n while (!cursor.isAfterLast()) {\n MealNotification history = cursorToNotification(cursor);\n histories.add(history);\n cursor.moveToNext();\n }\n\n //close cursor\n cursor.close();\n mDatabase.close();\n return histories;\n }", "title": "" }, { "docid": "3a48f895bfbe3fdac4b2ce2aa380a033", "score": "0.5393537", "text": "public List<Magazine> listAll(String keywordMag) {\n if (keywordMag != null) {\n return repo.findByTitle(keywordMag);\n }\n return repo.findAll();\n }", "title": "" }, { "docid": "d984db11d0e86c287a095eae1f424357", "score": "0.5383632", "text": "public static Collection<YahooNews> getRss(String name) {\n Collection<YahooNews> ylist = new ArrayList<>();\n try {\n URL url = new URL(\"http://finance.yahoo.com/rss/headline?s=\" + name + \"\");\n HttpURLConnection httpcon = (HttpURLConnection) url.openConnection();\n SyndFeedInput input = new SyndFeedInput();\n SyndFeed feed = input.build(new XmlReader(httpcon));\n List entries = feed.getEntries();\n Iterator itEntries = entries.iterator();\n\n while (itEntries.hasNext()) {\n YahooNews y = new YahooNews();\n SyndEntry entry = (SyndEntry) itEntries.next();\n y.setTitle(\"<a href =\" + entry.getLink() + \"><b>\" + entry.getTitle() + \"</b></a><br>\");\n y.setLink(\"<a href =\" + entry.getLink() + \"></a><br>\");\n y.setAuthor(entry.getAuthor() + \"<br>\");\n y.setPublishDate(entry.getPublishedDate().toLocaleString() + \"<br>\");\n y.setDescription(entry.getDescription().getValue() + \"<br>\");\n ylist.add(y);\n }\n if (ylist.isEmpty()) {\n ylist.add(new YahooNews());\n }\n return ylist;\n\n } catch (Exception e) {\n System.err.println(\"Problem in get rss.\\n\" + e);\n\n }\n return null;\n }", "title": "" }, { "docid": "e71e1b6ef45bf402ed58655d8dd80d88", "score": "0.537834", "text": "private ArrayList<JournalEntry> getAllEntriesToList(){\n ArrayList<JournalEntry> entries1 = new ArrayList<JournalEntry>();\n DatabaseHelper myDb = new DatabaseHelper(getApplicationContext());\n Cursor res = myDb.getEntryData();\n if(res.getCount() == 0){\n\n }else{\n while (res.moveToNext()){\n JournalEntry entry = new JournalEntry();\n entry.setDate(res.getString(1));\n entry.setTitle(res.getString(2));\n entry.setDescription(res.getString(3));\n entry.setMood(res.getString(4));\n entry.setPace(res.getString(5));\n entry.setType(res.getString(6));\n entries1.add(entry);\n }\n }\n return entries1;\n }", "title": "" }, { "docid": "aebf6fc3a2cc96e22b95b37f4c7066fe", "score": "0.53588086", "text": "private List<Entry> buildArticleFeed(ArticleFeedCacheKey cacheKey, String xmlBase, Document result) {\n // Add each Article as a Feed Entry\n List<Entry> entries = new ArrayList<Entry>();\n\n // default is 2pm local time\n int publishTime = CONF.getInt(\"ambra.services.feed.publishTime\", 14);\n\n NodeList nodes = result.getElementsByTagName(\"result\");\n NodeList docs = null;\n // there should be only one \n if (nodes.getLength() == 1) {\n Node node = nodes.item(0);\n docs = node.getChildNodes();\n }\n\n // looping through children of result element\n for (int i = 0; i < docs.getLength(); i++) {\n // doc element\n Node doc = docs.item(i);\n\n Entry entry = new Entry();\n\n String volume = null;\n String issue = null;\n String articleType = null;\n String abstractText = null;\n String copyright = null;\n NodeList authorsForContent = null;\n Node subjectHierarchyNode = null;\n\n // children elements of doc element\n NodeList fields = doc.getChildNodes();\n\n for (int j = 0; j < fields.getLength(); j++) {\n Node field = fields.item(j);\n NamedNodeMap nnm = field.getAttributes();\n Node attrNameNode = nnm.getNamedItem(\"name\");\n String attrName = attrNameNode.getNodeValue();\n\n if (attrName.equals(\"id\")) {\n\n // id\n entry.setId(\"info:doi/\" + field.getTextContent());\n\n } else if (attrName.equals(\"copyright\")) {\n\n // rights\n copyright = field.getTextContent();\n\n } else if (attrName.equals(\"publication_date\")) {\n\n // published and updated dates\n\n // the only values we care about are the month, day and year\n String date = field.getTextContent();\n int year = Integer.valueOf(date.substring(0, 4));\n int month = Integer.valueOf(date.substring(5, 7));\n int day = Integer.valueOf(date.substring(8, 10));\n\n // we want the local time zone\n Calendar cal = Calendar.getInstance();\n cal.set(Calendar.YEAR, year);\n // month value is 0 based\n cal.set(Calendar.MONTH, month - 1);\n cal.set(Calendar.DAY_OF_MONTH, day);\n cal.set(Calendar.HOUR_OF_DAY, publishTime);\n cal.set(Calendar.MINUTE, 0);\n cal.set(Calendar.SECOND, 0);\n\n entry.setPublished(cal.getTime());\n entry.setUpdated(cal.getTime());\n \n } else if (attrName.equals(\"title_display\")) {\n\n // title\n if (includeformatting) {\n Content title = new Content();\n title.setType(\"html\");\n title.setValue(field.getTextContent());\n entry.setTitleEx(title);\n } else {\n entry.setTitle(TextUtils.simpleStripAllTags(field.getTextContent()));\n }\n\n } else if (attrName.equals(\"author_display\")) {\n\n // display ALL the authors in the content element\n // authors and collab authors\n authorsForContent = field.getChildNodes();\n\n } else if (attrName.equals(\"author_without_collab_display\")) {\n\n // authors (without the collaborative authors)\n ArrayList<Person> authors = newAuthorsList(cacheKey, field);\n entry.setAuthors(authors);\n\n } else if (attrName.equals(\"author_collab_only_display\")) {\n\n // contributors (collaborative authors)\n List<Person> contributors = new ArrayList<Person>();\n NodeList children = field.getChildNodes();\n for (int k = 0; k < children.getLength(); k++) {\n Node child = children.item(k);\n Person contributor = new Person();\n contributor.setName(child.getTextContent());\n contributors.add(contributor);\n }\n entry.setContributors(contributors);\n\n } else if (attrName.equals(\"volume\")) {\n\n // volume (used for ForeignMarkup)\n volume = field.getTextContent();\n\n } else if (attrName.equals(\"issue\")) {\n\n // issue (used for ForeignMarkup)\n issue = field.getTextContent();\n\n } else if (attrName.equals(\"article_type\")) {\n\n // article type (used for ForeignMarkup)\n articleType = field.getTextContent();\n\n } else if (attrName.equals(\"subject_hierarchy\")) {\n subjectHierarchyNode = field;\n\n } else if (attrName.equals(\"abstract_primary_display\")) {\n\n // abstract (used in Contents)\n abstractText = field.getTextContent();\n }\n }\n\n // foreign markup\n if (cacheKey.isExtended()) {\n List<Element> foreignMarkup = newForeignMarkUp(subjectHierarchyNode, volume, issue, articleType);\n if (foreignMarkup.size() > 0) {\n entry.setForeignMarkup(foreignMarkup);\n }\n }\n\n // alternative links\n List<Link> altLinks = newAltLinks(entry.getId(), xmlBase, entry.getTitle());\n // Add alternative links to this entry\n entry.setAlternateLinks(altLinks);\n\n // contents \n List<Content> contents = newContentsList(cacheKey, authorsForContent, abstractText);\n entry.setContents(contents);\n\n // rights\n if (copyright != null) {\n entry.setRights(copyright);\n } else {\n // Default is CC BY SA 3.0\n entry.setRights(JOURNAL_COPYRIGHT());\n }\n\n // Add completed Entry to List\n entries.add(entry);\n }\n return entries;\n }", "title": "" }, { "docid": "41eb6164f022368eba3a20f529158672", "score": "0.53581643", "text": "public List<Customer> findByKeyword(String keyword) {\n\t\treturn repository.findByKeyword(keyword);\n\t}", "title": "" }, { "docid": "4fdba565179519e2c827809f557e0b57", "score": "0.5350407", "text": "@Override\n\tpublic List<PipSysNewsMarquee> getAllNewsMarquee() {\n\t\tPipSysNewsMarqueeExample example=new PipSysNewsMarqueeExample();\n\t\treturn newsMarqueeDao.selectByExample(example);\n\t}", "title": "" }, { "docid": "146159d9dc9bf32cfd553f6b84d8d7c2", "score": "0.5321107", "text": "ArrayList<News> findNewsByCategory(Request request) throws ServiceException;", "title": "" }, { "docid": "d409e6d42a17c6c90e4172272498dbd2", "score": "0.52928114", "text": "@Override\r\n\tpublic List<String> getMarketNews() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "115b8d51b89b3e2e19742ba4aff81cf4", "score": "0.5282569", "text": "public Page<ResourceBundleMessageLightDTModel> getLightDTModels(int page, String keyword) {\r\n return getLightDTModels(page, Constants.DEFAULT_PAGE_SIZE, null);\r\n }", "title": "" }, { "docid": "ba6c59d62b3290b44f95ae8413029e85", "score": "0.52611786", "text": "public TaskList search(String keyword) {\n ArrayList<Task> results = new ArrayList<>();\n for (Task t : list) {\n if (t.getTaskName().contains(keyword)) {\n results.add(t);\n }\n }\n return new TaskList(results);\n }", "title": "" }, { "docid": "2fd563f07bcf5e6431ebe44fdde22252", "score": "0.5260457", "text": "public ArrayList<ArrayList<Object>> getAllData(String ServKeyword) {\n\t\tArrayList<ArrayList<Object>> dataArrays = new ArrayList<ArrayList<Object>>();\n\n\t\tCursor cursor = null;\n\n\t\tif (ServKeyword.equals(\"\")) {\n\t\t\ttry {\n\t\t\t\tcursor = mDatabase.query(FTS_VIRTUAL_TABLE, new String[] {\n\t\t\t\t\t\tCOL_WPID, COL_NAME, COL_DESC }, null, null, null, null,\n\t\t\t\t\t\tnull);\n\t\t\t\tcursor.moveToFirst();\n\n\t\t\t\tif (!cursor.isAfterLast()) {\n\t\t\t\t\tdo {\n\t\t\t\t\t\tArrayList<Object> dataList = new ArrayList<Object>();\n\n\t\t\t\t\t\tdataList.add(cursor.getLong(0));\n\t\t\t\t\t\tdataList.add(cursor.getString(1));\n\t\t\t\t\t\tdataList.add(cursor.getString(2));\n\n\t\t\t\t\t\tdataArrays.add(dataList);\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (cursor.moveToNext());\n\t\t\t\t}\n\t\t\t\tcursor.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\tLog.e(\"DB Error\", e.toString());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tcursor = mDatabase.query(FTS_VIRTUAL_TABLE, new String[] {\n\t\t\t\t\t\tCOL_WPID, COL_NAME, COL_DESC }, COL_NAME + \" LIKE '%\"\n\t\t\t\t\t\t+ ServKeyword + \"%'\", null, null, null, null);\n\t\t\t\tcursor.moveToFirst();\n\n\t\t\t\tif (!cursor.isAfterLast()) {\n\t\t\t\t\tdo {\n\t\t\t\t\t\tArrayList<Object> dataList = new ArrayList<Object>();\n\n\t\t\t\t\t\tdataList.add(cursor.getLong(0));\n\t\t\t\t\t\tdataList.add(cursor.getString(1));\n\t\t\t\t\t\tdataList.add(cursor.getString(2));\n\n\t\t\t\t\t\tdataArrays.add(dataList);\n\t\t\t\t\t}\n\n\t\t\t\t\twhile (cursor.moveToNext());\n\t\t\t\t}\n\t\t\t\tcursor.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\tLog.e(\"DB Error\", e.toString());\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn dataArrays;\n\t}", "title": "" }, { "docid": "c5bf44b1dd25d324a0f5cbd8de6988e8", "score": "0.5249762", "text": "private void newsData(){\n\t\t\n\t\tList<Map<String, Object>> rows = \n\t\t\t\tjdbcTemplateObject.queryForList(NEWSLETTER, new Object[] {this.jobid});\n\t\t\n\t\tfor (Map<String, Object> row : rows) { // For each result\n\t\t\t\n\t\t\tthis.subject = (String)row.get(\"subject\");\n\t\t\tthis.body = (String)row.get(\"body\");\n\t\t}\n\t}", "title": "" }, { "docid": "3daf809e3278e3b4f94a00c10302c6f5", "score": "0.52490693", "text": "public List<JSONItem> getAllArticleTags() \n\t{\n\t\tList<JSONItem> articleItems = new ArrayList<JSONItem>();\n\t\tString selectQuery = \"SELECT * FROM \" + TABLE_ARTICLE;\n\t\t\n\t\tCursor c = sqLiteDatabase.rawQuery(selectQuery, null);\n\n\t\t// looping through all rows and adding to list\n\t\tif (c.moveToFirst())\n\t\t{\n\t\t\tdo \n\t\t\t{\n\t\t\t\tLog.e(LOG, selectQuery);\n\t\t\t\tJSONItem t = new JSONItem();\n\t\t\t\t\n\t\t\t\tt.setTitle(c.getString(c.getColumnIndex(ART_TITLE)));\n\t\t\t\tt.setDate(c.getString(c.getColumnIndex(ART_TIME)));\n\t\t\t\tt.setImage(c.getString(c.getColumnIndex(ART_IMAGE)));\n\t\t\t\tt.setDescription(c.getString(c.getColumnIndex(ART_DESC)));\n\t\t\t\tt.setAuthorName(c.getString(c.getColumnIndex(ART_AUTHOR)));\n\n\t\t\t\t// adding to tags list\n\t\t\t\tarticleItems.add(t);\n\t\t\t} \n\t\t\twhile (c.moveToNext());\n\t\t}\n\t\treturn articleItems;\n\t}", "title": "" }, { "docid": "ba91dc7ec811944d5e4674a1a8ef901d", "score": "0.52446425", "text": "public synchronized static List<NewsPojo> readByAuthor(String author) {\r\n\t\tList<NewsPojo> entries = new LinkedList<NewsPojo>();\r\n\t\tfor(NewsPojo pojo : new LinkedList<NewsPojo>(database.values())) {\r\n\t\t\tfor(String s : pojo.getAuthors()) {\r\n\t\t\t\tif(s.equalsIgnoreCase(author)) {\r\n\t\t\t\t\tentries.add(pojo);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entries;\r\n\t}", "title": "" }, { "docid": "16acb8a01545c13100502126737ea531", "score": "0.52417713", "text": "@Override\n public ArrayList<News> show() throws SQLException {\n Connection connection = null;\n Statement stmt = null;\n ResultSet rsNews = null;\n String query;\n ArrayList<News> listNews = new ArrayList<News>();\n try {\n connection = DBConnectionPool.getConnection();\n query = \"select * from \" + DBNames.TABLE_NEWS;\n stmt = connection.createStatement();\n rsNews = stmt.executeQuery(query);\n while (rsNews.next()) {\n int id = rsNews.getInt(DBNames.ATT_NEWS_ID);\n String title = rsNews.getString(DBNames.ATT_NEWS_TITLE);\n String description = rsNews.getString(DBNames.ATT_NEWS_DESCRIPTION);\n String type = rsNews.getString(DBNames.ATT_NEWS_TYPE);\n Date date = rsNews.getDate(DBNames.ATT_NEWS_DATE);\n\n GregorianCalendar data = new GregorianCalendar();\n data.setTime(date);\n //data.set(Calendar.MONTH, (data.get(Calendar.MONTH))+1);\n Time time = rsNews.getTime(DBNames.ATT_NEWS_TIME);\n //Date ora=new Date(time.getTime());\n String attached = rsNews.getString(DBNames.ATT_NEWS_ATTACHED);\n int idDelegate = rsNews.getInt(DBNames.ATT_NEWS_DELEGATEACCOUNT);\n News news = new News();\n news.setId(id);\n news.setTitle(title);\n news.setDescription(description);\n news.setType(type);\n news.setDate(data);\n news.setTime(time);\n news.setAttached(attached);\n news.setDelegate(idDelegate);\n listNews.add(news);\n }\n } finally {\n stmt.close();\n DBConnectionPool.releaseConnection(connection);\n }\n return listNews;\n }", "title": "" }, { "docid": "919a7c7c0c49a7c9a1a254d99b5e6add", "score": "0.5239665", "text": "@Override\n\tpublic BuildNews getNewsById(Integer id) {\n\t\treturn buildNewsDao.getByKey(id);\n\t}", "title": "" }, { "docid": "f46c4cf2efd63534fde91c23b3818dc4", "score": "0.52291614", "text": "public ArrayList<ArrayList<String>> searchFor(String keyword, int count){\n\t\t\n\t\tArrayList<Status> tweets = new ArrayList<Status>();\n\t\t\n\t\tQuery query = new Query(keyword);\n\t\tquery.setCount(count);\n\n\t\ttry {\n\t\t\tQueryResult result = twitter.search(query);\n\t\t\ttweets = (ArrayList<Status>) result.getTweets();\t\t\n\t\t}catch (TwitterException te) {\n\t\t\tSystem.out.println(\"Couldn't connect: \" + te);\n\t\t}\t\n\t\t\n\t\treturn parseTweets(tweets);\t\t\n\t}", "title": "" }, { "docid": "4123cd7a264914706cc59e3c2769c2c2", "score": "0.5203726", "text": "@Override\n\tpublic List<News> findById(Long id) {\n\t\treturn newsMapper.findById(id);\n\t}", "title": "" }, { "docid": "cfdeccdfba7c5ec296d7d62584a2d2de", "score": "0.52036214", "text": "public List<Article> getAll(){\n\t\treturn articleRepository.findAll();\n\t}", "title": "" }, { "docid": "9cd6ae97e2f6f570a0451cddd587c9e0", "score": "0.5184419", "text": "public abstract List<Feed> getFeeds();", "title": "" }, { "docid": "4844a3b9a22e64364b06de0af2524719", "score": "0.5173058", "text": "public synchronized static List<NewsPojo> readByPeriod(String period) {\r\n\t\tString[] p = period.split(\"_\");\r\n\t\tDate start = null;\r\n\t\tDate end = null;\r\n\t\ttry {\r\n\t\t\tstart = sdf.parse(p[0]);\r\n\t\t\tend = sdf.parse(p[1]);\t\t\t\r\n\t\t} catch(Exception ex) {\r\n\t\t\tthrow new WebApplicationException(409);\r\n\t\t}\r\n\t\tList<NewsPojo> entries = new LinkedList<NewsPojo>();\r\n\t\tfor(NewsPojo pojo : new LinkedList<NewsPojo>(database.values())) {\r\n\t\t\tif(pojo.getPublishDate().compareTo(start) == 0 || \r\n\t\t\t\t\tpojo.getPublishDate().compareTo(end) == 0 || \r\n\t\t\t\t\t(pojo.getPublishDate().after(start) && \r\n\t\t\t\t\t\t\tpojo.getPublishDate().before(end))) {\r\n\t\t\t\tentries.add(pojo);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn entries;\t\t\r\n\t}", "title": "" }, { "docid": "da8dbd8c38c8a298a6e46561ca86e1e2", "score": "0.51729506", "text": "private static LinkedHashSet<Article> getWorldArticles() {\r\n Document document;\r\n LinkedHashSet<Article> articles = new LinkedHashSet<Article>();\r\n int searchPage = 1;\r\n while (enoughFlag == false) {\r\n try {\r\n document = Jsoup.connect(pageLink(searchPage)).get(); //Get Document object after parsing the html from given url.\r\n Elements links = document.select(\"a[href]\");\r\n for (Element link : links) {\r\n if (isWorldLink(link)) {\r\n Article article = articleDateCheck(link.attr(\"abs:href\"));\r\n if (article != null)\r\n articles.add(article);\r\n }\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n searchPage++;\r\n }\r\n return flipLinkedHashSet(articles);\r\n }", "title": "" }, { "docid": "3561d5ad5b05baa78096b3fb6682f8e8", "score": "0.51648754", "text": "public Article search(String keyworkds) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "b0046e847a3e930d8b5847d6ab8dbe77", "score": "0.51508045", "text": "@Transactional\n\tpublic List<Post> getSearchPost(String post_keywords) {\n\t\treturn this.postDAO.getSearchPost(post_keywords);\n\t}", "title": "" }, { "docid": "befd3361fae549b4d61d3b00da2125f3", "score": "0.5146562", "text": "public List<News> getNews() {\n return news;\n }", "title": "" }, { "docid": "1f4a1a0ceb3b96b708eab9ed3e1cc921", "score": "0.51464885", "text": "public List<Item> search(double lat, double lon, String keyword) {\n\t\tif(keyword == null) {\n\t\t\tkeyword = DEFAULT_KEYWORD;\n\t\t}\n\t\ttry {\n\t\t\t//encode to url perceived pattern\n\t\t\tkeyword = URLEncoder.encode(keyword,\"UTF-8\");\n\t\t}catch(UnsupportedEncodingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tString url = String.format(URL_TEMPLATE,keyword,lat,lon);\n\t\tCloseableHttpClient httpClient = HttpClients.createDefault();\n\n\t\tResponseHandler<List<Item>> responseHandler = httpResponse -> {\n\t\t\tif (httpResponse.getStatusLine().getStatusCode()!=200){\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\t\t\tHttpEntity entity = httpResponse.getEntity();\n\t\t\tif(entity==null) {\n\t\t\t\treturn Collections.emptyList();\n\t\t\t}\n\n\t\t\tObjectMapper mapper = new ObjectMapper();\n\t\t\tList<Item> items = Arrays.asList(mapper.readValue(entity.getContent(), Item[].class));//get a list to use in service\n\t\t\textractKeywords(items);\n\t\t\treturn items;\n\t\t};\n\n\t\ttry {\n\t\t\treturn httpClient.execute(new HttpGet(url),responseHandler);\n\t\t}catch(Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn Collections.emptyList();\n\t}", "title": "" }, { "docid": "c59b37cd16ac940d4010671b856ab090", "score": "0.51359594", "text": "@Override\n\tpublic List<FeedMessage> search(String keyWord, IDataBase db) {\n\t\tif (keyWord == null)\n\t\t\tthrow new NullPointerException();\n\t\treturn db.fetch(keyWord);\n\t}", "title": "" }, { "docid": "6a4d68464522103ec098e80ad75e55a1", "score": "0.5128308", "text": "@Query(\"select distinct d from Diner d join d.businessCard bc join bc.socialSections ss where ss.network like %?1% or ss.nickname like %?1% or ss.title like %?1%\") \n\tCollection<Diner> findDinersByKeyWordSocialSections(String keyword);", "title": "" }, { "docid": "7a57053c459c613d467bce8d3d9e16a3", "score": "0.51251274", "text": "public GlossaryEntry find(String keyword, String worksite);", "title": "" }, { "docid": "558fcd1250c89b5fb00e232e5acb1003", "score": "0.51144016", "text": "public ArrayList<Task> find(String keyword) throws EmptyTaskListException {\n if (isEmpty()) {\n throw new EmptyTaskListException();\n }\n return (ArrayList<Task>) tasks.stream()\n .filter((task) -> task.getAllInformation().contains(keyword))\n .collect(Collectors.toList());\n }", "title": "" }, { "docid": "cac0e96d4ed3213c9986b429aad4c78a", "score": "0.5110512", "text": "private static ArrayList<String> searchDatabase(String keyword){\n\t\t\n\t\tArrayList<String> searchResults = new ArrayList<String>();\n\t\t\n\t\t//-------------------------Searching in database----------------------------------------------------------------\n\t\ttry {\n\t\t\tClass.forName(drivername);\n\t\t\n\t\t\tConnection connection = DriverManager.getConnection(url,username,password);\n\t\t\t\n\t\t \tStatement statement = connection.createStatement();\n\t\t\t\n\t\t \tResultSet results = statement.executeQuery(\"Select Idea_ID from Ideas where Heading like '%\" + keyword + \"%'\");\n\t\t\t\n\t\t \twhile(results.next()){\n\t\t\t\tsearchResults.add(results.getString(1));\n\t\t\t}\t\n\t\t\t\n\t\t\tresults = statement.executeQuery(\"Select Idea_ID from Ideas where Content like '%\" + keyword + \"%'\");\n\t\t\t\n\t\t\twhile(results.next()){\n\t\t\t\tsearchResults.add(results.getString(1));\n\t\t\t}\n\t\t\t\n\t\t} catch (ClassNotFoundException|SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//-----------------------------------------------------------------------------------------------------------------\n\t\t\n\t\treturn searchResults;\n\t}", "title": "" }, { "docid": "c09f2a31b555ef2e82b37348f4b79f5a", "score": "0.51097924", "text": "@Override\n\tpublic List<?> findBy(String keyword) {\n\t\treturn proDao.selectBy(keyword);\n\t}", "title": "" }, { "docid": "fa5cfc6c2e2361210b817aa99c202b84", "score": "0.5103414", "text": "@Query(\"select distinct d from Diner d join d.businessCard bc join bc.personalSection pes join pes.dislikes dl join pes.likes l where dl like %?1% or l like %?1%\") \n\tCollection<Diner> findDinersByKeyWordInLikesDislikes(String keyword);", "title": "" }, { "docid": "3db8c08206ea3484b339ab00e8c24edb", "score": "0.5085784", "text": "public List<Entry<?>> findEntries(String searchText) {\n if (MODEL.isLoggable(FINE)) {\n MODEL.fine(getName() + \": getting entries for search term: \"\n + searchText);\n }\n\n Instant horizonStart = Instant.now().minus(getLookBackDuration());\n Instant horizonEnd = Instant.now().plus(getLookAheadDuration());\n\n ZoneId zoneId = ZoneId.systemDefault();\n\n ZonedDateTime st = ZonedDateTime.ofInstant(horizonStart, zoneId);\n ZonedDateTime et = ZonedDateTime.ofInstant(horizonEnd, zoneId);\n\n List<Entry<?>> result = new ArrayList<>();\n\n Map<LocalDate, List<Entry<?>>> map = findEntries(st.toLocalDate(), et.toLocalDate(), zoneId);\n for (List<Entry<?>> list : map.values()) {\n for (Entry<?> entry : list) {\n if (entry.matches(searchText)) {\n result.add(entry);\n }\n }\n }\n\n if (MODEL.isLoggable(FINE)) {\n MODEL.fine(getName() + \": found \" + result.size() + \" entries\");\n }\n\n return result;\n }", "title": "" }, { "docid": "75dc11ea8da7e518e73b308c2442a7c1", "score": "0.50716925", "text": "@Override\n\tpublic List<String> getSearchDatas(String category) {\n\t\treturn journeyDao.getCategory(category);\n\t}", "title": "" }, { "docid": "45a56e3ba664ecf71c63eb7e7ae8a535", "score": "0.50435895", "text": "public static LMDrillModel getAllTweetsByKeyword(String dbtablename, String keywords){\r\n ArrayList<tweetModel> results = new ArrayList<tweetModel>();\r\n tweetModel t;\r\n LMDrillModel lmDrillModel = new LMDrillModel();\r\n \r\n String tablename = \"temp-\"+keywords;\r\n tablename = tablename.replaceAll(\",\", \"~\");\r\n tablename = tablename.replaceAll(\";\", \"~\");\r\n tablename = tablename.replaceAll(\" \", \"_\");\r\n Woodpecker.systemOutArea.append(\"--- Creating subcorpus --- \\n\\t[\"+tablename+\"]\\n\");\r\n// System.out.println(tablename);\r\n \r\n keywords = keywords.replaceAll(\",\", \"%\\' and message like \\'%\"); \r\n keywords = keywords.replaceAll(\";\", \"%\\' or message like \\'%\"); \r\n// System.out.println(keywords);\r\n \r\n try{\r\n Connection c = DBFactory.getConnection();\r\n PreparedStatement ps = c.prepareStatement(\r\n \"DROP TABLE IF EXISTS `\" + tablename + \"`; \"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"CREATE TABLE `\" + tablename + \"` (\" +\r\n \"`username` varchar(20) NOT NULL,\" +\r\n \"`date` varchar(30) NOT NULL,\" +\r\n \"`message` varchar(180) NOT NULL\" +\r\n \")ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"INSERT INTO `\" + tablename + \"` (username, date, message) \" + \r\n \"SELECT username, date, message FROM `\" + dbtablename + \"` \" +\r\n \"WHERE message like '%\" + keywords + \"%';\");\r\n ps.execute(); \r\n// System.out.println(ps);\r\n \r\n ps = c.prepareStatement(\"SELECT * from `\" + tablename + \"`;\");\r\n ResultSet rs = ps.executeQuery();\r\n\r\n Woodpecker.systemOutArea.append(\"\\tCleaning tweets\\n\\tN-gram Tweets\\n\");\r\n while(rs.next()){\r\n t = new tweetModel();\r\n t.setUsername(rs.getString(\"username\"));\r\n t.setDate(rs.getString(\"date\"));\r\n t.setMessage(cleanTweet(rs.getString(\"message\")));\r\n NGramDriver.NGramTweet(cleanTweet(t.getMessage()));\r\n results.add(t);\r\n }\r\n \r\n \r\n rs.close();\r\n ps.close();\r\n c.close();\r\n\r\n if(results.isEmpty()){\r\n lmDrillModel = new LMDrillModel(-1);\r\n }else{\r\n NGramDriver.sortNgramAndRemoveOutliers();\r\n LM_TfidfDriver.idfchecker(results);\r\n \r\n FeatureStatistics stat = new FeatureStatistics(results.size(), tweetlinks.size(), getAllRetweets(tablename));\r\n lmDrillModel = new LMDrillModel(0, tablename, LM_TfidfDriver.getToplist(), stat);\r\n }\r\n \r\n }catch(ClassNotFoundException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }catch(SQLException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n return lmDrillModel;\r\n }", "title": "" }, { "docid": "841f17f417d7bd99d71df87139af8f61", "score": "0.50278866", "text": "@SuppressWarnings(\"unchecked\")\n public List<ArticleType> list(String[] keywords, String[] kwargs)\n throws RequestException, MalformedURLException {\n List<String> queryParams = new ArrayList<String>();\n for (String arg : keywords) {\n queryParams.add(\"keyword=\" + arg);\n }\n String fullUrl = QueryBuilder.appendQuery(connectionManager.getConfig()\n .getUrl() + url, queryParams);\n com.redhat.gss.redhat_support_lib.parsers.ArticlesType articlesType = get(\n connectionManager.getConnection(), fullUrl,\n com.redhat.gss.redhat_support_lib.parsers.ArticlesType.class);\n return (List<ArticleType>) FilterHelper.filterResults(\n articlesType.getArticle(), kwargs);\n }", "title": "" }, { "docid": "25378d9574fdc52542889aba7a87d0f0", "score": "0.50259787", "text": "public List<Post> getPostSearchResults(String keywords) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ae948afaaad11930640779f323c436e8", "score": "0.5025607", "text": "public static TMDrillModel TMgetAllTweetsByKeyword(String dbtablename, String keywords){\r\n ArrayList<tweetModel> results = new ArrayList<tweetModel>();\r\n tweetModel t;\r\n TMDrillModel tmDrillModel = new TMDrillModel();\r\n \r\n String tablename = \"temp-\"+keywords;\r\n tablename = tablename.replaceAll(\",\", \"~\");\r\n tablename = tablename.replaceAll(\";\", \"~\");\r\n tablename = tablename.replaceAll(\" \", \"_\");\r\n Woodpecker.systemOutArea.append(\"--- Creating subcorpus --- \\n\\t[\"+tablename+\"]\\n\");\r\n// System.out.println(tablename);\r\n \r\n keywords = keywords.replaceAll(\",\", \"%\\' and message like \\'%\"); \r\n keywords = keywords.replaceAll(\";\", \"%\\' or message like \\'%\"); \r\n// System.out.println(keywords);\r\n \r\n try{\r\n Connection c = DBFactory.getConnection();\r\n PreparedStatement ps = c.prepareStatement(\r\n \"DROP TABLE IF EXISTS `\" + tablename + \"`; \"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"CREATE TABLE `\" + tablename + \"` (\" +\r\n \"`username` varchar(20) NOT NULL,\" +\r\n \"`date` varchar(30) NOT NULL,\" +\r\n \"`message` varchar(180) NOT NULL\" +\r\n \")ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"INSERT INTO `\" + tablename + \"` (username, date, message) \" + \r\n \"SELECT username, date, message FROM `\" + dbtablename + \"` \" +\r\n \"WHERE message like '%\" + keywords + \"%';\");\r\n ps.execute(); \r\n// System.out.println(ps);\r\n \r\n ps = c.prepareStatement(\"SELECT * from `\" + tablename + \"`;\");\r\n ResultSet rs = ps.executeQuery();\r\n\r\n Woodpecker.systemOutArea.append(\"\\tCleaning tweets\\n\");\r\n while(rs.next()){\r\n t = new tweetModel();\r\n t.setUsername(rs.getString(\"username\"));\r\n t.setDate(rs.getString(\"date\"));\r\n t.setMessage(cleanTweet(rs.getString(\"message\")));\r\n results.add(t);\r\n }\r\n \r\n rs.close();\r\n ps.close();\r\n c.close();\r\n\r\n TopicModeler tm = new TopicModeler();\r\n \r\n if(results.isEmpty()){\r\n tmDrillModel = new TMDrillModel(-1);\r\n }else{\r\n tm.importData(results);\r\n try{\r\n tm.trainTopics();\r\n }catch(ArrayIndexOutOfBoundsException ex){\r\n JOptionPane.showMessageDialog(null, \"Mallet Index Out of Bounds.\", \"Mallet\", JOptionPane.ERROR_MESSAGE);\r\n }catch(Exception ex){\r\n JOptionPane.showMessageDialog(null, \"Mallet Exception.\", \"Mallet\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n TM_TfidfDriver.idfChecker(results, tm.getAllTopics());\r\n \r\n FeatureStatistics stat = new FeatureStatistics(results.size(), tweetlinks.size(), getAllRetweets(tablename));\r\n tmDrillModel = new TMDrillModel(0, tablename, TM_TfidfDriver.getTopTopics(), stat);\r\n }\r\n \r\n }catch(ClassNotFoundException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }catch(SQLException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n return tmDrillModel;\r\n }", "title": "" }, { "docid": "05024442b7337a3aa835b17e67912121", "score": "0.5025028", "text": "@Override\n public List<News> getNewsList(Page<News> page) {\n return newsMapper.getNewsList(page);\n }", "title": "" }, { "docid": "ff5617d8f79c695241800c296ead750e", "score": "0.5019167", "text": "public ArrayList<ArrayList <String>> getFoodByTag(String keyword){\n // holds the menu item\n ArrayList<ArrayList <String>> menu = new ArrayList<>();\n\n // holds each eateries name\n String[] eateryNames = {\n \"Cruz N' Gourmet\",\n \"Drunk Monkey\",\n \"Raymond's Catering\",\n \"Banana Joe's (Crown)\",\n \"Bowls (Porter)\",\n \"College 8 Cafe\",\n \"Cowell Coffee Shop\",\n \"Express Store (Quarry)\",\n \"Global Village Cafe (Mchenry)\",\n \"Iveta (Quarry)\",\n \"Kresge Co-op\",\n \"Oakes Cafe\",\n \"Owl's Nest (Kresge)\",\n \"Perk Coffee (J Baskin)\",\n \"Perk Coffee (Earth and Marine)\",\n \"Perk Coffee (Physical Sciences)\",\n \"Perk Coffee (Terra Fresca)\",\n \"Stevenson Coffee House\",\n \"Terra Fresca (College 9/10)\",\n \"Vivas (Merrill)\",\n \"College 9/10\",\n \"Cowell/Stevenson\",\n \"Crown/Merrill\",\n \"Porter/Kresge\",\n \"Rachel Carson/Oakes\" };\n\n // sql statement to access database\n String filters = \"SELECT name, price, eateryID FROM Foods WHERE name LIKE '%\" +keyword+ \"%' OR tag LIKE '%\" +keyword.replace(\" \",\"\")+ \"%' OR category LIKE '%\" +keyword+ \"%';\";\n\n // cursor executes sql and holds what has been returned\n Cursor cr = database.rawQuery(filters, null);\n\n // holds the names and prices of each meal item\n ArrayList <String> nameAndPrice = new ArrayList <>();\n\n // holds the eatery names\n ArrayList <String> location = new ArrayList <>();\n\n // add each menu items name and price and location into their respective ArrayLists\n while(cr.moveToNext()) {\n nameAndPrice.add(cr.getString(0) + \"\\t\\t\" + cr.getString(1));\n location.add(eateryNames[Integer.parseInt(cr.getString(2)) - 1]);\n }\n\n menu.add(nameAndPrice);\n menu.add(location);\n cr.close();\n return menu;\n }", "title": "" }, { "docid": "0ce3d088806beaf658b57ca05ffdb71e", "score": "0.50062346", "text": "public ArrayList<News> extractFeature(String whichFeed, String newsJson){\n try {\n Log.e(\"extractFeature\", \"Url -> \" + newsJson);\n JSONObject baseJsonResponse = new JSONObject(newsJson);\n\n JSONObject responseObj = baseJsonResponse.getJSONObject(\"response\");\n JSONArray resultsArray = responseObj.getJSONArray(\"results\");\n\n ArrayList<News> sectionsList = new ArrayList<>();\n\n if(whichFeed==\"main\") {\n /**Shows all sections*/\n Log.i(\"ExtractNews\", \"-> main\");\n for (int i = 0; i < resultsArray.length(); i++) {\n JSONObject section = resultsArray.getJSONObject(i);\n sectionsList.add(new News(section.getString(\"webTitle\"), section.getString(\"apiUrl\")));\n }\n }else if (whichFeed==\"section\"){\n /**Shows news from a section*/\n Log.i(\"ExtractNews\", \"-> section\");\n for (int i = 0; i < resultsArray.length(); i++) {\n JSONObject section = resultsArray.getJSONObject(i);\n\n String sectionName = section.getString(\"sectionName\");\n String date = getCustomDate(section.getString((\"webPublicationDate\")));\n String title = section.getString(\"webTitle\");\n String webUrl = section.getString(\"webUrl\");\n sectionsList.add(new News(sectionName, title, date,webUrl));\n }\n }\n else{\n Log.e(\"JSON_ERROR\", \"extractFromJSON -> Error\");\n }\n return sectionsList;\n } catch (JSONException e) {\n Log.e(\"JSON_ERROR\", \"Problem parsing the JSON results\", e);\n }\n return null;\n }", "title": "" }, { "docid": "fdb485860d664cbe4385c1218aeaf17f", "score": "0.50045365", "text": "@GET\n\t@Path(\"/all\")\n\t@Consumes(MediaType.APPLICATION_FORM_URLENCODED)\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic String getAll()\n\t{\n\t\tString json = null;\n\t\t\n\t\tNewsTier tier = new NewsTier();\n\t\t\n\t\tList<News> results = tier.all();\n\t\t\n\t\t//se parsea a json\n\t\tGson gson = new Gson();\n\t\tjson = gson.toJson(results);\n\t\t\n\t\treturn json;\n\t}", "title": "" }, { "docid": "81d706ebaee8e0d6a7cc78567aa42baf", "score": "0.50043863", "text": "private static List<News> extractFeatureFromJson(String newsJSON) {\n if (TextUtils.isEmpty(newsJSON)) {\n return null;\n }\n\n // Create an empty ArrayList that we can start adding news to\n List<News> newsList = new ArrayList<>();\n\n // Try to parse the JSON response string. If there's a problem with the way the JSON\n // is formatted, a JSONException exception object will be thrown.\n // Catch the exception so the app doesn't crash, and print the error message to the logs.\n try {\n\n // Create a JSONObject from the JSON response string\n JSONObject baseJsonResponse = new JSONObject(newsJSON);\n int totalResults = baseJsonResponse.getInt(\"totalResults\");\n // Extract the JSONArray associated with the key CALLED \"features\",\n // which represents a list of features (or news).\n JSONArray articles = baseJsonResponse.getJSONArray(\"articles\");\n\n // For each news in the articles, create an {@link Earthquake} object\n for (int i = 0; i < articles.length(); i++) {\n\n // Get a single news at position i within the list of news\n JSONObject currentNews = articles.getJSONObject(i);\n\n News newsData = new News();\n newsData.setAuthor(currentNews.getString(\"author\"));\n newsData.setTitle(currentNews.getString(\"title\"));\n newsData.setDescription(currentNews.getString(\"description\"));\n newsData.setUrl(currentNews.getString(\"url\"));\n newsData.setUrlToImage(currentNews.getString(\"urlToImage\"));\n newsData.setPublishedAt(currentNews.getString(\"publishedAt\"));\n newsData.setTotalResults(totalResults);\n newsList.add(newsData);\n }\n\n } catch (JSONException e) {\n // If an error is thrown when executing any of the above statements in the \"try\" block,\n // catch the exception here, so the app doesn't crash. Print a log message\n // with the message from the exception.\n Log.e(\"QueryUtils\", \"Problem parsing the news JSON results\", e);\n }\n\n // Return the list of news\n return newsList;\n }", "title": "" }, { "docid": "7cf229102b02eeac66b7eddd0fe466cb", "score": "0.5002108", "text": "@Query(\"select distinct d from Diner d join d.businessCard bc join bc.personalSection pes join pes.dislikes dl join pes.likes l join bc.socialSections ss join bc.professionalSections prs where d.actorName like %?1% or d.surname like %?1% or pes.title like %?1% or pes.fullName like %?1% or l like %?1% or dl like %?1% or ss.network like %?1% or ss.nickname like %?1% or ss.title like %?1% or prs.title like %?1% or prs.position like %?1% or prs.company like %?1% \") \n\tCollection<Diner> findDinersByKeyWord(String keyword);", "title": "" }, { "docid": "8c7ea27acad78c3ec83f624fc086cd83", "score": "0.4997947", "text": "public List<NewsComposition> getNewsRecords(UserType userType) {\n\t\treturn this.getNewsRecords(userType, \"\");\n\n\t}", "title": "" }, { "docid": "3c5aa2dc4cce445fba3ffe1102eeb5ba", "score": "0.49955782", "text": "List<Mountain> search(String keyword);", "title": "" }, { "docid": "cecb5046294baa16050c8eb4fbfc62f7", "score": "0.49919495", "text": "public static LMDrillModel getAllTweetsByKeywordAndDate(String dbtablename, String keywords, String startDate, String endDate, CalendarType format){\r\n ArrayList<tweetModel> results = new ArrayList<tweetModel>();\r\n LMDrillModel lmDrillModel = new LMDrillModel();\r\n \r\n String[] start = startDate.split(\" \");\r\n String[] end = endDate.split(\" \");\r\n tweetModel t;\r\n \r\n String tablename = \"temp-\"+keywords+\"-\"+start[0]+\".\"+start[1]+\".\"+start[2]+\"-\"+end[0]+\".\"+end[1]+\".\"+end[2];;\r\n tablename = tablename.replaceAll(\",\", \"~\");\r\n tablename = tablename.replaceAll(\";\", \"~\");\r\n tablename = tablename.replaceAll(\" \", \"_\");\r\n Woodpecker.systemOutArea.append(\"--- Creating subcorpus --- \\n\\t[\"+tablename+\"]\\n\");\r\n// System.out.println(tablename);\r\n \r\n \r\n keywords = keywords.replaceAll(\",\", \"%\\' and message like \\'%\");\r\n keywords = keywords.replaceAll(\";\", \"%\\' or message like \\'%\"); \r\n// System.out.println(keywords);\r\n \r\n String whereCondition = buildDateWhereCondition(start, end, format);\r\n \r\n try{\r\n Connection c = DBFactory.getConnection();\r\n PreparedStatement ps = c.prepareStatement(\r\n \"DROP TABLE IF EXISTS `\" + tablename + \"`; \"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"CREATE TABLE `\" + tablename + \"` (\" +\r\n \"`username` varchar(20) NOT NULL,\" +\r\n \"`date` varchar(30) NOT NULL,\" +\r\n \"`message` varchar(180) NOT NULL\" +\r\n \")ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"INSERT INTO `\" + tablename + \"` (username, date, message) \" + \r\n \"SELECT username, date, message FROM `\" + dbtablename + \"` \" +\r\n \"WHERE (\"+whereCondition+\") \" +\r\n \"AND (message like '%\" + keywords + \"%')\"); \r\n// System.out.println(ps);\r\n ps.execute(); \r\n \r\n \r\n ps = c.prepareStatement(\"SELECT * from `\" + tablename + \"`;\");\r\n ResultSet rs = ps.executeQuery();\r\n \r\n Woodpecker.systemOutArea.append(\"\\tCleaning tweets\\n\\tN-gram Tweets\\n\");\r\n while(rs.next()){\r\n t = new tweetModel();\r\n t.setUsername(rs.getString(\"username\"));\r\n t.setDate(rs.getString(\"date\"));\r\n t.setMessage(cleanTweet(rs.getString(\"message\")));\r\n NGramDriver.NGramTweet(cleanTweet(t.getMessage()));\r\n results.add(t);\r\n }\r\n \r\n rs.close();\r\n ps.close();\r\n c.close();\r\n \r\n if(results.isEmpty()){\r\n lmDrillModel = new LMDrillModel(-1);\r\n }else{\r\n NGramDriver.sortNgramAndRemoveOutliers();\r\n LM_TfidfDriver.idfchecker(results);\r\n \r\n FeatureStatistics stat = new FeatureStatistics(results.size(), tweetlinks.size(), getAllRetweets(tablename));\r\n lmDrillModel = new LMDrillModel(0, tablename, LM_TfidfDriver.getToplist(), stat);\r\n }\r\n \r\n }catch(ClassNotFoundException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }catch(SQLException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n return lmDrillModel;\r\n }", "title": "" }, { "docid": "6f4b0da9f6c22736cf173babadd77d37", "score": "0.4984185", "text": "private void getLatestNews() {\n NewsGroup bbc = new NewsGroup(\"BBC\", R.drawable.bbc_news_icon, bbc_l);\n NewsGroup theGuardian = new NewsGroup(\"The Guardian\", R.drawable.the_guardian_icon, guardian_l);\n NewsGroup cnn = new NewsGroup(\"CNN\", R.drawable.cnn_news, cnn_l);\n NewsGroup die_zeit = new NewsGroup(\"Handelsblatt\", R.drawable.handelsblatt_icon, handelsblatt);\n NewsGroup ny_magazine = new NewsGroup(\"New York Magazine\", R.drawable.nymag_icon, new_york_magazine_l);\n List allLatestNews = Arrays.asList(bbc, theGuardian, cnn, die_zeit, ny_magazine);\n NewsListAdapter newsListAdapter = new NewsListAdapter(mContext, allLatestNews);\n newsGroupsRecyclerView.setAdapter(newsListAdapter);\n }", "title": "" }, { "docid": "c6e1ab73bd90672bce4e86c848bb035f", "score": "0.49586135", "text": "private List<Article> convertSearchResultToArticles(SearchResult result, String type, SlingHttpServletRequest slingRequest) {\n List<Article> articles = new ArrayList<Article>();\n try {\n if (result != null) {\n String headline = StringUtils.EMPTY;\n String subhead = StringUtils.EMPTY;\n String createDate = StringUtils.EMPTY;\n String modifiedDate = StringUtils.EMPTY;\n String image = StringUtils.EMPTY;\n String source = StringUtils.EMPTY;\n String eventLocation = StringUtils.EMPTY;\n Article article = null;\n Iterator<Node> pageResults = result.getNodes();\n while (pageResults.hasNext()) {\n article = new Article();\n Node articleNode = pageResults.next();\n Page page = QueryBuilderUtils.getPageByNode(slingRequest, JcrUtils.findPageByNode(slingRequest, articleNode));\n Node pageNode = JcrUtils.getNode(slingRequest, page.getPath());\n Node parent = pageNode.getParent();\n\n headline = JcrUtils.getStringValue(articleNode, \"title\");\n subhead = JcrUtils.getStringValue(articleNode, \"description\");\n createDate = JcrUtils.getStringValue(articleNode, \"date\");\n if (StringUtils.isNotBlank(createDate)) {\n Date date = CommonUtils.convertStringToDateNoTimeZone(Constants.DATE_FORMAT_YYYY_MM_DD, createDate.substring(0, 10));\n modifiedDate = CommonUtils.formatDate(Constants.DATE_FORMAT_MMM_DD_YYYY, date);\n }\n image = JcrUtils.getStringValue(articleNode, \"mainImage\");\n source = JcrUtils.getStringValue(articleNode, \"name\");\n eventLocation = JcrUtils.getStringValue(articleNode, \"eventLocation\");\n\n article.setDate(modifiedDate);\n article.setHeadline(headline);\n article.setSubhead(subhead);\n if (StringUtils.isNotBlank(type)) {\n article.setType(type);\n article.setTabId(HubTab.NEWS.getId());\n if (parent.getPath().startsWith(pressPath)) {\n article.setTabId(HubTab.PRESS.getId());\n }\n } else {\n article.setType(newsTagName);\n article.setTabId(HubTab.NEWS.getId());\n if (parent.getPath().startsWith(pressPath)) {\n article.setType(pressTagName);\n article.setTabId(HubTab.PRESS.getId());\n }\n }\n article.setImage(image);\n if (StringUtils.isNotBlank(image)) {\n article.setCssClass(Constants.VIDEO_CLASS);\n } else {\n article.setCssClass(Constants.EVENT_CLASS);\n }\n article.setDate(modifiedDate);\n article.setSource(source);\n article.setEventLocation(eventLocation);\n article.setLinkAction(page.getPath() + Constants.DOT_HTML);\n\n articles.add(article);\n }\n }\n } catch (RepositoryException e) {\n logger.error(\"Error when convert serch result {}\", e);\n }\n return articles;\n }", "title": "" }, { "docid": "43eec04e137c305c6ed226de2282da01", "score": "0.49536353", "text": "private void create_some_news(){\n for (int i = 0; i < 5; ++i) {\n news.add(new News(\"1st item then some text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"));\n news.add(new News(\"2nd item then some text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"));\n news.add(new News(\"3rd item then some text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"));\n news.add(new News(\"4th item then some text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"));\n news.add(new News(\"5th item then some text aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"));\n messages.add(new Message(\"1Name Surname\", \"Something like last message\"));\n messages.add(new Message(\"2Name Surname\", \"Something like last message\"));\n messages.add(new Message(\"3Name Surname\", \"Something like last message\"));\n messages.add(new Message(\"4Name Surname\", \"Something like last message\"));\n messages.add(new Message(\"5Name Surname\", \"Something like last message\"));\n }\n }", "title": "" }, { "docid": "9a54a11435c613a9931099c829bf15ab", "score": "0.49475956", "text": "private static ArrayList <News> getJSONData(String JSONData) {\n //New News ArrayList to be populated with the data obtained\n ArrayList <News> foodNewsArrayList = new ArrayList <>();\n //First convert the JSON String from the checkHttpConnection() into a JSON Object\n try {\n JSONObject rootJsonObject = new JSONObject(JSONData);\n JSONObject newsObject = rootJsonObject.getJSONObject(\"response\");\n JSONArray jsonArray = newsObject.getJSONArray(\"results\");\n\n //Use a loop to pass through the entire array\n for (int i = 0; i < jsonArray.length(); i++) {\n\n JSONObject currentObject = jsonArray.getJSONObject(i);\n //Extract what you need\n String title = currentObject.optString(\"webTitle\");\n String genre = currentObject.optString(\"sectionName\");\n String dateOfPublication = currentObject.optString(\"webPublicationDate\");\n dateOfPublication = dateFormatter(dateOfPublication);\n String url = currentObject.optString(\"webUrl\");\n JSONArray tagsArray = currentObject.getJSONArray(\"tags\");\n //Declare String variable to hold author name\n String author = \" \";\n for (int j = 0; j < tagsArray.length(); j++) {\n JSONObject contributorTag = tagsArray.getJSONObject(j);\n author = contributorTag.optString(\"webTitle\");\n }\n\n\n //Then add the object to the arrayList\n\n foodNewsArrayList.add(new News(title, genre, dateOfPublication, url, author));\n\n }\n } catch (JSONException e) {\n Log.e(\"QueryUtils\", \"Problem parsing news JSON results\", e);\n }\n\n\n return foodNewsArrayList;\n }", "title": "" }, { "docid": "d4201190c354b1f28872cccf3296d345", "score": "0.4942253", "text": "@Override\n\tpublic List<News> getAllMessages(Page page) {\n\t\treturn dao.getAllMessages(page);\n\t}", "title": "" }, { "docid": "332e29ea61cd5d30ceb1bec652264c52", "score": "0.49389812", "text": "public List<SyndEntry> getContentFeeds() throws IOException, FeedException, FetcherException {\n SyndFeed feed = this.getFeedsFromJiveContentType(container, content);\n if(feed == null || feed.getEntries() == null) {\n return Collections.emptyList();\n } else {\n return (List<SyndEntry>) feed.getEntries();\n }\n }", "title": "" }, { "docid": "35089ddf27d6403fdddd1d081091472c", "score": "0.49332002", "text": "public List<Note> search(){\n\t\treturn getAllNotes().stream()\n\t\t\t\t.filter(n -> n.getTitle().toLowerCase().contains(searchTag.toLowerCase())) \n\t\t\t\t\t\t\n\t\t\t\t.collect(Collectors.toList());\n\t}", "title": "" }, { "docid": "537d10f6d576559f063fe2ce2ba7de79", "score": "0.49191982", "text": "public List<ClientEntries> getAllEntries() {\n\t\t\tList<ClientEntries> clientsList = new ArrayList<ClientEntries>();\n\t\t\t// Select All Query\n\t\t\tString selectQuery = \"SELECT * FROM clients\" ;\n\n\t\t\topen();\n\t\t\t\n\t\t\tCursor cursor = mDb.rawQuery(selectQuery, null);\n\t\t\t\n\t\t\t// looping through all rows and adding to list\n\t\t\tif (cursor.moveToFirst()) {\n\t\t\t\tdo {\n\t\t\t\t\tClientEntries entries = new ClientEntries();\n\n\t\t\t\t\tentries.setName(cursor.getString(1));\n\n\t\t\t\t\t// Adding contact to list\n\t\t\t\t\tclientsList.add(entries);\n\t\t\t\t} while (cursor.moveToNext());\n\t\t\t}\n\n\t\t\t// return contact list\n\t\t\treturn clientsList;\n\n\t\t}", "title": "" }, { "docid": "9e7984bf46e480747c5c70ddd6014835", "score": "0.49183205", "text": "@RequestMapping(value = \"/getAllNews\", method = RequestMethod.GET)\r\n\tpublic ResponseEntity<?> getAllNewsBulletin(HttpSession session) {\r\n\t\tList<NewsBulletin> news = nbDao.getAllNewsBulletins();\r\n\t\treturn new ResponseEntity<List<NewsBulletin>>(news, HttpStatus.OK);\r\n\t}", "title": "" }, { "docid": "749e07985537d94fc046029927732d4f", "score": "0.49145028", "text": "@Query(\"select f1 from FixUpTask f1 where f1.ticker like ?1 or f1.address like ?1 or f1.description like ?1\")\n\tCollection<FixUpTask> filterTasksWithKeyword(String k);", "title": "" }, { "docid": "a1d759c515174c2c33cff8cc7c5b5da2", "score": "0.49091542", "text": "public Collection<NewsItem> getNewsItems() {\r\n\t\treturn newsItems;\r\n\t}", "title": "" }, { "docid": "b963769d7a20ae3730b183c340c4f54b", "score": "0.49087337", "text": "Set<String> getFeeds();", "title": "" }, { "docid": "c8329e02b25e3488c5e36348e2799ed5", "score": "0.4907238", "text": "@Override\n public Map<String, List<String>> parseFeed(List<String> feeds) {\n Map<String, List<String>> urlWords = new HashMap<>();\n for (String feed : feeds) {\n try {\n Document doc = Jsoup.connect(feed).get();\n Elements links = doc.getElementsByTag(\"link\");\n for (Element link : links) {\n String linkText = link.text();\n Document html = Jsoup.connect(linkText).get();\n Elements contents = html.getElementsByTag(\"body\");\n List<String> wordsList = new ArrayList<>();\n for (Element content : contents) {\n String contentText = content.text();\n String validContent = contentText.replaceAll(\"[^a-zA-Z ]\", \"\")\n .toLowerCase();\n String[] words = validContent.split(\" \");\n wordsList.addAll(Arrays.asList(words));\n }\n urlWords.put(linkText, wordsList);\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return urlWords;\n }", "title": "" }, { "docid": "18921832374ee0471ea2ecbb474e064c", "score": "0.49040163", "text": "public Page<ResourceBundleMessageLightDTModel> getLightDTModels(int page, int pageSize, String keyword) {\r\n try {\r\n Locale locale = Locale.getDefault();\r\n\r\n Map<String, String> originalMessages = messageSource.getOriginalMessages(locale);\r\n if (originalMessages != null) {\r\n List<ResourceBundleMessageLightDTModel> messages = new ArrayList<ResourceBundleMessageLightDTModel>();\r\n\r\n Map<String, String> editedMessages = messageSource.getEditedMessages(locale);\r\n\r\n for (String code : originalMessages.keySet()) {\r\n String message;\r\n if (editedMessages == null || (message = editedMessages.get(code)) == null) {\r\n message = originalMessages.get(code);\r\n }\r\n messages.add(createLightResourceBundleMessage(code, message));\r\n }\r\n Collections.sort(messages, resourceBundleMessageLightDTModelCodeComparator);\r\n\r\n int fromIndex = (page - 1) * pageSize;\r\n int toIndex = Math.min(fromIndex + pageSize, messages.size());\r\n\r\n if (fromIndex < messages.size()) {\r\n return new Page<ResourceBundleMessageLightDTModel>(messages.subList(fromIndex, toIndex), page, pageSize, messages.size());\r\n }\r\n }\r\n\r\n return null;\r\n } catch (Exception e) {\r\n throw new ServiceException(e);\r\n }\r\n }", "title": "" }, { "docid": "6dd0609f29e2abf89a37fa7b308bcf7a", "score": "0.4898979", "text": "public List<Event> getEventSearchResults(String keywords) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7eb79a3d39b116dea1f1adadc54a4f87", "score": "0.48977822", "text": "@RequestMapping(value=\"/articles/{tagId}\", method=RequestMethod.GET)\n\tpublic ResponseEntity<List<RssEntry>> getArticlesByTagId(@PathVariable Integer tagId) {\n\t\tList<RssEntry> entries = rssFeedService.getEntriesByTagId(tagId);\n\t\treturn new ResponseEntity<List<RssEntry>>(entries, HeadersUtil.HEADERS, HttpStatus.OK);\n\t}", "title": "" }, { "docid": "16013b28f241bdeb01814252cc589fda", "score": "0.48915976", "text": "public void customLoadMoreDataFromApi(int offset) {\n AsyncHttpClient client = new AsyncHttpClient();\n String url = \"http://api.nytimes.com/svc/search/v2/articlesearch.json\";\n RequestParams params = new RequestParams();\n params.put(\"api-key\", \"c1ac884016ce4f5a9df1ddc7fb9e63ec\");\n params.put(\"page\", offset);\n params.put(\"q\", addQuery);\n if (filter.getDate() != null) {\n params.put(\"begin_date\", date);\n }\n if (filter.getSpinnerVal() != null) {\n params.put(\"sort\", spinnerVal);\n }\n Log.d(\"SEARCH ACTIVITY\", url + \"?\" + params);\n //make an array list\n // if not 0 size then add it as a parameter\n ArrayList<String> newsDeskItems = new ArrayList<>();\n if (filter.isArts()) {\n newsDeskItems.add(\"\\\"Arts\\\"\");\n }\n if (filter.isFashion()) {\n newsDeskItems.add(\"\\\"Fashion\\\"\");\n }\n if (filter.isSports()) {\n newsDeskItems.add(\"\\\"Sports\\\"\");\n }\n if (newsDeskItems.size() != 0) {\n String newsDeskItemsStr =\n android.text.TextUtils.join(\" \", newsDeskItems);\n String newsDeskParamValue =\n String.format(\"news_desk:(%s)\", newsDeskItemsStr);\n params.put(\"fq\", newsDeskParamValue);\n }\n Log.d(\"SEARCH ACTIVITY\", url + \"?\" + params);\n client.get(url, params, new JsonHttpResponseHandler() {\n @Override\n public void onSuccess(int statusCode, Header[] headers, JSONObject response) {\n Log.d(\"DEBUG\", response.toString());\n JSONArray articleJsonResults = null;\n\n try {\n articleJsonResults = response.getJSONObject(\"response\").getJSONArray(\"docs\");\n articles.addAll(Article.fromJSONArray(articleJsonResults));\n adapter.notifyDataSetChanged();\n Log.d(\"DEBUG\", articles.toString());\n } catch (JSONException e) {\n e.printStackTrace();\n }\n }\n });\n }", "title": "" }, { "docid": "b405318a73b41518cb14987e311c5035", "score": "0.48899585", "text": "private List<FeedItem> getFeedItems() {\n String url = FeedUtil.getUrl();\n String json = HttpUtil.getJson(url);\n FeedWrapper feedWrapper = FeedUtil.convertToObjects(json);\n List<FeedItem> items = feedWrapper.getItems();\n return items;\n }", "title": "" }, { "docid": "8453c792ed54ba1267c68aacbb1a3e65", "score": "0.4886597", "text": "private void loadNews() {\n SqlNewsRepository repo = new SqlNewsRepository(getApplicationContext());\n try {\n news = repo.getNews(getIntent().getIntExtra(\"news_id\", -1));\n //u slucaju ako ne postoji vijest s tim id-em, npr izbrisana milisekundu nakon sto smo mi u listi kliknuli na tu vijest\n if (news == null) {\n byeBye();\n }\n } catch (Exception exc) {\n byeBye();\n } finally {\n repo.close();\n }\n }", "title": "" }, { "docid": "4fc95360a9084a3b3840c41d6c7a7cd5", "score": "0.4862204", "text": "@Query(\"select distinct d from Diner d join d.businessCard bc join bc.professionalSections prs where prs.title like %?1% or prs.position like %?1% or prs.company like %?1% \") \n\tCollection<Diner> findDinersByKeyWordProfessionalSections(String keyword);", "title": "" }, { "docid": "907e42c3946e1a99e503c4e5fa41bbb6", "score": "0.48591655", "text": "public ObjectIterator<?> retrievePages(PageWord keyword);", "title": "" }, { "docid": "6b536ae920f6d6547120dffcd6ab9ef9", "score": "0.4858764", "text": "@Override\n\t\tpublic Page <Etablissement> load(Pageable pageable, String keyword) {\n\t\tPage<Etablissement> pages;\n\t\tif(keyword == null || keyword.equals(\"\"))\n\t\t\tpages = etablissementRepository.findAll(pageable);\n\t\telse\n\t\t\tpages = null;\n\t\tlogger.info(\"All etablissements found successfully\", pages.getTotalPages());\n\t\treturn pages;\n\t}", "title": "" }, { "docid": "0481593def52d792d52e011ebdf611dc", "score": "0.48555773", "text": "@Query(\"select n from Newspaper n where n.published=1\")\n\tCollection<Newspaper> findAllPublished();", "title": "" }, { "docid": "fff8eb55041678004f08e7748fd558ff", "score": "0.48507148", "text": "@Override\n public News getNewsById(int newsId) {\n return newsMapper.getNewsById(newsId);\n }", "title": "" }, { "docid": "a02b169052811b9ded0178f299d497ad", "score": "0.48504522", "text": "public List getKeywords() {\n return keywords;\n }", "title": "" }, { "docid": "08f8ffdd1cdef40f6dd238c5bec6e390", "score": "0.4850111", "text": "public static TMDrillModel TMgetAllTweetsByKeywordAndDate(String dbtablename, String keywords, String startDate, String endDate, CalendarType format){\r\n ArrayList<tweetModel> results = new ArrayList<tweetModel>();\r\n TMDrillModel tmDrillModel = new TMDrillModel();\r\n \r\n String[] start = startDate.split(\" \");\r\n String[] end = endDate.split(\" \");\r\n tweetModel t;\r\n \r\n String tablename = \"temp-\"+keywords+\"-\"+start[0]+\".\"+start[1]+\".\"+start[2]+\"-\"+end[0]+\".\"+end[1]+\".\"+end[2];;\r\n tablename = tablename.replaceAll(\",\", \"~\");\r\n tablename = tablename.replaceAll(\";\", \"~\");\r\n tablename = tablename.replaceAll(\" \", \"_\");\r\n Woodpecker.systemOutArea.append(\"--- Creating subcorpus --- \\n\\t[\"+tablename+\"]\\n\");\r\n// System.out.println(tablename);\r\n \r\n \r\n keywords = keywords.replaceAll(\",\", \"%\\' and message like \\'%\");\r\n keywords = keywords.replaceAll(\";\", \"%\\' or message like \\'%\"); \r\n// System.out.println(keywords);\r\n \r\n String whereCondition = buildDateWhereCondition(start, end, format);\r\n \r\n try{\r\n Connection c = DBFactory.getConnection();\r\n PreparedStatement ps = c.prepareStatement(\r\n \"DROP TABLE IF EXISTS `\" + tablename + \"`; \"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"CREATE TABLE `\" + tablename + \"` (\" +\r\n \"`username` varchar(20) NOT NULL,\" +\r\n \"`date` varchar(30) NOT NULL,\" +\r\n \"`message` varchar(180) NOT NULL\" +\r\n \")ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\"\r\n );\r\n ps.execute();\r\n// System.out.println(ps);\r\n ps = c.prepareStatement(\r\n \"INSERT INTO `\" + tablename + \"` (username, date, message) \" + \r\n \"SELECT username, date, message FROM `\" + dbtablename + \"` \" +\r\n \"WHERE (\"+whereCondition+\") \" +\r\n \"AND (message like '%\" + keywords + \"%')\"); \r\n ps.execute(); \r\n System.out.println(ps);\r\n \r\n ps = c.prepareStatement(\"SELECT * from `\" + tablename + \"`;\");\r\n ResultSet rs = ps.executeQuery();\r\n \r\n Woodpecker.systemOutArea.append(\"\\tCleaning tweets\\n\");\r\n while(rs.next()){\r\n t = new tweetModel();\r\n t.setUsername(rs.getString(\"username\"));\r\n t.setDate(rs.getString(\"date\"));\r\n t.setMessage(cleanTweet(rs.getString(\"message\")));\r\n results.add(t);\r\n }\r\n \r\n rs.close();\r\n ps.close();\r\n c.close();\r\n \r\n TopicModeler tm = new TopicModeler();\r\n \r\n if(results.isEmpty()){\r\n tmDrillModel = new TMDrillModel(-1);\r\n }else{\r\n tm.importData(results);\r\n tm.trainTopics();\r\n TM_TfidfDriver.idfChecker(results, tm.getAllTopics());\r\n \r\n FeatureStatistics stat = new FeatureStatistics(results.size(), tweetlinks.size(), getAllRetweets(tablename));\r\n tmDrillModel = new TMDrillModel(0, tablename, TM_TfidfDriver.getTopTopics(), stat);\r\n }\r\n \r\n }catch(ClassNotFoundException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }catch(SQLException ex){\r\n Logger.getLogger(tweetHandler.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n \r\n return tmDrillModel;\r\n }", "title": "" } ]
30dd15ec9ce9af2384c9dfa93da2b91c
MongoDB host of the specified database. string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "&lt;=253"];
[ { "docid": "234e6071c78f268e1452b52c1571e7db", "score": "0.0", "text": "@java.lang.Override\n public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n }\n }", "title": "" } ]
[ { "docid": "6d6e64334199d4a4d05ee9887b00f6e3", "score": "0.6430559", "text": "void setDBHost(String dbHost) {\n\n\t}", "title": "" }, { "docid": "f62e687f62b54af23186da786d7444d5", "score": "0.6010737", "text": "public static String getDBHost()\n {\n return RTConfig.getString(RTKey.DB_HOST);\n }", "title": "" }, { "docid": "58cb041f0bf2d000cec2a3817b2f947a", "score": "0.5830103", "text": "@JsonProperty(\"existingDatabaseHost\")\n public String getExistingDatabaseHost() {\n return existingDatabaseHost;\n }", "title": "" }, { "docid": "04b0c65ed945671e7e77a003bf2a76a4", "score": "0.5682774", "text": "public MongoDBStorage(String user, String db, String psw, String host, Integer port, String gridFSBucketName){\n this.user = user;\n this.db = db;\n this.psw = psw;\n this.host = host;\n this.port = port;\n this.credential = MongoCredential.createCredential(user, db, psw.toCharArray());\n this.options = MongoClientOptions.builder().build();\n this.mongoClient = new MongoClient(new ServerAddress(host, port), credential, options);\n this.database = mongoClient.getDatabase(db);\n this.gridFSBucket = GridFSBuckets.create(this.database, gridFSBucketName);\n this.upsert = false;\n }", "title": "" }, { "docid": "44e0a09755f0ef5d7347073149bfccf0", "score": "0.5631073", "text": "private static MongoDatabase connectDB(){\n MongoClient mongo = new MongoClient( \"10.211.55.3\" , 27017 );\n\n // Creating Credentials\n\n\n // Accessing the database\n MongoDatabase database = mongo.getDatabase(\"ConnectorDB\");\n\n return database;\n }", "title": "" }, { "docid": "df5dd7277e4d40e5939848210c2422c7", "score": "0.55826926", "text": "private MongoClient getMongoClient() throws UnknownHostException {\n MongoConnection connection = new MongoConnection(\"192.168.1.249\", 47017, null, null);\n return new MongoClient(new MongoClientURI(connection.toConnectionUrl(null)));\n }", "title": "" }, { "docid": "b0927d36639bb933255b8bf823b9424f", "score": "0.5562775", "text": "private static MongoDatabase connectToDB(){\n MongoClientURI mongoClientURI = new MongoClientURI(\"mongodb://vaisham92:marias@ds131041.mlab.com:31041/history\");\n mongoClient = new MongoClient(mongoClientURI);\n return mongoClient.getDatabase(\"history\");\n }", "title": "" }, { "docid": "7facaca0a5929e4fbd4bc9290f23b271", "score": "0.5418217", "text": "public static Mongo getMyMongoDb() throws UnknownHostException, MongoException\n {\n\treturn new Mongo(DBStatic.mongoDB_host,DBStatic.mongoDB_port);\n }", "title": "" }, { "docid": "56e8ca9d61315b5e7c98653e9a2b00fb", "score": "0.5360505", "text": "public void setHost(String host) {\n this.host = host;\n }", "title": "" }, { "docid": "56e8ca9d61315b5e7c98653e9a2b00fb", "score": "0.5360505", "text": "public void setHost(String host) {\n this.host = host;\n }", "title": "" }, { "docid": "1c69a7c7d1630e400d6ec590b8e9c043", "score": "0.53571343", "text": "public static DB dbConnection(){\n DB db = mongoClient.getDB(\"mb2\");\n return db;\n }", "title": "" }, { "docid": "56ae5a80146aeb622f9ad422ac924b25", "score": "0.5340786", "text": "public void f(){\n // 连接到 mongodb 服务\n MongoClient mongoClient = new MongoClient( \"localhost\" , 27017 );\n\n // 连接到数据库\n MongoDatabase mongoDatabase = mongoClient.getDatabase(\"lianxi4\");\n mongoDatabase.createCollection(\"lianxi004\");\n System.out.println(mongoDatabase);\n }", "title": "" }, { "docid": "42952bda8a89a9230fa86ca6d9b9c7b1", "score": "0.53360784", "text": "public String host() {\n return host;\n }", "title": "" }, { "docid": "d5a0ee74462924a9df065935331150bc", "score": "0.5327136", "text": "public static DB getDb() throws UnknownHostException, MongoException {\n Mongo m = new Mongo( \"localhost\", 27017 );\n m.setWriteConcern( WriteConcern.SAFE );\n\n DB db = m.getDB( \"test-organization/test-app\" );\n db.authenticate( \"test\", \"test\".toCharArray() );\n return db;\n }", "title": "" }, { "docid": "2ef3f33a24bc9f1bc5c361fe76959c87", "score": "0.5317855", "text": "public String get_host() {\n return this.host;\n }", "title": "" }, { "docid": "19607a505ef4a15aa20550400afc2ca9", "score": "0.53119373", "text": "public void setHost(String host) \r\n\t{\r\n\t\tthis.host = host;\r\n\t}", "title": "" }, { "docid": "37b724d93553e919d4acfd5451206cb8", "score": "0.53116524", "text": "public String host() {\n return this.host;\n }", "title": "" }, { "docid": "ab7602745aee9f5e93e366e7be2fc5c0", "score": "0.5297044", "text": "public void setDatabase(String database_name) {\n this.server_db_name = database_name;\n }", "title": "" }, { "docid": "b71093ca3b12658a107b20c5684faeb3", "score": "0.52848405", "text": "public void setHost(String host)\n\t{\n\t\tthis.host = host;\n\t}", "title": "" }, { "docid": "7d54b37f2481c4f7049f27b313ded4f2", "score": "0.5277647", "text": "public void setHost(String host) {\n\t\tthis.host = host;\n\t}", "title": "" }, { "docid": "2e1acbaf79fc312f5ef66849b655a688", "score": "0.52770656", "text": "yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getMongodbSource();", "title": "" }, { "docid": "bb87c1ed5e958b17a31277ce9d61e54e", "score": "0.52650976", "text": "public Vector<String> getDatabaseNamesFromMongo() throws Exception {\n Vector<String> dbs = new Vector<String>();\n \n if (Const.isEmpty(hostname)) {\n //TODO = what's on the else side here? This button should be disabled until hostname is given...\n return dbs;\n }\n\n MongoClient conn = null;\n MongoDbInputMeta meta = new MongoDbInputMeta(); \n saveMeta(meta);\n try {\n conn = MongoDbInputData.initConnection(meta, new TransMeta());\n List<String> dbNames = conn.getDatabaseNames();\n\n for (String s : dbNames) {\n dbs.add(s);\n }\n\n } catch (Exception e) {\n // TODO: throw new exception here, and report to dialog that an error occurred...\n }finally{\n if (conn != null){\n conn.close();\n conn = null;\n }\n }\n return dbs;\n }", "title": "" }, { "docid": "f775a6e4b934b98e652aa2ab630d9c58", "score": "0.52370584", "text": "@Override\n public void init(){\n MongoClientURI connectionString = new MongoClientURI(\"mongodb://mongouser:mongopass@ds123399.mlab.com:23399/project4mongo\");\n MongoClient mongoClient = new MongoClient(connectionString);\n MongoDatabase database = mongoClient.getDatabase(\"project4mongo\");\n collection = database.getCollection(\"books\");\n }", "title": "" }, { "docid": "aaf0472193e132ff0ea17cf924c2e02c", "score": "0.5208133", "text": "public String getHost() {\r\n\t\treturn host;\r\n\t}", "title": "" }, { "docid": "3a758e48cd6ae005b0411f8fb6a4d914", "score": "0.5197714", "text": "public void createConnection(String dbname)\n{\n\ttry {\n\t\t mongoClient = new MongoClient(new MongoClientURI(MongoBD.COLLECTION_URL_BD));\n\t\t database = mongoClient.getDB(dbname);\n\t} catch (UnknownHostException e) {\n\t\t// TODO Auto-generated catch block\n\t\te.printStackTrace();\n\t}\n}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.51901907", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.51901907", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "3eef84cf3cace1d4c9cb87ad49302aff", "score": "0.51901907", "text": "public String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "7624aa4837c57d892ad4ec912e647eb3", "score": "0.5189706", "text": "MongoClient getMongoClient();", "title": "" }, { "docid": "07b2a240e8cd873d20773f2e4e1e6236", "score": "0.5185103", "text": "public void setHost(String v) {\n this.host = v;\n }", "title": "" }, { "docid": "0960d3d13af0789c9c10d42fe5ed992f", "score": "0.5171806", "text": "public String getHost() {\n\n\t\treturn host;\n\t}", "title": "" }, { "docid": "6ad5766c84607b18b9f08d80ff9be704", "score": "0.516278", "text": "public void connect()\n\t{\n\t\ttry\n\t\t{\n\t\t\tthis.mongoClient = new MongoClient( \"localhost\" , 27017 );\n\t\t\tthis.db = mongoClient.getDB(this.database);\n\t\t}\n\t\tcatch (UnknownHostException e)\n\t\t{\n\t\t\tSystem.out.println(\"Unable to connect to MongoDB Server!\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t}", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "2a4a0625f42ab1dbfe097c4ef4db2ee7", "score": "0.51587266", "text": "public String getHost() {\n return host;\n }", "title": "" }, { "docid": "dc919ce34f7040dbe38894486ad7700a", "score": "0.5145961", "text": "public void setExistingDatabaseHost(String existingDatabaseHost) {\n this.existingDatabaseHost = existingDatabaseHost;\n }", "title": "" }, { "docid": "1bbe8bfec8699d057bda81fc43c6035c", "score": "0.514521", "text": "default MongoDatabase getDBConnection() {\n\t\treturn DBConnecton.getConnection();\n\t}", "title": "" }, { "docid": "56343597f5143710f8abc25c93c86960", "score": "0.51293486", "text": "public String getHost() {\n return this.host;\n }", "title": "" }, { "docid": "ba82097f40976f786f6f1be5e69746fc", "score": "0.51257354", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "25b22cc5a8e80f02732a0735bd5fdd4e", "score": "0.5124801", "text": "java.lang.String getHost();", "title": "" }, { "docid": "a7e037289fc7be16cc89f958949afdfc", "score": "0.51132405", "text": "public String getHost() {\r\n\t\treturn this.host;\r\n\t}", "title": "" }, { "docid": "71026a9bee23a75a7002c7fae2baf2c9", "score": "0.51041913", "text": "public String getHost()\n {\n return host;\n }", "title": "" }, { "docid": "ca78be365eaef08a2481c3c3a387fc79", "score": "0.5100919", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "ca78be365eaef08a2481c3c3a387fc79", "score": "0.5100919", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000200;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "6b9e4b83bb00f883957d208ba3fc6b0f", "score": "0.50947356", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000040;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1fbb19c096bed7c8a44df7540449292f", "score": "0.50918263", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f274f90c45b9ea93eb37d407ba853ed9", "score": "0.5076975", "text": "private DBCollection connectToDb() {\n MongoClient mongoClient = new MongoClient(\"localhost\", 27017);\n\n // Now connect to your databases\n DB db = mongoClient.getDB(\"todolist\");\n System.out.println(\"Connect to database successfully\");\n\n DBCollection coll = db.getCollection(\"mycol\");\n System.out.println(\"Collection mycol selected successfully\");\n return coll;\n }", "title": "" }, { "docid": "4a49da693c8a124b0db75873427d4fea", "score": "0.5075314", "text": "public String getHost() {\n return this.host;\n }", "title": "" }, { "docid": "24269f241e4fcc6fc9ae3f0ade94fe45", "score": "0.5072652", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField1_ |= 0x00000004;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c7e69698745cf18b389998f838300d65", "score": "0.50422454", "text": "boolean isMongoJavaServer();", "title": "" }, { "docid": "80ef3c89288e3ddd5570b9e1608abbf9", "score": "0.50377405", "text": "private Database() {\n\t\tthis.mongoClient = new MongoClient(\n\t\t\t\tnew MongoClientURI(\"mongodb://admin:admin@ds117495.mlab.com:17495/billingpart\"));\n\t\tMorphia morphia = new Morphia();\n\t\tmorphia.mapPackage(\"edu.rosehulman.billingpart\");\n\t\tthis.datastore = morphia.createDatastore(this.mongoClient, \"billingpart\");\n\n\t}", "title": "" }, { "docid": "fb71be16f9c3c94305fff1610468b779", "score": "0.50361043", "text": "void setHost(String host);", "title": "" }, { "docid": "445177aa405eeee82a77e30c7bfb1fee", "score": "0.50320363", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000400;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a13fe8e238a0934ff5c563b50e8ca1b0", "score": "0.5029584", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "672c7972ca798016a772dbf36167a61f", "score": "0.502055", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000800;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "672c7972ca798016a772dbf36167a61f", "score": "0.5020242", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000800;\n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "055895ce10aa23fa3896e34b682c6bd2", "score": "0.5012721", "text": "public DatabaseConnector(String user, String db, String password) {\n\n\t\tMongoCredential credential = MongoCredential.createCredential(user, db, password.toCharArray());\n\t\tclient = new MongoClient(new ServerAddress(\"18.224.202.17\", 27017), Arrays.asList(credential));\n\t\tthis.db = client.getDatabase(\"userdata\");\n\t\tuserdata = this.db.getCollection(\"userdata\");\n\t}", "title": "" }, { "docid": "a2a08f3b0c112c38a51250bc2646d283", "score": "0.50023836", "text": "public Boolean initMongoDB() {\n\t\ttry{\n\t\t\tmongo = new MongoClient(MongoDBConnection.getInstance().getHostDatabase(), MongoDBConnection.getInstance().getPortDatabase());\n\t\t\tdb = this.mongo.getDB(MongoDBConnection.getInstance().getDBName());\n\t\t\tcoll = db.getCollection(MongoDBConnection.getInstance().getCollectionName());\n\t\t}catch(UnknownHostException e){\n\t\t\te.printStackTrace();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "9615851e2b4473f65325858c78179a35", "score": "0.50011796", "text": "public MongoDBParameterPatch setDatabase(String database) {\n this.database = database;\n return this;\n }", "title": "" }, { "docid": "65cea441109678e8eb7ce6e66c18683e", "score": "0.5000639", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "65cea441109678e8eb7ce6e66c18683e", "score": "0.5000639", "text": "public Builder setHost(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n host_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "4f79c258daf464fa87e55e18c6597c70", "score": "0.49995425", "text": "public EditRecordOptions host(String host) {\n formParameters.put(\"host\", host);\n return this;\n }", "title": "" }, { "docid": "a7f85f842519ed7c55a9884a04120273", "score": "0.49903715", "text": "public @Bean MongoClientFactoryBean mongo() {\n\t\tMongoClientFactoryBean mongo = new MongoClientFactoryBean();\n\t\tmongo.setHost(\"localhost\");\n\t\treturn mongo;\n\t}", "title": "" }, { "docid": "8be4ededf0fe5cd2dbd0ee635049fabf", "score": "0.49899605", "text": "public static DB createConnection() {\r\n\t\tMongo mongo = null;\r\n\t\tDB db = null;\r\n\r\n\t\ttry {\r\n\t\t String hostname = PropertyUtil.getPropoerty(\"Mongodb.hostname\");\r\n\t int port = Integer.parseInt(PropertyUtil.getPropoerty(\"Mongodb.port\"));\r\n\t\t String dbName = PropertyUtil.getPropoerty(\"Mongodb.db\");\r\n \r\n\t mongo = new Mongo(hostname, port);\r\n\t db = mongo.getDB(dbName);\r\n\t\t log.info(\"Connect to mongo database successfully\");\r\n\t\t}\r\n\t\tcatch(Exception e) {\r\n\t\t log.error(\"Exception occurred during the connection\");\t\r\n\t\t}\r\n\t\treturn db;\r\n\t}", "title": "" }, { "docid": "cd781e4623c55a6a838edb8450f455bd", "score": "0.4988253", "text": "public void connect(){\n\t\ttry {\n\t\t\tmongoClient = new MongoClient(mongoHost, 27017);\n\t\t\tdbDatabase = mongoClient.getDatabase(databaseName);\n\t\t\tcollection = dbDatabase.getCollection(collectionName);\n\t\t\tlog.info(\"Connected to \" + databaseName);\n\n\t\t} catch (Exception e) {\n\t\t\tlog.info(\"Error when opening db\" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "d1ee4f3396c8be9cb6f56b32f142f55f", "score": "0.49855778", "text": "@Override\n public String getHost() {\n return cloudEntity != null ? cloudEntity.getHost() : null;\n }", "title": "" }, { "docid": "3a69c0cfc686798092c0b3b1cd034367", "score": "0.49837646", "text": "yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder getMongodbSourceOrBuilder();", "title": "" }, { "docid": "4c465387529ebd7d0908ec27b80886c5", "score": "0.49790317", "text": "@Override\n public String getHost() {\n return host;\n }", "title": "" }, { "docid": "12493fef4d4c22ce4ecc7036ae9e1781", "score": "0.497581", "text": "public void setDatabase(String v) {\n this.database = v;\n }", "title": "" }, { "docid": "5817fa9f8f26f037e39657184950847a", "score": "0.49579328", "text": "public String getHost()", "title": "" }, { "docid": "a0d026d8b9c90b380124c6691954c2d3", "score": "0.49469355", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "9a4378aad10c25b466b431dc4f8c6070", "score": "0.49115917", "text": "public void setHost(com.vmware.converter.ManagedObjectReference host) {\r\n this.host = host;\r\n }", "title": "" }, { "docid": "5b085c7f1fb40f329fcda5c88642268c", "score": "0.49048287", "text": "void setDBPort(String dbPort) {\n\n\t}", "title": "" }, { "docid": "e3732d6062ba39455d9f2006e29f9e7c", "score": "0.48928154", "text": "public MongoDatabasePL(){\n\n }", "title": "" }, { "docid": "df862693da971bc382f64ef14c7ac32c", "score": "0.48897764", "text": "public MongoDatabase getDBAdmin() {\n return getDB(\"admin\");\n }", "title": "" }, { "docid": "6a7ae2e25ce671da8d7429cf79a84aa6", "score": "0.4886049", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "6a7ae2e25ce671da8d7429cf79a84aa6", "score": "0.4886049", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "0a95885bf502abd1c22455c42360c393", "score": "0.48773375", "text": "public String getHost()\r\n {\r\n return m_host;\r\n }", "title": "" }, { "docid": "1fac5d6ccae7421339dfc72ff5dc0f3b", "score": "0.48760498", "text": "public com.vmware.converter.ManagedObjectReference getHost() {\r\n return host;\r\n }", "title": "" }, { "docid": "0e54af17a0e73a1f246da4a12cdb9029", "score": "0.4861181", "text": "@ManagedAttribute(description=\"The endpoint server name or IP address\")\n\tpublic String getHost() {\n\t\treturn host;\n\t}", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.4854282", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.4854282", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.4854282", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.4854282", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.4854282", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "5534b8960df974abce747c775f0bf86e", "score": "0.48530462", "text": "public java.lang.String getHost() {\n java.lang.Object ref = host_;\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 host_ = s;\n }\n return s;\n }\n }", "title": "" } ]
2df385a197612cf5003fc226401bc00d
Delivers the punch line.
[ { "docid": "b045b5710b49cd0509d51e0ebc2f2a08", "score": "0.0", "text": "public synchronized String who() {\n if (state != JokeState.INPROGRESS) {\n throw new IllegalStateException(\"Command 'who' only valid in INPROGRESS state, current state is \" + state);\n }\n state = JokeState.READY;\n return joke.getPunchLine();\n }", "title": "" } ]
[ { "docid": "8c8bca53f32fbce7cad64c767a6d092d", "score": "0.6372956", "text": "@Override\n\tpublic void punch() {\n\t\t\n\t}", "title": "" }, { "docid": "8c8bca53f32fbce7cad64c767a6d092d", "score": "0.6372956", "text": "@Override\n\tpublic void punch() {\n\t\t\n\t}", "title": "" }, { "docid": "0ee0c4633af1b29edad3cae3b9fd57c0", "score": "0.5523262", "text": "@Override\n\tpublic synchronized void flyToDeparturePoint () throws RemoteException{\n\t\t\n\t\tint pilotState;\n\t\t\n\t\ttry{ \n\t\t\tsleep ((long) (3 + 100 * Math.random ()));\n\t\t}\n\t\tcatch (InterruptedException e) {}\n\n\t\tpilotState = PilotStates.FLYINGBACK;\n\t\trepos.setPilotState (pilotState);\n\t\tGenericIO.writelnString (\"\\u001B[45mPLANE FLYING TO DEPARTURE AIRPORT \\u001B[0m\");\n\t}", "title": "" }, { "docid": "bf1e516fe0b9f3105a302dbeccb1dd7c", "score": "0.54462487", "text": "private void hunt()\n {\n //Debug info\n EvoConstants.debug(\"\\nCarnivore \" + getID() + \" (\" + point.x + \", \" + point.y + \") is on the hunt!\");\n EvoConstants.debug(\"Potential targets at:\");\n for (int i = 0; i < prey.size(); i++)\n {\n EvoConstants.debug(\"\" + prey.get(i).x + \", \" + prey.get(i).y + \" (dist = \" + this.point.distance(prey.get(i)) + \")\");\n }\n\n //Rearrange by distance to target, closest first\n Collections.sort(prey, new SortByClosest(this.point));\n\n //More Debug\n EvoConstants.debug(\"\\nOrdered by distance, they are at:\");\n for (int i = 0; i < prey.size(); i++)\n {\n EvoConstants.debug(\"\" + prey.get(i).x + \", \" + prey.get(i).y + \" (dist = \" + this.point.distance(prey.get(i)) + \")\");\n }\n\n //Target is the closest thing\n Point foodPosition = prey.get(0);\n\n EvoConstants.debug(\"Closest prey is at \" + foodPosition.x + \", \" + foodPosition.y + \"\\n\");\n\n //if we're not next to it, chase it\n if (!isAdjacent(foodPosition))\n {\n towards(foodPosition);\n }\n }", "title": "" }, { "docid": "5185fb20bae24534e406a067de299c81", "score": "0.54344225", "text": "public void plantHop() {\n plant();\n hop();\n }", "title": "" }, { "docid": "d3141009d968481ef75dfd2ac144314a", "score": "0.52818775", "text": "@Override\n protected Piece demote() {\n return this;\n }", "title": "" }, { "docid": "7627157cc9b584d42fd46b1eabd22436", "score": "0.52691394", "text": "@Override\r\n\tpublic void poop() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8d7b4a06d9951ef21a4dfb528a28436f", "score": "0.52555317", "text": "public void releasePerson() {\n getWorld().removeObject(rideLine[0]); // Remove the person at smallest index from the world\n \n // If there is at least one person in the ride line///\n if(numPerson >= 1) {\n \n // For each person in the ride line...\n for(int index = 1; index < numPerson; index++) {\n rideLine[index - 1] = rideLine[index]; // Subtract one from their current index\n rideLine[index].move(25); // Move each person 25 pixels to the right\n }\n increment -= 25; // Decrease increment by 25\n numPerson--; // Decrement \"numPerson\" by one\n }\n // Else, return the method\n else {\n return;\n }\n }", "title": "" }, { "docid": "d3abccd7bddc85061dd68ccf714551aa", "score": "0.52313274", "text": "public void hopPlant() {\n hop();\n plant();\n }", "title": "" }, { "docid": "42cd4741941e5cf394ef14f945edaab8", "score": "0.52215487", "text": "private void spreadPheromone() {\n\n\t\tfloat newPheromones = pheromoneAmount / (path.size() ^ 2);\n//\t\tArrayList<Node> route = new ArrayList<Node>();\n\n\t\t// Add to route unique from path\n//\t\tfor (int i = 0; i < path.size(); i++) {\n//\t\t\tif (!route.contains(path.get(i))) {\n//\t\t\t\troute.add(path.get(i));\n//\t\t\t}\n//\t\t}\n\n\t\tfor (int i = 0; i < path.size(); i++) {\n\t\t\tpath.get(i).updatePheromoneLevel(newPheromones);\n\t\t}\n\t\t// Not very readable like this, but keeps the message in 1 part with\n\t\t// treating.\n\t\t//System.out.println(\"Ant: \" + brain + \"\\nReached the end in \" + path.size() + \" steps.\\nReleasing \" + newPheromones + \" onto the path.\\n\");\n\t}", "title": "" }, { "docid": "d54881162e738886fda76c562bd10fda", "score": "0.5215995", "text": "public final void drawShotLine()\n {\n for ( float distance = 0.0f; distance < iShotRange; distance += 0.01f )\n {\n FX.launchDebugPoint\n (\n new LibVertex\n (\n iSrcPoint.x - LibMath.sinDeg( iRotZ ) * distance,\n iSrcPoint.y - LibMath.cosDeg( iRotZ ) * distance,\n iSrcPoint.z - LibMath.sinDeg( iRotX ) * distance\n ),\n LibColors.EYellow,\n 50,\n DebugSettings.DEBUG_POINT_SIZE\n );\n }\n }", "title": "" }, { "docid": "ff448e26c2a8487a32a48d3cb2ce204d", "score": "0.52035475", "text": "public void lineFrom(MPPoint p) {\n\t\tbuffer.writeShortBigEndian(MacPictOpcodes.LINE_FROM);\n\t\twritePoint(p);\n\t}", "title": "" }, { "docid": "a463bf01e21f669fedb0060a7b7aaea7", "score": "0.5186476", "text": "private void releasedLine()\n {\n if ((Math.abs(originX - mouseX) + Math.abs(originY - mouseY)) != 0)\n {\n doneDrawing = true;\n appendAndSend(new WhiteboardShapeLine(id(), spinModel.getNumber()\n .intValue(), currentColor,\n new WhiteboardPoint(originX, originY), new WhiteboardPoint(\n mouseX, mouseY), s2w));\n }\n }", "title": "" }, { "docid": "d0bdc62b6e4fc7d38d1c1cb82398cee7", "score": "0.51825947", "text": "@Override\n\t\tpublic void performPass() {\n\n\t\t\tthis.inside.open();\n\n\t\t\tfor (LineAdaptor a : adaptors) {\n\t\t\t\ta.clearAndCopy(inside);\n\t\t\t}\n\n\t\t\tthis.inside.close();\n\n//\t\t\t;//System.out.println(\" line now <\" + inside.getUnderlyingGeometry() + \">\");\n\n\t\t}", "title": "" }, { "docid": "6689f011fb970b8cdb1a055705689566", "score": "0.5149851", "text": "public void putDownPlate() {\r\n bin.push(hands[0].tossPlate());\r\n }", "title": "" }, { "docid": "7e7b18df63786e48fd10217727346524", "score": "0.51337016", "text": "public void step() {\r\n int moveTo = inHand.getRank();\r\n if (moveTo == 13) {\r\n moveTo = 0;\r\n }\r\n clock[moveTo].discard(inHand);\r\n inHand = clock[moveTo].draw();\r\n }", "title": "" }, { "docid": "b89587c9ee73b2896ed0e548356a0f5f", "score": "0.5068607", "text": "private void translatePunt() {\n generateOneLine(markLineAsUntouched(unit.getCurrentLine().getLine()));\n unit.advance();\n }", "title": "" }, { "docid": "f8840bb03633800206a89513a3d1b5d1", "score": "0.5061564", "text": "private void upTouch() {\n mPath.lineTo(mX, mY);\n }", "title": "" }, { "docid": "917e84512c79e3922a4c310a4955d156", "score": "0.5041958", "text": "@Override\n\tpublic void downSlip() {\n\n\t}", "title": "" }, { "docid": "257fdbf90132e63f32b45df290f70fc3", "score": "0.49807307", "text": "private void pullLine() {\n // Only current layer?\n boolean currLayer = pullLinePanel.isCurrentLayer();\n \n // Get the mouse position.\n FPointType fptMousePos = drawingPad.getMousePositionMeasurement();\n \n // Select on the vertex and get the selected items as a TransformDesign.\n drawingPad.getDesign().selectLines(getPointBounds(fptMousePos), true, currLayer);\n TransformDesign dTransform = TransformDesign.selectItems(drawingPad);\n \n // If the user clicked on a line then pull it apart.\n if (dTransform != null) {\n dTransform.setMoved(currLayer);\n dTransform.setBeizerControls(false);\n \n drawingPad.setSelectedItems(dTransform);\n dTransform.pullLineApart(fptMousePos);\n dTransform.setBeginPosition(fptMousePos);\n } \n \n drawingPad.repaint();\n }", "title": "" }, { "docid": "98512abc831edda04f9b4f79c7b623e2", "score": "0.4960391", "text": "private void touchUp ()\n {\n if (!invalid)\n {\n // draw the path line to the most recent coordinate\n freehandCrop.pathLineTo(freehandCrop.getX(), freehandCrop.getY());\n freehandCrop.cropPathLineTo(freehandCrop.getX() - bitmapLeft, freehandCrop.getY() - bitmapTop);\n freehandCrop.setEndCoordinates(new Point((int) freehandCrop.getX(), (int) freehandCrop.getY()));\n // add the path to the list\n freehandCrop.addDrawPath(new DrawPath(Color.WHITE, 5, freehandCrop.getPath()));\n // draw the path line and the adjusted crop line\n freehandCrop.pathMoveTo(freehandCrop.getStart().x, freehandCrop.getStart().y);\n freehandCrop.cropPathMoveTo(freehandCrop.getStart().x, freehandCrop.getStart().y - bitmapTop);\n freehandCrop.pathLineTo(freehandCrop.getEnd().x, freehandCrop.getEnd().y);\n freehandCrop.cropPathLineTo(freehandCrop.getEnd().x, freehandCrop.getEnd().y - bitmapTop);\n }\n invalid = false;\n }", "title": "" }, { "docid": "5fcc331587dd6995aaac9c72b0a5131d", "score": "0.49584746", "text": "public void snapBack (int x, int y, Pile p)\n {\n \tint pile = findPile (x, y);\n \tif (pile != -1)\n \t{\n \t\tpiles [pile].addPile (p);\n \t}\n \telse if (isDepositClicked (x, y))\n \t{\n \t\tdeposit.addCard (p.removeCard (0));\n \t}\n\n }", "title": "" }, { "docid": "2dd059f3ffb4792775d49fa8e6b6708c", "score": "0.49274105", "text": "public void passPlate() {\r\n hands[0].catchPlate(hands[1].tossPlate());\r\n }", "title": "" }, { "docid": "7c6e4f5182af6a7c43e1524d2e969bfc", "score": "0.49122658", "text": "public void joinPump(Pump shortestPump, Person person) {\r\n\t\tshortestPump.queue.put(person);\r\n\t}", "title": "" }, { "docid": "124f27e642f2d38456ed132f18b2c459", "score": "0.49097848", "text": "public void detach() {\n\t\tline.detach();\n\t}", "title": "" }, { "docid": "d0ba4d975063010409e76badf6f011a0", "score": "0.4906785", "text": "public Punch getOutPunch(){\n if(gPunch1 == null || gPunch2 == null)\n return null;\n else if(gPunch1.getTime().compareTo(gPunch2.getTime()) >= 0)\n return gPunch1;\n else\n return gPunch2;\n }", "title": "" }, { "docid": "2aebb3687e80628aa2335ea8de49f770", "score": "0.48929623", "text": "@Override\n\tpublic void upSlip() {\n\n\t}", "title": "" }, { "docid": "1e14683f8e00714f77280be6293f1c1c", "score": "0.4890822", "text": "public void downPrime()\n {\n d();\n d();\n d();\n updateCube();\n solution.add(Move.DOWN_P);\n }", "title": "" }, { "docid": "cba9f587e7321046d59657f574200de6", "score": "0.48697522", "text": "@Override\n\tpublic void addPunch(float forceX, float forceY, float forceZ){}", "title": "" }, { "docid": "d9d437ae2cb31033b8ac71d67d5e6065", "score": "0.48577288", "text": "@Override\n\tpublic void breakdown() {\n\t\tSystem.out.println(\"Motorcycle needs repair.\");\n\n\t}", "title": "" }, { "docid": "7f901f00d68995e61843c11c1cb0bc42", "score": "0.4847755", "text": "public void pickHop() {\n pick();\n hop();\n }", "title": "" }, { "docid": "24453de9c94e10e55b01f5569280acef", "score": "0.4835747", "text": "@Override\n public void collidedWith (Participant p)\n {\n if (p instanceof MediumAlienShipDestroyer)\n {\n //incrementing the counter for the alien ship stats\n controller.smallAlienShipCounter++;\n \n // Expire the alien ship from the game and add 200 point to the player\n controller.AlienShipSwitchDirection();\n \n //play the alien ship sound when it crashes\n controller.alienShipBang();\n \n //expire the alien ship\n Participant.expire(this);\n \n //creates the debris\n controller.addParticipant(new Debris(p.getX(), p.getY(), 0, 5));\n controller.addParticipant(new Debris(p.getX(), p.getY(), Math.PI / 2, 5));\n controller.addParticipant(new Debris(p.getX(), p.getY(), Math.PI, 5));\n\n //add to the score \n controller.score(200);\n \n //stop playing the alien ship sound\n controller.bigSaucerClip.stop();\n }\n\n }", "title": "" }, { "docid": "4ff01a4f55b784ea6637e1a0dd29edc5", "score": "0.48302093", "text": "public void endCollide(Prisoner p)\n\t{\n\t\treturn;\n\t}", "title": "" }, { "docid": "4b517246edcd0be039f522ba406dc1eb", "score": "0.48286265", "text": "public Pirate setCamperPosition(){\n Pirate enemyCapsuler;\n int numOfEnemyShips = game.getEnemyMotherships().length;\n Mothership enemyMothership = game.getEnemyMotherships()[0];\n int firstLayer = 0, maxPush = game.pushDistance, layer1 = maxPush;\n int layer2 = (maxPush * 2) - 1;\n if (numOfEnemyShips < 2 && numOfEnemyShips > 0) {\n enemyCapsuler = getCapsulerToDefend(game.getEnemyMotherships()[0]);\n if (enemyCapsuler != null && enemyCapsuler.stateName.equals(\"heavy\")) {\n firstLayer = 1;\n } else {\n firstLayer = 2;\n }\n if (camperCounter < firstLayer) {\n if (enemyCapsuler == null)\n destination = enemyMothership;\n else\n destination = enemyMothership.getLocation().towards(enemyCapsuler, layer1);\n } else {\n if (enemyCapsuler == null)\n destination = enemyMothership.getLocation().towards(game.getEnemyCapsules()[0], 800);\n else\n destination = enemyMothership.getLocation().towards(enemyCapsuler, layer2);\n }\n if (enemyCapsuler != null) {\n if (enemyCapsuler.distance(this.pirate) < 600 && this.pirate.pushReloadTurns < 1 && enemyCapsuler.hasCapsule()) {\n destination = enemyCapsuler;\n }\n }\n\n } else {\n List<Mothership> enemyMotherShips = Arrays.asList(game.getEnemyMotherships());\n List<Capsule> enemyCapsules = Arrays.asList(game.getEnemyCapsules());\n List<Mothership> best = Engine.getBestEnemyBase(enemyMotherShips, enemyCapsules);\n enemyCapsuler = getCapsulerToDefend(best.get(0));\n if (camperCounter < 2) {\n if (enemyCapsuler == null) {\n destination = best.get(0);\n } else {\n destination = best.get(0).getLocation().towards(enemyCapsuler, layer1);\n }\n } else if (camperCounter < 5) {\n if (enemyCapsuler == null) {\n destination = best.get(0).getLocation().towards(game.getEnemyCapsules()[0], 1000);\n } else {\n destination = best.get(0).getLocation().towards(enemyCapsuler, layer2);\n }\n\n } else if (best.size() > 1) {\n enemyCapsuler = getCapsulerToDefend(best.get(1));\n if (enemyCapsuler == null) {\n destination = best.get(1).getLocation().towards(game.getEnemyCapsules()[0], 1000);\n } else {\n destination = best.get(1).getLocation().towards(enemyCapsuler, layer2);\n }\n } else {\n destination = best.get(0).getLocation().towards(enemyCapsuler, 1400);\n }\n if (enemyCapsuler != null) {\n if (enemyCapsuler.distance(this.pirate) < 601) {\n destination = enemyCapsuler;\n }\n }\n\n }\n return enemyCapsuler;\n }", "title": "" }, { "docid": "2dfa0a98bcb30e30bf46f8ad73162e2f", "score": "0.48199892", "text": "@Override\n void clipOrDrawPath(Path path, double[] projectedPoint, double[] nextProjectedPoint, double[] screenPoint) {\n if (pathLineToReady) {\n path.lineTo( (float) screenPoint[0], (float) screenPoint[1] );\n } else {\n path.moveTo( (float) screenPoint[0], (float) screenPoint[1] );\n pathLineToReady = true;\n }\n }", "title": "" }, { "docid": "53533eff7b54e920fb8a73f40ef2fd24", "score": "0.47953203", "text": "@Override\n public String toTherion()\n {\n StringWriter sw = new StringWriter();\n PrintWriter pw = new PrintWriter(sw);\n pw.format(\"line shot\" );\n pw.format(\"\\n\");\n\n for ( Vector pt : mLine.points ) {\n pt.toTherion( pw );\n }\n pw.format(\"endline\\n\");\n return sw.getBuffer().toString();\n }", "title": "" }, { "docid": "2c92325ddad15a86d68d483a7ddd0743", "score": "0.4793074", "text": "private void eliminateDeadPhis() {\r\n DeadAssignmentElimination.perform(this);\r\n }", "title": "" }, { "docid": "a0067b9e589f73b8b97be4a1729e0013", "score": "0.47902328", "text": "public void hopPick() {\n hop();\n pick();\n }", "title": "" }, { "docid": "1bd25604cca1607abfe5664f4baa2fd7", "score": "0.47894594", "text": "public void line(MPPoint p1, MPPoint p2) {\n\t\tbuffer.writeShortBigEndian(MacPictOpcodes.LINE);\n\t\twritePoint(p1);\n\t\twritePoint(p2);\n\t}", "title": "" }, { "docid": "bc83f1f210c96c44a39927a191cba7d2", "score": "0.47867775", "text": "@Override\n public void makeNextMove()\n {\n\n prey = new Vector<Point>(findPrey());\n\n if (prey.size() > 0)\n {\n hunt();\n }\n else\n {\n super.makeNextMove();\n }\n }", "title": "" }, { "docid": "0c098325961fb22ed314eb1f144bc890", "score": "0.47864962", "text": "public void getout(Person p) { \n\t\tblockout.lock();\n\t\ttry { \n\t\t\tbathroom_users.remove(p);\n\t\t\tSystem.out.println(\" >> \" + p.getName() + \" get out | [people in the bathroom] \" + bathroom_users.size()); \n\t\t\t \n\t\t\t// notify the next person that the someone get out \n\t\t\tif (this.bathroom_users.isEmpty())\n\t\t\t\tline.notifyThread(); \n\t\t} finally {\n\t\t\tblockout.unlock();\n\t\t}\n\t}", "title": "" }, { "docid": "a883b2288540713baf0bd1dfd88a31b0", "score": "0.47825283", "text": "public void redoLine() { //Wird gebraucht falls eine Linie\n\t\tthis.randomZahl(5); //bereits vorhanden ist\n\t\tthis.pathSelector();\n\t\tthis.addImage();\n\t}", "title": "" }, { "docid": "e29d582fddfda2994c4eda88b21dc535", "score": "0.47817215", "text": "@Override\n\t\n\tpublic void landedOn(Piece piece) {\n\t\t// TODO Auto-generated method stub\n\t\tpiece.getOwner().receivePayment(300);\n\t}", "title": "" }, { "docid": "5ba8f2108cf7947eeb4d3a253f37d850", "score": "0.47619027", "text": "public void stepInto() {\n synchronized (this) {\n suspended = false;\n stepping = STEP_INTO;\n this.notify();\n }\n }", "title": "" }, { "docid": "eae0247e5f595ee6cbfbb79e609cffa3", "score": "0.47458276", "text": "public static void desP (int wdt, int ht) {\n Line.doHor((wdt-2));\n Line.doLRVer(((ht-4)/2),wdt);\n Line.doHor((wdt-2));\n Line.doLVer(((ht-4)/2));\n }", "title": "" }, { "docid": "4af7110fccbbc28a7b1af51e972f358e", "score": "0.4740085", "text": "protected void toolTakeDown() {\n\t\t\n\t}", "title": "" }, { "docid": "7b28f86f2a65267ba9854471df1d5f25", "score": "0.47390673", "text": "protected void takeDown() {\n\t\tSystem.out.println(\"Player \" + getAID().getName() + \" Finished.\");\n\t}", "title": "" }, { "docid": "2a0dc1923fe0491392f561d00aa11ce5", "score": "0.473428", "text": "private String markLineAsUntouched(String... linePieces) {\n return \"// \" + Joiner.on(\"\").join(linePieces) + \"; // UNTOUCHED\";\n }", "title": "" }, { "docid": "dc2ce1bfc4800aa9af507f4056b0f000", "score": "0.47258288", "text": "public void launchLevelProduction() throws ExceptionDukeNotPlayer {\n\t\tif (this.duke.getType() == DukeType.BARON)\n\t\t\tthrow new ExceptionDukeNotPlayer(this.duke, \"launchLevelProduction\");\n\t\tProduction production = new LevelProduction(this);\n\t\tthis.productions.add(production);\n\t\tthis.treasure -= production.getCost();\n\t}", "title": "" }, { "docid": "06938411a20bd718719614075fa66dec", "score": "0.47254974", "text": "public void gereDeplacementSingePirate()\n\t{\n\t\tfinal Pirate pirate = this.getMonkeyIsland().getPirate();\n\t\tif (this.getX() == pirate.getX() \n\t\t\t\t&& this.getY() == pirate.getY()) {\n\t\t\tpirate.tuerPirate();\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "d55eb1e4efe7b81eb813b77c62b47cb1", "score": "0.4721555", "text": "@Override\n protected void manHuntPlayer() {\n\n Coordinates middle = Rectangle.findMiddleCoor(ownPosition);\n Rectangle nexus = new Rectangle(middle.getX() - 3, middle.getX() + 3, middle.getY() - 3, middle.getY() + 3);\n\n\n\n currentPlayerPosition.setCoordinates(Rectangle.findMiddleCoor(player1));\n\n if (!oldPlayerPos.equals(currentPlayerPosition) || currentStep == null) {\n oldPlayerPos.setCoordinates(currentPlayerPosition.getX(), currentPlayerPosition.getY());\n\n path = pathfinder.createPath(\n ownPosition, currentPlayerPosition,\n map\n );\n if (path != null && !path.isEmpty()) {\n currentStep = path.pop();\n }\n }\n\n if (currentStep != null) {\n if (Rectangle.isInBox(nexus, currentStep)) {\n\n if (path != null && !path.isEmpty())\n currentStep = path.pop();\n else\n currentStep = null;\n }\n }\n go(middle, nexus);\n }", "title": "" }, { "docid": "b60edafd207c9db3fe4c7429b3810488", "score": "0.4714959", "text": "private void releasedPolyline(boolean fill)\n {\n if (logger.isDebugEnabled())\n logger.debug(\"[log] : releasedPolyline\");\n doneDrawing = true;\n appendAndSend(new WhiteboardShapePolyLine(id(), spinModel.getNumber()\n .intValue(), currentColor, pathList, fill, s2w));\n pathList.clear();\n }", "title": "" }, { "docid": "968bbaa121d9be53a5ba8f349cb1b7c6", "score": "0.4711283", "text": "public void sendHardPunchHighscore() {\n\t\tsetSend(SEND_HARDPUNCH_HIGHSCORE);\n\t}", "title": "" }, { "docid": "e16b05f53de454d96f0ed3609c5a593d", "score": "0.46952114", "text": "public static void main (String[] args) { \r\n\t\tint playerHealth = 50, computerHealth = 50; // Represents the users and computer's health respectively.\r\n\t\t\r\n\t\tRandom rand = new Random();\r\n\t\t\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tString action; \r\n\r\n\t\tSystem.out.println(\"Welcome to Ultimate Punch!!!\" + \"\\n\" + \"Get ready to fight!\"); // Introduction to the game when the program runs.\r\n\t\tSystem.out.println();\r\n\t\t\r\n\t\t// Represents the battle mechanics between the user and the computer, and determines who will attack in each turn.\r\n\t\twhile (computerHealth > 0 && playerHealth > 0) { // As long as neither player has a health of zero or below, the battle ensues (while loop continues).\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"Press enter to Punch or anything else to Block.\"); // Dialogue that is given during each turn for the user.\r\n\t\t\taction = scan.nextLine();\r\n\t\t\t\r\n\t\t\tint turnToPunch = rand.nextInt(2) + 1; // Determines who swings in each turn (who delivers damage) using a random number of 1 or 2.\r\n\t\t\t\r\n\t\t\t// Determines that the user player will deliver damage to the computer.\r\n\t\t\tif (turnToPunch == 1) {\r\n\t\t\t\tint damage = rand.nextInt(10) + 1; // Damage that is delivered is between a value of 1 - 10 by the user.\r\n\t\t\t\t\r\n\t\t\t\t// Determines that if \"turnToPunch\" = 1, then the player can attack if he/she presses enter.\r\n\t\t\t\tif (action.equals(\"\")) {\r\n\t\t\t\t\tSystem.out.println(\"You swung first and your punch caused \" + damage + \" damage to the computer.\"); \r\n\t\t\t\t\t\r\n\t\t\t\t\t// Dictates that after an attack is done by the user, the computer's health is given a new value relating to the user's damage.\r\n\t\t\t\t\tcomputerHealth = computerHealth - damage;\r\n\t\t\t\t\tSystem.out.println(\"Your health: \" + playerHealth + \"\\n\" + \"The computer's health: \" + computerHealth);\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"---------------------------------------------------------\"); // Separates the dialogue of each turn.\r\n\t\t\t\t}\r\n\t\t\t\t// Represents any input key other than enter which dictates that the user is blocking. \r\n\t\t\t\telse {\r\n\t\t\t\t\tdamage = 0; // When the user blocks, 0 damage is taken.\r\n\t\t\t\t\tSystem.out.println(\"You have blocked and taken \" + damage + \" damage.\");\r\n\t\t\t\t\tSystem.out.println(\"Your health: \" + playerHealth + \"\\n\" + \"The computer's health: \" + computerHealth);\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"---------------------------------------------------------\"); // Separates the dialogue of each turn.\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Represents the computer attacking if \"turnToPunch\" = 2.\r\n\t\t\telse {\r\n\t\t\t\t// Shows that if the player chooses to block when the computer is able to hit, 0 damage is taken.\r\n\t\t\t\tif (!action.equals(\"\")) {\r\n\t\t\t\t\tint damage = 0;\r\n\t\t\t\t\tSystem.out.println(\"You have blocked and taken \" + damage + \" damage.\");\r\n\t\t\t\t\tSystem.out.println(\"Your health: \" + playerHealth + \"\\n\" + \"The computer's health: \" + computerHealth);\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"---------------------------------------------------------\"); // Separates the dialogue of each turn.\r\n\t\t\t\t}\r\n\t\t\t\t// Shows that if the user chooses to attack (enter input), the user will receive damage since \"turnToPunch\" = 2. \r\n\t\t\t\telse {\r\n\t\t\t\t\tint damage = rand.nextInt(10) + 1; // Damage that is delivered is between a value of 1 - 10 by the computer.\r\n\t\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"The computer swung first and caused \" + damage + \" damage to you.\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t// Dictates that after an attack is done by the computer, the user's health is given a new value relating to the computer's damage.\r\n\t\t\t\t\tplayerHealth = playerHealth - damage;\r\n\t\t\t\t\tSystem.out.println(\"Your health: \" + playerHealth + \"\\n\" + \"The computer's health: \" + computerHealth);\r\n\t\t\t\t\r\n\t\t\t\t\tSystem.out.println(\"---------------------------------------------------------\"); // Separates the dialogue of each turn.\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (computerHealth < 1) {\r\n\t\t\tSystem.out.println(\"Congrats! You won the bout!\"); // Dialogue that's given when the user beats the computer.\r\n\t\t}\r\n\t\telse { \r\n\t\t\tSystem.out.println(\"Better luck next time buddy. Keep training.\"); // Dialogue that's given when the computer beats the user.\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "fd1efac2d4f95f958aca8ab36a65b695", "score": "0.46751165", "text": "public void sailToDest() {\n if (!pirate.isAlive()) {\n this.job = Job.DEAD;\n return;\n }\n if (this.didPush) {\n //game.debug(\"Already push\");\n return;\n }\n if (game.getLivingAsteroids().length > 0) {\n//\t\t\tif (Engine.areThereCampers()) {\n//\t\t\t\ttryPushAsteroid(game.getLivingAsteroids()[0], game.getMyMotherships()[0]);\n//\t\t\t}\n//\t\t\ttryPushAsteroid(game.getLivingAsteroids()[0], game.getEnemyCapsules()[0]);\n tryPushAsteroid(Engine.getClosestAsteroid(this.pirate), Engine.pushAsteroidTo(Engine.getClosestAsteroid(this.pirate)));\n if (didPush) {\n return;\n }\n }\n if (this.destination == null) {\n //game.debug(\"No Dest\");\n return;\n }\n if (this.destination.getLocation().row < 0 || this.destination.getLocation().row > game.rows\n || this.destination.getLocation().col < 0 || this.destination.getLocation().col > game.cols) {\n //game.debug(\"This dest Invalid\");\n return;\n }\n // should add: if (pirate.getLocation() != destination) ???\n //pirate.sail(destination);\n PirateNavigator.navigate(this);\n\n }", "title": "" }, { "docid": "4f2765f8bba7e6476e574ad03f6a433a", "score": "0.4670333", "text": "public void dropPheromone() \n {\n\t \n }", "title": "" }, { "docid": "bf87dc2e25c2c48d0e60e11527e7513a", "score": "0.46675646", "text": "@Override\r\n\tpublic void moveDown() {\r\n\t\tPoint positionJoueur = findPlayer();\r\n\t\tappliqueMovement(positionJoueur.x, positionJoueur.y, positionJoueur.x, positionJoueur.y + 1);\r\n\t\tothersThings();\r\n\t}", "title": "" }, { "docid": "48604f1ad992f1eac608d9b0e5b6c912", "score": "0.46585333", "text": "@Override\n\tpublic void squareBehav(Player p, String direction) {\n\t\tSystem.out.println(\"STEPPED ON A Potion\");\n\t\tDungeon dungeon = p.getDungeon();\n\t\tp.changeToPotionState();\n\t\tdungeon.removeEntity(this);\n\t\tsetAlive(false);\n\t}", "title": "" }, { "docid": "8bce3c37ae0a6ad6f3078f80e55bb7cb", "score": "0.46471366", "text": "public void stepOver() {\n synchronized (this) {\n if (DebugUtils.IS_DEBUG)\n DebugUtils.println(\"stepOver on cc=\" + cc + \"...\");\n \n suspended = false;\n stepping = STEP_OVER;\n steppingFrame = cc;\n this.notify();\n }\n }", "title": "" }, { "docid": "82ba3eeaf2edc51d4f21c1174fbe850a", "score": "0.46434665", "text": "public ToolPullLineApart(InterfaceFrameOperation iFrameOperator, DrawingPad drawingPad, PullLineApartPanel pullLinePanel) {\n super(iFrameOperator, drawingPad);\n \n this.pullLinePanel = pullLinePanel;\n }", "title": "" }, { "docid": "7306cd7759d8aa01181eb3048e2201a5", "score": "0.46172807", "text": "public synchronized void proceedToPaddock(){\n HorseJockey horse = ((HorseJockey)Thread.currentThread());\n horse.setHorseState(HorseJockeyState.AT_THE_PADDOCK);\n logger.updateHorseState(horse.getID(), HorseJockeyState.AT_THE_PADDOCK);\n horsesOnPaddock += 1;\n if(horsesOnPaddock >= SimulationParameters.N_HORSE_JOCKEY){\n notifyAll();\n }\n }", "title": "" }, { "docid": "fa3679f480d12b3151f926d5f5da4faa", "score": "0.4616093", "text": "@Override\r\n\tpublic void move() {\n\t\tSystem.out.println(\"Sails... \");\r\n\t}", "title": "" }, { "docid": "5facf55690fa5de25c3117429c0dd6dc", "score": "0.46157825", "text": "public void reverseLine(){\n Stack <String> reversedComingStops = this.pastStops;\n Stack <String> reversedPastStops = this.comingStops;\n this.comingStops = reversedComingStops;\n this.pastStops = reversedPastStops;\n }", "title": "" }, { "docid": "293852f2bd120e2692eed0101cd41ef6", "score": "0.46142763", "text": "private Pair<Action, Integer> moveToPump(Agent agent) {\n\t\tif (w.pumps.contains(agent.coords)) {\n\t\t\treturn refuel(agent);\n\t\t}\n\t\tagent.state = State.MOVING_TO_FUEL;\n\t\tagent.path = Path.movesToPoint(agent.coords, w.getClosestPump(agent.coords));\n\t\treturn new Pair<>(null, agent.path.step());\n\t}", "title": "" }, { "docid": "7629f266380525bc1e6928b1dc65a364", "score": "0.46131295", "text": "@Override\r\n public void spearParry() {\r\n System.out.println(\"PARRYING an attack with SPEAR, nothing special\"); \r\n }", "title": "" }, { "docid": "ec091625fa1294c75966475c9fcc9954", "score": "0.46123224", "text": "public void StraightLineMove() {\r\n\t\tif (enemy1.getFacing() == 'u' || enemy1.getFacing() == 'd') {\r\n\t\t\tenemy1.moveY(enemy1.getXLocation(), enemy1.getYLocation(), enemy1.getFacing());\r\n\t\t} else {\r\n\t\t\tenemy1.moveX(enemy1.getXLocation(), enemy1.getYLocation(), enemy1.getFacing());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c0e26d94bcfe0fec68491d2a395ffe52", "score": "0.46119627", "text": "private void extend(Path p)\r\n {\r\n boolean done = false;\r\n while (!done)\r\n {\r\n p.move();\r\n int row = p.getEndingRow();\r\n int column = p.getEndingColumn();\r\n if (isExit(row, column) || countNeighbors(row, column) != 2)\r\n {\r\n done = true; // Either a straight path or a turn\r\n }\r\n else\r\n {\r\n row = p.getNextRow();\r\n column = p.getNextColumn();\r\n if (!isValid(row, column))\r\n {\r\n p.turn();\r\n row = p.getNextRow();\r\n column = p.getNextColumn();\r\n if (!isValid(row, column))\r\n {\r\n p.turn();\r\n p.turn();\r\n } \r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "70dc77b5005af4064445dc13a17940a0", "score": "0.4611686", "text": "public void printPDDPFtr() {\r\n prDDPins.println(\" \");\r\n }", "title": "" }, { "docid": "c1e2c2738a37581cd4d9136877260987", "score": "0.461072", "text": "public void step() {\r\n\t\tstop_count = 0;\r\n\t\tAgent adjAgent;\r\n\t\tLocationDirection destPos = environment.topology.getAdjacent(getPosition());\r\n\r\n\t\t// FIXME: clean this up, split into step-wall, step-agent, step-food functions\r\n\t\tif (canStep(destPos)) {\r\n\r\n\t\t\tonstepFreeTile(destPos);\r\n\r\n\t\t} else if ((adjAgent = getAdjacentAgent()) != null && adjAgent instanceof ComplexAgent) {\r\n\t\t\t// two agents meet\r\n\r\n\t\t\tComplexAgent adjacentAgent = (ComplexAgent) adjAgent;\r\n\r\n\r\n\t\t\tonstepAgentBump(adjacentAgent);\r\n\r\n\t\t} // end of two agents meet\r\n\t\telse {\r\n\t\t\t// Non-free tile (rock/waste/etc) bump\r\n\t\t\tchangeEnergy(-params.stepRockEnergy.getValue(), new BumpWallCause());\r\n\t\t}\r\n\t\tapplyAgePenalty();\r\n\r\n\t\tif (destPos != null && environment.hasDrop(destPos)) {\r\n\t\t\t// Bumps into drop\r\n\t\t\tDrop d = environment.getDrop(destPos);\r\n\r\n\t\t\tif (d.canStep(this)) {\r\n\t\t\t\td.onStep(this);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t// can't step, treat as obstacle\r\n\t\t\t\tchangeEnergy(-params.stepRockEnergy.getValue(), new BumpWallCause());\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (getEnergy() <= 0)\r\n\t\t\tdie();\r\n\r\n\t\tif (!enoughEnergy(params.breedEnergy.getValue())) {\r\n\t\t\tpregnant = false;\r\n\t\t\tbreedPartner = null;\r\n\t\t}\r\n\r\n\t\tif (canBroadcastBreed()) {\r\n\t\t\t//\t\t\tbroadcast(new BreedBroadcast(getPosition(), this), new BroadcastBreedCause());\r\n\t\t\tbroadcastBreed();\r\n\t\t}\r\n\r\n\t\tif (pregnant) {\r\n\t\t\tpregPeriod--;\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "60f42a4b544df85d724167e4fd80b50a", "score": "0.4602489", "text": "public void removeLine() {\n\n\t}", "title": "" }, { "docid": "e2999c1f23e1ecf50994afffd4d990d2", "score": "0.46021718", "text": "void printShortestPathOmitLine(String origin, String dest, String omitLine) throws Exception {\n\n\t\tVertex<String> omitVertex = getVertex(omitLine);\n\t\tLinkedList<Vertex<String>> omitStations = getStationsOnLine(omitVertex);\n\t\tprintShortestPath(origin, dest, omitStations);\n\t}", "title": "" }, { "docid": "119aa05d19646639a81e6e193e710302", "score": "0.45954412", "text": "@Override\n\tpublic void step() {\n\t\tfly();\n\t}", "title": "" }, { "docid": "9316e17d2fdbb923c1bb79d61eb7542c", "score": "0.4591667", "text": "public void run() {\n\t\tint totalMoney = vessel.getMoney();\n //System.out.println(\"totalMoney: \" + totalMoney);\n\n\t\t/* remove the shipments */\n\t\tvessel.removeShipments();\n\n\t\t/* look at where the oldest shipment is going to */\n\t\tShipment oldestShipment = (Shipment)VesselSim.ports[currPort].getQ().remove();\n\t\tVesselSim.ports[currPort].getQ().add(oldestShipment);\n\n int qSize = VesselSim.ports[currPort].getQ().length();\n\n double earliestTime = Double.MAX_VALUE;\n\t\tfor (int i = 0; i < qSize; i++) {\n\t\t\tShipment tempShipment = (Shipment)VesselSim.ports[currPort].getQ().remove();\n\t\t\tif (tempShipment == null) continue;\n\t\t\tif (tempShipment.getCreationTime() < earliestTime && tempShipment.getDestinationPort() != currPort) {\n\t\t\t\tearliestTime = (int)tempShipment.getCreationTime();\n\t\t\t\toldestShipment = tempShipment;\n\t\t\t}\n\t\t\tVesselSim.ports[currPort].getQ().add(tempShipment);\n\t\t}\n\n\t\tint dest = 1;\n\n do {\n int trialNum = (int)(1000 * Math.random());\n if (trialNum == 0) {\n dest = 6; // 0.1% chance to get to Moon\n } else {\n int trialNum2 = (int)(9 * Math.random());\n if (trialNum2 >= 6) {\n trialNum2++; // skip Moon\n }\n dest = trialNum2;\n }\n } while (dest == currPort);\n\n\t\tif (oldestShipment != null && oldestShipment.getDestinationPort() != currPort) {\n\t\t\tdest = oldestShipment.getDestinationPort();\n\t\t}\n\n System.out.println(\"currPort: \" + currPort + \" dest: \" + dest);\n double interval = getProcessingTime(currPort, dest);\n\n qSize = VesselSim.ports[currPort].getQ().length();\n\t\tfor (int i = 0; i < qSize; i++) {\n\t\t\tShipment tempShipment = (Shipment)VesselSim.ports[currPort].getQ().remove();\n\t\t\t//if (tempShipment == null) continue;\n\t\t\tif (tempShipment.getDestinationPort() == dest) {\n\t\t\t\tboolean isSuccess = vessel.addShipment(tempShipment);\n\t\t\t\tif (!isSuccess) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tVesselSim.ports[currPort].getQ().add(tempShipment);\n\t\t\t}\n\t\t}\n\n\t\t/* If the vessel reaches its departure capacity,\n\t\t * the VesselEvent will create a new VesselEvent and schedule it (via the agenda)\n\t\t * for the arrival at the next stop at a time in the future depending on the distance to that port\n\t\t * from the current one */\n\n\t\t/* If the vessel hasn’t reached its departure capacity\n\t\t* by the time its max wait time has occurred,\n\t\t* the vessel will depart on its own */\n\n\t\tVesselSim.agenda.add(new VesselEvent(dest, vessel), interval);\n\n\t\tSystem.out.println(\"Vessel Event Port: \" + dest +\n\t\t\t\t\", Time is: \" + VesselSim.agenda.getCurrentTime() + \", Next Ferry in: \" + interval);\n\n\t\tdouble totalCost = getDistance(currPort, dest) * vessel.getUnitCost();\n\t\tStat.totalProfit += totalMoney - totalCost;\n\t}", "title": "" }, { "docid": "4283629888916f0cfef6f009fe9d61bb", "score": "0.45858514", "text": "private void turnOffKill() {\n shipSighted = false;\n shipDirection = -1;\n killStep = 1;\n strikeStep = 2;\n extraShip = false;\n }", "title": "" }, { "docid": "b247ec59eceea44bd9c775e080adfe98", "score": "0.4582712", "text": "protected void execute() {\n \tSystem.out.println(\"Lifting\");\n \tRobot.lifter.shooterLifterUp();\n\n }", "title": "" }, { "docid": "3d43eab66f8bcf2ef6326f17613fb330", "score": "0.45816177", "text": "private void startingSpawn(ClientHandler actual, Player player){\n try {\n player.draw();\n } catch (MaxHandSizeException e) {\n player.forceDraw();\n }\n try {\n player.draw();\n } catch (MaxHandSizeException e) {\n player.forceDraw();\n }\n updateBackground(this.match);\n sendString(\"SPW-Discard a power up for spawning,\" +powerUps(player), actual);\n }", "title": "" }, { "docid": "88e0da022c89bed938c4e285cfb6c204", "score": "0.45763406", "text": "public void deplacement() {\r\n \r\n \t\tif (pointd == taille - 1) {\r\n \t\t\tif (on_reverse) {\r\n \t\t\t\treverse = true;\r\n \t\t\t\tinitialise(pointd, (pointd - 1) % taille);\r\n \t\t\t}\r\n \t\t} else if (pointd == 0) {\r\n \t\t\tif (on_reverse) {\r\n \t\t\t\treverse = false;\r\n \t\t\t\tinitialise(pointd, (pointd + 1) % taille);\r\n \t\t\t}\r\n \t\t}\r\n \t\tif (!reverse)\r\n \t\t\taller();\r\n \t\telse if (reverse)\r\n \t\t\tretour();\r\n \t}", "title": "" }, { "docid": "b96a37460510a911cefe369923b0ab31", "score": "0.45704356", "text": "public void tryDropEnemyCapsule(){\n Pirate target = Engine.getClosestEnemyCapsuler(this.pirate);\n if(camperTryPushTarget(target)) return;\n \n target = Engine.getClosestEnemyCapsuler(this.pirate);\n Asteroid asteroid = Engine.getClosestLivingAsteroid(target);\n if(asteroid != null && !Engine.isAsteroidMoving(asteroid) && target.distance(asteroid) - asteroid.size < 600){\n tryPushPirate(target, asteroid);\n }\n else if(target.inRange(Engine.nearestWall(target), this.pirate.pushDistance)){\n tryPushPirate(target, Engine.nearestWall(target));\n }\n else{\n target = getEnemyTarget();\n if(target != null){\n tryPushPirate(target, Engine.nearestWall(target));\n }\n }\n }", "title": "" }, { "docid": "f775455d8d46bbcd60e87d97fba5db66", "score": "0.456808", "text": "public void stepOver() {\n\t\t\n\t\tif(!isRunning()) return;\n\n\t\tLine previousLine = currentLine;\n\t\tdo {\n\t\t\tint nextMethodID = trace.getNextEventIDInMethod(currentEventID);\n\t\t\tif(nextMethodID < 0) nextMethodID = trace.getNextEventIDInThread(currentEventID);\n\t\t\tsetCurrentEventID(nextMethodID);\n\t\t} while(isRunning() && currentLine != null && currentLine == previousLine);\n\t\t\n\t}", "title": "" }, { "docid": "95e39a03f0f38c54cad2876a962bfbef", "score": "0.45593458", "text": "@Override\r\n public void swarm() {\r\n if(probToJoin>0.5f){\r\n isInSwam=true;\r\n }\r\n\r\n }", "title": "" }, { "docid": "be29ac501c979a86213526a4ba53906b", "score": "0.45576432", "text": "@EventHandler (priority = EventPriority.LOW)\n \tpublic void onPiston(BlockPistonExtendEvent event){\n \t\tif(event.isCancelled() || !plugin.getConfig().getBoolean(\"enabled-features.attached-blocks-settings.break-as-gamemode\")){\n \t\t\treturn;\n \t\t}\n \t\tint dest = event.getLength() + 1; // Destination block\n \t\tBlock block = event.getBlock().getRelative(event.getDirection(), dest);\n \t\tif(MaterialAPI.canPistonBreak(block.getType())){\n \t\t\tblock.setType(Material.AIR);\n \t\t\tblocks.removeBlock(block);\n \t\t}\n \t}", "title": "" }, { "docid": "b28c17e3f4befe547d5c264a0b654a2b", "score": "0.4553796", "text": "public final native void setSteppedLine (Boolean steppedLine) /*-{\n\t\tthis.steppedLine = steppedLine;\n\t}-*/;", "title": "" }, { "docid": "67392f29c4a9b33265d91dc4c4a1cc8f", "score": "0.45482618", "text": "public void cardswiped(WaiterInfo waiter) {\n \n }", "title": "" }, { "docid": "0d32185783737c582facc7a847712384", "score": "0.45475405", "text": "@Override\r\n protected void execute() {\r\n intake.shoot();\r\n }", "title": "" }, { "docid": "3c6e603f9759a074c9dbe0e7d26a5b8a", "score": "0.4546708", "text": "public void undisplayMoves( Piece p )\r\n\t{\r\n\t\tplayers[playerIndex].undisplayMoves( p );\r\n\t}", "title": "" }, { "docid": "00467d95a04c6e6f7e5dfd7eb7821107", "score": "0.4538797", "text": "private void moveInStraightLine(double delta) {\n\n\t\tdouble deltaTimeSeconds = delta / 1000.0;\n\t\tdouble rateOfChangeOfX = 0.0;\n\t\tdouble rateOfChangeOfY = 0.0;\n\t\tdouble requiredTimeToReachDestination = 0.0;\n\t\tdouble actualTimeUntilArrivalAtDestination = 0.0;\n\t\tdouble newX = 0.0;\n\t\tdouble newY = 0.0;\n\n\t\tdouble distance = Math.sqrt(Math.pow(instructedPoint.getX()\n\t\t\t\t- currentPointFromPlaneAndTower.getX(), 2)\n\t\t\t\t+ Math.pow(instructedPoint.getY()\n\t\t\t\t\t\t- currentPointFromPlaneAndTower.getY(), 2));\n\n\t\tif (distance > 0) {\n\n\t\t\trateOfChangeOfX = (instructedPoint.getX() - currentPointFromPlaneAndTower\n\t\t\t\t\t.getX()) / distance;\n\t\t\trateOfChangeOfY = (instructedPoint.getY() - currentPointFromPlaneAndTower\n\t\t\t\t\t.getY()) / distance;\n\n\t\t\trequiredTimeToReachDestination = distance / planeSpeed;\n\t\t\tactualTimeUntilArrivalAtDestination = (requiredTimeToReachDestination > deltaTimeSeconds) ? requiredTimeToReachDestination\n\t\t\t\t\t: deltaTimeSeconds;\n\n\t\t\t/*\n\t\t\t * System.out\n\t\t\t * .println(\"----------- Routing Straight Started ----------\");\n\t\t\t * System.out.println(\"Plane speed \" + planeSpeed);\n\t\t\t * System.out.println(\"Distance to destination \" + distance);\n\t\t\t * System.out.println(\"Delta \" + deltaTimeSeconds);\n\t\t\t * System.out.println(\"Time needed \" +\n\t\t\t * requiredTimeToReachDestination);\n\t\t\t * System.out.println(\"Actual time until destination \" +\n\t\t\t * actualTimeUntilArrivalAtDestination);\n\t\t\t * System.out.println(\"Current Point x \" +\n\t\t\t * currentPointFromPlaneAndTower.getX() + \" y \" +\n\t\t\t * currentPointFromPlaneAndTower.getY());\n\t\t\t * System.out.println(\"Instructed Point x \" + instructedPoint.x +\n\t\t\t * \" y \" + instructedPoint.y);\n\t\t\t */\n\n\t\t\tif (actualTimeUntilArrivalAtDestination == deltaTimeSeconds\n\t\t\t\t\t|| distance < planeSpeed + 5.0) {\n\n\t\t\t\tif (previousCircleType.ordinal() == 0) {\n\t\t\t\t\tlanding = true;\n\t\t\t\t\tlandingLogic();\n\t\t\t\t}\n\n\t\t\t\tif (previousCircleType.ordinal() == 1) {\n\t\t\t\t\tsmallBoolean = true;\n\t\t\t\t\tsmallCircleLogic();\n\n\t\t\t\t}\n\n\t\t\t\tif (previousCircleType.ordinal() == 2) {\n\t\t\t\t\tmiddleBoolean = true;\n\t\t\t\t\tmediumCircleLogic();\n\n\t\t\t\t}\n\n\t\t\t\tif (previousCircleType.ordinal() == 3) {\n\t\t\t\t\tlargeBoolean = true;\n\t\t\t\t\tlargeCircleLogic();\n\t\t\t\t}\n\n\t\t\t\t/*\n\t\t\t\t * System.out\n\t\t\t\t * .println(\"----------- Arrived at Waypoint ----------\");\n\t\t\t\t * System.out.println(\"Plane \" + planeIDName +\n\t\t\t\t * \" arrived at waypoint \" + instructedPoint.x + \" , \" +\n\t\t\t\t * instructedPoint.y); System.out\n\t\t\t\t * .println(\"----------- Arrived at Waypoint ----------\");\n\t\t\t\t */\n\n\t\t\t} else {\n\n\t\t\t\tnewX = currentPointFromPlaneAndTower.getX() + rateOfChangeOfX\n\t\t\t\t\t\t* actualTimeUntilArrivalAtDestination * planeSpeed;\n\t\t\t\tnewY = currentPointFromPlaneAndTower.getY() + rateOfChangeOfY\n\t\t\t\t\t\t* actualTimeUntilArrivalAtDestination * planeSpeed;\n\n\t\t\t\t/*\n\t\t\t\t * System.out.println(\"New Point X \" + newX + \" New Point Y \" +\n\t\t\t\t * newY);\n\t\t\t\t */\n\n\t\t\t\tif (firstRoutingMessage) {\n\t\t\t\t\troutingMessageType = RoutingMessageType.REPLACEALL;\n\t\t\t\t\tfirstRoutingMessage = false;\n\t\t\t\t} else {\n\t\t\t\t\troutingMessageType = RoutingMessageType.LAST;\n\t\t\t\t}\n\n\t\t\t\t// --------------------- TEST PHASE ------------------- //\n\t\t\t\t// tower.addPointToListFromRouting(new Point((int) newX,\n\t\t\t\t// (int) newY));\n\t\t\t\t// --------------------- TEST PHASE ------------------- //\n\n\t\t\t\troutingMessage = new RoutingMessage(planeID, (int) newX,\n\t\t\t\t\t\t(int) newY, routingMessageType, MoveType.STRAIGHT, null);\n\n\t\t\t\tmessageHandler.visit(routingMessage, \"Tower\", planeIDName,\n\t\t\t\t\t\tplane);\n\t\t\t}\n\t\t}\n\n\t\t// System.out.println(\"----------- Routing Straight Ended ----------\");\n\t}", "title": "" }, { "docid": "ec41d61488bf35f7de3a114c2ea9328f", "score": "0.4537809", "text": "public void pickUpPlate() {\r\n if (bin.size() == 0) {\r\n throw new RuntimeException(\"Can't pickup a plate that doesn't exist!\");\r\n }\r\n hands[0].catchPlate(bin.pop());\r\n }", "title": "" }, { "docid": "c685a92c0980428c2161537000b4762f", "score": "0.4526607", "text": "private void testViewPileDeux() {\n\t\tPit pit = new Pit(10, 24);\n\t\tPile pile = new Pile(pit, 30, 2);\n\t\tpit.setPile(pile);\n\t\tPitPanel pp = new PitPanel(pit);\n\t\tpp.setViewPile(new ViewPile(pp));\n\t\tBloxFrame bloxFrame = new BloxFrame(pp);\n\t\tbloxFrame.getPitPanel().getPit().setCurrentPiece(new IPiece(5, 5, Color.blue));\n\t\tfor (Element elem : bloxFrame.getPitPanel().getPit().getCurrentPiece().getElements()) {\n\t\t\telem.setColour(Pile.randColor());\n\t\t}\n\t\tSystem.out.println(bloxFrame.getPitPanel().getPit());\n\t\tbloxFrame.repaint();\n\t}", "title": "" }, { "docid": "80c9c08a79aa2865ab45ca223bb01e8f", "score": "0.45222825", "text": "private void displayLine()\n {\n System.out.println(\"##########################################\");\n }", "title": "" }, { "docid": "21bea2a74f31d9fd1abc68e6e9437c1a", "score": "0.45194194", "text": "private void releasedPen()\n {\n doneDrawing = true;\n appendAndSend(new WhiteboardShapePath(id(), spinModel.getNumber()\n .intValue(), currentColor, pathList, s2w));\n pathList.clear();\n }", "title": "" }, { "docid": "0fd52cb6bf6a82d4813d0e04d08da22f", "score": "0.4519355", "text": "public void sendHardPunchHighscore() {\n\t\t\t\ttry {\n\t\t\t\t\tsound(\"DONE\");\n\t\t\t\t\thsList = ms.getAllScore();\n\t\t\t\t\toos.writeObject(new Message(hsList, Message.NEW_HIGHSCORELIST_HARDPUNCH));\n\t\t\t\t\toos.reset();\n\t\t\t\t\toos.flush();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "984ef43b444d993130e0fe26cb8e86be", "score": "0.4510429", "text": "public void step()\r\n {\n if(getIncoming().size() != 1 || getOutgoing().size() == 1)\r\n {\r\n throw new RuntimeException(\"Wrong number of incoming or outgoing links: \\nIncoming: \"+getIncoming().size()+\" Outgoing: \"+getOutgoing().size());\r\n }\r\n // upstream link\r\n Link us = getIncoming().get(0);\r\n // downstream link\r\n List<Link> ds = getOutgoing();\r\n \r\n double y = 0.0;\r\n \r\n ArrayList<Double> flows = new ArrayList<>(); \r\n \r\n for (Link path : ds)\r\n {\r\n double outflow = Math.min(path.getReceivingFlow(),getTurningProp(us, path)*us.getSendingFlow());\r\n path.addFlow(outflow); \r\n y += outflow;\r\n \r\n \r\n System.out.println(\"Outgoing Flow \" + path + \" \" + outflow);\r\n }\r\n \r\n \r\n \r\n us.removeFlow(y);\r\n \r\n System.out.println(\"Incoming Flow \" + us + \" \" + y);\r\n }", "title": "" }, { "docid": "e7259dc74a29bceb8b74fefb7ad3957d", "score": "0.45100236", "text": "public void removeSetup(GoPoint p)\n {\n assert p != null;\n SetupInfo setupInfo = getSetupInfo();\n if (setupInfo == null)\n return;\n for (GoColor c : BLACK_WHITE_EMPTY)\n while (setupInfo.m_stones.get(c).remove(p));\n }", "title": "" }, { "docid": "edfbe847c69f1386b8684e3a0deace91", "score": "0.45076475", "text": "private void doWePutBeeper() {\n\t\tmoveBackwards();\n\t\tif(beepersPresent()) {\n\t\t\tmove();\n\t\t}\n\t\telse {\n\t\t\tmove();\n\t\t\tputBeeper();\n\t\t}\n\t}", "title": "" }, { "docid": "b671c7e3b9c185f7091c0f6813e384cc", "score": "0.45057818", "text": "public void step() {\r\n\t\t\r\n\t\tif (clock < p-1) {\r\n\t\t\tclock++;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tclock = 0;\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "aaf6a1d9c851d6f31203d27a2a186ded", "score": "0.45004165", "text": "public boolean toggleBreakpoint(Line line) {\n\n\t\tline = getNearestBreakpointLine(line);\n\t\t\n\t\tboolean on = breakpoints.containsKey(line);\n\t\tif(on) breakpoints.remove(line);\n\t\telse {\n\t\t\tInstruction inst = gettInstrumentedInstructionAfter(line);\n\t\t\tif(inst != null) {\n\t\t\t\tbreakpoints.put(line, inst); \n\t\t\t}\n\t\t}\n\t\twhylineUI.getLinesUI().updateBreakpointLines(line);\n\t\treturn !on;\n\t\t\n\t}", "title": "" }, { "docid": "c3ee4ce213960281ef8f321397dd8f64", "score": "0.44807023", "text": "private void peck(Command command) {\n if (!command.hasSecondWord()) {\n // if there is no second word, we don't know what to peck.\n System.out.println(\"Peck what?\");\n return;\n }\n\n String item = command.getRestOfLine();\n\n Room currentRoom = player.getCurrentRoom();\n\n Item itemToPeck = currentRoom.getItem(item);\n\n if (itemToPeck == null) {\n System.out.println(\"That item doesn't exist here!\");\n } \n else {\n if ( (itemToPeck.getName()).equals(\"button\") \n || (itemToPeck.getName()).equals(\"lever\") ) {\n System.out.println(\"You hear a huge mechanical\" +\n \" screech come from the rear of the boat.\");\n System.out.println(\"The fishermen are \" +\n \"yelling and abandoning ship.\");\n missionWon = 1;\n } \n else {\n System.out.println(\"It had no effect.\");\n }\n }\n }", "title": "" }, { "docid": "13355c234525a87531ecffe36230eed4", "score": "0.44793463", "text": "@Override\n protected void execute() {\n conveyor.controlConveyor(shooter, \"feedShooter\");\n }", "title": "" }, { "docid": "1c166d18a9577b0e0e8ac30225450d80", "score": "0.44793192", "text": "protected void takeDown() {\n\t\t// Printout a dismissal message\n\t\tSystem.out.println(\"Person agent \" + getAID().getLocalName() + \" terminating.\");\n\t}", "title": "" }, { "docid": "750ad5a0164b479241e0e118e71f0779", "score": "0.4466366", "text": "public void monitorearShow(ProceedingJoinPoint joinpoint) {\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"El show esta por comenzar, favor de tomar asiento...\");\r\n\t\t\tSystem.out.println(\"Favor de apagar los celulares...\");\r\n\t\t\t\r\n\t\t\t//Anotamos la hora de inicio\r\n\t\t\tlong horaInicio = System.currentTimeMillis();\r\n\t\t\t\r\n\t\t\t//Se llama al metodo de negocio (metodo objetivo)\r\n\t\t\tjoinpoint.proceed();\r\n\t\t\t\r\n\t\t\t// 1 segundo\r\n\t\t\t// Este delay en milisegundos es opcional y se puede opner en los metodos\r\n\t\t\t//de negocio para simular la duracion del metodo\r\n\t\t\tThread.sleep(1000);\r\n\t\t\t\r\n\t\t\tlong horaFin = System.currentTimeMillis();\r\n\t\t\tSystem.out.println(\"El show ha terminado. aplausos\");\r\n\t\t\tSystem.out.println(\"El show tuvo una duracion: \" + (horaFin - horaInicio));\r\n\t\t\t\r\n\t\t} catch (Throwable t) {\r\n\t\t\tSystem.out.println(\"El show fue terrible, se devolverán las entradas\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f31b5b8fbc25a019b1d9b96bb5c25202", "score": "0.44633546", "text": "public void showLine() {\n System.out.println(\"____________________________________________________________\");\n }", "title": "" } ]
54202006df4f65760269bb4da674f336
Used to validate if the input is integer
[ { "docid": "6e6febcd04c94c319e856222bfec27d4", "score": "0.71365803", "text": "public boolean validateInteger(String inputValue){\n try{\n if(Integer.valueOf(inputValue)>=0) {\n return true;\n }else{\n return false;\n }\n }\n catch(NumberFormatException exception){\n return false;\n }\n }", "title": "" } ]
[ { "docid": "7df9903c342ff8b484d3d3c0840ca97f", "score": "0.7860263", "text": "public boolean isInt(TextField input) {\r\n //Using Exception handling try catch to validate the input of a text field\r\n try {\r\n Integer.parseInt(input.getText());\r\n //return true if the parse process is success\r\n return true;\r\n\r\n } catch (NumberFormatException exception) {\r\n //return false if there is an error while parsing\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "423ed147a8cf5357d3c67892bf3c54b4", "score": "0.7734412", "text": "public String isInteger(String input){\r\n try{\r\n Integer.parseInt(input);\r\n } catch(NumberFormatException e){\r\n return \"Id must be integer.\";\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "0eedb43a0f0ab4e33a6b96aa4436a166", "score": "0.7623127", "text": "boolean isInteger() throws Exception;", "title": "" }, { "docid": "28b9cefb65634e9b63e005682636615f", "score": "0.7505052", "text": "public static int verifyInt ()\n {\n Scanner input = new Scanner(System.in);\n\n //int error Handling to catch a String\n while (!input.hasNextInt()) {\n System.out.println(\"Invalid! please use an Int\");\n input.nextLine();\n }\n\n int intVal = input.nextInt();\n return intVal;\n }", "title": "" }, { "docid": "56b61fd5f3815a73363878427508a2c0", "score": "0.74191266", "text": "public static int integerCheck() {\n\t\tdo {\n\t\t\tint num = sc.nextInt();\n\t\t\tif (num >= 0 || num < 0) {\n\t\t\t\treturn num;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Please enter an integer value:\");\n\t\t\t}\n\t\t} while (true);\n\t}", "title": "" }, { "docid": "27479811bc38be42ce6e17fd465e9715", "score": "0.7416188", "text": "@Override\r\n\tpublic boolean isInt() {\n\t\treturn data.isInt();\r\n\t}", "title": "" }, { "docid": "635be47013077631edf2f5d67a0086b7", "score": "0.7382811", "text": "public static boolean validInt(String input) {\n try {\n Integer.parseInt(input);\n return true;\n } catch (NumberFormatException e) {\n return false;\n }\n }", "title": "" }, { "docid": "e2839ef30a7908c2815abb29e5c50112", "score": "0.7374672", "text": "static Boolean validateInt(String quantity) {\n try {\n Integer.parseInt(quantity);\n return Integer.valueOf(quantity) >= 0;\n } catch (Exception e) {\n return false;\n }\n }", "title": "" }, { "docid": "0b7095c519fc92a9402b601b64153878", "score": "0.7368685", "text": "private boolean isInputNumberValidInt(String input){\n int number;\n try {\n number=Integer.parseInt(input);\n } catch (Exception e) {\n return false;\n }\n\n if (number < 1 || number > 20) {\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "ed16c784717a546d8023b7535f432c60", "score": "0.72438663", "text": "private boolean verifyInt(Object newValue) {\r\n\t\ttry {\r\n\t\t\tInteger.parseInt(newValue.toString());\r\n\t\t\treturn true;\r\n\t\t} catch (Exception e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "a943fa7c2d077038975397bb0b5be9b8", "score": "0.7237111", "text": "public boolean isInt() { return (asInt() != null); }", "title": "" }, { "docid": "82b44d93133cd5e5cff55a92706150f7", "score": "0.7214104", "text": "public boolean integerCheck(String data) {\n try {\n Integer.parseInt(data);\n return true;\n } catch (Exception ex) {\n return false;\n }\n }", "title": "" }, { "docid": "92ae2351a6c9ae2bbd58ffc287bb3241", "score": "0.7187446", "text": "public static int validInt() {\r\n\t\t//Initialises the required variables.\r\n\t\tint integer = 0;\r\n\t\tboolean validInput = false;\r\n\t\tScanner s = new Scanner(System.in);\r\n\t\t\r\n\t\t//Validates whether the input is an integer.\r\n\t\twhile (validInput == false) {\r\n\t\t\ttry {\r\n\t\t\t\tinteger = s.nextInt();\r\n\t\t\t\tvalidInput = true;\r\n\t\t\t}\r\n\t\t\t//Catches the exception and asks the user to re-enter.\r\n\t\t\tcatch (InputMismatchException e) {\r\n\t\t\t\ts.nextLine();\r\n\t\t\t\tSystem.out.print(\"Enter valid integer: \");\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//Returns a valid integer.\r\n\t\treturn integer;\r\n\t}", "title": "" }, { "docid": "f056d0c5df21b55be37471ee13daa89a", "score": "0.71588427", "text": "private static void checkInt(String zahl) throws ModulFactoryException\n {\n try {\n Integer.parseInt(zahl);\n } catch (NumberFormatException nf) {\n RAClass.msgbox(\"Eingabe muss eine Integer-Ganzzahl sein!\", \"TouchFlow - GraphTool\", \"Warning\");\n throw new ModulFactoryException(\"String kein int\");\n }\n\n }", "title": "" }, { "docid": "8101661fe87157195608a60c0d74d442", "score": "0.7142892", "text": "public static void isInteger(int number){\n\t\ttry {\n\t\t\tint num=number;\n\t\t\tSystem.out.println(\"Integer value\");\n\t\t}\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.out.println(\"Input is not a valid integer\");\n\t\t}\n\t}", "title": "" }, { "docid": "284208568614e269ae01737b248200a9", "score": "0.7138441", "text": "private static boolean checkInt(String s) {\n\t\ttry {\n\t\t\tInteger.parseInt(s);\n\t\t\treturn true;\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "e6d09d508fbea5d57a052917d7f3ffc5", "score": "0.7116802", "text": "private boolean isIntValid(String integer)\r\n {\r\n boolean valid = false;\r\n try\r\n {\r\n if (Integer.parseInt(integer) > -1)\r\n {\r\n valid = true;\r\n }\r\n }\r\n catch (NumberFormatException ex)\r\n {\r\n }\r\n return valid;\r\n }", "title": "" }, { "docid": "39835e20a0ad3b1df69909e21ce6855e", "score": "0.7106945", "text": "public static boolean inputTypeInt(String value) throws NumberFormatException {\n\t\tPattern pattern = Pattern.compile(intType);\n\t\tMatcher matcher = pattern.matcher(value);\n\t\treturn matcher.matches();\n\t}", "title": "" }, { "docid": "1edcbe4e1d550e0c1b3b9aaea3710a7c", "score": "0.7104219", "text": "static boolean isInt(String token){\n try{\n Integer.parseInt(token);\n return true;\n }\n catch(NumberFormatException e){\n return false;\n }\n }", "title": "" }, { "docid": "cee3b68844bfa700e2461d652937fd72", "score": "0.70750797", "text": "public boolean intCheck(String test){\n\n try{\n Integer.parseInt(test);\n return false;\n }\n catch (NumberFormatException e){\n return true;\n }\n }", "title": "" }, { "docid": "53ba45e063ba35862068d17fc2c68d35", "score": "0.70563", "text": "public static boolean isInteger(final String input) {\n\t try { \n\t Integer.parseInt(input); \n\t } catch(NumberFormatException e) { \n\t return false; \n\t } catch(NullPointerException e) {\n\t return false;\n\t }\n\t return true;\n\t}", "title": "" }, { "docid": "b911ac595904d3b60d384fab9be4c83a", "score": "0.7048464", "text": "private boolean cannotParseToInt(String input){\n try{\n Integer.parseInt(input);\n return false;\n }\n catch(NumberFormatException e){\n return true;\n }\n }", "title": "" }, { "docid": "930e9a1d2d4ba9381d3373606c299543", "score": "0.7026495", "text": "@Override\r\n protected boolean handleIsIntegerType()\r\n {\r\n final String integerType = UMLProfile.INTEGER_TYPE_NAME;\r\n // Check both int and Integer by taking the part after datatype::\r\n final String intType = integerType.substring(integerType.lastIndexOf(':')+1).substring(0, 3).toLowerCase();\r\n return UMLMetafacadeUtils.isType(\r\n this,\r\n intType) ||\r\n UMLMetafacadeUtils.isType(\r\n this,\r\n integerType);\r\n }", "title": "" }, { "docid": "e6427f96e28b9f3eb903fda82acc1935", "score": "0.7025337", "text": "private boolean isInteger(String str){\r\n return str.matches(\"[0-9]+\");\r\n }", "title": "" }, { "docid": "e42e1cc6b9d1f62b0d92d81781a92b7e", "score": "0.69818676", "text": "private int getValidInt() {\n while (!scanner.hasNextInt()) {\n System.out.println(\"Must be a valid int\");\n scanner.next();\n }\n return scanner.nextInt();\n }", "title": "" }, { "docid": "32b912b8a023169edde8e2540602e1f2", "score": "0.693697", "text": "private boolean validateIntegerValue(Integer value, String field) {\n\n if (value == null || value < 0) {\n Toast.makeText(getContext(), field + \" is Empty or Invalid\", Toast.LENGTH_SHORT).show();\n return false;\n } else {\n return true;\n }\n }", "title": "" }, { "docid": "6ffd7f9ab175e67e4353cbd602f20279", "score": "0.6920639", "text": "public static boolean isNumber(String in)\n\t { try {\n\t Integer.parseInt(in);\n\t return true;}\n\t catch (Exception E)\n\t { System.out.println(\"Mouch numrou\");\n\t \treturn false; } }", "title": "" }, { "docid": "d3ca894e837be02f3ce8d1e0b8197825", "score": "0.69188815", "text": "private ValidationResult validateParameterInteger(Map<String,String> properties) {\n String val = properties.get(PARAMETER_NAME_INTEGER);\n int intValue = -1;\n try {\n checkInteger(val);\n } catch (NumberFormatException nfe) {\n return new MyValidationResult(false, \"Must be an integer\");\n }\n return ValidationResult.SUCCESS;\n }", "title": "" }, { "docid": "b6847790f38487e6903dcfc04bede920", "score": "0.689846", "text": "private int isInt(TextField input)\n {\n try\n {\n risk = Integer.parseInt(input.getText());\n input.setStyle(\"-fx-text-inner-color: black;\");\n return risk;\n }\n catch (NumberFormatException e)\n {\n input.setStyle(\"-fx-text-inner-color: red;\");\n }\n return 0;\n }", "title": "" }, { "docid": "4a9f6c8bbf768cbfa413a02a0fc7578d", "score": "0.6875845", "text": "public boolean IsInt(String str){\n try{\n Integer.parseInt(str);\n return true;\n } catch(NumberFormatException ex){\n return false;\n }\n }", "title": "" }, { "docid": "24314b378c4d5ed28922e389d33677bc", "score": "0.6872788", "text": "public IntegerInputVerifier()\n {\n }", "title": "" }, { "docid": "bf64dcb17cf4410a4dee51ae089185bf", "score": "0.686216", "text": "private boolean isInteger(String s) {\n try {\n Integer.parseInt(s);\n } catch(NumberFormatException e) {\n return false; // Nhập chữ trả về false\n }\n return true;\n }", "title": "" }, { "docid": "ba6b29f30dc49f33b72cfe38ecabcbdb", "score": "0.6861383", "text": "static int getIntegerInput() {\n\t\twhile (!keyboard.hasNextInt()) {\n\t\t\tSystem.out.print(\"Please enter a valid number: \");\n\t\t\tkeyboard.next();\n\t\t}\n\t\treturn keyboard.nextInt();\n\t}", "title": "" }, { "docid": "0b42e64417d9e31e3178f7b0c9c417f4", "score": "0.6859847", "text": "public static int isNumInt() {\n int num = 0;\n boolean isNum = false;\n \n do {\n try {\n num = Integer.parseInt(br.readLine());\n isNum = true;\n } catch (IOException ex) {\n DisplayAndMessages.deco(messageIoExcp(ex), red, star);\n Toolkit.getDefaultToolkit().beep();//Sound for the error\n } catch (NumberFormatException ex) {\n DisplayAndMessages.deco(numErrorMessage(), red, star);\n Toolkit.getDefaultToolkit().beep();//Sound for the error\n } \n } while (!isNum);\n return num;\n }", "title": "" }, { "docid": "0f0d3063265607c829c86ad385a5a3d2", "score": "0.6799028", "text": "public static boolean esInteger(String txt) {\n\t try { \n\t Integer.parseInt(txt); \n\t } catch(NumberFormatException e) { \n\t \tfallos +=1;\n\t return false; \n\t } catch(NullPointerException e) {\n\t \tfallos +=1;\n\t \treturn false;\n\t \n\t }\n\t return true;\n\t}", "title": "" }, { "docid": "134e469698ec56eb3927bc1d44b1c137", "score": "0.6777603", "text": "public boolean isInteger(String s) {\n\n\t\tboolean isValidInt = false;\n\t\ttry {\n\t\t\tInteger.parseInt(s);\n\t\t\tisValidInt = true;\n\t\t} catch (NumberFormatException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn isValidInt;\n\t}", "title": "" }, { "docid": "813955420f8060cd1b04ea47a045e6bc", "score": "0.6768249", "text": "private static boolean checkIfInteger(String str) {\r\n\t\tboolean matches = str.matches(\"^[+-]?\\\\d+$\");\r\n\t\treturn matches;\r\n\t}", "title": "" }, { "docid": "4d4ae38f8a6f2257171722d8f1a5a6f4", "score": "0.67640024", "text": "private boolean isInteger(String argument) {\n\t\tif (argument.matches(\"[-\\\\+]?[0-9][0-9]*\")) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "015dc90b9249039f7a6f47b67efc3ca1", "score": "0.67622215", "text": "private static boolean isNum(String input) {\n try {\n Integer.parseInt(input);\n return true;\n } catch (Exception e) {\n return false;\n }\n }", "title": "" }, { "docid": "24931e047f36e2b1345cb5c2e15c447c", "score": "0.6750899", "text": "public static boolean isAcceptableInt(String s) {\r\n\t\tif(s == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\tint l = s.length();\r\n\t\tif(l == 0) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\tfor(int i = 0; i < l; i++) {\r\n\t\t\tif(s.charAt(i) < '0' || s.charAt(i) > '9') {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "515cdd88a947ecac145c896980ede02f", "score": "0.67479414", "text": "public boolean isInteger() {\n\t\treturn isSimple() ? V.isInteger() : isExtendedInteger();\n\t}", "title": "" }, { "docid": "6cc036f1959e6d1f9681b08eb8e1484f", "score": "0.6721195", "text": "public boolean isInt(String str){\n try{\n int i = Integer.parseInt(str);\n \n }catch (NumberFormatException | NullPointerException nfe){\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "84e5b476c0b81c4b39c34ed127aa795d", "score": "0.6718665", "text": "private boolean isInteger(String s) {\n\t\ttry {\n\t\t\tInteger.parseInt(s);\n\t\t} catch (NumberFormatException e) {\n\t\t\treturn false;\n\t\t} catch (NullPointerException e) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "e02d0e74b3f355c90719209a4275e493", "score": "0.668887", "text": "public static boolean isInteger(String s) {\n\t try { \n\t Integer.parseInt(s); \n\t } catch(NumberFormatException e) { \n\t return false; \n\t }\n\t return true;\n\t }", "title": "" }, { "docid": "a52c457460cd624b074adb8838010c9f", "score": "0.66826737", "text": "static boolean isInteger(String text) {\n try {\n Integer.parseInt(text);\n } catch(NumberFormatException ex) {\n return false;\n } catch(NullPointerException ex) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "103cfafaf4ae50c3c12b8d7c9cd8b4fd", "score": "0.6682059", "text": "private boolean isInteger(String s)\n {\n try \n { \n Integer.parseInt(s); \n } \n catch(NumberFormatException e) \n { \n return false; \n }\n catch(NullPointerException e) \n {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "75a07cb47bb5e230b327f309907cb7d7", "score": "0.6674954", "text": "boolean hasIntegerValue();", "title": "" }, { "docid": "bd8fd7821c1c4e6e2a16697cbbe10b42", "score": "0.66734236", "text": "private boolean isInteger(String token){\n Pattern pattern = Pattern.compile(\"0|^(\\\\+|\\\\-)?[1-9]+[0-9]*$|MAX|MIN\");\n Matcher m = pattern.matcher(token);\n return m.matches();\n }", "title": "" }, { "docid": "e4ba80f6c95c44cf391072e5c316e62c", "score": "0.66701955", "text": "public boolean isInt(TextField ageField, String number) {\n\t\tageField.getStyleClass().removeAll(\"success\", \"error\");\r\n\t\tthis.message.getStyleClass().removeAll(\"success_text\", \"error_text\");\r\n\t\t\r\n\t\ttry {\r\n\t\t\tint age = Integer.parseInt(number);\r\n\t\t\tthis.message.setText(\"User is \" + number);\r\n\t\t\tthis.message.getStyleClass().add(\"success_text\");\r\n\t\t\tageField.getStyleClass().add(\"success\");\r\n\t\t\treturn true;\r\n\t\t} catch (NumberFormatException e) {\r\n\t\t\tthis.message.setText(\"Error: \" + number + \" is not a number\");\r\n\t\t\tthis.message.getStyleClass().add(\"error_text\");\r\n\t\t\tageField.getStyleClass().add(\"error\");\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4ba9453706783b268d67af335cd6e2b2", "score": "0.66691834", "text": "private boolean isValidInt(boolean required, String input, int lower,\n\t\t\tint upper) {\n\t\tboolean isValid = true;\n\t\tint test;\n\n\t\t// don't bother if not required and nothing here (for track)\n\t\tif (required || input.length() > 0)\n\t\t\ttry {\n\t\t\t\ttest = Integer.parseInt(input);\n\n\t\t\t\tif (test < lower || test > upper)\n\t\t\t\t\tthrow new NumberFormatException();\n\n\t\t\t} // end try\n\n\t\t\tcatch (NumberFormatException e) {\n\t\t\t\tisValid = false;\n\n\t\t\t} // end catch\n\n\t\treturn isValid;\n\n\t}", "title": "" }, { "docid": "8b7434c8da2b9046139a255ac6dd5c38", "score": "0.66668236", "text": "public void testValidateDataIsNotInt() {\n\t\t\n\t\tIState state = new State();\n\t\tIDataValidator validator = this.dataValidatorFactory.newInstance(state);\n\t\t\n\t\tIParameter param1 = new Parameter();\n\t\tparam1.addValue(\"value1\");\n\t\tparam1.setName(\"param1\");\n\t\tparam1.setEditable(false);\t\t\n\t\t\n\t\tstate.addParameter(\"param1\", param1);\n\t\t\n\t\tvalidator.setState(state);\n\t\t\n\t\tIValidationResult result = validator.validate(\"dataIsNotInt\", \"simpleAction\", \"param1\");\n\t\tassertFalse(result.getLegal());\n\t}", "title": "" }, { "docid": "484efb4f5f05961c6234a6888ee8b757", "score": "0.66512185", "text": "static boolean isInteger(int type) {\n return (type==Types.INTEGER || type==Types.BIGINT);\n }", "title": "" }, { "docid": "1ceb68bc4b98f099b416916b5b97753a", "score": "0.66367", "text": "private boolean isInteger(String potentialValue)\n\t{\n\t\tboolean validInt = false;\n\t\t\n\t\ttry \n\t\t{\n\t\t\tint testValue = Integer.parseInt(potentialValue);\n\t\t\tvalidInt = true;\n\t\t}\n\t\t\n\t\tcatch (NumberFormatException notIntegerError)\n\t\t{\n\t\t\tdisplay.displayMessage(notIntegerError.getMessage());\n\t\t\tdisplay.displayMessage(\"You need to put in a number\");\n\t\t}\n\t\t\n\t\t\n\t\treturn validInt;\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "71acfd8098658bab9db4968fe5b6eac5", "score": "0.66339177", "text": "@Override\n public void validate(Object value)\n throws InvalidValueException {\n if(value.toString() == null || value.toString().trim()==\"\")\n {\n throw new InvalidValueException(\"El valor no es entero\");\n }\n\n try\n {\n Integer.parseInt(value.toString());\n }\n catch (Exception e)\n {\n throw new InvalidValueException(\"El valor no es un entero válido\");\n }\n\n\n\n\n }", "title": "" }, { "docid": "fd59c812126de1aea5bff8d80dec6946", "score": "0.6616837", "text": "private boolean isInteger(String str)\n\t{\n\t\ttry\n\t\t{\n\t\t\tInteger.parseInt(str);\n\t\t\treturn true;\n\t\t}\n\t\tcatch(NumberFormatException e)\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "e6a9d9fb1647b11f9bc6801f54b56ddf", "score": "0.6614935", "text": "private static boolean isInteger(String s) {\n boolean nonZeroNumber = s.matches(\"-?[1-9]\\\\d*\");\n boolean zeroNumber = s.matches(\"-?0\");\n return nonZeroNumber || zeroNumber;\n }", "title": "" }, { "docid": "4e9bc13065d5454adcb7205d605f38ab", "score": "0.6578679", "text": "private static int getInt() {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(\"Please enter an integer: \");\n\t\twhile (true) {\n\t\t\ttry {\n\t\t\t\treturn s.nextInt();\n\t\t\t} catch (InputMismatchException e) {\n\t\t\t\t// go 'round again. Read past end of line in the input first\n\t\t\t\ts.nextLine();\n\t\t\t\tSystem.out.println(\"The input was not an integer.\");\n\t\t\t\tSystem.out.println(\"Please enter a number using only the digits 0 to 9: \");\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "427e49d4d076088540c5bb1b89302183", "score": "0.6569671", "text": "public int checkIfInt(int choice) {\r\n while (!input.hasNextInt()) {\r\n System.out.println(\"You must enter the number of desired option\");\r\n input.next();\r\n }\r\n choice = input.nextInt();\r\n return choice;\r\n }", "title": "" }, { "docid": "ef6178945a8007f9f11bf16832398f85", "score": "0.6551669", "text": "public boolean isInt(String s) {\n\t\ttry {\n\t\t\tint z = Integer.parseInt(s);\n\t\t\treturn true;\n\t\t}catch (NumberFormatException e){\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "617f6c24b9e5ad8b27d6ff93ce6345f4", "score": "0.65230095", "text": "public boolean isInt()\n { \n return i != null; \n }", "title": "" }, { "docid": "5c21b17406101b3aaec7c55ea882b8b6", "score": "0.65138924", "text": "private boolean tryParseInt(String value) {\r\n try {\r\n Integer.parseInt(value);\r\n return true;\r\n } catch (NumberFormatException e) {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "4d3270cbdcac89b3c0b0d14ef52f1615", "score": "0.64954996", "text": "public static int inputInteger() {\n return inputInteger(\"Enter an integer: \");\n }", "title": "" }, { "docid": "f3786273625d8633d93fed4391db0c0b", "score": "0.6495391", "text": "public static boolean validateInput(String input) {\n\t\tboolean validate = true;\n\t\ttry {\n\t\t\tInteger.parseInt(input);\n\t\t} catch (NumberFormatException e) {\n\t\t\tvalidate = false;\n\t\t} catch (NullPointerException e) {\n\t\t\tvalidate = false;\n\t\t}\n\t\treturn validate;\n\t}", "title": "" }, { "docid": "5740ac0bf0719dd33fe184f52b495309", "score": "0.6487281", "text": "public int getInteger()\n {\n System.out.println(\"Input your number\");\n int integer=-1;\n boolean isInvalid = true;\n while(isInvalid) {\n try {\n integer = input.nextInt();\n\n isInvalid = false;\n }\n catch (InputMismatchException e){\n System.out.println(\"Invalid input.Please, reenter integer\");\n input.nextLine();\n }\n }\n return integer;\n }", "title": "" }, { "docid": "d4bcb080a4d32ce7ee43d9bd5f5b4241", "score": "0.6455769", "text": "public boolean isNumber(String input) {\n try {\n Integer.parseInt(input);\n } catch (NumberFormatException e) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d8f65390375287f1c558baf2e3420ad2", "score": "0.6448544", "text": "@Override\n\t\t\tpublic boolean isInstanceOf(Object test) {\n\t\t\t\treturn test instanceof Integer;\n\t\t\t}", "title": "" }, { "docid": "44611897331b65f86635c71e6bbb7813", "score": "0.6446034", "text": "private boolean isNumber(String s)\r\n {\r\n try\r\n {\r\n Integer.parseInt(s);\r\n return true;\r\n } \r\n catch (NumberFormatException ex)\r\n {\r\n return false;\r\n }\r\n }", "title": "" }, { "docid": "f48a54a2e19365811a72a13d01f5c402", "score": "0.6432848", "text": "private boolean isInteger(String aString) {\n\t\tfor (int i = 0; (i < aString.length()); i++) {\n\t\t\tif (aString.charAt(i) < '0' || aString.charAt(i) > '9')\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "f88c0bfe13f6058bb8150e7b5e933a11", "score": "0.64323556", "text": "@Override\n public boolean validateNumber(int n) {\n return n%10!=3;\n }", "title": "" }, { "docid": "fd9afd58ec1421fc7496ec1e0aacbe63", "score": "0.6408757", "text": "private static boolean isInteger(String date) {\n for (char c : date.toCharArray()) {\n if (!Character.isDigit(c)) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "4d76dfb2c980accc642ee1def63d4723", "score": "0.64022756", "text": "public int getIntInput() {\r\n int choice = -2;\r\n boolean inputSuccess = false;\r\n\r\n while (!inputSuccess) {\r\n try {\r\n choice = scanner.nextInt();\r\n inputSuccess = true;\r\n } catch (InputMismatchException e) {\r\n System.out.println(\"Please use an integer.\");\r\n } finally {\r\n scanner.nextLine();\r\n }\r\n }\r\n return choice;\r\n }", "title": "" }, { "docid": "357c310cc203092110474c0ff818e958", "score": "0.6392366", "text": "public boolean validate(int input)\r\n\t\t {\r\n return (Integer.toString(input).length() == 4) ? true : false;\r\n\t\t }", "title": "" }, { "docid": "7ccb02ff3db7cb991a4c6524bb74da12", "score": "0.6387252", "text": "public static boolean checkValidNumber(String input) {\r\n return replaceData(input).matches(\"^[0-9]+$\");\r\n }", "title": "" }, { "docid": "592cc43e03b1d3a65b1cd98c87cab004", "score": "0.6384145", "text": "public static boolean isIntValue(final String value) {\n try {\n Integer.parseInt(value);\n return true;\n } catch (final NumberFormatException ex) {\n return false;\n }\n }", "title": "" }, { "docid": "415e9d7e90ff0b3a2b635c206d136b10", "score": "0.63749176", "text": "public boolean isInteger() {\r\n return this.integer;\r\n }", "title": "" }, { "docid": "131089c72f61eabad1cfc74e5e713e8f", "score": "0.63733584", "text": "public static boolean isInteger(final String s) {\n\t return Pattern.matches(\"^\\\\d*$\", s);\n\t }", "title": "" }, { "docid": "830b74d26d02b06dbc465dab1f6fe8b2", "score": "0.63689566", "text": "boolean isNumber() throws Exception;", "title": "" }, { "docid": "ef14081f42aca9f8981215faddf3c226", "score": "0.63606703", "text": "public static boolean checkValidity(char userInput) {\n if (Character.isDigit(userInput)) {\n String s = Character.toString(userInput);\n int number = Integer.parseInt(s);\n if (number > 0 && number < 10) {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "d2beb61a5b263062f4fa563a1acc6276", "score": "0.634892", "text": "public static boolean isInteger(String value) {\n // Convert string into array of char values (built-in string method)\n char[] characters = value.toCharArray();\n // Loop (traverse) through this array from start to end\n for (int i = 0; i < characters.length; i++) { \n // Use built-in method to see if this character is a digit (0-9)\n if (Character.isDigit(characters[i]) == false) {\n // Character was not a digit, but is it the negative sign \n if (characters[i] != NEGATIVE) {\n return false; // Not a valid character for a integer\n }\n }\n }\n return true; // All characters valid for a integer\n }", "title": "" }, { "docid": "1567ded9999be339ca0d21414320f3d5", "score": "0.6346828", "text": "protected boolean checkIfAllCharsAreInts(String data)\n\t{\n\t\tint count = 0;\n\t\tfor (int i = 0; i < data.length(); i++)\n\t\t{\n\t\t\tif (data.charAt(i) >= '0' && data.charAt(i) <= '9')\n\t\t\t{\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif (count == data.length())\n\t\t{\n\t\t\treturn true;\n\t\t}\n\t\telse\n\t\t{\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "09c2b6a6adbf67dacf6c8dee736dc8cf", "score": "0.6337265", "text": "public static boolean isInt(String str) {\n\t\tif ((str != null) && (str.length() != 0)) {\n\t\t\ttry {\n\t\t\t\tInteger.parseInt(str);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3931b442c4263ec46b96d413c0cd29f2", "score": "0.6319827", "text": "public static int readInteger() {\n while (true) {\n try {\n return Integer.parseInt(reader.readLine());\n } catch (Exception e) {\n if (Main.isDebug) {\n e.printStackTrace();\n } else {\n console.writeError(\"Only Integers are allowed! Try again.\");\n }\n }\n }\n }", "title": "" }, { "docid": "19c6b2f08c1fae1a27a45f82947e15c0", "score": "0.6311046", "text": "public static int readInt() {\n return readInt(\"Please enter an integer: \");\n }", "title": "" }, { "docid": "064adc10f12bdaa4ab9a5b1f94b9051d", "score": "0.6309248", "text": "public static boolean isValidInteger(String string) {\n try {\n Integer.parseInt(string);\n return true;\n } catch (NumberFormatException e) {\n return false;\n }\n }", "title": "" }, { "docid": "ce5ad738ebc078499786ff3434841de1", "score": "0.6293327", "text": "public boolean isInteger(String argName, String str) {\n boolean status = false;\n \n //Check if argument is not null\n checkString(argName, str);\n try {\n Integer.parseInt(str);\n status = true;\n return status;\n } catch (NumberFormatException nfe) {\n status = false;\n\n nfe.printStackTrace();\n System.out.println(\"Threshold '\" + str + \"' is not a Number. Please check threshold value\");\n throw new IllegalArgumentException(\"Threshold \" + str + \" is not a Number\");\n\n }\n\n // return status;\n }", "title": "" }, { "docid": "cacf62a92638333eb3c89fcd7ec081c3", "score": "0.62857884", "text": "public int getIntFromUser() {\n\tString inp = JOptionPane.showInputDialog(\"Enter an integer (if unparseable, counts as 0)\");\n\tint toReturn = 0;\n\ttry {\n\t toReturn = Integer.parseInt(inp);\n\t} catch (NumberFormatException nfex) {\n\t toReturn = 0;\n\t}\n\treturn toReturn;\n }", "title": "" }, { "docid": "07bb1b5866677cbae1e7e07ee1437f56", "score": "0.6283419", "text": "public static boolean isInt(JTextField text,String message, Component parentCo) {\n String str = text.getText();\n if (!str.matches(\"^-?\\\\d+$\")) {\n JOptionPane.showMessageDialog(parentCo, message,\n \"Warning\", JOptionPane.WARNING_MESSAGE);\n text.requestFocus();\n text.selectAll();\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "43e7c969f129e63bbd2bb745e46429b7", "score": "0.6277995", "text": "public static boolean isIntegerType(Number I) {\n\t\treturn (I instanceof Byte || I instanceof Short || I instanceof Integer || I instanceof Long);\n\t}", "title": "" }, { "docid": "d24613a369e8b21680e6da4bf34f1a81", "score": "0.6277866", "text": "public boolean isInteger(String content) {\n\t\t\n\t\ttry { integer = Integer.parseInt(content); }\n\t\tcatch (NumberFormatException e) { return false; }\n\t\treturn true;\n\t\t\n\t}", "title": "" }, { "docid": "a8b4ecc07da3b3d93e4e7ac5e3b4331a", "score": "0.6274011", "text": "private static Integer parseAndCheckIfNumberIsCorrect(String string) {\r\n\t\tint myNumber = 0;\r\n\t\tBoolean checkIsOkay = false;\r\n\t\tif (checkIfInteger(string)) {\r\n\t\t\tcheckIsOkay = true;\r\n\t\t\tmyNumber = Integer.parseInt(string);\r\n\t\t\tSystem.out.println(myNumber);\r\n\t\t}\r\n\r\n\t\tif (!checkIsOkay) {\r\n\t\t\tSystem.out.println(\"Wrong input ARG 2 <\" + arg[2] + \">\");\r\n\t\t}\r\n\t\treturn myNumber;\r\n\t}", "title": "" }, { "docid": "c643a2805593b28f61f94f5d27b11cbf", "score": "0.6265732", "text": "private boolean tryParseInt(String str) {\n\t\ttry {\n\t\t\tInteger.parseInt(str);\n\t\t\treturn true;\n\t\t} catch (NumberFormatException e) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "ba8e530d9316fd2dc3ff36fe6ed9d8eb", "score": "0.6264342", "text": "public static Integer integerInput() {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Integer temp = null;\n do {\n try {\n temp = Integer.parseInt(br.readLine());\n } catch (NumberFormatException e) {\n System.out.println(\"Please enter integer value.\");\n continue;\n } catch (IOException e) {\n }\n break;\n } while (true);\n return temp;\n }", "title": "" }, { "docid": "0ea9b30e6553e5ca296fb0c4ce4c14d2", "score": "0.6249642", "text": "static void integersOnly(Scanner input){\n while(!input.hasNextInt() || input.nextInt()>9 || input.nextInt()<0){ \n out.println(\"Please enter two numbers between 0 and 9\");\n input.next(); //ask for more input\n }\n }", "title": "" }, { "docid": "497cd8e92be4fdf96f3b4df8f422221e", "score": "0.6228994", "text": "public static boolean isInteger(String str) {\n try{\n Integer.parseInt(str);\n }catch (NumberFormatException e){\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "5ecfba4e1d674bdd839840f626a7a3e0", "score": "0.6224723", "text": "public static int getIntInput(String request){\n\n Scanner in = new Scanner(System.in);\n\n System.out.println(request);\n\n String s = in.nextLine();\n\n int i=0;\n try {\n i=Integer.parseInt(s);\n }catch(NumberFormatException e) {\n System.out.println(\"please enter a valid numeric input\");\n i=getIntInput(request);\n }\n return i;\n }", "title": "" }, { "docid": "5c4032573178b3cb6d4ebb52b9f69d13", "score": "0.6177978", "text": "private IntConstant checkInteger(UnOp op) {\n if (val instanceof IntConstant) return (IntConstant)val;\n throw new EvalException(\"Unary operator `\" + op + \"' applied to non-integer \" + val);\n }", "title": "" }, { "docid": "fbc64f0e6a24c9df54da1715f6594d60", "score": "0.6163568", "text": "public void isInteger() {\n Double a = Double.parseDouble(maintext);\n\n if(Math.floor(a) == a){\n long b = Math.round(a);\n maintext = String.valueOf(b); //show integer without dot\n }\n }", "title": "" }, { "docid": "58d9a9f4ea6fc7a76b39808badd4dcbe", "score": "0.61620975", "text": "private boolean isInteger(double x){\r\n if(Double.isNaN(x)||!Double.isFinite(x))\r\n return false;\r\n //a number is an integer if x%1 is equal to zero\r\n return x%1==0; \r\n }", "title": "" }, { "docid": "5f4c91f8e9103849a21cdfd4275db09e", "score": "0.61420995", "text": "public boolean isNumeric(String input) {\n //use try catch should the conversion fail\n try {\n int num = Integer.parseInt(input);\n if (num < 0)\n return false;\n } catch(Exception e) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d12803fb040b29e59e74dadedf7d8590", "score": "0.6135379", "text": "public static boolean isInteger(String str) {\n\t\ttry {\n\t Integer.parseInt(str);\n\t } catch (NumberFormatException | NullPointerException nfe) {\n\t return false;\n\t }\n\t return true;\n\t}", "title": "" } ]
3b5cbb68576e877b67453c71c7c7e539
get list of GeoItem.
[ { "docid": "0c02079ee3297648cc13f6e3f97c8d43", "score": "0.8166448", "text": "public List<GeoItem> getItems(){\r\n\t\t\treturn items_;\r\n\t\t}", "title": "" } ]
[ { "docid": "d30359ba20a31d3bb14fb1913406d621", "score": "0.8158934", "text": "public final List<GeoItem> getItems(){\r\n\t\treturn items_;\r\n\t}", "title": "" }, { "docid": "444a968dbb9a7f2849afb994642dde74", "score": "0.68833065", "text": "java.util.List<ie.gmit.ds.Item> \n getItemsList();", "title": "" }, { "docid": "ddd660015d47c10def2eeb4419ce73e5", "score": "0.66787237", "text": "public abstract List<GeoStamp> getGeoStamps();", "title": "" }, { "docid": "f9d2afc8a41176da1d0bf020b7332297", "score": "0.66177607", "text": "public ArrayList<GeoElement> toGeoList() {\r\n\r\n\t\tArrayList<GeoElement> list = new ArrayList<GeoElement>();\r\n\t\t\r\n\t\tfor (int col = minColumn; col <= maxColumn; ++col) {\r\n\t\t\tfor (int row = minRow; row <= maxRow; ++row) {\r\n\t\t\t\tGeoElement geo = RelativeCopy.getValue(app, col, row);\r\n\t\t\t\tif (geo != null){\r\n\t\t\t\t\tlist.add(geo);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "239a52bc35fea98ee920119595102f2d", "score": "0.6580482", "text": "List<Item> getItems();", "title": "" }, { "docid": "3ef4432fabdd6a8d87907a4980b09a9f", "score": "0.6527714", "text": "public List<Position> getItemCoords() {\n return itemCoords;\n }", "title": "" }, { "docid": "f465330ef4a09e7bbdcde3c55c686c77", "score": "0.64978", "text": "java.util.List<Double> getLatitudeList();", "title": "" }, { "docid": "060dbc1c78a0851767a0baf31b32cb4d", "score": "0.64323074", "text": "java.util.List<java.lang.String>\n getItemsList();", "title": "" }, { "docid": "9655dcd33d539d14c64c4a1550982824", "score": "0.6403207", "text": "List<T> getItems();", "title": "" }, { "docid": "8445942840da06ad834255d921834b1f", "score": "0.636973", "text": "public List<LocationItem> getAllLocationsAsList(){\n\t\tremoveSingleMarkerLocations();\t//clean up DB before synchronize\n\t\t\n\t\tList<LocationItem> locationsList = new ArrayList<LocationItem>();\n String selectQuery = \"SELECT * FROM \" + TABLE + \" WHERE sync=0\";\n \n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n\t\n if (cursor.moveToFirst()) {\n do {\n \t\n \tlocationsList.add(new LocationItem(\n \t\t\tcursor.getLong(ID),\n \t\t\tcursor.getLong(_RUNID),\n \t\t\tcursor.getInt(_RUNTYPE),\n \t\t\tcursor.getLong(_DATE),\n \t\t\tcursor.getInt(_STEPS),\n \t\t\tcursor.getFloat(_SPEED),\n \t\t\tcursor.getFloat(_DISTANCE),\n \t\t\tcursor.getDouble(_LAT),\n \t\t\tcursor.getDouble(_LNG),\n \t\t\tcursor.getLong(_TIME),\n \t\t\tcursor.getString(_NICK)\n \t\t\t));\n \t\n } while (cursor.moveToNext());\n }\n \n db.close();\n \n return locationsList;\n\t}", "title": "" }, { "docid": "120117b254c725258750f749d75115d0", "score": "0.636372", "text": "public List<GPSLOC> getallGPSLOC(){\n List<GPSLOC> gpslocs = new ArrayList<GPSLOC>();\n String selectQuery = \"SELECT * FROM \" + TABLE_GPSLOC;\n\n Log.e(LOG, selectQuery);\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor c = db.rawQuery(selectQuery, null);\n\n if (c.moveToFirst()) {\n do {\n GPSLOC td = new GPSLOC(\n c.getInt(c.getColumnIndex(GPSID)),\n c.getString(c.getColumnIndex(LATITUDE)),\n c.getString(c.getColumnIndex(LONGITUDE))\n );\n gpslocs.add(td);\n } while (c.moveToNext());\n }\n return gpslocs;\n }", "title": "" }, { "docid": "dab3fda535eb90884b76b6d529e0bfaf", "score": "0.6287487", "text": "public List<StopItem> getStopItems(LatLng latLng) {\n // Open database for reading\n SQLiteDatabase db = this.getReadableDatabase();\n // Construct and execute query\n Cursor cursor = db.query(TABLE_STOP, // TABLE\n new String[]{KEY_STOP_LAT, KEY_STOP_LON, KEY_STOP_ID, KEY_STOP_NAME, KEY_ROUTES}, // SELECT\n KEY_STOP_LAT + \"< ? AND \" + KEY_STOP_LAT + \"> ? AND \" + KEY_STOP_LON + \"< ? AND \" + KEY_STOP_LON + \"> ?\", new String[]{String.valueOf(latLng.latitude + 0.01), String.valueOf(latLng.latitude - 0.01), String.valueOf(latLng.longitude + 0.01), String.valueOf(latLng.longitude - 0.01)}, // WHERE, ARGS\n null, null, null, \"100\"); // GROUP BY, HAVING, ORDER BY, LIMIT\n List<StopItem> stopItems = new ArrayList<StopItem>();\n\n // looping through all rows and adding to list\n if (cursor.moveToFirst()) {\n do {\n StopItem item = new StopItem(cursor.getDouble(0), cursor.getDouble(1), cursor.getInt(2), cursor.getString(3),cursor.getString(4));\n //item.setId(cursor.getInt(0));\n // Adding favorite item to list\n stopItems.add(item);\n //Log.e(\"***************\", item.getStopname());\n } while (cursor.moveToNext());\n }\n\n // Close the cursor\n if (cursor != null)\n cursor.close();\n\n // return favorite list\n return stopItems;\n }", "title": "" }, { "docid": "244cab246b6953ceb006f26e7935b9a8", "score": "0.6264932", "text": "@Override\n public List<Location> getList() throws EwpException {\n String sql = getSQL() + \" ORDER BY LOWER(loc.Name) \";\n return executeSqlAndGetEntityList(sql);\n }", "title": "" }, { "docid": "fa195576fdbab92bc0067947d254906f", "score": "0.62123626", "text": "java.util.List<Double> getLongitudeList();", "title": "" }, { "docid": "b2a124b9388bf16371e7fbeb82c712d1", "score": "0.6135488", "text": "public static List<Item> getItems() {\n return new Select().from(Item.class).execute();\n }", "title": "" }, { "docid": "069ba2acf51ffdcb9a6d072949e23bd0", "score": "0.6117753", "text": "@Override\n\t\tprotected OverlayItem createItem(int i) {\n\t\t\treturn mGeoList.get(i);\n\t\t}", "title": "" }, { "docid": "0e6c9732d08d29c45959ecbf6ccf26f7", "score": "0.61078966", "text": "public Item[] getAll();", "title": "" }, { "docid": "6c508b00e2bb1949b1018ff4e9474757", "score": "0.6098311", "text": "public ArrayList<Markers> getMarkers() {\n ArrayList<Markers> markers = new ArrayList<>();\n SQLiteDatabase database = dbHelper.getWritableDatabase();\n Cursor cursor = database.query(DBHelper.TABLE_CONTACTS, null, null, null, null, null, null);\n //Log.d(\"DBWorker\", \"getMarkers\");\n if (cursor.moveToFirst()) {\n do {\n int idIndex = cursor.getColumnIndex(DBHelper.KEY_ID);\n int latitudeIndex = cursor.getColumnIndex(DBHelper.KEY_LATITUDE);\n int longtitudeIndex = cursor.getColumnIndex(DBHelper.KEY_LONGITUDE);\n// Log.d(\"SQLite\", \"id=\" + cursor.getInt(idIndex) +\n// \", lat=\" + cursor.getDouble(latitudeIndex) +\n// \", lon=\" + cursor.getDouble(longtitudeIndex));\n markers.add(new Markers(cursor.getDouble(latitudeIndex), cursor.getDouble(longtitudeIndex), MarkerType.Crosswalk));\n } while (cursor.moveToNext());\n } else {\n //Log.d(\"SQLite\", \"0 rows\");\n }\n cursor.close();\n database.close();\n return markers;\n }", "title": "" }, { "docid": "a23cca322c808983e76e24017588d23a", "score": "0.60899276", "text": "@Override\r\n\tpublic List<Item> getAll() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "8915e894cb912c6d49e52fa57e4dd631", "score": "0.6084688", "text": "public List<GPS> getallGPS(){\n List<GPS> gpss = new ArrayList<GPS>();\n String selectQuery = \"SELECT * FROM \" + TABLE_GPS;\n\n Log.e(LOG, selectQuery);\n\n SQLiteDatabase db = this.getReadableDatabase();\n\n Cursor c = db.rawQuery(selectQuery, null);\n\n // looping through all rows and adding to list\n if (c.moveToFirst()) {\n do {\n GPS td = new GPS(\n c.getInt(c.getColumnIndex(GPSID)),\n c.getString(c.getColumnIndex(DATE)),\n c.getString(c.getColumnIndex(PATHNAME)),\n\n c.getString(c.getColumnIndex(STARTLATITUDE)),\n c.getString(c.getColumnIndex(STARTLONGITUDE)),\n\n c.getString(c.getColumnIndex(ENDLATITUDE)),\n c.getString(c.getColumnIndex(ENDLONGITUDE))\n );\n\n gpss.add(td);\n } while (c.moveToNext());\n }\n return gpss;\n }", "title": "" }, { "docid": "1d519ddbcca93579343ebdf86136c07a", "score": "0.606054", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP3003U00grdINP1001Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "ebaee7fa8ae349f96df617432f9e07ad", "score": "0.6056646", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1003U00grdCSC0108Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "23f2769a7749cd1d209fb4dfe1d0602e", "score": "0.6053586", "text": "public List<Object> getAll(){\r\n return this.fdao.get(\"FROM Region\");\r\n }", "title": "" }, { "docid": "d3ba10c23509950f87af20bbae5d5dd2", "score": "0.60386777", "text": "public List<Map> getFproducts() throws java.rmi.RemoteException;", "title": "" }, { "docid": "1bb972dc3c5dd4dbccecaae3cc9e97ce", "score": "0.60379386", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP3003U00grdINP2002Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "4534f6b426ba8086d0d6a093cc1e5645", "score": "0.60352373", "text": "public List<ItemModel> getData() {\n\n //TODO retrieve data from DB/JSON/sharedpref\n\n List<ItemModel> itemData = new ArrayList<>();\n String[] names = {\"1\", \"2\", \"3\", \"4\", \"5\"};\n String[] address = {\"1\", \"2\", \"3\", \"4\", \"5\"};\n\n for (int i = 0; i < names.length; i++) {\n\n ItemModel currentitem = new ItemModel();\n\n currentitem.address = address[i];\n currentitem.triggername = names[i];\n itemData.add(currentitem);\n\n }\n return itemData;\n }", "title": "" }, { "docid": "55f7a551d19ac99acb0147ccff8a459e", "score": "0.60330844", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1001Q00grdINP1001Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "df83e71af0ffbdc36476d5f163e55522", "score": "0.60303247", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1003Q00grdINP1003Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "aa192544a80c114dd3291ac41e97f90c", "score": "0.60244906", "text": "java.util.List<pomelo.item.ItemOuterClass.Grid> \n getEquipsList();", "title": "" }, { "docid": "5a0f008e794b86a2d3f84900394e10fa", "score": "0.6006445", "text": "@Override\r\n\tpublic List<Item> getAllItems() {\n\t\treturn ht.loadAll(Item.class);\r\n\t}", "title": "" }, { "docid": "579286b97de084b8b35f1596741b4554", "score": "0.60040504", "text": "public List<Map<String, String>> getRegionsList();", "title": "" }, { "docid": "19725cba6a3aac16447fdc0c5cc47a42", "score": "0.6001997", "text": "public abstract ArrayList<String> getItems();", "title": "" }, { "docid": "1bf21ac7445dfa950671081dc2acafa7", "score": "0.5985054", "text": "public List<OrderItem> getItem () {\n return item;\n }", "title": "" }, { "docid": "6a9f4bc6e131d5e3fa573901be72e893", "score": "0.59758985", "text": "java.util.List<java.lang.Integer> getPlacesList();", "title": "" }, { "docid": "8213842e8ca988fb9eb1806e75151e35", "score": "0.597474", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP2004Q00grdINP2004Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "9fa85b6c498449effe0dadb65c138d37", "score": "0.59559125", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP2004Q01grdINP2004Info> \n getGrdMasterItemList();", "title": "" }, { "docid": "7e982d93121f9f5b2fe751b933cac08c", "score": "0.59415454", "text": "@Override\r\n public Collection<E> getGeometries()\r\n {\r\n Collection<E> result;\r\n synchronized (myGeometries)\r\n {\r\n result = New.collection(myGeometries);\r\n }\r\n return result;\r\n }", "title": "" }, { "docid": "0d0fd71a5a853e3055a5b2ece8688455", "score": "0.59401983", "text": "public void getItems() {\n\t\t\n\t}", "title": "" }, { "docid": "8f6d6c4e37f84f3ccbc2bf90ee14c254", "score": "0.5924701", "text": "java.util.List<com.clarifai.grpc.api.Point> \n getKeypointLocationsList();", "title": "" }, { "docid": "2c7f9c7f82672e953289deb8ad61a614", "score": "0.5900094", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1003U00grdInpReserInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "fd1bb9d3e7f8d37760b88f0e0c0f3919", "score": "0.58950716", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP2004Q00grdHoCodeListInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "b405318a73b41518cb14987e311c5035", "score": "0.5889091", "text": "private List<FeedItem> getFeedItems() {\n String url = FeedUtil.getUrl();\n String json = HttpUtil.getJson(url);\n FeedWrapper feedWrapper = FeedUtil.convertToObjects(json);\n List<FeedItem> items = feedWrapper.getItems();\n return items;\n }", "title": "" }, { "docid": "344cb5e3182caf7d0cc466cad6742257", "score": "0.5885136", "text": "String getItems();", "title": "" }, { "docid": "9c4ea9cf05438acacc37c95b26e31a5a", "score": "0.58786386", "text": "public ArrayList<Item> getItemsOnGround() {\r\n return _itemsOnGround;\r\n }", "title": "" }, { "docid": "373e8742657f45cffe66006e6bbb3320", "score": "0.5874658", "text": "public List<Item> getItem() { return item; }", "title": "" }, { "docid": "7483b40ae85e9f1ba1c02d9ead2ae964", "score": "0.58724254", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP3003U00grdINP1001PastInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "55b2b30fa3629865d2fd3f54ddfdf430", "score": "0.58722967", "text": "@Override\n public List<Item> selectAll() {\n List<Map<String, Object>> mp = jdbcTemplate.queryForList(\"SELECT * FROM item\");\n List<Item> items = new ArrayList<Item>();\n for (int i = 0; i < mp.size(); i++) {\n Item item = new Item();\n item.setItemId(Integer.parseInt(mp.get(i).get(\"id\").toString()));\n item.setItemName(mp.get(i).get(\"name\").toString());\n item.setDescription(mp.get(i).get(\"description\").toString());\n item.setTypeId(Integer.parseInt(mp.get(i).get(\"type_id\").toString()));\n item.setImage(mp.get(i).get(\"image\").toString());\n item.setSubCategoryId(Integer.parseInt(mp.get(i).get(\"sub_category_id\").toString()));\n item.setCreatedDate(Date.valueOf(mp.get(i).get(\"created_date\").toString()));\n item.setCreator(mp.get(i).get(\"creator\").toString());\n items.add(item);\n }\n log.info(\"{}\", items);\n return items;\n }", "title": "" }, { "docid": "6f2570bc4fd114f90ac95c0efd61fae5", "score": "0.58704835", "text": "public List<Geometry> getGeometryObject() {\n return mGeometries;\n }", "title": "" }, { "docid": "2bb618012775107401b49514e133dd78", "score": "0.58688796", "text": "public List<T> getItems() {\n return items;\n }", "title": "" }, { "docid": "3c5b613ce5d1e98ecc5e272369181915", "score": "0.58647716", "text": "public synchronized ArrayList<String> getGarages() {\n\t\tArrayList<String> preparedGarages = new ArrayList<>();\n\t\tPersistenceManager pm = pmf.getPersistenceManager();\n\t\tTransaction tx = pm.currentTransaction();\n\t\ttry {\n\t\t\ttx.begin();\n\t\t\tQuery<Garage> query = pm.newQuery(Garage.class);\n\t\t\t@SuppressWarnings(\"unchecked\")\n\t\t\tArrayList<Garage> garages = new ArrayList<Garage>((List<Garage>) query.execute());\n\t\t\ttx.commit();\n\t\t\tfor (Garage a : garages){\n\t\t\t\tpreparedGarages.add(a.getLocation().toString());\n\t\t\t}\n\t\t\treturn preparedGarages;\n\n\t\t} catch (Exception ex) {\n\t\t\tCarRenting.getLogger().error(\"Error retrieving data from the database:\" +ex.getMessage());\n\t\t} finally {\n\t\t\tif (tx != null && tx.isActive()) {\n\t\t\t\ttx.rollback();\n\t\t\t}\n\t\t\tCarRenting.getLogger().debug(\"GETTING GARAGES\");\n\t\t\tpm.close();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d15247f88d86ebdfeb2778a4b0d6a5f4", "score": "0.58581585", "text": "private ArrayList<ListItem> getListData(){\n ArrayList<ListItem> listData = new ArrayList<ListItem>();\n for (Note note : CRUDFlinger.getNotes()) {\n if (type.equals(\"area\")) {\n if (note.getAreaName().equals(viewId)) {\n listData.add(new ListItem(R.drawable.ic_like,\"Title: \" + note.getNoteTitle(),\"Updated: \" + note.getDateUpdated(),null,null,null));\n }\n } else if (type.equals(\"household\")) {\n if (note.getHouseholdID().equals(viewId)) {\n listData.add(new ListItem(R.drawable.ic_like,\"Title: \" + note.getNoteTitle(),\"Updated: \" + note.getDateUpdated(),null,null,null));\n }\n }\n\n }\n return listData;\n }", "title": "" }, { "docid": "f5a8db06aa003e43525b7c8efa929fec", "score": "0.5851978", "text": "java.util.List<com.cooyet.im.protobuf.IMLocation.IMLocationInfo> \n getInfoList();", "title": "" }, { "docid": "f5a8db06aa003e43525b7c8efa929fec", "score": "0.5851978", "text": "java.util.List<com.cooyet.im.protobuf.IMLocation.IMLocationInfo> \n getInfoList();", "title": "" }, { "docid": "b50ab49b5c135f923beaca96cd9e732b", "score": "0.58498573", "text": "public List<B> getListItems() {\n return list;\n }", "title": "" }, { "docid": "c20a09f3a8e057b49495b576e94348da", "score": "0.5848102", "text": "public List<Item> getItems(){\r\n return items;\r\n }", "title": "" }, { "docid": "90bb10460d2add9a4b25ef3c56726a5d", "score": "0.5836252", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.DataStringListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "90bb10460d2add9a4b25ef3c56726a5d", "score": "0.5834599", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.DataStringListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "a121583b8d94eb12f469c1986584f265", "score": "0.5831711", "text": "public List<OrderItem> getItemList() {\r\n\t\treturn itemList;\r\n\t}", "title": "" }, { "docid": "ddf42b1891080ba45eda7c431dccfc50", "score": "0.583167", "text": "@Override\n public List<Item> items() {\n return items;\n }", "title": "" }, { "docid": "7a8511220de5af2b2eb1a8daa8b88e76", "score": "0.5831432", "text": "public Cursor getItems() {\n return mDb.query(DATABASE_TABLE_TODOLIST, new String[] {SL_ID, SL_NAME, SL_URL}, null, null, null, null,SL_ID);\n }", "title": "" }, { "docid": "31a77c06918ca559ef1d72700c1268cf", "score": "0.5827922", "text": "public List getTollLocations();", "title": "" }, { "docid": "6084092e50269ecfa17f52e04c4af784", "score": "0.58250093", "text": "public ArrayList<Item> getAll() {\n ArrayList<Item> result = new ArrayList<>();\n try (PreparedStatement stat = conn.prepareStatement(\n \"SELECT * FROM items\")) {\n resultSet = stat.executeQuery();\n while (resultSet.next()) {\n Item item = new Item(\n resultSet.getString(\"name\"),\n resultSet.getString(\"description\"),\n resultSet.getLong(\"created\"));\n item.setId(resultSet.getString(\"id\"));\n result.add(item);\n }\n resultSet.close();\n } catch (SQLException e) {\n LOGGER.error(e.getMessage(), e);\n }\n return result;\n }", "title": "" }, { "docid": "0fbf198ad5e0eeb3ac0b6cdffa60cdbe", "score": "0.5824914", "text": "java.util.List<osmosis.incentives.GaugeOuterClass.Gauge> \n getDataList();", "title": "" }, { "docid": "0fbf198ad5e0eeb3ac0b6cdffa60cdbe", "score": "0.5824914", "text": "java.util.List<osmosis.incentives.GaugeOuterClass.Gauge> \n getDataList();", "title": "" }, { "docid": "0fbf198ad5e0eeb3ac0b6cdffa60cdbe", "score": "0.5824914", "text": "java.util.List<osmosis.incentives.GaugeOuterClass.Gauge> \n getDataList();", "title": "" }, { "docid": "97c0e2fa28a1451a648d013381ee5e6c", "score": "0.5815695", "text": "public List<Item> getItems() {\n return items;\n }", "title": "" }, { "docid": "97c0e2fa28a1451a648d013381ee5e6c", "score": "0.5815695", "text": "public List<Item> getItems() {\n return items;\n }", "title": "" }, { "docid": "54dcbb103657f28a680a12c2dd423b9f", "score": "0.5806171", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.ComboListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "6749da966099d979bfd056e172f63a75", "score": "0.58061", "text": "@Override\n public Cursor getListAsResultSet() throws EwpException {\n String sql = \"SELECT * From EDLocation\";\n return executeSqlAndGetResultSet(sql);\n }", "title": "" }, { "docid": "54dcbb103657f28a680a12c2dd423b9f", "score": "0.58047825", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.ComboListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "54dcbb103657f28a680a12c2dd423b9f", "score": "0.5803991", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.ComboListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "54dcbb103657f28a680a12c2dd423b9f", "score": "0.5803991", "text": "java.util.List<nta.med.service.ihis.proto.CommonModelProto.ComboListItemInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "e196487b1aba261271fee5ae99ef6e28", "score": "0.58020395", "text": "public abstract Iterable<LocationIdentity> getLocations();", "title": "" }, { "docid": "1762227a2629fc0b739c1d02e9031755", "score": "0.579367", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP3003U00layLoadToiwonResDateInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "e7f2afb82903ecda8d78efc1c60720ba", "score": "0.57914114", "text": "List<ObservableList<Field>> getItems() {\n\t\treturn items;\n\t}", "title": "" }, { "docid": "0580c7caebfbd122aef90ba7439fb3fe", "score": "0.57793814", "text": "public Collection<Products> getItem(){\n\t\treturn map.values();\n\t}", "title": "" }, { "docid": "ab044da4f9e6af8e24540b083dcaf5bd", "score": "0.57789105", "text": "public List<OrderItem> getAllOrderItems() { \r\n List<OrderItem> OrderItems = getTemplate().loadAll(OrderItem.class);\r\n \r\n for(OrderItem c : OrderItems)\r\n System.out.println(c.toString());\r\n \r\n return OrderItems;\r\n }", "title": "" }, { "docid": "dccb158f1d5e7f29d31949523c769cb8", "score": "0.5777139", "text": "private ArrayList<ImageItem> getData() {\n final ArrayList<ImageItem> imageItems = new ArrayList<>();\n TypedArray imgs = getResources().obtainTypedArray(R.array.image_ids);\n for (int i = 0; i < imgs.length(); i++) {\n Bitmap bitmap = BitmapFactory.decodeResource(getResources(), imgs.getResourceId(i, -1));\n imageItems.add(new ImageItem(bitmap,namesofrappers[i],idsofrappers[i]));\n }\n return imageItems;\n }", "title": "" }, { "docid": "831dc3e5820064410216f7eb976e7b12", "score": "0.57714665", "text": "List<String> locations();", "title": "" }, { "docid": "e11a81773f4d8fe4b35351b66d78b440", "score": "0.5770876", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INPBATCHTRANSgrdInpListQueryStartingrbnMiTransInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "4bc380a4baacc58a5a3c90ad01138a35", "score": "0.57432526", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1001U01EtcIpwongrdHistoryInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "45954c8c36589bccb3486b84381fa595", "score": "0.57401013", "text": "public List<LocationItem> getLocationsByRunId(long runID){\n\t\tString selectQuery = \"SELECT * FROM \" + TABLE + \" WHERE run_id=\"+runID;\n\t\t\n\t\tList<LocationItem> locations = new ArrayList<LocationItem>();\n\t\t\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(selectQuery, null);\n \n while (cursor.moveToNext()) {\t\n\n\t\t\tlocations.add(new LocationItem(\n\t\t\t\t\tcursor.getLong(ID),\n\t\t\t\t\tcursor.getLong(_DATE), \n\t\t\t\t\tcursor.getFloat(_SPEED),\n\t\t\t\t\tcursor.getFloat(_DISTANCE),\n\t\t\t\t\tcursor.getDouble(_LAT),\n\t\t\t\t\tcursor.getDouble(_LNG)\n\t\t\t\t\t));\n\t\t\t\t\t\t\n\t\t}\n \n db.close();\n \n return locations;\n\t}", "title": "" }, { "docid": "06607fc9f1834ebf271610be7412eb64", "score": "0.5735441", "text": "java.util.List<data_info>\n getInfoList();", "title": "" }, { "docid": "d2d733bfe98b056f89ccc108464ff949", "score": "0.573324", "text": "public List<LocationInterface> getLocations(){\n return locations;\n }", "title": "" }, { "docid": "4f0c884f610acea407c8c6956357f58e", "score": "0.5721377", "text": "ie.gmit.ds.Item getItems(int index);", "title": "" }, { "docid": "77456190ff986d025ac953f9a810faee", "score": "0.57194495", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INPBATCHTRANSgrdInpListQueryStartingrbnTransInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "c52cd2aa8acf3442c03b98be5b284d89", "score": "0.5712465", "text": "public final List<GeneticMarkers> getMarkerlist() {\n return markerlist;\n }", "title": "" }, { "docid": "db988bcf1c49319f8169f3eb03bb83c5", "score": "0.57066345", "text": "public List getMapInfos(double latitude, double longitude);", "title": "" }, { "docid": "4690ec5050a79b0e9b15dfa67584a2e1", "score": "0.5704483", "text": "public String[][] getItemList(){\n return itemList;\n }", "title": "" }, { "docid": "064d226aa4ad9ab95779b4d45e4ad0dc", "score": "0.57034945", "text": "public ArrayList<Shop> getItemNearby(Item item) throws DAOException;", "title": "" }, { "docid": "50cfc6dbfa881143cea125b2c4456321", "score": "0.57031715", "text": "public List<ItemEntity> getItems() {\r\n return items;\r\n }", "title": "" }, { "docid": "84372b48fe7c59c9505d05e17facacc8", "score": "0.5702379", "text": "public List<ListItem> getItems() {\n\t\t// logger.info(\"get content items for:\" + resource.getPath());\n\t\tIterator<Resource> resIt = findResources();\n\n\t\tthis.items = processResources(resIt);\n\t\tcalculateRelevancyScore();\n\t\tsortListItems();\n\t\treturn items;\n\t}", "title": "" }, { "docid": "3db9c5e75653519b7bc07e75b17e64fc", "score": "0.570181", "text": "@Override\n\tpublic List<Item> getAllItems() {\n\t\treturn itemDao.getAllItems();\n\t}", "title": "" }, { "docid": "44227a80ae72802979c60a43fae41e1c", "score": "0.5699524", "text": "public List<T> getItems() {\r\n\t\treturn items;\r\n\t}", "title": "" }, { "docid": "a47c08c15ce7e61921f0fbfe197e39e6", "score": "0.56987166", "text": "java.util.List<nta.med.service.ihis.proto.InpsModelProto.INP1001U01IpwonSelectFormgrdIpwonHistoryInfo> \n getGrdMasterItemList();", "title": "" }, { "docid": "d3db29d002632419d5a2e441d0554f23", "score": "0.5687236", "text": "@Override\n public List<Locadora> getAll() {\n EntityManager em = this.getEntityManager();\n Query q = em.createQuery(\"select l from Locadora l\", Locadora.class);\n List<Locadora> locadoras = q.getResultList();\n em.close();\n return locadoras;\n }", "title": "" }, { "docid": "9366ef875fd5afae7f7c9b68186a6a9f", "score": "0.5686564", "text": "@java.lang.Override\n public java.util.List<POGOProtos.Rpc.ItemProto> getItemsList() {\n return items_;\n }", "title": "" }, { "docid": "5eeb5119a1572c04b10b826d76171bd9", "score": "0.5678249", "text": "public List<EntityGPSData> getGpsData()\r\n\t{\r\n\t\treturn gpsData;\r\n\t}", "title": "" }, { "docid": "55083f40396c2764951e1f5da91a1d52", "score": "0.5675343", "text": "List<Country> get();", "title": "" }, { "docid": "3e484b8e76be45ad275eed8e99601df6", "score": "0.5673903", "text": "public static List<Location> getLocations() {\n return locations;\n }", "title": "" } ]
0b1738b6f516321d11aee8a214f92b8b
Draw Image at given position
[ { "docid": "97c4341eb42585ac6f3b6f2b8964975c", "score": "0.63038796", "text": "public void draw(ImageIcon img, double x, double y, double xalign, double yalign) {\n int\n ix = (int)(x*unitx - xalign*img.getIconWidth ()),\n iy = (int)(y*unity - yalign*img.getIconHeight());\n img.paintIcon(graphics, ix, iy);\n }", "title": "" } ]
[ { "docid": "acc35da39b2515644987c84ca30420c8", "score": "0.76627463", "text": "public void draw() {\r\n StdDraw.picture(this.xxPos, this.yyPos, \"images/\" + this.imgFileName);\r\n }", "title": "" }, { "docid": "4085d17a1bdaf5bf02ab6457df252ce8", "score": "0.7587554", "text": "public void draw() {\n StdDraw.picture(xxPos, yyPos, \"images/\" + imgFileName);\n }", "title": "" }, { "docid": "ed9f016d2593f1f7a13410f27abc83ce", "score": "0.74372286", "text": "public void draw() {\n\t\t// TODO: complete method\n\t\tStdDraw.picture(myXPos, myYPos, \"images/\" + myFileName);\n\t}", "title": "" }, { "docid": "b42ab400273f5d50f67da3f2bf2b648f", "score": "0.73550683", "text": "public void draw() {\n\t\tStdDraw.picture(xxPos, yyPos, (\"images/\" + imgFileName));\n\t}", "title": "" }, { "docid": "bd42d449b60062bfb980802f2c4ad526", "score": "0.73093337", "text": "@Override\n\tpublic void draw()\n\t{\n\t\t// Draw the image\n\t\timage(tracker.getDisplay(), 40, 280, 200, 140);\n\t}", "title": "" }, { "docid": "f8dd532b1683762ee6e42b7423341b09", "score": "0.72733635", "text": "public void draw() {\n\t\tStdDraw.picture(myXPos,myYPos,\"C:/Users/sara_/Documents/p1/p1-nbody-fall20/images/\"+myFileName);\n\t}", "title": "" }, { "docid": "060b37a2535c4109e6dce0eac61af472", "score": "0.71245325", "text": "public void drawImage(\n int x, int y, int xSpan, int ySpan,\n InterfaceBwdImage image,\n int sx, int sy, int sxSpan, int sySpan);", "title": "" }, { "docid": "2e7ac973d17f641c4eb2977883f54a5b", "score": "0.7085999", "text": "public void eDraw(){\n\t\tterritoryImage.draw(this.getX(), this.getY());\n\t}", "title": "" }, { "docid": "f7a277a607af2af4d5e8fbed43fede9c", "score": "0.68757236", "text": "@Override\r\n\tpublic void draw(Graphics g, int x, int y) {\n\t\tg.drawImage(image, x, y, null);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2814e0f1d74be5207f0a82e145688345", "score": "0.68230677", "text": "public void render() {\n\t\timage.drawCentered(getX(), getY());\n\t}", "title": "" }, { "docid": "7216ba5eacdd82b080b5b2eb4134dfa7", "score": "0.6788493", "text": "public void drawImage(GRect rect, InterfaceBwdImage image);", "title": "" }, { "docid": "55fecc61996c3a49d28f2b0f34e8d5de", "score": "0.6709297", "text": "public void drawImage(GRect rect, InterfaceBwdImage image, GRect sRect);", "title": "" }, { "docid": "d0f67c1e0c61c7ccbcc0ebb4a523557d", "score": "0.67091763", "text": "@Override\r\n public void draw(GraphicsContext ctx) {\n ctx.drawImage(img, super.getLeft(), super.getTop());\r\n }", "title": "" }, { "docid": "68fea86373274aa9cff6deb0b093288e", "score": "0.6708524", "text": "void drawImage(Image i, int x, int y) {\n gc.drawImage(i, TILE_SIZE * x, TILE_SIZE * y, TILE_SIZE, TILE_SIZE);\n }", "title": "" }, { "docid": "fac453b63368d4d861fe2c388e2d3f63", "score": "0.66736764", "text": "private void drawImage() {\n \n double[] red = dataArray.getCurrentRed();\n double[] green = dataArray.getCurrentGreen();\n double[] blue = dataArray.getCurrentBlue();\n \n int index;\n for (int y = 0; y < height; y++) {\n for (int x = 0; x < width; x++) {\n \n index = x + (y * width);\n \n int rp = (int)(red[index] * 255);\n int gp = (int)(green[index] * 255);\n int bp = (int)(blue[index] * 255);\n pixelWriter.setColor(x, y, Color.rgb(rp, gp, bp));\n }\n }\n }", "title": "" }, { "docid": "436a30f37462a0d71022f15031ce142a", "score": "0.66387784", "text": "private static void drawRect(BufferedImage img, double[] pos, double[] ext) {\n Graphics2D graph = img.createGraphics();\n graph.drawRect((int) pos[1], (int) pos[0], (int) ext[1], (int) ext[0]);\n }", "title": "" }, { "docid": "f93aa83a81a0b6e660ad057ac153f593", "score": "0.6590519", "text": "public void image(float xloc, float yloc)\n {\n setBounds(xloc, yloc, w, h);\n image();\n }", "title": "" }, { "docid": "282f0efb110006b54817b6ad31699fe2", "score": "0.65773726", "text": "void draw(String imagePath);", "title": "" }, { "docid": "25cc69718a246079d213e250d36ddb61", "score": "0.64851505", "text": "void drawImage(Image img, AffineTransform placement) {\n\t\t\tthis.pg.drawImage(img, placement, this);\n\t\t\t// show the drawn lines\n\t\t\tthis.clear();\n\t\t\tthis.sg.drawImage(this.paths, 0, 0, this);\n\t\t\t// add the turtles over top\n\t\t\tfor(Turtle t : this.turtles) {\n\t\t\t\tt.draw(this.sg);\n\t\t\t}\n\t\t\t// force the OS to show what's shown\n\t\t\tthis.repaint();\n\t\t\t\n\t\t\t// pause\n\t\t\ttry { Thread.sleep(this.turtlePause); } catch (InterruptedException e) { }\n\t\t}", "title": "" }, { "docid": "78ed2b12356240807888bd7acc197f44", "score": "0.6484103", "text": "public void draw(){\n\t\tGraphics2D g2 = (Graphics2D) getGraphics();\n\t\t\n\t\tg2.drawImage(image, 0, 0, null);\n\t\tg2.dispose();//acts like garbage collection\n\t\t\n\t}", "title": "" }, { "docid": "6803101f684c88367e6a4b6e1d722740", "score": "0.64553857", "text": "public void drawImage(Image src, int x, int y, int anchor)\n {\n drawRegionRop(src, 0, 0, src.getWidth(), src.getHeight(), x, y, anchor, ROP_COPY);\n }", "title": "" }, { "docid": "8182b1a062f27ae3c63700260efcdceb", "score": "0.64377564", "text": "void draw(Graphics g, int x, int y){\n\t\tg.drawImage(image, x, y, null);\n\t}", "title": "" }, { "docid": "86b309f4424233bfa773c6b1aa2a86c3", "score": "0.64163494", "text": "public void draw(java.awt.Graphics2D gr) {\n\r\n int direction = 0;\r\n if (xv > 0) {\r\n direction = 1;\r\n } else if (xv < 0) {\r\n direction = 0;\r\n }\r\n if (yv > 0) {\r\n direction = 2;\r\n } else if (yv < 0) {\r\n direction = 2;\r\n }\r\n //int[] srcBounds = getImageBound(direction, gesture);\r\n int[] srcBounds = getImageBound(0, 0);\r\n int w = srcBounds[2], h = srcBounds[3];\r\n int dx2 = x + w;\r\n int dy2 = y + h;\r\n int sx1 = srcBounds[0], sy1 = srcBounds[1], sx2 = sx1 + w, sy2 = sy1 + h;\r\n gr.drawImage(image, x, y, dx2, dy2, sx1, sy1, sx2, sy2, null);\r\n\r\n }", "title": "" }, { "docid": "4e95edc43f65e3cbb656c036b9dedc79", "score": "0.63843346", "text": "@Override\n public void draw(Graphics g){ \n\t\tg.drawImage(cow, (int)(position.x), (int)(position.y), null);\n }", "title": "" }, { "docid": "52c958a4a2902ad7afb8287db8275aff", "score": "0.6336649", "text": "private void drawToScreen(){\r\n\t\tGraphics g6 = getGraphics();\r\n\t\tg6.drawImage(image, -8, -8, WIDTH * SCALE, HEIGHT * SCALE, null);//-8 Adjusts the positioning of the image in the JPanel\r\n\t\tg6.dispose();\r\n\t}", "title": "" }, { "docid": "ac7b51e886b00c908fcf68ca31090e70", "score": "0.6320449", "text": "public void draw() {\n if (!is_running) {\n// Log.d(\"test\", \"before surface\");\n return;\n }\n // Make sure our drawing surface is valid or we crash\n if (the_holder.getSurface().isValid()) {\n x_position = (float) (this.getWidth()/2.0 - frame_to_draw.width()/2.0);\n y_position = (float) (this.getHeight()/4.0 - frame_to_draw.height()/2.0);\n\n where_to_draw.set((int) x_position,\n (int) y_position,\n (int) x_position + sprite_width,\n (int) y_position + sprite_height);\n\n canvas = the_holder.lockCanvas(); // Lock the canvas ready to draw\n\n if (canvas != null) {\n paint.setColor(Color.argb(255, 249, 129, 0)); // Choose the brush color for drawing\n canvas.drawColor(Color.argb(255, 144, 195, 212)); // Draw the background color\n canvas.drawBitmap(dragon,\n frame_to_draw,\n where_to_draw, paint);\n\n the_holder.unlockCanvasAndPost(canvas); // Draw everything to the screen\n }\n }\n }", "title": "" }, { "docid": "4acb3f219d2b0214a69884fc05d5866a", "score": "0.6306274", "text": "public void draw() {\n /* DO NOT MODIFY */\n// StdDraw.point(x, y);\n }", "title": "" }, { "docid": "7854b49733423a1fd8fb701503acac92", "score": "0.62791586", "text": "@Override\n protected void paintComponent(Graphics g) {\n g.drawImage(image, (int)x, (int)y,280,440,null);\n super.paintComponent(g);\n }", "title": "" }, { "docid": "f4078dea1d09c2ed2d162320c929cf02", "score": "0.625078", "text": "@Override\r\n\tpublic void draw() {\r\n\t\tStdDraw.picture(p.getX(), p.getY(), \"images/BossSolMonster.png\", this.size, this.size);\r\n\t}", "title": "" }, { "docid": "4eeec12e9bc53dd5b30c346257248add", "score": "0.6244516", "text": "void draw(Pixmap p, float xOff, float yOff, float width, float height, short currentSquare, short[] surrounding);", "title": "" }, { "docid": "036cdb8704748d8e98c965813a329631", "score": "0.6238953", "text": "public void drawImage(Graphics g, BufferedImage img, double top, double left, double width, double height) {\n\t\tAffineTransform tx = new AffineTransform();\n tx.translate(top, left); // x/y set here\n tx.scale( width/img.getWidth(),height/img.getHeight());\n AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_BILINEAR);\n BufferedImage newImage = new BufferedImage(img.getWidth(), img.getHeight(), img.getType()); \n\t\top.filter(img, newImage);\n\t\tg.setColor(Color.BLACK);\n\t\t((Graphics2D) g).fill(new Rectangle2D.Double(top, left, width, height));\n\t\t((Graphics2D) g).drawImage(img, tx, this);\n\t}", "title": "" }, { "docid": "0528bffc4e2412f95003dc8f6bedd18d", "score": "0.6238033", "text": "@Override\n protected void onDraw(Canvas canvas) {\n super.onDraw(canvas);\n canvas.drawBitmap(bitmap, x, y, null);\n }", "title": "" }, { "docid": "6a0f31fc4b79ca665992ac2a6481b3bc", "score": "0.6237672", "text": "public void drawImage(String imgname,double x,double y) {\n\t\tdrawImage(x,y,imgname);\n\t}", "title": "" }, { "docid": "32424c56b73eb7c7d77b752297eeeecd", "score": "0.6228349", "text": "public void draw() {\n /* DO NOT MODIFY */\n StdDraw.point(x, y);\n }", "title": "" }, { "docid": "32424c56b73eb7c7d77b752297eeeecd", "score": "0.6228349", "text": "public void draw() {\n /* DO NOT MODIFY */\n StdDraw.point(x, y);\n }", "title": "" }, { "docid": "32424c56b73eb7c7d77b752297eeeecd", "score": "0.6228349", "text": "public void draw() {\n /* DO NOT MODIFY */\n StdDraw.point(x, y);\n }", "title": "" }, { "docid": "a74fd571d8feae88ec0ad733058c9ed5", "score": "0.6218775", "text": "@Override\n\tpublic void drawOn(Graphics2D g2) {\n\t\tg2.drawImage(this.image, getX(), getY(), getWidth(), getHeight()+6, null);\n\t}", "title": "" }, { "docid": "1dbf703d09cb703fd9af74ba8397b9ef", "score": "0.621082", "text": "public void draw(Graphics2D g) {\n\t\tg.drawImage(image, null, (int) x, (int) y);\n\t}", "title": "" }, { "docid": "5f59002edd41f8bbc6cf38bf85a9ab07", "score": "0.6200381", "text": "public void draw() {\n\t\tsprite.draw(x,y);\n\t}", "title": "" }, { "docid": "4a2b08f44293ee69526d893097ae98d1", "score": "0.61972356", "text": "public void draw(Graphics window)\r\n\t{\r\n\t\twindow.drawImage(image,x,y,size,size,null);\r\n\t\twindow.drawRect(x,y,size,size);\r\n\t}", "title": "" }, { "docid": "14f3e4a477cb95afa4d9c0aafb507644", "score": "0.619333", "text": "public void draw() {\r\n /* DO NOT MODIFY */\r\n StdDraw.point(x, y);\r\n }", "title": "" }, { "docid": "5671a303bea8da9e9373842f3dc651bb", "score": "0.618652", "text": "@Override\r\n public void paint(Graphics2D g2) {\n g2.drawImage(bufferedImage, x - bufferedImage.getWidth()/2, y - bufferedImage.getHeight()/2, null);\r\n }", "title": "" }, { "docid": "b54e1f68bc6cb6be369ecb2d4be3412e", "score": "0.61767846", "text": "public void draw() {\r\n\t\t// draw upward facing pipe\r\n\t\tthis.app.image(this.img_up, this.x, this.y_up);\r\n\t\t// draw downward facing pipe\r\n\t\tthis.app.image(this.img_down, this.x, this.y_down);\r\n\r\n\t}", "title": "" }, { "docid": "a24bea705fd7582be3ffa0333f285c4e", "score": "0.61480623", "text": "private void getOverImage(Bitmap image, int posX, int posY, Canvas canvas,\n int Color) {\n\n }", "title": "" }, { "docid": "5dad459dac2fae588f737534a0a78b9f", "score": "0.6143088", "text": "private void drawCoord(int x, int y) {\n Resources res = getResources();\n Bitmap map_pin = BitmapFactory.decodeResource(res, R.drawable.map_pin);\n\n imageViewMap.buildDrawingCache();\n Bitmap bitmap = imageViewMap.getDrawingCache();\n\n int mapWidth = imageViewMap.getWidth();\n int mapHeight = imageViewMap.getHeight();\n\n // scale map_pin to map image\n double pin_scaleRatio = 1 / 8.0;\n int pinWidth = (int)(map_pin.getWidth() * pin_scaleRatio);\n int pinHeight = (int)(map_pin.getHeight() * pin_scaleRatio);\n\n Bitmap scaled_pin = Bitmap.createScaledBitmap(map_pin, pinWidth, pinHeight, false);\n\n //Create a new image bitmap and attach a new canvas to it\n Bitmap tempBitmap = Bitmap.createBitmap(mapWidth, mapHeight, bitmap.getConfig());\n Canvas tempCanvas = new Canvas(tempBitmap);\n\n //Draw the image bitmap into the cavas\n tempCanvas.drawColor(getResources().getColor(R.color.colorBackground, null));\n tempCanvas.drawBitmap(bitmap, 0, 0, null);\n\n //Draw everything else onto the canvas\n tempCanvas.drawBitmap(scaled_pin, mapWidth/2 + x, mapHeight/2 - y, null);\n\n //Attach the canvas to the ImageView\n imageViewMap.setImageDrawable(new BitmapDrawable(getResources(), tempBitmap));\n imageViewMap.invalidate();\n }", "title": "" }, { "docid": "4023c7d35e6fe6b4e434df0bdc059ea1", "score": "0.61400485", "text": "public void draw(Graphics graphics){\n graphics.drawImage(getImage(), x, y, 100, 100,null);\n }", "title": "" }, { "docid": "132172531cd5f4c8b4120c7552fe3370", "score": "0.61022156", "text": "public void draw(Graphics2D g2d, Image zImage){\r\n AffineTransform transform = g2d.getTransform();\r\n center.setLocation(xPos + 22.5, yPos + 22.5);\r\n g2d.rotate(angle, this.xPos + 22.5, this.yPos + 22.5);\r\n g2d.drawImage(zImage, (int)xPos, (int)yPos, this);\r\n g2d.setTransform(transform);\r\n }", "title": "" }, { "docid": "4b9a83cad34b90fe1e1e5f92a121371e", "score": "0.6089496", "text": "public void drawImage(Graphics g) {\n\t\t\n\t\tAffineTransform rotation = AffineTransform.getTranslateInstance(x+offset, y);\n rotation.rotate(Math.toRadians(angle), img.getWidth() / 2, img.getHeight() / 2);\n Graphics2D graphic2D = (Graphics2D) g;\n graphic2D.drawImage(img, rotation, null);\n \n //System.out.println(this.toString());\n\t}", "title": "" }, { "docid": "5a408ced2422529f1621b7bb30e63b07", "score": "0.6087189", "text": "void positionBitmap(Bitmap dest, Bitmap src);", "title": "" }, { "docid": "54c9aae0bcca5417ed0c58b4c5b6deca", "score": "0.6080776", "text": "@Override\n\tpublic void draw() {\n\t\tif (isVisible) {\n\t\t\tCanvas canvas = Canvas.getCanvas();\n\t\t\tint[] xpoints = { xPosition, xPosition + (width / 2), xPosition - (width / 2) };\n\t\t\tint[] ypoints = { yPosition, yPosition + height, yPosition + height };\n\t\t\tcanvas.draw(this, color, new Polygon(xpoints, ypoints, 3));\n\t\t\tcanvas.wait(10);\n\t\t}\n\t}", "title": "" }, { "docid": "b7f41182dcc48d225b0ffddb1d6f9161", "score": "0.60617805", "text": "public void Draw(Canvas canvas, Vector2i offset)\r\n\t{\r\n\t\tif(mInvalidated)\r\n\t\t{\r\n\t\t\tRedraw(); \r\n\t\t}\r\n\t\tcanvas.drawBitmap(mFrontbuffer, mBounds.left + offset.x, mBounds.top + offset.y, null);\r\n\t}", "title": "" }, { "docid": "b9545b51d9d842594c3451b18faf8395", "score": "0.6033199", "text": "@Override\r\n\tpublic void draw() {\n\t\ttry {\r\n\t\t\tthis.setPath(\"/collector.png\");\r\n\t\t\tspriteImages[0] = ImageIO.read(getClass().getResourceAsStream(this.getPath()));\r\n\t\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tthis.setClown(true);\r\n\t\tthis.setHeight(spriteImages[0].getHeight());\r\n\t\tthis.setWidth(spriteImages[0].getWidth());\r\n\t\t//System.out.println(getHeight()+\" \"+getWidth());\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3254bee506e869e052b907e94411ee70", "score": "0.6018132", "text": "public void toDraw(Graphics g, Image image) {\r\n card.toDraw(g, image, x - offsetX, y - offsetY);\r\n }", "title": "" }, { "docid": "8e3098aa7f7019c054e3c4a5d9c8b6a6", "score": "0.60138035", "text": "@Override\n public void draw() {\n if(isVisible) {\n Canvas canvas = Canvas.getCanvas();\n canvas.draw(this, color,\n new java.awt.Rectangle(xPosition, yPosition, \n width, height));\n canvas.wait(10); \n }\n }", "title": "" }, { "docid": "e8665060cabdbdd1491c565b08f7b594", "score": "0.6008253", "text": "@Override\n public void onDraw(Canvas canvas) {\n super.onDraw(canvas);\n paint.setColor(Color.RED);\n paint.setStyle(Paint.Style.FILL);\n canvas.drawCircle(point.x, point.y, 30, paint);\n this.setImageMatrix(matrix);\n }", "title": "" }, { "docid": "3dc86807b5ae8534ddc240e68177a115", "score": "0.59982836", "text": "private void drawOnProjectedBitMap(ImageView iv, Bitmap bm, float x0, float y0, float x, float y) {\n if (x < 0 || y < 0 || x > iv.getWidth() || y > iv.getHeight()) {\n //outside ImageView\n return;\n } else {\n\n float bmw = bm.getWidth();\n float ivw = iv.getWidth();\n float bmh = bm.getHeight();\n float ivh = iv.getHeight();\n\n float ratioWidth = bmw / ivw;\n float ratioHeight = bmh / ivh;\n\n canvasMaster.drawLine(\n x0 * ratioWidth,\n y0 * ratioHeight,\n x * ratioWidth,\n y * ratioHeight,\n paintDraw);\n imagePreview.invalidate();\n }\n }", "title": "" }, { "docid": "29b771c18adc1e1217f5599df70d0526", "score": "0.5983357", "text": "public void draw(Graphics g) {\n\t\t\n\t\tg.drawImage(image,x,y,null);\n\t}", "title": "" }, { "docid": "3f486fd428b8bafedd7ef2876b4433d8", "score": "0.5980981", "text": "@Override\n\tvoid render(Canvas canvas) {\n\t\tcanvas.drawBitmap(texture, null, new Rect((int)x, (int)(canvas.getHeight()-y) , (int)(width+x), (int)(canvas.getHeight()-y +height)), paint);\n\t}", "title": "" }, { "docid": "080391d9bdd34a93349d79f4740ae5b9", "score": "0.59787565", "text": "protected abstract void draw();", "title": "" }, { "docid": "a27a405b95236c7bee8c89a8243f8662", "score": "0.5976695", "text": "@Override\r\n\tpublic void drawOnPicture(Picture pic) {\r\n\t\tint r = this.getR();\r\n int x = this.getX();\r\n int y = this.getY();\r\n int picWidth = pic.getWidth();\r\n int picHeight = pic.getHeight();\r\n\r\n for(int y1 = y - r, bottom = y + r; y1 < bottom; y1++){\r\n int yDifference = Math.abs(y - y1);\r\n int dx = (int) Math.sqrt(r * r - yDifference * yDifference);\r\n int x1 = x - dx;\r\n int x2 = x + dx;\r\n \r\n //if the given coordinates are out of picture bounds\r\n if(x1<0) {\r\n \t x1=0;\r\n } else {\r\n \t if(x1>=picWidth) {\r\n \t\t x1=-1;\r\n \t } \r\n }\r\n if(x2<0) {\r\n \t x2=-1;\r\n } else {\r\n \t if(x2>=picWidth) {\r\n \t\t x2=-1;\r\n \t } \r\n }\r\n if(y1 >= picHeight){\r\n \t break;\r\n }\r\n \r\n if(y1 < 0 || x1 < 0 || x2 < 0){\r\n \t continue;\r\n }\r\n \r\n pic.drawLine(x1, x2, y1);\r\n }\r\n\t}", "title": "" }, { "docid": "995610224e4f52e1a8a7efe9c3af07a8", "score": "0.5966989", "text": "@Override\n public void draw(Canvas c) {\n super.draw(c);\n if (exploding == true) {\n exploding = false;\n reset();\n if(this instanceof Airplane){\n this.bitmap = ImageCache.getAirplaneImage(size, dir);\n } else {\n this.bitmap = ImageCache.getSubmarineImage(size, dir);\n }\n this.pos.set(0,0,bitmap.getWidth(), bitmap.getHeight());\n }\n }", "title": "" }, { "docid": "34dbca1d2837ef14fc18cc15d20911b4", "score": "0.59543455", "text": "private void getImageToBeDrawn() {\n if (img != 0) {\n drwable = (BitmapDrawable) resourceObject.getDrawable(img);\n imgBitmap = drwable.getBitmap();\n imageHeight = drwable.getIntrinsicHeight();\n imageWidth = drwable.getIntrinsicWidth();\n\n int desiredHeight = imageHeight;\n int desiredWidth = imageWidth;\n if (devLayoutWidth != 0) {\n desiredWidth = devLayoutWidth;\n }\n if (devLayoutHeight != 0) {\n desiredHeight = devLayoutHeight;\n }\n\n actualBitmapToBeDrawn = padBitmap(imgBitmap, desiredWidth, desiredHeight);\n }\n }", "title": "" }, { "docid": "bae2ef8ff602acd71813b669ac77f3ff", "score": "0.59412044", "text": "public void draw() {\n StdDraw.line(x + col, (double)(y + rows - row) - 0.5, x + col, (double)(y + rows - row) + 0.75);\n }", "title": "" }, { "docid": "d8680b1d2e766e9baa1c5315c8e31805", "score": "0.59332454", "text": "@Override\n public void draw(Graphics g, int scrollX, int scrollY) {\n g.drawImage(getCurrentSprite(),getX()-scrollX,getY()-scrollY,getPanel());\n }", "title": "" }, { "docid": "c429bea3c8d981f0630683b8ff5e98de", "score": "0.5925451", "text": "public void draw();", "title": "" }, { "docid": "c429bea3c8d981f0630683b8ff5e98de", "score": "0.5925451", "text": "public void draw();", "title": "" }, { "docid": "c79842814435fcf3620e5d35fca72334", "score": "0.5917096", "text": "protected void drawImage (ImageIcon image) {\r\n\t\r\n\t\t_label.setIcon(image);\r\n\r\n\t\tDimension size = _status.getPreferredSize();\r\n\t\tint width = image.getIconWidth();\r\n\t\tint height = image.getIconHeight() + size.height;\r\n\t\tsetSize(width, height);\r\n\t\tDimension screenSize =\r\n\t\t\tToolkit.getDefaultToolkit().getScreenSize();\r\n\t\tsetLocation(screenSize.width / 2 - width / 2,\r\n\t\t\tscreenSize.height / 2 - height / 2);\r\n\t}", "title": "" }, { "docid": "a4e62f267493b3326abc6c31da6e0a8b", "score": "0.5906404", "text": "@Override\n public void draw(Canvas c) {\n Rect src = new Rect(0, 0, mImage.getWidth(), mImage.getHeight());\n Rect cRect = new Rect(0, 0, c.getWidth(), c.getHeight());\n c.drawBitmap(mImage, src, cRect, null);\n }", "title": "" }, { "docid": "8f4ce49bf506fb6c9dd8bcf0cfd08ee7", "score": "0.59063774", "text": "public static void drawPoint(BufferedImage buff, Point2D_depth p)\n\t{\n\t\tif(p.x>=0 && p.x<buff.getWidth() && p.y>=0 && p.y < buff.getHeight())\n\t\t\tbuff.setRGB(p.x, buff.getHeight()-p.y-1, p.c.getRGB_int());\t\n\t}", "title": "" }, { "docid": "73eee7929776c2e821075b9ba07c4368", "score": "0.5900505", "text": "public void draw(PointF point, int rotation, float scale, int alpha){\n PointF attachPoint = GraphicsUtils.rotate(new PointF(imageWidth/2-attachX,imageHeight/2-attachY),GraphicsUtils.degreesToRadians(rotation));\n float x = point.x+(attachPoint.x)*scale;\n float y = point.y+(attachPoint.y)*scale;\n DrawingHelper.drawImage(imageId,(float)x,(float)y,rotation,scale,scale,alpha);\n }", "title": "" }, { "docid": "cdecc896cb27c789a5cf571ab422b106", "score": "0.5894877", "text": "public void draw(Graphics2D g2d) {\n\n //Based this of something we found on Stackexchange\n // http://gamedev.stackexchange.com/questions/62196/rotate-image-around-a-specified-origin\n AffineTransform backup = g2d.getTransform();\n AffineTransform trans = new AffineTransform();\n trans.rotate(Math.toRadians(angle),\n position.getX()+image.getWidth()/2, //Rotate around center of sprite.\n position.getY()+image.getHeight()/2);\n\n g2d.transform(trans);\n g2d.drawImage(getImage(),null, (int)position.getX(), (int)position.getY());\n g2d.setTransform(backup); // restore previous transform\n }", "title": "" }, { "docid": "9171ac9fb913c7e7d3a92a80d9d27c1e", "score": "0.5887908", "text": "@Override\n public void draw() {\n render(renderOffset);\n }", "title": "" }, { "docid": "02bb001181299f664d7e81580e425de8", "score": "0.58793676", "text": "public WorldScene drawOnBoard(WorldScene scene) {\n /* Template:\n * Same as class template\n * Parameter:\n * scene - WorldScene\n * Methods on Parameter:\n * scene.placeImageXY(WorldImage, int x, int y);\n */\n return scene.placeImageXY(this.draw(), location.x, location.y);\n }", "title": "" }, { "docid": "eb52c210d221b855b3e2743468eb4229", "score": "0.5875003", "text": "public void drawImage(JPanel rs, Graphics g, int ox, int oy) {\n int relx = x - ox;\n int rely = y - oy;\n int renderx = rs.getWidth()/2 + relx;\n int rendery = rs.getHeight()/2 + rely;\n\n AffineTransform rotation = AffineTransform.getTranslateInstance(renderx, rendery);\n rotation.rotate(Math.toRadians(angle), this.img.getWidth() / 2.0, this.img.getHeight() / 2.0);\n Graphics2D g2d = (Graphics2D) g;\n g2d.drawImage(this.img, rotation, null);\n }", "title": "" }, { "docid": "7bd6c676d11cb8ff728e7b3b35301e63", "score": "0.58744013", "text": "@Override\n public boolean draw(SpriteBatch batch) {\n batch.draw(img[y][x],-overscan,-overscan,Relay.getWidth()+overscan*2,Relay.getHeight()+overscan*2);\n return true;\n }", "title": "" }, { "docid": "e9e2d5d2f7728bc49dd7f6a094e022f8", "score": "0.5864674", "text": "private void drawTile(Graphics2D g, GamePhysical d){\n Image img = getImage(d.tile.imageFileName);\r\n if(img == null){ return; } // should I throw something here? probably\r\n //g.drawString(\"Succeeded\", 300, 420);\r\n Vec3 loc = getScreenLoc(d);\r\n int tx = d.tile.getTileX();\r\n int ty = d.tile.getTileY();\r\n g.drawImage(img,(int)loc.x,(int)loc.y,(int)loc.x+d.tile.tileWidth, (int)loc.y+d.tile.tileHeight, tx, ty, tx+d.tile.tileWidth, ty+d.tile.tileHeight, null);\r\n \r\n\r\n /*int x, y, tx, ty;\r\n float fx = d.x;\r\n float fy = d.y; \r\n x = (int)(d.tile.tileX +(32*(fx-fy)/2));\r\n y = (int)(d.tile.tileY +(32*((fx+fy)/2))/2);\r\n tx = d.tile.getTileX();\r\n ty = d.tile.getTileY();\r\n //x*=30;\r\n //y*=20;\r\n x+= viewPortX;\r\n y+= viewPortY;\r\n g.drawImage(img,x,y,x+d.tile.tileWidth, y+d.tile.tileHeight, tx, ty, tx+d.tile.tileWidth, ty+d.tile.tileHeight, null);*/\r\n \r\n \r\n }", "title": "" }, { "docid": "73d93890d8ff7be79ff74afbe5e26eb0", "score": "0.5860817", "text": "public void draw() {\n\t\t// TODO?\n\t}", "title": "" }, { "docid": "6f815b75d28466ce7e91f772df01ca46", "score": "0.5851274", "text": "@Override\n\tpublic void drawObject(MyCanvas mc) {\n\t\tmc.drawImage(I, x/mc.getXCanvasSize(), y/mc.getYCanvasSize(), size);\n\t}", "title": "" }, { "docid": "a4e0653f410c518894730e50e70dd034", "score": "0.5842037", "text": "public void Draw(Graphics2D g,Image image,int width,int height,DankDungeonRevised obj)\n {\n //drawPlayer(g,Window.getX(xPos),Window.getYNormal(yPos),0,.05,.05, image,width,height,obj);\n }", "title": "" }, { "docid": "832a4314280b9a7e2d2fa50519356054", "score": "0.5836242", "text": "public static void drawPoint(BufferedImage buff, PhongVector3D p)\n\t{\n//\t\tif(p.x>=0 && p.x<buff.getWidth() && p.y>=0 && p.y < buff.getHeight())\n//\t\t\tbuff.setRGB((int)p.x, (int)(buff.getHeight()-p.y-1), p.c.getRGB_int());\t\n\t}", "title": "" }, { "docid": "6e2dfbb2919d7c8416d15d2527ed1525", "score": "0.5824904", "text": "@Override\n\tpublic void draw(Canvas canvas) {\n\t\t\n\t\tif(exploded){\n\t\t\tSystem.out.println(index);\n\t\t\tthis.setBounds(x,y,x+width,y+height);\n\t\t\tRect boundRect = new Rect(x,y,x+width,y+height);\n\t\t\tcanvas.drawBitmap(explosions[index/2], null, boundRect, this.getPaint());\n\t\t\tif(index < 35) {index++;}\n\t\t}\n\t\telse{\n\t\t\tx+=xspeed;\n\t\t\ty-=yspeed;\n\t\t\tthis.setBounds(x,y,x+width,y+height);\n\t\t\tRect boundRect = new Rect(x,y,x+width,y+height);\n\t\t\tcanvas.drawBitmap(pictures[index/2], null, boundRect, this.getPaint());\n\t\t\tindex++;\n\t\t\tif(index >= 120){index=0;}\n\t\t}\n\t}", "title": "" }, { "docid": "b1ad6c052c45033d1d9cd7acde6519c4", "score": "0.58165973", "text": "@Override\r\n\tpublic void draw(Graphics2D win) {\n\t\twin.drawImage(this.slides[this.position],null,(int)xpos,(int)ypos);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "eecb49d1fce1795dd9201d28f70867aa", "score": "0.5814773", "text": "void showPicture(int position, String cameraPicturePath);", "title": "" }, { "docid": "d8b1ae85e0bbb82d488f81910ff30a10", "score": "0.57994473", "text": "public void draw() {\n\t\tglDisable(GL_TEXTURE_2D);\n\t\tif (black) {\n\t\t\tglColor3f(0.719f, 0.601f, 0.405f);\n\t\t} else {\n\t\t\tglColor3f(0.960f, 0.870f, 0.701f);\n\t\t}\n\n\t\tglBegin(GL_QUADS);\n\n\t\tglVertex2i(x, y); // Upper-left\n\n\t\tglVertex2i(x + width, y); // Upper-right\n\n\t\tglVertex2i(x + width, y + height); // Bottom-right\n\n\t\tglVertex2i(x, y + height); // Bottom-left\n\t\tglEnd();\n\t\tglColor3f(1.0f, 1.0f, 1.0f);\n\n\t\t// Then if there is a piece draw it on top\n\t\tif (piece != null) {\n\t\t\tglEnable(GL_TEXTURE_2D);\n\t\t\tpiece.getTexture().bind();\n\t\t\tglBegin(GL_QUADS);\n\t\t\tglTexCoord2f(0, 0);\n\t\t\tglVertex2i(x, y); // Upper-left\n\t\t\tglTexCoord2f(1, 0);\n\t\t\tglVertex2i(x + width, y); // Upper-right\n\t\t\tglTexCoord2f(1, 1);\n\t\t\tglVertex2i(x + width, y + height); // Bottom-right\n\t\t\tglTexCoord2f(0, 1);\n\t\t\tglVertex2i(x, y + height); // Bottom-left\n\t\t\tglEnd();\n\t\t}\n\n\t}", "title": "" }, { "docid": "8ee0af9c4a80c5ca501c8d95cc8e5baf", "score": "0.5794413", "text": "public void display(Graphics page) {\n myPath = \"/images/\" + getColor() + \"_\" + getShape() + \"_\" + getFilling() + \".png\";\n img = loadImage(img, myPath);\n page.drawImage(img,x,y,null);\n }", "title": "" }, { "docid": "3e5dba1912a17a557498ab41465ab58f", "score": "0.57942516", "text": "@Override\n\tprotected void draw(Canvas canvas) {\n canvas.drawBitmap(img, 0, 0, painter[0]);\n\t\tship.draw(canvas,painter[1]);\t\n\t\tpower.draw(canvas, painter[1]);\n\t\tEnemyManager.draw(canvas, painter[1]);\n\n\t\tcanvas.drawText(\"Record: \" + ship.record.getRecordString(), (float) (CurrentScene.screenW/1.4), (float) (CurrentScene.screenH/13), painter[0]);\n\t\tcanvas.drawText(\"Score: \" + Integer.toString(ship.getScore()), (float) (CurrentScene.screenW/1.4), (float) (CurrentScene.screenH/7), painter[0]);\n\n\t}", "title": "" }, { "docid": "e4690f2b99458b988a108eef0fbc46f7", "score": "0.57925016", "text": "public void Render()\r\n\t{\r\n\t\tbs.show(); // Paste the done map of pixels (screen) from the buffer to the real screen.\r\n\t\tg.drawImage(mainImage, 0, 0, canvas.getWidth(), canvas.getHeight(), null); // Draw the map of pixels.\r\n\t}", "title": "" }, { "docid": "47ba950f15d6e59ae5e461318757e01a", "score": "0.5790925", "text": "private void displayImage(String path, \n\t\t\t int xPos, int yPos,\n\t\t\t int width, int height) {\n\ttry {\n\t InputStream in = ClassLoader.getSystemResourceAsStream(path);\n\t BufferedImage image = ImageIO.read(in);\n\t ImagePanel contentPane = new ImagePanel(image);\n\t contentPane.setOpaque(false);\n\t getContentPane().add(contentPane,\n\t\t\t\t new AbsoluteConstraints(xPos,\n\t\t\t\t\t\t\t yPos,\n\t\t\t\t\t\t\t width,\n\t\t\t\t\t\t\t height));\n\t}\n\tcatch(IOException e) {\n\t System.err.println(\"Error displaying pictures.\");\n\t}\n }", "title": "" }, { "docid": "91cf3e144334c8d144320df26c00f5f5", "score": "0.5785787", "text": "public abstract void draw();", "title": "" }, { "docid": "97b26ef38af6acac204977f1c93c7747", "score": "0.5784954", "text": "abstract void draw();", "title": "" }, { "docid": "97b26ef38af6acac204977f1c93c7747", "score": "0.5784954", "text": "abstract void draw();", "title": "" }, { "docid": "28a262897b7bcb8a8e111b734ce64991", "score": "0.5780928", "text": "abstract public void draw();", "title": "" }, { "docid": "288e75736756742c02b3cc5b69371415", "score": "0.5779262", "text": "protected void update() {\n\t\tImage image = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_ARGB);\n\t\tGraphics2D g = (Graphics2D) image.getGraphics();\n\t\tImage target = getTarget();\n\t\tg.drawImage(target, 0, 0, portionWidth, portionHeight, portionX, portionY, portionX + portionWidth, portionY + portionHeight, null);\n\t\tsetImage(image);\n\t}", "title": "" }, { "docid": "343502352aebc3ecd77a68755f679f25", "score": "0.57683504", "text": "void draw() {\n\t\t// If we have not successfully colored a pixel in a while, move back to our last success location.\n\t\t// There is a good chance that there will be more to fill in around there.\n\t\tif (failCnt >= MAX_FAIL_CNT) {\n\t\t\txNbr = lastSuccXNbr;\n\t\t\tyNbr = lastSuccYNbr;\n\t\t\tstepSzNbr = SML_STEP_SZ_NBR;\n\t\t} else {\n\t\t\tstepSzNbr = LRG_STEP_SZ_NBR;\n\t\t}\n\t\t\n\t\t// Take a step, making sure to stay within the image size.\n\t\txNbr += PApplet.round(parPApp.random(-stepSzNbr, stepSzNbr));\n\t\tyNbr += PApplet.round(parPApp.random(-stepSzNbr, stepSzNbr)); \n\t\txNbr = PApplet.max(xNbr, 0);\n\t\txNbr = PApplet.min(xNbr, origImg.width - 1);\n\t\t\n\t\tyNbr = PApplet.max(yNbr, 0);\n\t\tyNbr = PApplet.min(yNbr, origImg.height - 1);\n\t\t\n\t\t// If we hit the border, we'll move the point inward a bit so that it is able to do more work.\n\t\tif (xNbr == 0) {\n\t\t\txNbr = BORDER_BUFFER_NBR;\n\t\t}\n\t\tif (xNbr == origImg.width - 1) {\n\t\t\txNbr = origImg.width - BORDER_BUFFER_NBR;\n\t\t}\n\t\tif (yNbr == 0) {\n\t\t\tyNbr = BORDER_BUFFER_NBR;\n\t\t}\n\t\tif (yNbr == origImg.height - 1) {\n\t\t\tyNbr = origImg.height - BORDER_BUFFER_NBR;\n\t\t}\n\t\t\n\t\t// Take a sample of the color at this location. If it falls within this sketcher's target range,\n\t\t// set this pixel color for our new image.\n\t\tint sampleClrNbr = PApplet.abs(sampleCurrLocClr());\n\t\tif (sampleClrNbr >= lowTargetClrNbr && sampleClrNbr <= highTargetClrNbr && newImg.pixels[xNbr + (yNbr * origImg.width)] != sketchClrNbr) {\n\t\t\tnewImg.pixels[xNbr + (yNbr * origImg.width)] = sketchClrNbr;\n\t\t\t\t\n\t\t\t\tlastSuccXNbr = xNbr;\n\t\t\t\tlastSuccYNbr = yNbr;\n\t\t\t\tfailCnt = 0;\n\t\t} else {\n\t\t\tfailCnt++;\n\t\t}\n\t}", "title": "" }, { "docid": "13840fe4ad42c4bbc39d7825403313f4", "score": "0.5767436", "text": "private void drawRobotIcon(GraphicsContext graphicsContext)\n\t{\n\t\tdouble mapLocationX = (MAP_START_POS_X +xLocation+MappingController.GRID_SIZE)*mapScaleFactor;\n\t\tdouble mapLocationY = mapCanvas.getHeight() - (yLocation+MappingController.GRID_SIZE + MAP_START_POS_Y)*mapScaleFactor;\n\t\t//Image location defined as top left corner\n\t\tdouble drawX = mapLocationX - ROBOT_IMAGE_WIDTH;\n\t\tdouble drawY = mapLocationY;// - ROBOT_IMAGE_HEIGHT;\n\t\tImage image = new Image(getClass().getResourceAsStream(\"/resources/ic_send_black_24dp_2x.png\"));\n\t\tgraphicsContext.save();\n\t\tdouble rotateX = xLocation*mapScaleFactor+ROBOT_IMAGE_WIDTH/2;\n\t\tdouble rotateY = mapCanvas.getHeight()-yLocation*mapScaleFactor;\n\t\tRotate rotate = new Rotate(-getCorrectedAngle(), mapLocationX-ROBOT_IMAGE_WIDTH/2, mapLocationY+ROBOT_IMAGE_WIDTH/2);\n\t\tgraphicsContext.setTransform(rotate.getMxx(), rotate.getMyx(), rotate.getMxy(), rotate.getMyy(), rotate.getTx(), rotate.getTy());\n\t\tgraphicsContext.drawImage(image, drawX, drawY, ROBOT_IMAGE_HEIGHT, ROBOT_IMAGE_WIDTH);\n\t\tgraphicsContext.restore();\n\t}", "title": "" }, { "docid": "5d1635a3cd9f6e93c6867304ba24fcdb", "score": "0.57540226", "text": "public void drawPoint(int x, int y);", "title": "" }, { "docid": "e520d8ee631d21cf24f9560ed913901b", "score": "0.57524014", "text": "public void image()\n {\n parent.image(this, x, y, w, h);\n }", "title": "" }, { "docid": "a87335190b8aba65eb039ca25ade1750", "score": "0.5750217", "text": "public void draw() {\n\t}", "title": "" }, { "docid": "a87335190b8aba65eb039ca25ade1750", "score": "0.5750217", "text": "public void draw() {\n\t}", "title": "" }, { "docid": "bcc0f7d05e5eef3f488b05b9ce4838e7", "score": "0.5748187", "text": "public void paintComponent(Graphics g) {\n super.paintComponent(g);\n Graphics2D g2 = (Graphics2D) g;\n g2.drawImage(Image, xLocation, yLocation, 40, 40, null);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2958929017ceb3237cab9fc1df45db5e", "score": "0.0", "text": "public int getGroupCount() {\n\t\treturn groups.size();\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "11d67a80d2cd31685776b15ccccc59f0", "score": "0.65296996", "text": "@Override\n\t\t\tpublic void PridenieNaBielu() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "f9e89d9677a2c32741b998a15248d5eb", "score": "0.6487723", "text": "@Override\r\n\tpublic void Lyf() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481321", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "603f0a18e57250d8f455d8cee02b8630", "score": "0.64378566", "text": "@Override\r\n public void Refuel() {\n \r\n }", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "efda110dae3567ecb4380b4b672c3e8d", "score": "0.635662", "text": "public void anzeigen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "74e8290546e9191e1ae5373cdf611067", "score": "0.632985", "text": "@Override\r\n\tpublic void Petrol() {\n\t\t\r\n\t}", "title": "" }, { "docid": "777efb33041da4779c6ec15b9d85097c", "score": "0.63003165", "text": "@Override\r\n\tpublic void attaque() {\n\t\t\r\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.62754047", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "95ffa256b098e9b494cb96d4874e063f", "score": "0.6219628", "text": "@Override\n\tvoid refuel() {\n\n\t}", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "2a5b1784967271fc8f331ece95bee2d7", "score": "0.6173247", "text": "@Override\r\n\t\tpublic void Sudentcf() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "88ecb62c7a1a93131fb72fdf892b6e96", "score": "0.6163209", "text": "public void mo18969b() {\n }", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "af1d7a03c29969bf292760b5053e6876", "score": "0.61020076", "text": "@Override\r\n\tpublic void avanzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4c841421384f44238db014cb90fda536", "score": "0.609516", "text": "@Override\n\tpublic void foocall() {\n\t}", "title": "" }, { "docid": "0535d453c6fc64b6eaca5802d4fcc90b", "score": "0.6038407", "text": "@Override\r\n public void atacar() {\n }", "title": "" }, { "docid": "60b0611b3c431fd71ef675a97986d8ce", "score": "0.60336334", "text": "@Override\n\tpublic void bouger() {\n\t\t\n\t}", "title": "" }, { "docid": "93def8741e9801c804ccf94cc0a8c010", "score": "0.60311055", "text": "@Override\r\n\tpublic void comenzar() {\n\r\n\t}", "title": "" }, { "docid": "1eb850cd140029c3284631b6ea4a3a92", "score": "0.6027037", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a6c2db17f79f35f8fc3b8e99eee9ab48", "score": "0.60124886", "text": "@Override\r\n\tprotected void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "068782d4ca6b549d5b38c417ad4e7fbc", "score": "0.6000438", "text": "@Override\n\tpublic void embauche() {\n\t\t\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "59fd0ccdce9a8709416c7bdb0b2740f7", "score": "0.59167963", "text": "@Override\n public void solidaria() {\n \n \n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "5bb37ed5e0a08c04cb9e970f3e334584", "score": "0.5900665", "text": "@Override\n\tpublic void accion() {\n\n\t}", "title": "" }, { "docid": "f5d4f15bcecfb5439000bf8ce3463314", "score": "0.58953464", "text": "@Override\r\n protected void init() {\n \r\n }", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "40577cf33330bd70c08bc8e310b4436d", "score": "0.58730215", "text": "@Override\n\tpublic void falar() {\n\n\t}", "title": "" }, { "docid": "faf38c70a5abc38e6e6819931e05fdbb", "score": "0.5862488", "text": "@Override\n protected void initialize() { \n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "d735c08559b9ccd2b05318e486d52050", "score": "0.585777", "text": "@Override\n public void generate() {\n\n }", "title": "" }, { "docid": "c27a216ac709a1e3b9e7156e1c8104e5", "score": "0.5851762", "text": "public void initailize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7a47ca8b3a55006f92a271bd71da43b7", "score": "0.583262", "text": "@Override\n\tprotected void Sessioprovide() {\n\t\t\n\t}", "title": "" }, { "docid": "ea53a5ca5e3b174f6cc9c79515550cf9", "score": "0.58291394", "text": "@Override\n\tpublic void Faild() {\n\t}", "title": "" }, { "docid": "d8211552b23c886f56d98e4efc7a55fa", "score": "0.58270997", "text": "private void OI() {\n\t\t\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a92ef4f07b07ea7007bb9f92475a6a97", "score": "0.580496", "text": "private void UDPM() {\n\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d4dcf8d1b9c1a18d89084161416469f7", "score": "0.5784581", "text": "public final void mo59419g() {\n }", "title": "" }, { "docid": "329dcd36a53fe338909407efceaa048a", "score": "0.57815796", "text": "@Override\n\tpublic void ovr() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "17cb0676e79dae45623dcbdd6cf2af58", "score": "0.5772904", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\n\t}", "title": "" }, { "docid": "1c10afc999966d89d84d1fb549910281", "score": "0.5767454", "text": "@Override \n\t\tprotected void parse() {\t\t\t\n\t\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "ec8745d1f613de3522e52b19973434de", "score": "0.5756245", "text": "@Override\n protected void initialize()\n {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6e516d7c552dcd925edbe971705ed31a", "score": "0.5742983", "text": "public void mo41019a() {\n }", "title": "" }, { "docid": "b07fa371b39d89d85ee2b46058153640", "score": "0.5741075", "text": "private void set() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f523d2f53f60a1ff3244e79927814898", "score": "0.5737052", "text": "public void mo46998a() {\n }", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c5279e0c512854cbd0006208a1abf1e4", "score": "0.57304084", "text": "public void sprzedaj() {\n\t\t\n\t}", "title": "" }, { "docid": "4791f18ffa1db9cf9896372a4bb400cd", "score": "0.5712386", "text": "@Override\n\t\t\t\tpublic void update() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "b329688e04bd48d0184ad83234db5580", "score": "0.5702716", "text": "@Override\r\n public int describeContents() {\n return 0;\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "7a5ce2d278c2d189c1b8ef8c5af5d416", "score": "0.5686818", "text": "@Override\n\tprotected void initValue() {\n\n\t}", "title": "" }, { "docid": "9d551589ec00d7b16a77df7a4d54caae", "score": "0.5685303", "text": "@Override\n public void init()\n {\n\n }", "title": "" }, { "docid": "be566411d6ed8758a024d201a025c102", "score": "0.5682171", "text": "@Override\r\n\tprotected void update() {\n\t}", "title": "" }, { "docid": "264b73ede67394b8d57db8f3623673db", "score": "0.56804705", "text": "@Override\r\n\tpublic void afterConstruct() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a055db97fb04dc3ace542d55ba4eb731", "score": "0.5659786", "text": "public void wypozycz() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "704e96abbfbd46ebb60411493a1aaa91", "score": "0.5653795", "text": "@Override\r\n\tpublic void magic() {\n\r\n\t}", "title": "" } ]
4316ec4d3bde696444bc48bc44a78475
Initializing values for account ID and balance.
[ { "docid": "aec8f887bad96e2b25e62b8ff56202f4", "score": "0.72065985", "text": "public Account(int someId, double someBalance) {\n \n id=someId;\n balance=someBalance;\n dateCreated=new Date();\n }", "title": "" } ]
[ { "docid": "9164bcab9d815e0f272e9fb7b3382aba", "score": "0.74347514", "text": "Account(String accountID, int balance){\r\n // Account constructor here\r\n setAccountID(accountID);\r\n setBalance(balance);\r\n }", "title": "" }, { "docid": "2ee060662f7bdf7c78664713d4cfd32c", "score": "0.7074443", "text": "public BankAccount(int id, String name, int balance)\r\n {\r\n this.id = id;\r\n this.name = name;\r\n BankAccount.balance = balance;\r\n }", "title": "" }, { "docid": "3e47f3f252f30156d0f2be7fd4543f26", "score": "0.7025189", "text": "public BankAccount() {\n name = \"\";\n passwd = \"\";\n pin = 0;\n acctNum = 0;\n balance = 0;\n }", "title": "" }, { "docid": "81078f5c048f2db78fa6bb69d1b77670", "score": "0.7020404", "text": "Account(int id, double balance)\n\t\t{\n\t\t this();\n\t\t\tthis.id = id;\n\t\t\tthis.balance = balance;\n\t\t\t// double monthlyInterest = mI;\n\t\t\tdateCreated = new java.util.Date();\n\t\t}", "title": "" }, { "docid": "bd14e05881ca7727f03fe6c03edf9833", "score": "0.70203644", "text": "public Account() {\n this.accountID = \"\";\n this.balance = 0;\n this.card = new Card();\n this.card.setPin();\n }", "title": "" }, { "docid": "7888dfd9415e41c7c20b51bea83d30cd", "score": "0.69279355", "text": "public Account(long balance) {\n this.id = count.incrementAndGet();\n this.balance = balance;\n this.log = new ArrayList<>();\n this.log.add(new LogEntry(null,balance));\n }", "title": "" }, { "docid": "c20c89c98e8a90a273620da3d7db7b1b", "score": "0.68442166", "text": "public Account(String theName, String theID, Money theBalance)\n {\n this.name = theName;\n this.id = theID;\n this.balance = theBalance;\n }", "title": "" }, { "docid": "3fd8f977ef1620896f8dcbab49657ead", "score": "0.6752507", "text": "public BankAccount()\r\n { \r\n balance = 0;\r\n }", "title": "" }, { "docid": "c26b1e6e2ebb4a5f22e133770bac2bfb", "score": "0.6729408", "text": "public Account()\n\t{\n\t\tthis.balance = 0;\n\t\tsetAccountID(this.accountID);\n\t\tthis.description = \"Account #\" + this.accountID;\n\t}", "title": "" }, { "docid": "723b70659313dbaefab2870bfc00f3d8", "score": "0.6677252", "text": "public BankAccount(BigDecimal initalBalance)\n {\n balance = initalBalance;\n }", "title": "" }, { "docid": "634cfe91cef4bdec9f5f4213a46d1e54", "score": "0.6676024", "text": "public BankAccount(String accountID, int initialBalance) {\r\n if(initialBalance < 10) {\r\n throw new IllegalArgumentException(\"Initial balance cannot be less than 10.\");\r\n }\r\n this.accountID = accountID;\r\n this.balance = initialBalance;\r\n transactions = new ArrayList<String>();\r\n transactions.add(\"1 \" + initialBalance);\r\n }", "title": "" }, { "docid": "5a87ea666f284a36b9fde8c8198b7bb7", "score": "0.6604062", "text": "private void obtainBalanceFromBank(String accountID){\n int balance = 0;\r\n setBalance(balance);\r\n }", "title": "" }, { "docid": "1df8b9e5e7a49a20856cbfc089e7156f", "score": "0.65894055", "text": "public AccountRecord( int acct, String first, String last, double bal )\n {\n setAccount( acct );\n setFirstName( first );\n setLastName( last );\n setBalance( bal );\n }", "title": "" }, { "docid": "afe3bf31b4d2158d45559dba209be62e", "score": "0.6579369", "text": "public Account() {\n\t\tconsumerBalance = 0.0;\n\t\tsavingsBalance = 0.0;\n\t}", "title": "" }, { "docid": "8db0ff8829309382d30fed724d626b43", "score": "0.65247345", "text": "public BankAccount(String name, int id, double initialBal){\n\t\t\tmyName = name;\n\t\t\tmyBalance = initialBal;\n\t\t\tmyID = id;\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "73df8dc7cf7c81f1dd6a93cd04e1c621", "score": "0.65105647", "text": "public BankAccount(double initalBalance)\n {\n this(new BigDecimal(initalBalance));\n }", "title": "" }, { "docid": "0e79a80276ca1d7e0bf05d9b6f521e9d", "score": "0.6503181", "text": "public ChequingAccount(int id, String name, BigDecimal balance) {\n setId(id);\n setName(name);\n setBalance(balance);\n findAndSetAccountType();\n findAndSetInterestRate();\n }", "title": "" }, { "docid": "ad688884c75f33666defdcd30b42252e", "score": "0.6500774", "text": "public BankAccount(double bal)\n\t{\n\t\tthis.balance=bal;\n\t}", "title": "" }, { "docid": "36e39b6adb0f2ad89ec1cc261cf604ec", "score": "0.64631754", "text": "public BankAccount(String acctNum, double initialBalance) {\n accountNum = acctNum;\n balance = initialBalance;\n }", "title": "" }, { "docid": "dcdb5c14371b42844e76a17a8a56e4cc", "score": "0.642482", "text": "public SavingsAccount() {\n\t\tbalance = 0;\n\t}", "title": "" }, { "docid": "1a55a035a9fde9b076a9ee1fbf068741", "score": "0.6420983", "text": "public BankAccount(double initialBalance)\r\n { \r\n balance = initialBalance;\r\n }", "title": "" }, { "docid": "128459f4ab1289d534eea256fd9533a6", "score": "0.6396347", "text": "public BankAccount(int anAccountNumber, double startingBalance) {\n\t\taccountNumber = anAccountNumber;\n\t\tbalance = startingBalance;\n\t}", "title": "" }, { "docid": "e531a57a487f57f297482245a02da694", "score": "0.6386506", "text": "private void initializeAccountInfo() throws SQLException {\n final long accountId = PreferenceHelper.getInstance(getApplicationContext()).getSharedPreferences().getLong(PreferenceHelper.PREF_KEY_CURRENT_ACCOUNT_ID, -1);\n Log.d(TAG, \"saved account id: \" + accountId);\n\n if (accountId <= 0) {\n mCurrentAccount = createAccount();\n } else {\n Dao<Account, Long> accountDao = RepositoryProvider.getInstance(getApplicationContext()).resolve(AccountRepository.class).getDataAccessObject(Account.class);\n mCurrentAccount = accountDao.queryForId(accountId);\n if (mCurrentAccount != null) {\n Log.d(TAG, \"load current account. id = \" + accountId);\n } else {\n createAccount();\n }\n }\n }", "title": "" }, { "docid": "6b94f75a2903668c56a3528df17bc3ee", "score": "0.63719404", "text": "public CheckingAccount(double balance) {\n this.balance = balance;\n }", "title": "" }, { "docid": "0f618e21a4816149438b161fab3aeb8e", "score": "0.63349265", "text": "public BankAccount() {\n // if empty constructor called create default values by calling 2nd constructor using this\n this(\"1234567\", 20000.00, \"Jake McManus\", \"jake@legend.email\", \"520-343-3876\");\n System.out.println(\"Empty constructor called\");\n }", "title": "" }, { "docid": "a23e55ea7b04c01d56a6dcdc84b9bffe", "score": "0.632741", "text": "public BankAccount(String id) {\n \tthis.id = id;\n }", "title": "" }, { "docid": "2b4aa22a1b7c177f86e6e852cc9774ae", "score": "0.6310423", "text": "public Account(String owner, int number, double balance){\n\t\tthis.owner=owner;\n\t\tthis.number=number;\n\t\tthis.balance=balance;\n\t}", "title": "" }, { "docid": "bd972fa497309e5ddbe6679985a996eb", "score": "0.630729", "text": "public Card(int balance) {\r\n\t\tsuper();\r\n\t\tthis.balance = balance;\r\n\t\tthis.id = IDGenerator.getInstance().getNextID();\r\n\t}", "title": "" }, { "docid": "1b03050317319785eb64c3cca834790c", "score": "0.6291782", "text": "public Account(double initBal, String owner, long number) throws Exception {\n if (initBal <= 0)\n throw new Exception(\"Invalid amount\");\n balance = initBal;\n name = owner;\n acctNum = number;\n numAccounts++;\n }", "title": "" }, { "docid": "309e3c45f7bd54ff774e799ab1222d3b", "score": "0.627096", "text": "BankAccount(double initialBalance) {\n\t\t\n\t\tthis.balance = initialBalance;\n\t\t\n\t}", "title": "" }, { "docid": "2db9630797aa237b47c3ef4f021a3046", "score": "0.62661177", "text": "Balance()\n {\n amount = 0;\n currency = Currency.getInstance(Locale.US);\n transactions = new ArrayList<>();\n }", "title": "" }, { "docid": "8070abc923ff70189b2ed7a0ff750a87", "score": "0.62466264", "text": "public Account() {\n balance = 0;\n accountNumber = \"\";\n transactions = new ArrayList();\n\n accountType = AccountType.valueOf(\"checking\");\n /*This is just what I decided as the default transaction type.\n The user will be able to change this, if needed, via the\n setAccountType method.*/\n\n }", "title": "" }, { "docid": "0257dcf3123ff75e3100ad13c44ca54e", "score": "0.6217153", "text": "public BankAccount(int anAccountNumber) {\n\t\taccountNumber = anAccountNumber;\n\t\tbalance = 0;\n\t}", "title": "" }, { "docid": "1a07f1e7bf0e10743a858d1821f11b98", "score": "0.61259276", "text": "public BankAccount(String accHolder, int accNum){\r\n\t\tthis.accHolder = accHolder;\r\n\t\tthis.accNum = accNum;\r\n\t}", "title": "" }, { "docid": "cbe360a95bb9072d10112a2545189dce", "score": "0.61151177", "text": "public Account(String owner, long account, double initial) {\n name = owner;\n acctNumber = account;\n balance = initial;\n }", "title": "" }, { "docid": "3f43a0a35b6d216b0daebf72119a0733", "score": "0.6087004", "text": "public Transaction(int amount, int balance) {\n this.id = UUID.randomUUID().toString();\n this.date = new Date();\n this.amount = amount;\n this.balance = balance;\n }", "title": "" }, { "docid": "4738c82fd687bbbcd122638efd54e090", "score": "0.6071964", "text": "private static void initializeCustomerAndAccount() {\n customer = new Customer(\"987.654.321-00\", \"John\", \"Doe\");\n\n // Generate a new random account number\n int accountNumber = 1000000 + random.nextInt(9000000);\n account = new Account(accountNumber, customer);\n\n System.out.println(customer);\n System.out.println(account);\n }", "title": "" }, { "docid": "4926b17fd0ff2a97993378556725d7b2", "score": "0.6071828", "text": "public bankAccount(String name, int balance, int pin){\n \tthis.name = name;\n \tthis.balance = ((balance>0)&&(balance<250000000)? balance : 0);\n \tthis.pin = pin;\n }", "title": "" }, { "docid": "526b2c18d0fa2c0c9b58bdc7d30a8260", "score": "0.60610247", "text": "public SavingsAccount(double balanceIN, double interestIN)\n {\n balance = balanceIN; \n interest = interestIN;\n \n }", "title": "" }, { "docid": "2a2397342098fb71da2d35f327adaa3f", "score": "0.60553175", "text": "public Bank() {\n // TODO\n accounts = new ArrayList<>();\n savingsInterestRate =0;\n\n }", "title": "" }, { "docid": "e5f183976850f2029f64f15c751d618a", "score": "0.6049984", "text": "public Account(String accountNumber, String accountName, double balance)\r\n\t{\r\n\t\tthis.accountNumber = accountNumber;\r\n\t\tthis.accountName = accountName;\r\n\t\tthis.balance = balance;\r\n\t}", "title": "" }, { "docid": "f1609a1c34fcc789e67bffd54c4b8317", "score": "0.6022818", "text": "public Account(int id, String desc)\n\t{\n\t\tthis.accountID = id;\n\t\tthis.description = desc;\n\t\tthis.balance = 0;\n\t\tthis.accountType = ' ';\n\t}", "title": "" }, { "docid": "028a157618b4714c89f5880cf26e4798", "score": "0.5993912", "text": "public LinkedBankAccount(double balance, double rate, String id, BankAccount otherAccount) {\n super(balance, rate, id);\n this.linkedAccount = otherAccount;\n }", "title": "" }, { "docid": "13fcf285fc4b3a59fda9bddaf49214a8", "score": "0.5969126", "text": "public Bank() {\r\n\r\n\t\tAccounts = new ArrayList<BankAccount>(initialSize);\r\n\r\n\t}", "title": "" }, { "docid": "9ae09543920576a12b7ee4f0f39b4016", "score": "0.59595037", "text": "public Account(String type, String nationalId, String name, double balance) throws Exception {\n this.setType(type);\n this.setName(name);\n\n this.nationalId = nationalId;\n this.balance = balance;\n\n this.transactions = new ArrayList<Transaction>();\n this.serial = UUID.randomUUID();\n }", "title": "" }, { "docid": "a21b7c747091b646c698c3a94e13fb2e", "score": "0.5953314", "text": "public AccountDB()\n {\n // Create usernames and pins.\n this.usernamePin = new HashMap<String, Integer>();\n this.usernamePin.put(\"will\", 1234);\n this.usernamePin.put(\"taylor\", 4321);\n this.usernamePin.put(\"samus\", 9999);\n\n // Create balances.\n this.usernameBalances = new HashMap<String, Double>();\n this.usernameBalances.put(\"will\", 5040.12);\n this.usernameBalances.put(\"taylor\", 19000713.19);\n this.usernameBalances.put(\"samus\", 8123.41);\n\n this.tokenToUsername = new HashMap<String, String>();\n }", "title": "" }, { "docid": "9580e4b97e58239d6ff6949ffbaaeb35", "score": "0.5939327", "text": "public Bank() {\n // the constructor of the method create a new array list, and set the interest rate to zero\n accounts = new ArrayList<>();\n savingsInterestRate = 0;\n }", "title": "" }, { "docid": "9a3e942297fcd82d6bd0ed29bee9aff3", "score": "0.5934178", "text": "BankAccount(Customer customer, double balance) {\n\t\t\n\t\tthis.customer = new Customer(customer);\n\t\tthis.balance = balance;\n\t\t\n\t}", "title": "" }, { "docid": "4f1fe48a98e7906ab71cee9d37530b22", "score": "0.59283745", "text": "public Account() {\n\t\tthis.accNo = \"NA\";\n\t\tcount++;\n\t}", "title": "" }, { "docid": "e5d5530aa18bdda9221441c0d2f613da", "score": "0.5912822", "text": "public Bank(){\n database = new HashMap<String,BankAccount> ();\n nextNumber = 100;\n }", "title": "" }, { "docid": "ac7642a2b77d066156ae34a5e1e726da", "score": "0.5899885", "text": "public CheckingAccount() {\r\n\t\tsuper();\r\n\t\tminBalance = 0;\r\n\t}", "title": "" }, { "docid": "13e52d87cff0dfcae60bf9c7be6697c5", "score": "0.5890995", "text": "public BankAccountThis()\r\n{ \r\n this.balance = 0;\r\n}", "title": "" }, { "docid": "c08ae3b4742357dd1d22899a086d3ecb", "score": "0.58753055", "text": "public Account(int newId, int newBalance, int transNumber) {\n\t\tid = newId;\n\t\tcurrentBalance = newBalance;\n\t\ttransNum = transNumber;\n\t\t\n\t}", "title": "" }, { "docid": "35b8cee51786f9c6781912f8cd2561a6", "score": "0.5871685", "text": "public void setAccount_ID(int Account_ID) {\n\t\tif (Account_ID <= 0)\n\t\t\tset_Value(\"Account_ID\", null);\n\t\telse\n\t\t\tset_Value(\"Account_ID\", new Integer(Account_ID));\n\t}", "title": "" }, { "docid": "78acb4cf9a27ba7b8c13023f2d8d2512", "score": "0.5866972", "text": "public BankAccount(String accountNumber, double balance, String customerName, String customerEmailAddress, String customerPhoneNumber) {\n System.out.println(\"Account constructor with parameters called\");\n this.accountNumber = accountNumber;\n this.balance = balance;\n this.customerName = customerName;\n this.customerEmailAddress = customerEmailAddress;\n this.customerPhoneNumber = customerPhoneNumber;\n }", "title": "" }, { "docid": "e60f85ff52335ce92e155d203a096604", "score": "0.5858553", "text": "public BasicAccount(String name, String description, AccountType accountType, double initialBalance) {\n this.ID = newId++;\n this.name = name;\n this.description = description;\n this.movements = new ArrayList<>();\n this.accountType = accountType;\n this.initialBalance = initialBalance;\n this.balance = initialBalance;\n }", "title": "" }, { "docid": "08f5095c2ff6c22ea7a4d678f7988a94", "score": "0.5848855", "text": "public void setAccount_id(Integer account_id) {\n this.account_id = account_id;\n }", "title": "" }, { "docid": "08f5095c2ff6c22ea7a4d678f7988a94", "score": "0.5848855", "text": "public void setAccount_id(Integer account_id) {\n this.account_id = account_id;\n }", "title": "" }, { "docid": "9e2766292f28970d8965a60132b2753d", "score": "0.5828584", "text": "public AutoLoans(int accountNumber, double balance)\n {\n super(accountNumber, balance);\n }", "title": "" }, { "docid": "ab18851ee5df6eeac667e25045e52772", "score": "0.5827352", "text": "public ATM(BankAccount account) {\n\t\tthis.account = account;\n\t}", "title": "" }, { "docid": "0afc96fafb26bd9cb52372b2332f5146", "score": "0.58025384", "text": "public Checking(String id, double bal)\r\n { //initializes instance variables\r\n accountID = id;\r\n balance = (int) Math.round(bal * 100.0); //converts the dollar starting balance parameter bal to cents\r\n numDeposits = 0 ;\r\n numWithdrawls = 0;\r\n serviceCharge = 0;\r\n }", "title": "" }, { "docid": "bb86846fd862b1c33b64f814d6c55051", "score": "0.5783912", "text": "public Bid(){\n this.bidUsername = null;\n this.bidId = null;\n this.bidAmount = -1;\n }", "title": "" }, { "docid": "d79d572599494c797fa0599d86a35b4f", "score": "0.5781311", "text": "public BankAccount(String name, String accountNum, String accountPassword, float balance) {\n\t\tsuper();\n\t\tthis.name = name;\n\t\tthis.accountNum = accountNum;\n\t\tthis.accountPassword = accountPassword;\n\t\tthis.balance = balance;\n\t}", "title": "" }, { "docid": "36c55ad8fd4f1623c18d2cb563ccbc05", "score": "0.5767931", "text": "public CurrentAccount(String accountHolderName,double accountBalance) {\r\n\t\tsuper(accountHolderName,accountBalance);\r\n\t\tthis.odLimit=20000;\r\n\t}", "title": "" }, { "docid": "ae2a2ea0c61453c128f5cb71e2a038c8", "score": "0.57521373", "text": "BankAccount(String cname,String cID)\r\n\t{\r\n\t customerName = cname;\r\n\t customerID = cID;\r\n\t}", "title": "" }, { "docid": "1ba795ac11485dbbddaacf122e83657a", "score": "0.5751131", "text": "public BankAccount()\n {\n this(0);\n }", "title": "" }, { "docid": "447a3aa0acf1916d970a2920bd102e47", "score": "0.57332057", "text": "public BankAccount(double amount,double intPct)\n\t{\n\t\tbalance = amount;\n\t\tinterestPct = intPct;\n\t\t\n\t}", "title": "" }, { "docid": "1a8194df65351e9d45c1fae9d1301ede", "score": "0.5706897", "text": "public SavingAccount(int initialDeposit, double rate){\n super(initialDeposit);\n interestRate = rate;\n }", "title": "" }, { "docid": "7ca0b7d1b67e740073fbe59f287aee10", "score": "0.5703555", "text": "BankAccount() {\n\t\t\n\t\t// Empty\n\t\t\n\t}", "title": "" }, { "docid": "f0b8af928806718e7860cf2a3c722c28", "score": "0.56987125", "text": "public void setAccountId(Integer accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "f0b8af928806718e7860cf2a3c722c28", "score": "0.56987125", "text": "public void setAccountId(Integer accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "cc47505e984f2562d54047d7647d8420", "score": "0.56922483", "text": "public ChequingAccount(double initialBalance) {\n\t\t// construct superclass\n\t\tsuper(initialBalance);\n\t\t// initialize transaction count\n\t\ttransactionCount = 0;\n\t}", "title": "" }, { "docid": "a1acbc4e018df0be525b19357dbac387", "score": "0.56883514", "text": "public Account(int id, String desc, char type)\n\t{\n\t\tthis.accountID = id;\n\t\tthis.accountType = type;\n\t\tthis.description = desc;\n\t\tthis.balance = 0;\n\t}", "title": "" }, { "docid": "a8239248091c43d5110dc3687ea901d8", "score": "0.5687924", "text": "public BankAccount(String accountNumber, double balance, String customerName, String email, String phoneNumber) {\n this.accountNumber = accountNumber;\n this.balance = balance;\n this.customerName = customerName;\n this.email = email;\n this.phoneNumber = phoneNumber;\n }", "title": "" }, { "docid": "d411ccbc12dffbe862308b58971d0bbe", "score": "0.5680761", "text": "public Account(String name, double balance)//constructor name is class name\r\n\t\t{\r\n\t\t\tthis.name = name;\r\n\t\t\t//validate that balance is greater than 0.0, if it's not,\r\n\t\t\t//instance variable balance keeps its default initial value of 0.0\r\n\t\t\tif (balance > 0.0) //verify if balance is valid\r\n\t\t\tthis.balance = balance;\r\n\t\t}", "title": "" }, { "docid": "cc5e9ebabc836c9a3e8b68b263f9bc75", "score": "0.5679471", "text": "public void setBalance(BigDecimal balance) {\n this.balance = balance;\n }", "title": "" }, { "docid": "166729303df3d824b38d419c68e154c2", "score": "0.56791687", "text": "public void init() {\n System.out.println(\"---###-PAYMENT STATUS-###---\");\n for (int i = 1; i <= 10; i++) {\n apartment = new Apartment();\n\n for (int j = 1; j <= 12; j++) {\n\n int payment = getRandomMoney();\n\n Subscription subscription;\n if (payment == 0) {\n subscription = new Subscription(j);\n } else {\n subscription = new Subscription(j, payment);\n }\n setValues(subscription);\n }\n System.out.println(getBalance(i));\n }\n\n }", "title": "" }, { "docid": "073e1f6bde4a6c439bd6fa26df0f6fa8", "score": "0.56613237", "text": "public PaymentCard() {\n balance = 0.0;\n }", "title": "" }, { "docid": "afac1c14d11b0a27b6000312703ec4ad", "score": "0.56574416", "text": "public void setAccountId(long value) {\n this.account_id = value;\n }", "title": "" }, { "docid": "782d4aa18dfabaa09466fd6d1ab0cf4f", "score": "0.5647804", "text": "public Account(String name, String SSN, double initDeposit) {\r\n\t\tthis.name = name;\r\n\t\tthis.SSN = SSN;\r\n\t\tthis.accBalance = initDeposit;\r\n\t\t\r\n\t\t// set account number\r\n\t\tthis.accNumber = setAccNumber();\r\n\t\t\r\n\t\t// Set the rate\r\n\t\tsetRate();\r\n\t}", "title": "" }, { "docid": "8d01926b2b72efb79692564d08669455", "score": "0.5642093", "text": "public void setAccount(BaseAccount account) {\n this.account = account;\n }", "title": "" }, { "docid": "765e13f56729cbf2b3958aa7aa57df22", "score": "0.5637913", "text": "@ApiModelProperty(value = \"The unique identifier of the source [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id).\")\n @JsonProperty(JSON_PROPERTY_BALANCE_ACCOUNT_ID)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getBalanceAccountId() {\n return balanceAccountId;\n }", "title": "" }, { "docid": "b757d8e5ac110ddc8727c99182c88209", "score": "0.56343955", "text": "public Account(String type, String nationalId, String firstName, String lastName, double balance) throws Exception {\n this(type, nationalId, firstName + \" \" + lastName, balance);\n }", "title": "" }, { "docid": "e06479a2b29ca095d165dda34b50fe01", "score": "0.5626997", "text": "BankAccount(int a, String b, double c, int d, String e) {\r\n\t\t\r\n\t\tSystem.out.println(\"BankAccount(int,String,double,int,String) fully parameterized constructor.....\");\r\n\t\tbankAccountNumber=a; \tbankAccountHolderName=b; \r\n\t\tbankAccountBalance=c;\tbankAccountPinNumber=d; \tbankAccountHolderAddress=e;\r\n\t}", "title": "" }, { "docid": "2fde7e768362000f0b3b5c20d905abf7", "score": "0.5615332", "text": "public ATM(String id) {\n\n this.id = id;\n fiftyDollar = 0;\n twentyDollar = 0;\n tenDollar = 0;\n fiveDollar = 0;\n closeWithdraw = false;\n }", "title": "" }, { "docid": "70c3ea551381518380557af6ff93a478", "score": "0.5613874", "text": "public void setBalance(double balance) {\n this.balance = balance;\n }", "title": "" }, { "docid": "f2bc56e0bd57c652c86ed6815c74593c", "score": "0.5611453", "text": "public BankData(int accountNumber, String password, double totalBalance) {\r\n\t\tsuper();\r\n\t\tthis.accountNumber = accountNumber;\r\n\t\tthis.password = password;\r\n\t\tthis.totalBalance = totalBalance;\r\n\t}", "title": "" }, { "docid": "ac5bed69ba56b80868e2b7d050e723c4", "score": "0.5595143", "text": "public void updateAccountBalance(String accountID, String balance);", "title": "" }, { "docid": "cce445ef510baefad1d0768aca91e61a", "score": "0.55879045", "text": "private AccountDao(List<Accounts> accounts) {\n\t\tthis.ACCOUNTS = new HashMap<>();\n\t\taccounts.forEach(a -> this.ACCOUNTS.put(a.getAcctID(), a));\n\t}", "title": "" }, { "docid": "8c6025ebead13f715b6138ef6a1d1334", "score": "0.557433", "text": "public SavingsAccount(String name, int number )\n {\n accountHolderName = name;\n accountNumber = number;\n this.accountType = AccountType.SavingsAccount;\n balance = 0.00f; \n totalAccountNumber++;\n }", "title": "" }, { "docid": "e5379fe7c28b1c09d693791df0939320", "score": "0.5568079", "text": "public void setAccountId(Account accountId) {\n this.accountId = accountId;\n }", "title": "" }, { "docid": "2fe61c29a5910e34574f4fa51b5e6035", "score": "0.55625266", "text": "public void setBalance(double bal) {\n balance = bal;\n }", "title": "" }, { "docid": "64d6a0bf1ef7e29c0c3ff2cbeda4624c", "score": "0.5559889", "text": "public BankAtm(){\n\t\tSystem.out.print(\"Please Enter the ATM ID: \");\n\t\tthis.atmId = Integer.parseInt(System.console().readLine());\n\t\tSystem.out.print(\"Please Enter the Bank Name: \");\n\t\tthis.bankName = System.console().readLine();\n\t\tSystem.out.print(\"Please Enter Location of Bank: \");\n\t\tthis.location = System.console().readLine();\n\t\tSystem.out.print(\"Please Deposit Lump sum amount : \");\n\t\tthis.balance = Integer.parseInt(System.console().readLine());\n\t\tSystem.out.print(\"Account Created Succesfully\\n\");\n\t\t\n\t}", "title": "" }, { "docid": "bcc49fa924aee7d7c3012edfc43c447e", "score": "0.55597067", "text": "private void getBalance() {\n int acctID = askForID();\n \n if (acctID > current) {\n UI.println(\"Account does not exist\");\n } else {\n String PIN = askForPIN();\n //theAccounts[acctID].getBalance(PIN);\n printBal(PIN, acctID);\n }\n }", "title": "" }, { "docid": "621267b7694a8af6d5ce971173a1f18e", "score": "0.5554356", "text": "public BankAccountThis(double initialBalance)\r\n{ \r\n this.balance = initialBalance;\r\n}", "title": "" }, { "docid": "5680fc799ca810ca69885487175c2186", "score": "0.55398166", "text": "public void setAccount(BankAccount account) {\n\t\tthis.account = account;\n\t}", "title": "" }, { "docid": "83ef026a6f91ecff008f8e7d3c1504df", "score": "0.55388135", "text": "public Account(String name, String SSN, double initDeposit) {\n\t\tthis.name = name;\n\t\tthis.SSN = SSN;\n\t\tbalance = initDeposit;\n\n\t\t// Set Account Number\n\t\tindex++;\n\t\tthis.accountNumber = setAccountNumber();\n\n\t\tsetRate();\n\t}", "title": "" }, { "docid": "12f600a83eaa6ee8c5abba71d0599f58", "score": "0.5529339", "text": "protected int getBankAccountFromId() {\n\t\treturn bankAccountFromId;\n\t}", "title": "" }, { "docid": "ce3cb4a6b0f71951ae815daa8c0d551b", "score": "0.5515718", "text": "public Bank() throws RemoteException\r\n\t{\r\n\t\tuserDetails= new HashMap<String, String>();\r\n\t\tthis.accounts = new ArrayList<Account>();\r\n\r\n\t\t/*\r\n\t\t * Adding new user accounts to the bank upon construction and Bank (Server) obj.\r\n\t\t */\r\n\t\tAccount a1 = new Account(1, 100.00,\"Matthew\");\r\n\t\tAccount a2 = new Account(2, 200.00,\"Shane\");\r\n\t\tAccount a3 = new Account(3, 300.00,\"Mark\");\r\n\t\tAccount a4 = new Account(4, 400.00,\"Luke\");\r\n\t\tAccount a5 =new Account(5, 500.00,\"Joe\");\r\n\r\n\t\t/*\r\n\t\t * Adding transctions to account 1 for testing purposes\r\n\t\t */\r\n\t\ta1.addTransaction(new Transaction(TransactionType.Deposit,200.0,new Date()));\r\n\t\ta1.setBalance(a1.getBalance()+200.0);\r\n\t\ta1.addTransaction(new Transaction(TransactionType.Withdrawal,10.0,new Date()));\r\n\t\ta1.setBalance(a1.getBalance()-10.0);\r\n\r\n\t\t/*\r\n\t\t * Adding accounts to list of accounts\r\n\t\t */\r\n\t\tthis.accounts.add(a1);\r\n\t\tthis.accounts.add(a2);\r\n\t\tthis.accounts.add(a3);\r\n\t\tthis.accounts.add(a4);\r\n\t\tthis.accounts.add(a5);\r\n\r\n\t\t/*\r\n\t\t * Setting user login details\r\n\t\t */\r\n\t\tuserDetails.put(\"username\", \"password\");\r\n\r\n\t}", "title": "" }, { "docid": "46d275309f4402f8e9d6f67fa86f3417", "score": "0.550067", "text": "public SavingsAccount(double initialBalance, double initialAnnualInterestRate) {\r\n\tsuper(initialBalance);\r\n\tsetAnnualInterestRate(initialAnnualInterestRate);\r\n }", "title": "" } ]
784e902ada45e150115800df7156e0ff
make decision of whether spot is now active
[ { "docid": "b7704c6c575104b708c9d79d1cc9fdc7", "score": "0.6959227", "text": "private boolean makedecision(String unique, int mins, int dollar, int cent) {\n Cursor res = helperDB.getInfo(unique);\n if (res.getCount() <= 0) {\n res.close();\n insertdata(unique, mins, 0, dollar, cent); //if there is no such entry in db, add one and mark it inactive\n return false; //return negative\n }\n res.moveToFirst();\n int status = Integer.parseInt(res.getString(res.getColumnIndex(\"Status\"))); //get the status entry from db\n if (status == 0) { //if status shows inactive\n int min = Integer.parseInt(res.getString(res.getColumnIndex(\"Time\"))); //get previous mins to leave\n if (min - mins >= 2) {\n helperDB.updateStatus(unique); //if time difference is >=2, change spot to active\n return true;\n }\n }\n if (status == 1) { //return positive if spot is already active\n return true;\n }\n return false;\n }", "title": "" } ]
[ { "docid": "728896d5270a3cfa53b25567bf42655b", "score": "0.6825903", "text": "private void updateCurrentSpot() {\n\t\tint point = planStatus.currentPoint;\n\t\tint command = planStatus.currentCommand;\n\n\t\tif(new PointCommand(point, command).isGreaterThan(isPlayingNow)) {\n\t\t\tif(planStatus.currentStatus.equals(AckStatus.ACK_COMPLETED)) {\n\t\t\t\tif(plan != null) { //????????\n\t\t\t\t\tisPlayingNow = plan.getNextExecutableElement(new PointCommand(point,command));\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tisPlayingNow.set(point, command);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "9d3105832aaa65a91c12cfce75cfaa20", "score": "0.6803811", "text": "@Override\n public boolean canSpot() {\n return super.canSpot() && (getStunnedTurns() == 0);\n }", "title": "" }, { "docid": "3e9138738c5f3beaabcbec854b84cb98", "score": "0.6683348", "text": "boolean hasActive();", "title": "" }, { "docid": "ed78064c5ab9674e6715de9e8812239c", "score": "0.65298915", "text": "private boolean isActivated() {\n BlockPos var1 = this.func_177221_b();\n return this.getSpawnerWorld().func_175636_b((double) var1.getX() + 0.5D, (double) var1.getY() + 0.5D, (double) var1.getZ() + 0.5D, (double) this.activatingRangeFromPlayer);\n }", "title": "" }, { "docid": "9184334f9526d57fb9d67b712e161d97", "score": "0.63800704", "text": "boolean IsActive();", "title": "" }, { "docid": "af0b4a208f896a4617f40e8984cbd77b", "score": "0.6279188", "text": "boolean getActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "e75599ae75fcc2dba531b79581f8dc8f", "score": "0.62701815", "text": "boolean isActive();", "title": "" }, { "docid": "7aaa4879d4ae180be45a74e4c701b42e", "score": "0.61806816", "text": "Boolean hasActiveEnabled();", "title": "" }, { "docid": "a5df0297b509eff16e9b01e82ab4776b", "score": "0.6128145", "text": "boolean isShipPlaced();", "title": "" }, { "docid": "dbc02d450e8e254a3a7997c0dc18604a", "score": "0.61213213", "text": "boolean isActivated();", "title": "" }, { "docid": "e194304a9c321b01a8abdf2fef152933", "score": "0.60602874", "text": "public boolean isActive()\r\n/* 38: */ {\r\n/* 39: 49 */ return this.active;\r\n/* 40: */ }", "title": "" }, { "docid": "5c9dc7da3163bba4877b8294ecd617c9", "score": "0.6056725", "text": "public boolean getActive(){\r\n return localActive;\r\n }", "title": "" }, { "docid": "343aa55058a6ddad7da289e6a52b2fc8", "score": "0.60258293", "text": "public abstract boolean canFitInSpot(ParkingSpot spot);", "title": "" }, { "docid": "d7bb6ac58902609714a1eddf60e170ed", "score": "0.5969092", "text": "private boolean isSettled()\r\n\t{\r\n\t\tfor (Vector v : getActivePieceLoc()) {\r\n\t\t\tVector below = v.add(new Vector(0,1));\r\n\t\t\tif (v.y == size.height -1 ||\r\n\t\t\t\tgrid[below.x][below.y] != null &&\r\n\t\t\t\tgrid[below.x][below.y] != activePiece) {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "5bb989e0fd1b39638b52620d306ca9e0", "score": "0.59605384", "text": "protected boolean onSide() {\n for (int i = 0; i < NUM_OTHER_TRACKBOTS; i++) {\n if (otherTrackBotIDs[i] == 0) {\n continue;\n }\n if ( (beaconState[i][MY_AFT_STAR] & 0x0f) != 0\n || (beaconState[i][MY_AFT_PORT] & 0x0f) != 0\n || (beaconState[i][MY_FORE_STAR] & 0x0f) != 0\n || (beaconState[i][MY_FORE_PORT] & 0x0f) != 0\n || (beaconState[i][MY_STAR_AFT] & 0x0f) != 0\n || (beaconState[i][MY_PORT_AFT] & 0x0f) != 0\n || (beaconState[i][MY_STAR_FORE] & 0x0f) != 0\n || (beaconState[i][MY_PORT_FORE] & 0x0f) != 0)\n {\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "51d6e66be7422e8b798bfa5faa40380d", "score": "0.59530705", "text": "boolean isInDesiredState();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "b0afcd1bbd2e5b59defaa1e3d1d8fd4a", "score": "0.59528255", "text": "public boolean isActive();", "title": "" }, { "docid": "42411149482067cbd7862a0ccd962fc9", "score": "0.5947842", "text": "protected abstract boolean isActive();", "title": "" }, { "docid": "59923c712bc23816b627c2264d3f095c", "score": "0.5932974", "text": "@Override\n\tpublic boolean isActive() {\n\t\treturn _market.isActive();\n\t}", "title": "" }, { "docid": "64a06b6a81bb1c52fe093ff9ebf2ac99", "score": "0.5917115", "text": "public abstract boolean isActive();", "title": "" }, { "docid": "cf581ba64a13a20bf1f68a5546d65307", "score": "0.591191", "text": "@Override\n\tpublic boolean getActive() {\n\t\treturn _market.getActive();\n\t}", "title": "" }, { "docid": "52d90b4aec84d63366b215193b483c5e", "score": "0.5907549", "text": "public synchronized boolean isStateActive(State state) {\r\n\t\r\n\t\tswitch (state) {\r\n\t\tcase MAIN_REGION_MODE:\r\n\t\t\treturn stateVector[0].ordinal() >= State.\r\n\t\t\t\t\tMAIN_REGION_MODE.ordinal()&& stateVector[0].ordinal() <= State.MAIN_REGION_MODE_MODE_DATE_PRINTED.ordinal();\r\n\t\tcase MAIN_REGION_MODE_MODE_HOUR_PRINTED:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_MODE_MODE_HOUR_PRINTED;\r\n\t\tcase MAIN_REGION_MODE_MODE_DATE_PRINTED:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_MODE_MODE_DATE_PRINTED;\r\n\t\tcase MAIN_REGION_STOPWATCH:\r\n\t\t\treturn stateVector[0].ordinal() >= State.\r\n\t\t\t\t\tMAIN_REGION_STOPWATCH.ordinal()&& stateVector[0].ordinal() <= State.MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_STARTED.ordinal();\r\n\t\tcase MAIN_REGION_STOPWATCH_R1_INITIAL_STATE:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_STOPWATCH_R1_INITIAL_STATE;\r\n\t\tcase MAIN_REGION_STOPWATCH_R1_STOPPED:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_STOPWATCH_R1_STOPPED;\r\n\t\tcase MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING:\r\n\t\t\treturn stateVector[0].ordinal() >= State.\r\n\t\t\t\t\tMAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING.ordinal()&& stateVector[0].ordinal() <= State.MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_STARTED.ordinal();\r\n\t\tcase MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_PAUSED:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_PAUSED;\r\n\t\tcase MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_STARTED:\r\n\t\t\treturn stateVector[0] == State.MAIN_REGION_STOPWATCH_R1_TIME_IS_RUNNING_RUNNING_TIME_STARTED;\r\n\t\tcase SAVING_TIME_SAVE:\r\n\t\t\treturn stateVector[1].ordinal() >= State.\r\n\t\t\t\t\tSAVING_TIME_SAVE.ordinal()&& stateVector[1].ordinal() <= State.SAVING_TIME_SAVE_SAVE_SAVE_NEXT.ordinal();\r\n\t\tcase SAVING_TIME_SAVE_SAVE_TIME_SAVED:\r\n\t\t\treturn stateVector[1] == State.SAVING_TIME_SAVE_SAVE_TIME_SAVED;\r\n\t\tcase SAVING_TIME_SAVE_SAVE_SAVER_RESET:\r\n\t\t\treturn stateVector[1] == State.SAVING_TIME_SAVE_SAVE_SAVER_RESET;\r\n\t\tcase SAVING_TIME_SAVE_SAVE_SAVE_NEXT:\r\n\t\t\treturn stateVector[1] == State.SAVING_TIME_SAVE_SAVE_SAVE_NEXT;\r\n\t\tdefault:\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e2d8813c4c5526a66c2b9e0ab881016a", "score": "0.59049195", "text": "public abstract boolean isOn();", "title": "" }, { "docid": "bc957a3721d7eb2004d09e7687698cbd", "score": "0.588805", "text": "boolean hasPlayerState();", "title": "" }, { "docid": "bc957a3721d7eb2004d09e7687698cbd", "score": "0.588805", "text": "boolean hasPlayerState();", "title": "" }, { "docid": "799c5bbad802d0a4d7ab58b28fc61a33", "score": "0.5885183", "text": "boolean isSetActiveFlag();", "title": "" }, { "docid": "dd35123bc794fa0a2cdda3869219846e", "score": "0.58692765", "text": "public boolean isActivated() {\r\n\t\tif (!requiresPlayer)\r\n\t\t\treturn true;\r\n\t\telse\r\n\t\t\treturn this.getSpawnerWorld().getClosestPlayer(this.getSpawnerX() + 0.5D, this.getSpawnerY() + 0.5D, this.getSpawnerZ() + 0.5D, this.activatingRangeFromPlayer, false) != null;\r\n\t}", "title": "" }, { "docid": "6f5079d0ac26327cbb24133a2c4944e7", "score": "0.585934", "text": "Boolean isCurrent();", "title": "" }, { "docid": "e1b71c205b56154253616fa353caf5b4", "score": "0.5799947", "text": "boolean hasCurrentStatus();", "title": "" }, { "docid": "aa9cb9e6f3c0c2894cea8ff96ffb1866", "score": "0.57928854", "text": "boolean getActiveFlag();", "title": "" }, { "docid": "80de3b320cfced76574d96afcc4e5aa5", "score": "0.5792234", "text": "private boolean updateTracking() {\n Frame frame = mARFragment.getArSceneView().getArFrame();\n boolean wasTracking = isTracking;\n isTracking = frame != null &&\n frame.getCamera().getTrackingState() == TrackingState.TRACKING;\n return isTracking != wasTracking;\n }", "title": "" }, { "docid": "d87ea3f9c443a6a8904b25eb3b6214c5", "score": "0.577389", "text": "public boolean isGoal(){\r\n return this.symbol == GOAL_SYMBOL;\r\n }", "title": "" }, { "docid": "30b2f484def1ac469ab9cdb02f9421ac", "score": "0.57691735", "text": "public abstract boolean doesRemainActive();", "title": "" }, { "docid": "c4f79e52c18a425c01d4fb58ba481fe0", "score": "0.57635874", "text": "@Override\n public boolean canFitInSpot(ParkingSpot ps) {\n return ps.getvType() == VehicleType.Standard;\n }", "title": "" }, { "docid": "36738e71379b5c706ed21bbe8f10f60e", "score": "0.57526356", "text": "boolean isOn();", "title": "" }, { "docid": "ff56c0f03a366a9d37bc2fd8772f100e", "score": "0.57461244", "text": "@Override\n public boolean isActive() {\n return isAlive();\n }", "title": "" }, { "docid": "9a76f510b579f51bf7e2218def0c48c5", "score": "0.5745882", "text": "private boolean updateTracking() {\n Frame frame = fragment.getArSceneView().getArFrame(); //the pointer.\n boolean wasTracking = isTracking;\n isTracking = frame != null &&\n frame.getCamera().getTrackingState() == TrackingState.TRACKING;\n return isTracking != wasTracking;\n }", "title": "" }, { "docid": "7eae89f1045985442ee26e2afac7fb2e", "score": "0.57329327", "text": "boolean hasCurrentSupply();", "title": "" }, { "docid": "1a6a7096591062715b10ce66087670b1", "score": "0.57293254", "text": "public boolean isEngagedWithRope(){\r\n \treturn getCurrent() > LIFTOFF_CURRENT;\r\n }", "title": "" }, { "docid": "a13137e51cf0147e720309f28e581293", "score": "0.5725325", "text": "protected abstract boolean particleActive(Particle p);", "title": "" }, { "docid": "77c58bf53c76d2a8ccc2b43aa5907382", "score": "0.5716305", "text": "public Boolean getSpontaneous();", "title": "" }, { "docid": "9a578b95826a8b35997f88b4459b3985", "score": "0.57044464", "text": "public boolean accelerateStatus(SpaceWars game){\n\n return randomBool();\n }", "title": "" }, { "docid": "a3b418a85ef4259fa21ca191e85f52be", "score": "0.57014054", "text": "public abstract boolean isUsableDuringTurn();", "title": "" }, { "docid": "c24c467ef8fd693b757f243296392428", "score": "0.5695104", "text": "public boolean isActive( );", "title": "" }, { "docid": "61d642a149514899f9f52b87321c51ae", "score": "0.5693132", "text": "@Override\n public boolean activate() {\n return ctx.players.local().animation() == CommonUtil.PLAYER_IDLE;\n }", "title": "" }, { "docid": "97d9e6e6507eaecf51707fabaa4e5829", "score": "0.56905764", "text": "public boolean getActive(){return this.active;}", "title": "" }, { "docid": "a4c3d03175101db5335fcdbaab886d84", "score": "0.5690238", "text": "public Boolean isRunning()\n {\n if(isActive )\n return true;\n else\n return false;\n }", "title": "" }, { "docid": "67f7d4c3c8dee46c6825fe24b0885438", "score": "0.56886196", "text": "public Boolean isActive(){\n Boolean active;\n GregorianCalendar now = new GregorianCalendar();\n now.setTime(new Date());\n active = 0<dateJava.compareTo(now);\n return active;\n }", "title": "" }, { "docid": "11114d89fe6ba9fb9e85bf0a7b393b94", "score": "0.5675546", "text": "private void check() {\n if ( ring.isPlaying() && (cTime - sTime) / 1000l >= secondsWait ) {\n Log.i(TAG, \"sound is active, turning it off\");\n ring.stop();\n }\n\n newFrame = new Instance(CoreV.queueSize+1);\n for (int k = 0; k < CoreV.queueSize; k++) newFrame.setValue((Attribute)fvWekaAttributes.elementAt(k), mags.getVal(k));\n dataUnlabeled.add(newFrame);\n dataUnlabeled.setClassIndex(dataUnlabeled.numAttributes() - 1);\n // Predict\n try { isDistracted = eTest.evaluateModelOnceAndRecordPrediction(cModel, dataUnlabeled.lastInstance() );\n } catch (Exception e) {\n Log.i(TAG, \"Had trouble making prediction\");\n e.printStackTrace(); }\n\n cTime = new Date().getTime();\n\n // Also throw in a check for whether driver has been alerted in last ~5s\n //Log.i(TAG, String.format(\"Classification: %s\", labels[(int)isDistracted]) );\n Log.i( TAG, newFrame.toString() );\n if (isDistracted == 1 && wasDistracted && (cTime - sTime) / 1000l >= secondsWait) {\n Log.i(TAG, \"turning on sound\");\n ring.play(); //notify user\n sTime = cTime; // update most recent alert\n }\n // Set up for next frame\n if (isDistracted == 1) wasDistracted = true;\n else wasDistracted = false;\n }", "title": "" }, { "docid": "9f9a9947f432a9390bd0d89246f6ec19", "score": "0.5668296", "text": "public boolean isSpawning() {\n\t\treturn summonInfo != null && summonCountdown >= 0;\n\t}", "title": "" }, { "docid": "06c5c15c54a1dc52c524c2fc7672e0b8", "score": "0.56674224", "text": "boolean hasBuyTime();", "title": "" }, { "docid": "080aff40f6b38664ccc01a683f4eacd7", "score": "0.5667074", "text": "public boolean IsActive() {\n return IsActive;\n }", "title": "" }, { "docid": "d42cbbcf574b57d414ea157404c3e1fe", "score": "0.5662227", "text": "public void setActive()\n {\n isInert = false;\n }", "title": "" }, { "docid": "e4d02228a6d0597cd048defef44e28ab", "score": "0.56512505", "text": "void setIsPromoActive(boolean shown);", "title": "" }, { "docid": "08ba286d9fb050e5e7e33c8fc273d256", "score": "0.5646626", "text": "boolean hasHot();", "title": "" }, { "docid": "fa2a6601cf575526ee8e3fc12ab8f784", "score": "0.56428766", "text": "public void setActive(boolean param){\r\n \r\n this.localActive=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "ac2cd9b4aba84ae216e00fb52b8edee8", "score": "0.5642821", "text": "public void changeSeatAvailability() {\n\t\tisTaken = !isTaken;\n\t\tif(seatStatus.equals(\" \")) {\n\t\t\tseatStatus = \"X\";\n\t\t}\n\t\telse {\n\t\t\tseatStatus = \" \";\n\t\t}\n\t}", "title": "" }, { "docid": "e2fc34ae1eadae0d3e3e05a4f57ee852", "score": "0.5638604", "text": "private void checkLiveTrack() {\n final boolean isRecording = selectedTrackIsRecording();\n final boolean startThread =\n (thread == null) && isRecording && activityOnTop;\n final boolean killThread =\n (thread != null) && (!isRecording || !activityOnTop);\n if (startThread) {\n thread = new UIUpdateThread();\n thread.start();\n getContentResolver().registerContentObserver(\n TracksColumns.CONTENT_URI, false, observer);\n getContentResolver().registerContentObserver(\n WaypointsColumns.CONTENT_URI, false, observer);\n registerLocationListener();\n } else if (killThread) {\n thread.interrupt();\n thread = null;\n getContentResolver().unregisterContentObserver(observer);\n unregisterLocationListener();\n }\n }", "title": "" }, { "docid": "9a1c05010f187d945b333a60747c7aa1", "score": "0.5637406", "text": "@Override\r\n\tpublic void spotEntered(Spot spot) {\n\t\tif (_game_won) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (spot.isEmpty() == true) {\r\n\t\t\tspot.highlightSpot();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "6222b1eda756ab2f46e018e72a1a8e18", "score": "0.56305236", "text": "private boolean isActive() {\n return currentState != null && currentState != State.WIN && currentState != State.LOST;\n }", "title": "" }, { "docid": "ccb79af51bb946ec19173ba765f45a9f", "score": "0.5624013", "text": "boolean isInactive();", "title": "" }, { "docid": "3deb04790bdeddfb4e468c504cc4dfef", "score": "0.5615555", "text": "boolean isOnStage();", "title": "" }, { "docid": "2789835333d43a66e69dbda9ce1307ac", "score": "0.561198", "text": "public Boolean hastv()//method to check if the bus has a tv\r\n{\r\n if(hastv = true)\r\n return true;\r\n else\r\n return false;\r\n}", "title": "" }, { "docid": "1ba15dc23365e45133d304190c97b741", "score": "0.5596076", "text": "boolean isSetIsActive();", "title": "" }, { "docid": "bf6b443d02f658c3f47bdf3af5e73120", "score": "0.5580585", "text": "public boolean isPlaying(){ if(lineInfo == null) return false; return doIsPlaying(); }", "title": "" }, { "docid": "d89e55d21b08b42fe9353ca02390def5", "score": "0.5575952", "text": "public boolean isActorCurrent() {\r\n return index == 1;\r\n }", "title": "" }, { "docid": "eb6ae86b0fdca077da16c8349fd96a81", "score": "0.55716026", "text": "@Override\r\n\tpublic boolean active() {\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "6177a9f1ce09265bf239ffb0fa40cf09", "score": "0.5564977", "text": "boolean getPlayingStatus();", "title": "" }, { "docid": "1c4945c46e9e7147ae81fd9028c6e2be", "score": "0.55578166", "text": "private boolean isActive(GtfsRealtime.FeedEntity feedEntity, long departureLimit) {\n return feedEntity.hasTripUpdate()\n && feedEntity.getTripUpdate().getStopTimeUpdateCount() > 0\n && feedEntity.getTripUpdate().getStopTimeUpdate(0).getDeparture().getTime() < departureLimit;\n }", "title": "" }, { "docid": "a049a6f93368f32188958e74797a05b2", "score": "0.5557521", "text": "public boolean gameActive()\n\t{\n\t\treturn gameOnGoing;\n\t}", "title": "" }, { "docid": "4aa5a8bb81d0983656cc75c52f57bd8d", "score": "0.5552644", "text": "boolean hasGameStatus();", "title": "" }, { "docid": "ec3077f4403de03ebb21c9801d7603bc", "score": "0.5551409", "text": "public boolean isActive()\r\n\t\t{ return( false ); }", "title": "" }, { "docid": "db0dfb7663df3ee1ce591dc402df0470", "score": "0.5548895", "text": "private boolean activate()\n {\n boolean active = true;\n\n for (Service s : serviceMap.values())\n {\n if (!stoppedServices.contains(Integer.valueOf(s.getId())))\n {\n if (s.isGlued() && !s.activate())\n active = false;\n }\n }\n\n return active;\n }", "title": "" }, { "docid": "9845694e7a79613d3d0f22a7905f015c", "score": "0.5548486", "text": "boolean getHot();", "title": "" }, { "docid": "dbcd136f47f143c228402f9e33c2ce5a", "score": "0.5537898", "text": "private boolean isAlive() {\n return limitTop > 0;\n }", "title": "" }, { "docid": "cd7c74149c8924091c8bc5d998e0baea", "score": "0.55353314", "text": "public static boolean SaveGuidedTourVisitStatus(Context ctx){\n\n SharedPreferences.Editor editor= getSharedPreferenceEditor(ctx);\n editor.putBoolean(Constant.KEY_GUIDED_TOUR,true);\n editor.commit();\n return true;\n }", "title": "" }, { "docid": "6da8f02f86a157b185c516eb930bee06", "score": "0.5534181", "text": "private boolean tameCheck()\n {\n return this.pokemob.getGeneralState(GeneralStates.TAMED)\n && !this.pokemob.getGeneralState(GeneralStates.STAYING);\n }", "title": "" }, { "docid": "c605b1c4935646393aa85fae4bd1673c", "score": "0.5532006", "text": "protected abstract boolean isTeamAlive();", "title": "" }, { "docid": "f38869b50455e025013863aeac306e25", "score": "0.5530991", "text": "public static boolean GetGuidedTourVisitStatus(Context ctx){\n\n SharedPreferences sharedPreferences = getSharedPreference(ctx);\n return sharedPreferences.getBoolean(Constant.KEY_GUIDED_TOUR,false);\n }", "title": "" }, { "docid": "4834fe642d8098625ddd41dd00df6cd8", "score": "0.5516388", "text": "public boolean getDone() {\r\n\t\tif (side <= 0.5) {\r\n\t\t\tif (location.x > Gdx.graphics.getWidth() + 10 && switchSprite)\r\n\t\t\t\treturn true;\r\n\t\t} else {\r\n\t\t\tif (location.x < 0 - shape.x - 10 && switchSprite)\r\n\t\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "2f411602f9ef597fa32656a1db443155", "score": "0.551515", "text": "public boolean checkStake() {\n return engine.getPlayerStake() > 0 || engine.hasPoint();\n }", "title": "" }, { "docid": "d2337f3a643b9111ae30b946130d5342", "score": "0.5514762", "text": "boolean getIsActive();", "title": "" }, { "docid": "d2337f3a643b9111ae30b946130d5342", "score": "0.5514762", "text": "boolean getIsActive();", "title": "" }, { "docid": "d2337f3a643b9111ae30b946130d5342", "score": "0.5514762", "text": "boolean getIsActive();", "title": "" }, { "docid": "720802cf9d33c2cae49fc0f9e1070d06", "score": "0.55133945", "text": "public boolean getActive(){\n return active;\n }", "title": "" } ]
548dc6e18844022e010ad31fd6ca5e9b
Services provided by the host. repeated .yandex.cloud.mdb.mongodb.v1.Service services = 7;
[ { "docid": "746bf7f05afc1ef84d60b09d286ccf72", "score": "0.0", "text": "public Builder addAllServices(\n java.lang.Iterable<? extends yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service> values) {\n if (servicesBuilder_ == null) {\n ensureServicesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, services_);\n onChanged();\n } else {\n servicesBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" } ]
[ { "docid": "b867b1ba1c5b118cd4bc5ecc77642d21", "score": "0.7190634", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service getServices(int index);", "title": "" }, { "docid": "e446c220a7ff8efeeecb9f4a675dca68", "score": "0.69651145", "text": "java.util.List<yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service> \n getServicesList();", "title": "" }, { "docid": "547e22388d1b34c431c4aa93e42ba8bb", "score": "0.68780017", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongos getMongos();", "title": "" }, { "docid": "34166f33f8b55424a9340e80a66ebdd1", "score": "0.68480766", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.Mongos getMongos();", "title": "" }, { "docid": "cded3f2ced08e46478fd09d7f2c78b3d", "score": "0.68452966", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos getMongos();", "title": "" }, { "docid": "eff577fd0682691e7d64191a9b918c6c", "score": "0.68139017", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos getMongos();", "title": "" }, { "docid": "40e59e653c1d0cd9bfca2559035f8b1c", "score": "0.6806273", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongos getMongos();", "title": "" }, { "docid": "4876faf683e97e7e95a8198db3fa2f9a", "score": "0.67574483", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.Mongos getMongos();", "title": "" }, { "docid": "ecfc67957386fbb25377d982868f0590", "score": "0.6749738", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongos getMongos();", "title": "" }, { "docid": "5240d6dd4de52536067dfb2003f2ec04", "score": "0.6725501", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongos getMongos();", "title": "" }, { "docid": "ce5fc5d54be2a2be6e9f1cbd251162aa", "score": "0.67104983", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongos getMongos();", "title": "" }, { "docid": "78a38040274321d0536915be39265f25", "score": "0.62983716", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongosConfigSet4_0 getConfigMongos();", "title": "" }, { "docid": "18356329f88e89a084ad02b53458f2f9", "score": "0.6255283", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service getServices(int index) {\n return services_.get(index);\n }", "title": "" }, { "docid": "07ff6c3cda304be27519e9dbd0bd62e1", "score": "0.623146", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongosConfigSet4_4 getConfigMongos();", "title": "" }, { "docid": "eb6ca1c3bf6f00a658fcad3709a8befd", "score": "0.61871815", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getConfigMongos();", "title": "" }, { "docid": "ff548296d1d0fbdbb082996ecc5244d4", "score": "0.61389184", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0 getMongodb40();", "title": "" }, { "docid": "f451033f11e28b9faa20b668382b9523", "score": "0.6079637", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb36.MongosConfigSet3_6 getConfigMongos();", "title": "" }, { "docid": "c1cbd09403b78d77451359cb982c9898", "score": "0.6060684", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb60.MongosConfigSet6_0 getConfigMongos();", "title": "" }, { "docid": "9f4f4cc34a919bca6108fcfae3e8eb94", "score": "0.6057327", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2 getMongodb42();", "title": "" }, { "docid": "a8cb432a61cef2c29b843e7fd873e833", "score": "0.6033276", "text": "@java.lang.Override\n public java.util.List<yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service> getServicesList() {\n return services_;\n }", "title": "" }, { "docid": "70e9e08ee18950ca03c5d35ae3c66553", "score": "0.60304195", "text": "java.util.List<? extends yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ServiceOrBuilder> \n getServicesOrBuilderList();", "title": "" }, { "docid": "955c1e847aff5cbc58042c726eff2af6", "score": "0.59904236", "text": "@java.lang.Override\n public java.util.List<? extends yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ServiceOrBuilder> \n getServicesOrBuilderList() {\n return services_;\n }", "title": "" }, { "docid": "de65eea7d609052797c6b4690b436538", "score": "0.598758", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb50.MongosConfigSet5_0 getConfigMongos();", "title": "" }, { "docid": "d06cd246d9fbc66ff03681a1f9d85a72", "score": "0.59781206", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0 getMongodb50();", "title": "" }, { "docid": "f3718e592d81714fe477b1fa388c05de", "score": "0.597367", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ServiceOrBuilder getServicesOrBuilder(\n int index);", "title": "" }, { "docid": "4727f7f8a585bd88eac796fd1c5cc842", "score": "0.5969268", "text": "public abstract Collection<ServiceInterface> getServices();", "title": "" }, { "docid": "e38b95260e0439d871bb0e785ac455fc", "score": "0.59392744", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ServiceOrBuilder getServicesOrBuilder(\n int index) {\n return services_.get(index);\n }", "title": "" }, { "docid": "f1b558723fe35cb8c2dd1ec9a715369c", "score": "0.5930296", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44Enterprise.MongosConfigSet4_4_enterprise getConfigMongos();", "title": "" }, { "docid": "a5f02d797be8b7e8ef3c03059143cab1", "score": "0.5915729", "text": "@Override\n\t@Bean\n\tpublic Mongo mongo() throws Exception {\n\n\t\t\n\t\tMongoClientURI uri = new MongoClientURI(\"mongodb://kireeti:kireeti@ds231588.mlab.com:31588/heroku_6f3xn8cd\");\t\n\t\treturn new MongoClient(uri);\n\t}", "title": "" }, { "docid": "616eb8e2620956d59539c3cc8e564983", "score": "0.5890469", "text": "private void conDB(){\r\n\t\tclient = new MongoClient(System.getProperty(\"server\"), 27017);//conectamos\r\n\t\tdatabase = client.getDatabase(System.getProperty(\"db\"));//elegimos bbdd\r\n\t\tcollection = database.getCollection(\"chicago\");//tomamos la coleccion\r\n\t}", "title": "" }, { "docid": "bca2cf70eadd0db68db8eb33283f819f", "score": "0.58775145", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4 getMongodb44();", "title": "" }, { "docid": "4b50b6209b5d266d28e54358576b25b3", "score": "0.5831239", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0 getMongodb60();", "title": "" }, { "docid": "c45594646ef27454d13a6d8204a9fd03", "score": "0.5801017", "text": "public List<Service> getAllServices() throws DatabaseConfigException;", "title": "" }, { "docid": "7848b30b52fb8b06686ed1046f497d8a", "score": "0.5795196", "text": "boolean hasMongodb60Enterprise();", "title": "" }, { "docid": "5ae1729e0c582132f84dd31741f21e92", "score": "0.57931894", "text": "public interface IMongoDB\n {\n \t/**\n \t * \n \t * @param uri the base URI of the MongoDB\n \t * @return the Mongo instance for accessing the database\n \t * @throws MongoException if there is an internal error\n \t * @throws UnknownHostException if the host of the URI is unknown\n \t */\n \tMongo getMongo(MongoURI uri) throws MongoException, UnknownHostException;\n }", "title": "" }, { "docid": "a00415ff0d7b34312346a9bfa79bf922", "score": "0.57781535", "text": "public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service getServices(int index) {\n if (servicesBuilder_ == null) {\n return services_.get(index);\n } else {\n return servicesBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "bf8a44caf979b2c40aefeaca3a48fcbb", "score": "0.57613254", "text": "public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service.Builder addServicesBuilder() {\n return getServicesFieldBuilder().addBuilder(\n yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service.getDefaultInstance());\n }", "title": "" }, { "docid": "50296542e31f0313e220192fdf6f4c10", "score": "0.57519317", "text": "public List getAllServices() {\n\n result = newServerConnection.run(\"service --status-all\", host);\n return result;\n\n }", "title": "" }, { "docid": "b62d77b00d960c9a0d3d53ed29a47406", "score": "0.575012", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.MongoInfra getMongoinfra();", "title": "" }, { "docid": "dc6a31be819c71005deffd3e0b613eb0", "score": "0.5737555", "text": "boolean hasMongodb50Enterprise();", "title": "" }, { "docid": "889621ade6fd393559d18944e27326e5", "score": "0.5719898", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.Mongod getMongod();", "title": "" }, { "docid": "94bc54e675154ad23f4544bf0bc0b3b4", "score": "0.5712734", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongod getMongod();", "title": "" }, { "docid": "610e1d1d4f61eb00cd4360058a12b0c2", "score": "0.57106376", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.MongoInfra getMongoinfra();", "title": "" }, { "docid": "dccf1b1d776401035c0c311d3ffb36da", "score": "0.57065815", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongod getMongod();", "title": "" }, { "docid": "61516c7d7bfea8549a569e40334a9744", "score": "0.5693594", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongod getMongod();", "title": "" }, { "docid": "f73b92ff0193fae37612c8490dda95bd", "score": "0.5683567", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongod getMongod();", "title": "" }, { "docid": "6b7b90c50f136099beb0d26723dd447d", "score": "0.56815475", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.MongoInfra getMongoinfra();", "title": "" }, { "docid": "73d0296d86a6215b8646f191e3b48ef9", "score": "0.5671453", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.MongoInfra getMongoinfra();", "title": "" }, { "docid": "db734d1c540dc049677b14c95b04e209", "score": "0.5662394", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongoCfgConfigSet4_0 getConfigMongocfg();", "title": "" }, { "docid": "9f5d1f7c287ebb7e6f96f77209bb810b", "score": "0.5658426", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6 getMongodb36();", "title": "" }, { "docid": "4753bd679a17f2779bfad7395f18e0aa", "score": "0.5656375", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongoCfgConfigSet4_4 getConfigMongocfg();", "title": "" }, { "docid": "82ef1d39fc32572fb6b47c94c97ca7d9", "score": "0.5652302", "text": "boolean hasMongodb44Enterprise();", "title": "" }, { "docid": "2f2fa97b08d362e995e4f1f7db384280", "score": "0.5648417", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongod getMongod();", "title": "" }, { "docid": "2188fa2856176c7aabc3877e8a910495", "score": "0.5646525", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.MongoInfra getMongoinfra();", "title": "" }, { "docid": "1f360851ede1cfe893a3484196e8ce90", "score": "0.5643471", "text": "@Override\r\n\tpublic Map<String, String> getServices() {\n\t\treturn services;\r\n\t}", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56398475", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56398475", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56398475", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56398475", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56397647", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56397647", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56397647", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56397647", "text": "boolean hasMongos();", "title": "" }, { "docid": "ce19eec213e0d5981b6b69b04a9ccc95", "score": "0.56397647", "text": "boolean hasMongos();", "title": "" }, { "docid": "47e32df405d73ecd4e12bb2e3509018e", "score": "0.5638533", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongod getMongod();", "title": "" }, { "docid": "4df42cb8333bcdda8ba64aff4b09c806", "score": "0.56367195", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongod getMongod();", "title": "" }, { "docid": "3cc3c0327934479eb2ecfc6c04cc48b4", "score": "0.56347346", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.MongoInfra getMongoinfra();", "title": "" }, { "docid": "6d071a9c92cfbd2b7a267c52065d2f0d", "score": "0.5634731", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.MongoInfra getMongoinfra();", "title": "" }, { "docid": "11a075d47e972534f554b4d2044c5433", "score": "0.5630801", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "fe7885a691951afc6e3238b2bbffe591", "score": "0.5629316", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service.Type getType();", "title": "" }, { "docid": "4cdab2778489d94401f7fb594cb4ecae", "score": "0.562902", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "b82435fa54b18201b48fa3058838d3e1", "score": "0.56221986", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "48040498b45fc3e9ba850ca850e942ee", "score": "0.56165755", "text": "@UnmodifiableView\n @NonNull Collection<ServiceInfoSnapshot> services();", "title": "" }, { "docid": "99702b7ac162c3b95b1e34738cc0965f", "score": "0.56142783", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.Mongod getMongod();", "title": "" }, { "docid": "30eca6359eb2a12c6f7b645d154556b7", "score": "0.5610057", "text": "public interface ServicesService {\n /**\n * Returns a list of all the services\n * \n * @return returns the list containing all the services\n * @throws DatabaseConfigException\n */\n public List<Service> getAllServices() throws DatabaseConfigException;\n\n /**\n * Parses a configuration file with information on the service to add\n * and adds the new service, loading any new .jar files if necessary.\n * \n * @param name\n * The name of the service\n * @throws DataException\n * If an error occurred while interacting with the database\n * @throws IOException\n * If an error occurred while reading the configuration file\n * @throws ConfigFileException\n * If the configuration file was invalid\n */\n public void addNewService(String name) throws DataException, IOException, ConfigFileException;\n\n /**\n * Parses a configuration file with information on the service to update\n * and updates the service, loading any new .jar files if necessary.\n * \n * @param name\n * Service folder name\n * @param service\n * The service to update\n * @throws DataException\n * If an error occurred while interacting with the database\n * @throws IOException\n * If an error occurred while reading the configuration file\n * @throws ConfigFileException\n * If the configuration file was invalid\n */\n void updateService(String name, Service service, boolean reprocessingRequired) throws DataException, IndexException, IOException, ConfigFileException;\n\n /**\n * Adds a new Service\n * \n * @param service\n * The service to be added\n */\n public void insertService(Service service) throws DataException;\n\n /**\n * Deletes a service from the MST. This method has to be used when the service has no processed records.\n * \n * @param service\n * service to be deleted\n * @throws xc.mst.dao.DataException\n */\n public void deleteService(Service service) throws DataException;\n\n /**\n * Deletes a service and its records by scheduling a job\n * \n * @param service\n * service to be deleted\n */\n public void deleteServiceAndRecordsByJob(Service service) throws DataException;\n\n /**\n * Updates the details of a Service\n * \n * @param service\n * The service to be updated.\n */\n public void updateService(Service service) throws DataException;\n\n /**\n * Retrieves a service object based on the ID passed to it\n * \n * @param serviceId\n * The Id based on which a service object is retrieved.\n * @return\n * @throws DatabaseConfigException\n */\n public Service getServiceById(int serviceId) throws DatabaseConfigException;\n\n /**\n * Retrieves a service object based on the name of the service\n * \n * @param serviceName\n * The name of the service\n * @return\n * @throws DatabaseConfigException\n */\n public Service getServiceByName(String serviceName) throws DatabaseConfigException;\n\n public Object getBean(String serviceName, String beanName);\n\n /**\n * returns a list of soervices sorted by name\n * \n * @param sort\n * boolean parameter that determines of the services are to be sorted in ascending/descending order\n * @return list of services\n * @throws DatabaseConfigException\n */\n public List<Service> getAllServicesSorted(boolean sort, String columnSorted) throws DatabaseConfigException;\n\n public Collection<String> getServicesAvailableForInstall();\n\n /**\n * If file time needs update, it follows that the service must reprocess.\n */\n public boolean doesServiceFileTimeNeedUpdate(Service service);\n\n /**\n * get the latest timestamp any of the services files has, persist this latest timestamp as part of the\n * service's permanent record.\n */\n public void updateServiceLastModifiedTime(String name, Service service);\n\n public void reprocessService(Service service);\n\n}", "title": "" }, { "docid": "5ee7e89810ca8bffe200fef9161bf0f0", "score": "0.56058294", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "82cc146505d3e02c3243217c777e896a", "score": "0.5603912", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "7a481bd2ffa3677c8602bfd59fefba17", "score": "0.560363", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "92b778dff36c03f1c70dd23acc72b819", "score": "0.5603265", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.MongoInfra getMongoinfra();", "title": "" }, { "docid": "96289f70a8726b74e844149328e8018a", "score": "0.55996954", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.MongoInfra getMongoinfra();", "title": "" }, { "docid": "697c765759097e376c5dd0e5f32328c8", "score": "0.5596667", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 getConfigMongocfg();", "title": "" }, { "docid": "fbf0b6548ce9ae283fe8c657e10f00c8", "score": "0.55939007", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "72da916c6d9d56e2ecb6660bb631f7e7", "score": "0.55896515", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb50Enterprise.MongosConfigSet5_0_enterprise getConfigMongos();", "title": "" }, { "docid": "702cca8e4bf75cc1f6b6b46ae5b427ee", "score": "0.558766", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "ceab6e574aca4481e72f2e32fbad31fc", "score": "0.55843633", "text": "public java.util.List<yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Service> getServicesList() {\n if (servicesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(services_);\n } else {\n return servicesBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "1a5302d819f34f55e8f68d2d4403710d", "score": "0.55831313", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "86d5aa15f14f4d01e181f76703cf494f", "score": "0.5579021", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "ed5f94568bd5bd2a8d804e5d4ca0d95a", "score": "0.5577328", "text": "boolean hasMongodb40();", "title": "" }, { "docid": "ce2eb2e23421b7fd9fdc0fb74103c4c1", "score": "0.55615807", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "7a289cf844e9167def9f43b080d418af", "score": "0.55583614", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "aedd003ea20610b33f49d01c46b61ff3", "score": "0.5551515", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "73125954bf6853046e75e47e15e0931a", "score": "0.55504054", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "5806590e17c6469b26e7b591ba8014cf", "score": "0.554804", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.MongosOrBuilder getMongosOrBuilder() {\n return getMongos();\n }", "title": "" }, { "docid": "c42dbbd39e7aef0f8cc8410383170258", "score": "0.55452055", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongos getMongos() {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongos.getDefaultInstance() : mongos_;\n }", "title": "" }, { "docid": "0169c77a22663fbbfae4009f2e56d667", "score": "0.55441564", "text": "public java.util.List<? extends yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ServiceOrBuilder> \n getServicesOrBuilderList() {\n if (servicesBuilder_ != null) {\n return servicesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(services_);\n }\n }", "title": "" }, { "docid": "1daa0bbaa476cffb5dcd4b17d0137b8b", "score": "0.55394536", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.MongosOrBuilder getMongosOrBuilder();", "title": "" }, { "docid": "3d8333c6fe736fbaf23d8d7c7211b785", "score": "0.55363274", "text": "public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos getMongos() {\n if (mongosBuilder_ == null) {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos.getDefaultInstance() : mongos_;\n } else {\n return mongosBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "5e6c09e811c88cc427df2d90161fda49", "score": "0.55353916", "text": "@Override\n\tprotected void configureServices() {\n\t}", "title": "" }, { "docid": "184b49108eaa7c7ca0c238451e01b92d", "score": "0.5531064", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.MongosOrBuilder getMongosOrBuilder() {\n return getMongos();\n }", "title": "" }, { "docid": "9d118030495e1fb9e78f88351d429667", "score": "0.5528039", "text": "public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos getMongos() {\n if (mongosBuilder_ == null) {\n return mongos_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos.getDefaultInstance() : mongos_;\n } else {\n return mongosBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "bcefab7cebdc013479599a1e8815b6b9", "score": "0.55207497", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.MongosOrBuilder getMongosOrBuilder() {\n return getMongos();\n }", "title": "" } ]
e414fe177a1ba79279a0981fde4c1146
Interface to extract partition field from split.
[ { "docid": "21e06de7d6c5f25fd3ba6af18450743e", "score": "0.7281291", "text": "@FunctionalInterface\n@Internal\npublic interface PartitionFieldExtractor<T extends FileSourceSplit> extends Serializable {\n\n Object extract(T split, String fieldName, LogicalType fieldType);\n\n static PartitionFieldExtractor<FileSourceSplit> forFileSystem(String defaultPartValue) {\n return (split, fieldName, fieldType) -> {\n LinkedHashMap<String, String> partitionSpec =\n PartitionPathUtils.extractPartitionSpecFromPath(split.path());\n if (!partitionSpec.containsKey(fieldName)) {\n throw new RuntimeException(\n \"Cannot find the partition value from path for partition: \" + fieldName);\n }\n\n String valueStr = partitionSpec.get(fieldName);\n valueStr = valueStr.equals(defaultPartValue) ? null : valueStr;\n return RowPartitionComputer.restorePartValueFromType(valueStr, fieldType);\n };\n }\n}", "title": "" } ]
[ { "docid": "295cefb7056120a64aefdf7a7bd381bd", "score": "0.6508827", "text": "public int getPartition(InternalElement element);", "title": "" }, { "docid": "e2a440e4b6748a6c298dfa8321e356b8", "score": "0.6313091", "text": "public ShardedDataCollection<T> partition(Splitter<T> splitter);", "title": "" }, { "docid": "2cc39cfd62d197439683ecf679d11ab8", "score": "0.62993014", "text": "public abstract Partition partition();", "title": "" }, { "docid": "e6c25a2ebbb621aaebc78b2c1b1bc1ac", "score": "0.6274795", "text": "Builder partition(String partition);", "title": "" }, { "docid": "33b263eb16d8c781037037db9b455335", "score": "0.6262734", "text": "public PartitionClause getPartition()\r\n {\r\n return myPartition;\r\n }", "title": "" }, { "docid": "e1c501e9bd72c3d85c7f7d3e9f433877", "score": "0.6164797", "text": "long getPartition();", "title": "" }, { "docid": "e971c4bcb027c63ff0c9a29177e26cdb", "score": "0.6131165", "text": "public String getDomainPartition();", "title": "" }, { "docid": "9b4a0d3bcdc5c9518b263d7c01d71e78", "score": "0.6088715", "text": "org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto getPartition();", "title": "" }, { "docid": "2963ad97bc9a269133e1a430a989f79a", "score": "0.5958947", "text": "public int[] getPartition() {\r\n\t\treturn partition;\r\n\t}", "title": "" }, { "docid": "725a9b6266f4c4608a1b196a018aec4b", "score": "0.5873674", "text": "java.lang.String getPartitionType();", "title": "" }, { "docid": "fb64d9cca9f6c6b40c380d4d2b72050c", "score": "0.5777436", "text": "org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProtoOrBuilder getPartitionOrBuilder();", "title": "" }, { "docid": "b74372eaec11cf6c8be07ed171dc6a46", "score": "0.57315034", "text": "ucar.nc2.grib.collection.GribCollectionProto.PartitionVariable getPartVariable(int index);", "title": "" }, { "docid": "105b288ae12f704e527583f62b5b7deb", "score": "0.56584066", "text": "String getPartitionId() {\n return partitionId;\n }", "title": "" }, { "docid": "377119e663e609b2c192892d92ca35df", "score": "0.5611486", "text": "@Override\r\n\tpublic int getPartition(Text arg0, flowBean arg1, int arg2) {\n\t\tString month=arg0.toString().substring(5, 7);\r\n\t\tInteger num= map.get(month);\r\n\t\tif(num==null) {\r\n\t\t\treturn 12;\r\n\t\t}\r\n\t\treturn num;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "8c9d1f2bcd9570b8f44eb12f392d64cc", "score": "0.5606477", "text": "@Override\n public IndexPartitions getPartition(String type) {\n return this.indexPartitions.computeIfAbsent(type,\n t -> this.rawSchema.getPartition(t));\n }", "title": "" }, { "docid": "542b044a0aa97880eaec8d981b1e37ab", "score": "0.5597163", "text": "public int partition(Split split, int[] leftIndex, int[] rightIndex) {\n Feature feat = split._feature;\n int leftCnt = feat.partition(_index, _nRows, split, null, leftIndex, rightIndex);\n return leftCnt;\n// gleftCnt = feat->partition(_gindex, _gnrows, split);\n }", "title": "" }, { "docid": "e7003f2328d5246728622fdf5b57bc62", "score": "0.55625165", "text": "public org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProtoOrBuilder getPartitionOrBuilder() {\n return partition_;\n }", "title": "" }, { "docid": "f89c794cc336d916ebf2c5c6406a36ef", "score": "0.5498736", "text": "public org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProtoOrBuilder getPartitionOrBuilder() {\n if (partitionBuilder_ != null) {\n return partitionBuilder_.getMessageOrBuilder();\n } else {\n return partition_;\n }\n }", "title": "" }, { "docid": "e6fe17fba3b85be531a61ad5705b57f9", "score": "0.5486898", "text": "public interface Partitionable {\n\n /**\n * Returns the key of the current object that indicates in which part of the\n * partition the object belongs.\n *\n * The result of this method:\n * - may be null\n * - must provide meaningful and consistent equals() and hashCode() implementations\n * - must stay constant regarding the relation defined by equals() throughout\n * the whole lifetime of this object\n *\n * - needs not to stay constant regarding the object identity relation\n * defined by the == operator\n * - should probably never be an array (they miss a meaningful equals() implementation),\n * use an list instead\n *\n * There is no restriction on the number of different (regarding equals())\n * keys the objects of one class may have: It is legal for all objects to\n * have the same key as well as for all objects to have different keys.\n * In the former case this method might always return null.\n * In the latter case this method might for example return the current object\n * or the value of {@link Object#hashCode()} for the object (which may be\n * obtained by {@link System#identityHashCode(Object)} even if a superclass\n * overwrites hashCode()).\n *\n * @return a key indicating the part of the partition this object belongs to\n */\n @Nullable\n Object getPartitionKey();\n\n}", "title": "" }, { "docid": "29ac1e9a169358637c5e2eabe463b7b9", "score": "0.54794014", "text": "public org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto getPartition() {\n if (partitionBuilder_ == null) {\n return partition_;\n } else {\n return partitionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "7722de0891c098d174bc902381ba7d19", "score": "0.5478391", "text": "public String partitionKey() {\n return this.partitionKey;\n }", "title": "" }, { "docid": "fdc429b5a091831c55312ff2e88651a5", "score": "0.5477177", "text": "@Override\r\n\tpublic int getPartition(Text key, FlowObject value, int numPartitions) {\n\t\r\n\t\tString substring = key.toString().substring(0, 3);\r\n\t\tInteger integer = codeMap.get(substring);\r\n\t\treturn integer==null?5:integer;\r\n\t}", "title": "" }, { "docid": "fdf8ad6a3ea57927644cb89d7ccbd478", "score": "0.5466094", "text": "private com.google.protobuf.SingleFieldBuilder<\n org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto, org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder, org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProtoOrBuilder> \n getPartitionFieldBuilder() {\n if (partitionBuilder_ == null) {\n partitionBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto, org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto.Builder, org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProtoOrBuilder>(\n partition_,\n getParentForChildren(),\n isClean());\n partition_ = null;\n }\n return partitionBuilder_;\n }", "title": "" }, { "docid": "17c210579c928f8d347bd5775be8ad02", "score": "0.5465709", "text": "public org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto getPartition() {\n return partition_;\n }", "title": "" }, { "docid": "f4bb77021b600eb3f0b6291f65718e18", "score": "0.54623455", "text": "PartitionAttributes getPartitionAttributes();", "title": "" }, { "docid": "454cab89d033e577396dfb4ff15156d7", "score": "0.54488623", "text": "com.google.type.Date getPartitionDate();", "title": "" }, { "docid": "3765155bbdbb33de85d1ee8fc5f89d81", "score": "0.5418362", "text": "public java.lang.String getPartitionNumber() {\r\n return partitionNumber;\r\n }", "title": "" }, { "docid": "b053d2cd8e1a4b1981ca8c98b9f82c70", "score": "0.5358173", "text": "public String getPart()\n {\n return this.part;\n }", "title": "" }, { "docid": "b053d2cd8e1a4b1981ca8c98b9f82c70", "score": "0.5358173", "text": "public String getPart()\n {\n return this.part;\n }", "title": "" }, { "docid": "0157f1fc5708b3217ef47637c1760f16", "score": "0.5341532", "text": "ucar.nc2.grib.collection.GribCollectionProto.Partition getPartitions(int index);", "title": "" }, { "docid": "d5d03ab88d5440fde2bec70a1ebda720", "score": "0.5319253", "text": "@Test\r\n public void testPartition() {\r\n System.out.println(\"partition\");\r\n ListNode head = ListNode.DeSerialize(\"1->4->3->2->5->2->null\");\r\n int x = 3;\r\n PartitionList instance = new PartitionList();\r\n ListNode expResult = null;\r\n ListNode result = instance.partition(head, x);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "d2aa1abf09ae1c437a27ef8684553a05", "score": "0.53180456", "text": "public Builder setPartition(PartitionClause partition)\r\n {\r\n myPartition = partition;\r\n return this;\r\n }", "title": "" }, { "docid": "78db902a3da23e5e643865b4b439ed0f", "score": "0.530993", "text": "@Override\n\tpublic int getPartition(Customer cust, Customer arg1, int numPart) {\n\t\treturn cust.getCustId().hashCode() % numPart;\n\n\t}", "title": "" }, { "docid": "e4d88a1cba3baf75985ca173b458d2d2", "score": "0.5306095", "text": "private Map<String, String> getPartitionSpec(Hive db, ASTNode node, TableName tableName) throws SemanticException {\n if (node.getChildCount() == 1) {\n return null;\n }\n\n // if ast has two children the 2nd child could be partition spec or columnName\n // if the ast has 3 children, the second *has to* be partition spec\n if (node.getChildCount() > 2 && (((ASTNode) node.getChild(1)).getType() != HiveParser.TOK_PARTSPEC)) {\n throw new SemanticException(((ASTNode) node.getChild(1)).getType() + \" is not a partition specification\");\n }\n\n if (((ASTNode) node.getChild(1)).getType() == HiveParser.TOK_PARTSPEC) {\n ASTNode partNode = (ASTNode) node.getChild(1);\n\n Table tab = null;\n try {\n tab = db.getTable(tableName.getNotEmptyDbTable());\n } catch (InvalidTableException e) {\n throw new SemanticException(ErrorMsg.INVALID_TABLE.getMsg(tableName.getNotEmptyDbTable()), e);\n } catch (HiveException e) {\n throw new SemanticException(e.getMessage(), e);\n }\n\n Map<String, String> partitionSpec = null;\n try {\n partitionSpec = getValidatedPartSpec(tab, partNode, db.getConf(), false);\n } catch (SemanticException e) {\n // get exception in resolving partition it could be DESCRIBE table key\n // return null, continue processing for DESCRIBE table key\n return null;\n }\n\n if (partitionSpec != null) {\n Partition part = null;\n try {\n part = db.getPartition(tab, partitionSpec, false);\n } catch (HiveException e) {\n // if get exception in finding partition it could be DESCRIBE table key\n // return null, continue processing for DESCRIBE table key\n return null;\n }\n\n if (part == null) {\n throw new SemanticException(ErrorMsg.INVALID_PARTITION.getMsg(partitionSpec.toString()));\n }\n\n return partitionSpec;\n }\n }\n\n return null;\n }", "title": "" }, { "docid": "ec19fff8a4413030020e3bcdea069a36", "score": "0.52994806", "text": "String getPart(String partName);", "title": "" }, { "docid": "c62247cddca24e6ee960645a8a9c7aa9", "score": "0.5287352", "text": "public void setPartition( int partNum )\n\t{\n\t \tmyPartNum = partNum;\n\t}", "title": "" }, { "docid": "1043b9a53719087078623aac5422b6da", "score": "0.5255501", "text": "@Override\n int getPartitionId(I vertexId);", "title": "" }, { "docid": "f5c9f77232de890fea60994ec71e718a", "score": "0.52515835", "text": "long getPartitionDate();", "title": "" }, { "docid": "702a512ae9490b26fae277deb68af4eb", "score": "0.5238987", "text": "public List<String> partitionIds() {\n return this.partitionIds;\n }", "title": "" }, { "docid": "1bc5a726dd4ff4f7b7bf64f3038169e6", "score": "0.5230181", "text": "@Override\n\tpublic int getPartition(Text arg0, LongWritable arg1, int arg2) {\n\t\t\n\t\tString s = arg0.toString();\n\t\tchar c = s.charAt(0);\n\t\t\n\t\tif(c>='A' && c<='M')\n\t\t\treturn 1;\n\t\telse\n\t\t return 0;\n\t}", "title": "" }, { "docid": "3d760851a400e8dc5784103ef7606619", "score": "0.5225787", "text": "public String getField(String[] split, String fieldName){\n\t\tif (mapHeader.get(fieldName) == -1 || mapHeader.get(fieldName) >= split.length) \n\t\t\treturn Integer.toString(Constants.UNKNOWN);\n\t\tif (split[mapHeader.get(fieldName)].equals(\"\") || split[mapHeader.get(fieldName)].equals(\" \")) \n\t\t\treturn Integer.toString(Constants.UNKNOWN);\n\t\t\n\t\treturn split[mapHeader.get(fieldName)];\n\t}", "title": "" }, { "docid": "44b9d154eaac819018b5818335502498", "score": "0.5224223", "text": "public interface Partitioner<T> {\n\n /**\n * Partition\n * @param value The data.\n * @param bucket The maximum number of partitions.\n * @return The partition number to which data will be sent. (Zero-based)\n */\n int partition(T value, int bucket);\n}", "title": "" }, { "docid": "5c151fcb3ce35a882c52cb6d7fd42bb5", "score": "0.52148324", "text": "@Override\n\tpublic boolean partition(String data) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "de6716382ca683110607e698ba13978e", "score": "0.5206295", "text": "public static FinishedSnapshotSplitInfo getSnapshotSplitInfo(\n MySqlSnapshotSplit split, SourceRecord highWatermark) {\n Struct value = (Struct) highWatermark.value();\n String splitId = value.getString(SPLIT_ID_KEY);\n return new FinishedSnapshotSplitInfo(\n split.getTableId(),\n splitId,\n split.getSplitStart(),\n split.getSplitEnd(),\n getBinlogPosition(highWatermark.sourceOffset()));\n }", "title": "" }, { "docid": "f39df4b05d97dfed25aed005f3903cfd", "score": "0.5197154", "text": "com.google.type.DateOrBuilder getPartitionDateOrBuilder();", "title": "" }, { "docid": "2f60a8bdff37a81b829fffd0896c5040", "score": "0.51853323", "text": "@Override\r\n\tpublic List<Details> findAllSplit(String column, String keyWord,\r\n\t\t\tInteger currentPage, Integer lineSize) throws Exception {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "77a0ffe474ed9117779c603b286a1444", "score": "0.5182776", "text": "@Test\r\n public void testSplit() {\r\n System.out.println(\"split\");\r\n String key = \"\";\r\n char dlm = ' ';\r\n GetVisitor instance = null;\r\n String[] expResult = null;\r\n //String[] result = document.split(key, dlm);\r\n //assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n //fail(\"The test case is a prototype.\");\r\n }", "title": "" }, { "docid": "0ffd0e2baa42d6ff6009e25576e9b128", "score": "0.51811737", "text": "@Override\n public int getPartition(TextPair key, Text value,\n int numPartitions) {\n return toUnsigned(key.getFirst().toString().hashCode())%numPartitions;\n }", "title": "" }, { "docid": "116af47aff7ab224ded17e4f518df95b", "score": "0.5177154", "text": "public interface KafkaPartitionerservice {\r\n public int partition(Object key, int numPartitions);\r\n}", "title": "" }, { "docid": "1546392bc004b188333e25890ac40f47", "score": "0.5176394", "text": "abstract Node split();", "title": "" }, { "docid": "77d4334bf5fd494d72f3b1cd316d51ae", "score": "0.5157516", "text": "public Field divide(Field field);", "title": "" }, { "docid": "957a918cfcd9b0f1f6fbc0ae911d0d70", "score": "0.51353884", "text": "public long getPartitionDate() {\n return partitionDate_;\n }", "title": "" }, { "docid": "8319f587594c9a6a7bb629e671e7a2ef", "score": "0.512285", "text": "public final partitionby_return partitionby() throws RecognitionException {\n partitionby_return retval = new partitionby_return();\n retval.start = input.LT(1);\n\n Object root_0 = null;\n\n Token PARTITION84=null;\n Token BY85=null;\n Token COMMA87=null;\n columnReference_return columnReference86 = null;\n\n columnReference_return columnReference88 = null;\n\n\n Object PARTITION84_tree=null;\n Object BY85_tree=null;\n Object COMMA87_tree=null;\n RewriteRuleTokenStream stream_BY=new RewriteRuleTokenStream(adaptor,\"token BY\");\n RewriteRuleTokenStream stream_COMMA=new RewriteRuleTokenStream(adaptor,\"token COMMA\");\n RewriteRuleTokenStream stream_PARTITION=new RewriteRuleTokenStream(adaptor,\"token PARTITION\");\n RewriteRuleSubtreeStream stream_columnReference=new RewriteRuleSubtreeStream(adaptor,\"rule columnReference\");\n try {\n // Windowing2.g:215:13: ( PARTITION BY columnReference ( ( COMMA columnReference )=> COMMA columnReference )* -> ^( PARTITION ( columnReference )+ ) )\n // Windowing2.g:216:2: PARTITION BY columnReference ( ( COMMA columnReference )=> COMMA columnReference )*\n {\n PARTITION84=(Token)input.LT(1);\n match(input,PARTITION,FOLLOW_PARTITION_in_partitionby1315); if (failed) return retval;\n if ( backtracking==0 ) stream_PARTITION.add(PARTITION84);\n\n BY85=(Token)input.LT(1);\n match(input,BY,FOLLOW_BY_in_partitionby1317); if (failed) return retval;\n if ( backtracking==0 ) stream_BY.add(BY85);\n\n pushFollow(FOLLOW_columnReference_in_partitionby1319);\n columnReference86=columnReference();\n _fsp--;\n if (failed) return retval;\n if ( backtracking==0 ) stream_columnReference.add(columnReference86.getTree());\n // Windowing2.g:216:31: ( ( COMMA columnReference )=> COMMA columnReference )*\n loop38:\n do {\n int alt38=2;\n int LA38_0 = input.LA(1);\n\n if ( (LA38_0==COMMA) ) {\n int LA38_7 = input.LA(2);\n\n if ( (LA38_7==Identifier) ) {\n int LA38_12 = input.LA(3);\n\n if ( (synpred2()) ) {\n alt38=1;\n }\n\n\n }\n\n\n }\n\n\n switch (alt38) {\n \tcase 1 :\n \t // Windowing2.g:216:32: ( COMMA columnReference )=> COMMA columnReference\n \t {\n \t COMMA87=(Token)input.LT(1);\n \t match(input,COMMA,FOLLOW_COMMA_in_partitionby1329); if (failed) return retval;\n \t if ( backtracking==0 ) stream_COMMA.add(COMMA87);\n\n \t pushFollow(FOLLOW_columnReference_in_partitionby1331);\n \t columnReference88=columnReference();\n \t _fsp--;\n \t if (failed) return retval;\n \t if ( backtracking==0 ) stream_columnReference.add(columnReference88.getTree());\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop38;\n }\n } while (true);\n\n\n // AST REWRITE\n // elements: columnReference, PARTITION\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: \n if ( backtracking==0 ) {\n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"token retval\",retval!=null?retval.tree:null);\n\n root_0 = (Object)adaptor.nil();\n // 216:82: -> ^( PARTITION ( columnReference )+ )\n {\n // Windowing2.g:216:85: ^( PARTITION ( columnReference )+ )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot(stream_PARTITION.next(), root_1);\n\n if ( !(stream_columnReference.hasNext()) ) {\n throw new RewriteEarlyExitException();\n }\n while ( stream_columnReference.hasNext() ) {\n adaptor.addChild(root_1, stream_columnReference.next());\n\n }\n stream_columnReference.reset();\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n }\n\n }\n\n retval.stop = input.LT(-1);\n\n if ( backtracking==0 ) {\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n }\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n }\n return retval;\n }", "title": "" }, { "docid": "2cb8f6ca7af1aa949260ef7ac61ce998", "score": "0.51183957", "text": "@Override\npublic int getPartition(CompositeKeyWritable key, Text value,\n\t\tint numPartitions) {\n\n\treturn ((key.getStationId().hashCode() & Integer.MAX_VALUE) % numPartitions);\n}", "title": "" }, { "docid": "23c88a7a652e99af831c10bf1257d51c", "score": "0.51098865", "text": "public long getPartitionDate() {\n return partitionDate_;\n }", "title": "" }, { "docid": "8654736a85458abbebd7b4ef52d0d074", "score": "0.5108354", "text": "interface PartitionObserver {\n /**\n * @return map of partitions to the keys belonging to that partition\n */\n ConcurrentMap<Integer, Set<IntegerKey>> getPartitionMap();\n\n /**\n * @return Map of partitions that are in the process of loading and the current keys that belong to that partition.\n * Currently it seems that an EntryProcessor is not guaranteed to have a \"stable\" view of a partition and\n * can see entries as they are being loaded into the partition, so we must batch these events up in the map\n * and update the {@link #getPartitionMap() partition map} atomically once the partition has been fully loaded.\n */\n ConcurrentMap<Integer, Set<IntegerKey>> getLoadingMap();\n\n /**\n * Ensure that the {@link #getPartitionMap() partition map} has a set of keys associated with the given\n * partition, creating one if it doesn't already exist.\n * @param part the partition\n * @return the set for the given partition\n */\n Set<IntegerKey> ensureKeySet(int part);\n\n /**\n * @return listener wrapper that brings a delegate listener up to date with the latest events\n */\n IgniteLocalSyncListener getIgniteLocalSyncListener();\n }", "title": "" }, { "docid": "5415a2168366a3e9c88f26e0ad975ba5", "score": "0.50902265", "text": "public String partitionKey() {\n return partitionKey;\n }", "title": "" }, { "docid": "cbc8bed7ff0ab33322606b34c12a9cd9", "score": "0.50782204", "text": "java.util.List<ucar.nc2.grib.collection.GribCollectionProto.PartitionVariable> \n getPartVariableList();", "title": "" }, { "docid": "baf01d04da8c98155a086b6c0e1aa2e0", "score": "0.5060951", "text": "public void setPart(String part)\n {\n this.part = part;\n }", "title": "" }, { "docid": "8d670c0721be102bac79adae4c821757", "score": "0.5054159", "text": "public interface PartitionLocator<K, V> {\n PartitionProxy<K, V> getPartition(K key);\n}", "title": "" }, { "docid": "b8c73036a993fcc48e2cc136e59f1ebe", "score": "0.5048016", "text": "@Override\n public int getPartition(Text unigram, Text value, int numReduceTasks) {\n String docID = value.toString().split(\"\\t\")[0];\n return Math.abs(docID.hashCode() & Integer.MAX_VALUE) % numReduceTasks;\n }", "title": "" }, { "docid": "59d77b8ea86e3c78f9b91dbf43c0346f", "score": "0.5046636", "text": "public <U extends java.lang.Object> org.apache.spark.rdd.RDD<U> mapPartitionsWithInputSplit (scala.Function2<org.apache.hadoop.mapred.InputSplit, scala.collection.Iterator<scala.Tuple2<K, V>>, scala.collection.Iterator<U>> f, boolean preservesPartitioning, scala.reflect.ClassTag<U> evidence$1) { throw new RuntimeException(); }", "title": "" }, { "docid": "43d9223c4116c29bc4ee0ae220aaabb5", "score": "0.5018516", "text": "public interface Partition extends org.omg.uml.foundation.core.ModelElement {\n /**\n * Returns the value of reference contents.\n * @return Value of reference contents.\n */\n public java.util.Collection getContents();\n /**\n * Returns the value of reference activityGraph.\n * @return Value of reference activityGraph.\n */\n public org.omg.uml.behavioralelements.activitygraphs.ActivityGraph getActivityGraph();\n /**\n * Sets the value of reference activityGraph. See {@link #getActivityGraph} \n * for description on the reference.\n * @param newValue New value to be set.\n */\n public void setActivityGraph(org.omg.uml.behavioralelements.activitygraphs.ActivityGraph newValue);\n}", "title": "" }, { "docid": "1699c371ea697fc415df1803d37bdd56", "score": "0.50170964", "text": "public HadoopMapPartitionsWithSplitRDD (org.apache.spark.rdd.RDD<T> prev, scala.Function2<org.apache.hadoop.mapred.InputSplit, scala.collection.Iterator<T>, scala.collection.Iterator<U>> f, boolean preservesPartitioning, scala.reflect.ClassTag<U> evidence$2, scala.reflect.ClassTag<T> evidence$3) { throw new RuntimeException(); }", "title": "" }, { "docid": "23ec019ebf7ab2baa80823a27d3019ec", "score": "0.4995768", "text": "java.util.List<ucar.nc2.grib.collection.GribCollectionProto.Partition> \n getPartitionsList();", "title": "" }, { "docid": "326ce1639ff8121ef51f7a4a5a2d250b", "score": "0.4995758", "text": "public static Object[] getSplitKey(\n RowType splitBoundaryType, SourceRecord dataRecord, SchemaNameAdjuster nameAdjuster) {\n String splitFieldName = nameAdjuster.adjust(splitBoundaryType.getFieldNames().get(0));\n Struct key = (Struct) dataRecord.key();\n return new Object[]{key.get(splitFieldName)};\n }", "title": "" }, { "docid": "5b73576ad264380424e890555d78e24a", "score": "0.49898544", "text": "public void setPart(String part) {\n\t\tthis.part = part;\n\t}", "title": "" }, { "docid": "8f186ebfd7695bfbfacb02bb5b088887", "score": "0.49712017", "text": "public interface IPartitioner<K> {\n\n\t/**\n\t * Uses the key to calculate a broker id for routing the data to the appropriate broker.\n\t * \n\t * @param key partition key\n\t * @param numBrokers number of brokers\n\t * @return broker id\n\t */\n\tint partition(K key, int numBrokers);\n\t\n}", "title": "" }, { "docid": "df7cd9e098fba49f440f76dbf3a97f23", "score": "0.4965797", "text": "@Override\n\tpublic int getPartition(Text key, IntWritable value, int numOfPartitions) {\n\t\tif (startsWithVowel(key)) {\n\t\t\treturn numOfPartitions % 2;\n\t\t}\n\t\treturn numOfPartitions % 2 + 1;\n\n\t}", "title": "" }, { "docid": "c1441269ec7c020f3106c83665009de9", "score": "0.49654195", "text": "int getPartno();", "title": "" }, { "docid": "eb1bee9ebb31c6f8e35a151d033c37b3", "score": "0.4963065", "text": "private Optional<Object> getWriterPartitionColumnValue(GenericRecord record) {\n return AvroUtils.getFieldValue(record, PARTITION_COLUMN);\n }", "title": "" }, { "docid": "9a65e71a57ebcde83f0cc05cadef6796", "score": "0.4948726", "text": "java.util.List<? extends ucar.nc2.grib.collection.GribCollectionProto.PartitionVariableOrBuilder> \n getPartVariableOrBuilderList();", "title": "" }, { "docid": "bf5af7cb6834789d7d671d61ac39fa22", "score": "0.49370784", "text": "long getsplitvalue() {\n \treturn splitvalue;\n }", "title": "" }, { "docid": "b7a64fcc6e3d415d35b6f73aeb176fb0", "score": "0.49352255", "text": "String[] getParts();", "title": "" }, { "docid": "b736e1ae8889ad3304f118d2d15546de", "score": "0.49285764", "text": "@Override\n public long extract(ConsumerRecord<Object, Object> record, long partitionTime) {\n\n Visit visit = (Visit) record.value();\n// System.out.println(\"extracting: \" + value);\n// logger.info(\"extracting: \" + value);\n\n return visit.getTs() * 1000;\n }", "title": "" }, { "docid": "6b33819227b38c79126b97fdde87b31b", "score": "0.49169186", "text": "@Override\n public PartitionSchema loadPartitionSchema( ObjectId id_partition_schema, String versionLabel )\n throws KettleException {\n return null;\n }", "title": "" }, { "docid": "50494b81ce72c85b125e55ecc791a969", "score": "0.4902409", "text": "public int getPartition(Text key, IntWritable value, int numPartitions) {\n\n\t\t\tString myKey = key.toString().toLowerCase();\n\n\t\t\t// These conditions will run when startsWith() method will return true....\n\t\t\tif (myKey.startsWith(\"a\") ) { // This is the partition of strings\n\t\t\t\treturn 0; // strings which starts with \"a\" will go to reducer 0\n\t\t\t}\n\t\t\telse if (myKey.startsWith(\"n\")) {\n\t\t\t\treturn 1; // strings which start with \"n\" will go to reducer 1\n\t\t\t}\n\t\t\telse if (myKey.startsWith(\"k\")) {\n\t\t\t\t// there is no name in \"student_names.txt\" file hence part-r-00002 \n\t\t\t\t // will be empty.\n\t\t\t\treturn 2;\n\t\t\t}\t\t\n\t\t\telse if (myKey.startsWith(\"p\")) {\n\t\t\t\treturn 3;\n\t\t\t}\t\n\t\t\telse if (myKey.startsWith(\"l\")) {\n\t\t\t\treturn 4;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn 5;\n\t\t\t\t\n\t\t\t\t// we can make a little fool of framework by returning more number \n\t\t\t\t // of times than number of reducers but ultimately keeping the\n\t\t\t\t // things in between.\n\t\t\t\t\n\t\t\t// for example if we have defined 4 reducers in driver class but here in\n\t\t\t // partitioner class we can return more than 4 times but in that we can \n\t\t\t // repeat return many times but keeping last return as \"return 3\".\t\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "9d7451cb546457d915e65bc825003a30", "score": "0.48925853", "text": "@Override\n\t\tpublic int getPartition(IntPair key, NullWritable value,\n\t\t\t\tint numPartitions) {\n\t\t\treturn Math.abs(key.getFirst().get()*127)%numPartitions;\n\t\t}", "title": "" }, { "docid": "c0314a4e454e1a522ce2c25e35380134", "score": "0.48800611", "text": "ucar.nc2.grib.collection.GribCollectionProto.PartitionVariableOrBuilder getPartVariableOrBuilder(\n int index);", "title": "" }, { "docid": "5c59544b1c183edcde06959ae0eac1e3", "score": "0.4874105", "text": "@Override\n public ObjectId getPartitionSchemaID( String name ) throws KettleException {\n return null;\n }", "title": "" }, { "docid": "54935addbcbfaacbe9f627604315cd7b", "score": "0.48616865", "text": "java.util.List<? extends ucar.nc2.grib.collection.GribCollectionProto.PartitionOrBuilder> \n getPartitionsOrBuilderList();", "title": "" }, { "docid": "b7131f6e2911c433386ed8b38c2294aa", "score": "0.48523423", "text": "@Override\n public InternalPartition[] getPartitions() {\n InternalPartition[] result = new InternalPartition[partitions.length];\n System.arraycopy(partitions, 0, result, 0, partitions.length);\n return result;\n }", "title": "" }, { "docid": "293b133a86dcd1ac9f3591627634d3c8", "score": "0.48431098", "text": "public String getIntroPartitionTitle();", "title": "" }, { "docid": "bce821318a92166d33b0020f3f4f0b83", "score": "0.48409966", "text": "boolean getIsPartitionOfPartitions();", "title": "" }, { "docid": "c020a52c5c50a9c67955556f894c1af7", "score": "0.48383564", "text": "public String getName()\n {\n return this.partName;\n }", "title": "" }, { "docid": "cab1ca5e53d4ea5a0da2c531d8097129", "score": "0.48378074", "text": "Map<String, Long> getRepartitionTypeStructure();", "title": "" }, { "docid": "e3efd4b2049a8a3675f3ef032973755c", "score": "0.483167", "text": "String getFieldSeparator ();", "title": "" }, { "docid": "426c65e984d03a2f36ba1cb9eb74f5ed", "score": "0.48154184", "text": "public long getSplitSize()\n {\n return splitSize;\n }", "title": "" }, { "docid": "385df205bd23719e7a4556ee42d7f7aa", "score": "0.48145658", "text": "public boolean getIsPartitionOfPartitions() {\n return isPartitionOfPartitions_;\n }", "title": "" }, { "docid": "5acce41fb37fab07090178eca9d9361d", "score": "0.48068786", "text": "public alluxio.grpc.table.PartitionOrBuilder getPartitionsOrBuilder(\n int index) {\n return partitions_.get(index);\n }", "title": "" }, { "docid": "ff34a2e50b0de4a0a43dacd5ad7fee31", "score": "0.48005143", "text": "private String readPartFromLine(String line, FILE_PART typ) {\n\ttry {\n if ((this.isValid(line)) && (line.contains(PART_SEPARATOR)) && (typ != null)) {\n String[] parts = line.trim().split(PART_SEPARATOR);\n switch (typ) {\n case YPOS:\n return parts[0].trim();\n case XPOS:\n return parts[1].trim();\n case TYPE:\n return parts[2].trim();\n case NEXTY:\n return parts[3].trim();\n case NEXTX:\n return parts[4].trim();\n case COLOR:\n return parts[5].trim();\n\t\t case ALTERNATIVE_Y:\n return parts[6].trim();\n default:\n Logger.write(\"MapLoader::readPartFromLine unknown type!\");\n return null;\n }\n } else {\n // There is no part-separator in the line or the line is invalid\n Logger.write(\"MapLoader::readPartFromLine was trying to proccess with an invalid line!\");\n return null;\n }\n } catch (ArrayIndexOutOfBoundsException e) {\n Logger.write(String.format(\"MapLoader::readPartFromLine Nullpointer exception in line \\\"%s\\\": %s\", line, e.getMessage()));\n return null;\n }\n }", "title": "" }, { "docid": "f7e84dc5866d86190facf794ec72bcfa", "score": "0.4798817", "text": "public boolean getIsPartitionOfPartitions() {\n return isPartitionOfPartitions_;\n }", "title": "" }, { "docid": "9679bfff9c039ffd382fdac475e1a322", "score": "0.47986785", "text": "public Builder setPartition(org.apache.tajo.catalog.proto.CatalogProtos.PartitionMethodProto value) {\n if (partitionBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n partition_ = value;\n onChanged();\n } else {\n partitionBuilder_.setMessage(value);\n }\n bitField0_ |= 0x00000020;\n return this;\n }", "title": "" }, { "docid": "f264e4a67cfbd03d3edf919d1d29e8dd", "score": "0.4790698", "text": "public abstract List<int[]> partitionColumns(List<Integer> groupCols,\n\t\tHashMap<Integer, GroupableColInfo> groupColsInfo);", "title": "" }, { "docid": "0955f6ded26f03408e505bd9347608d6", "score": "0.47864446", "text": "public int getPartno() {\n return partno_;\n }", "title": "" }, { "docid": "2bec76d5b7c48414f25fb4cff9981153", "score": "0.4786443", "text": "private Node split (K key, V ref, Node n)\n {\n out.println (\"split not implemented yet\");\n\n // T O B E I M P L E M E N T E D\n\n return null;\n }", "title": "" }, { "docid": "cf05f9e80fad924709acb48343bc5b30", "score": "0.4782041", "text": "@Override\n public ObjectId[] getPartitionSchemaIDs( boolean includeDeleted ) throws KettleException {\n return null;\n }", "title": "" }, { "docid": "0c8c210ccc1af4830569ccc0216c4fdb", "score": "0.47807577", "text": "public ucar.nc2.grib.collection.GribCollectionProto.PartitionVariable getPartVariable(int index) {\n return partVariable_.get(index);\n }", "title": "" }, { "docid": "aa5069bd0f43d7895bcbbeded005c33f", "score": "0.4770948", "text": "@Deprecated // @deprecated in favour of {@link HCatTable.#getPartCols()}. To be removed in Hive 0.16.\n public List<HCatFieldSchema> getPartitionCols() {\n return this.hcatTable.getPartCols();\n }", "title": "" }, { "docid": "7ea88b6810d5137ce4fc8560922d2c08", "score": "0.47584492", "text": "int getCurrentObjectPartition() { return getObjectPartitionStart(currentSegment); }", "title": "" } ]
0dba1530e5589f0b46376a94ddc89f26
If you want the chart to be 3D, set to true.
[ { "docid": "1e799c4ef271880c0d1f9ba3d3bf0d1d", "score": "0.55629945", "text": "public final void setThreeD(final boolean threeD) {\n this.threeD = threeD;\n }", "title": "" } ]
[ { "docid": "e30c55371bf5069dbeb60d066a8b2c72", "score": "0.68783826", "text": "public boolean isIs3d () {\n\t\treturn is3d;\n\t}", "title": "" }, { "docid": "8c9d9e9966c78d22c96a57e3cb26abad", "score": "0.68236256", "text": "public XSSFView3D(XSSFChart chart) {\r\n\t\tCTChart ctChart = chart.getCTChart();\r\n\t\tthis.view3d = (ctChart.isSetView3D()) ?\r\n\t\t\tctChart.getView3D() :\r\n\t\t\tctChart.addNewView3D();\r\n\t}", "title": "" }, { "docid": "752905726c58fdd921eac8667af4ba01", "score": "0.6740567", "text": "boolean isShape3D() {\n return false;\n }", "title": "" }, { "docid": "f2a1c5a57cac35fcb3c96ac539612d94", "score": "0.65578616", "text": "public void setView3D(boolean b) {\n view3D = b;\n }", "title": "" }, { "docid": "910b50486552d1c0b2b6ff5f6d22de8e", "score": "0.6536772", "text": "public ListPlot3D() {\n }", "title": "" }, { "docid": "2b6df22b687b6ad3ed5c05974f669f3b", "score": "0.6495379", "text": "public void setIs3d (boolean is3d) {\n\t\tthis.is3d = is3d;\n\t}", "title": "" }, { "docid": "45a07aeab07789b7f395388f8309ce74", "score": "0.6355553", "text": "private static JFreeChart createChart(PieDataset dataset){\n\t\t//Create the 3D Pie Chart\n\t\tJFreeChart chart = ChartFactory.createPieChart3D( \n\t\t\t\t\"Normal vs Anomalies\",\t//Chart Title \n\t\t\t\tdataset, \t\t\t\t//Data \n\t\t\t\ttrue, \t\t\t\t//Include legend \n\t\t\t\ttrue, \t\t\t\t\t//Include tooltips\n\t\t\t\tfalse);\t\t\t\t\t//Exclude URLs.\n\t\treturn chart; //Return the chart\n\t}", "title": "" }, { "docid": "4734a2d514cd635d93c7527982701bf4", "score": "0.6260118", "text": "public final boolean isThreeD() {\n return threeD;\n }", "title": "" }, { "docid": "6135efaac6b573823385a10b43ae18b5", "score": "0.6173673", "text": "public PCAContent3D()\n {\n try\n {\n Thread.setDefaultUncaughtExceptionHandler(new CustomExceptionHandler());\n setLayout(new BorderLayout());\n GraphicsConfiguration config = getPreferredConfig(GeawConfigObject.getGuiWindow().getLocation());\n this.onScreenCanvas = new Canvas3D(config);\n this.universe = new SimpleUniverse(onScreenCanvas);\n universe.getViewingPlatform().setNominalViewingTransform();\n\n offScreenCanvas = new Canvas3D(config, true);\n Screen3D sOn = onScreenCanvas.getScreen3D();\n Screen3D sOff = offScreenCanvas.getScreen3D();\n sOff.setSize(sOn.getSize());\n sOff.setPhysicalScreenWidth(sOn.getPhysicalScreenWidth());\n sOff.setPhysicalScreenHeight(sOn.getPhysicalScreenHeight());\n // attach the offscreen canvas to the view\n universe.getViewer().getView().addCanvas3D(offScreenCanvas);\n \n add(onScreenCanvas, BorderLayout.CENTER);\n universe.getViewer().getView().setFieldOfView(1.1);\n }\n catch(Exception e)\n {\n JOptionPane.showMessageDialog(null, \"An error occured while creating 3D projection plot\");\n log.error(e);\n }\n }", "title": "" }, { "docid": "6a409cf9c1709579536275a166f962a5", "score": "0.61385554", "text": "static boolean force3D(JComponent c) {\r\n Object value = c.getClientProperty(ALookAndFeel.IS_3D_KEY);\r\n return Boolean.TRUE.equals(value);\r\n }", "title": "" }, { "docid": "b73e17463ced1a0f42eaace752eba149", "score": "0.6002452", "text": "@Override\r\n protected void modelChanged() {\r\n Plot3DBarNodeModel nodeModel = (Plot3DBarNodeModel)getNodeModel();\r\n assert nodeModel != null;\r\n \r\n // long start = System.currentTimeMillis();\r\n String drawing_type = getShowAs();\r\n boolean is_sphere = drawing_type.equals(\"Sphere\");\r\n boolean is_parallelepiped = drawing_type.equals(\"Box\");\r\n boolean is_scatter = drawing_type.startsWith(\"Scatter\");\r\n boolean has_overlay = nodeModel.hasOverlay();\r\n if (nodeModel != null && nodeModel.hasDataPoints()) {\r\n \tfloat[] overlay = null;\r\n \tdouble overlay_min = 0.0;\r\n \tdouble overlay_range = 0.0;\r\n \tdouble overlay_max = 0.0;\r\n \tif (has_overlay) {\r\n \t\toverlay = nodeModel.getOverlay1DVector();\r\n \t\toverlay_min = Statistics.min(overlay);\r\n \t\toverlay_max = Statistics.max(overlay);\r\n \t\toverlay_range = range(overlay_min, overlay_max);\r\n \t\tLogger.getLogger(\"Plot 3D View\").info(\"Overlay min: \"+overlay_min+\" max=\"+overlay_max+\" range=\"+overlay_range);\r\n \t}\r\n \tColor[] colours = new Color[nodeModel.countDataPoints()];\r\n \t\r\n \t// get the data from the model including user configured sizes and colours (scatter mode wont display the size, but will the colour)\r\n \tFloatArrayList x = new FloatArrayList(nodeModel.countDataPoints());\r\n \tFloatArrayList y = new FloatArrayList(nodeModel.countDataPoints());\r\n \tFloatArrayList z = new FloatArrayList(nodeModel.countDataPoints());\r\n \tFloatArrayList sizes = new FloatArrayList(nodeModel.countDataPoints());\r\n \tnodeModel.getDataPoints(x, y, z, colours, sizes);\r\n \t\r\n \tSummaryStatistics x_stats = new SummaryStatistics();\r\n \tSummaryStatistics y_stats = new SummaryStatistics();\r\n \tSummaryStatistics z_stats = new SummaryStatistics();\r\n \tnodeModel.getStatistics(x_stats, y_stats, z_stats);\r\n \t\r\n \tSummaryStatistics transformed_stats = transform(z, z_stats, getZTransform());\r\n \tif (transformed_stats != null)\r\n \t\tz_stats = transformed_stats;\r\n \t\r\n \tdouble x_range = range(x_stats.getMin(), x_stats.getMax());\r\n \tdouble y_range = range(y_stats.getMin(), y_stats.getMax());\r\n \tdouble z_range = range(z_stats.getMin(), z_stats.getMax());\r\n \tif (x_range < Double.MIN_VALUE)\r\n \t\tx_range = 1.0;\r\n \tif (y_range < Double.MIN_VALUE)\r\n \t\ty_range = 1.0;\r\n \tif (z_range < Double.MIN_VALUE)\r\n \t\tz_range = 1.0;\r\n \t\r\n \t// convert each data point to [0,1] for the view\r\n \tlong n = x_stats.getN();\r\n \tfor (int i=0; i<n; i++) {\r\n \t\tx.set(i, (float) ((x.get(i) - x_stats.getMin()) / x_range));\r\n \t\ty.set(i, (float) ((y.get(i) - y_stats.getMin()) / y_range));\r\n \t\tz.set(i, (float) ((z.get(i) - z_stats.getMin()) / z_range));\r\n \t}\r\n \t\r\n \tChart c = getChart();\r\n \tc.getAxeLayout().setXTickRenderer(new MyAxisRenderer(x_stats.getMin(), x_stats.getMax()));\r\n \tc.getAxeLayout().setYTickRenderer(new MyAxisRenderer(y_stats.getMin(), y_stats.getMax()));\r\n \tc.getAxeLayout().setZTickRenderer(new MyAxisRenderer(z_stats.getMin(), z_stats.getMax()));\r\n \tc.getAxeLayout().setXAxeLabel(nodeModel.getAxis(\"X\"));\r\n c.getAxeLayout().setYAxeLabel(nodeModel.getAxis(\"Y\"));\r\n c.getAxeLayout().setZAxeLabel(nodeModel.getAxis(\"Z\"));\r\n \r\n \tif (transparency < 1.0f) {\r\n \t\tfor (int i=0; i<colours.length; i++) {\r\n \t\t\tcolours[i] = colours[i].alphaSelf(transparency);\r\n \t\t}\r\n \t}\r\n \t\r\n \t// MUST create a new scene or we will deadlock java/OpenGL...\r\n \tGraph g = new Graph(new Scene(), true);\r\n \tBoundingBox3d bb = g.getBounds();\r\n \tbb.setZmax(1.0f);\r\n \tbb.setZmin(0.0f);\r\n \tbb.setXmin(0.0f);\r\n \tbb.setXmax(1.0f);\r\n \tbb.setYmin(0.0f);\r\n \tbb.setYmax(1.0f);\r\n \t\r\n \tif (!Double.isNaN(x_range)) {\r\n \t\t// first the main plots\r\n \t\tif (is_scatter) {\r\n \t\t\tCoord3d[] points = new Coord3d[(int) n];\r\n \t\t\tfor (int i=0; i<n; i++) {\r\n \t\t\t\tpoints[i] = new Coord3d(x.get(i), y.get(i), z.get(i));\r\n \t\t\t}\r\n \t\t\t\r\n \t\t\t// jzy3d v0.9: selectablescatter doesn't provide a constructor with width parameter so...\r\n \t\t\tScatter s = new SelectableScatter(points, colours);\r\n \t\t\ts.setWidth(200.0f * bar_radius);\r\n \t\t\tg.add(s);\r\n \t\t} else {\r\n\t\t \tfor (int i=0; i<n; i++) {\r\n\t\t \t\tfloat xi = x.get(i);\r\n\t\t \t\tfloat yi = y.get(i);\r\n\t\t \t\tfloat zi = z.get(i);\r\n\t\t \t\tfloat size = sizes.getFloat(i) * bar_radius;\r\n\t\t \t\tif (!is_sphere && !is_parallelepiped) {\r\n\t\t \t\t\tHistogramBar hb = new MyHistogramBar(xi, yi, zi, size, colours[i], wireframe, i);\r\n\t\t \t\t\r\n\t\t \t\t\tg.add(hb);\r\n\t\t \t\t} else if (is_parallelepiped) { \r\n\t\t \t\t\tbb = new BoundingBox3d(xi - size, xi + size,\r\n\t\t \t\t\t\t\t\t\t\t\tyi - size, yi + size,\r\n\t\t \t\t\t\t\t\t\t\t\t0, (float) zi);\r\n\t\t \t\t\tCompositeParallelepiped box = new CompositeParallelepiped(bb);\r\n\t\t \t\t\tbox.setColor(colours[i]);\r\n\t\t \t\t\tbox.setWireframeDisplayed(wireframe);\r\n\t\t \t\t\tg.add(box);\r\n\t\t \t\t} else {\r\n\t\t \t\t\tSphere s = new MySelectableSphere(new Coord3d(xi, yi, zi), size, 10, colours[i]);\r\n\t\t \t\t\ts.setWireframeDisplayed(wireframe);\r\n\t\t \t\t\tg.add(s);\r\n\t\t \t\t}\r\n\t\t \t}\r\n \t\t}\r\n \t\t\r\n\t \t// render the overlay (if any)\r\n\t \tif (overlay != null) {\r\n\t \t\tString axis = nodeModel.getOverlayAxis().toLowerCase();\r\n\t \t\tColor gray = new Color(200,200,200);\r\n\t \t\t\r\n\t \t\taddBars(g, overlay, bar_radius, x, overlay_max, 0.0, gray, axis);\r\n\t \t}\r\n \t}\r\n \t\r\n \t// install the new graph as the current and redraw\r\n \tc.getScene().setGraph(g);\r\n }\r\n \r\n // long end = System.currentTimeMillis();\r\n // logger.info(\"Took \"+(end-start)+\" milliseconds in modelChanged()\");\r\n }", "title": "" }, { "docid": "a2bd72f144e68ce11ae5dc8cccaf7c21", "score": "0.59818333", "text": "public static boolean is3DEnabled()\n\t{\n\t\treturn enabled3D;\n\t}", "title": "" }, { "docid": "b902107bf773be512e658c2949df6a86", "score": "0.59351087", "text": "boolean hasAxis3();", "title": "" }, { "docid": "9975f37564d40e9e1fb2d0d2270b3975", "score": "0.5928389", "text": "public CustomBarRenderer3D() {\r\n }", "title": "" }, { "docid": "ad93fda69de73ae69f1f711033981cd6", "score": "0.58856666", "text": "public boolean is3DMap() {\r\n\t\treturn is3DMap;\r\n\t}", "title": "" }, { "docid": "e8149f440b97034109dfd63df9b4ae4e", "score": "0.58848107", "text": "private void getCharPane() {\n\t\t\t\tJFreeChart threeDChart = ChartFactory.createBarChart3D(\r\n\t\t \"3D Chart Report\", \r\n\t\t \"Category\", \r\n\t\t \"Amount\", \r\n\t\t createDataset(), \r\n\t\t PlotOrientation.VERTICAL, \r\n\t\t true, true, false);\r\n\t\t \r\n\t\t\t\tchartPanel = new ChartPanel( threeDChart ); \r\n\t\t\t\tchartPanel.setBounds(20, 150, 750, 510);\r\n\t\t\t\tsetthreeDChart(threeDChart);\r\n\t}", "title": "" }, { "docid": "d392baf440f3e2ebf79bd11ff3ced172", "score": "0.5878953", "text": "private JFreeChart createChart(PieDataset dataset, String title) {\n JFreeChart chart = ChartFactory.createPieChart3D(\n title,\n dataset,\n true,\n true,\n false\n );\n \n PiePlot3D plot = (PiePlot3D) chart.getPlot();\n plot.setStartAngle(290);\n plot.setDirection(Rotation.CLOCKWISE);\n plot.setForegroundAlpha(0.5f);\n return chart;\n }", "title": "" }, { "docid": "5f0e7e4ef6d17232bdf37ed60c4876ab", "score": "0.5872496", "text": "public void setup() {\r\n\t\t// size(0,0,PApplet.P3D);\r\n\t}", "title": "" }, { "docid": "9c774dc2e6162e4500147aa928bed5b9", "score": "0.5867492", "text": "protected abstract void setupX3D();", "title": "" }, { "docid": "f876805c03a49dccf8a1b4348313fb41", "score": "0.58454216", "text": "void createACanvas(){\n canvas3D = new Canvas3D(\n SimpleUniverse.getPreferredConfiguration());\n add(BorderLayout.CENTER,canvas3D);\n }", "title": "" }, { "docid": "1033595ee125e1ade52467a8246227d7", "score": "0.58208907", "text": "public void createChart(ChartViewer viewer, int chartIndex)\n {\n // The data for the area chart\n double[] data = {30, 28, 40, 55, 75, 68, 54, 60, 50, 62, 75, 65, 75, 89, 60, 55, 53, 35, 50,\n 66, 56, 48, 52, 65, 62};\n\n // The labels for the area chart\n String[] labels = {\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\", \"11\", \"12\", \"13\",\n \"14\", \"15\", \"16\", \"17\", \"18\", \"19\", \"20\", \"21\", \"22\", \"23\", \"24\"};\n\n // Create a XYChart object of size 600 x 360 pixels, with a brushed silver background, 1\n // pixel 3D border effect, rounded corners and soft drop shadow.\n XYChart c = new XYChart(600, 360, Chart.brushedSilverColor(), Chart.Transparent, 1);\n c.setRoundedFrame();\n c.setDropShadow();\n\n // Add a title box to the chart using 18pt Times Bold Italic font.\n TextBox title = c.addTitle(\n \"<*block,valign=absmiddle*><*img=star.png*><*img=star.png*> Performance Enhancer \" +\n \"<*img=star.png*><*img=star.png*><*/*>\", \"Times New Roman Bold Italic\", 18);\n\n //\n // Use a text box with a depressed 3D border to create the inner depressed region\n //\n\n // The width of the frame border\n int frameWidth = 5;\n\n // Set the depressed region position\n TextBox contentBox = c.addText(frameWidth, title.getHeight(), \"\");\n contentBox.setSize(c.getDrawArea().getWidth() - 1 - frameWidth * 2, c.getDrawArea(\n ).getHeight() - title.getHeight() - frameWidth - 1);\n\n // Use -1 as the rasied effect to create a depressed region\n contentBox.setBackground(Chart.Transparent, Chart.Transparent, -1);\n\n // Set rounded corners, and put the text box at the back of the chart\n contentBox.setRoundedCorners(10);\n contentBox.setZOrder(Chart.ChartBackZ);\n\n // Tentatively set the plotarea to 50 pixels from the left depressed edge, and 25 pixels\n // under the top depressed edge. Set the width to 75 pixels less than the depressed region\n // width, and the height to 75 pixels less than the depressed region height. Use white\n // (ffffff) background, transparent border, and grey (cccccc) horizontal and vertical grid\n // lines.\n PlotArea plotArea = c.setPlotArea(50 + contentBox.getLeftX(), contentBox.getTopY() + 25,\n contentBox.getWidth() - 75, contentBox.getHeight() - 75, 0xffffff, -1, -1, 0xcccccc, -1)\n ;\n\n // Add a title to the y axis\n c.yAxis().setTitle(\"Energy Concentration (KJ per liter)\");\n\n // Set the labels on the x axis.\n c.xAxis().setLabels(labels);\n\n // Display 1 out of 3 labels on the x-axis.\n c.xAxis().setLabelStep(3);\n\n // Add a title to the x axis using CDML\n c.xAxis().setTitle(\"<*block,valign=absmiddle*><*img=clock.png*> Elapsed Time (hour)<*/*>\");\n\n // Set the axes width to 2 pixels\n c.xAxis().setWidth(2);\n c.yAxis().setWidth(2);\n\n // Add an area layer to the chart using a gradient color that changes vertically from\n // semi-transparent red (60ff0000) to semi-transparent white (60ffffff)\n c.addAreaLayer(data, c.linearGradientColor(0, contentBox.getTopY() + 20, 0,\n contentBox.getTopY() + contentBox.getHeight() - 50, 0x60ff0000, 0x60ffffff));\n\n // Adjust the plot area size, such that the bounding box (inclusive of axes) is 15 pixels\n // from the left depressed edge, 25 pixels below the top depressed edge, 25 pixels from the\n // right depressed edge, and 15 pixels above the bottom depressed edge.\n c.packPlotArea(contentBox.getLeftX() + 15, contentBox.getTopY() + 25, contentBox.getLeftX()\n + contentBox.getWidth() - 25, contentBox.getTopY() + contentBox.getHeight() - 15);\n\n // Add a custom CDML text with the bottom right corner is anchored to the bootom right\n // corner of the plot area, with 5 pixels margin.\n c.addText(plotArea.getLeftX() + plotArea.getWidth() - 5, plotArea.getTopY() +\n plotArea.getHeight() - 5,\n \"<*block,valign=absmiddle*><*img=small_molecule.png*> <*block*><*font=Times New \" +\n \"Roman Bold Italic,size=10,color=804040*>Molecular\\nEngineering<*/*>\").setAlignment(\n Chart.BottomRight);\n\n // Output the chart\n viewer.setChart(c);\n\n //include tool tip for the chart\n viewer.setImageMap(c.getHTMLImageMap(\"clickable\", \"\",\n \"title='Hour {xLabel}: {value} KJ/liter'\"));\n }", "title": "" }, { "docid": "5907e035914012564661549d6dd4322c", "score": "0.576407", "text": "void setupDisplay() {\n\tview3d = new Rectangle(0, 0, winSize.width, winSize.height);\n }", "title": "" }, { "docid": "832fe472bd3ca47676fd6d4620a8a536", "score": "0.5751543", "text": "public static void set3DEnabled(boolean enabled)\n\t{\n\t\tGL.enabled3D = enabled;\n\t}", "title": "" }, { "docid": "b51f242675bce116b9719c9719e2e496", "score": "0.5729713", "text": "public ScatterPlotDemo3(final String title) {\n\t\tsuper(title);\n\t\tfinal XYDataset dataset = new SampleXYDataset2();\n\t\tJFreeChart chart = createChart(dataset);\n\t\tchartPanel = new ChartPanel(chart);\n\t\tchartPanel.addChartMouseListener(this);\n\t\tchartPanel.setPreferredSize(new java.awt.Dimension(500, 270));\n\t\tchartPanel.setVerticalAxisTrace(true);\n\t\tchartPanel.setHorizontalAxisTrace(true);\n\t\tchartPanel.setVerticalZoom(true);\n\t\tchartPanel.setHorizontalZoom(true);\n\t\tsetContentPane(chartPanel);\n\t}", "title": "" }, { "docid": "02730958a29b76e0440697beb25db3cc", "score": "0.5680676", "text": "public abstract void drawSelf3D(MotivaatiovalasPeli applet);", "title": "" }, { "docid": "a5258ed18cbebede84866ec2a8a801a0", "score": "0.5673044", "text": "@Override\r\n\tpublic JFreeChart test() throws Exception {\n\t\tDefaultCategoryDataset dataset = new DefaultCategoryDataset();\r\n\t\tdataset.addValue(100, \"北京\", \"苹果\");\r\n\t\tdataset.addValue(100, \"上海\", \"苹果\");\r\n\t\tdataset.addValue(100, \"广州\", \"苹果\");\r\n\t\tdataset.addValue(200, \"北京\", \"梨子\");\r\n\t\tdataset.addValue(200, \"上海\", \"梨子\");\r\n\t\tdataset.addValue(200, \"广州\", \"梨子\");\r\n\t\tdataset.addValue(300, \"北京\", \"葡萄\");\r\n\t\tdataset.addValue(300, \"上海\", \"葡萄\");\r\n\t\tdataset.addValue(300, \"广州\", \"葡萄\");\r\n\t\tdataset.addValue(400, \"北京\", \"香蕉\");\r\n\t\tdataset.addValue(400, \"上海\", \"香蕉\");\r\n\t\tdataset.addValue(400, \"广州\", \"香蕉\");\r\n\t\tdataset.addValue(500, \"北京\", \"荔枝\");\r\n\t\tdataset.addValue(500, \"上海\", \"荔枝\");\r\n\t\tdataset.addValue(500, \"广州\", \"荔枝\");\r\n\t\t//创建主题样式\r\n\t\tStandardChartTheme standardChartTheme=new StandardChartTheme(\"CN\");\r\n\t\t//设置标题字体\r\n\t\tstandardChartTheme.setExtraLargeFont(new Font(\"黑体\",Font.BOLD,20));\r\n\t\t//设置图例的字体\r\n\t\tstandardChartTheme.setRegularFont(new Font(\"黑体\",Font.BOLD,15));\r\n\t\t//设置轴向的字体\r\n\t\tstandardChartTheme.setLargeFont(new Font(\"黑体\",Font.BOLD,15));\r\n\t\t//应用主题样式\r\n\t\tChartFactory.setChartTheme(standardChartTheme);\r\n\t\tJFreeChart chart = ChartFactory.createBarChart3D(\r\n\t\t \"水果\", // 图表标题\r\n\t\t \"水果种类\", // 目录轴的显示标签\r\n\t\t \"数量\", // 数值轴的显示标签\r\n\t\t dataset, // 数据集\r\n\t\t PlotOrientation.VERTICAL, // 图表方向:水平、垂直\r\n\t\t true, // 是否显示图例(对于简单的柱状图必须是false)\r\n\t\t false, // 是否生成工具\r\n\t\t false // 是否生成URL链接\r\n\t\t );\r\n\t\t\r\n\t\treturn chart;\r\n\t}", "title": "" }, { "docid": "02b76fae9bdd98c52c7a9cd4a7a1864e", "score": "0.5660523", "text": "T setDepth3D(Integer depth3D);", "title": "" }, { "docid": "27b8754a015650f5dab8caef193226a8", "score": "0.5651989", "text": "public void createChart(){\n sSeries = new SimpleXYSeries(\"Sound\");\n xSeries = new SimpleXYSeries(\"X\");\n ySeries = new SimpleXYSeries(\"Y\");\n zSeries = new SimpleXYSeries(\"Z\");\n\n mainPlot.setRangeBoundaries(0, 100, BoundaryMode.GROW);\n mainPlot.setDomainBoundaries(start, end, BoundaryMode.FIXED);\n mainPlot.addSeries(sSeries,\n new LineAndPointFormatter(\n Color.rgb(100, 100, 200), null, null, null));\n// mainPlot.addSeries(xSeries,\n// new LineAndPointFormatter(\n// Color.rgb(100, 100, 200), null, null, null));\n// mainPlot.addSeries(ySeries,\n// new LineAndPointFormatter(\n// Color.rgb(100, 200, 100), null, null, null));\n// mainPlot.addSeries(zSeries,\n// new LineAndPointFormatter(\n// Color.rgb(200, 100, 100), null, null, null));\n mainPlot.setDomainStepMode(XYStepMode.SUBDIVIDE);\n// mainPlot.setdomain\n mainPlot.setDomainStepValue(10);\n mainPlot.setDomainValueFormat(new DecimalFormat(\"##.#\"));\n// mainPlot.setTicksPerRangeLabel(3);\n mainPlot.setDomainLabel(\"Index\");\n mainPlot.getDomainLabelWidget().pack();\n mainPlot.setRangeLabel(\"\");\n mainPlot.getRangeLabelWidget().pack();\n\n\n final PlotStatistics histStats = new PlotStatistics(1000, false);\n\n mainPlot.addListener(histStats);\n\n redrawer = new Redrawer(Arrays.asList(new Plot[]{mainPlot}), 100, false);\n\n }", "title": "" }, { "docid": "982d40c2a5ddab96a7b9132769ed423d", "score": "0.5621204", "text": "public MyPanel (SortedMap<Double,Double> xyData) {\n initComponents();\n XYSeries xySeries = new XYSeries(\"XY\");\n for(Double x:xyData.keySet()){\n xySeries .add(x, xyData.get(x));\n }\n XYSeriesCollection collection = new XYSeriesCollection();\n collection.addSeries(xySeries );\n\n JFreeChart chart = createChart(collection);\n \n chartPanel = new ChartPanel(chart);\n Dimension d = new Dimension(200,100);\n chartPanel.setSize(d);\n chartPanel.setPreferredSize(d);\n BorderLayout layout = new BorderLayout();\n this.setLayout(layout);\n this.add(chartPanel,BorderLayout.CENTER); \n //this.add(chartPanel); \n }", "title": "" }, { "docid": "07cd8992442968715385eb0821767228", "score": "0.55825573", "text": "private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed\n JFrame frame = new JFrame();\n frame.setDefaultCloseOperation(DISPOSE_ON_CLOSE);\n JFreeChart chart = createChart(xGraph, \"X\",0.5,0.8);\n JFreeChart chart2 = createChart(yGraph, \"Y\",-0.3,0.2);\n JFreeChart chart3 = createChart(zGraph, \"Z\",0.5,0.8);\n\n ChartPanel chartPanel = new ChartPanel(chart);\n ChartPanel chartPanel2 = new ChartPanel(chart2);\n ChartPanel chartPanel3 = new ChartPanel(chart3);\n\n GridLayout layout = new GridLayout(3, 1);\n JPanel panel = new JPanel();\n panel.setLayout(layout);\n panel.add(chartPanel);\n panel.add(chartPanel2);\n panel.add(chartPanel3);\n frame.add(panel);\n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "768416cba9f6f191217cded686634291", "score": "0.55690706", "text": "public Plane3d() {\n\t\tnormal = new Vector3d();\n\t}", "title": "" }, { "docid": "ad85c5928cf40c213c8077f0cd8c8a71", "score": "0.5562555", "text": "static boolean is3D(String keyPrefix) {\r\n Object value = UIManager.get(keyPrefix + \"is3DEnabled\");\r\n return Boolean.TRUE.equals(value);\r\n }", "title": "" }, { "docid": "6557c017f1f97725f55677fcf8a1fbd3", "score": "0.5546958", "text": "@Override\r\n public boolean isOpaqueCube()\r\n {\r\n return true;//false;\r\n }", "title": "" }, { "docid": "1eafa09f0228a46f1fb66f41b9cf8b96", "score": "0.5501069", "text": "@Override\n\tpublic boolean shouldRender3DInInventory() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "c7d3364d7c254a1e99502cf5ff9a56ed", "score": "0.5494874", "text": "public void createPlotTypeDefaultFromData() {\n \t // If the data is only 2D we tell the PlottingSystem to switch to 2D mode.\n \t\tboolean is1D = false;\n \t\t\n \t\tfinal PlotDataComponent dataSetComponent = getDataSetComponent();\n \t\tif (dataSetComponent!=null) {\n \t\t\tfor (CheckableObject set : dataSetComponent.getData()) {\n \t\t\t\tif (dataSetComponent.getActiveDimensions(set, true)==1)\t{\n \t\t\t\t\tis1D=true;\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\tif (!is1D) {\n \t\t\tgetPlottingSystem().setPlotType(PlotType.IMAGE);\n \t\t}\n \n \t}", "title": "" }, { "docid": "00c13d024b9d5d9ef0511254df883aac", "score": "0.5487623", "text": "public void createChart() {\n\n }", "title": "" }, { "docid": "10480775692ef8bd3b29d542c693274f", "score": "0.54795206", "text": "Axis2Placement3D getAxis2placement3d();", "title": "" }, { "docid": "6d80972380a154895f371375ba1b460c", "score": "0.5455924", "text": "@Override\n\tpublic boolean shouldRender3DInInventory() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "31bd0ea81fcc783e5a709afe36a9b358", "score": "0.5443366", "text": "public void setSip3d(java.lang.Float value) {\n this.sip3d = value;\n }", "title": "" }, { "docid": "91257ac62cae114fed2bfe4f019048a8", "score": "0.5438783", "text": "public DrawnObject3D(int x, int y, int z)\n\t{\n\t\t// Initializes the attributes\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t\tthis.z = z;\n\t\t\n\t\tthis.xscale = 1;\n\t\tthis.yscale = 1;\n\t\tthis.zscale = 1;\n\t\tthis.visible = true;\n\t\tthis.alive = true;\n\t\tthis.zangle = 0;\n\t\tthis.xangle = 0;\n\t\tthis.yangle = 0;\n\t}", "title": "" }, { "docid": "1d5e61b8378a8df4b0289adf5103a9b0", "score": "0.5435267", "text": "void setShowAxis( boolean show );", "title": "" }, { "docid": "2cd54a06ace9956fb4786ce5adb5be4e", "score": "0.53840095", "text": "public VelByAxes ()\n\t{\n\t\tthis.x_Axis = new VelDesvValues ();\n\t\tthis.y_Axis = new VelDesvValues ();\n\t\tthis.z_Axis = new VelDesvValues ();\n\t}", "title": "" }, { "docid": "49a73a4aaad59fdbffdc7e0ef6c65924", "score": "0.5321251", "text": "public Cave3DSurface( double e1, double n1, double e2, double n2, int d1, int d2 )\n {\n mEast1 = e1;\n mNorth1 = n1;\n mEast2 = e2;\n mNorth2 = n2;\n mNr1 = d1;\n mNr2 = d2;\n mDim1 = (e2-e1)/(d1-1);\n mDim2 = (n2-n1)/(d2-1);\n mZ = new double[ d1*d2 ]; \n }", "title": "" }, { "docid": "c9f42f90cfc7d5bbbf6495110c34da6c", "score": "0.5319359", "text": "public View3DPlotJPanel() {\n initComponents();\n try {\n fxpanel = new JFXPanel();\n //fxpanel.setPreferredSize(this.jPanel1.getPreferredSize());\n fxpanel.setBackground(java.awt.Color.red);\n fxpanel.setVisible(true);\n \n// fxpanel.setScene(this.create3DScene(this.jPanel1.getPreferredSize().width,\n// this.jPanel1.getPreferredSize().height));\n //this.jPanel1.add(fxpanel);\n this.jPanel1.setLayout(new BorderLayout());\n this.jPanel1.add(fxpanel, BorderLayout.CENTER);\n this.jPanel1.addMouseMotionListener(new MouseMotionListener() {\n\n @Override\n public void mouseDragged(java.awt.event.MouseEvent e) {\n mouseDraggedInSwingJPanel(e);\n }\n\n @Override\n public void mouseMoved(java.awt.event.MouseEvent e) {\n// throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }\n });\n this.jPanel1.addMouseListener(new MouseListener() {\n\n @Override\n public void mouseClicked(java.awt.event.MouseEvent e) {\n }\n\n @Override\n public void mousePressed(java.awt.event.MouseEvent e) {\n }\n\n @Override\n public void mouseReleased(java.awt.event.MouseEvent e) {\n lastSwingJpanelMouseEvent = null;\n }\n\n @Override\n public void mouseEntered(java.awt.event.MouseEvent e) {\n }\n\n @Override\n public void mouseExited(java.awt.event.MouseEvent e) {\n lastSwingJpanelMouseEvent = null;\n }\n });\n // create JavaFX scene\n Platform.runLater(new Runnable() {\n public void run() {\n initFxScene();\n SwingUtilities.invokeLater(new Runnable() {\n\n @Override\n public void run() {\n setDragEnum(View3DDragEnum.ROT_XY);\n }\n });\n }\n });\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "cb55fa43b797cdde2b0bba6005a564b2", "score": "0.53006816", "text": "private void initialChart() {\n\t\tLinearLayout linearView = (LinearLayout) findViewById(R.id.chart_show);\n\t\tdemo = new DemoChart();\n\t\tr = new Random();\n\t\tchartView = demo.getDemoChartGraphicalView(this);\n\t\tchartView.addZoomListener(new ZoomListener() {\n\t\t\tpublic void zoomApplied(ZoomEvent e) {\n\n\n//\t\t\t\tzoomRate = e.getZoomRate();\n//\t\t\t\t\n//\t\t\t\tif (e.getZoomRate() > 2) {\n//\t\t\t\t\tLog.v(\"QLQ\", \"need more data\");\n//\t\t\t\t\t\n//\t\t\t\t} else {\n//\t\t\t\t\tLog.v(\"QLQ\", \"all use compressed num \" + \" rate \"\n//\t\t\t\t\t\t\t+ e.getZoomRate());\n//\t\t\t\t\tSystem.out.println(e.toString());\n//\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tpublic void zoomReset() {\n\t\t\t\tLog.v(\"Zoom\", \"Reset\");\n\t\t\t}\n\t\t}, true, true);\n\t\t// 设置拖动图表时后台打印出图表坐标的最大最小值.\n\t\tchartView.addPanListener(new PanListener() {\n\t\t\tpublic void panApplied() {\n\t\t\t\txMin = demo.getRenderer().getXAxisMin();\n\t\t\t\txMax = demo.getRenderer().getXAxisMax();\n//\t\t\t\tyMin = demo.getRenderer().getYAxisMin();\n//\t\t\t\tyMax = demo.getRenderer().getYAxisMax();\n\t\t\t\tif(xMax-xMin < xMinAll-xMaxAll/2){\n\t\t\t\t\tInternetUtil.sendMessage(EncapSendInforUtil.encapRTTResultImforReq(\n\t\t\t\t\t\t\tInteger.parseInt(records.get(2)), (long)xMin, (long)xMax, 1));// taskid,startpos,endpos,type\n\t\t\t\t\tLog.v(\"QLQ\", \"New X range=[\" + demo.getRenderer().getXAxisMin()\n\t\t\t\t\t\t\t+ \", \" + demo.getRenderer().getXAxisMax()\n\t\t\t\t\t\t\t+ \"], Y range=[\" + demo.getRenderer().getYAxisMax()\n\t\t\t\t\t\t\t+ \", \" + demo.getRenderer().getYAxisMax() + \"]\");\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tlinearView.addView(chartView, new LayoutParams(\n\t\t\t\tLayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));\n\n\t}", "title": "" }, { "docid": "a79350ba1bf362657c7a1927c46631ae", "score": "0.52966356", "text": "public Path3D() {\n\t\t\n\t}", "title": "" }, { "docid": "ad08812e26d7c751ed298b8e2a6d1035", "score": "0.52948385", "text": "public Point3D(double x, double y, double z){\n super(x,y,z,1.0);\n }", "title": "" }, { "docid": "bf98d905a86655ff3a3498cf5408d73b", "score": "0.52942944", "text": "Visualization getVisualization();", "title": "" }, { "docid": "a3ae53f968870e21a7ee5727933e7ef6", "score": "0.52918696", "text": "public Shape3DPose()\n {\n setToZero();\n }", "title": "" }, { "docid": "c049fb821418468e921c564a1345e701", "score": "0.5258891", "text": "public Chart2DProperties() {\n\n needsUpdate = true;\n setChart2DPropertiesToDefaults();\n }", "title": "" }, { "docid": "133fc22eab879755162624159089da54", "score": "0.5255286", "text": "@Override\r\n\tpublic void draw(Camera3D camera, IGraphics g, IPaint paint) {\n\t}", "title": "" }, { "docid": "9302d751f800a0b26a3dea9d8b070ec7", "score": "0.5232801", "text": "private void getDataToPlot(){\n\t\tint scale = 10;\n\t\tint size = 40*scale;\n\t\tx = new double[size+1];\n\t\ty = new double[size+1];\n\t\tz = new double[size+1];\n\t\tint i =0;\n\t\twhile (i<=size){\n\t\t\tx[i]=(i)/1.0;\n\t\t\ty[i]=Math.sin(i*3.1415926/180.0)*30;\n\t\t\tz[i]=Math.sin((i+20)*3.1415926/180.0)*30;\n\t\t\ti++;\n\t\t}\t\n\t}", "title": "" }, { "docid": "f1322ef44a35cdcb570fd2be75b18af0", "score": "0.52307075", "text": "public void setMap3D(MapInteger map3D) {\r\n\t\tthis.map3D = map3D;\r\n\t}", "title": "" }, { "docid": "773723011268b5ffb9810e857270c8bc", "score": "0.52154356", "text": "private void createAndShowGUI() {\n System.setProperty(\"sun.awt.noerasebackground\", \"true\");\n\n GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();\n Canvas3D canvas3D = new Canvas3D(config);\n SimpleUniverse simpleU = new SimpleUniverse(canvas3D);\n\n Transform3D lookAt = new Transform3D();\n Point3d center = new Point3d(); //origin\n Point3d eye = new Point3d(0,0,3);\n Vector3d up = new Vector3d(0,1,0);\n lookAt.lookAt(eye,center,up);\n lookAt.invert();\n simpleU.getViewingPlatform().getViewPlatformTransform().setTransform(lookAt);\n\n //simpleU.getViewingPlatform().setNominalViewingTransform();\n simpleU.getViewer().getView().setSceneAntialiasingEnable(true);\n\n BranchGroup scene = new BranchGroup();\n Light light = new DirectionalLight(new Color3f(1f, 1f, 1f), new Vector3f(-1f, -1f, -1f));\n light.setInfluencingBounds(new BoundingSphere());\n scene.addChild(light);\n light = new DirectionalLight(new Color3f(.2f, .2f, .2f), new Vector3f(1f, 1f, -1f));\n light.setInfluencingBounds(new BoundingSphere());\n scene.addChild(light);\n\n TransformGroup torusTG = new TransformGroup();\n torusTG.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);\n torusTG.addChild(new Torus(.5f, .2f, 60, 30));\n scene.addChild(torusTG);\n Behavior b = new MouseRotate(torusTG);\n b.setSchedulingBounds(new BoundingSphere());\n scene.addChild(b);\n b = new MouseTranslate(torusTG);\n b.setSchedulingBounds(new BoundingSphere());\n scene.addChild(b);\n b = new MouseZoom(torusTG);\n b.setSchedulingBounds(new BoundingSphere());\n scene.addChild(b);\n scene.compile();\n simpleU.addBranchGraph(scene);\n\n JFrame appFrame = new JFrame(\"Java 3D Demo 7\");\n appFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\n canvas3D.setPreferredSize(new Dimension(800,600));\n appFrame.add(canvas3D);\n appFrame.pack();\n// if (Toolkit.getDefaultToolkit().isFrameStateSupported(JFrame.MAXIMIZED_BOTH))\n// appFrame.setExtendedState(appFrame.getExtendedState() | JFrame.MAXIMIZED_BOTH);\n appFrame.setVisible(true);\n }", "title": "" }, { "docid": "9a7ecdcc1bb21cf09a1228cf4f124ff8", "score": "0.5205351", "text": "public void draw3d(GL2 gl, GLU glu, GLUquadric quadric) {\n\t\t\n\t}", "title": "" }, { "docid": "db7040ecc8cc00365ece6d2b32db9097", "score": "0.5200033", "text": "public boolean isOpaqueCube()\n {\n return false;\n }", "title": "" }, { "docid": "baa762896a5b3ae2635d7cf71223f55a", "score": "0.5198404", "text": "@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tint width = 640; /* Width of the image */\r\n\t\t\t\t int height = 480; /* Height of the image */ \r\n\t\t\t\t String fileName = \"C:\\\\h\\\\3DChart\"+UUID.randomUUID()+\".jpeg\";\r\n\t\t\t\t File lineChartFile = new File( fileName ); \r\n\t\t\t\t try {\r\n\t\t\t\t\t\tChartUtilities.saveChartAsJPEG(lineChartFile ,getthreeDChart(), width ,height);\r\n\t\t\t\t\t} catch (IOException ex) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\tex.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t lblMessage.setText(\"Line Chart stored in location C:\\\\h\");\r\n\t\t\t\t lblMessage.setFont(new Font(\"Arial\", Font.BOLD, 16));\r\n\t\t\t\t\t\r\n\t\t\t\t}", "title": "" }, { "docid": "6865a63cd5d04d17ffc4910bfe3920b1", "score": "0.51949704", "text": "public Renderer3DImpl()\r\n {\r\n this( DEFAULT_VISIBILITY_DISTANCE );\r\n }", "title": "" }, { "docid": "6164fc95ed6983331d105e9dc08cf7be", "score": "0.51944375", "text": "public void init3D(BioMightPosition position) {\r\n\t}", "title": "" }, { "docid": "692bdebc406c83a01dce029ae043f16f", "score": "0.51772606", "text": "@Override\n public boolean isZoomIndependent() {\n return true;\n }", "title": "" }, { "docid": "9de1c4365989a551c7aa229649a94d76", "score": "0.51642144", "text": "@Override\n\t\tpublic boolean isOpaqueCube() {\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "503572639c7bc44b3950dd323f244a05", "score": "0.5142958", "text": "@Override\n\tpublic boolean isOpaqueCube()\n\t{\n\t\treturn false;\n\t}", "title": "" }, { "docid": "bc3341a8130e1ba90110dd757ac27194", "score": "0.51417416", "text": "public void setIs3DMap(boolean is3DMap)\r\n\t{\r\n\t\t// On memorise le type de map dans le modele\r\n\t\tthis.is3DMap = is3DMap;\r\n\t\t\r\n\t\t// On indique que le type de map a changer\r\n\t\tfireModelGPSChanged(0);\r\n\t}", "title": "" }, { "docid": "aba39791c4e3d08dffecbf4331873a5e", "score": "0.51366556", "text": "public MapInteger getMap3D() {\r\n\t\treturn map3D;\r\n\t}", "title": "" }, { "docid": "734d90cfcddc62e70fff0ff7dff17fad", "score": "0.51293594", "text": "protected boolean useWireframe() {\r\n \treturn wireframe;\r\n }", "title": "" }, { "docid": "4c59725bbae1da9316091ecf9cf5113b", "score": "0.51118076", "text": "@Override\n\tpublic boolean shouldRender3DInInventory(int modelId) {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "05c9adeaef6b511a2d1a2fb2436861b0", "score": "0.5093756", "text": "public void createSceneGraph(SimpleUniverse su){/*\n Appearance redApp = new Appearance();\n setToMyDefaultAppearance(redApp,new Color3f(0.8f,0.0f,0.0f));\n\n float tamanhoLado= 0.2f;\n\n float platformSize = 0.1f;\n\n //Generate the platform in the form of a cube. \n Box caixote = new Box(tamanhoLado, 2*tamanhoLado, tamanhoLado, redApp);\n\n TransformGroup tgCaixote= new TransformGroup();\n tgCaixote.addChild(caixote);\n\n\n \n BranchGroup theScene = new BranchGroup();\n\n\n\n su.addBranchGraph(theScene);\n Transform3D tfHeliPlat = new Transform3D();\n tfHeliPlat.setTranslation(new Vector3f(0.0f,0.1f,0.0f));\n \n \n TransformGroup caixota = new TransformGroup(tfHeliPlat);\n \n caixota.addChild(tgCaixote);\n*/\n \n \n //An Appearance to make the platform red.\n Appearance redApp = new Appearance();\n setToMyDefaultAppearance(redApp,new Color3f(0.8f,0.0f,0.0f));\n\n float platformSize = 0.1f;\n\n Box platform = new Box(platformSize,platformSize,platformSize,redApp);\n\n Transform3D tfPlatform = new Transform3D();\n tfPlatform.rotY(Math.PI/6);\n\n TransformGroup tgPlatform = new TransformGroup(tfPlatform);\n tgPlatform.addChild(platform);\n\n em Java 3D nas cores vermelho, verde e azul. Aponte os spotlights para a face frontal de um cubo branco de forma que o centro\n\n\n\n//*** The cockpit of the helicopter. ****\n\n //An Appearance to make the cockpit green.\n Appearance greenApp = new Appearance();\n setToMyDefaultAppearance(greenApp,new Color3f(0.0f,0.7f,0.0f));\n\n //Radius of the cockpit.\n float cabinRadius = 0.1f;\n\n //Generate the cockpit in the form of a sphere.\n Sphere cabin = new Sphere(cabinRadius,greenApp);\n\n //The transformation group for the cockpit.\n //The cockpit first remains in the origin. Later on, the whole\n //helicopter is shifted onto the platform.\n TransformGroup tgCabin = new TransformGroup();\n tgCabin.addChild(cabin);\n\n\n//*** The rotor blade of the helicopter. ***\n\n //An Appearance to make the rotor blade blue.\n Appearance blueApp = new Appearance();\n setToMyDefaultAppearance(blueApp,new Color3f(0.0f,0.0f,1.0f));\n\n //Generate the rotor blade in the form of a (very thin and long) box.\n Box rotor = new Box(0.4f,0.0001f,0.01f,blueApp);\n\n //A transformation placing the rotor blade on top of the cockpit.\n Transform3D tfRotor = new Transform3D();\n tfRotor.setTranslation(new Vector3f(0.0f,cabinRadius,0.0f));\n\n //The transformation group for the rotor blade.\n TransformGroup tgRotor = new TransformGroup(tfRotor);\n tgRotor.addChild(rotor);\n\n\n//*** The tail of the helicopter. ***\n\n //Length of the tail.\n float halfTailLength = 0.2f;\n\n //Generate the tail in form of a green box.\n Box tail = new Box(halfTailLength,0.02f,0.02f,greenApp);\n\n //A transformation placing the tail at the end of the cockpit.\n Transform3D tfTail = new Transform3D();\n tfTail.setTranslation(new Vector3f(cabinRadius+halfTailLength,0.0f,0.0f));\n\n //The transformation group for the tail.\n TransformGroup tgTail = new TransformGroup(tfTail);\n tgTail.addChild(tail);\n\n\n\n\n Transform3D tfHelicopter = new Transform3D();\n tfHelicopter.setTranslation(new Vector3f(0.0f,platformSize+cabinRadius,0.0f));\n\n TransformGroup tgHelicopter = new TransformGroup(tfHelicopter);\n tgHelicopter.addChild(tgCabin);\n tgHelicopter.addChild(tgRotor);\n tgHelicopter.addChild(tgTail);\n\n\n//*** The helicopter and the platform are joint together in one ***\n//*** transformation group in order to place them together ***\n//*** in the scene. ***\n\n //The transformation for positioning the helicopter\n //together with the platform.\n Transform3D tfHeliPlat = new Transform3D();\n tfHeliPlat.setTranslation(new Vector3f(0.0f,0.1f,0.0f));\n\n //The transformation group for the helicopter together with the platform.\n TransformGroup tgHeliPlat = new TransformGroup(tfHeliPlat);\n tgHeliPlat.addChild(tgHelicopter);\n tgHeliPlat.addChild(tgPlatform);\n\n//*** The tree trunk. ***\n\n //An Appearance to make the tree trunk brown.\n Appearance brownApp = new Appearance();\n setToMyDefaultAppearance(brownApp,new Color3f(0.5f,0.2f,0.2f));\n\n //Height of the tree trunk.\n float trunkHeight = 0.4f;\n\n //Generate the tree trunk as a cylinder.\n Cylinder trunk = new Cylinder(0.05f,trunkHeight,brownApp);\n\n //The transformation group of the tree trunk. The tree trunk first\n //remains in the origin and is placed in the scene together with the \n //leaves.\n TransformGroup tgTrunk = new TransformGroup();\n tgTrunk.addChild(trunk);\n\n\n//*** The treetop. ***\n\n //Height of the treetop.\n float leavesHeight = 0.4f;\n\n //Generate the treetop in the form of a green cone.\n Cone leaves = new Cone(0.3f,leavesHeight,greenApp);\n\n //A transformation to place the treetop on top of the tree trunk.\n Transform3D tfLeaves = new Transform3D();\n tfLeaves.setTranslation(new Vector3f(0.0f,(trunkHeight+leavesHeight)/2,0.0f));\n\n //The transformation group of the treetop.\n TransformGroup tgLeaves = new TransformGroup(tfLeaves);\n tgLeaves.addChild(leaves);\n\n\n//*** The tree assembled from the transformation groups for ***\n//*** the tree trunk and the treetop. ***\n\n //A transformation for positioning the tree in the scene.\n Transform3D tfTree = new Transform3D();\n tfTree.setTranslation(new Vector3f(-0.6f,0.0f,0.0f));\n\n //The transformation group of the tree.\n TransformGroup tgTree = new TransformGroup(tfTree);\n tgTree.addChild(tgTrunk);\n tgTree.addChild(tgLeaves);\n\n\n//*** The root of the graph containing the scene. ***\n BranchGroup theScene = new BranchGroup();\n\n\n //Add the helicopter and the tree to the scene.\n theScene.addChild(tgHeliPlat);\n theScene.addChild(tgTree);\n\n\n //The following four lines generate a white background.\n Background bg = new Background(new Color3f(1.0f,1.0f,1.0f));\n BoundingSphere bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0),Double.MAX_VALUE);\n bg.setApplicationBounds(bounds);\n theScene.addChild(bg);\n\n\n theScene.compile();\n\n //Add the scene to the universe.\n su.addBranchGraph(theScene);\n \n }", "title": "" }, { "docid": "5a617c9f0e43e4aa2d1303b5291b86e9", "score": "0.5090026", "text": "public Chart() {\n\t\t// init();\n\t}", "title": "" }, { "docid": "ac27d32fac926ef01c5a2155be2ec4a2", "score": "0.5083824", "text": "void render(MetalBasic3DView view);", "title": "" }, { "docid": "0483808da7d5b2dfadfea560287dcac2", "score": "0.50770915", "text": "public interface ChartView extends ChartElementPresenter {\n /**\n * Gets the visible width of the widget view.\n */\n public double getViewportWidth();\n\n /**\n * Gets the visible height of the widget view.\n */\n public double getViewportHeight();\n\n /**\n * Gets the current scale applied along the horizontal direction.\n */\n public double getZoomWidth();\n\n /**\n * Gets the current scale applied along the vertical direction.\n */\n public double getZoomHeight();\n\n /**\n * Gets the x-coordinate of the top-left corner where the layout should start from.\n */\n public double getPanOffsetX();\n\n /**\n * Gets the y-coordinate of the top-left corner where the layout should start from.\n */\n public double getPanOffsetY();\n\n /**\n * Gets the rect that encloses the plot area in view coordinates - that is without the zoom\n * factor applied and with the pan offset calculated.\n */\n public RadRect getPlotAreaClip();\n}", "title": "" }, { "docid": "019e417201479e795ba104163d507889", "score": "0.5074176", "text": "public JFreeChart createChart() {\r\n\t\tlogger.debug(\"IN\");\r\n\t\tif (dataset==null){\r\n\t\t\tlogger.debug(\"The dataset to be represented is null\");\r\n\t\t\treturn null;\t\t\r\n\t\t}\r\n\t\tMeterPlot plot = new MeterPlot((ValueDataset)dataset);\r\n\t\tlogger.debug(\"Created new plot\");\r\n\t\tplot.setRange(new Range(lower, upper));\r\n\t\tlogger.debug(\"Setted plot range\");\r\n\r\n\r\n\t\tfor (Iterator iterator = intervals.iterator(); iterator.hasNext();) {\r\n\t\t\tKpiInterval interval = (KpiInterval) iterator.next();\r\n\t\t\tplot.addInterval(new MeterInterval(interval.getLabel(), new Range(interval.getMin(), interval.getMax()), \r\n\t\t\t\t\tColor.lightGray, new BasicStroke(2.0f), interval.getColor()));\r\n\t\t\tlogger.debug(\"Added new interval to the plot\");\r\n\t\t}\r\n\r\n\t\tplot.setNeedlePaint(Color.darkGray);\r\n\t\tplot.setDialBackgroundPaint(Color.white);\r\n\t\tplot.setDialOutlinePaint(Color.gray);\r\n\t\tplot.setDialShape(DialShape.CHORD);\r\n\t\tplot.setMeterAngle(260);\r\n\t\tplot.setTickLabelsVisible(true);\r\n\t\tFont f =new Font(\"Arial\",Font.PLAIN,11);\r\n\t\tplot.setTickLabelFont(f);\r\n\t\tplot.setTickLabelPaint(Color.darkGray);\r\n\t\tplot.setTickSize(5.0);\r\n\t\tplot.setTickPaint(Color.lightGray);\t\t\r\n\t\tplot.setValuePaint(Color.black);\r\n\t\tplot.setValueFont(new Font(\"Arial\", Font.PLAIN, 14));\r\n\t\tlogger.debug(\"Setted all properties of the plot\");\r\n\r\n\t\tJFreeChart chart = new JFreeChart(name, JFreeChart.DEFAULT_TITLE_FONT, plot, legend);\r\n\t\tlogger.debug(\"Created the chart\");\r\n\t\tchart.setBackgroundPaint(color);\r\n\t\tlogger.debug(\"Setted background color of the chart\");\r\n\t\t\r\n\t\tTextTitle title = setStyleTitle(name, styleTitle);\r\n\t\tchart.setTitle(title);\r\n\t\tlogger.debug(\"Setted the title of the chart\");\r\n\t\tif(subName!= null && !subName.equals(\"\")){\r\n\t\t\tTextTitle subTitle =setStyleTitle(subName, styleSubTitle);\r\n\t\t\tchart.addSubtitle(subTitle);\r\n\t\t\tlogger.debug(\"Setted the subtitle of the chart\");\r\n\t\t}\r\n\t\tlogger.debug(\"OUT\");\r\n\t\treturn chart;\r\n\t}", "title": "" }, { "docid": "bedefa4ffc57c3493a5e2df78a6557ac", "score": "0.5073257", "text": "public DataSetDataElement(String\t\t sName,\n\t\t\t\t\t\t\t DataSet<?>\t aDataSet,\n\t\t\t\t\t\t\t ChartType\t\t eChartType,\n\t\t\t\t\t\t\t LegendPosition eLegendPosition,\n\t\t\t\t\t\t\t String\t\t sBackgroundColor,\n\t\t\t\t\t\t\t boolean\t\t b3D)\n\t{\n\t\tthis(sName, aDataSet, DISPLAY_FLAGS);\n\n\t\tsetProperty(CHART_BACKGROUND, Color.valueOf(sBackgroundColor));\n\t\tsetProperty(CHART_LEGEND_POSITION, eLegendPosition);\n\t\tsetProperty(CHART_TYPE, eChartType);\n\n\t\tif (b3D)\n\t\t{\n\t\t\tsetFlag(CHART_3D);\n\t\t}\n\t}", "title": "" }, { "docid": "7c9fe8ab42862bb006698e56fffb7b32", "score": "0.50731367", "text": "@Test\n public void test66() throws Throwable {\n CombinedRangeXYPlot combinedRangeXYPlot0 = new CombinedRangeXYPlot();\n Color color0 = (Color)combinedRangeXYPlot0.getDomainZeroBaselinePaint();\n XYLineAndShapeRenderer xYLineAndShapeRenderer0 = new XYLineAndShapeRenderer();\n BasicStroke basicStroke0 = (BasicStroke)xYLineAndShapeRenderer0.getItemStroke(2991, 0, false);\n IntervalMarker intervalMarker0 = new IntervalMarker((double) 0, 0.0, (Paint) color0, (Stroke) basicStroke0, (Paint) color0, (Stroke) basicStroke0, (float) 0);\n Layer layer0 = Layer.FOREGROUND;\n xYLineAndShapeRenderer0.setUseFillPaint(true);\n boolean boolean0 = combinedRangeXYPlot0.removeDomainMarker(0, (Marker) intervalMarker0, layer0, true);\n combinedRangeXYPlot0.setDomainCrosshairLockedOnData(false);\n combinedRangeXYPlot0.configureRangeAxes();\n boolean boolean1 = combinedRangeXYPlot0.isDomainCrosshairLockedOnData();\n float[] floatArray0 = new float[4];\n floatArray0[0] = (float) 2991;\n floatArray0[1] = (float) 0;\n floatArray0[2] = (float) 0;\n floatArray0[3] = (float) 2991;\n Kernel kernel0 = new Kernel(2991, 0, floatArray0);\n Font font0 = CategoryPlot.DEFAULT_VALUE_LABEL_FONT;\n JFreeChart jFreeChart0 = new JFreeChart(\"]rux/yi-6h<EJV@8I\", font0, (Plot) combinedRangeXYPlot0, false);\n RenderingHints renderingHints0 = jFreeChart0.getRenderingHints();\n ConvolveOp convolveOp0 = new ConvolveOp(kernel0, 2991, renderingHints0);\n ChartRenderingInfo chartRenderingInfo0 = new ChartRenderingInfo();\n // Undeclared exception!\n try { \n jFreeChart0.createBufferedImage(0, (-721), chartRenderingInfo0);\n } catch(IllegalArgumentException e) {\n //\n // Width (0) and height (-721) cannot be <= 0\n //\n assertThrownBy(\"java.awt.image.DirectColorModel\", e);\n }\n }", "title": "" }, { "docid": "a952f8b36eec9aa3c5f92f6005409e4d", "score": "0.50700396", "text": "private void showChart(PieChart mChart, PieData mData) {\n\t\tmChart.setHoleColorTransparent(true);\n\t\tmChart.setHoleRadius(60f);// \n\t\tmChart.setTransparentCircleRadius(64f);// \n\t\tmChart.setDescription(\"跌倒地点分布图\");\n\t\tmChart.setDrawCenterText(true);// \n\t\tmChart.setDrawHoleEnabled(true);\n\t\tmChart.setTouchEnabled(true);\n\t\tmChart.setRotationAngle(90);// \n\t\tmChart.setRotationEnabled(true);//\n\t\tmChart.setUsePercentValues(true);// \n\t\tmChart.setCenterText(\"跌到地点\");\n\t\t\n\t\tmChart.setData(mData);\n\t\tLegend mLegend = mChart.getLegend();//\n\t\tmLegend.setPosition(LegendPosition.RIGHT_OF_CHART);//\n\t\tmLegend.setXEntrySpace(7f);\n\t\tmLegend.setYEntrySpace(5f);\n\t\tmChart.animateXY(1000, 1000);// \n\t}", "title": "" }, { "docid": "b9f53e200deb69d02e193a4146f4a98c", "score": "0.5068956", "text": "public void create3DMap()\r\n\t{\r\n\t\t// On initialise la map qu'on va renvoyer\r\n\t\tList<List<Integer>> mapToReturn = new ArrayList<List<Integer>>();\r\n\t\t\r\n\t\t// On parcourt chaque ligne de la map 3D\r\n\t\tfor(int i_idRow = 0 ; i_idRow < (i_heightMap + i_widthMap - 1) ; i_idRow ++)\r\n\t\t{\r\n\t\t\t// On ajoute une nouvelle ligne a la map\r\n\t\t\tmapToReturn.add(new ArrayList<Integer>());\t\r\n\t\t\t\r\n\t\t\t// On parcourt chaque colonne de la map 3D\r\n\t\t\tfor(int i_idColumn = 0 ; i_idColumn < (i_heightMap + i_widthMap)/2 ; i_idColumn++)\r\n\t\t\t{\r\n\t\t\t\t// Si on est dans la zone ou se situe la map 2D\r\n\t\t\t\tif(listIntegerStopTransfo.get(i_idRow) >= i_idColumn && listIntegerBeginTransfo.get(i_idRow) <= i_idColumn)\r\n\t\t\t\t{\r\n\r\n\t\t\t\t\t// On cree le point 3D\r\n\t\t\t\t\tPoint point3D = new Point(i_idColumn,i_idRow);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// On cree le point 2D\r\n\t\t\t\t\tPoint point2D = convert3DTo2D(point3D); \r\n\t\t\t\t\t\r\n\t\t\t\t\t// On ajoute le point\r\n\t\t\t\t\tmapToReturn.get(i_idRow).add(map2D.getMap().get(point2D.y).get(point2D.x));\t\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\t// On ajoute une case de \"vide\"\r\n\t\t\t\t\tmapToReturn.get(i_idRow).add(0);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// On met a jour la map 3D\r\n\t\tmap3D.setMap(mapToReturn);\r\n\t}", "title": "" }, { "docid": "a13959c792fee28958aad8fe9c6f62b5", "score": "0.50575477", "text": "public boolean isClustered() {\n return chart.diagram == null && vis.fX.size() > 1;\n }", "title": "" }, { "docid": "206fec090a72cb2f7776e6b7bbb07af3", "score": "0.50546753", "text": "public WrapLoaderInfo3D(String fn, int adaptNo)\n // construct the 3D canvas\n {\n this.adaptNo = adaptNo;\n setLayout(new BorderLayout());\n setOpaque(false);\n setPreferredSize(new Dimension(PWIDTH, PHEIGHT));\n GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();\n Canvas3D canvas3D = new Canvas3D(config);\n add(\"Center\", canvas3D);\n canvas3D.setFocusable(true); // give focus to the canvas\n canvas3D.requestFocus();\n su = new SimpleUniverse(canvas3D);\n // j3dTree = new Java3dTree(); // create a display tree for the SG\n createSceneGraph(fn);\n initUserPosition(); // set user's viewpoint\n orbitControls(canvas3D); // controls for moving the viewpoint\n su.addBranchGraph(sceneBG);\n // j3dTree.updateNodes( su ); // build the tree display window\n }", "title": "" }, { "docid": "426fc91fb1ffc6ab11c7de64d202a8d0", "score": "0.50515157", "text": "@JsMethod\n public native void morphTo3D();", "title": "" }, { "docid": "fd599c5c08ebc3c696adb28084eae716", "score": "0.5050684", "text": "@Override\n public String toString() {\n return \"Point3D [x=\" + x + \", y=\" + y + \", z=\" + z + \"]\";\n }", "title": "" }, { "docid": "1604598120227e581c3f05b12b1c8bc0", "score": "0.50439507", "text": "public ShadowApp (){\r\n setLayout(new BorderLayout());\r\n GraphicsConfiguration config =\r\n SimpleUniverse.getPreferredConfiguration();\r\n\r\n Canvas3D canvas3D = new Canvas3D(config);\r\n add(\"Center\", canvas3D);\r\n \r\n BranchGroup scene = new BranchGroup();\r\n\r\n Shape3D plane = new LitQuad(new Point3f(-0.3f, 0.6f, 0.2f),\r\n new Point3f(-0.3f,-0.3f, 0.2f),\r\n new Point3f( 0.6f,-0.3f, -0.3f),\r\n new Point3f( 0.6f, 0.6f, -0.3f));\r\n scene.addChild(plane);\r\n\r\n Shape3D floor = new LitQuad(new Point3f(-1.0f, -0.5f, -1.0f),\r\n new Point3f(-1.0f, -0.5f, 1.0f),\r\n new Point3f( 1.0f, -0.5f, 1.0f),\r\n new Point3f( 1.0f, -0.5f, -1.0f));\r\n scene.addChild(floor);\r\n\r\n\r\n AmbientLight lightA = new AmbientLight();\r\n lightA.setInfluencingBounds(new BoundingSphere());\r\n scene.addChild(lightA);\r\n\r\n DirectionalLight lightD1 = new DirectionalLight();\r\n lightD1.setInfluencingBounds(new BoundingSphere());\r\n Vector3f direction = new Vector3f(-1.0f, -1.0f, -1.0f);\r\n direction.normalize();\r\n lightD1.setDirection(direction);\r\n scene.addChild(lightD1);\r\n\r\n Shape3D shadow = new SimpleShadow((GeometryArray) plane.getGeometry(),\r\n direction,\r\n new Color3f( 0.2f, 0.2f, 0.2f),\r\n -0.5f);\r\n scene.addChild(shadow);\r\n\r\n\r\n SimpleUniverse u = new SimpleUniverse(canvas3D);\r\n\r\n // This will move the ViewPlatform back a bit so the\r\n // objects in the scene can be viewed.\r\n u.getViewingPlatform().setNominalViewingTransform();\r\n\r\n u.addBranchGraph(scene);\r\n }", "title": "" }, { "docid": "24c26cec0ac306b498a8f9df87f5a1cf", "score": "0.5036522", "text": "@Test\n public void test18() throws Throwable {\n NumberAxis3D numberAxis3D0 = new NumberAxis3D(\"3g~UfU:Ul\");\n numberAxis3D0.setLabelURL(\"pmz[J|*g\");\n CombinedRangeXYPlot combinedRangeXYPlot0 = new CombinedRangeXYPlot((ValueAxis) numberAxis3D0);\n Range range0 = numberAxis3D0.getRange();\n numberAxis3D0.setTickMarkOutsideLength((-747.0F));\n LegendItemCollection legendItemCollection0 = combinedRangeXYPlot0.getLegendItems();\n combinedRangeXYPlot0.setWeight(1);\n combinedRangeXYPlot0.setDataset(0, (XYDataset) null);\n numberAxis3D0.zoomRange(0, 1);\n Rectangle2D.Double rectangle2D_Double0 = new Rectangle2D.Double();\n CategoryPlot categoryPlot0 = new CategoryPlot();\n categoryPlot0.setRangeZeroBaselineVisible(false);\n AxisLocation axisLocation0 = categoryPlot0.getRangeAxisLocation(0);\n Color color0 = (Color)MeterPlot.DEFAULT_VALUE_PAINT;\n categoryPlot0.setRangeZeroBaselinePaint(color0);\n AxisLocation axisLocation1 = axisLocation0.getOpposite();\n combinedRangeXYPlot0.setDomainAxisLocation(axisLocation0);\n boolean boolean0 = combinedRangeXYPlot0.isDomainPannable();\n Layer layer0 = Layer.BACKGROUND;\n Collection collection0 = combinedRangeXYPlot0.getRangeMarkers(1, layer0);\n Point2D.Double point2D_Double0 = new Point2D.Double();\n point2D_Double0.x = 0.0;\n point2D_Double0.x = (double) 1;\n }", "title": "" }, { "docid": "5783bc13afe866f12e7e8f215398d72a", "score": "0.503534", "text": "public Point3D(int x, int y, int z) {\r\n this.x = x;\r\n this.y = y;\r\n this.z = z;\r\n }", "title": "" }, { "docid": "25cb6cc46be338b29089f7393fa755d9", "score": "0.503128", "text": "public idx3d_Object()\r\n\t\t{\r\n\t\t}", "title": "" }, { "docid": "c75925207fa86f507c6fd017e8d32f95", "score": "0.50301516", "text": "public AlgorithmEdgeDetection3D() { }", "title": "" }, { "docid": "c9f71bf86b7e03e0814bb3d1104b8216", "score": "0.5021209", "text": "private TransformGroup createZAxis()\n {\n Transform3D axisTrans = new Transform3D();\n axisTrans.rotX(-Math.PI/2.0d);\n Transform3D zTrans = new Transform3D();\n zTrans.rotY(Math.PI/2.0d);\n axisTrans.mul(zTrans);\n Transform3D fontTrans = new Transform3D();\n fontTrans.rotZ(Math.PI/2.0d);\n\n return createAxis(zAxisLabel, new Color3f(1f, 0.3f, 1f), axisTrans, fontTrans);\n }", "title": "" }, { "docid": "b7e5044e20c7824a3b7e8a9a8d2f3c13", "score": "0.501484", "text": "private Vect3D transformToGraphics(final Vect3D p)\n {\n\n final Vect3D newP = new Vect3D();\n\n newP.x = p.x + (width / 2.0);\n newP.z = -(p.z - (height / 2.0));\n\n return newP;\n }", "title": "" }, { "docid": "fbf48b0e90b2d6ffdc26ace678082815", "score": "0.5013761", "text": "@Override\n public void initialize(URL url, ResourceBundle rb) {\n \n// final NumberAxis yAxis = new NumberAxis();\n// final CategoryAxis xAxis = new CategoryAxis();\n// \n//// xAxis.setTickLabelRotation(90);\n// \n prueba.getYAxis().setTickLabelRotation(270);\n prueba.getXAxis().setTickLabelRotation(270);\n \n \n XYChart.Series series1 = new XYChart.Series();\n series1.getData().add(new XYChart.Data(\"Ejemplo\",50));\n series1.getData().add(new XYChart.Data(\"Ejemplo2\",80));\n series1.getData().add(new XYChart.Data(\"Ejemplo3\",60));\n \n prueba.getData().addAll(series1);\n \n \n//stage.setTitle(\"Bar Chart Sample\");\n// final NumberAxis xAxis = new NumberAxis();\n// final CategoryAxis yAxis = new CategoryAxis();\n// final BarChart<Number,String> bc = \n// new BarChart<Number,String>(xAxis,yAxis);\n// bc.setTitle(\"Country Summary\");\n// xAxis.setLabel(\"Value\"); \n// xAxis.setTickLabelRotation(90);\n// yAxis.setLabel(\"Country\");\n//\n// Scene scene = new Scene(bc,800,600);\n// bc.getData().addAll(series1, series2, series3);\n// stage.setScene(scene);\n// stage.show();\n }", "title": "" }, { "docid": "5aa77a94bb58054b0109e73862d2825f", "score": "0.5013169", "text": "public void setSide3(double side3) {\n\t\tthis.side3 = side3;\n\t}", "title": "" }, { "docid": "3900dc0de595dde15f69d8ecb5b23c7b", "score": "0.50115633", "text": "public void setside3(double side3){\r\n\t\tthis.side3 = side3;\r\n\t}", "title": "" }, { "docid": "416df6743ae2f0f5242de331e7277a8a", "score": "0.50106865", "text": "@Override\n public void onRendererStart() {\n // Create the 3d ar scene, and display the point clouds.\n mScene = new ARScene();\n mScene.displayPointCloud(true);\n\n // Create an TrackedPlanesController to visually display tracked planes\n TrackedPlanesController controller = new TrackedPlanesController(this, mViroView);\n\n // Spawn a 3D Droid on the position where the user has clicked on a tracked plane.\n controller.addOnPlaneClickListener(new ClickListener() {\n @Override\n public void onClick(int i, Node node, Vector clickPosition) {\n createDroidAtPosition(clickPosition);\n }\n\n @Override\n public void onClickState(int i, Node node, ClickState clickState, Vector vector) {\n //No-op\n }\n });\n\n mScene.setListener(controller);\n mViroView.setScene(mScene);\n }", "title": "" }, { "docid": "840aa78185bb52747abe282189603ea5", "score": "0.5008405", "text": "public void setF3(Float f3) {\r\n this.f3 = f3;\r\n }", "title": "" }, { "docid": "0684e0beb94ad533389e0da9157b6131", "score": "0.50058323", "text": "public void autoscaleAxes();", "title": "" }, { "docid": "e8f0d688df258e1b2a37914447a64a5a", "score": "0.5003172", "text": "public static void plotVAFGenomeWide(XYDataset xyDataset, String outFilenameRoot, String sampleName, boolean isTumor) {\r\n\t\tString xAxisLabel = GenomeWideXAxisLabel;\r\n\t\tString yAxisLabel = \"Variant Allele Fraction (VAF)\";\r\n\t\t\r\n\t\tint periodIndex = sampleName.indexOf(\".\");\t\t\t\t\r\n\t\tString title = ((periodIndex >= 0) ? sampleName.substring(0, periodIndex) : sampleName) + (isTumor ? \" [Tumor]\" : \" [Normal]\");\r\n\t\t\r\n\t\t//+ \"\\n\" + ChromTitleString;\r\n\t\t\r\n\t\tboolean showLegend = true;\r\n\t\tJFreeChart theChart = \r\n\t\t\t\tChartFactory.createScatterPlot(title, xAxisLabel, yAxisLabel, xyDataset, PlotOrientation.VERTICAL, showLegend, false, false);\r\n\t\tXYPlot xyPlot = (XYPlot) theChart.getPlot();\r\n\t\t//theChart.addSubtitle(getChromSubtitle());\r\n\t\ttheChart.getTitle().setMargin(0, 0, 10, 0);\r\n\t\ttheChart.getTitle().setFont(new Font(\"Arial\", Font.BOLD, 32));\r\n\t\t\r\n\t\tXYItemRenderer itemRenderer = ClusteringPlotting.getXYItemRendererHelper(CopyNumberVAFPlotPointSize);\t\t\r\n\t\tsetSeriesPaintPerCluster(itemRenderer, xyDataset, EventType.class, ColorPastelForEnumEventType);\r\n\t\txyPlot.setRenderer(itemRenderer);\t\t\r\n\t\txyPlot.addRangeMarker(new ValueMarker(0.5));\r\n\t\t\r\n\t\txyPlot.setBackgroundPaint(ColorPastel.White.getColor());\r\n\t\txyPlot.setDomainGridlinePaint(Color.white);\r\n\t\txyPlot.setRangeGridlinePaint(Color.white);\r\n\t\t\t\t\r\n\t\tdouble maxValueY = 1.0;\r\n\t\tformatXYPlotBackground(xyPlot, maxValueY, true, 0.04, 0.02);\r\n\t\t\r\n\t\tformatLegendItems(xyPlot);\r\n\t\t\r\n\t\tif (showLegend) {\r\n\t\t\tLegendTitle legendTitle = theChart.getLegend();\r\n\t\t\tlegendTitle.setID(\"Clusters\");\r\n\t\t\tlegendTitle.setItemFont(new Font(\"Arial\", Font.BOLD, 32));\r\n\t\t}\r\n\t\r\n\t\txyPlot.getRangeAxis().setRange(0, 1.04);\t\t\r\n\t\txyPlot.getDomainAxis().setRange(0, ArrayUtils.getLastElement(Chrom.Autosomes).calculateGenomeWidePositionEnd() / GenomeWidePositionDivisor);\r\n\t\t\r\n\t\tFont rangeAxisLabelFont = new Font(\"Arial\", Font.BOLD, 32);\r\n\t\tFont rangeAxisTickFont = new Font(\"Arial\", Font.BOLD, 20);\r\n\r\n\t\t//xyPlot.getDomainAxis().setTickLabelsVisible(false);\r\n\t\txyPlot.getRangeAxis().setLabelFont(rangeAxisLabelFont);\t\t\r\n\t\txyPlot.getRangeAxis().setTickLabelFont(rangeAxisTickFont);\r\n\t\txyPlot.getDomainAxis().setLabelFont(rangeAxisLabelFont);\r\n\t\txyPlot.getDomainAxis().setTickLabelFont(rangeAxisTickFont);\t\r\n\t\tGraphUtils.saveChartAsPNG(outFilenameRoot, theChart, 2400, 800);\r\n\t}", "title": "" }, { "docid": "6b1dc6c7b5865551a40ca049d4913c92", "score": "0.5001573", "text": "private JFreeChart createChart(XYDataset dataset) {\n// create the chart:\nJFreeChart chart = ChartFactory.createXYLineChart(\"Action Graph\", \"Clock Ticks\", null, dataset, PlotOrientation.VERTICAL, true, true, false);\nchart.setBackgroundPaint(Color.WHITE);\nXYPlot plot = (XYPlot) chart.getPlot();\nplot.getRenderer().setToolTipGenerator(new ActionGraphToolTipGenerator());\nplot.setBackgroundPaint(new Color(0xFF, 0xFF, 0xCC));\nplot.setAxisOffset(new RectangleInsets(5.0, 5.0, 5.0, 5.0));\nplot.setDomainGridlinePaint(Color.BLACK);\nplot.setRangeGridlinePaint(Color.BLACK);\nValueAxis rangeAxis = plot.getRangeAxis();\nrangeAxis.setTickLabelsVisible(false);\nrangeAxis.setTickMarksVisible(false);\nrangeAxis.setAxisLineVisible(false);\nrangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());\nplot.getDomainAxis().setStandardTickUnits(NumberAxis.createIntegerTickUnits());\nXYLineAndShapeRenderer renderer = (XYLineAndShapeRenderer)plot.getRenderer();\nrenderer.setShapesVisible(true);\nrenderer.setShapesFilled(true);\n\n// change the auto tick unit selection to integer units only:\nNumberAxis domainAxis = (NumberAxis) plot.getDomainAxis();\ndomainAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());\n\nreturn chart;\n}", "title": "" }, { "docid": "59326ae76189cc09c44cf010bc481486", "score": "0.5000182", "text": "private void initialize() {\n\t\t\tDefaultComponents expenseTracker = new DefaultComponents();\r\n\t\t\tfrmMonthlyGraphical3DChart = expenseTracker.getMainFrame();\r\n\t\t\tlblMain = expenseTracker.getMainLabel();\r\n\t\t\tbtnMain = expenseTracker.getMainButton();\r\n\t\t\tbtnHome = expenseTracker.getHomeButton();\r\n\t\t\t\r\n\t\t\tlblDatumVon = new JLabel(\"Date From:\");\r\n\t\t\tlblDatumVon.setBounds(150, 70, 100, 25);\r\n\t\t\ttxtDatumVon = new JTextField();\r\n\t\t\ttxtDatumVon.setBounds(275, 70, 80, 25);\t\r\n\t\t\ttxtDatumVon.setText(vonDate);\r\n\t\t\ttxtDatumVon.setEnabled(false);\r\n\t\t\t\r\n\t\t\tlblDatumBis = new JLabel(\"Date Till:\");\r\n\t\t\tlblDatumBis.setBounds(450, 70, 100, 25);\r\n\t\t\ttxtDatumBis = new JTextField();\r\n\t\t\ttxtDatumBis.setBounds(575, 70, 80, 25);\r\n\t\t\ttxtDatumBis.setText(bisDate);\r\n\t\t\ttxtDatumBis.setEnabled(false);\r\n\t\t\t\r\n\t\t\tgetCharPane();\r\n\t\t\t\r\n\t\t\tbtnBack = new JButton(\"BACK\");\r\n\t\t\tbtnBack.setBounds(320, 700, 150, 30);\r\n\t\t\tbtnBack.addActionListener(new ActionListener() {\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\tfrmMonthlyGraphical3DChart.dispose();\r\n\t\t\t\t\tgetFrmStatiticsReport().setVisible(true);\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tbtnJPG = new JButton(\"Get As Jpeg\");\r\n\t\t\tbtnJPG.setBounds(600, 120, 150, 25);\r\n\t\t\tbtnJPG.addActionListener(new ActionListener() {\r\n\t\t\t\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\tint width = 640; /* Width of the image */\r\n\t\t\t\t int height = 480; /* Height of the image */ \r\n\t\t\t\t String fileName = \"C:\\\\h\\\\3DChart\"+UUID.randomUUID()+\".jpeg\";\r\n\t\t\t\t File lineChartFile = new File( fileName ); \r\n\t\t\t\t try {\r\n\t\t\t\t\t\tChartUtilities.saveChartAsJPEG(lineChartFile ,getthreeDChart(), width ,height);\r\n\t\t\t\t\t} catch (IOException ex) {\r\n\t\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\t\tex.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t lblMessage.setText(\"Line Chart stored in location C:\\\\h\");\r\n\t\t\t\t lblMessage.setFont(new Font(\"Arial\", Font.BOLD, 16));\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tlblMessage = new JLabel();\r\n\t\t\tlblMessage.setBounds(275, 735, 500, 30);\r\n\t\t\t\r\n\t\t\tfrmMonthlyGraphical3DChart.add(lblMain);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(btnMain);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(btnHome);\r\n\t\t\t\r\n\t\t\tfrmMonthlyGraphical3DChart.add(lblDatumVon);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(txtDatumVon);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(lblDatumBis);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(txtDatumBis);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(btnJPG);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(lblMessage);\r\n\t\t\tfrmMonthlyGraphical3DChart.getContentPane().add(chartPanel);\r\n\t\t\tfrmMonthlyGraphical3DChart.add(btnBack);\t\r\n\t\t\tRefineryUtilities.centerFrameOnScreen(frmMonthlyGraphical3DChart);\r\n\t\t\tsetfrmMonthlyGraphical3DChart(frmMonthlyGraphical3DChart);\r\n\t}", "title": "" }, { "docid": "574fa43077763648958ac19849817de2", "score": "0.4998912", "text": "public boolean isOpaqueCube() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "52627912bb7088af3b5835a0036a3f35", "score": "0.49977538", "text": "@Test\n public void test80() throws Throwable {\n NumberAxis3D numberAxis3D0 = new NumberAxis3D();\n CombinedRangeXYPlot combinedRangeXYPlot0 = new CombinedRangeXYPlot((ValueAxis) numberAxis3D0);\n CategoryAxis3D categoryAxis3D0 = new CategoryAxis3D(\")C#EhcT!sm)-5#\");\n categoryAxis3D0.addChangeListener(combinedRangeXYPlot0);\n RectangleInsets rectangleInsets0 = categoryAxis3D0.getLabelInsets();\n String string0 = rectangleInsets0.toString();\n combinedRangeXYPlot0.setAxisOffset(rectangleInsets0);\n // Undeclared exception!\n try { \n combinedRangeXYPlot0.setBackgroundImageAlpha(464.0F);\n } catch(IllegalArgumentException e) {\n //\n // The 'alpha' value must be in the range 0.0f to 1.0f.\n //\n assertThrownBy(\"org.jfree.chart.plot.Plot\", e);\n }\n }", "title": "" }, { "docid": "5ec48d0646f3d444b1eddfa0a2a59a60", "score": "0.49959677", "text": "public void setZD3(java.lang.String ZD3) {\r\n this.ZD3 = ZD3;\r\n }", "title": "" }, { "docid": "b8b002d9fa5f0cdd25594ec717099aab", "score": "0.4991262", "text": "private void setUpPieChart() {\n setData(4,85);\n chartPie.setUsePercentValues(true);\n chartPie.getDescription().setEnabled(false);\n chartPie.setExtraOffsets(5, 10, 5, 5);\n\n chartPie.setDragDecelerationFrictionCoef(0.95f);\n\n chartPie.setCenterTextTypeface(tfLight);\n chartPie.setCenterText(generateCenterSpannableText());\n\n chartPie.setExtraOffsets(20.f, 0.f, 20.f, 0.f);\n\n chartPie.setDrawHoleEnabled(true);\n chartPie.setHoleColor(Color.WHITE);\n\n chartPie.setTransparentCircleColor(Color.WHITE);\n chartPie.setTransparentCircleAlpha(110);\n\n chartPie.setHoleRadius(58f);\n chartPie.setTransparentCircleRadius(61f);\n\n chartPie.setDrawCenterText(true);\n\n chartPie.setRotationAngle(0);\n // enable rotation of the chart by touch\n chartPie.setRotationEnabled(true);\n chartPie.setHighlightPerTapEnabled(true);\n\n // chart.setUnit(\" €\");\n // chart.setDrawUnitsInChart(true)\n chartPie.animateY(1400, Easing.EaseInOutQuad);\n // chart.spin(2000, 0, 360);\n\n chartPie.setEntryLabelColor(Color.WHITE);\n chartPie.setEntryLabelTypeface(tfRegular);\n chartPie.setEntryLabelTextSize(12f);\n\n Legend l = chartPie.getLegend();\n l.setVerticalAlignment(Legend.LegendVerticalAlignment.TOP);\n l.setHorizontalAlignment(Legend.LegendHorizontalAlignment.RIGHT);\n l.setOrientation(Legend.LegendOrientation.VERTICAL);\n l.setDrawInside(false);\n l.setEnabled(false);\n }", "title": "" }, { "docid": "2bc0bf1cfe8a4f04b236e3a78665da41", "score": "0.49881887", "text": "public void maPlot(Container p);", "title": "" } ]
efcecb5cf4e244cd945d2b96a6ea781e
var btn1 = document.getElementsByTagName('a')[1]; btn1.click()
[ { "docid": "57d13a2dd4f08b50fcbcf5e987cabf13", "score": "0.6458964", "text": "@Test(description = \"Click with JS executor\")\n public void test3(){\n driver.get(\"http://practice.cybertekschool.com/dynamic_loading\");\n //Example 1 is a beginning of the phrase <a href='http:'>Example 1.....</a>\n WebElement link1 = driver.findElement(By.partialLinkText(\"Example 1\"));\n BrowserUtils.wait(2);//wait for demo\n JavascriptExecutor js = (JavascriptExecutor) driver;\n //arguments[0] = link1 web element\n //whenever regular selenium methods are not working, I use js executor\n //or for scrolling\n //arguments[0].click() is an alternative for link1.click()\n js.executeScript(\"arguments[0].click()\", link1);\n BrowserUtils.wait(2);//wait for demo\n }", "title": "" } ]
[ { "docid": "3be16ce00bf889f7d66f78a7aec1f962", "score": "0.6843664", "text": "public void click();", "title": "" }, { "docid": "7a51bdcad15954eb8129e4da5106fe52", "score": "0.6807318", "text": "public void click() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d94aaea298392d854ce31a2a56baf0fb", "score": "0.676135", "text": "public void click() {\n\t}", "title": "" }, { "docid": "73223ece93df004776e45a2814b4409d", "score": "0.6733497", "text": "public void click() {\n\t\tclick(1);\n\t}", "title": "" }, { "docid": "1c55792c9aaa4820c99df289df0d625f", "score": "0.6355535", "text": "public void click(WebElement element);", "title": "" }, { "docid": "ae686cacb35cdf02f939739978fa2eaa", "score": "0.62844884", "text": "public void clickOnGoToTheProductPageButton(){\n clickOn(b_GoToTheProductPage);\n }", "title": "" }, { "docid": "e463e6550ab96b6daa674c4ef21a636d", "score": "0.6281471", "text": "public void click(){\n robot.mousePress(InputEvent.BUTTON1_MASK);\n robot.mouseRelease(InputEvent.BUTTON1_MASK);\n }", "title": "" }, { "docid": "f759e157765edf722ee54d9b458113fb", "score": "0.61664706", "text": "public void myAccountbtn() throws Exception{\n WebElement elem1= driver.findElement(By.xpath(\"/html/body/main/div/header/div[2]/div/div/div[4]/div/div[2]/button/i\"));\n wait.until(ExpectedConditions.elementToBeClickable((elem1)));\n elem1.click();\n WebElement elem= driver.findElement(By.xpath(\"/html/body/main/div/header/div[2]/div/div/div[4]/div/div[2]/div/ul/li[2]/a\"));\n wait.until(ExpectedConditions.elementToBeClickable((elem)));\n elem.click();\n Thread.sleep(3000);\n }", "title": "" }, { "docid": "67a33054d7d9f0d12a70f24f2c3d071e", "score": "0.6165838", "text": "public void clickOnCart(){\n cartButton.click();\n }", "title": "" }, { "docid": "0b508f996e5c3f8c260d039d27919da4", "score": "0.61309296", "text": "public void clickOnElement(WebElement element) {\n element.click();\n\n\n }", "title": "" }, { "docid": "4c8544ee3c2ff91882f012760c03f730", "score": "0.612066", "text": "@Override\n\tpublic void onClick() {\n\t\tclicker.onClick();\t\t\n\t}", "title": "" }, { "docid": "0e04c459409fc14125451ee274740275", "score": "0.6095373", "text": "public void clickOnAddToCartButton(){\n clickOn(b_AddToCart);\n }", "title": "" }, { "docid": "d90952685d435bc14260ddc94513afb7", "score": "0.6059162", "text": "private void click(WebElement elecreate) {\n\t\t\r\n\t}", "title": "" }, { "docid": "1a0aa12cfd4f54c145f20038784cba60", "score": "0.6049609", "text": "public void actionClick(By locator) {\n WebElement element = webDriver.findElement(locator);\n JavascriptExecutor executor = (JavascriptExecutor)webDriver;\n executor.executeScript(\"arguments[0].click();\", element);\n }", "title": "" }, { "docid": "6deb482ab23848408d5f8e7842d8b58e", "score": "0.5991936", "text": "public static void clickOn(WebDriver driver, By locator) {\n\tdriver.findElement(locator).click();\n\t\n}", "title": "" }, { "docid": "04df012da9ac1ba4206e2f8f133d848e", "score": "0.5965619", "text": "public void clicksearch() \n\t{\n\t WebElement searchbutton = driver.findElement(By.xpath(\"//*[@id=\\\"haFormQuickSearch\\\"]/div/div[3]/button\"));\n searchbutton.click();\n \n\t}", "title": "" }, { "docid": "0539e9b20f9f9ebc6f5c70f66fa678e6", "score": "0.595782", "text": "public void clickNews() {\n\t\tnews().click();\n\t}", "title": "" }, { "docid": "9aa0bf186749f7805f80b18f3efc1961", "score": "0.5932628", "text": "@Override\n\tpublic void buttonClick(String action) {\n\t\t\n\t}", "title": "" }, { "docid": "6a361663b85b55291b353c2da89037e8", "score": "0.5927847", "text": "public void clickByName(String name){\n\t\t\n\t\ttry {\n\t\t\tdriver.findElementByName(name).click();\n\t\t\tReporter.reportStep(\"Successfully click the button\", \"PASS\");\n\t\t} catch (NoSuchElementException e) {\t\t\t\n\t\t\tSystem.out.println(\"No such element is found at the Name\" + name);\t\t\t\n\t\t}catch (WebDriverException e){\n\t\t\tSystem.out.println(\"WebDriver Exception\"+e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "7332636d86ea74b3792c3e16d25475f7", "score": "0.59184265", "text": "public void onClick(Button button) {\n }", "title": "" }, { "docid": "9cd8e2b7e2d0e9971a56c07d6acd8131", "score": "0.59047437", "text": "public void click(String locator){\r\n\t\t\r\n //driver.findElement(By.id(OR.getProperty(locator))).click();\r\n\t\t\r\n WebElement element=checkFindElement(locator);\r\n \telement.click();\r\n }", "title": "" }, { "docid": "337821f1b12e6f6165820ad108ebae81", "score": "0.5889229", "text": "public Alias1Page clickPressLink() {\n press.click();\n return this;\n }", "title": "" }, { "docid": "31a9a54fe236b62785771cb0853d8659", "score": "0.586643", "text": "public void doClick() {\n\trunMapping(new MapVoidAction(\"doClick\") {\n\t\tpublic void map() {\n\t\t ((AbstractButton)getSource()).doClick();\n\t\t}});}", "title": "" }, { "docid": "60e7fc49cefb677309c7bcfc9537f494", "score": "0.5841705", "text": "public void click(By locator){\n locateElement(locator).click();\n }", "title": "" }, { "docid": "6fff85851b5c12795444b847426e173f", "score": "0.583332", "text": "public abstract void click();", "title": "" }, { "docid": "db056cac02e2e41e282b6af19cec0016", "score": "0.5827991", "text": "private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {\n}", "title": "" }, { "docid": "e9398aeefc5800d192b2b7a37fe38d00", "score": "0.5801449", "text": "public void afterClickOn(WebElement arg0, WebDriver arg1) {\n\t\t\n\t}", "title": "" }, { "docid": "d8b68904e9e30b91013b0e15d4535760", "score": "0.5780326", "text": "public static void click(WebElement webElement){\n try{\n webElement.click();\n }catch (Exception e) {\n // Log.error(\"Exception in click method :\"+ e.getMessage());\n }\n }", "title": "" }, { "docid": "0d7d1e74a40e88520800d359057b03ff", "score": "0.5779587", "text": "public void clickGenerateBtn() {\n generateBtn.click();\n }", "title": "" }, { "docid": "d40da41ab8054b4f0b78672185fd26e5", "score": "0.5779449", "text": "public static void jsClick(WebElement element)\r\n\r\n\t{\r\n\r\n\t\tJavascriptExecutor executor = (JavascriptExecutor)driver;\r\n\r\n\t\texecutor.executeScript(\"arguments[0].click();\", element);\r\n\r\n\r\n\r\n\t}", "title": "" }, { "docid": "cab305361da5ab3bac47e09d91e95ce3", "score": "0.5773663", "text": "public void clickOnLinkVhod() {\n actionsWithOurElements.clickOnElement(linkVhod);\n }", "title": "" }, { "docid": "915e6ba578d5bda045d3cf8a654fe086", "score": "0.5763039", "text": "public void clickOnOurCharity()\r\n\t{\r\n\t\tourcharity.click();\r\n\t}", "title": "" }, { "docid": "c7fd424af7357a1b5c4f00ce350d4f44", "score": "0.5760514", "text": "public void pr(){\r\nSystem.out.println(\"inn profile\");\r\nWebElement e_id=e.clickable(profile, 20);\r\ne_id.click();\r\n}", "title": "" }, { "docid": "d6a2c11192804b899ebefbde7da3db98", "score": "0.57560503", "text": "public void doClick(By locator) {\n\t\tgetElement(locator).click();\n\t}", "title": "" }, { "docid": "9c57b305c10e3480f1145f83d93c56dc", "score": "0.5744429", "text": "public void Click_Asset()\n\t{\n\t\tAssetbutt.click();\n\t\t\n\t}", "title": "" }, { "docid": "efd15e6afdd049222878dac7ecf106c2", "score": "0.5742574", "text": "public void clickSearch() {\n $(searchBtn).click();\n }", "title": "" }, { "docid": "14f820e4d0768a60130a65775e867c37", "score": "0.5739525", "text": "public void clickOnElement(WebElement element) {\n element.click();\n }", "title": "" }, { "docid": "bcf31e13fb769a20822529c8cec74a8f", "score": "0.5739284", "text": "public void ClickOurPlans(){\n Reusable_Methods_With_Logger.clickMethod(driver,OurPlansTab,\"Our Plans Tab\",logger);\n }", "title": "" }, { "docid": "b7e875e0960b1bdeeed80abf5bcbab88", "score": "0.57299185", "text": "public static void clickOnElementJavascriptExecutor(WebElement e) \r\n\t{\n\t\t((JavascriptExecutor) driver).executeScript(\"arguments[0].click();\", e);\r\n\t}", "title": "" }, { "docid": "17a27ba3d32c1666682638901d06aba2", "score": "0.57234377", "text": "private void clickNameHyperLink()\n {\n selenium.waitForCondition(\"selenium.browserbot.isNewPageLoaded()\", TIMEOUT_PERIOD);\n selenium.click(JBIIdConstants.JBI_LIST_PAGE_FIRST_ELEM_NAME_LINK_ID);\n selenium.waitForCondition(\"selenium.browserbot.isNewPageLoaded()\", TIMEOUT_PERIOD);\n }", "title": "" }, { "docid": "24af5c0a58ed3c9a2e54b040af45795f", "score": "0.57231325", "text": "public void onClick1(View view) {\r\n\t\t\r\n\t\tIntent i = new Intent(Webpage.this, Amazon.class);\r\n\t\tstartActivity(i);\r\n\r\n\t\tfinish();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "08e596768cd8bc81bd55aa6031a64e06", "score": "0.57170403", "text": "private void clickLink(String linkText){\n driver.findElement(By.linkText(linkText)).click();\r\n\r\n }", "title": "" }, { "docid": "7bdce519154725a3e4b0a53fc0de3ec6", "score": "0.5708028", "text": "public void Loginclick() {\n\t\tdriver.findElement(By.xpath(\"//button[@id= 'login']\")).click();\n\t}", "title": "" }, { "docid": "a295df7bd3ba22ad1f447280d1f35de7", "score": "0.5703855", "text": "public void clickAction() {\n }", "title": "" }, { "docid": "f43ccd27b0bd8d545f941f346ca45e51", "score": "0.56853944", "text": "public void beforeClickOn(WebElement arg0, WebDriver arg1) {\n\t\t\n\t}", "title": "" }, { "docid": "c51231508d7e5e2ee755a2d301a333ef", "score": "0.56806743", "text": "public void clickContinue1(){\n\t\t\r\n\t\tuc_cont1.click();\r\n\t\t//JavascriptExecutor js =(JavascriptExecutor)driver;\r\n\t\t \r\n\t\t//((JavascriptExecutor)driver).executeScript(\"window.scrollTo(0,\"+element.getLocation().y+\")\");\r\n\t\t//js.executeScript(\"window.scrollTo(0,\"element.getLocation().x+\")\");\r\n\t\t\r\n\t\t//js.executeScript(\"window.scrollTo(0, element.getLocation().x+)\");\r\n\t\t//Actions a = new Actions(driver);\r\n\t\t//a.moveToElement(ele).click().perform();\r\n\r\n\t}", "title": "" }, { "docid": "905ade508171f8d28ee15eae11956d0a", "score": "0.5671249", "text": "public void clickOperation(WebElement element) {\n\t\ttry {\n\t\t\texecuteScript(\"arguments[0].click();\", element);\n\t\t\tlog.info(\"To Perform Click Operation on : \" + element);\n\t\t} catch (Exception e) {\n\t\t\tlog.info(\"Not able to click on element : \" + element);\n\t\t}\n\t}", "title": "" }, { "docid": "c83ec61035bf6283902afd4e02dac176", "score": "0.5669228", "text": "public void clickHomeButton() {\r\n\t\tbtn_home().click();\r\n\t}", "title": "" }, { "docid": "8e9ba41698fb702302b9d4e32d7cea47", "score": "0.56641", "text": "@Override\n \tpublic void onClick(View arg0)\n \t{\n \t\tSystem.out.println(\"点击了button1\");\n \t\tToast.makeText(EricMainActivity.this, \"1\", Toast.LENGTH_SHORT).show();\n\n \t}", "title": "" }, { "docid": "871beabcd929e569cb31e9edf0767c4c", "score": "0.56577307", "text": "@Test(priority=9)\r\n\tpublic void click() {\n\t\tsuper.click(\"btn btn-warning\");\r\n\t}", "title": "" }, { "docid": "cb22b6a427d728747c5fe5360c5d5305", "score": "0.5653445", "text": "public void clickByLinkNoSnap(String name) {\n\r\n\t}", "title": "" }, { "docid": "571ba6df36c1f5f01a8047414d835ea2", "score": "0.56435466", "text": "public void clickFirstJobDeleteBtn() {\n waitForAJAXToComplete();\n clickOn(job1deleteBtn);\n }", "title": "" }, { "docid": "105aedbdf84e169fbc0b466b18073409", "score": "0.56304646", "text": "public void click_facebook() {\n }", "title": "" }, { "docid": "b4e870307b0da9ba919cf762a352152e", "score": "0.56272984", "text": "public void afterClickOn(WebElement arg0, WebDriver arg1) {\n\t\t\r\n\t}", "title": "" }, { "docid": "2e7f78cd0cfa8151c01fcab821ef6316", "score": "0.5626385", "text": "public void act()\n {\n click();\n }", "title": "" }, { "docid": "1a37cf54a27e63da3b3a56678e66a391", "score": "0.56142527", "text": "@Test(priority=3)\t\t\n\t public void peformSeachAndClick1stLink() {\t\t\t\t\n\t System.out.println(\"3\");\t\t\t\t\t\t\t\t\n\t }", "title": "" }, { "docid": "7f7d6bd3412ec1e6728449f44235388f", "score": "0.5613436", "text": "public void click(String locator)\r\n\t{\r\n\t\tSystem.out.println(locator);\r\n\t\ttry{\r\n\t\t\t// Call the getElement() method to get the element . Once returned, click on the element\r\n\t\tgetElement(locator).click();\r\n\t\t}\r\n\t\t\r\n\t\tcatch(Exception e)\r\n\t\t{\r\n\t\t\treportFail(e);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4c75caf84cc24c51f06b0789ea0b9cf8", "score": "0.5610502", "text": "@Override\n public void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.activity_main);\n Button b = (Button)findViewById(R.id.btn1);\n b.setOnClickListener(this);\n\n\n }", "title": "" }, { "docid": "8568261aaf0dd7b3caaaf0b633bd0a15", "score": "0.56094396", "text": "public void singleClick() throws Exception {\n\n\t}", "title": "" }, { "docid": "19f5891e265dc2ffff3f08b20701803a", "score": "0.5608449", "text": "protected void click(String selector) {\n findElement(selector).click();\n }", "title": "" }, { "docid": "3154b34b040a40bd3a3b4b9dc8c87f16", "score": "0.55981225", "text": "public static void clickOnElement(WebElement element) {\n\t\ttry {\n\t\t\telement.click();\n\t\t} catch (Exception e) {\n\t\t}\n\t\n\t}", "title": "" }, { "docid": "bc97715016ae122fb481ffd87e005806", "score": "0.55939126", "text": "public void clickCheckInVisitorLink() {\n \tli_checkinvisitor.click();\n }", "title": "" }, { "docid": "9bfcd1830b757a2dacda89c353ec3e37", "score": "0.55929923", "text": "public void clickmethod() {\r\n\t\tAdduser.click();\r\n\t}", "title": "" }, { "docid": "cb56299984bc241ec9356a61287cf808", "score": "0.5585175", "text": "@Override\n\t\tpublic void onClick(View arg0) {\n\t\t\t Intent i = new Intent(android.content.Intent.ACTION_VIEW,\n\t\t\t\t\t Uri.parse(\"http://www.thelalit.com\")) ;\n\t\t\t startActivity(i) ;\n\t\t}", "title": "" }, { "docid": "7a12083c68989995fb8395036024c0fe", "score": "0.5584231", "text": "private void clickNewButton()\n {\n selenium.waitForCondition(\"selenium.browserbot.isNewPageLoaded()\", TIMEOUT_PERIOD);\n selenium.click(JBIIdConstants.JBI_NEW_INSTALL_BUTTON_ID);\n selenium.waitForCondition(\"selenium.browserbot.isNewPageLoaded()\", TIMEOUT_PERIOD);\n }", "title": "" }, { "docid": "70d9557d17a71a4a94ef2b099a4b183e", "score": "0.5577692", "text": "@Override\n public void onClick(View v) {\n btn2();\n }", "title": "" }, { "docid": "9b68cbda66307ad67ba6c9e23adabd9a", "score": "0.5575082", "text": "private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n\t}", "title": "" }, { "docid": "ed08447b7b98b9778e86724361a4caeb", "score": "0.55686885", "text": "public void clickPlayButton(){\n\t\t//System.out.println(\"clickPlayButton()\");\n\t\tIHRPlayerViewPlayButtonUIButton.click();\n\t}", "title": "" }, { "docid": "2314eaa89e32114e3380c7c4c8206a6b", "score": "0.556569", "text": "@Override\n public void onClick(View v) {\n Uri uriUrl = Uri.parse(\"http://www.tuhuellaecologica.org/\");\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);\n startActivity(launchBrowser);\n }", "title": "" }, { "docid": "b778406855185e6390eb77706f1e3af1", "score": "0.55643666", "text": "public void userClicksOnButtonWebPage(){\n //TODO Open the web page !\n this.callbackDetailListener.get().openWebPage(recipeData.getRecipeUrl());\n }", "title": "" }, { "docid": "7cb5958f55745a0b75b5d3aa92fd07b7", "score": "0.55590695", "text": "public void click(By by, WebDriver driver){\n\t\tdriver.findElement(by).click();\n\t\t\n\t}", "title": "" }, { "docid": "7cb5958f55745a0b75b5d3aa92fd07b7", "score": "0.55590695", "text": "public void click(By by, WebDriver driver){\n\t\tdriver.findElement(by).click();\n\t\t\n\t}", "title": "" }, { "docid": "a934493c8502bc53d7049b5bdd3a7042", "score": "0.5551395", "text": "public WebElement btn_selection(){\n Log.info(\"Element Page Object >> btn_selection\");\n return ElementFactory.getElement(\"btn_selection\");\n }", "title": "" }, { "docid": "ca82946a5d46d9a6cb841261cd6ebc1c", "score": "0.5543915", "text": "public void clickBtn(Button btn){\n if(!endGame()){\n btn.click();\n }\n }", "title": "" }, { "docid": "f2e99b501ecfb161cb859a1bdf137576", "score": "0.55380905", "text": "public void clickRefuseBtn(){\n\t\tinfo(\"Click on Refuse button\");\n\t\tclick(ELEMENT_GMAIL_REFUSE_BTN);\n\t\tUtils.pause(2000);\n\t}", "title": "" }, { "docid": "cf2c5c54aa46f72ebb3200b711f86ce4", "score": "0.5526668", "text": "public WebInteract click() {\n \tLogger.logMessage(\"Click the '\" + simpleName + \"' element.\");\n \tgetNonStaleElement().click();\n \tinjectGrowl();\n return this;\n }", "title": "" }, { "docid": "4c5bd5b92b5fb87bce3a5700b1500438", "score": "0.55243844", "text": "public static void clickbuttonThirdCalender() {\n getDriver().findElement(buttonThirdCalender).click();\n\n\n }", "title": "" }, { "docid": "e1766fa86d7eee649f79383423c2811f", "score": "0.55226296", "text": "public void clickShareButtonOnNavBar(){\n\t\tNavBarShareButtonUIButton.click();\n\t\tSystem.out.println(\"clickShareButtonOnNavBar(). \" );\n\t\t\n\t}", "title": "" }, { "docid": "4753b9b2d75a3d0f2e48a4d6732539aa", "score": "0.5522461", "text": "public static void click(String xpath)\n\t{\n\t\ttry\n\t\t{\n\t\tWebDriverWait wait=new WebDriverWait(driver, 200);\n\t\twait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath(xpath)));\n\t\t\tWebElement element = driver.findElement(By.xpath(xpath));\n\t\t\tJavascriptExecutor js =(JavascriptExecutor)driver;\n\t\t\tjs.executeScript(\"arguments[0].scrollIntoView(false);\", element);\n\t\t\t((JavascriptExecutor) driver).executeScript(\"arguments[0].click();\", element);\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(e.getMessage());\n\t\t\tfail(\"Issue in click for \"+xpath +e.getMessage());\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "445d127ca17a3520d8456ec7f67f423d", "score": "0.55203253", "text": "@Override\r\n\t\tpublic void onClick(View v) {\n\t\t\t Intent myWebLink = new Intent(android.content.Intent.ACTION_VIEW);\r\n myWebLink.setData(Uri.parse(\"http://www.cognizant.com\"));\r\n startActivity(myWebLink);\r\n\t\t\t\r\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "239e9f0e91161ac828d42ed8a617f576", "score": "0.551521", "text": "public void clickAndWait() {\n click();\n Browser.getInstance().waitForPageToLoad();\n }", "title": "" }, { "docid": "58cc8652de228642cb9ecc55f6b89e10", "score": "0.5514995", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url1));\r\n\t\t\t\tstartActivity(browserIntent);\r\n\t\t\t}", "title": "" }, { "docid": "9f35354817ef450b972bd33241a4fea9", "score": "0.551341", "text": "public WebElement click(String locator) {\n\t\tWebElement element = find(locator);\n\t\telement.click();\n\t\treturn element;\n\t}", "title": "" }, { "docid": "83314b8db6f1474bcfd66918285ec772", "score": "0.55097157", "text": "public static void clickButton(WebElement obj,String objName) {\r\n\t\tif(obj.isEnabled()) {\r\n\t\t\tobj.click();\r\n\t\t\tSystem.out.println(\"Pass: \"+objName+ \" is clicked\");\r\n\t\t logger.log(LogStatus.PASS, objName+\" is clicked\");\r\n\t\t}\r\n\t\telse {\r\n\t\t\tSystem.out.println(\"Fail: \" +objName+ \"field is not enabled,Please check the application\");\r\n\t\t\tlogger.log(LogStatus.FAIL, objName+\"field is not enabled, please check the application..\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "0a4b1becf9f3701549af077dcdd4eec4", "score": "0.5504435", "text": "public void clickSubmitButton() {\n\t\tWebElement submitCourseButton = driver.findElement(By .cssSelector(\"#id_submitbutton\")); \n\t\tsubmitCourseButton.click();\n\t\tdriver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);\t\n\t}", "title": "" }, { "docid": "6bba52ed4c45147792c2f6eb5c487c84", "score": "0.54956853", "text": "@OnClick(R.id.button1)\n\tpublic void button1() {\n\t\ttv.setText(\"GoodBye!\");\n\t}", "title": "" }, { "docid": "34f7a8b1a6d0b98af047edfa3eac92a5", "score": "0.54955494", "text": "public void clickGoButton() throws InterruptedException {\n goButton.click();\n }", "title": "" }, { "docid": "7fe46da8cdd2eed6b33b77cb30107403", "score": "0.54904777", "text": "public void clickOnBookName(){\n\n searchResultPageLocators.ClickOnBookFromSearchResult.click();\n }", "title": "" }, { "docid": "2c503141478d1f6bad3e3ce5c3341543", "score": "0.5480237", "text": "private void clikToSearchButton() {\n\t\tclickToElement(driver, SearchPageUI.SEARCH_BUTTON);\n\t}", "title": "" }, { "docid": "113c77cceb17471e2f43bbe6993444c7", "score": "0.5475503", "text": "protected void click(By locator) {\n\t\tfind(locator).click();\n\t}", "title": "" }, { "docid": "ef1114e5f5b4ceb3bec03bf546d3062a", "score": "0.5474108", "text": "public void beforeClickOn(WebElement arg0, WebDriver arg1) {\n\t\twait= new WebDriverWait(arg1,60);\r\n\t\twait.until(ExpectedConditions.elementToBeClickable(arg0));\r\n\t\tSystem.out.println(\"Going to click \" +arg0);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6f2ca0fb54af25b064b7669ca6df6ca7", "score": "0.5467181", "text": "@Override\n\tpublic void OnClickListener1() {\n\n\t}", "title": "" }, { "docid": "7041e72d72d92e99c4bb58bf14359f67", "score": "0.5465635", "text": "public static void javascriptClick(String locator, String info) {\n WebElement element = getElement(locator, info);\n try {\n js.executeScript(\"arguments[0].click();\", element);\n log.info(\"Clicked on :: \" + info);\n TestBase.logExtentReport(\"Clicked on :: \" + info);\n } catch (Exception e) {\n log.info(\"Cannot click on :: \" + info);\n TestBase.logExtentReport(\"Cannot click on :: \" + info);\n }\n }", "title": "" }, { "docid": "8d7ae8c8b8b6ad27f646287cabd9bea6", "score": "0.54607314", "text": "private void setupD1() {\n \t View.OnClickListener dlistener=new View.OnClickListener(){\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\tIntent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://play.google.com/store/apps/details?id=com.techseven.colors\"));\n\t\t\t\tstartActivity(browserIntent);\n\t\t\t\t\n\t\t\t}\n \t\t \n \t };\n \t d1.setOnClickListener(dlistener);\n\t}", "title": "" }, { "docid": "7d45a5b039b5454811ab0227050abe69", "score": "0.5459874", "text": "public void javascriptClick(WebDriver driver, WebElement webElement) {\n\t\t((JavascriptExecutor) driver).executeScript(\"arguments[0].click();\", webElement);\n\t}", "title": "" }, { "docid": "a6ab1773fe30f32a501fdff51643900c", "score": "0.54591864", "text": "public void clickOnAddToCartButton() {\r\n\t\taddToCartButton.click();\r\n\t}", "title": "" }, { "docid": "90dab4bf99da0ff4c3e8046c4910b5c1", "score": "0.54557234", "text": "public void clickPlay(){\n Reusable_Methods_With_Logger.clickMethod(driver,playButton,\"Play Button\",logger);\n }", "title": "" }, { "docid": "03395e5a25a2fabd63dd6c3660bd1629", "score": "0.5455155", "text": "public void ClickOnBlog() {\n\t\tBlog.click();\n\t}", "title": "" }, { "docid": "6cdd2adc042a11edd0e6215b2d9d134e", "score": "0.5452004", "text": "public static void javascriptClick(WebElement element, String info) {\n try {\n js.executeScript(\"arguments[0].click();\", element);\n log.info(\"Clicked on :: \" + info);\n TestBase.logExtentReport(\"Clicked on :: \" + info);\n } catch (Exception e) {\n log.info(\"Cannot click on :: \" + info);\n TestBase.logExtentReport(\"Cannot click on :: \" + info);\n }\n }", "title": "" }, { "docid": "83e23f695bc9007f42577df4bd2ab775", "score": "0.54510784", "text": "public void clickPauseButton() {\n\t\tpauseButton.doClick();\n\t}", "title": "" } ]
d6266b9969d0200310ea7e84dc78da6f
Tool we need to parse other packages
[ { "docid": "32e1f2b3ab80594e743321a62e4ad2b8", "score": "0.0", "text": "private boolean isAppInstalled(String packageName){\n\t\tPackageManager pm = getPackageManager();\n\t\t// True/False variable set to false by default, show \"Not Installed\"\n\t\tboolean app_installed = false;\n\t\t// If the app isn't installed, we would get a force close without a try/catch clause\n\t\t// If installed, try returns true, if not, we catch the exception and set it to false\n\t\ttry {\n\t\t\tpm.getPackageInfo(packageName, PackageManager.GET_ACTIVITIES);\n\t\t\tapp_installed = true;\n\t\t} catch (PackageManager.NameNotFoundException e){\n\t\t\tapp_installed = false;\n\t\t}\n\t\t// Must return a value (not overridden method)\n\t\treturn app_installed;\n\t}", "title": "" } ]
[ { "docid": "37af552e2d0e39b71633d471882af98e", "score": "0.62568206", "text": "public void extractPackage();", "title": "" }, { "docid": "8c2877522401e79fb049b75494c95e10", "score": "0.59904885", "text": "@Test\n public void testPackageHeader() {\n checkDecls(getParser().parsePackageHeader(\"com.foo\", \"Export-Package\"), \"names=[com.foo]\");\n checkDecls(getParser().parsePackageHeader(\"com.foo.goo.boo,com.bib.bob.bub\", \"Export-Package\"), \"names=[com.foo.goo.boo]\",\n \"names=[com.bib.bob.bub]\");\n checkDecls(getParser().parsePackageHeader(\"com.a;com.b\", \"Export-Package\"), \"names=[com.a com.b]\");\n checkDecls(getParser().parsePackageHeader(\"com.a;com.bbbb,com.dd;com.eee\", \"Export-Package\"), \"names=[com.a com.bbbb]\",\n \"names=[com.dd com.eee]\");\n checkDecls(getParser().parsePackageHeader(\"com.springsource.server.osgi;version=1.2.3\", \"Export-Package\"),\n \"names=[com.springsource.server.osgi] attrs=[version=1.2.3]\");\n checkDecls(getParser().parsePackageHeader(\"com.springsource.server.osgi;uses:=org.springframework.core\", \"Export-Package\"),\n \"names=[com.springsource.server.osgi] directives=[uses:=org.springframework.core]\");\n checkDecls(getParser().parsePackageHeader(\"com.springsource.server.osgi;version=1.2.3;uses:=org.springframework.core\", \"Export-Package\"),\n \"names=[com.springsource.server.osgi] attrs=[version=1.2.3] directives=[uses:=org.springframework.core]\");\n checkDecls(getParser().parsePackageHeader(\n \"com.springsource.server.osgi;com.springsource.server.kernel;version=1.2.3;uses:=org.springframework.core\", \"Export-Package\"),\n \"names=[com.springsource.server.osgi com.springsource.server.kernel] attrs=[version=1.2.3] directives=[uses:=org.springframework.core]\");\n }", "title": "" }, { "docid": "3799feb340f85e0c101a3ab8357c89fd", "score": "0.58565164", "text": "public interface IOptsParser\n{\n public static abstract class Factory\n {\n\n public static IOptsParser create(String s, ClassLoader classloader, String s1, String as[])\n {\n return new OptsParser(s, classloader, s1, as);\n }\n\n public Factory()\n {\n }\n }\n\n public static interface IOpt\n {\n\n public abstract String getCanonicalName();\n\n public abstract String getFirstValue();\n\n public abstract String getName();\n\n public abstract String getPatternPrefix();\n\n public abstract int getValueCount();\n\n public abstract String[] getValues();\n }\n\n public static interface IOpts\n {\n\n public abstract void error(PrintWriter printwriter, int i);\n\n public abstract String[] getFreeArgs();\n\n public abstract IOpt[] getOpts();\n\n public abstract IOpt[] getOpts(String s);\n\n public abstract boolean hasArg(String s);\n\n public abstract int usageRequestLevel();\n }\n\n\n public static final int DETAILED_USAGE = 2;\n public static final int SHORT_USAGE = 1;\n\n public abstract IOpts parse(String as[]);\n\n public abstract void usage(PrintWriter printwriter, int i, int j);\n}", "title": "" }, { "docid": "bf62d9338f47e93386e901e696998e3b", "score": "0.5771117", "text": "protected abstract void generateParser();", "title": "" }, { "docid": "40e1d67ae77975303f4ccbd8d6205f6d", "score": "0.5727645", "text": "private static PackageInfo m49210a(String str, int i) {\n Class<?> cls;\n try {\n Class<?> cls2 = Class.forName(\"android.content.pm.PackageParser\");\n Class<?>[] declaredClasses = cls2.getDeclaredClasses();\n int length = declaredClasses.length;\n int i2 = 0;\n while (true) {\n if (i2 >= length) {\n cls = null;\n break;\n }\n cls = declaredClasses[i2];\n if (cls.getName().compareTo(\"android.content.pm.PackageParser$Package\") == 0) {\n break;\n }\n i2++;\n }\n Constructor<?> constructor = cls2.getConstructor(String.class);\n Method declaredMethod = cls2.getDeclaredMethod(\"parsePackage\", File.class, String.class, DisplayMetrics.class, Integer.TYPE);\n Method declaredMethod2 = cls2.getDeclaredMethod(\"collectCertificates\", cls, Integer.TYPE);\n Method declaredMethod3 = cls2.getDeclaredMethod(\"generatePackageInfo\", cls, int[].class, Integer.TYPE, Long.TYPE, Long.TYPE);\n constructor.setAccessible(true);\n declaredMethod.setAccessible(true);\n declaredMethod2.setAccessible(true);\n declaredMethod3.setAccessible(true);\n Object newInstance = constructor.newInstance(str);\n DisplayMetrics displayMetrics = new DisplayMetrics();\n displayMetrics.setToDefaults();\n Object invoke = declaredMethod.invoke(newInstance, new File(str), str, displayMetrics, 0);\n if (invoke == null) {\n return null;\n }\n if ((i & 64) != 0) {\n declaredMethod2.invoke(newInstance, invoke, 0);\n }\n return (PackageInfo) declaredMethod3.invoke(null, invoke, null, Integer.valueOf(i), 0, 0);\n } catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "a3bfacc5c0005abfe4222fc7e951741a", "score": "0.56944823", "text": "protected boolean parsePackages(Document doc, String nsUri, ITaskMonitor monitor) {\r\n // protected for unit-test acces\r\n\r\n assert doc != null;\r\n\r\n Node root = getFirstChild(doc, nsUri, SdkRepository.NODE_SDK_REPOSITORY);\r\n if (root != null) {\r\n\r\n ArrayList<Package> packages = new ArrayList<Package>();\r\n\r\n // Parse license definitions\r\n HashMap<String, String> licenses = new HashMap<String, String>();\r\n for (Node child = root.getFirstChild();\r\n child != null;\r\n child = child.getNextSibling()) {\r\n if (child.getNodeType() == Node.ELEMENT_NODE &&\r\n nsUri.equals(child.getNamespaceURI()) &&\r\n child.getLocalName().equals(SdkRepository.NODE_LICENSE)) {\r\n Node id = child.getAttributes().getNamedItem(SdkRepository.ATTR_ID);\r\n if (id != null) {\r\n licenses.put(id.getNodeValue(), child.getTextContent());\r\n }\r\n }\r\n }\r\n\r\n // Parse packages\r\n for (Node child = root.getFirstChild();\r\n child != null;\r\n child = child.getNextSibling()) {\r\n if (child.getNodeType() == Node.ELEMENT_NODE &&\r\n nsUri.equals(child.getNamespaceURI())) {\r\n String name = child.getLocalName();\r\n Package p = null;\r\n\r\n try {\r\n // We can load addon and extra packages from all sources, either\r\n // internal or user sources.\r\n if (SdkRepository.NODE_ADD_ON.equals(name)) {\r\n p = new AddonPackage(this, child, licenses);\r\n\r\n } else if (SdkRepository.NODE_EXTRA.equals(name)) {\r\n p = new ExtraPackage(this, child, licenses);\r\n\r\n } else if (!mUserSource) {\r\n // We only load platform, doc and tool packages from internal\r\n // sources, never from user sources.\r\n if (SdkRepository.NODE_PLATFORM.equals(name)) {\r\n p = new PlatformPackage(this, child, licenses);\r\n } else if (SdkRepository.NODE_DOC.equals(name)) {\r\n p = new DocPackage(this, child, licenses);\r\n } else if (SdkRepository.NODE_TOOL.equals(name)) {\r\n p = new ToolPackage(this, child, licenses);\r\n } else if (SdkRepository.NODE_SAMPLE.equals(name)) {\r\n p = new SamplePackage(this, child, licenses);\r\n }\r\n }\r\n\r\n if (p != null) {\r\n packages.add(p);\r\n monitor.setDescription(\"Found %1$s\", p.getShortDescription());\r\n }\r\n } catch (Exception e) {\r\n // Ignore invalid packages\r\n }\r\n }\r\n }\r\n\r\n mPackages = packages.toArray(new Package[packages.size()]);\r\n\r\n // Order the packages.\r\n Arrays.sort(mPackages, null);\r\n\r\n return true;\r\n }\r\n\r\n return false;\r\n }", "title": "" }, { "docid": "96c5a7cc52e9752d68800a30de506589", "score": "0.56636846", "text": "abstract String pkg();", "title": "" }, { "docid": "d205875399dc692474033f60f34de1e0", "score": "0.5620407", "text": "@Test\n public void testParseFile2() {\n String contents =\n \"\"\n + \"goog.module('yes1');\\n\"\n + \"var yes2 = goog.require('yes2');\\n\"\n + \"var C = goog.require(\\\"a.b.C\\\");\\n\"\n + \"let {D, E} = goog.require('a.b.d');\";\n\n DependencyInfo expected =\n SimpleDependencyInfo.builder(CLOSURE_PATH, SRC_PATH)\n .setProvides(ImmutableList.of(\"yes1\"))\n .setRequires(\n ImmutableList.of(\n googRequireSymbol(\"yes2\"),\n googRequireSymbol(\"a.b.C\"),\n googRequireSymbol(\"a.b.d\")))\n .setLoadFlags(ImmutableMap.of(\"module\", \"goog\"))\n .build();\n\n DependencyInfo result = parser.parseFile(SRC_PATH, CLOSURE_PATH, contents);\n\n assertDeps(expected, result);\n }", "title": "" }, { "docid": "eefc9d7feb1ddf4464c848f083b01054", "score": "0.556599", "text": "private List<JavaFileParser> getAllJavaFileParsersByPackageName(String packageName){\n\t\tList<JavaFileParser> jfParserList = new ArrayList<JavaFileParser>();\n\t\tIterator<Entry<String, JavaFileParser>> it = this.packageControlFlowMapping.entrySet().iterator();\n\t\twhile(it.hasNext()){\n\t\t\tEntry<String, JavaFileParser> tuple = it.next();\n\t\t\tDebug.println(\"package name \" + tuple.getKey());\n\t\t\tif(tuple.getKey().equals(packageName)){\n\t\t\t\tjfParserList.add(tuple.getValue());\n\t\t\t}\n\t\t}\n\t\treturn jfParserList;\n\t}", "title": "" }, { "docid": "8437850834bd19a3f0a04c4b4d9c34f7", "score": "0.5530297", "text": "public static void main(String[] args) {\n// testParserPart1();\n\t\ttestParserPart2();\n//\t\ttestParserPart3();\n }", "title": "" }, { "docid": "f6537867ba970b739e1ea628a54ee8ea", "score": "0.55119896", "text": "public void testParseFile() {\n final String CONTENTS = \"/*\"\n + \"goog.provide('no1');*//*\\n\"\n + \"goog.provide('no2');\\n\"\n + \"*/goog.provide('yes1');\\n\"\n + \"/* blah */goog.provide(\\\"yes2\\\")/* blah*/\\n\"\n + \"goog.require('yes3'); // goog.provide('no3');\\n\"\n + \"// goog.provide('no4');\\n\"\n + \"goog.require(\\\"bar.data.SuperstarAddStarThreadActionRequestDelegate\\\"); \"\n + \"//no new line at eof\";\n\n Collection<SymbolInfo> symbols = parser.parseFile(SRC_PATH, CONTENTS);\n\n Iterator<SymbolInfo> i = symbols.iterator();\n SymbolInfo symbolInfo = i.next();\n assertEquals(symbolInfo.symbol, \"yes1\");\n assertEquals(symbolInfo.functionName, \"goog.provide\");\n \n symbolInfo = i.next();\n assertEquals(symbolInfo.symbol, \"yes2\");\n assertEquals(symbolInfo.functionName, \"goog.provide\");\n \n symbolInfo = i.next();\n assertEquals(symbolInfo.symbol, \"yes3\");\n assertEquals(symbolInfo.functionName, \"goog.require\");\n \n symbolInfo = i.next();\n assertEquals(symbolInfo.symbol, \"bar.data.SuperstarAddStarThreadActionRequestDelegate\");\n assertEquals(symbolInfo.functionName, \"goog.require\");\n \n assertEquals(symbols.size(), 4);\n assertEquals(0, errorManager.getErrorCount());\n assertEquals(0, errorManager.getWarningCount());\n }", "title": "" }, { "docid": "45abfdfb8b903fa0d5859117aae26d7f", "score": "0.5494502", "text": "public void testNormalParsing() throws Exception {\n EmmaPackageSummaryParser p = new EmmaPackageSummaryParser();\n p.parse(getStringAsStream(FULL_DATA));\n PackageNode root = p.getRoot();\n assertEquals(10, root.getCoveredBlocks());\n assertEquals(13, root.getTotalBlocks());\n PackageNode foo = p.findPackageNode(\"com.foo\");\n assertEquals(7, foo.getCoveredBlocks());\n assertEquals(9, foo.getTotalBlocks());\n }", "title": "" }, { "docid": "9c20775688c33a43785c28619d5d7283", "score": "0.5444844", "text": "public interface Parser {\n \n \n /**\n * Parses the given command\n * \n * @param command the command to parse \n */\n void parse(String command);\n \n \n /**\n * Sets the file name for this parser. This name is used to output unique symbols (labels, return addresses, etc)\n * \n * @param fileName the name to set for the parser\n * @return a reference to the Parser instance\n */\n Parser setFileName(String fileName);\n \n \n /**\n * Returns the current function context for this parser\n * \n * @return the current function context for this parser\n */\n String currentFunctionContext();\n \n \n /**\n * Returns the assembly code from the parsed VM commands\n * \n * @return the assembly code from the parsed VM commands\n */\n String assemblyCode();\n \n \n /**\n * Specifies whether debugging should be enabled for this parser\n * \n * @param debugEnabled a flag that specifies whether to enable debugging for this parser\n * @return a reference to the Parser instance\n */\n VMParser setDebugEnabled(boolean debugEnabled);\n \n \n /**\n * Specifies whether this parser should output the bootstrapping code\n * \n * @param bootstrapEnabled a flag that specifies whether to output the bootstrapping code\n * @return a reference to the Parser instance\n */\n VMParser shouldBootstrap(boolean bootstrapEnabled);\n \n}", "title": "" }, { "docid": "549b2cbebf862718e0a15e12c995f448", "score": "0.54136074", "text": "interface packageinfo {\n}", "title": "" }, { "docid": "549b2cbebf862718e0a15e12c995f448", "score": "0.54136074", "text": "interface packageinfo {\n}", "title": "" }, { "docid": "549b2cbebf862718e0a15e12c995f448", "score": "0.54136074", "text": "interface packageinfo {\n}", "title": "" }, { "docid": "549b2cbebf862718e0a15e12c995f448", "score": "0.54136074", "text": "interface packageinfo {\n}", "title": "" }, { "docid": "2126f1b494045cb4365c09fded81c4a7", "score": "0.5397028", "text": "protected abstract String getPackage();", "title": "" }, { "docid": "4e5a8a5a82d5e98af51372320efc0b02", "score": "0.53789914", "text": "public void testGetPackages() throws ConfigurationParseException {\n String packages[] = pf.getPackages();\n \n assertEquals(\"There is only one package under unittest.backend.configuration.testfinder, but found more\", 1, packages.length);\n \n \n assertEquals(\"Didn't find examplebackend\", \"unittest.backend.configuration.testfinder.test\", packages[0]);\n \n }", "title": "" }, { "docid": "7852bb64618b984ea37013072770caf4", "score": "0.53782177", "text": "void reportPackage(String pkg);", "title": "" }, { "docid": "2f32176735748f01de526eaad2f12bde", "score": "0.5353777", "text": "public Package parse(Reader in) throws IOException, XPDLParserException {\r\n try {\r\n SAXReader reader = new SAXReader();\r\n Document document = reader.read(in);\r\n\r\n Element packageElement = document.getRootElement();\r\n\r\n // load the package header\r\n PackageHeader packageHeader = createPackageHeader(\r\n Util.child(packageElement, PACKAGE_HEADER));\r\n\r\n // construct the Package\r\n Package pkg = new Package(\r\n packageElement.attributeValue(ID),\r\n packageElement.attributeValue(NAME),\r\n packageHeader\r\n );\r\n\r\n // load the redefinable header\r\n pkg.setRedefinableHeader(createRedefinableHeader(\r\n Util.child(packageElement, REDEFINABLE_HEADER)));\r\n\r\n // load the conformance class\r\n pkg.setConformanceClass(createConformanceClass(\r\n Util.child(packageElement, CONFORMANCE_CLASS)));\r\n\r\n pkg.setScript(createScript(\r\n Util.child(packageElement, SCRIPT)));\r\n\r\n loadExternalPackages(pkg.getExternalPackages(),\r\n Util.child(packageElement, EXTERNAL_PACKAGES));\r\n\r\n loadTypeDeclarations(pkg.getTypeDeclarations(),\r\n Util.child(packageElement, TYPE_DECLARATIONS));\r\n\r\n loadParticipants(pkg.getParticipants(),\r\n Util.child(packageElement, PARTICIPANTS));\r\n\r\n log.debug(\"Loading applications in package \" + pkg.getId() + \"...\");\r\n loadApplications(pkg.getApplications(),\r\n Util.child(packageElement, APPLICATIONS));\r\n log.debug(pkg.getApplications().size() + \" applications loaded\");\r\n\r\n loadDataFields(pkg.getDataFields(),\r\n Util.child(packageElement, DATA_FIELDS));\r\n\r\n loadWorkflowProcesses(pkg, pkg.getWorkflowProcesses(),\r\n Util.child(packageElement, WORKFLOW_PROCESSES));\r\n\r\n Map extAttrs = pkg.getExtendedAttributes();\r\n loadExtendedAttributes(extAttrs,\r\n Util.child(packageElement, EXTENDED_ATTRIBUTES));\r\n\r\n // For now, event types are defined using the obe:EventTypes\r\n // extended attribute.\r\n List eventTypes = (List)extAttrs.remove(OBE_EVENT_TYPES);\r\n if (eventTypes != null)\r\n pkg.getEventTypes().addAll(eventTypes);\r\n\r\n return pkg;\r\n } catch (DocumentException e) {\r\n throw new XPDLParserException(\"Error parsing document.\", e);\r\n }\r\n }", "title": "" }, { "docid": "3d32c20467fbd21498bac710f7f44bb8", "score": "0.5347377", "text": "public abstract DependencyStructure parse(DependencyStructure parseDependencyGraph) throws MaltChainedException;", "title": "" }, { "docid": "279083e88433fda6d7ba2dfc79d9eea7", "score": "0.52832305", "text": "public static void main(String[] args) {\n\t\t\n\t\tString grammarName = \"Java8\";\n//\t\tString fileName = \"item.java\";\n\t\tString startRuleName = \"compilationUnit\";\n\t\tFile dir = new File(\"sources\");\n\t\tSystem.out.println(System.getProperty(\"user.dir\"));\n\t\tSystem.out.println(App.class.getResource(\"/\"));\n\t\tfor(File file : dir.listFiles()){\n\t\t\tSystem.out.println(\"------------------\"+ file.getName() + \"-----------------------\");\n\t\t\tParseTreeListener listener = new DuangJava8Listener();\n\t\t\twalk(grammarName, file.getAbsolutePath(), startRuleName, listener);\n\t\t}\n\t}", "title": "" }, { "docid": "a1be538daeb682e2687d1969909655f5", "score": "0.526011", "text": "@Test\n void reportDifferentialMultiModuleTest() {\n Report warnings = parse(FILENAME_DIFF_MULTIMODULE);\n\n assertThat(warnings).hasSize(8);\n\n try (SoftAssertions softly = new SoftAssertions()) {\n softly.assertThat(warnings.get(0))\n .hasFileName(\"cart-appclient-folder/src/main/java/javaeetutorial/cart/client/CartClient.java\")\n .hasLineStart(16);\n }\n }", "title": "" }, { "docid": "3c01acd32db85b82276479b2d405c679", "score": "0.5255052", "text": "@Test\n public void testParseFile() {\n String contents =\n \"/*\"\n + \"goog.provide('no1');*//*\\n\"\n + \"goog.provide('no2');\\n\"\n + \"*/goog.provide('yes1');\\n\"\n + \"/* blah */goog.provide(\\\"yes2\\\")/* blah*/\\n\"\n + \"goog.require('yes3'); // goog.provide('no3');\\n\"\n + \"// goog.provide('no4');\\n\"\n + \"goog.require(\\\"bar.data.SuperstarAddStarThreadActionRequestDelegate\\\"); \"\n + \"//no new line at EOF\";\n\n DependencyInfo expected =\n SimpleDependencyInfo.builder(CLOSURE_PATH, SRC_PATH)\n .setProvides(ImmutableList.of(\"yes1\", \"yes2\"))\n .setRequires(\n googRequireSymbol(\"yes3\"),\n googRequireSymbol(\"bar.data.SuperstarAddStarThreadActionRequestDelegate\"))\n .build();\n\n DependencyInfo result = parser.parseFile(SRC_PATH, CLOSURE_PATH, contents);\n\n assertDeps(expected, result);\n }", "title": "" }, { "docid": "3c1c0c807606a9287ae8113cdb5029b0", "score": "0.5240613", "text": "zzapi<String> mo2333a(String str, PackageInfo packageInfo);", "title": "" }, { "docid": "d57cf5b5dace9dde3bc564f76b0f31a7", "score": "0.5236506", "text": "private ProcessPackage() {}", "title": "" }, { "docid": "616d2a5286cc908022b76de6fbe74054", "score": "0.5226849", "text": "static public void main(String argv[]) { \n try {\n parser p = new parser(new Lexer(new FileReader(argv[0])));\n Object result = p.parse().value;\n } catch (Exception e) {\n /* hace limpieza aquí - posiblemente volver a lanzar e */\n e.printStackTrace(); \n }\n }", "title": "" }, { "docid": "0b671d43923487ea70ee0fd4408a8488", "score": "0.52182376", "text": "void addSystemPackages(StringBuffer sp) {\n // Set up org.osgi.framework package\n String name = Bundle.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + Framework.SPEC_VERSION);\n\n // Set up packageadmin package\n name = PackageAdmin.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(\",\" + name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + PackageAdminImpl.SPEC_VERSION);\n\n // Set up permissionadmin package\n name = PermissionAdmin.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(\",\" + name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + PermissionAdminImpl.SPEC_VERSION);\n\n // Set up startlevel package\n name = StartLevel.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(\",\" + name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + StartLevelImpl.SPEC_VERSION);\n\n // Set up tracker package\n name = ServiceTracker.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(\",\" + name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + \"1.3.1\");\n\n // Set up URL package\n name = org.osgi.service.url.URLStreamHandlerService.class.getName();\n name = name.substring(0, name.lastIndexOf('.'));\n sp.append(\",\" + name + \";\" + Constants.VERSION_ATTRIBUTE +\n \"=\" + \"1.0\");\n }", "title": "" }, { "docid": "f5ff035193f2182c7b4bcbeb02a6a28f", "score": "0.52134794", "text": "public static void main(String args[]) throws Exception{\n\t\tnew parser(new Yylex(System.in)).parse();\n\t}", "title": "" }, { "docid": "86f35a2c99c7c2f736935f4a9aeb576f", "score": "0.52120674", "text": "public static void main(String... args) throws Exception {\n\n parser = new NameDefParserJSoup();\n process(FIRST_FILE);\n process(LAST_FILE);\n }", "title": "" }, { "docid": "1677b04e111d7ade75beea8268a038a3", "score": "0.51842004", "text": "private void readAndCheckSources(String sourceDir, String packageDir, File d, List<AnalyzedUnitRef> processedUnits) throws TermWareException\n {\n File[] files=d.listFiles();\n for(int i=0; i<files.length; ++i) { \n if (files[i].isDirectory()) {\n String nextPackageDir = (packageDir.length()==0 ? files[i].getName() : packageDir+\".\"+files[i].getName()); \n readAndCheckSources(sourceDir, nextPackageDir, files[i],processedUnits);\n }else if(files[i].getName().endsWith(\".java\")) {\n readAndCheckSourceFile(sourceDir, packageDir, files[i],processedUnits);\n }\n }\n }", "title": "" }, { "docid": "6c7dc1c64934f80d39b624858f072637", "score": "0.51712924", "text": "@Override\n protected Result<JsglrParseOutput, JsglrParseException> parse(\n ExecContext context,\n Text text,\n @Nullable String startSymbol,\n @Nullable ResourceKey fileHint,\n @Nullable ResourcePath rootDirectoryHint\n ) throws IOException, InterruptedException {\n context.require(classLoaderResources.tryGetAsNativeDefinitionResource(\"target/metaborg/sdf.tbl\"));\n context.require(classLoaderResources.tryGetAsNativeDefinitionResource(\"target/metaborg/table.bin\"));\n context.require(classLoaderResources.tryGetAsNativeResource(getClass()), ResourceStampers.hashFile());\n context.require(classLoaderResources.tryGetAsNativeResource(StrategoParser.class), ResourceStampers.hashFile());\n context.require(classLoaderResources.tryGetAsNativeResource(StrategoParserFactory.class), ResourceStampers.hashFile());\n context.require(classLoaderResources.tryGetAsNativeResource(StrategoParseTable.class), ResourceStampers.hashFile());\n context.require(classLoaderResources.tryGetAsNativeResource(StrategoParserSelector.class), ResourceStampers.hashFile());\n final Result<Provider<StrategoParser>, ?> provider = strategoParserSelector.getParserProvider(context, fileHint, rootDirectoryHint);\n try {\n final StrategoParser parser = provider.unwrap().get();\n return Result.ofOk(parser.parse(new JsglrParseInput(text, startSymbol != null ? startSymbol : \"Module\", fileHint, rootDirectoryHint)));\n } catch(RuntimeException | InterruptedException e) {\n throw e;\n } catch(JsglrParseException e) {\n return Result.ofErr(e);\n } catch(Exception e) {\n return Result.ofErr(JsglrParseException.otherFail(e, Option.ofNullable(startSymbol), Option.ofNullable(fileHint), Option.ofNullable(rootDirectoryHint)));\n }\n }", "title": "" }, { "docid": "9b9225b1bb7a6b25596b13357310e105", "score": "0.5168343", "text": "public Map getPackageInfo(String pack) throws Exception {\n\t \n\t \n\t HashMap h=new HashMap();\n\t RFunctionDB rfdb=RFunctionDB.getRFunctionDB();\n\t SchedulerDB sdb=SchedulerDB.getSchedulerDB();\n\t\ttry{\n\t\t\t\n\n\t\t\tString unixp=Config.getString(\"package.repository.unix\");\n\t\t\tString winp=Config.getString(\"package.repository.win\");\n\t\t\t\n\t\t\tMap ud=new HashMap(),wd=new HashMap();\n\t\t\ttry{\n\t\t\t\tud=getPackageDescInfo(unixp,pack);\n\t\t\t}catch(Exception e){log.error(\"Error collecint unix package info e:\"+e.getMessage());}\n\t\t\ttry{\n\t\t\t\twd=getPackageDescInfo(winp,pack);\n\t\t\t}catch(Exception e){log.error(\"Error collecint windows package info e:\"+e.getMessage());}\n\t\t\t\n\t\t\tString sourceloader=\"\";\n\t\t\ttry{\n\t\t\t\tString rfolder=Config.getString(\"r_auto_source_inc_folder\");\n\t\t\t\tFile sf=new File(rfolder+pack+RFUNCTION_FILE_EXTENSION);\n\t\t\t\tsourceloader=(sf.exists())?FileUtils.readFileToString(sf):\"\";\n\t\t\t}catch(Exception e) {\n\t\t\t\tlog.error(\"error while loading source file e:\"+e.getMessage());\n\t\t\t}\n\t\t\t \n\t\t\trfdb.connectDB();\n\t\t\tsdb.connectDB();\n\t\t\t\n\t\t \n\t\t\t\n\t\t\tMap pinfo=rfdb.getPackageInfo(pack);\n\t\t\t\n\t\t\tint pid=rfdb.getFolderID( pack);\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\th.put(\"package_id\",pid );\t\t\t\t\t\t\t\t\n\t\t\th.put(\"folders\", rfdb.listOfFolders());\t\t\n\t\t\th.put(\"required_packages\", rfdb.listRelatedFolderIds(pid));\n\t\t\th.put(\"pinfo\", pinfo);\n\t\t\th.put(\"unix\",ud);\n\t\t\th.put(\"win\", wd);\n\t\t\th.put(\"sourceloader\", sourceloader);\n\t\t\th.put(\"access\", getPackageAccessPrivilege(pid,rfdb));\n\t\t\t\n\t\t\t\n\t\t\treturn h;\n\n\t\t}catch(Exception e){\n\t\t\tClientError.reportError(e, null);\n\t\t\tthrow e;\n\t\t}finally{\n\t\t\trfdb.closeDB();\n\t\t\tsdb.closeDB();\n\t\t} \n }", "title": "" }, { "docid": "b5d96295e9799d10e9bd9ebd3346222b", "score": "0.5160429", "text": "private Import parse_pkg_import() throws SyntaxException {\n LineCol lineCol = current.getLineCol();\n List<Import.ImportDetail> importDetails = new ArrayList<>();\n nextNode(false);\n\n if (current instanceof ElementStartNode) {\n Parser processor = new Parser((ElementStartNode) current);\n List<Statement> statements = processor.parse();\n\n for (Statement stmt : statements) {\n if (stmt instanceof AST.Access) {\n // import should firstly be parsed into Access\n AST.Access a = (AST.Access) stmt;\n Import.ImportDetail detail;\n if (a.name.equals(\"_\")) { // ends with '_'\n if (a.exp instanceof AST.PackageRef) {\n // import all from a package\n detail = new Import.ImportDetail((AST.PackageRef) a.exp, null, true);\n } else {\n // import static\n detail = new Import.ImportDetail(null, (AST.Access) a.exp, true);\n }\n } else {\n // import class or inner class\n detail = new Import.ImportDetail(null, a, false);\n }\n\n importDetails.add(detail);\n } else {\n throw new UnexpectedTokenException(\"import statement\", stmt.toString(), stmt.line_col());\n }\n }\n } else {\n throw new UnexpectedTokenException(\"import statements\", current.toString(), current.getLineCol());\n }\n\n return new Import(importDetails, lineCol);\n }", "title": "" }, { "docid": "ec39a0138b89b2663240da193d200d42", "score": "0.515641", "text": "public static void main(String[] args) throws ParsingException {\n }", "title": "" }, { "docid": "11b8589af7d12d81daa165b7a7998d0f", "score": "0.51562595", "text": "CommandParserResults parse(String[] args);", "title": "" }, { "docid": "6c083633cec1ef980f8343ddc42ad427", "score": "0.5140596", "text": "public static void main(String[] args) throws IOException {\n\t\tTravelAgency t=new TravelAgency();\n\t\tList<Package>p=new ArrayList<Package>();\n\t\tp=t.findPackagesWithMinimumNumberOfDays();\n\t\tfor(Package i:p){\n\t\t\tSystem.out.println(i.getPackageId() +i.getSourcePlace() + i.getDestinationPlace()+i.getBasicFare()+i.getNoOfDays() +\" \"+i.getPackageCost());\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "d709e71597d04c2d863f312e98521d23", "score": "0.51386654", "text": "protected abstract String getParserBaseCode();", "title": "" }, { "docid": "a37320cbf42083745243b5ee6c3df36f", "score": "0.5117573", "text": "public static void main(String[] args) throws Exception {\n String trcker = null; //*dummy variable\n parser(trcker); //*calls the method as an object\n }", "title": "" }, { "docid": "f91b467bde1e704ea3b7708256872f64", "score": "0.5115175", "text": "public interface IParser {\n\t/**\n\t * @param fileName - File that defines a list of rule following the format of rules.properties</br>\n\t * If there is any wrong format rule, the system will ignore and work with the next one </br>\n\t * If all {@link ICommand} defined in file are wrong, throw {@link IllegalArgumentException} </br>\n\t * @return {@link CommandChain}</br>\n\t * @throws IllegalArgumentException - An exception will be thrown if file is empty or does not exist or the rule definition is incorrect.</br>\n\t * @throws FileNotFoundException \n\t */\n\tpublic IChain parse(String fileName) throws IllegalArgumentException, FileNotFoundException;\n\t/**\n\t * Verify the command structure and command semantic</br>\n\t * @param line - a line in text file</br>\n\t * @return {@link CommandChain}</br>\n\t * @throws IllegalArgumentException </br>\n\t */\n\tpublic ICommand parseString(String line) throws IllegalArgumentException;\n}", "title": "" }, { "docid": "a2875861017cc3df2ae3ec79691c5431", "score": "0.511015", "text": "public abstract String findPackageNoSystem(String path);", "title": "" }, { "docid": "85a99727a31e31755f93cbff1a7d7234", "score": "0.51086044", "text": "public abstract String[] getCommandPackageNames();", "title": "" }, { "docid": "67ce35b1249d54ab89ec44762f5c6527", "score": "0.5107057", "text": "public interface ToolMessageParser {\n /**\n * Get ToolMessage object from the XML data.\n * @return a ToolMessage object\n */\n ToolMessage getToolMessage();\n\n}", "title": "" }, { "docid": "69082431817b100147b4314acd004034", "score": "0.51068276", "text": "public static void parseModsForBuildOptions()\n {\n }", "title": "" }, { "docid": "40d6001a381eb64077cfa96fff81278e", "score": "0.5106719", "text": "private String[] getAllPackages() {\n\t\ttry {\n\t\t\tProjectMetadata pr_meta = new ProjectMetadata(super.getEditor()\n\t\t\t\t\t.getMetadataFile().getRawLocation().toFile());\n\t\t\tString[] packs = pr_meta.getPackages();\n\t\t\tif (packs!= null && packs.length>0){\n\t\t\t\tString[] oe_packs = pr_meta.getPackagesWithOrchestration();\n\t\t\t\tString[] all_packs;\n\t\t\t\tif (oe_packs!=null&& oe_packs.length>0)\n\t\t\t\t\tall_packs = packs;\n\t\t\t\telse{\n\t\t\t\t\tall_packs = new String[packs.length + 1];\n\t\t\t\t\tall_packs[0] = editor.getProject().getProject().getName();\n\t\t\t\t\tfor (int i = 0; i < packs.length; i++) {\n\t\t\t\t\t\tall_packs[i + 1] = packs[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn all_packs;\n\t\t\t}else{\n\t\t\t\tlog.warn(\"No elements found.\");\n\t\t\t\treturn new String[0];\n\t\t\t}\n\t\t\t\t\n\t\t} catch (Exception e) {\n\t\t\tlog.error(\"Exception getting elements.\",e);\n\t\t\treturn new String[0];\n\t\t}\n\t}", "title": "" }, { "docid": "7b8a29ecae31d24e97481d626ec1dd9b", "score": "0.51066625", "text": "private LibraryInfo parseLibraryInfo(String output, String javaHome) {\n String[] splitPrefixAndSuffix = output.split(Pattern.quote(\"####\"));\n if (splitPrefixAndSuffix.length < 2) {\n throw new IllegalStateException(\"Could not parse process output: \" + output);\n }\n output = splitPrefixAndSuffix[1];\n String[] parts = output.split(Pattern.quote(\"|\"));\n if (parts.length != 4) {\n throw new IllegalStateException(\"Could not parse process output: \" + output);\n }\n String javaVersion = parts[0];\n String[] bootclasspath = splitPath(parts[1]);\n String[] extDirs = splitPath(parts[2]);\n String[] endorsedDirs = splitPath(parts[3]);\n // workaround for missing bootclasspath in Java 9 - see JDT bug http://eclip.se/489207 \n if (bootclasspath.length == 0) {\n File jrtFsJar = new File(javaHome, \"lib/jrt-fs.jar\");\n if (!jrtFsJar.isFile()) {\n jrtFsJar = new File(javaHome, \"jrt-fs.jar\");\n if (!jrtFsJar.isFile()) {\n throw new IllegalStateException(\"jrt-fs.jar not found in \" + javaHome);\n }\n }\n bootclasspath = new String[] { jrtFsJar.getAbsolutePath() };\n }\n if (isRunningOnJava9orLater()) {\n // JDT APT throws IllegalArgumentException for \"-extdirs\" CLI arg on Java 9\n // TODO bug in JDT? -extdirs should only be disallowed if used with --release\n // according to https://docs.oracle.com/javase/9/tools/javac.htm#GUID-AEEC9F07-CB49-4E96-8BC7-BCC2C7F725C9__STANDARDOPTIONSFORJAVAC-7D3D9CC2 \n extDirs = new String[0];\n }\n return new LibraryInfo(javaVersion, bootclasspath, extDirs, endorsedDirs);\n }", "title": "" }, { "docid": "fdc66aa675cd26f7eca0441e120dc27f", "score": "0.5099636", "text": "void displayPackageTree();", "title": "" }, { "docid": "624a9a2ec417f0db29bab2fe27cc799b", "score": "0.5099088", "text": "String getTargetPackage();", "title": "" }, { "docid": "3f59470674c456ced968c08fdef99b75", "score": "0.5094351", "text": "@Override\n public ICompileAndPackage getCompileAndPackageManager() {\n return new CompileAndPackage(Sets.newHashSet(\n // \"tis-sink-hudi-plugin\"\n MySQLSinkFactory.class\n // \"tis-datax-hudi-plugin\"\n // , \"com.alibaba.datax.plugin.writer.hudi.HudiConfig\"\n ));\n }", "title": "" }, { "docid": "88ff078ba3500a8888048851deb5b8b4", "score": "0.50904226", "text": "public String[] getProvidedPackages();", "title": "" }, { "docid": "edcce0e05f88c7b84e29ab976b6fd898", "score": "0.5083314", "text": "private String parsePackageName(Element annotatedClass) {\n Element enclosing = annotatedClass;\n while (enclosing.getKind() != ElementKind.PACKAGE) {\n enclosing = enclosing.getEnclosingElement();\n }\n return enclosing.toString();\n }", "title": "" }, { "docid": "efaaff48cd4139635bb7a108c38d69b7", "score": "0.50809133", "text": "@Test\n public void testParseFile3() {\n String contents =\n \"\"\n + \"goog.module('yes1');\\n\"\n + \"var yes2=goog.require('yes2');\\n\"\n + \"var C=goog.require(\\\"a.b.C\\\");\\n\"\n + \"const {\\n D,\\n E\\n}=goog.require(\\\"a.b.d\\\");\";\n\n DependencyInfo expected =\n SimpleDependencyInfo.builder(CLOSURE_PATH, SRC_PATH)\n .setProvides(ImmutableList.of(\"yes1\"))\n .setRequires(\n ImmutableList.of(\n googRequireSymbol(\"yes2\"),\n googRequireSymbol(\"a.b.C\"),\n googRequireSymbol(\"a.b.d\")))\n .setLoadFlags(ImmutableMap.of(\"module\", \"goog\"))\n .build();\n\n DependencyInfo result = parser.parseFile(SRC_PATH, CLOSURE_PATH, contents);\n\n assertDeps(expected, result);\n }", "title": "" }, { "docid": "b3196030899f38a2b075287c0cfd5bd6", "score": "0.50777984", "text": "private void getResultsFromPackagingService() {\n \t\t\n \t}", "title": "" }, { "docid": "c96e6cd60e21bcabb701f75ab84403b5", "score": "0.5064806", "text": "public static void main ( String args[] ) throws ParseException, IOException {\r\n\r\n /**\n\t\t * Attribute used to store a reference of a parser object that will do the compilation of source code in Relational Query Language.\n\t\t */\r\n RelationalQueryLanguage parser = null;\r\n\r\n /**\n\t\t * Attribute used to store the file name that will be analysis. \n\t\t */\r\n String fileName = null;\r\n\r\n /**\n\t\t * Attribute used to store the output path.\n\t\t */\r\n String outputPath = \"./\";\r\n\r\n /**\n\t\t * Attribute used to store the output file name.\n\t\t */\r\n String outputFileName = \"Output.SQL\";\r\n\r\n /**\n\t\t * Number of parameters errors.\n\t\t */\r\n int parametersErrors = 0;\r\n\r\n /**\n\t\t * For clause used to get the parameters that will be used in compiler process.\n\t\t */\r\n for ( int i = 0; i < args.length && parametersErrors == 0; i++ ) { //for 1\n\r\n String arg = args[i];\r\n\r\n if ( arg.toLowerCase().equals( \"--debug-syntax-analysis\" ) || arg.toLowerCase().equals( \"-s\" ) ) {\r\n\r\n debug_sa = true;\r\n }\r\n /*\n\t\t\t * Checking help parameter\n\t\t\t */\r\n else if ( arg.equals( \"--help \" ) || arg.equals( \"-h\" ) ) {\r\n\r\n helpText();\r\n System.exit( 0 );\r\n }\r\n /*\n\t\t\t * Checking attributes parameter\n\t\t\t */\r\n else if (arg.equals(\"--attributes-definition\") || arg.equals(\"-a\")) {\r\n i = checkParameterOfAttributesDefinition(args, i)-1;\r\n if (i < 1) {\r\n helpText();\r\n System.exit(0);\r\n }\r\n }\r\n /*\n\t\t\t * Checking output-path parameter\n\t\t\t */\r\n else if ( arg.toLowerCase().equals( \"--output-path\" ) || arg.toLowerCase().equals( \"-p\" ) ) {\r\n\r\n if ( i + 1 < args.length && checkParameterOfOutputPath( args[i+1] ) )\r\n outputPath = args[++i];\r\n else {\r\n\r\n System.out.println( \"The value of --output-path parameter is invalid.\" );\r\n parametersErrors++;\r\n }\r\n }\r\n /*\n\t\t\t * Checking output name parameter\n\t\t\t */\r\n else if ( arg.toLowerCase().equals( \"--output-name\" ) || arg.toLowerCase().equals( \"-n\" ) ) {\r\n\r\n if ( i + 1 < args.length && checkParameterOfOutputName( args[i+1] ) )\r\n outputFileName = args[++i];\r\n\r\n else {\r\n\r\n System.out.print( \"The value of output-name parameter is invalid.\" );\r\n parametersErrors++;\r\n }\r\n }\r\n /*\n\t\t\t * Checking target SQL parameter.\n\t\t\t */\r\n else if ( arg.toLowerCase().equals( \"--target-sql\" ) || arg.toLowerCase().equals( \"-t\" ) ) {\r\n\r\n if ( i + 1 < args.length && checkParameterOfTargetSQL( args[i+1] ) ) i++;\r\n\r\n else {\r\n\r\n System.out.print( \"The value of output-name parameter is invalid. It's just possible to use the SQL92 option.\" );\r\n parametersErrors++;\r\n }\r\n }\r\n /*\n\t\t\t * Checking export tree parameter\n\t\t\t */\r\n else if ( arg.equals(\"--export-tree\") || arg.equals(\"-e\")) {\r\n export_tree = true;\r\n }\r\n /*\n\t\t\t * Checking if the file is in the last index. \n\t\t\t */\r\n else if ( i != args.length - 1 ) {\r\n\r\n parametersErrors++;\r\n }\r\n /*\n\t\t\t * All right. Now we go to do the compilation. \t\n\t\t\t */\r\n else\r\n fileName = arg;\r\n } //for 1\n\r\n if ( parametersErrors != 0 ) {\r\n\r\n System.out.println();\r\n helpText();\r\n System.exit(0);\r\n }\r\n else {\r\n\r\n System.out.printf( \"Reading from file %s\\u005cn\", fileName );\r\n\r\n try {\r\n\r\n parser = new RelationalQueryLanguage( new FileInputStream( fileName ) );\r\n\r\n /*\n\t\t\t\t * Disabling/Enabling the syntax analysis debug\n\t\t\t\t */\r\n if ( !debug_sa )\r\n parser.disable_tracing();\r\n else\r\n parser.enable_tracing();\r\n }\r\n catch ( FileNotFoundException exception ) {\r\n\r\n System.out.printf( \"File %s not found.\\u005cn\", fileName );\r\n System.exit(0);\r\n }\r\n\r\n /*\n\t\t\t * Set a default output name if it is empty\n\t\t\t */\r\n\r\n try {\r\n\r\n root = parser.program();\r\n PrintTree pt = new PrintTree();\r\n if (debug_sa)\r\n pt.printRoot(root);\r\n if (export_tree)\r\n pt.exportDotTree(root);\r\n RelationCheck rc = null;\r\n int semanticErrors = 0;\r\n if (symbolTable != null) {\r\n rc = new RelationCheck(symbolTable);\r\n semanticErrors = rc.semanticAnalysis(root);\r\n System.out.println(\"Semantic Errors: \" + semanticErrors);\r\n }\r\n if (semanticErrors == 0) {\r\n CodeGenerator generator = new CodeGenerator(symbolTable, outputPath + outputFileName, VERSION);\r\n generator.generate(root);\r\n }\r\n\r\n }\r\n catch ( NullPointerException exception ) {\r\n\r\n System.out.println( \"A file must be specified.\" );\r\n }\r\n finally {\r\n\r\n\r\n switch ( parser.token_source.foundLexError() ) {\r\n case 0:\r\n System.out.println( \"Lexical errors were not found.\" );\r\n break;\r\n\r\n case 1:\r\n System.out.printf( \"%c[1m%i%c[0m lexical error was found.\\u005cn\", 27, 1, 27 );\r\n break;\r\n\r\n default:\r\n System.out.printf( \"%c[1m%i%c[0m lexical errors were found.\\u005cn\", 27, parser.token_source.foundLexError(), 27 );\r\n }\r\n\r\n System.out.println( \"Analysis finished.\" );\r\n }\r\n }\r\n\r\n }", "title": "" }, { "docid": "5849df6dd1e1141e837fea69f9396fe3", "score": "0.50646365", "text": "public PackageSpecification[] getPackages();", "title": "" }, { "docid": "58e7b70624faf8a84984ae9fa7908c49", "score": "0.5061611", "text": "public static void main(String[] args) throws Exception {\n FileReader groupFileR = new FileReader(\"T.stg\");\n StringTemplateGroup templates =\n new StringTemplateGroup(groupFileR);\n groupFileR.close();\n\n // PARSE INPUT AND COMPUTE TEMPLATE\n ANTLRInputStream input = new ANTLRInputStream(System.in);\n TLexer lexer = new TLexer(input); // create lexer\n CommonTokenStream tokens = new CommonTokenStream(lexer);\n TParser parser = new TParser(tokens); // create parser\n parser.setTemplateLib(templates); // give parser templates\n TParser.s_return r = parser.s(); // parse rule s\n\tStringTemplate output = r.getTemplate();\n System.out.println(output.toString());// emit translation\n }", "title": "" }, { "docid": "806bbccdeaafe0b24cbb32cfb8c099e6", "score": "0.5057149", "text": "public interface PackageNameProvider {\n /**\n * Returns a set of package names.\n *\n * @return the package names. An empty set is returned if no package names are to be provided.\n * @throws IOException if failed to get package names.\n */\n Set<String> get() throws IOException;\n}", "title": "" }, { "docid": "39f3f818fc368d5bf41531f75f35397d", "score": "0.5041408", "text": "public ParseTree parse() throws Exception {\n\t\tParseTree tree = new ParseTree(this.library, this.policy);\r\n\t\tfor (Iterator itr = pathnames.iterator(); itr.hasNext();) {\r\n\t\t\tString pathname = (String) itr.next();\r\n\t\t\tDebug.logn(\"Parse \" + pathname, this);\r\n\t\t\tthis.parseFile(pathname, tree);\r\n\t\t\tDebug.logn(\"Done parsing \" + pathname, this);\r\n \r\n\t\t}\r\n tree.resolvePartialMetaClassAndNamingConflicts();\r\n List l = tree.getMetaClasses();\r\n for (Iterator itr = l.iterator(); itr.hasNext();) {\r\n MetaClass mc = (MetaClass) itr.next();\r\n mc.parseBody();\r\n }\r\n\t\treturn tree;\r\n\t}", "title": "" }, { "docid": "0080a73fc07217e45bb680046cb96888", "score": "0.50347567", "text": "private static void printHelpMessage() {\n System.out.println(\"ASTExtractor: Abstract Syntax Tree Extractor for Java Source Code\\n\");\n System.out.println(\"Run as:\\n java -jar ASTExtractor.jar -project=\\\"path/to/project\\\"\"\n + \" -properties=\\\"path/to/propertiesfile\\\" -repr=XML|JSON\");\n System.out.println(\"Or as:\\n java -jar ASTExtractor.jar -file=\\\"path/to/file\\\"\"\n + \" -properties=\\\"path/to/propertiesfile\\\" -repr=XML|JSON\");\n System.out.println(\"where -properties allows setting the location of the properties file\"\n + \" (default is no properties so all syntax tree nodes are returned)\");\n System.out.println(\"and -repr allows selecting the representation of the tree (default is XML)\");\n }", "title": "" }, { "docid": "1d470d211a9c876f7c429476de51a0de", "score": "0.5031909", "text": "void parse(List<CompilationUnitContext> contextList) {\n if (!this.skipImports) {\n ImportManager.getInstance().doImport(null, Environment.SANKA_LANG, \"String\");\n ImportManager.getInstance().doImport(null, Environment.SANKA_LANG, \"System\");\n }\n for (CompilationUnitContext ctx : contextList) {\n parseClassNames(ctx);\n }\n for (CompilationUnitContext ctx : contextList) {\n parse(ctx);\n }\n Environment env = Environment.getInstance();\n for (ClassDefinition classdef : env.classList) {\n ExportUtils.parseExports(classdef);\n }\n }", "title": "" }, { "docid": "85b9d16b2902c47bc9bce91bdde46922", "score": "0.50261277", "text": "MTLPackage getMTLPackage();", "title": "" }, { "docid": "a383f5a2ff1c235a785df114ac1d6ebc", "score": "0.50260293", "text": "List<ImportedPackage> getDynamicImportedPackages();", "title": "" }, { "docid": "8e906dcb14749620b50d024df3800ce5", "score": "0.5005165", "text": "private static void setupDigesterCompileTimeCheck() { \n if (true) { throw new Error(\"never invoked\"); }\n AjcTest.Suite.Spec suite = new AjcTest.Suite.Spec();\n AjcTest.Spec test = new AjcTest.Spec();\n Sandbox sandbox = null;\n Validator validator = null;\n // AjcTest ajctest = new AjcTest(test, sandbox, validator);\n // ajctest.addRunSpec((AbstractRunSpec) null);\n //// test.makeIncCompilerRun((IncCompilerRun.Spec) null);\n //// test.makeJavaRun((JavaRun.Spec) null);\n // ajctest.setDescription((String) null);\n // ajctest.setTestBaseDirOffset((String) null);\n // ajctest.setBugId((String) null);\n // ajctest.setTestSourceLocation((ISourceLocation) null);\n \n CompilerRun.Spec crunSpec = new CompilerRun.Spec();\n crunSpec.addMessage((IMessage) null);\n // XXX crunSpec.addSourceLocation((ISourceLocation) null);\n crunSpec.addWrapFile((AbstractRunSpec.WrapFile) null);\n crunSpec.setOptions((String) null);\n crunSpec.setPaths((String) null);\n crunSpec.setIncludeClassesDir(false);\n crunSpec.setReuseCompiler(false);\n crunSpec.setXlintfile((String) null);\n crunSpec.setOutjar((String)null);\n \n IncCompilerRun.Spec icrunSpec = new IncCompilerRun.Spec();\n icrunSpec.addMessage((IMessage) null);\n icrunSpec.setTag((String) null);\n icrunSpec.setFresh(false);\n \n JavaRun.Spec jrunspec = new JavaRun.Spec();\n jrunspec.addMessage((IMessage) null);\n jrunspec.setClassName((String) null);\n jrunspec.addMessage((IMessage) null);\n // input s.b. interpretable by Boolean.valueOf(String)\n jrunspec.setSkipTester(true); \n jrunspec.setErrStreamIsError(true);\n jrunspec.setOutStreamIsError(true);\n \n DirChanges.Spec dcspec = new DirChanges.Spec();\n dcspec.setAdded((String) null);\n dcspec.setRemoved((String) null);\n dcspec.setUpdated((String) null);\n dcspec.setDefaultSuffix((String) null);\n dcspec.setDirToken((String) null);\n \n SoftMessage m = new SoftMessage();\n m.setSourceLocation((ISourceLocation) null);\n m.setText((String) null);\n m.setKindAsString((String) null);\n m.setDetails((String) null);\n \n SoftSourceLocation sl = new SoftSourceLocation();\n sl.setFile((String) null); \n sl.setLine((String) null); \n sl.setColumn((String) null); \n sl.setEndLine((String) null); \n \n // add attribute setters to validate?\n }", "title": "" }, { "docid": "709969cf5262a0251e6e98483be370ec", "score": "0.4990031", "text": "static void parseTmd(PushbackReader rdr)\n throws SyntaxError, IOException {\n\n // Read grammars.\n ImList list = desugar(readSexpList(rdr, null));\n\n if (printExpanded) {\n printBeautifully(list);\n }\n\n // Read Java part.\n ImList javaList = ImList.Empty;\n ImList imports = ImList.Empty;\n ImList cgMethods = ImList.Empty;\n ImList stMethods = ImList.Empty;\n\n String mode = IMPORT;\n for (;;) {\n String line = readWhites(rdr);\n int ch = rdr.read();\n if (ch < 0)\n break;\n\n if (ch != '%') {\n rdr.unread(ch);\n line = line + readLine(rdr);\n javaList = new ImList(line, javaList);\n continue;\n }\n\n // seen '%' at start of line.\n String word = readToken(rdr);\n if (word.equals(DEFEMIT)) {\n String head = expandDefMacro(DEFEMIT, rdr);\n line = line + head + readLine(rdr);\n javaList = new ImList(line, javaList);\n continue;\n }\n else if (word.equals(DEFBUILD)) {\n String head = expandDefMacro(DEFBUILD, rdr);\n line = line + head + readLine(rdr);\n javaList = new ImList(line, javaList);\n continue;\n }\n\n readLine(rdr); // ignore rest of line\n\n if (mode == IMPORT) \n imports = javaList;\n else if (mode == STATE)\n stMethods = javaList;\n else if (mode == CODEGENERATOR)\n cgMethods = javaList;\n\n if (word.equals(STATE)) {\n mode = STATE;\n javaList = stMethods;\n }\n else if (word.equals(CODEGENERATOR)) {\n mode = CODEGENERATOR;\n javaList = cgMethods;\n }\n else\n throw new SyntaxError(\"Unknown %\" + word);\n }\n\n if (mode == IMPORT)\n imports = javaList;\n else if (mode == STATE)\n stMethods = javaList;\n else if (mode == CODEGENERATOR)\n cgMethods = javaList;\n\n imports = imports.destructiveReverse();\n stMethods = stMethods.destructiveReverse();\n cgMethods = cgMethods.destructiveReverse();\n\n // Parse grammars\n for (; !list.atEnd(); list = list.next()) {\n Object obj = list.elem();\n\n try {\n if (obj instanceof ImList) {\n ImList form = (ImList)obj;\n if (form.elem() == \"def\")\n doDef(form);\n else if (defFileOnly)\n continue;\n else if (form.elem() == \"defstart\")\n doDefStart(form);\n else if (form.elem() == \"defrule\")\n doDefRule(form);\n else if (form.elem() == \"defregset\")\n doDefRegset(form);\n else if (form.elem() == \"defregsetvar\")\n doDefRegsetVar(form);\n else if (form.elem() == \"defrewrite\")\n doDefRewrite(form);\n else if (form.elem() == \"defpattern\")\n doDefPattern(form);\n else\n throw new SyntaxError(\"unknown: \" + form);\n } else\n throw new SyntaxError(\"unknown: \" + obj);\n } catch (SyntaxError e) {\n throw new SyntaxError(e.getMessage() + \" at: \" + obj);\n }\n }\n\n if (defFileOnly)\n return;\n\n if (instSel.startSym() == null)\n instSel.setStartSym(\"void\");\n instSel.startSym().setUsed();\n instSel.checkGrammar();\n instSel.prepare();\n instSel.printProductions(out);\n\n rewriting.setStartSym(\"_rewr\");\n rewriting.startSym().setUsed();\n rewriting.startSym().setDefined();\n rewriting.checkGrammar();\n rewriting.prepare();\n rewriting.printProductions(out);\n\n // Generate Java source\n String line;\n while ((line = proto.readLine()) != null) {\n int n = 0;\n for (; n < line.length(); n++) {\n if (!Character.isWhitespace(line.charAt(n)))\n break;\n }\n String indent = line.substring(0, n);\n String trim = line.substring(n);\n if (trim.startsWith(\"$decl\")) {\n // Generate parameters\n if (trim.substring(5).startsWith(\"-rewrite\"))\n rewriting.genParameters(out, indent);\n else\n instSel.genParameters(out, indent);\n }\n else if (trim.startsWith(\"$tables\")) {\n // Generate Rule table\n instSel.genRuleTable(out, indent, getPass(trim, 7));\n }\n else if (trim.startsWith(\"$chains\")) {\n // Generate chain action\n if (trim.substring(7).startsWith(\"-rewrite\"))\n rewriting.genChainRuleAction(out, indent);\n else\n instSel.genChainRuleAction(out, indent);\n }\n else if (trim.startsWith(\"$rules\")) {\n // Generate Rule Action\n if (trim.substring(6).startsWith(\"-rewrite\"))\n rewriting.genRuleAction(out, indent, getPass(trim, 13));\n else\n instSel.genRuleAction(out, indent, getPass(trim, 6));\n }\n else if (trim.startsWith(\"$regsettype\")) {\n // register-set and type table.\n for (BiLink q = typeRegsetList.first(); !q.atEnd(); q = q.next()) {\n ImList pair = (ImList)q.elem();\n out.println(indent + \"case \" + pair.elem()\n + \": return \" + \"\\\"\" + pair.elem2nd() + \"\\\";\");\n }\n }\n else if (trim.startsWith(\"$import\")) {\n // copy imports\n for (ImList p = imports; !p.atEnd(); p = p.next())\n out.println(indent + (String)p.elem());\n }\n else if (trim.startsWith(\"$state\")) {\n // copy State methods\n for (ImList p = stMethods; !p.atEnd(); p = p.next())\n out.println(indent + replaceDollars((String)p.elem()));\n }\n else if (trim.startsWith(\"$codegenerator\")) {\n // copy CodeGenerator methods\n for (ImList p = cgMethods; !p.atEnd(); p = p.next())\n out.println(indent + replaceDollars((String)p.elem()));\n }\n else if (trim.startsWith(\"$buildmac\")) {\n // generate defbuild dispatcher\n boolean first = true;\n for (BiLink p = javaMacros.first(); !p.atEnd(); p = p.next()) {\n JavaMacro em = (JavaMacro)p.elem();\n if (em.kind == DEFBUILD && !em.forLirNode()) {\n out.println(indent + (first ? \"\" : \"else \")\n + \"if (name == \\\"\" + em.name + \"\\\")\");\n out.println(indent + \" return \" + em.invokeCode(\"form\", null) + \";\");\n first = false;\n }\n }\n }\n else if (trim.startsWith(\"$buildlir\")) {\n // generate defbuild dispatcher\n for (BiLink p = javaMacros.first(); !p.atEnd(); p = p.next()) {\n JavaMacro em = (JavaMacro)p.elem();\n if (em.kind == DEFBUILD && em.forLirNode()) {\n out.println(indent + \"case Op.\" + em.name + \":\");\n out.println(indent + \" return \" + em.invokeCode(\"node\", null) + \";\");\n }\n }\n }\n else if (trim.startsWith(\"$emitlist\")) {\n // generate defemit dispatcher\n boolean first = true;\n for (BiLink p = javaMacros.first(); !p.atEnd(); p = p.next()) {\n JavaMacro em = (JavaMacro)p.elem();\n if (em.kind == DEFEMIT && !em.forLirNode()) {\n out.println(indent + (first ? \"\" : \"else \")\n + \"if (name == \\\"\" + em.name + \"\\\")\");\n out.println(indent + \" return \" + em.invokeCode(\"form\", null) + \";\");\n first = false;\n }\n }\n }\n else if (trim.startsWith(\"$emitlir\")) {\n // generate defemit dispatcher\n for (BiLink p = javaMacros.first(); !p.atEnd(); p = p.next()) {\n JavaMacro em = (JavaMacro)p.elem();\n if (em.kind == DEFEMIT && em.forLirNode()) {\n out.println(indent + \"case Op.\" + em.name + \":\");\n out.println(indent + \" return \" + em.invokeCode(\"node\", null) + \";\");\n }\n }\n }\n else {\n out.println(replaceDollars(line));\n }\n }\n out.flush();\n }", "title": "" }, { "docid": "313d2ac3026cdf87a7a35a300432d573", "score": "0.49741518", "text": "public static void main(String[] args) {\n\n // in order for our integer list to work, we always need to import\n List<Integer> integerList = new ArrayList<>();\n System.out.println(\"This program works!\");\n\n // there are packages and classes with the same\n // it'll be up to you to determine the correct import\n // the IDE is pretty smart, so 7/10 you can rely on it\n // as you continue using it, the IDE should get better at guessing your imports\n\n // now I want to import from my userdefined package\n System.out.println(\"This value comes from a custom package: \"+CodeThatINeed.valueThatINeed);\n\n\n // ultimately packages are just folders\n // don't over think it, they're pretty much there to hep you organize your code\n\n // it makes sense to group code that is doing similar things or have similar behavior\n\n\n }", "title": "" }, { "docid": "b154d73de5438859f16785597435c33c", "score": "0.49666563", "text": "public String getPackageName() {\n // assert EventQueue.isDispatchThread();\n Reader r;\n r = new StringReader(getText()); // getText() is cheap if document is not resident\n try { return new Parser(r).packageDeclaration(Parser.DeclType.TOP).getName(); }\n catch (ParseException e) { return \"\"; }\n // addresses bug [ 1815387 ] Editor should discard parse errors for now\n // we should upgrade our parser to handle @\n catch (TokenMgrError e) { return \"\"; }\n catch (Error e) {\n // JavaCharStream does not use a useful exception type for escape character errors\n String msg = e.getMessage();\n if (msg != null && msg.startsWith(\"Invalid escape character\")) {\n return \"\";\n }\n else { throw e; }\n }\n finally {\n try { r.close(); }\n catch (IOException e) { /* ignore */ }\n }\n }", "title": "" }, { "docid": "13219a5d77b8dcc86b5db66c16d7f288", "score": "0.49666387", "text": "public Operation[] parseProgram(PrintWriter phpWriter)\n throws ParseException\n {\n\n ops = new Operation[ 100 ];\n numOps = 1;\n listElements = null;\n listTail = \"\";\n php = phpWriter;\n hSpacing = 0.5;\n indent = 1;\n infoString = \"\";\n\n System.out.print( \"Parsing source code... \" );\n System.out.flush();\n\n Input();\n\n System.out.println( \"done\" );\n\n return ops;\n }", "title": "" }, { "docid": "8bcc0148151b03cdc6b62af4aca32d4f", "score": "0.4962064", "text": "public static void main(String[] args) {\n\t\t// String srcDir = \"C:/Documents and Settings/ostwald/devel/projects/dlese-tools-project/src\";\n\t\tString srcDir = \"/Users/ostwald/devel/projects/dlese-tools-project/src\";\n\t\tString cachePath = srcDir + \"/\" + CASHED_SERVICE_INDEX;\n\t\ttry {\n\t\t\t\n\t\t\tAsnAuthors authors = AsnAuthors.getInstance();\n\t\t\tif (authors == null)\n\t\t\t\tthrow new Exception (\"AsnAuthors is NULL\");\n\t\t\t// authors.cacheIndexDoc(cachePath);\n\t\t\t// authors.report();\n\t\t\t\n\t\t\t// getAuthorPurl tester\n \t\t\t// Iterator authorIter = authors.getObjects().iterator(); \n\t\t\t// while(authorIter.hasNext()) {\n\t\t\t\t// Jurisdiction author = (Jurisdiction)authorIter.next();\n\t\t\t\t// prtln (\"- \" + author.purl + \": \" + getAuthorPurl(author.abbrev));\n\t\t\t// }\n\t\t\t\n\t\t\t// String abbrev = \"CO\";\n\t\t\tString abbrev = \"WMO\";\n\t\t\tString purl = getAuthorPurl(abbrev);\n\t\t\tprtln (\"purl for \" + abbrev + \": \" + purl);\n\t\t\tJurisdiction author = authors.getJurisdiction(purl);\n\t\t\tif (author == null)\n\t\t\t\tthrow new Exception (\"Jurisdiction NOT FOUND\");\n\t\t\t\n\t\t\tprtln (\"found Jurisdiction: \" + author.toString());\n\t\t\tprtln (Dom4jUtils.prettyPrint(author.element));\n\t\t} catch (Throwable t) {\n\t\t\tprtln(\"Error: \" + t.getMessage());\n\t\t\tt.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "64c1b6ddac5136de85c04a6e6acdef77", "score": "0.4956411", "text": "public List<String> getPackages();", "title": "" }, { "docid": "960dd86124669769f87ebb0b2b7596c1", "score": "0.49536303", "text": "public static void main(String[] args) throws IOException{\n File folder = new File(args[0]);\n File[] listOfFiles = folder.listFiles();\n\n for (File file : listOfFiles) {\n if (file.isFile()) {\n System.out.println(parseFile(file.toString()));\n }\n}\n \n \n //System.out.println(parseFile(args[0]));\n }", "title": "" }, { "docid": "902fd468f5b75189fc8e4e66df299e1b", "score": "0.49521217", "text": "public static void main(String[] argv) throws Exception {\n ResourceSet rs = new ResourceSetImpl();\n // the usual file extension registration\n rs.getResourceFactoryRegistry().getExtensionToFactoryMap().put(\"ecore\", new XMIResourceFactoryImpl());\n // we then create the URI (note that creating the resource does\n // not mean it's overwritten or anything).\n Resource res = rs.createResource(URI.createFileURI(\"./src/test/resources/AlloyInECore/Generics1.ecore\"));\n // finally, we load the resource.\n res.load(null);\n // so, we know that the toplevel element is a package.\n // this package contains the classes that play the role\n // of the metaclasses for this test.\n EPackage metapackage = (EPackage) res.getContents().get(0);\n\n System.out.println(res.getContents().get(0).eContents().get(7).eContents());\n\n TreeIterator<EObject> allContents = res.getAllContents();\n while (allContents.hasNext()) {\n EObject next = allContents.next();\n System.out.println(next);\n }\n }", "title": "" }, { "docid": "f24e322915993d07edf12cdbba5c761a", "score": "0.4946736", "text": "public interface ParserBean {\n String parserBean = \"package com.xy.open.processor.generated;\\n\" +\n \"\\n\" +\n \"import android.text.TextUtils;\\n\" +\n \"import android.util.Log;\\n\" +\n \"\\n\" +\n \"import com.xy.open.GrantListener;\\n\" +\n \"import com.xy.open.MethodTarget;\\n\" +\n \"import com.xy.open.bean.ClassValue;\\n\" +\n \"import com.xy.open.bean.Property;\\n\" +\n \"import com.xy.open.permission.Dispatch;\\n\" +\n \"import com.xy.open.permission.Dispatcher;\\n\" +\n \"import com.xy.open.permission.RequestListener;\\n\" +\n \"import com.xy.open.pool.BaseTask;\\n\" +\n \"import com.xy.open.util.MappingObject;\\n\" +\n \"\\n\" +\n \"import java.lang.annotation.Annotation;\\n\" +\n \"import java.lang.reflect.InvocationTargetException;\\n\" +\n \"import java.lang.reflect.Method;\\n\" +\n \"import java.util.ArrayList;\\n\" +\n \"import java.util.LinkedHashMap;\\n\" +\n \"import java.util.List;\\n\" +\n \"import java.util.Map;\\n\" +\n \"import java.util.Set;\\n\" +\n \"\\n\" +\n \"/**\\n\" +\n \" * Created by yonehsiung@gmail.com on 2017/4/11.\\n\" +\n \" */\\n\" +\n \"\\n\" +\n \"public class Parser extends BaseTask {\\n\" +\n \" private static Parser parsePermission;\\n\" +\n \" private Map<String, GrantListener> callbacks = new LinkedHashMap<String, GrantListener>();\\n\" +\n \" private Dispatch dispatcher;\\n\" +\n \"\\n\" +\n \" public static Parser getInstances() {\\n\" +\n \" if (parsePermission == null) {\\n\" +\n \" parsePermission = new Parser();\\n\" +\n \"\\n\" +\n \" }\\n\" +\n \" return parsePermission;\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" public Parser() {\\n\" +\n \" if (dispatcher == null) {\\n\" +\n \" dispatcher = Dispatcher.instants.getDispatcher();\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" public String[] getMethodParameters(Method method) {\\n\" +\n \" Annotation[][] parameterAnnotations = method.getParameterAnnotations();\\n\" +\n \" if (parameterAnnotations == null || parameterAnnotations.length == 0) {\\n\" +\n \" return null;\\n\" +\n \" }\\n\" +\n \" String[] parameterNames = new String[parameterAnnotations.length];\\n\" +\n \" int i = 0;\\n\" +\n \" for (Annotation[] parameterAnnotation : parameterAnnotations) {\\n\" +\n \" for (Annotation annotation : parameterAnnotation) {\\n\" +\n \" if (annotation instanceof MethodTarget) {\\n\" +\n \" MethodTarget param = (MethodTarget) annotation;\\n\" +\n \" parameterNames[i++] = param.value();\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" return parameterNames;\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" public void parse(Property.Properties permission, Object... args) {\\n\" +\n \" if (permission != null){\\n\" +\n \" innerParser(permission, args);\\n\" +\n \" runTask();\\n\" +\n \" }\\n\" +\n \" \\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" private void innerParser(final Property.Properties permission, final Object... args) {\\n\" +\n \" String[] permissions = permission.permissions.toArray(new String[permission.permissions.size()]);\\n\" +\n \" if (dispatcher.checkNeedGrantedPermission(permission.grantCode, permission.denyMessage, permissions)) {\\n\" +\n \" dispatcher.setCheckedListener(new RequestListener() {\\n\" +\n \" @Override\\n\" +\n \" public void requestResult(int requestCode, String[] permissions, boolean promise) {\\n\" +\n \" run(permission.invoke,permission.method, permission.paramPairs, promise, args);\\n\" +\n \" }\\n\" +\n \" });\\n\" +\n \" dispatcher.requestPermission(permission.grantCode, permissions);\\n\" +\n \" } else {\\n\" +\n \" run(permission.invoke,permission.method, permission.paramPairs, true, args);\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \"\\n\" +\n \" private void invoke(String className, String simpleMethodName, boolean promise, ClassValue params) {\\n\" +\n \" if (params != null) {\\n\" +\n \" try {\\n\" +\n \" Class<?> clazz = Class.forName(className);\\n\" +\n \" try {\\n\" +\n \" try {\\n\" +\n \" Object[] paramsFields = params.getFields();\\n\" +\n \" Method method = clazz.getMethod(simpleMethodName, params.getClasses());\\n\" +\n \" Object invoke = method.invoke(clazz.newInstance(), paramsFields);\\n\" +\n \" if (callbacks.size() != 0) {\\n\" +\n \" GrantListener listener = callbacks.remove(simpleMethodName);\\n\" +\n \" if (listener != null)\\n\" +\n \" listener.onPromise(promise, invoke);\\n\" +\n \" \\n\" +\n \" }\\n\" +\n \" remove(this);\\n\" +\n \" \\n\" +\n \" } catch (NoSuchMethodException e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" }\\n\" +\n \" } catch (IllegalAccessException e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" } catch (InstantiationException e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" } catch (InvocationTargetException e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" }\\n\" +\n \" } catch (ClassNotFoundException e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" public void run(boolean invoke, String fullMethodName, LinkedHashMap<String, String> params, boolean promise, Object[] args) {\\n\" +\n \" String[] split = fullMethodName.split(\\\"\\\\\\\\.\\\");\\n\" +\n \" if (split != null && split.length != 0) {\\n\" +\n \" String simpleMethodName = split[split.length - 1];\\n\" +\n \" String className = fullMethodName.substring(0, fullMethodName.lastIndexOf(\\\".\\\" + simpleMethodName));\\n\" +\n \" ClassValue classes = getClasses(simpleMethodName, params, args);\\n\" +\n \" if (invoke)\\n\" +\n \" invoke(className, simpleMethodName, promise, classes);\\n\" +\n \" else {\\n\" +\n \" if (callbacks.size() != 0) {\\n\" +\n \" GrantListener listener = callbacks.remove(simpleMethodName);\\n\" +\n \" if (listener != null)\\n\" +\n \" listener.onPromise(promise, null);\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \" private ClassValue getClasses(String simpleMethodName, LinkedHashMap<String, String> params, Object[] fields) {\\n\" +\n \" List<Class> classes = new ArrayList<Class>();\\n\" +\n \" List<Object> args = new ArrayList<Object>();\\n\" +\n \" if (params != null && params.size() != 0) {\\n\" +\n \" Set<String> keySet = params.keySet();\\n\" +\n \" String[] keys = keySet.toArray(new String[keySet.size()]);\\n\" +\n \" for (int i = 0; i < keys.length; i++) {\\n\" +\n \" String key = keys[i];\\n\" +\n \" String unpackFiled = MappingObject.getUnpackFiled(key);\\n\" +\n \" String type = TextUtils.isEmpty(unpackFiled) ? key : unpackFiled;\\n\" +\n \" Object field = fields[i];\\n\" +\n \" if (type.contains(\\\".\\\")) {\\n\" +\n \" try {\\n\" +\n \" Class<?> classType = Class.forName(type);\\n\" +\n \" classes.add(classType);\\n\" +\n \"\\n\" +\n \" } catch (ClassNotFoundException e) {\\n\" +\n \" Log.d(\\\"Wrap_Object\\\", e.getMessage());\\n\" +\n \"\\n\" +\n \" }\\n\" +\n \" } else {\\n\" +\n \" classes.add(MappingObject.getFiled(type));\\n\" +\n \" }\\n\" +\n \" args.add(field);\\n\" +\n \" if (field instanceof GrantListener) {\\n\" +\n \" callbacks.put(simpleMethodName, (GrantListener) field);\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" }\\n\" +\n \" try {\\n\" +\n \" Class[] classArray = classes.toArray(new Class[classes.size()]);\\n\" +\n \" Object[] argsArray = args.toArray(new Object[args.size()]);\\n\" +\n \" return new ClassValue(classArray, argsArray);\\n\" +\n \" } catch (Exception e) {\\n\" +\n \" e.printStackTrace();\\n\" +\n \" }\\n\" +\n \" return null;\\n\" +\n \" }\\n\" +\n \"\\n\" +\n \"}\\n\";\n}", "title": "" }, { "docid": "86c6b1cb69d972e5a0c26a8521a47f6a", "score": "0.49435365", "text": "@Override\n public Object visitImportExpr(Expr.Import expr) {\n Object result = evaluate(expr.toImport);\n if (!(result instanceof String)) {\n System.err.println(result.getClass().getSimpleName());\n System.err.println(\"Must be presented as a string\");\n return null;\n }\n\n if (Mani.hasInternet) {\n // If there is internet, we will choose to use that STDLIB over the local...\n // simply due to the fact that it will be more up-to-date.\n if (Std.find((String) result).equalsIgnoreCase(\"-2\")){\n // This means it has already been loaded.\n return \"Already loaded!\";\n } else {\n try {\n URL url = new URL(\"https://raw.githubusercontent.com/theonlyartz/Mani/master/stdlib/\" + (String) result + \".mni\");\n Scanner s = new Scanner(url.openStream());\n String final_file = \"\";\n while(s.hasNextLine()){\n final_file += s.nextLine() + \"\\n\";\n }\n Std.loadFromUrl(this, final_file);\n return final_file;\n }\n catch(IOException ex) {\n String res = Std.find((String) result);\n if (res.equalsIgnoreCase(\"-1\")) {\n System.err.println(\"No such library!\");\n } else {\n return Std.loadFile(this, res);\n }\n }\n }\n } else {\n // As there is no internet. We are going to have to try and use the local version\n // That is if the user actually has them installed...\n if (!Std.hasRun) {\n Std.Load();\n }\n String res = Std.find((String) result);\n if (res.equalsIgnoreCase(\"-1\")) {\n System.err.println(\"No such library!\");\n } else if (res.equalsIgnoreCase(\"-2\")) {\n return \"Already loaded!\";\n } else {\n return Std.loadFile(this, res);\n }\n }\n return null;\n }", "title": "" }, { "docid": "77fa49c759b75bbae265058d5c6d82dd", "score": "0.49424624", "text": "private GithubParser() {\n }", "title": "" }, { "docid": "7e01856f9740ccd8dd691694d14b3c3f", "score": "0.49392697", "text": "public String getPackageName()\n {\n if (!this.finished)\n {\n throw new IllegalStateException(\"parser not started or still running\");\n }\n \n return ((JavaParser) this.parser).getPackageName();\n }", "title": "" }, { "docid": "12896328907cab381f8aebab0dfec5dd", "score": "0.49374974", "text": "protected void extendsStarted(Attributes attributes) throws ParseException {\n String parentOrganisation = getSettings().substitute(attributes.getValue(\"organisation\"));\n String parentModule = getSettings().substitute(attributes.getValue(\"module\"));\n String parentRevision = attributes.getValue(\"revision\") != null ? getSettings().substitute(\n attributes.getValue(\"revision\")) : Ivy.getWorkingRevision();\n String location = attributes.getValue(\"location\") != null ? getSettings().substitute(\n attributes.getValue(\"location\")) : getDefaultParentLocation();\n ModuleDescriptor parent = null;\n\n String extendType = attributes.getValue(\"extendType\") != null ? getSettings().substitute(\n attributes.getValue(\"extendType\").toLowerCase(Locale.US)) : \"all\";\n\n List<String> extendTypes = Arrays.asList(extendType.split(\",\"));\n ModuleId parentMid = new ModuleId(parentOrganisation, parentModule);\n ModuleRevisionId parentMrid = new ModuleRevisionId(parentMid, parentRevision);\n\n // check on filesystem based on location attribute (for dev ONLY)\n boolean local = false;\n try {\n parent = parseParentModuleOnFilesystem(location);\n if (parent != null) {\n ModuleId foundMid = parent.getResolvedModuleRevisionId().getModuleId();\n if (!foundMid.equals(parentMid)) {\n // the filesystem contains a parent module with different organisation\n // or module name; ignore that parent module\n Message.info(\"Found a parent module with unexpected ModuleRevisionId at source location \"\n + location + \"! Expected: \" + parentMid + \". Found: \" + foundMid\n + \". This parent module will be ignored.\");\n parent = null;\n }\n }\n\n local = parent != null;\n } catch (IOException e) {\n Message.warn(\"Unable to parse included ivy file \" + location + \" : \" + e.getMessage());\n }\n\n // if not found, tries to resolve using repositories\n if (parent == null) {\n try {\n parent = parseOtherIvyFile(parentMrid);\n } catch (ParseException e) {\n Message.warn(\"Unable to parse included ivy file for \" + parentMrid.toString() + \" : \"\n + e.getMessage());\n }\n }\n\n // if still not found throw an exception\n if (parent == null) {\n throw new ParseException(\"Unable to parse included ivy file for \" + parentMrid.toString(), 0);\n }\n\n DefaultExtendsDescriptor ed = new DefaultExtendsDescriptor(parent, location,\n extendTypes.toArray(new String[extendTypes.size()]), local);\n getMd().addInheritedDescriptor(ed);\n\n mergeWithOtherModuleDescriptor(extendTypes, parent);\n }", "title": "" }, { "docid": "82cd99142c6b8748337c7f06a199fd16", "score": "0.49305698", "text": "public String generateFetchScript() {\n \t\tStringBuilder buffer = new StringBuilder();\n \t\tbuffer.append(\"#!/bin/sh\\n\");\n \t\tbuffer.append(\"usage='usage: $0 <tag>'\\n\");\n \t\tbuffer.append(\"name=eclipse-\" + getPackageName(mainPackage.getName())\n \t\t\t\t+ \"\\n\");\n \t\tbuffer.append(\"tag=$1\\n\");\n \t\tbuffer.append(\"tar_name=$name-fetched-src-$tag\\n\\n\");\n \t\tbuffer.append(\"# example of fetch command:\\n\");\n \t\tbuffer\n \t\t\t\t.append(\"# fetch_cmd=cvs -d:pserver:anonymous@dev.eclipse.org:/cvsroot/dsdp \\\\\\n\");\n \t\tbuffer.append(\"# export -r $tag org.eclipse.tm.rse/features/$f;\\n\\n\");\n \t\tbuffer.append(\"fetch_cmd=FIXME\\n\\n\");\n\t\tbuffer.append(\"if [ 'x$tag'x = 'xx' ]; then\\n\");\n\t\tbuffer.append(\" echo >&2 '$usage'\\n\");\n \t\tbuffer.append(\" exit 1\\n\");\n \t\tbuffer.append(\"fi\\n\\n\");\n \t\tbuffer.append(\"rm -fr $tar_name && mkdir $tar_name\\n\");\n \t\tbuffer.append(\"pushd $tar_name\\n\\n\");\n \t\tbuffer.append(\"# Fetch plugins\\n\");\n \t\tbuffer.append(\"for f in \\\\\\n\");\n \t\tbuffer.append(getProvidesBundlesString(mainPackage.getProvides()));\n \t\tHashSet<String> uniqueProvides = new HashSet<String>();\n \t\tfor (SubPackage subPackage : subPackages) {\n \t\t\tuniqueProvides = getProvidesBundles(subPackage.getProvides(),\n \t\t\t\t\tuniqueProvides);\n \t\t}\n \t\tbuffer.append(getProvidesBundlesString(uniqueProvides));\n \t\tbuffer.append(\"; do\\n\");\n \t\tbuffer.append(\"$fetch_cmd\\n\");\n \t\tbuffer.append(\"done\\n\\n\");\n \t\tbuffer.append(\"popd\\n\");\n \t\tbuffer.append(\"# create archive\\n\");\n \t\tbuffer.append(\"tar -cjf $tar_name.tar.bz2 $tar_name\\n\");\n \t\treturn buffer.toString();\n \t}", "title": "" }, { "docid": "1dc087076ee65bdd46ffcad8b829f4db", "score": "0.49212116", "text": "@Override\n\tpublic List<String> getListPackages() {\n\t\tlogger.log(Level.INFO, \"PackMan-CVMFS: Getting list of packages \");\n\n\t\tif (this.getHavePath()) {\n\t\t\tfinal String listPackages = SystemCommand.bash(alienv_bin + \" q --packman\").stdout;\n\t\t\treturn Arrays.asList(listPackages.split(\"\\n\"));\n\t\t}\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "7fdd0eb59944f1da9e19aa743718b881", "score": "0.491974", "text": "private static String getPackagePortion(String name)\n {\n \tint lastInd = name.lastIndexOf('.');\n \tif (lastInd == -1)\n \t\treturn \"\";\n \treturn name.substring(0, lastInd);\n }", "title": "" }, { "docid": "e82308e8f29ec046510b4cd04cb560ed", "score": "0.49158356", "text": "public static void main(String[] args) throws IOException, ParserException {\n List<URL> dumps = IOUtils.readLines(CategoriesToHDT.class.getResourceAsStream(\"/commons.lst\"), StandardCharsets.UTF_8).stream().map(e -> {\n try {\n return new URL(\"https://dumps.wikimedia.your.org/other/categoriesrdf/20210918/\" + e);\n } catch (MalformedURLException ex) {\n throw new IllegalArgumentException(\"meh\");\n }\n }).collect(Collectors.toList());\n HDT hdt = parseCategories(dumps);\n hdt.saveToHDT(\"/tmp/all_categ.hdt\", (v, s) -> {\n });\n }", "title": "" }, { "docid": "d46fd387fe0fe85043a599ff87fa3e91", "score": "0.49129248", "text": "String getComponentsPackage();", "title": "" }, { "docid": "fb23eeb33bff14745d04a929ed3c3d5c", "score": "0.49113527", "text": "public static void main(String[] args) \r\n {\n try\r\n {\r\n //FileOutputStream fout = new FileOutputStream(\"log.txt\");\r\n //System.setOut(new PrintStream(fout));\r\n UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());\r\n }\r\n catch(Exception e)\r\n {\r\n e.printStackTrace();\r\n }\r\n System.out.printf(\"Little Computer Simulator v%s\\n\",VERSION);\r\n //We need to lookup classes that implement our interfaces\r\n try\r\n {\r\n System.out.println(\"Working dir = \" + System.getProperty(\"user.dir\"));\r\n LCSystem sys = new LCSystem();\r\n PackageManager pacman = new PackageManager(sys);\r\n \r\n //Create a MainFrame to show that stuff is working\r\n MainFrame window = new MainFrame(sys,pacman);\r\n window.setVisible(true);\r\n pacman.setMainFrame(window);\r\n \r\n Document initXML = DOM.newDocument(\"init.xml\");\r\n System.out.println(\"Loaded init.xml\");\r\n //Scan package directories\r\n String[] packageDirs = DOM.getElements(initXML, \"package-directory\");\r\n for(int i = 0; i < packageDirs.length; i++)\r\n {\r\n pacman.scanDirectory(packageDirs[i]);\r\n System.out.println(\"Scanned \"+packageDirs[i]+\" for packages\");\r\n }\r\n System.out.println(\"Scanned package directories\");\r\n //Run package load files\r\n String[] loadFiles = DOM.getElements(initXML, \"package-load\");\r\n for(int i = 0; i < loadFiles.length; i++)\r\n {\r\n pacman.loadXML(loadFiles[i]);\r\n System.out.println(\"Ran load configuration \"+loadFiles[i]);\r\n }\r\n System.out.println(\"Ran all load configurations\");\r\n \r\n //Wait for a core to be loaded\r\n while(!sys.hasCore())\r\n {\r\n Thread.sleep(100);\r\n }\r\n //Wait for a debugger to be loaded\r\n while(!sys.hasDebugger())\r\n {\r\n Thread.sleep(100);\r\n }\r\n //Once a debugger has been loaded\r\n System.out.println(\"******Main has ended. Child threads are doing work now\");\r\n }\r\n catch(Exception e)\r\n {\r\n System.out.println(e);\r\n e.printStackTrace();\r\n System.out.println(\"Terminating...\\n\");\r\n System.exit(0);\r\n System.out.println(\"THIS SHOULD NOT PRINT\\n\");\r\n }\r\n }", "title": "" }, { "docid": "6f69c08e31ad4d07b8410e7c841526a6", "score": "0.4910307", "text": "public abstract String packageName();", "title": "" }, { "docid": "71e185a0a5f0d37156bba9cae043a294", "score": "0.4908734", "text": "@Test\n public void packagesRule_negativePattern_doesNotMakeOptional() {\n compilationHelperWithPackagePatterns(\"my.java.util\", \"-my.java.util.regex\")\n .addSourceLines(\n \"Test.java\",\n \"import my.java.util.List;\",\n \"import my.java.util.regex.Pattern;\",\n \"import my.java.util.regex.PatternSyntaxException;\",\n \"class Test {\",\n \" public static void foo(List<Integer> list, Pattern pattern) {\",\n \" // BUG: Diagnostic contains: CheckReturnValue\",\n \" list.get(0);\",\n \" pattern.matcher(\\\"blah\\\");\",\n \" // BUG: Diagnostic contains: CheckReturnValue\",\n \" new PatternSyntaxException(\\\"\\\", \\\"\\\", 0);\",\n \" }\",\n \"}\")\n .addSourceLines(\n \"my/java/util/List.java\",\n \"package my.java.util;\",\n \"public interface List<E> {\",\n \" E get(int index);\",\n \"}\")\n .addSourceLines(\n \"my/java/util/regex/Pattern.java\",\n \"package my.java.util.regex;\",\n \"public interface Pattern {\",\n \" String matcher(CharSequence input);\",\n \"}\")\n .addSourceLines(\n \"my/java/util/regex/PatternSyntaxException.java\",\n \"package my.java.util.regex;\",\n \"public class PatternSyntaxException extends IllegalArgumentException {\",\n \" public PatternSyntaxException(String desc, String regex, int index) {}\",\n \"}\")\n .doTest();\n }", "title": "" }, { "docid": "8fa5699885498022030bc15b85a3d0ff", "score": "0.49081388", "text": "private SpecificPackage() {}", "title": "" }, { "docid": "7e7345f2e972d646a7a698884f81b369", "score": "0.49077496", "text": "public static Map<String, PackageFile> buildPackages(CmdArgsParser options) throws IOException {\n String path = options.getOption(Parameters.OPTIONS_PATH);\n FUNCTIONS_FILE = options.getOption(Parameters.OPTIONS_FUNCTIONS_FILE);\n Map<String, PackageFile> result = new HashMap<String, PackageFile>();\n File location = new File(path);\n if (!location.isDirectory()) {\n throw new IllegalStateException(\"path (\" + path + \") must be a directory\");\n }\n buildPackageForDirectory(result, location, options);\n return result;\n }", "title": "" }, { "docid": "f9de8989022da86241c0eb7a5cb3576c", "score": "0.49027961", "text": "public String generateSpecfile() {\n \t\tStringBuilder buffer = new StringBuilder();\n \t\tString simplePackageName = getPackageName(mainPackage.getName());\n \t\tString packageName = \"eclipse-\" + simplePackageName;\n \t\tif (withGCJSupport)\n \t\t\tbuffer.append(\"%define gcj_support 1\\n\");\n \t\tif (withFetchScript)\n \t\t\tbuffer.append(\"%define src_repo_tag FIXME\\n\");\n \t\tbuffer.append(\"%define eclipse_base %{_libdir}/eclipse\\n\");\n \t\tbuffer.append(\"%define install_loc %{_datadir}/eclipse/dropins/\"\n \t\t\t\t+ simplePackageName + \"\\n\\n\");\n \t\tbuffer.append(\"Name: \" + packageName + \"\\n\");\n \t\tbuffer.append(\"Version: \"\n \t\t\t\t+ mainPackage.getVersion().replaceAll(\"\\\\.qualifier\", \"\")\n \t\t\t\t+ \"\\n\");\n \t\tbuffer.append(\"Release: 1%{?dist}\" + \"\\n\");\n \t\tbuffer.append(\"Summary: \" + mainPackage.getSummary() + \"\\n\\n\");\n \t\tbuffer.append(\"Group: Development/Tools\\n\");\n \t\tbuffer.append(\"License: \" + mainPackage.getLicense() + \"\\n\");\n \t\tbuffer.append(\"URL: \" + mainPackage.getURL() + \"\\n\");\n \t\tif (withFetchScript) {\n \t\t\tString fetchScriptName = packageName + \"-fetch-src.sh\";\n \t\t\tbuffer.append(\"## sh \").append(fetchScriptName).append(\"\\n\");\n \t\t\tbuffer.append(\"Source0: %{name}-fetched-src-%{src_repo_tag}.tar.bz2\\n\");\n \t\t\tbuffer.append(\"Source1: \" ).append(fetchScriptName).append(\"\\n\");\n \t\t} else {\n \t\t\tbuffer.append(\"Source0: FIXME\\n\");\n \t\t}\n \t\tbuffer\n \t\t\t\t.append(\"BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)\\n\\n\");\n \t\tif (withGCJSupport) {\n \t\t\tbuffer.append(\"%if %{gcj_support}\\n\");\n \t\t\tbuffer.append(\"BuildRequires: gcc-java\\n\");\n \t\t\tbuffer.append(\"BuildRequires: java-gcj-compat-devel\\n\");\n \t\t\tbuffer.append(\"Requires(post): java-gcj-compat\\n\");\n \t\t\tbuffer.append(\"Requires(postun): java-gcj-compat\\n\");\n \t\t\tbuffer.append(\"%else\\n\");\n \t\t\tbuffer.append(\"BuildRequires: java-devel >= 1.5.0\\n\");\n \t\t\tbuffer.append(\"%endif\\n\");\n \t\t\tbuffer.append(\"%if ! %{gcj_support}\\n\");\n \t\t\tbuffer.append(\"BuildArch: noarch\\n\");\n \t\t\tbuffer.append(\"%endif\\n\\n\");\n \t\t} else\n \t\t\tbuffer.append(\"BuildArch: noarch\\n\\n\");\n \t\tbuffer.append(\"BuildRequires: eclipse-pde >= 1:3.4.0\\n\");\n \t\tbuffer.append(\"Requires: eclipse-platform >= 3.4.0\\n\");\n \t\tbuffer.append(getDepsOrReqs(\"Requires: \", mainPackage.getRequires()));\n \t\tbuffer.append(\"\\n%description\\n\" + mainPackage.getDescription() + \"\\n\");\n \t\tfor (SubPackage subPackage : subPackages) {\n \t\t\tString subPackageName = getPackageName(subPackage.getName());\n \t\t\tbuffer.append(\"\\n%package \" + subPackageName + \"\\n\");\n \t\t\tbuffer.append(\"Summary: \" + subPackage.getSummary() + \"\\n\");\n \t\t\tbuffer.append(\"Requires: %{name} = %{version}-%{release}\\n\");\n \t\t\tbuffer\n \t\t\t\t\t.append(getDepsOrReqs(\"Requires: \", subPackage\n \t\t\t\t\t\t\t.getRequires()));\n \t\t\tbuffer\n \t\t\t\t\t.append(getDepsOrReqs(\"Provides: \", subPackage\n \t\t\t\t\t\t\t.getProvides()));\n \t\t\tbuffer.append(\"Group: Development/Tools\\n\\n\");\n \t\t\tbuffer.append(\"%description \" + subPackageName + \"\\n\");\n \t\t\tbuffer.append(subPackage.getDescription() + \"\\n\");\n \t\t}\n \t\tgeneratePrepSection(buffer);\n \n \t\tgenerateBuildSection(buffer);\n \t\tbuffer.append(\"%install\\n\");\n \t\tbuffer.append(\"%{__rm} -rf %{buildroot}\\n\");\n \t\tbuffer.append(\"install -d -m 755 $RPM_BUILD_ROOT%{install_loc}\\n\\n\");\n \t\tbuffer.append(\"%{__unzip} -q -d $RPM_BUILD_ROOT%{install_loc} \\\\\\n\");\n \t\tbuffer.append(\" build/rpmBuild/\" + mainPackage.getName()\n \t\t\t\t+ \".zip \\n\\n\");\n \t\tif (withGCJSupport) {\n \t\t\tbuffer.append(\"%if %{gcj_support}\\n\");\n \t\t\tbuffer.append(\" %{_bindir}/aot-compile-rpm\\n\");\n \t\t\tbuffer.append(\"%endif\\n\\n\");\n \t\t}\n \t\tbuffer.append(\"%clean\\n\");\n \t\tbuffer.append(\"%{__rm} -rf %{buildroot}\\n\\n\");\n \t\tif (withGCJSupport) {\n \t\t\tbuffer.append(\"%if %{gcj_support}\\n\");\n \t\t\tbuffer.append(\"%post\\n\");\n \t\t\tbuffer.append(\"if [ -x %{_bindir}/rebuild-gcj-db ]; then\\n\");\n \t\t\tbuffer.append(\" %{_bindir}/rebuild-gcj-db\\n\");\n \t\t\tbuffer.append(\"fi\\n\\n\");\n \t\t\tbuffer.append(\"%preun\\n\");\n \t\t\tbuffer.append(\"if [ -x %{_bindir}/rebuild-gcj-db ]; then\\n\");\n \t\t\tbuffer.append(\" %{_bindir}/rebuild-gcj-db\\n\");\n \t\t\tbuffer.append(\"fi\\n\");\n \t\t\tbuffer.append(\"%endif\\n\\n\");\n \t\t}\n \t\tbuffer.append(\"%files\\n\");\n \t\tbuffer.append(\"%defattr(-,root,root,-)\\n\");\n \t\tbuffer.append(\"%{install_loc}\\n\\n\");\n \t\tfor (SubPackage subPackage : subPackages) {\n \t\t\tbuffer.append(\"%files \" + getPackageName(subPackage.getName())\n \t\t\t\t\t+ \"\\n\");\n \t\t\tbuffer.append(\"%dir %{eclipse_base}/features/\"\n \t\t\t\t\t+ subPackage.getName() + \"_*/\\n\");\n \t\t\tbuffer.append(\"%doc %{eclipse_base}/features/\"\n \t\t\t\t\t+ subPackage.getName() + \"_*/*.html\\n\");\n \t\t\tbuffer.append(\"%{eclipse_base}/features/\" + subPackage.getName()\n \t\t\t\t\t+ \"_*/feature.*\\n\");\n \t\t\tbuffer.append(getPackageFiles(subPackage.getProvides(),\n \t\t\t\t\twithGCJSupport)\n \t\t\t\t\t+ \"\\n\");\n \t\t}\n \t\tbuffer.append(\"%changelog\\n\\n\");\n \t\tbuffer.append(\"FIXME\\n\");\n \t\treturn buffer.toString();\n \t}", "title": "" }, { "docid": "e3209215552af59d55895457c19991ae", "score": "0.48994902", "text": "Class[] explore(String pack) throws EngineException;", "title": "" }, { "docid": "52b12463803f180f76e19526b7da93c2", "score": "0.4898487", "text": "@Test\n public void performParseProcess(){\n ParserImpl parser = new ParserImpl();\n parser.parseSlovakDBPedia();\n parser.parseCzechDBPedia();\n }", "title": "" }, { "docid": "178b6f1b16dfaa4c2f7822a42ce0272f", "score": "0.48967063", "text": "public interface IEngine {\n /**\n * This method will be called by Curiosity when he needs your help!\n *\n * @param pack package that will be explored\n * @return array of class objects that the engine resolved\n * @throws EngineException when the engine fails loading resources\n */\n Class[] explore(String pack) throws EngineException;\n}", "title": "" }, { "docid": "362b1b3970c6076a24ab15043ce21e5a", "score": "0.48923782", "text": "public void buildPackage() throws IOException {\n PackageBuilder pb = new PackageBuilder();\n for (String key : getRuleFiles().keySet()) {\n File file = getRuleFiles().get(key);\n\n try {\n if (FUNCTIONS_FILE != null) {\n File functionsFile = new File(file.getParentFile().getPath(), FUNCTIONS_FILE);\n if (functionsFile.exists()) {\n pb.addPackageFromDrl(new FileReader(functionsFile));\n }\n }\n\n if (file.getName().endsWith(Format.DRL.value)) {\n pb.addPackageFromDrl(new FileReader(file));\n } else if (file.getName().endsWith(Format.XLS.value)) {\n pb.addPackageFromDrl(new StringReader(DroolsHelper.compileDTabletoDRL(file, InputType.XLS)));\n }\n } catch (DroolsParserException e) {\n throw new IllegalArgumentException(\"File (\" + file + \") throw a DroolsParserException.\", e);\n }\n }\n this.pkg = pb.getPackage();\n if (pkg == null) { // compilation error - the rule is syntactically incorrect\n for (int i = 0; i < pb.getErrors().getErrors().length; i++) {\n DroolsError msg = pb.getErrors().getErrors()[i];\n addCompilationError(msg.getMessage());\n }\n } else if (pkg != null && !pkg.isValid()) {\n addDependencyError(pkg.getErrorSummary());\n }\n }", "title": "" }, { "docid": "aa097a7390fc4b36249f2874f1b5c4a2", "score": "0.48906732", "text": "public static void main(String[] args) throws IOException, XmlPullParserException {\n\t\ttotalProjects();\n\t}", "title": "" }, { "docid": "837a6f69ec75ea1d83ea4b5bb6db9cdd", "score": "0.4888447", "text": "private BinPackage getPackage(String name) {\r\n return project.getPackageForName(name);\r\n }", "title": "" }, { "docid": "68d9cbb1e0519ff354f2fd68cdd66fc0", "score": "0.48873433", "text": "public static void main(String[] args) {\n\t\tBookPackage bPackage = new BookPackage();\r\n\t\tbPackage.setInputPath(\"E:/data/book/tundish.xml\");\r\n\t\tbPackage.setOutputPath(\"E:/data/book/volumn.xml\");\r\n\t\tbPackage.setBookID(\"355044051\");\r\n\t\tbPackage.setN(10);\r\n\t\tbPackage.run();\r\n\t\tbPackage.showvolumn();\r\n\r\n\r\n\t}", "title": "" }, { "docid": "2d6c09842fa32699f6b942fafe787336", "score": "0.48843187", "text": "public static void main(String[] args) throws IOException {\r\n\t\r\n\tConfiguration.loadPropertiesFile();\r\n\t\r\n\tSystem.out.println(\"Welcome to the Swedish Parser and Labeler!\"+ \"\\n\");\r\n\t\r\n\tStaggerParsing tagger = new StaggerParsing();\r\n\ttagger.process();\r\n\r\n\t}", "title": "" }, { "docid": "fac75782b186b7cf5795fde152068dc9", "score": "0.48806158", "text": "ReflectionParserConfiguration displayImports(boolean flag);", "title": "" }, { "docid": "92eca2b08d389d9c02618e3884d18a6b", "score": "0.4879484", "text": "public void report(IndentingPrintWriter out) {\r\n\t\t// write the package name\r\n\t\tout.println(\"Package: \" + getQualifiedName());\r\n\t\tout.println(\"-----------------------------------------\");\r\n\t\tout.indent();\r\n\r\n\t\t// list all references to this package (in import statements)\r\n\t\tlistReferences(out);\r\n\r\n\t\t// if we found any definitions in this package, report them\r\n\t\tif (hasElements())\r\n\t\t\treportElements(out);\r\n\t\telse\r\n\t\t\tout.println(\"(No definitions parsed)\");\r\n\t\tout.dedent();\r\n\t\tout.println();\r\n\t}", "title": "" }, { "docid": "a170f023652ef502580fd51455695901", "score": "0.48789483", "text": "protected void transformInAndExPackageInvocation() {\n Set<String> importedClasses = sourceClass.getImportedInternalClasses();\n\n for (String importClass : importedClasses) {\n\n if (classNames.contains(importClass)) {\n // internal package invocation\n if (importClass.endsWith(\".*\")) {\n // resolve .*\n int p = className.lastIndexOf(\".\");\n String packageName = className.substring(0, p);\n Set<String> importNames = packageBreaker.getPackageContents().get(packageName);\n for (String importName : importNames) {\n PackageInvocation packageInvocation = new PackageInvocation(importName);\n projectStructure.addPackageInvocation(className, importName, packageInvocation);\n }\n } else {\n // normal import class\n PackageInvocation packageInvocation = new PackageInvocation(importClass);\n projectStructure.addPackageInvocation(className, importClass, packageInvocation);\n }\n } else {\n // external package invocation\n PackageInvocation packageInvocation = new PackageInvocation(importClass);\n projectStructure.addExternalPackageImport(className, packageInvocation);\n }\n\n }\n }", "title": "" }, { "docid": "bca1f6d30df469ba0a091ea032c730a8", "score": "0.48783016", "text": "private static void usage() {\n System.err.println(\"plovr build tool\\n\");\n System.err.println(\"basic commands:\\n\");\n System.err.println(\" build compile the input specified in a config file\");\n System.err.println(\" info show the versions of the Closure Tools packaged with plovr\");\n System.err.println(\" extract extract messages from the Soy files\");\n System.err.println(\" serve start the plovr web server\");\n System.exit(1);\n }", "title": "" }, { "docid": "b8a25b3845dd4016efd40d755e2bdb41", "score": "0.4876145", "text": "MetaPackage getMetaPackage();", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7ff8b184c17af59f3f62017132650174", "score": "0.0", "text": "@Override\r\n\tpublic void resume() {\n\r\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ec76ff8d70ced9d8135ad33b23353b4d", "score": "0.6624367", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "82ab90ffadf9b8d43e60c8510a33beba", "score": "0.6623182", "text": "@Override\r\n\tpublic void morirse() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e3110a393bd4b870b4055aa9ed6efd87", "score": "0.66015315", "text": "@Override\n\tpublic void attaquer() {\n\t\t\n\t}", "title": "" }, { "docid": "a5f7a321f63abee65f0b9008f270490e", "score": "0.6594605", "text": "@Override\n\t\t\tpublic void competir() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65677965", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "7756cbf76fd6363807e17834db326bbc", "score": "0.6501866", "text": "@Override\n\t\t\tpublic void avanzar() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "bdceff0dc4130d850ab15d702b785449", "score": "0.63844895", "text": "@Override\n\tprotected void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "14f6250e215aa66dcffb123fd6b7fd74", "score": "0.63381773", "text": "@Override\n\tpublic void entzünden() {\n\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63222265", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6291592", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "469c90392fb12e4553574135278541f5", "score": "0.62385184", "text": "@Override\n\tpublic void attck() {\n\t\t\n\t}", "title": "" }, { "docid": "d3585587779dbdf33600e1670ca42099", "score": "0.6193195", "text": "@Override\n\tpublic void IngresoKromi() {\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.61546874", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "093a096d6e96e05b160fe2406b1e8a2d", "score": "0.61053663", "text": "@Override\n\tpublic void parir() {\n\t\t\n\t}", "title": "" }, { "docid": "29cde3f10dab87cebafdd9412ef4b29f", "score": "0.6062187", "text": "@Override\r\n\tpublic void embala() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.60561824", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0cd47ce21776ffa50dd678180ffe94e5", "score": "0.6003824", "text": "public void ayak() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c2c1f0ca9c7029b85142a2ab9536d708", "score": "0.5990595", "text": "@Override\n\tpublic void attaque() {\n\t\t\n\t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5987973", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "70c63b539d1b6f883ad13008fbcaa6ce", "score": "0.59600407", "text": "@Override\n\tpublic void fiy(){\n\t\t\n\t}", "title": "" }, { "docid": "360bf42213adde0b962792c6cd6d8df7", "score": "0.5952374", "text": "@Override\r\n\t\tpublic void interg() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59270483", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.5923557", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "9808ba3c113b79c3677f2c08c09e60a1", "score": "0.59020513", "text": "@Override\n\tpublic void resert() {\n\t\t\n\t}", "title": "" }, { "docid": "e05db3dd501cfaf4d9d1b128ca673f1b", "score": "0.58988667", "text": "@Override\n\tprotected void formRes() {\n\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5883667", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "ea6be29351b2f6d99af3992f4a8fbd45", "score": "0.58685964", "text": "public void afficherEntreprise(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "3177b2be45c490e407b98d647e109c0d", "score": "0.58572376", "text": "@Override\n protected void initData()\n {\n\t\n }", "title": "" }, { "docid": "eea1284dac4ca57b790a13dcd1ad6bff", "score": "0.58401465", "text": "@Override\n protected void ucitaj() {\n //only because of 'extands rule'\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "af70f420bd21981aa44db6516064224d", "score": "0.58060104", "text": "@Override\n\tpublic int berechnen() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5794177", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "94f32cdbe8afc400e05efbdb8d78c591", "score": "0.5788508", "text": "@Override\r\n\tpublic void borc_hesapla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "aed26444304cfac4d695203c7d86e6c5", "score": "0.5769439", "text": "public void autTC05() {\r\n\r\n\t}", "title": "" }, { "docid": "9b56e05d631b1ea925ea2c139ee709ad", "score": "0.5763841", "text": "@Override\n\tpublic void adim7() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "a49b2d411619c6f2680e9b0e8c21a20f", "score": "0.57574755", "text": "private void erledigt() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8aac1da26498753495658c2bb9044b21", "score": "0.5751961", "text": "@Override\n public int getOrder() {\n return 0;\n }", "title": "" }, { "docid": "2bbeae4f0e92c95ecc07204851be4769", "score": "0.57508", "text": "@Override\n\tpublic void nyalakan() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8603393cbe27452fe30e396632c62eed", "score": "0.57415414", "text": "@Override\n\t\tpublic void postConstruct() {\n\t\t}", "title": "" }, { "docid": "37bf6e6ef01cf7dab163b5d3bedbc140", "score": "0.5740271", "text": "@Override\n\tpublic void som() {\n\t\t\n\t}", "title": "" }, { "docid": "92af0f4d75822a6723aebd9fcc92fafb", "score": "0.57394177", "text": "@Override\n protected void initData() {\n \n }", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.573645", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5734636", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "0f7672ee5ac14b05f31da4e1e34d7b49", "score": "0.5725253", "text": "@Override\r\n\tpublic void test8() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a22a3abb4b9b5de4ed8c054da445e9b0", "score": "0.5724528", "text": "@Override\r\n\tpublic void jugar() {\n\r\n\t}", "title": "" }, { "docid": "7fd3ef4778cae98af386c2c7c0aa5995", "score": "0.57231057", "text": "@Override\r\n\tpublic void nmi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "90a583a9686287e3374351dca59e3033", "score": "0.5721244", "text": "@Override\r\n\tpublic void abrir() {\n\r\n\t}", "title": "" }, { "docid": "d629c4ad6266d296b13a93bb0c7f8c66", "score": "0.57099986", "text": "@Override\r\n public void init()\r\n {\n\r\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701067", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "f375646c5bc224c29261414f3cb81b04", "score": "0.56984305", "text": "@Override\n public int qualiteRelation() {\n return 0;\n }", "title": "" }, { "docid": "5592333c90e75bae58a686b24b05d894", "score": "0.5693882", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "b2858312446172fa25a799c5367d2043", "score": "0.56896037", "text": "Smelting(){\r\n\r\n\t\t}", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "20b42a0c3fee6c140a112d40354f4298", "score": "0.5686577", "text": "@Override\r\n\tpublic void prepara() {\n\t\t\r\n\t}", "title": "" }, { "docid": "92b8246d78d46bf0f60b46e17e797540", "score": "0.5685193", "text": "@Override\n\tpublic void init () {\n\t}", "title": "" }, { "docid": "57f5caef4402cc8ce13e81561eaa9e43", "score": "0.56787807", "text": "@Override\r\n\tpublic void pickUp() {\n\t\t\r\n\t}", "title": "" }, { "docid": "152818b619dcfcd5190a2f48bc75fa5f", "score": "0.56757474", "text": "@Override\n\tpublic void adim6() {\n\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669649", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "131c7dcebe8ac7fd010381a03bd0f405", "score": "0.5667569", "text": "@Override\r\n\tprotected void initActb() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "6392764d7ff297c1a478fc1669944649", "score": "0.5653691", "text": "@Override\n\tpublic void gostar_de_carne() {\n\t\t\n\t}", "title": "" }, { "docid": "2b53548295a92f80cb7814e7e3ead131", "score": "0.56503963", "text": "@Override\n\tString frighten() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "18c7036dd108c40b7a27469d8b92687c", "score": "0.5642345", "text": "@Override\n\tpublic void onLoadComplete() {\n\t\t\n\t}", "title": "" }, { "docid": "7b36e2fb2a778b8c30924f6f30758db2", "score": "0.56388146", "text": "private static void buscarId() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9bcd15a2298e73719d7c7326027b093b", "score": "0.56369984", "text": "@Override\n\tprotected void getData() {\n\n\t}", "title": "" } ]
d8de0358d1a6f5fe5456dd9e46054d79
/ Intent intent = new Intent(this, LoginActivity.class); startActivity(intent); finish();
[ { "docid": "fadd369386aba78d0c222a813e2f0be7", "score": "0.0", "text": "public void UnauthorizedProcessing() {\n }", "title": "" } ]
[ { "docid": "55f20dd3969d9c3e407a42404ae5023a", "score": "0.85512507", "text": "@Override\n public void onClick(View v) {\n intent = new Intent(Register.this, Login.class);\n finish();\n startActivity(intent);\n }", "title": "" }, { "docid": "7e16f094027a4624fee7fa6f52aabac5", "score": "0.84493196", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(DisplayActivity.this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "5bba93dd5e236c355fa0f17bc08db577", "score": "0.84271795", "text": "@Override\n public void onClick(View view) {\n finish();\n startActivity(new Intent(LoginActivity.this, RegisterActivity.class));\n }", "title": "" }, { "docid": "b930de6337e3cb6ad0c5736dc0e0e988", "score": "0.84236723", "text": "@Override\n public void onClick(View v) {\n finish();\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n startActivityForResult(intent, 1);\n }", "title": "" }, { "docid": "008198fa58c10f25e8a50d8faea266dd", "score": "0.8333432", "text": "@Override\n public void onClick(View view) {\n Intent intent = new Intent(view.getContext(), LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "cc72c6bd311b531e4c1c79cddbf32ca2", "score": "0.820421", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(LoginActivity.this, SignUpActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "02b2d66c7735416bf22d33c3c6b6281a", "score": "0.8194691", "text": "protected void sendToLoginActivity() {\n Intent loginIntent = new Intent(MainActivity.this, LoginActivity.class);\n startActivity(loginIntent);\n finish();\n }", "title": "" }, { "docid": "8a071d7b1f051de54bd89ec914900920", "score": "0.8192657", "text": "private void navigateToLogin() {\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "13d24f4175eea2a67ead33705cff6ec8", "score": "0.8173113", "text": "void next() {\n\n intent = new Intent(Login.this, MainActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n finish();\n\n }", "title": "" }, { "docid": "819604b6889fe2c43b45e7e5e1ed2455", "score": "0.8148894", "text": "protected void goLogin() {\n\t\tIntent itnt = new Intent(LoginActivity.this,MainActivity.class);\r\n\t\tstartActivity(itnt);\r\n\t\tfinish();\r\n\t}", "title": "" }, { "docid": "14a4800f4f84128a20fa8d9a76825286", "score": "0.81192786", "text": "@Override\n public void onBackPressed() {\n startActivity(new Intent(getApplicationContext(), LoginActivity.class));\n finish() ;\n }", "title": "" }, { "docid": "a59a33852be2b5bff918986ab1ccaa48", "score": "0.8084401", "text": "@Override\n\n public void run() {\n\n Intent i = new Intent(Splash_Activity.this, Login_Activity.class);\n startActivity(i);\n\n // close this activity\n\n finish();\n\n }", "title": "" }, { "docid": "16cf0d82fb45c9c1428d0ca8d64d7a1a", "score": "0.807152", "text": "@Override\r\n public void onClick(View view) {\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\r\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n startActivity(intent);\r\n\r\n\r\n }", "title": "" }, { "docid": "2cec6631a25f1bd6c77e3023f4d56ebc", "score": "0.8061097", "text": "@Override\n public void run() {\n Intent mainIntent = new Intent(MainActivity.this, LoginActivity.class);\n MainActivity.this.startActivity(mainIntent);\n MainActivity.this.finish();\n }", "title": "" }, { "docid": "18ee8dc6eed3d6c54eaeadb91a950c87", "score": "0.80595404", "text": "@Override\n public void run() {\n Intent gologin = new Intent(SplashActivity.this, LoginActivity.class);\n startActivity(gologin);\n finish();\n }", "title": "" }, { "docid": "ba148c1264021d888cbffbb858c506db", "score": "0.8020723", "text": "@Override\n public void onSuccess() {\n startActivity(new Intent(MainActivity.this, LoginActivity.class));\n finish();\n }", "title": "" }, { "docid": "33ffa49776a8dece29ade28345ff0de5", "score": "0.80099267", "text": "private void goHome() {\n LoginActivity.this.finish();\r\n }", "title": "" }, { "docid": "d78ce05cdab2240c926ee8f441119ff2", "score": "0.7989377", "text": "@Override\n public void run() {\n startActivity(new Intent(SplashActivity.this, LoginActivity.class));\n finish();\n }", "title": "" }, { "docid": "eb1ac2e018370e05b5ec4dcb88ba1414", "score": "0.7982955", "text": "private void goToMainActivity() {\n Intent i = new Intent(LoginActivity.this, MainActivity.class);\n startActivity(i);\n finish();\n }", "title": "" }, { "docid": "a198b2b54b38203366166c42241aa6bf", "score": "0.7973767", "text": "@Override\r\n public void run() {\r\n Intent mainIntent = new Intent(StartActivity.this, LoginActivity.class);\r\n startActivity(mainIntent);\r\n finish();\r\n }", "title": "" }, { "docid": "3a0e25b34a64f80caa277cbfd2dc10e9", "score": "0.7949502", "text": "@Override\n public void run() {\n Intent intent = new Intent(SplashScreenActivity.this, LoginActivity.class);\n startActivity(intent);\n\n // close this activity\n finish();\n }", "title": "" }, { "docid": "7d97467a8f9061f526ac23af11f35c24", "score": "0.7861471", "text": "@Override\n public void salir() {\n pressenter.salir();\n Intent intent = new Intent(this, LoginActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP\n | Intent.FLAG_ACTIVITY_NEW_TASK\n | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "8e236f9605afcad016747f6f2bf4f369", "score": "0.785654", "text": "@Override\n\t\t\tpublic void finish() {\n\t\t\t\tMyApplication.mp.setlogin(false);\n\t\t\t\tUtil.ShowToast(context, R.string.login_out_time);\n\t\t\t\tintent = new Intent(context,LoginActivity.class);\n\t\t\t\tintent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\t\t\t\tstartActivity(intent);\n\t\t\t\tfinish(); \n\t\t\t}", "title": "" }, { "docid": "56b1dc9aefafe73ce6499dda6f21b408", "score": "0.7850145", "text": "private void logout() {\n\n Intent logoutIntent = new Intent(this, LoginActivity.class);\n startActivity(logoutIntent);\n }", "title": "" }, { "docid": "23aef854b7e6092c2ecd8c4f3b02914f", "score": "0.7848172", "text": "public void mainredirect3(View view)\n {\n startActivity(new Intent(getApplicationContext(),MainActivity.class));\n finish();\n }", "title": "" }, { "docid": "c6856da6ec86c11cd3e0bd9b01d26f35", "score": "0.78467566", "text": "@Override\n public void onClick(View view ){\n\n Intent log = new Intent(MainActivity.this,SignIn.class);\n startActivity(log);\n\n\n }", "title": "" }, { "docid": "6385f1463e2450557a5a4e08ef15e91b", "score": "0.7845091", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), RegisterActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "fc58db81b579d83e1a0f7d1ccffb22e6", "score": "0.7812746", "text": "private void goLogInScreen() {\n Intent intent = new Intent(this, LoginActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n }", "title": "" }, { "docid": "e166f743e904acc46166b192ffcb2b6d", "score": "0.7801415", "text": "@Override\n public void onClick(View v) {\n Intent Register = new Intent(getApplicationContext(),Register_Activity.class);\n finish();\n startActivity(Register);\n }", "title": "" }, { "docid": "9888e65fdd63e943f15f8446f253c6c9", "score": "0.7782834", "text": "public void launchLoginActivity() {\n mHomePresenter.stopScanner();\n\n //launch Login Activity\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "5fa072a304b20383fe378e32df159b9b", "score": "0.7769421", "text": "@Override\n public void onClick(View v) {\n Intent loginIntent = new Intent(LoginActivity.this,MainActivity.class);\n startActivity(loginIntent);\n }", "title": "" }, { "docid": "b9a66af2a388b3081f467046215a18e9", "score": "0.7767592", "text": "@Override\r\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\r\n startActivity(intent);\r\n finish();\r\n overridePendingTransition(R.anim.left_in, R.anim.left_out);\r\n }", "title": "" }, { "docid": "0442b2aed1ae55cae50490c9ff44ab45", "score": "0.7764037", "text": "@Override\n public void onClick(View v) {\n startActivity(new Intent(getApplicationContext(), HomeActivity.class));\n finish();\n }", "title": "" }, { "docid": "47e515c564b4d359432ecdad65437fc8", "score": "0.7755752", "text": "public void onLogin(View view) {\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "83d3e5f01a8616928205dfbaa9961f36", "score": "0.7753752", "text": "public void cerrarSesion(View view){\n\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "c8df1566ef727d131c2d1e887f9ae687", "score": "0.7750513", "text": "private void abrirTelaLoginActivity() {\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n startActivity(intent);\n }", "title": "" }, { "docid": "7932eb3554a1bcf96fd428431288f1fd", "score": "0.7749439", "text": "private void sendToLoginActivity() {\n Intent intent = new Intent(MainActivity.this, LoginActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "6b234075ea9a610005d98a004d5a4659", "score": "0.77478707", "text": "@Override\n public void onClick(View v) {\n startActivity(new Intent(Login.this, Register.class));\n }", "title": "" }, { "docid": "f781d502e92d09498012dec750a8ed8f", "score": "0.7746201", "text": "public void openLoginactvity(){\n Intent intent = new Intent(this, Login.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "12f3f87fc1a8f0e556e4e59038779ac8", "score": "0.7736796", "text": "private void logOut() {\n Intent intent = new Intent(this, LoginActivity.class);\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(intent);\n }", "title": "" }, { "docid": "b0bef59824b84239de5be1d9f46ae21b", "score": "0.7734522", "text": "private void logout()\n\t{\n\t\tIntent i1 = new Intent(this,Rewards_Engine.class);\n\t startActivity(i1);\n\n\t}", "title": "" }, { "docid": "88ab821875e8dcfaadfc73657e95ccf9", "score": "0.772773", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), SignUpActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "eed9880d4cfbefeea6cc91e8fcbd56b2", "score": "0.7712432", "text": "private void switchToLogin() {\r\n Intent tmp = new Intent(this, LoginActivity.class);\r\n startActivity(tmp);\r\n }", "title": "" }, { "docid": "1f0e18b850c5d8a75f3cf06201beaccd", "score": "0.77055556", "text": "public void link_login(){\n Intent intent1 = new Intent(signup.this, login.class);\n startActivity(intent1);\n }", "title": "" }, { "docid": "1ca10e16f32b65e81a05d5a684da2ab6", "score": "0.77031165", "text": "@Override\n\t\t\t\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t\t\t\tstartActivity(new Intent(WhatsHotActivity.this, Login.class));\n\t\t\t\t\t\t\t\t\t\tWhatsHotActivity.this.finish(); \n\t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "3260ca87868baf4c4c4da13987f32e24", "score": "0.76941705", "text": "public void returnHome(){\n\n finish();\n\n\n }", "title": "" }, { "docid": "49775316664e65fa4995c460986d5eb6", "score": "0.7691563", "text": "private void intentLogin() {\n Intent intent = new Intent(LaunchActivity.this, LoginActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "db6b124d3dff946804577b4b1cd6c84b", "score": "0.7690988", "text": "@Override\n public void loginAction() {\n Intent intent = new Intent(this, LoginActivity.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "78246de81912a8b438e8d714b9a6d760", "score": "0.76849866", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(LoginActivity.this, SignUpActivity.class);\n // Inicio la actividad\n startActivity(intent);\n }", "title": "" }, { "docid": "810aaabad11382f25e44c3918fd9cccc", "score": "0.7665113", "text": "public void signout(View v)\n {\n\n finish();\n Intent viewIntent = new Intent(this,LoginActivity.class);\n\n }", "title": "" }, { "docid": "a424d1414d58129eaa88442df5e66bd8", "score": "0.76640236", "text": "private void goToLoginActivity(){\n Intent intent = new Intent(context, LoginActivity.class);\n\n //Zamykanie wszystkich innych aktywnosci z aplikacji skoro nastąpiło wylogowanie\n intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n\n //Dodaj nowa Flage na poczatek nowej Activity\n intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n //Start Login Activity\n context.startActivity(intent);\n }", "title": "" }, { "docid": "751da21256457b90acb51835fd33acce", "score": "0.7635107", "text": "public void onClick(DialogInterface arg0, int arg1) {\n\n Intent i=new Intent(getApplicationContext(),LoginActivity.class);\n startActivity(i);\n Toast.makeText(getApplicationContext(),\"Logged Out\",Toast.LENGTH_SHORT).show();\n\n\n }", "title": "" }, { "docid": "e494d7eacd3caa3f2f8d05dd9245f2d6", "score": "0.76027226", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(),LoginActivity.class);\n startActivity(intent);\n finish();\n overridePendingTransition(R.anim.push_left_in, R.anim.push_left_out);\n }", "title": "" }, { "docid": "6944af04d645c33afad1fbd812a0da48", "score": "0.7580381", "text": "public void toLogin(){\n Intent intent = new Intent (this, LoginScreen.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "77739d9665dbf405647068f74bd97b28", "score": "0.7566565", "text": "private void goLogInScreen() {\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "4c8e14a9e87556e1f30ba803abe6a7f5", "score": "0.75553644", "text": "@Override\n public void onClick(View view) {\n startActivity(new Intent(LoginActivity.this, RegisterActivity.class));\n LoginActivity.this.overridePendingTransition(R.transition.none, R.transition.fade_out);\n finish();\n }", "title": "" }, { "docid": "ff5aa34c802a3d0e157e24d4192d8f7b", "score": "0.7551749", "text": "@Override\n public void onClick(View view)\n {\n startActivity(new Intent(getApplicationContext(), RegisterPageRetailer.class));\n finish();\n }", "title": "" }, { "docid": "5ce1a16c210985fc2de2ea06766179be", "score": "0.75501066", "text": "public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "aec7fcd0585f4bfd5a669fac4acb7391", "score": "0.75491124", "text": "@Override\n \t\t\tpublic void onClick(View v) {\n \t\t\t\tIntent intent = new Intent(getApplicationContext(), HOMESCREEN.class);\n \t\t\t // intent.putExtra(\"finish\", true);\n \t\t\t intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); // To clean up all activities\n \t\t\t startActivity(intent);\n \t\t\t finish();\n \t\t\t}", "title": "" }, { "docid": "17556bad5aed05128936df9d314bd011", "score": "0.7545069", "text": "public void redirectLogin(View view) {\n Intent intent = new Intent(this, LogInActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "02dae2c6057596da8fd1d2f41b5287b9", "score": "0.7540856", "text": "private void redirectLoginScreen(){\n Log.d(TAG, \"redirectLoginScreen: redirecting to login screen.\");\n\n Intent intent = new Intent(RegistrationActivity.this, LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "e660c75ac9ec808b6d8a349fa96ee519", "score": "0.7536675", "text": "@Override\r\n\t \t\t\tpublic void onClick(View v) {\n\t \t\t\t\t\t Intent myIntent = new Intent(PlayScreenActivity.this, LogInActivity.class);\r\n\t \t\t\t\t\t mp.stop();\r\n\t \t\t\t startActivity(myIntent); \r\n\t \t\t\t\t\t finish();\r\n\t \t\t\t\t\r\n\r\n\t \t\t\t}", "title": "" }, { "docid": "12053ef70ac738e54e21e447fd784e3a", "score": "0.7533603", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent myIntent = new Intent(v.getContext(),LoginActivity.class);\n\t\t\t\tstartActivity(myIntent);\n\t\t\t\tfinish();\n\t\t\t}", "title": "" }, { "docid": "45e5ad506a11c03e75a1d45fa744e3d2", "score": "0.75334173", "text": "@Override\n public void onClick(View v) {\n Intent msk = new Intent(LoginActivity.this, MainActivity.class);\n startActivity(msk);\n }", "title": "" }, { "docid": "b1c7cdc8640aea993ade9d4287eceba5", "score": "0.75304276", "text": "@Override\n public void onBackPressed() {\n Intent i=new Intent(TeacherRegistrationActivity.this,LoginActivity.class);\n startActivity(i);\n finish();\n\n }", "title": "" }, { "docid": "b96344300a3bd93d829614daf4b66ce2", "score": "0.7528405", "text": "private void login(){\n Intent intent = new Intent(MainActivity.this, SnapsActivity.class);\n startActivity(intent);\n\n }", "title": "" }, { "docid": "54a73ef678f8289a3f1fa472587327bd", "score": "0.7524717", "text": "@Override\n\tpublic void goToLogin() {\n\t\tIntent intent = new Intent(this, LoginSignUpActivity.class);\n\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\tstartActivity(intent);\n\t}", "title": "" }, { "docid": "cb9ef76b243276a6ffec68b506ce48c0", "score": "0.75064224", "text": "@Override\r\n public void onClick(View v) {\n Intent intent = new Intent();\r\n intent.setClass(LoginActivity.this, RegisterActivity.class);\r\n startActivity(intent);\r\n overridePendingTransition(android.R.anim.slide_in_left,\r\n android.R.anim.slide_out_right);\r\n finish();\r\n }", "title": "" }, { "docid": "677b3b068e652e63d88bc2ff1fadb1eb", "score": "0.75046337", "text": "private void doLogin() {\n Intent loginIntent = new Intent(LoginActivity.this, MainActivity.class);\n startActivity(loginIntent);\n }", "title": "" }, { "docid": "707281a99176c9f84e19fb84353f9a53", "score": "0.75023144", "text": "@Override\n public void run() {\n\n Intent intentLogin = new Intent(PopLanguageScreen.this, LoginActivity.class);\n startActivity(intentLogin);\n finish();\n\n }", "title": "" }, { "docid": "60bd678bebcc9b88941702b9ff3b4b12", "score": "0.7500527", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tToast.makeText(ActivityLogin.this, \"dengl\", 300).show();\r\n\t\t\t\tIntent intent = new Intent(ActivityLogin.this, ActivityHome.class);\r\n\t\t\t\tstartActivity(intent);\r\n\t\t\t\tfinish();\r\n\t\t\t}", "title": "" }, { "docid": "5c90b7bc0fa2a6900fae5e166c81cdcf", "score": "0.7479954", "text": "@OnClick(R.id.as_trigger_login)\n public void login() {\n Intent intent = new Intent(getApplicationContext(), LoginActivity.class);\n startActivity(intent);\n finish();\n overridePendingTransition(R.anim.push_left_in, R.anim.push_left_out);\n }", "title": "" }, { "docid": "0735572a335510d296094c393ae15213", "score": "0.7474981", "text": "@Override\r\n public void onClick(View v) {\n finish();\r\n\r\n\r\n }", "title": "" }, { "docid": "a8cb87ee4d27f0ab88175e193def911a", "score": "0.74729973", "text": "@Override\n public void onClick(View v) {Intent intent = new Intent(Login_form.this,\n Coronavirus_Cases.class);\n startActivity(intent); // startActivity allow you to move\n }", "title": "" }, { "docid": "6baa7fa9921e287f42e08604d7ce7f9b", "score": "0.7465122", "text": "public void onLoginClick(View view) {\n ActivityStack.getInstance().exit();\n\n }", "title": "" }, { "docid": "37c8b95a03c3b0dde52de07e2e5591f3", "score": "0.7451038", "text": "@Override\n public void onClick(View v) {\n intent = new Intent(getApplicationContext(), User_Forgot_Page.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "ad3fb9c6ed6a8cb17b4e0633dce466db", "score": "0.744812", "text": "@Override\n public void onClick(View view) {\n Intent i = new Intent(SignLoginActivity.this, LoginActivity.class);\n startActivity(i);\n }", "title": "" }, { "docid": "9efdf7c2c1f733ef3710bbbcdb33ada7", "score": "0.74426085", "text": "private void leaveTutorial() {\n Intent newIntent = new Intent(getBaseContext(), PlayLoginActivity.class);\n newIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);\n startActivity(newIntent);\n finish();\n }", "title": "" }, { "docid": "70485d71eccefaf7fde30abcd1058965", "score": "0.7442442", "text": "@Override\r\n\tpublic void onClick(View arg0) {\n\t Intent intent =new Intent(LoginActivity.this,SignUpActivity.class);\r\n\t startActivity(intent);\r\n\t}", "title": "" }, { "docid": "4f2ab5da7b50f1afefcfa1552367a034", "score": "0.74388427", "text": "private void MainRedirect() {\n Intent mainIntent = new Intent(RegisterActivity.this, MainActivity.class);\n mainIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);\n startActivity(mainIntent);\n finish();\n }", "title": "" }, { "docid": "4df95a2a6cb8b13999c86f42b4119a94", "score": "0.74376774", "text": "public void Logout(View arg0) {\n Intent intent = new Intent(SuccessActivity.this,MainActivity.class);\n startActivity(intent);\n SuccessActivity.this.finish();\n\n }", "title": "" }, { "docid": "6c4a3398855053a670c3cc8d6793f9d4", "score": "0.7418924", "text": "@Override\n public void onClick(View view) {\n finish();\n }", "title": "" }, { "docid": "e5a5bcc0beed80a33898f030b970089a", "score": "0.7413852", "text": "public void launchLoginActivity() {\n Intent i = new Intent(this, LoginActivity.class);\n startActivity(i);\n }", "title": "" }, { "docid": "e646422e7231ecbf98b28b7c9aee425b", "score": "0.7410043", "text": "@Override\n public void onClick(View view) {\n submitPost();\n Intent intent=new Intent(MainActivity.this,Login.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "5bbe427e22dba8389f3c2b505280dc4f", "score": "0.7409444", "text": "@Override\n public void handleOnBackPressed() {\n Intent intent = new Intent(gameView.getContext(), LoginActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "40c78af046628a0cec620aac7c5d9dc6", "score": "0.73978704", "text": "@Override\n public void onClick(View view){\n FirebaseAuth.getInstance().signOut();\n Intent intent = new Intent(AccountActivity.this, MainActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "5343dd61f244c174b7f60567bd670e86", "score": "0.7390282", "text": "@Override\n\tpublic void onAnimationEnd(Animation arg0) {\n\t\tIntent intent = new Intent(this, Login.class);\n\t\tstartActivity(intent);\n\t\tthis.finish();\t\t\n\t}", "title": "" }, { "docid": "62c6d2bc685efcf843e17b7dccc03030", "score": "0.73845285", "text": "@Override\n public void onFinish() {\n Intent intent = new Intent(context, MainActivity.class);\n startActivity(intent);\n setResult(RESULT_OK);\n finish();\n\n // Welcome message\n Toast.makeText(context, \"Welcome to Kioku!\", Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "c25ad68ee6ed9f66266cca0506b446c6", "score": "0.73835784", "text": "@Override\n public void onClick(View v) {\n Intent intent = new Intent(getApplicationContext(), Inicio.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "47014e6b9279f8dc21da71104eabe3f1", "score": "0.7376884", "text": "public void account(View v)\n {\n Intent i3=new Intent(this,Login.class);\n startActivity(i3);\n }", "title": "" }, { "docid": "0a4d5abc97e0c87cee40071588905424", "score": "0.737288", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tMainActivity.this.finish();\t\n\t\t\t}", "title": "" }, { "docid": "93522ec770da82dbc045ed82c7257181", "score": "0.7361067", "text": "@Override\n public void onClick(View view) {\n startActivity(Constants.getSimpleIntent(\n LoginActivity.this, SignupActivity.class\n ));\n }", "title": "" }, { "docid": "2a0d39baa05f21b2a6bf580df763e973", "score": "0.7360804", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n\n context.startActivity(new Intent(context, LoginActivity.class));//.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP));\n\n context.finishAffinity();\n }", "title": "" }, { "docid": "76bddf0703add2ec7e969ccded609bf9", "score": "0.7355868", "text": "@Override\n public void onClick(View view) {\n Intent it= new Intent(PaginaInicial.this, EscModo.class);//Autenticacao.class);\n startActivity(it);\n //finish();\n }", "title": "" }, { "docid": "ac2fd80a9b9a8c4deffea25c0b7d147e", "score": "0.734777", "text": "@Override\n public void run() {\n Intent i = new Intent(Splash.this, frmMain.class);\n startActivity(i);\n // close this activity\n finish();\n }", "title": "" }, { "docid": "c1302c81a446c9345c1e0c780b4c4657", "score": "0.7340005", "text": "@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(register.this,\n login.class);\n startActivity(intent);\n }", "title": "" }, { "docid": "f87be049f3a48a1a9a02782807161096", "score": "0.73377407", "text": "public void toMain(){\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n finish();\n }", "title": "" }, { "docid": "74f28a0493f2ae15d8c63b55f82a2f6e", "score": "0.73313487", "text": "@Override\n public void run() {\n Intent mainIntent = new Intent(Splash.this,Login.class);\n Splash.this.startActivity(mainIntent);\n Splash.this.finish();\n }", "title": "" }, { "docid": "7711bacb3202bdc55666d26e527653c3", "score": "0.7327963", "text": "@Override\n public void onClick(View v) {\n Intent intentToExistingUserPage=new Intent(PaymentDetailsActivity.this, ExistingUserActivity.class);\n startActivity(intentToExistingUserPage);\n finish();\n\n\n\n }", "title": "" }, { "docid": "c530014462f0ebea149da6e5e59f591b", "score": "0.73276556", "text": "@Override\n public void run() {\n\n Intent intentLogin1 = new Intent(PopLanguageScreen.this, LoginActivity.class);\n startActivity(intentLogin1);\n finish();\n\n dialog.dismiss();\n }", "title": "" }, { "docid": "b9954bb2a473bd1f4645c64bbb3bffac", "score": "0.732633", "text": "@Override\n public void onClick(View v) {\n finish();\n }", "title": "" } ]
76068b2e346b33d166eca51314b0d393
Find main child VerbPhrase in a Sentence (couldn't be rootNode) Could be the highest VerbPhrase in a tree or its child
[ { "docid": "71ff6a09517db941f72854722bed907c", "score": "0.6524802", "text": "public static SentenceNode mainChildVerbPhrase(SentenceNode rootNode) {\t\r\n\t\treturn mainPhrase(rootNode, SentenceType.VERB_PHRASE, false);\r\n\t}", "title": "" } ]
[ { "docid": "ad4974cd868df7ca8ba3842bb12de215", "score": "0.59806997", "text": "public static SentenceNode mainVerbPhrase(SentenceNode rootNode) {\t\r\n\t\treturn mainPhrase(rootNode, SentenceType.VERB_PHRASE, true);\r\n\t}", "title": "" }, { "docid": "3ec497f32ec2838e3408410fca57537d", "score": "0.5858686", "text": "private static SentenceNode mainPhrase(SentenceNode rootNode, SentenceType type, boolean self) {\t\t\r\n\t\t// result\r\n\t\tSentenceNode resultNode = null;\r\n\t\t\r\n\t\t// find first Phrase (highest = biggest)\t\t\r\n\t\tif(self && rootNode.getType() == type) {\r\n\t\t\t// its the root\r\n\t\t\tresultNode = rootNode;\r\n\t\t} else {\r\n\t\t\t// first Phrase of given type \r\n\t\t\tfor (ParseTreeNode node : rootNode.getChildren()) {\r\n\t\t\t\t// always could be Word\r\n\t\t\t\tif (node instanceof SentenceNode && ((SentenceNode)node).getType() == type) {\r\n\t\t\t\t\tresultNode = (SentenceNode)node;\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\t\r\n\t\t// sometimes can Phrase have only one child - again Phrase of same type\r\n\t\tif(resultNode != null && resultNode.getChildren().size() == 1 && resultNode.getChildren().get(0) != null && resultNode.getChildren().get(0) instanceof SentenceNode &&((SentenceNode) resultNode.getChildren().get(0)).getType() == type) {\r\n\t\t\tresultNode = (SentenceNode)resultNode.getChildren().get(0);\r\n\t\t} else {\r\n\t\t\tresultNode = (SentenceNode)resultNode;\r\n\t\t}\r\n\t\treturn resultNode;\r\n\t}", "title": "" }, { "docid": "57bdf32fe02488c08f82db6908616a87", "score": "0.57624084", "text": "static IndexedWord getNSubjSentence(IndexedWord verb, SemanticGraph depTree){\n IndexedWord word = null;\n GrammaticalRelation nsubjRelation = GrammaticalRelation.valueOf(\"nsubj\");\n GrammaticalRelation xcompRelation = GrammaticalRelation.valueOf(\"xcomp\");\n Set<IndexedWord> xcompParents = depTree.getParentsWithReln(verb, xcompRelation);\n IndexedWord parent = null;\n if (!xcompParents.isEmpty()) {\n Iterator<IndexedWord> itXcomp = xcompParents.iterator();\n parent = itXcomp.next();\n return getNSubjSentence(parent, depTree);\n }else {\n IndexedWord subj = depTree.getChildWithReln(verb, nsubjRelation);\n if(subj != null)\n return subj;\n else\n return null;\n }\n }", "title": "" }, { "docid": "cb1437654a8eb6984af922cee54c2787", "score": "0.56392086", "text": "public int search(String word) {\n\t\tTries curr = root;\n\t\tfor (char c : word.toCharArray()) {\n\t\t\tif (curr.getChild(c) == null) {\n\t\t\t\treturn -1;\n\t\t\t} else {\n\t\t\t\tcurr = curr.getChild(c);\n\t\t\t\t//System.out.println(curr);\n\t\t\t}\n\t\t}\n\t\tif (curr.isEnd) {\n\t\t\tSystem.out.print(word + \": \");\n\t\t\tSystem.out.println(curr.wordNumber);\n\t\t\treturn curr.wordNumber;\n\t\t}\n\n\t\treturn -1;\n\t}", "title": "" }, { "docid": "f25a1540166adf19b5c433493d68e5e1", "score": "0.5597529", "text": "@Test\n public void testCase7 () throws IOException {\n ki.addDoc(createFieldDoc2());\n ki.commit();\n\n // match all children that are NP\n SpanElementQuery seq1 = new SpanElementQuery(\"base\", \"np\");\n SpanClassQuery scq1 = new SpanClassQuery(seq1, (byte) 1);\n\n SpanRelationQuery srq = new SpanRelationQuery(\n new SpanTermQuery(new Term(\"base\", \">:child-of\")), true,\n RelationDirection.RIGHT);\n srq.setTargetClass((byte) 2);\n\n SpanRelationMatchQuery rm = new SpanRelationMatchQuery(srq, scq1, true);\n // SpanQuery rv = new SpanFocusQuery(rm, (byte) 1);\n\n //return all parents of np\n SpanFocusQuery rv2 = new SpanFocusQuery(rm, (byte) 2);\n rv2.setSorted(false);\n\n assertEquals(\n \"focus(2: focus(#[1,2]spanSegment({2: target:spanRelation(base:>:child-of)}, {1: <base:np />}),sorting),sorting)\",\n rv2.toString());\n\n kr = ki.search(rv2, (short) 10);\n\n assertEquals((long) 4, kr.getTotalResults());\n assertEquals(0, kr.getMatch(0).getStartPos());\n assertEquals(7, kr.getMatch(0).getEndPos());\n assertEquals(1, kr.getMatch(1).getStartPos());\n assertEquals(7, kr.getMatch(1).getEndPos());\n assertEquals(2, kr.getMatch(2).getStartPos());\n assertEquals(7, kr.getMatch(2).getEndPos());\n assertEquals(4, kr.getMatch(3).getStartPos());\n assertEquals(7, kr.getMatch(3).getEndPos());\n // id problem (solved)\n\n // return all parents of np that are PP\n\n }", "title": "" }, { "docid": "20be011ad34ce0781af8b4eeed8f048e", "score": "0.5578587", "text": "private String find(String child){\n if(!unionMap.containsKey(child))\n return child;\n String parent = unionMap.get(child);\n return parent.equals(child) ? parent : find(parent);\n }", "title": "" }, { "docid": "cd97a35df54554199250461bcaa3f1fe", "score": "0.54934937", "text": "static IndexedWord getNodeVerb(String verb, SemanticGraph depTree){\n IndexedWord word = null;\n IndexedWord w;\n for(int i = 0; i <= depTree.size(); i++){\n if(i == 0)\n w = depTree.getFirstRoot();\n else\n w = depTree.getNodeByIndex(i);\n if(w.backingLabel().value().equals(verb)){\n word = w;\n break;\n }\n }\n return word;\n }", "title": "" }, { "docid": "2401dbb524e2851746d4fb4141e43487", "score": "0.54374117", "text": "public String deriveVerb(String noun) {\n try {\n IIndexWord _idw = dict.getIndexWord(noun, POS.NOUN);\n if (_idw == null) {\n System.err.println(\"Could not find IndexWord for: \" + noun);\n return null;\n }\n String _selected = null;\n int _distance = 0;\n\n for (IWordID wi : _idw.getWordIDs()) {\n IWord word = dict.getWord(wi);\n List<IWordID> related = word.getRelatedWords(Pointer.DERIVATIONALLY_RELATED);\n\n for(IWordID r : related){\n if(r.getPOS() == POS.VERB) {\n\n IWord w = dict.getWord(r);\n ISynset synset = w.getSynset();\n for (IWord x : synset.getWords()) {\n int _d = StringUtils.getLevenshteinDistance(x.getLemma(), noun);\n if (_selected == null || _d < _distance) {\n _selected = x.getLemma();\n _distance = _d;\n }\n }\n }\n }\n }\n\n\n return _selected;\n\n }catch (Exception e) {\n e.printStackTrace();\n return null;\n }\n }", "title": "" }, { "docid": "c5abbc36fa56558b56ee0c487ceb7cf8", "score": "0.54282176", "text": "List<? extends DocTree> getFirstSentence();", "title": "" }, { "docid": "e098a78e1f19bdf292afe7a57ac44662", "score": "0.54122555", "text": "@Override\n\tpublic Node find(String word) {\n\t\t\n\t\tint level =0;\n\t\tNode p = root.FindfromRoot(word, level);\n\t\t\n\t\tif(p==null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\tif(p.getValue() == 0)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\treturn p;\n\t}", "title": "" }, { "docid": "48ff8d9cd8d84ae3f492432a27bfd47a", "score": "0.53815943", "text": "java.lang.String getParent();", "title": "" }, { "docid": "9a49df57b21ac1659d033d8646d0e624", "score": "0.5360263", "text": "public NFragment find(NFragment word) {\n\n\t\tint a = 0, b = ngram.size() - 1;\n\n\t\tif (b < 0)\n\t\t\treturn null;\n\n\t\tint elem = 0;\n\t\twhile (a <= b) {\n\t\t\telem = (b + a) / 2;\n\t\t\tif (word.compareTo(ngram.get(elem)) < 0) {\n\t\t\t\tb = elem - 1;\n\t\t\t} else if (word.compareTo(ngram.get(elem)) > 0) {\n\t\t\t\ta = elem + 1;\n\t\t\t} else {\n\t\t\t\treturn ngram.get(elem);\n\t\t\t}\n\t\t}\n\n\t\treturn null;\n\n\t}", "title": "" }, { "docid": "31dca6dd045d044fdeb26c9afadf7aef", "score": "0.53000194", "text": "@Test\n public void testCase6 () throws IOException {\n ki.addDoc(createFieldDoc2());\n ki.commit();\n\n // return all children that are NP\n SpanElementQuery seq1 = new SpanElementQuery(\"base\", \"np\");\n SpanClassQuery scq1 = new SpanClassQuery(seq1, (byte) 1);\n\n SpanRelationQuery srq = new SpanRelationQuery(\n new SpanTermQuery(new Term(\"base\", \">:child-of\")), true,\n RelationDirection.RIGHT);\n\n SpanRelationMatchQuery rm = new SpanRelationMatchQuery(srq, scq1, true);\n SpanFocusQuery rv = new SpanFocusQuery(rm, (byte) 1);\n rv.setSorted(false);\n\n assertEquals(\n \"focus(1: focus(#[1,2]spanSegment(spanRelation(base:>:child-of), {1: <base:np />}),sorting),sorting)\",\n rv.toString());\n\n kr = ki.search(rv, (short) 10);\n\n assertEquals(4, kr.getTotalResults());\n assertEquals(0, kr.getMatch(0).getStartPos());\n assertEquals(1, kr.getMatch(0).getEndPos());\n assertEquals(2, kr.getMatch(1).getStartPos());\n assertEquals(4, kr.getMatch(1).getEndPos());\n assertEquals(2, kr.getMatch(2).getStartPos());\n assertEquals(7, kr.getMatch(2).getEndPos());\n assertEquals(5, kr.getMatch(3).getStartPos());\n assertEquals(7, kr.getMatch(3).getEndPos());\n\n // return all parents that are NP\n srq = new SpanRelationQuery(\n new SpanTermQuery(new Term(\"base\", \"<:child-of\")), true,\n RelationDirection.LEFT);\n rm = new SpanRelationMatchQuery(srq, scq1, true);\n rv = new SpanFocusQuery(rm, (byte) 1);\n kr = ki.search(rv, (short) 10);\n\n assertEquals(7, kr.getTotalResults());\n assertEquals(0, kr.getMatch(0).getStartPos());\n assertEquals(1, kr.getMatch(0).getEndPos());\n assertEquals(2, kr.getMatch(1).getStartPos());\n assertEquals(4, kr.getMatch(1).getEndPos());\n assertEquals(2, kr.getMatch(2).getStartPos());\n assertEquals(4, kr.getMatch(2).getEndPos());\n assertEquals(2, kr.getMatch(3).getStartPos());\n assertEquals(7, kr.getMatch(3).getEndPos());\n assertEquals(2, kr.getMatch(4).getStartPos());\n assertEquals(7, kr.getMatch(4).getEndPos());\n assertEquals(5, kr.getMatch(5).getStartPos());\n assertEquals(7, kr.getMatch(5).getEndPos());\n assertEquals(5, kr.getMatch(6).getStartPos());\n assertEquals(7, kr.getMatch(6).getEndPos());\n }", "title": "" }, { "docid": "d50d8319f4f81ff48a71e855175c8c61", "score": "0.52343726", "text": "public static ArrayList<SentenceNode> getVerbPhrases(SentenceNode rootNode) {\t\r\n\t\treturn getPhrases(rootNode, SentenceType.VERB_PHRASE);\r\n\t}", "title": "" }, { "docid": "5c2ea975fa52f7769464840cca17e25d", "score": "0.51558876", "text": "private List<String> locateNounPhraseStrings(String tree) {\n //list of noun phrases\n \tList<String> npl = new ArrayList<String>();\n //noun phrase\n List<String> np = new ArrayList<String>();\n String[] array = tree.split(\"\\\\s+\");\n boolean flag = false;\n int leftBracket = 0;\n int rightBracket = 0;\n for(String s : array) { \n \tif(s.matches(\"^\\\\(NP$\") && !flag) {\n \t\tflag = true;\n \t\tleftBracket++;\n \t\tnp.add(s);\n \t\tcontinue;\n \t}\n \tif(s.startsWith(\"(\") && flag) {\n \t\tString temp = s;\n \t\ttemp = temp.substring(0, temp.length() - countSubstringMatches(s, \")\") );\n \t\t//added to fix cases like (NP (NN (.88-18))\n \t\tif(!tokenMap.containsKey(temp)) {\n \t\t leftBracket = leftBracket + countSubstringMatches(s, \"(\");\n \t\t np.add(s); \n \t\t} \n \t}\n \tif(s.endsWith(\")\") && flag) {\n \t\trightBracket = rightBracket + countSubstringMatches(s, \")\");\n \t\tnp.add(s); \n \t} \n \tif( (leftBracket <= rightBracket) && flag ) {\n \t\tString temp = join(np, \" \"); \n \t\tif(leftBracket < rightBracket) {\n \t\t\ttemp = temp.substring(0, temp.length() - (rightBracket - leftBracket) );\n \t\t}\n \t\t//recursively retrieve base noun phrases\n \t\tif(countSubstringMatches(temp, \"(NP\") > 1) { \n \t\t\t//record the current NP with embeded NP(s) as long as there is no \"(S \", \"(VP \" or \"(PP \"\n \t\t\tif( (temp.indexOf(\"(S \") != -1) || (temp.indexOf(\"(VP \") != -1) \n \t\t\t\t\t|| (temp.indexOf(\"(PP \") != -1) ) {} //don't record; do nothing\n \t\t\telse { npl.add(temp); }\n \t\t\t//remove prefix \"(NP \" and suffix \")\"\n \t\t\ttemp = temp.substring(4, temp.length() ); \n \t\t\ttemp = temp.substring(0, temp.length() - 1 ); \n \t\t\t//update current npl list\n \t\t\tnpl.addAll( locateNounPhraseStrings(temp) ); \t\n \t\t}\n \t\telse {\n \t\t\tnpl.add( temp );\n \t\t}\n\n \t\tflag = false;\n \t\tleftBracket = 0;\n \t\trightBracket = 0;\n \t\tnp.clear();\n \t}\n }\n \treturn npl;\n }", "title": "" }, { "docid": "cf512f834d8a040c2268a35fd7989ff8", "score": "0.5151153", "text": "String findIndRemainInHomeByIdEventIdChild(int idSpclInvEvent, int idChild);", "title": "" }, { "docid": "529d971014ebcbe7c8c4c1675a547f0c", "score": "0.51439595", "text": "private SortedSet<String> findVerbs(String nounClause){\n\t\t//\t\tSystem.out.println(\"Now in findVerbs.\\n\");\n\t\tString[] posArr = {\"(VB \",\"(VBD \",\"(VBG \",\"(VBN \", \"(VBP \",\"(VBZ \"};\n\t\treturn finderHelper(nounClause, posArr);\n\t}", "title": "" }, { "docid": "341a59a3da031fb727076fc3dab913b5", "score": "0.5136247", "text": "public HashSet<Word> findRoots()\r\n\t{\r\n\t\tHashSet<Word> res = new HashSet<Word>();\r\n\t\tres.addAll(tokens);\r\n\t\tfor (HashSet<Word> wordSet : children.values())\r\n\t\t{\r\n\t\t\tres.removeAll(wordSet);\r\n\t\t}\r\n\t\treturn res;\r\n\t}", "title": "" }, { "docid": "da8d11ef154c72aac19ca68cda659824", "score": "0.5107037", "text": "public int _getIndexOfChild(Object parent, Object child) {\n\t\twalker.setCurrentNode((Node) parent); // Set current node\n\t\tint index = 0;\n\t\tNode c = walker.firstChild(); // Start with first child\n\t\twhile ((c != child) && (c != null)) { // Loop 'till we find a match\n\t\t\tindex++;\n\t\t\tc = walker.nextSibling(); // Get the next child\n\t\t}\n\t\tif (c == null) {\n\t\t\treturn -1 * index;\n\t\t}\n\t\treturn index; // Return matching position\n\t}", "title": "" }, { "docid": "daa2e08893d63411bd494434784aa313", "score": "0.50844866", "text": "public Object find(String word) {\n if (word==null || word.length()==0) return null;\n \n word = word.toLowerCase();\n \n int n = word.length();\n \n TrieNode parent = root;\n TrieNode node = null;\n \n for (int i=0; i<n; i++) {\n node = parent.match(word.charAt(i));\n if (node==null) return null;\n parent = node;\n }//for i\n \n if (node!=null) return node.object;\n \n return null;\n }", "title": "" }, { "docid": "0be8037db9b5864ce8d0b6a286675b1e", "score": "0.5073726", "text": "public int isVerbByVerb(List<Sentence> _sentenceList){ \r\n\t\tint result=0;\r\n\t\tint senPostion=Integer.parseInt(this.Node1.getSentencePos2());\r\n\t\tSentence pSentence=_sentenceList.get(senPostion);\r\n\t\tList<KeyWord> keywordSenList=pSentence.getSentence();\r\n\t\t\r\n\t\tString sub=this.propositionNode1.subject().toLowerCase();\r\n\t\tString rel=this.propositionNode1.relation().toLowerCase();\r\n\t\tString arg=\"\";\r\n\t\tif (this.propositionNode1.noArguments()>0) {\r\n\t\t\targ=this.propositionNode1.argument(0).toLowerCase();\r\n\t\t}\r\n\t\t\r\n\t\tif (this.Node1.isVerb()==1&&rel.indexOf(this.Node1.getWord0().toLowerCase())!=-1) {\r\n\t\t\tif (this.Node2.isVerb()==1&&arg.indexOf(this.Node2.getWord0().toLowerCase())!=-1) {\r\n\t\t\t\tfor (int i = 1; i < keywordSenList.size(); i++) {\r\n\t\t\t\t\tKeyWord tempWord=keywordSenList.get(i);\r\n\t\t\t\t\tif (tempWord.getWord0().toLowerCase().equals(this.Node2.getWord0().toLowerCase())\r\n\t\t\t\t\t\t&&keywordSenList.get(i-1).getWord0().toLowerCase().equals(\"by\")\t\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\tresult=1;\r\n\t\t\t\t\t\tthis.relaionType=\"SIMULTANEOUS\";\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}else if (this.Node2.isVerb()==1&&rel.indexOf(this.Node2.getWord0().toLowerCase())!=-1) {\r\n\t\t\tif (this.Node1.isVerb()==1&&arg.indexOf(this.Node1.getWord0().toLowerCase())!=-1) {\r\n\t\t\t\tfor (int i = 1; i < keywordSenList.size(); i++) {\r\n\t\t\t\t\tKeyWord tempWord=keywordSenList.get(i);\r\n\t\t\t\t\tif (tempWord.getWord0().toLowerCase().equals(this.Node1.getWord0().toLowerCase())\r\n\t\t\t\t\t\t&&keywordSenList.get(i-1).getWord0().toLowerCase().equals(\"by\")\t\r\n\t\t\t\t\t\t) {\r\n\t\t\t\t\t\tresult=1;\r\n\t\t\t\t\t\tthis.relaionType=\"SIMULTANEOUS\";\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\treturn result;\r\n\t}", "title": "" }, { "docid": "1a4b8cf3f94c335c53f7c1acde3d5e47", "score": "0.5065624", "text": "protected int findIndexFor(Node child, Node parent){\n\t\tint cc = parent.getChildCount();\n\t\tif (cc==0){\n\t\t\treturn 0;\n\t\t} \n\t\tif (cc==1){\n\t\t\treturn comparator.compare(child, parent.getChildAt(0)) \n\t\t\t\t<= 0 ? 0 :1; \n\t\t}\n\t\treturn findIndexFor(child, parent, 0, cc-1); // first and last\n\t}", "title": "" }, { "docid": "a6521b50ab1f0d233ee140e847db0f80", "score": "0.5034691", "text": "public static SentenceNode mainNounPhrase(SentenceNode rootNode) {\t\r\n\t\treturn mainPhrase(rootNode, SentenceType.NOUN_PHRASE , true);\r\n\t}", "title": "" }, { "docid": "a36b113a6b06527f3af44d7b4e168e0d", "score": "0.5022513", "text": "public int getIndexOfChild(Object parent, Object child) {\n\t\twalker.setCurrentNode((Node) parent); // Set current node\n\t\tint index = 0;\n\t\tNode c = walker.firstChild(); // Start with first child\n\t\twhile ((c != child) && (c != null)) { // Loop 'till we find a match\n\t\t\tindex++;\n\t\t\tc = walker.nextSibling(); // Get the next child\n\t\t}\n\t\treturn index; // Return matching position\n\t}", "title": "" }, { "docid": "201231f90de9e1fabbb7e569c3233ed0", "score": "0.50123346", "text": "private Superblock getHighestSemiApprovedDescendant(Keccak256Hash superblockId)\n throws BlockStoreException, IOException, Exception {\n Superblock highest = superblockchain.getChainHead();\n\n // Find highest semi-approved descendant\n while (highest != null && !ethWrapper.isSuperblockSemiApproved(highest.getSuperblockId())) {\n highest = superblockchain.getParent(highest);\n if (highest.getSuperblockId().equals(superblockId)) {\n // No semi-approved descendants found\n return null;\n }\n }\n\n return highest;\n }", "title": "" }, { "docid": "27b394459cbd6ca04d0f0c288778a58a", "score": "0.49997824", "text": "public Word getParent() {\n\t\tparentPickChance = r.nextInt(target.length); //generate a random number between 0(inclusive) and target.length(exclusive)\n\t\tfor(Word w : words) {\n\t\t\tif (parentPickChance < w.computeFitness()) { //this makes it so that the higher the fitness, the more likely it is to be picked\n\t\t\t\treturn w;\n\t\t\t}\n\t\t}\n\t\treturn words[0]; //if all the words in the population have a fitness of 0, just return the first word in the population\n\t}", "title": "" }, { "docid": "645762ab919aa6e1c362ce7537132413", "score": "0.49708807", "text": "String getPartOfSpeech(int morphId);", "title": "" }, { "docid": "42e32ab20cd7b5c93a16e91e63c4e1fa", "score": "0.49660844", "text": "private static Node binarySearchInChildren(Node parent, TextPos2D target) {\n\n int low = 0;\n int high = parent.getNumChildren() - 1;\n\n while (low <= high) {\n int mid = (low + high) / 2;\n Node child = parent.getChild(mid);\n int cmp = startPosition(child).compareTo(target);\n\n if (cmp < 0) {\n // node start is before target\n low = mid + 1;\n if (endPosition(child).compareTo(target) >= 0) {\n // node end is after target\n return child;\n }\n } else if (cmp > 0) {\n high = mid - 1;\n } else {\n // target is node start position\n return child; // key found\n }\n }\n return null; // key not found\n }", "title": "" }, { "docid": "47a1dc0f838cd035aa269a72efc2de7a", "score": "0.49558142", "text": "@Test\n public void testCase9 () throws IOException {\n ki.addDoc(createFieldDoc2());\n ki.commit();\n\n // return all children of np\n SpanElementQuery seq1 = new SpanElementQuery(\"base\", \"np\");\n SpanClassQuery scq1 = new SpanClassQuery(seq1, (byte) 1);\n SpanRelationQuery srq = new SpanRelationQuery(\n new SpanTermQuery(new Term(\"base\", \"<:child-of\")), true,\n RelationDirection.LEFT);\n srq.setSourceClass((byte) 2);\n SpanRelationMatchQuery rm = new SpanRelationMatchQuery(srq, scq1, true);\n SpanFocusQuery rv = new SpanFocusQuery(rm, (byte) 2);\n rv.setSorted(false);\n\n assertEquals(\n \"focus(2: focus(#[1,2]spanSegment({2: source:spanRelation(base:<:child-of)}, {1: <base:np />}),sorting),sorting)\",\n rv.toString());\n\n kr = ki.search(rv, (short) 10);\n\n assertEquals((long) 7, kr.getTotalResults());\n assertEquals(0, kr.getMatch(0).getStartPos());\n assertEquals(1, kr.getMatch(0).getEndPos());\n assertEquals(2, kr.getMatch(1).getStartPos());\n assertEquals(3, kr.getMatch(1).getEndPos());\n assertEquals(2, kr.getMatch(2).getStartPos());\n assertEquals(4, kr.getMatch(2).getEndPos());\n assertEquals(3, kr.getMatch(3).getStartPos());\n assertEquals(4, kr.getMatch(3).getEndPos());\n assertEquals(4, kr.getMatch(4).getStartPos());\n assertEquals(7, kr.getMatch(4).getEndPos());\n assertEquals(5, kr.getMatch(5).getStartPos());\n assertEquals(6, kr.getMatch(5).getEndPos());\n assertEquals(6, kr.getMatch(6).getStartPos());\n assertEquals(7, kr.getMatch(6).getEndPos());\n }", "title": "" }, { "docid": "5053ad0c9a2aa1fcc6fc85c558c1269d", "score": "0.4949705", "text": "public ProofNode getChildAfter(TreeNode aChild);", "title": "" }, { "docid": "d914e2fa9e38b3b1f9317f09d5f96241", "score": "0.49145868", "text": "private static void findMostTalentedChild(Child[] childrenTable) {\n\t\tint highestNumOfTrophies=0;\n\t\tString message = \"NAME--------------------AGE\\n\";\n\t\tif(Child.getNumOfChildren()> 0){\n\t\t\t//for loop to run through all the Child objects to find the CompChild with the most trophies\n\t\t\tfor(int pos =0; pos <Child.getNumOfChildren(); pos++ ){\n\t\t\t\t//if statement to check if its an CompChild object\n\t if(childrenTable[pos] instanceof CompChild){\n\t if(((CompChild)childrenTable[pos]).getNumOfTrophies()>highestNumOfTrophies){\n\t \t\t\t highestNumOfTrophies = ((CompChild)childrenTable[pos]).getNumOfTrophies();\n\t \t }\n\t }\n\t\t\t}\n\t\t\t//for loop to check all the CompChild that have the same amount of trophies\n\t\t\tfor(int pos =0; pos < Child.getNumOfChildren(); pos++){\n\t if(childrenTable[pos] instanceof CompChild){\n\t \t\t\t\tif(((CompChild)childrenTable[pos]).getNumOfTrophies() == highestNumOfTrophies){\n\t \t\t\t\t message+= childrenTable[pos].getChildName() + \" \"+childrenTable[pos].getChildAge()+\"\\n\";\n\t \t\t\t\t}\n\t }\n\t\t\t}\n\t\t JOptionPane.showMessageDialog(null, message);\n\t\t}\n\t\telse{\n\t\t\tJOptionPane.showMessageDialog(null, \"There aren't any competition children\");\n\t\t}\n}", "title": "" }, { "docid": "8dbf822292c927cccf5e5ba571c8bebb", "score": "0.49140537", "text": "private static String getParentEntity(ClassDoc commandDoc) {\n AnnotationDesc annoDesc = getAnnotation(commandDoc.annotations(), Element.class); \n \n for (ElementValuePair elementValue : annoDesc.elementValues()) {\n if (elementValue.element().name().equalsIgnoreCase(\"parentElements\")) {\n Matcher matcher = localNamePattern.matcher(elementValue.value().toString());\n \n if (matcher.matches())\n return matcher.group(1);\n }\n }\n \n return null; \n }", "title": "" }, { "docid": "03898eedec36725558963f7a854aea81", "score": "0.49094078", "text": "int indexOf(Content child);", "title": "" }, { "docid": "b7a66c1e0a1c4c839191db012c406922", "score": "0.48924914", "text": "private DLBnode checkChildrenHist(DLBnode curr, String word, int k){\n\t\t\n\t\tif(curr != null){\n\t\t\tfor(int i = k; i < word.length(); i++){\n\t\t\t\tif(curr.getData() == word.charAt(i)){\n\t\t\t\t\t\n\t\t\t\t\tif(curr.getData() == '^'){//found word\n\t\t\t\t\t\tcurr.setUses(curr.getUses()+1);\n\t\t\t\t\t}\n\t\t\t\t\tcurr = curr.getChild();\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tif(curr.getSibling() == null){\n\t\t\t\t\t\tcurr.setSibling(new DLBnode(word.charAt(i)));\n\t\t\t\t\t\tcurr = curr.getSibling();\n\t\t\t\t\t\tif(curr.getData() == '^'){//found word\n\t\t\t\t\t\t\tcurr.setUses(curr.getUses()+1);\n\t\t\t\t\t\t}else{\n\t\t\t\t\t\t\treturn fillChildrenHist(word, i+1, curr);//brand new word\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\treturn checkChildrenHist(curr.getSibling(), word, i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn curr;\n\t}", "title": "" }, { "docid": "eb7e03488443df523f623966f64821ea", "score": "0.4877038", "text": "public String UnionFind(String s) {\r\n\t\tString root = verb.get(s);\r\n\t\t\r\n\t\tif(s == root) return s;\r\n\t\tverb.put(s, UnionFind(root));\r\n\t\t\r\n\t\treturn root;\r\n\t}", "title": "" }, { "docid": "369679da1ddb6b58a0d5137ea1d92ab8", "score": "0.48700172", "text": "public Constituent getVPafterNP(int pos, Sentence sentence, JCas jCas) {\r\n\t\tList<Constituent> nounPhrases = NLPUtil.getNounPhrases(jCas, sentence);\r\n\t\tList<Constituent> verbPhrases = NLPUtil.getVerbPhrases(jCas, sentence);\r\n\t\tfor (Constituent np : nounPhrases) {\r\n\t\t\tif (pos >= np.getBegin() && pos <= np.getEnd()) {\r\n\t\t\t\tpos = np.getEnd();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tConstituent back = null;\r\n\t\tint best = Integer.MAX_VALUE;\r\n\t\tfor (Constituent vp : verbPhrases) {\r\n\t\t\tif (vp.getBegin() >= pos && vp.getBegin() < best) {\r\n\t\t\t\tbest = vp.getBegin();\r\n\t\t\t\tback = vp;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn back;\r\n\r\n\t}", "title": "" }, { "docid": "9eefa21f2b3c113f6d71783fef437570", "score": "0.48506954", "text": "public String getGoodWordStartingWith(String s) {\n System.out.println(s);\n if (s.length() == 0) {\n System.out.println(\"here\");\n String remainingResult = getRemainingOfGoodWord(s, 0);\n if (remainingResult != null) {\n return remainingResult;\n }\n // at this point, result is any word\n return s;\n }\n\n char character = s.charAt(0);\n String rest = s.substring(1);\n if (children.containsKey(character)) {\n String result = children.get(character).getGoodWordStartingWith(rest);\n if (result != null) {\n return character + result;\n }\n }\n return null;\n }", "title": "" }, { "docid": "ec739db913eb1f8d432ac4fde278e1b7", "score": "0.4844197", "text": "@Override\r\n public int getMaxDepthSearchForThisPos() {\n return 0;\r\n }", "title": "" }, { "docid": "eb32be9446f3901285ef07bf7e3bfa37", "score": "0.48196402", "text": "public int find ( int m ) {\n\n int p = m;\n\n while ( parent[p] != 0 )\n p = parent[p];\n\n return p;\n }", "title": "" }, { "docid": "347bc9792c0dbcf0001977b3c1474020", "score": "0.4812584", "text": "public String getPhrase();", "title": "" }, { "docid": "31a0ce071e1c422a21ae596963e13633", "score": "0.48097566", "text": "boolean search(String key,trienode root)\n {\n\tint length = key.length();\n\tint i,index;\n\ttrienode current = root;\n \n\tfor(i=0;i<length;i++)\n\t{\n\t index = key.charAt(i) - 'A';\n\t if(current.child[index] == null)\n\t {\n\t\treturn false;\n\t }\n\t current = current.child[index];\n\t} \n \n\treturn(current != null && current.endofword);\n }", "title": "" }, { "docid": "2c06965a49db959d9397645d254c9ec3", "score": "0.4800979", "text": "private static Pair<Integer, Integer> getProperNounSubtreeSpan(SemanticGraph tree, IndexedWord root) {\n return getGeneralizedSubtreeSpan(tree, root, NOUN_COMPONENT_ARCS);\n }", "title": "" }, { "docid": "d54bcf8361548b27a2f7d169a02f95de", "score": "0.47999594", "text": "public Set<String> hyponyms(String word) {\n Set<Integer> keys = synsMap.keySet();\n HashSet<Integer> startVerticies = new HashSet<Integer>();\n \n // Gets each key\n for (Integer key : keys) {\n if (key != null) {\n // Gets each Set\n HashSet<String> currNounSet = synsMap.get(key);\n if (currNounSet.contains(word)) {\n startVerticies.add(key);\n }\n }\n }\n\n hypSet = GraphHelper.descendants(ourDigraph, startVerticies);\n HashSet<String> solution = new HashSet<String>();\n \n for (Integer child : hypSet) {\n // System.out.println(child);\n for (String myString : synsMap.get(child)) {\n // System.out.println(myString);\n if (child != null) {\n solution.add(myString);\n }\n }\n }\n return solution;\n\n }", "title": "" }, { "docid": "750112c5abc58f0ff88a4ee3b747e911", "score": "0.47960263", "text": "public int isVerbWithVerb(List<Sentence> _sentenceList){ \r\n\t\tint result=0;\r\n\t\tint senPostion=Integer.parseInt(this.Node1.getSentencePos2());\r\n\t\tSentence pSentence=_sentenceList.get(senPostion);\r\n\t\tList<KeyWord> keywordSenList=pSentence.getSentence();\r\n\t\t\r\n\t\tString sub=this.propositionNode1.subject().toLowerCase();\r\n\t\tString rel=this.propositionNode1.relation().toLowerCase();\r\n\t\tString arg=\"\";\r\n\t\tif (this.propositionNode1.noArguments()>0) {\r\n\t\t\targ=this.propositionNode1.argument(0).toLowerCase();\r\n\t\t}\r\n\t\tfor (int i = 0; i < keywordSenList.size()-1; i++) {\r\n\t\t\tif (keywordSenList.get(i).getWord0().equals(this.Node1.getWord0().toLowerCase())\r\n\t\t\t\t&& keywordSenList.get(i+1).getWord0().equals(this.Node2.getWord0().toLowerCase())\t\r\n\t\t\t\t) {\r\n\t\t\t\tif (this.Node1.isVerb()==1&&this.Node2.isVerbVBG()==1) {\r\n\t\t\t\t\tresult=1;\r\n\t\t\t\t\tthis.relaionType=\"AFTER\";\r\n\t\t\t\t}\r\n\t\t\t}else if (keywordSenList.get(i).getWord0().equals(this.Node2.getWord0().toLowerCase())\r\n\t\t\t\t\t&& keywordSenList.get(i+1).getWord0().equals(this.Node1.getWord0().toLowerCase())\t\r\n\t\t\t\t\t) {\r\n\t\t\t\t\t if (this.Node2.isVerb()==1&&this.Node1.isVerbVBG()==1) {\r\n\t\t\t\t\t\t\tresult=1;\r\n\t\t\t\t\t\t\tthis.relaionType=\"BEFORE\";\r\n\t\t\t\t\t }\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "2646d37b24ba3b72ded8bda574bc965f", "score": "0.47914094", "text": "public boolean search(TrieNode root, String word)\n {\n if(word.length()==0)\n {\n if(root.isTerminating)\n return true;\n else\n return false;\n }\n int childIndex = word.charAt(0) - 'a';\n TrieNode child = root.children[childIndex];\n if(child == null)\n {\n return false;\n }\n if(child.data != word.charAt(0))\n return false;\n\n return search(child,word.substring(1));\n \n }", "title": "" }, { "docid": "2e93d5dbb8d1aac4b991ec9e636bcdbc", "score": "0.47678018", "text": "private int getParentIndex (int childIndex) { return (childIndex - 1) / 2; }", "title": "" }, { "docid": "4269fdb87e717d9b825ed22c281d35cd", "score": "0.47614142", "text": "protected int getIndexForRelationChild(Relation parent, Relation child) {\r\n if (parent == null || child == null) return -1;\r\n int idx = 0;\r\n for (RelationMember member : parent.members) {\r\n if (!(member.member instanceof Relation)) {\r\n continue;\r\n }\r\n if (member.member == child) return idx;\r\n idx++;\r\n }\r\n return -1;\r\n }", "title": "" }, { "docid": "214a09478d92879428d8f8bb331c71e5", "score": "0.4755594", "text": "private void processLeaf(Leaf leaf, List<String> sentence,\n List<Span> names) {\n\n if (leaf != null && leftContractionPart == null) {\n\n String namedEntityTag = null;\n int startOfNamedEntity = -1;\n\n String leafTag = leaf.getMorphologicalTag();\n boolean expandLastNER = false; // used when we find a <NER2> tag\n\n if (leafTag != null) {\n if (leafTag.contains(\"<sam->\")) {\n String[] lexemes = leaf.getLexeme().split(\"_\");\n if(lexemes.length > 1) {\n for (int i = 0; i < lexemes.length - 1; i++) {\n sentence.add(lexemes[i]);\n }\n }\n leftContractionPart = lexemes[lexemes.length - 1];\n return;\n }\n if (leafTag.contains(\"<NER2>\")) {\n // this one an be part of the last name\n expandLastNER = true;\n }\n namedEntityTag = getNER(leafTag);\n }\n\n if (namedEntityTag != null) {\n startOfNamedEntity = sentence.size();\n }\n\n sentence.addAll(Arrays.asList(leaf.getLexeme().split(\"_\")));\n\n if (namedEntityTag != null) {\n names\n .add(new Span(startOfNamedEntity, sentence.size(), namedEntityTag));\n }\n\n if (expandLastNER) {\n // if the current leaf has the tag <NER2>, it can be the continuation of\n // a NER.\n // we check if it is true, and expand the lest NER\n int lastIndex = names.size() - 1;\n Span last = null;\n boolean error = false;\n if (names.size() > 0) {\n last = names.get(lastIndex);\n if (last.getEnd() == sentence.size() - 1) {\n names.set(lastIndex, new Span(last.getStart(), sentence.size(),\n last.getType()));\n } else {\n error = true;\n }\n } else {\n error = true;\n }\n if (error) {\n // Maybe it is not the same NER, skip it.\n // System.err.println(\"Missing NER start for sentence [\" + sentence\n // + \"] node [\" + leaf + \"]\");\n }\n }\n\n } else {\n // will handle the contraction\n String tag = leaf.getMorphologicalTag();\n String right = leaf.getLexeme();\n if (tag != null && tag.contains(\"<-sam>\")) {\n right = leaf.getLexeme();\n String c = PortugueseContractionUtility.toContraction(leftContractionPart, right);\n\n if (c != null) {\n sentence.add(c);\n } else {\n System.err.println(\"missing \" + leftContractionPart + \" + \" + right);\n sentence.add(leftContractionPart);\n sentence.add(right);\n }\n\n } else {\n System.err.println(\"unmatch\" + leftContractionPart + \" + \" + right);\n }\n leftContractionPart = null;\n }\n\n }", "title": "" }, { "docid": "d2a5b5fa08ac781c92b8a61200ba6e37", "score": "0.47550502", "text": "public int isVerbToVerb(List<Sentence> _sentenceList){ \r\n\t\tint result=0;\r\n\t\tint senPostion=Integer.parseInt(this.Node1.getSentencePos2());\r\n\t\tSentence pSentence=_sentenceList.get(senPostion);\r\n\t\tList<KeyWord> keywordList=pSentence.getSentence();\r\n\t\t\r\n\t\tString sub=this.propositionNode1.subject().toLowerCase();\r\n\t\tString rel=this.propositionNode1.relation().toLowerCase();\r\n\t\tString arg=\"\";\r\n\t\tif (this.propositionNode1.noArguments()>0) {\r\n\t\t\targ=this.propositionNode1.argument(0).toLowerCase();\r\n\t\t}\r\n\t\t\r\n\t\tfor (int i = 0; i < keywordList.size()-2; i++) {\r\n\t\t\tKeyWord tempWord=keywordList.get(i);\r\n\t\t\tif (this.Node1.isVerb()==1&&this.Node2.isVerb()==1\r\n\t\t\t\t&&this.Node1.getWord0().toLowerCase().equals(tempWord.getWord0().toLowerCase())\r\n\t\t\t\t&&keywordList.get(i+1).getWord0().toLowerCase().equals(\"to\")\r\n\t\t\t\t&&this.Node2.getWord0().toLowerCase().equals(keywordList.get(i+2).getWord0().toLowerCase())\r\n\t\t\t\t) {\r\n\t\t\t\tresult=1;\r\n\t\t\t\tthis.relaionType=\"BEFORE\";\r\n\t\t\t}else if (this.Node1.isVerb()==1&&this.Node2.isVerb()==1\r\n\t\t\t\t\t&&this.Node2.getWord0().toLowerCase().equals(tempWord.getWord0().toLowerCase())\r\n\t\t\t\t\t&&keywordList.get(i+1).getWord0().toLowerCase().equals(\"to\")\r\n\t\t\t\t\t&&this.Node1.getWord0().toLowerCase().equals(keywordList.get(i+2).getWord0().toLowerCase())\r\n\t\t\t\t\t) {\r\n\t\t\t\t\tresult=1;\r\n\t\t\t\t\tthis.relaionType=\"AFTER\";\r\n\t\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "af6a1c8ccfc467c8798a53a8192f7510", "score": "0.47422263", "text": "private GameTreeNode getPriorityChild() {\n\r\n double sqrtlogn = Math.sqrt(Math.log(nVisits));\r\n double maxPriority = Double.NEGATIVE_INFINITY;\r\n GameTreeNode bestChild = null;\r\n\r\n for (GameTreeNode child : children) {\r\n double p = child.getPriority(sqrtlogn);\r\n\r\n //System.err.println(\"Priority of child with move \" + Board.moveToString(child.move) + \": \" + p);\r\n if (p > maxPriority) {\r\n maxPriority = p;\r\n bestChild = child;\r\n }\r\n }\r\n \r\n if (bestChild == null) {\r\n System.err.println(\"Moves: \" + Arrays.toString(moves));\r\n printChildren();\r\n }\r\n\r\n return bestChild;\r\n }", "title": "" }, { "docid": "53231455a0fbeee827bb6b4de93eb754", "score": "0.4738254", "text": "public int isVerbInfinitive(List<Sentence> _sentenceList){ \r\n\t\tint result=0;\r\n\t\tint senPostion=Integer.parseInt(this.Node1.getSentencePos2());\r\n\t\tSentence pSentence=_sentenceList.get(senPostion);\r\n\t\tList<KeyWord> keywordSenList=pSentence.getSentence();\r\n\t\t\r\n\t\tString sub=this.propositionNode1.subject().toLowerCase();\r\n\t\tString rel=this.propositionNode1.relation().toLowerCase();\r\n\t\tString arg=\"\";\r\n\t\tif (this.propositionNode1.noArguments()>0) {\r\n\t\t\targ=this.propositionNode1.argument(0).toLowerCase();\r\n\t\t}\r\n\t\tif ((this.Node1.isVerb()==1&&sub.indexOf(this.Node1.getWord0().toLowerCase())!=-1)\r\n\t\t ||(this.Node1.isVerb()==1&&rel.indexOf(this.Node1.getWord0().toLowerCase())!=-1)\t\r\n\t\t ) {\r\n\t\t\t\tif (this.Node2.getEventTense6().equals(\"INFINITIVE+NONE+POS\")&&arg.indexOf(this.Node2.getWord0().toLowerCase())!=-1) {\r\n\t\t\t\t\tresult=1;\r\n\t\t\t\t\tthis.relaionType=\"BEFORE\";\r\n\t\t\t}\r\n\t\t}else if ((this.Node2.isVerb()==1&&sub.indexOf(this.Node2.getWord0().toLowerCase())!=-1)\r\n\t\t\t\t ||(this.Node2.isVerb()==1&&rel.indexOf(this.Node2.getWord0().toLowerCase())!=-1)\r\n\t\t\t\t ) {\r\n\t\t\t\t\tif (this.Node1.getEventTense6().equals(\"INFINITIVE+NONE+POS\")&&arg.indexOf(this.Node1.getWord0().toLowerCase())!=-1) {\r\n\t\t\t\t\t\tresult=1;\r\n\t\t\t\t\t\tthis.relaionType=\"AFTER\";\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "title": "" }, { "docid": "fab513360a27146e12662a58f1e191e6", "score": "0.47135574", "text": "private static ArrayList<SentenceNode> getPhrases(SentenceNode rootNode, SentenceType type) {\t \r\n\t\t// result list\r\n\t\tArrayList<SentenceNode> resultNodes = new ArrayList<SentenceNode>();\t\r\n\t\t\r\n\t\tif(rootNode != null) {\r\n\t\t\t// all Phrases of given type (just direct children) \r\n\t\t\tfor (ParseTreeNode node : rootNode.getChildren()) {\r\n\t\t\t\t// always could be Word\r\n\t\t\t\tif (node instanceof SentenceNode && ((SentenceNode)node).getType() == type) {\r\n\t\t\t\t\tresultNodes.add((SentenceNode)node);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn resultNodes;\r\n\t}", "title": "" }, { "docid": "5a3076935feb2e407778242d4b27df33", "score": "0.4708186", "text": "public boolean wordInTree(String in){\n\t\tDictionaryTree curr=this;\n\t\tfor(int i=0;i<in.length();i++){\n\t\t\tif(curr.children[index(in.charAt(i))]==null) return false;\n\t\t\tcurr = curr.children[index(in.charAt(i))];\n\t\t}\n\t\treturn curr.word;\n\t\t\n\t}", "title": "" }, { "docid": "556831e04d8730c912108fd42e4411b2", "score": "0.47045752", "text": "private int wordCount(){\n \n \n return inOrder(root);\n }", "title": "" }, { "docid": "7ffda8be5f9b97e2dedf916fe6ecbc34", "score": "0.46975455", "text": "private static Pair<Integer, Integer> getSubtreeSpan(SemanticGraph tree, IndexedWord root) {\n return getGeneralizedSubtreeSpan(tree, root, null);\n }", "title": "" }, { "docid": "adcd047a29b7322616c64431f3ee61e0", "score": "0.46895918", "text": "private void findHighestScentRecursive(NavigationNode root) {\n if(root == null) return;\n if(currentHighest < root.getScent()) {\n currentHighest = root.getScent();\n }\n findHighestScentRecursive(root.getLeft());\n findHighestScentRecursive(root.getRight());\n }", "title": "" }, { "docid": "1369d7581d1dee0f8d22af14278fb814", "score": "0.4685612", "text": "HTDrawNode findNode(HTCoordS zs) {\n HTDrawNode resultDraw = super.findNode(zs);\n if (resultDraw != null) {\n return resultDraw;\n } else {\n HTDrawNode childDraw = null;\n for (Enumeration e = children(); e.hasMoreElements(); ) {\n childDraw = (HTDrawNode) e.nextElement();\n resultDraw = childDraw.findNode(zs);\n if (resultDraw != null) {\n return resultDraw;\n } //if\n } //for\n return null;\n } //else\n }", "title": "" }, { "docid": "ea891bf62e60406672836277c1caaa7a", "score": "0.4684017", "text": "public boolean search(String word) {\n Node start=root;\n for(int i=0;i<word.length();i++){\n char ch=word.charAt(i);\n if(start.child[ch-'a']==null)\n return false;\n else start=start.child[ch-'a'];\n \n }\n return start.finished;\n }", "title": "" }, { "docid": "111d5ed8736495714421dc29dde2f444", "score": "0.46833244", "text": "public Dog findYoungest() {\r\n\t\tif (root == null)\r\n\t\t\treturn null;\r\n\t\t\r\n\t\treturn root.findYoungest();\r\n\t}", "title": "" }, { "docid": "a393d1b444a2d3099e610c67f43e293d", "score": "0.46830872", "text": "boa.types.Ast.Type getParents(int index);", "title": "" }, { "docid": "2770b24d211679ad53b01c51a7df3c14", "score": "0.4669459", "text": "public Sentence getAnswerSentence(QueryAnswer answer) throws KbException;", "title": "" }, { "docid": "de2e528519cd1d5c592979036310fee1", "score": "0.46597928", "text": "public Constituent getVPBeforePosition(int pos, Sentence sentence, JCas jCas) {\r\n\t\tList<Constituent> nounPhrases = NLPUtil.getNounPhrases(jCas, sentence);\r\n\t\tList<Constituent> verbPhrases = NLPUtil.getVerbPhrases(jCas, sentence);\r\n\t\tfor (Constituent np : nounPhrases) {\r\n\t\t\tif (pos >= np.getBegin() && pos <= np.getEnd()) {\r\n\t\t\t\tpos = np.getBegin();\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\tConstituent back = null;\r\n\t\tint best = 0;\r\n\t\tfor (Constituent vp : verbPhrases) {\r\n\t\t\tif (vp.getEnd() >= best && vp.getEnd() <= pos) {\r\n\t\t\t\tbest = vp.getEnd();\r\n\t\t\t\tback = vp;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn back;\r\n\t}", "title": "" }, { "docid": "76a2063857dffc6afff82f9044925c91", "score": "0.46545807", "text": "public String getSentence() {\r\n return getFieldStringValue(1, 0, Fit.SUBFIELD_INDEX_MAIN_FIELD);\r\n }", "title": "" }, { "docid": "c037fb9d8ccb3be7864c9857ab1b4bbd", "score": "0.46537572", "text": "@Override\r\n\tpublic String getTreePosition() {\n\t\tStemImpl stem = this;\r\n\t\tint lev = stemlevel;\r\n\t\tString pos = Constant.ZS;\r\n\t\twhile (lev>=0) {\r\n\t\t\tif (stem.cloneIndex.size()>0) { \r\n\t\t\t\tString clonestr = Constant.ZS;\r\n\t\t\t\tfor (int i=0; i<stem.cloneIndex.size(); i++) {\r\n\t\t\t\t\tclonestr += \"c\"+stem.cloneIndex.elementAt(i).toString();\r\n\t\t\t\t}\r\n\t\t\t\tpos = Integer.toString(stem.index)+clonestr+Constant.FS+pos;\r\n\t\t\t} else {\r\n\t\t\t\tpos = Integer.toString(stem.index)+Constant.FS+pos;\r\n\t\t\t}\r\n\t\t\tif (lev>0) stem = stem.parent;\r\n\t\t\tlev--;\r\n\t\t} \t\r\n\t\tif (pos.charAt(pos.length()-1) == '.') pos = pos.substring(0,pos.length()-1);\r\n\t\treturn pos;\r\n\t}", "title": "" }, { "docid": "07d88eab3dd70d13f2a9bf1163eb4abc", "score": "0.46403363", "text": "public static String getMostImportantWord(String sentence){\r\n while (sentence.startsWith(\" \")){\r\n sentence = sentence.substring(1);\r\n }\r\n int[] syllables = getSyllablesCount(sentence);\r\n double[] importance = new double[syllables.length];\r\n for (int x=0; x<syllables.length; x++){\r\n importance[x] = getImportance(syllables[x]);\r\n }\r\n int higherIndex = getHigherIndex(importance);\r\n if (higherIndex != -1){\r\n return sentence.split(\" \")[higherIndex];\r\n }else{\r\n return \"\";\r\n }\r\n }", "title": "" }, { "docid": "1545e737b570353c3bdcfbf6331db3d6", "score": "0.46399397", "text": "private void findGoodEntitiesInParses(CSList<Parse> parses, SentenceFlags sentenceflags, String parentType, CSList<CSList<Parse>> goodEntities) throws Exception {\n \t\r\n \tCSList<Parse> runningPhrase = new CSList<Parse>();\n for (Parse parse : parses)\r\n {\r\n if (parse.isPosTag())\r\n {\r\n if (sentenceflags.isIdiom(parse.getSpan()))\r\n continue;\r\n \n // don't start the running phrase with a DT or similar phrase breakers\n // this check is necessary so that the next check works as intended\r\n if ((runningPhrase.size() == 0) && !tlGoodObjectTypes.contains(parse.getType()))\r\n continue;\r\n \n // don't start the running phrase with Sentiment adjectives\r\n if ((runningPhrase.size() == 0) && (tlAdjectives.contains(parse.getType())) && sentenceflags.isSentiment(parse.getSpan()))\r\n continue;\r\n \n if (FloatVector.isIntensityToken(getLemma(parse)))\r\n continue;\r\n \n if (!StringSupport.equals(parentType, \"NP\"))\r\n continue;\r\n \n runningPhrase.add(parse);\r\n }\r\n else\r\n {\r\n if (runningPhrase.size() >= 1)\r\n {\r\n CSList<CSList<Parse>> foundchunks = null;\n RefSupport<CSList<CSList<Parse>>> refVar41 = new RefSupport<CSList<CSList<Parse>>>();\n findNounPhraseChunks(runningPhrase,refVar41);\n foundchunks = refVar41.getValue();\n goodEntities.addAll(foundchunks);\n runningPhrase.clear();\r\n }\r\n \n // children\r\n CSList<CSList<Parse>> childrenGoodEntities = new CSList<CSList<Parse>>();\n CSList<Parse> children = new CSList<Parse>(parse.getChildren());\n findGoodEntitiesInParses(children,sentenceflags,parse.getType(),childrenGoodEntities);\n goodEntities.addAll(childrenGoodEntities);\n //idioms\r\n findIdiomEntities(parse,sentenceflags,goodEntities);\r\n } \r\n }\n if (runningPhrase.size() > 0)\r\n {\r\n CSList<CSList<Parse>> foundchunks = null;\n RefSupport<CSList<CSList<Parse>>> outFoundchunks = new RefSupport<CSList<CSList<Parse>>>();\n findNounPhraseChunks(runningPhrase,outFoundchunks);\n foundchunks = outFoundchunks.getValue();\n goodEntities.addAll(foundchunks);\r\n }\r\n \r\n }", "title": "" }, { "docid": "a227d4d21a64e337ab0c42a1afa595bc", "score": "0.46384978", "text": "@Override\n public TreeNode getChild(String childName) {\n if (childName == null)\n return null;\n\n childName = normalizeDots(childName);\n Set<Map.Entry<String, TreeNode>> entries = children.entrySet();\n\n for (Map.Entry<String, TreeNode> entry : entries) {\n String entryKey = entry.getKey();\n String normalizedEntryKey = normalizeDots(entryKey);\n\n if (childName.equals(entryKey) || childName.equals(normalizedEntryKey))\n return entry.getValue();\n }\n\n return null;\n }", "title": "" }, { "docid": "bfa3de381411a034ae920c410bcdf96c", "score": "0.4625009", "text": "static SemanticGraph getStanfordParsingTree(String sentence){\n SemanticGraph parsingTree = null;\n Properties props = new Properties();\n props.put(\"annotators\", \"tokenize,ssplit,pos,parse\");\n StanfordCoreNLP pipeline = new StanfordCoreNLP(props);\n Annotation document = new Annotation(sentence);\n pipeline.annotate(document);\n List<CoreMap> sentences = document.get(SentencesAnnotation.class);\n for(CoreMap sent : sentences) {\n for (CoreLabel token : sent.get(TokensAnnotation.class)) {\n String word = token.get(CoreAnnotations.TextAnnotation.class);\n String pos = token.get(CoreAnnotations.PartOfSpeechAnnotation.class);\n }\n parsingTree = sent.get(SemanticGraphCoreAnnotations.BasicDependenciesAnnotation.class);\n }\n return parsingTree;\n }", "title": "" }, { "docid": "2b194db49e95d8659527fa9feffdb80a", "score": "0.46249875", "text": "public String getWord(String word)\r\n {\n TrieNode lastNode = root;\r\n for (int i=0; i<word.length(); i++)\r\n {\r\n \r\n lastNode = lastNode.getNode(word.substring(i,i+1));\r\n \r\n //If no node matches, then no words exist, return empty list\r\n if (lastNode == null) return null; \r\n }\r\n //Return the words which eminate from the last node\r\n return lastNode.getWord();\r\n }", "title": "" }, { "docid": "ad60df830cf921548424e63464f36d44", "score": "0.46246675", "text": "public int find(String key) {\n int output = -1;\n Node focus = root;\n while(focus != null) {\n if(key.compareTo(focus.getValue()) == 0) {\n output = focus.getPosition();\n break;\n }\n if (focus.getValue().compareTo(key) > 0) {\n focus = focus.getLeftChild();\n } else {\n focus = focus.getRightChild();\n }\n }\n\n return output;\n }", "title": "" }, { "docid": "3887aa27ef26a0c97c6c0d663e2c8d1f", "score": "0.4613827", "text": "Dot findParent() {\n double rand = this.random.nextDouble() * this.fitnessSum;\n System.out.println(\"Rand: \" + this.fitnessSum);\n double runningSum = 0;\n\n for (Dot d: this.pop) {\n d.calculateFitness();\n runningSum += d.fitness;\n\n if (runningSum > rand) {\n return d;\n }\n }\n\n System.out.println(\"Fatal error: did not find parent.\");\n return null;\n }", "title": "" }, { "docid": "39809e2133df02a706ddec4cdee3108c", "score": "0.46111566", "text": "@Nullable\n SNode getChild();", "title": "" }, { "docid": "3d82ff8912cb5c54184175906fddf087", "score": "0.46111542", "text": "static int commonChild(String s1, String s2) {\n if(s1.isEmpty()|| s2.isEmpty()){\n return 0;\n }\n int maxSize=0;\n for(int i=0;i<s1.length();i++){\n int size=0;\n for(int j=0;j<s2.length();j++){\n if(s1.charAt(i)==s2.charAt(j)){\n size = 1 + commonChild(s1.substring(i+1),s2.substring(j+1));\n if(size>maxSize){\n maxSize = size;\n }\n }\n }\n }\n return maxSize;\n\n }", "title": "" }, { "docid": "5c4dbfcb0f222d60289e939db4eb2e65", "score": "0.4600301", "text": "int find(int p){\n if(parent[p] == p){\n return p;\n }\n parent[p] = find(parent[p]);\n return parent[p];\n }", "title": "" }, { "docid": "fd10031d9466f0bc46fd3da26600d645", "score": "0.46000904", "text": "public boolean search(String word) {\n TrieNode node = root;\n Queue<TrieNode> q = new LinkedList<>();\n q.offer(node);\n int level = 0;\n while (!q.isEmpty() && level <= word.length()) {\n int len = q.size();\n\n for (int i = 0; i < len; i++) {\n TrieNode curr = q.poll();\n if (level == word.length()) {\n if (curr.isWord)\n return true;\n else\n continue;\n }\n char ch = word.charAt(level);\n if (ch == '.') {\n for (TrieNode n : curr.children) {\n if (n != null) {\n q.offer(n);\n }\n }\n } else if (curr.children[ch - 'a'] != null) {\n q.offer(curr.children[ch - 'a']);\n }\n }\n level++;\n }\n return false;\n }", "title": "" }, { "docid": "ef92f8e2f96e5a7b1ff8ffc80acfee7a", "score": "0.45996165", "text": "public ArrayList<String> getNeighbours(String word) {\n ArrayList<String> res = new ArrayList<String>();\n\n for (int i = 0; i < word.length(); i++) {\n String prepend = word.substring(0, i);\n TrieNode node = root;\n int j = 0;\n boolean exit = false;\n while (j < i) {\n boolean found = false;\n for (TrieNode child : node.children) {\n if (child.ch == word.charAt(j)) {\n found = true;\n node = child;\n }\n }\n if (!found) {\n exit = true;\n }\n j++;\n }\n if (exit) {\n continue;\n }\n for (TrieNode varChild : node.children) {\n if (varChild.ch == word.charAt(i)) {\n continue;\n }\n j = i + 1;\n TrieNode nestedNode = varChild;\n boolean exitEarly = false;\n while (j < word.length()) {\n boolean found = false;\n for (TrieNode child : nestedNode.children) {\n if (child.ch == word.charAt(j)) {\n found = true;\n nestedNode = child;\n }\n }\n if (!found) {\n exitEarly = true;\n break;\n }\n j++;\n }\n if (exitEarly) {\n continue;\n }\n if (nestedNode.end) {\n if (i == word.length() -1) {\n res.add(prepend + varChild.ch);\n } else {\n res.add(prepend + varChild.ch + word.substring(i+1));\n }\n }\n }\n }\n return res;\n }", "title": "" }, { "docid": "4dcd971dbda05db9332f791486e45739", "score": "0.45953664", "text": "private DLBnode checkChildren(DLBnode curr, String word, int k){\n\t\t\n\t\tif(curr != null){\n\t\t\tfor(int i = k; i < word.length(); i++){\n\t\t\t\tif(curr.getData() == word.charAt(i)){//keep checking each char\n\t\t\t\t\tcurr = curr.getChild();\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tif(curr.getSibling() == null){//add new sibling since it stopped finding matching chars\n\t\t\t\t\t\tcurr.setSibling(new DLBnode(word.charAt(i)));\n\t\t\t\t\t\tcurr = curr.getSibling();\n\t\t\t\t\t\treturn fillChildren(word, i+1, curr);//fills the rest of the letters in\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\treturn checkChildren(curr.getSibling(), word, i);//since it has a sibling check that siblings children\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn curr;\n\t}", "title": "" }, { "docid": "ebf6668cceddf077f590025aab9c893c", "score": "0.4594209", "text": "public TrieNode find(String word, int index) {\n if (index == word.length()) {\n return this;\n }\n\n int pos = word.charAt(index) - '0';\n if (children[pos] == null) {\n return null;\n }\n return children[pos].find(word, index + 1);\n }", "title": "" }, { "docid": "132bb4c8e654061244de85a8301b9ee3", "score": "0.45939773", "text": "public String getPriorText(Token token);", "title": "" }, { "docid": "854d53e6a1c3c31abbbbc9834ff4b26b", "score": "0.45905265", "text": "public List<String> findPath(String word1, String word2) \n\t{\n\t\tif(word1 != null || word2 != null) {\n//\t\t\tSystem.out.println(\"words are not null\");\n\t\t\tQueue<WPTreeNode> queue = new LinkedList<WPTreeNode>();\n\t\t\tHashSet<String> hshet = new HashSet<String>();\n\t\t\troot = new WPTreeNode(word1,null);\n\t\t\thshet.add(word1);\n\t\t\tqueue.add(root);\n\t\t\tWPTreeNode first;\n\t\t\tWPTreeNode for_counting = this.root;\n\t\t\tWPTreeNode child;\n\t\t\tboolean should_it = true;\n\t\t\tint count = 0;\n\t\t\twhile(should_it && !queue.isEmpty() && count<15) {\n//\t\t\t\tSystem.out.println(\"in while\");\n\t\t\t\tfirst = queue.remove();\n\t\t\t\tfor(String x : this.nw.distanceOne(first.getWord(), true)) {\n//\t\t\t\t\tSystem.out.println(\"in for loop\");\n\t\t\t\t\tif(!hshet.contains(x)) {\n//\t\t\t\t\t\tSystem.out.println(x + \" is not present in hashset\");\n\t\t\t\t\t\tchild = first.addChild(x);\n\t\t\t\t\t\tqueue.add(child);\n\t\t\t\t\t\tif(x.equalsIgnoreCase(word2)) {\n//\t\t\t\t\t\t\tSystem.out.println(x + \" is same as \" + word2);\n\t\t\t\t\t\t\tshould_it = false;\n//\t\t\t\t\t\t\tSystem.out.println(child.buildPathToRoot());\n\t\t\t\t\t\t\treturn child.buildPathToRoot();\n\t\t\t\t\t\t}\n\t\t\t\t\t\thshet.add(x);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(for_counting.has_child(first)) {\n\t\t\t\t\tcount++;\n\t\t\t\t\tfor_counting = first;\n\t\t\t\t}\n//\t\t\t\tSystem.out.println(count);\n\t\t\t}\n\t\t}\n\t\n\t return new LinkedList<String>();\n\t}", "title": "" }, { "docid": "c8816b4bbe1b62b05782480d67144f1b", "score": "0.4584282", "text": "public abstract String getContainVerb();", "title": "" }, { "docid": "5e880c0634a0c91d3af055b42c07a856", "score": "0.45815167", "text": "public Sentence findSentence(long time) {\n if (time < 0)\n throw new RuntimeException(\"time<0\");\n List<Sentence> sentences = findAllSentences(time, time);\n if (sentences.isEmpty())\n return null;\n return sentences.get(0);\n }", "title": "" }, { "docid": "15b4247a82b1c65b68e45cfc883ce131", "score": "0.45750523", "text": "static int commonChild(String s1, String s2) {\n\n int l1 = s1.length();\n int l2 = s1.length();\n\n int [][] max = new int[l1][l2];\n\n boolean firstMatch = false;\n char firstChar = s1.charAt(0);\n for(int j=0; j<l2; ++j){\n if(firstMatch){\n max[0][j] = 1;\n }else if(firstChar == s2.charAt(j)){\n firstMatch = true;\n max[0][j] = 1;\n }else{\n max[0][j] = 0;\n }\n }\n\n firstMatch = false;\n firstChar = s2.charAt(0);\n for(int i=0; i<l1; ++i){\n if(firstMatch){\n max[i][0] = 1;\n }else if(firstChar == s1.charAt(i)){\n firstMatch = true;\n max[i][0] = 1;\n }else{\n max[i][0] = 0;\n }\n }\n\n for(int i=1; i<l1; ++i){\n for(int j=1; j<l2; ++j){\n max[i][j] = Math.max(max[i][j-1], max[i-1][j]);\n if(s1.charAt(i) == s2.charAt(j)){\n max[i][j] = Math.max(max[i-1][j-1] + 1, max[i][j]);\n }\n }\n }\n\n return max[l1-1][l2-1];\n }", "title": "" }, { "docid": "ca4d3d777532fb61b8fecd6a3d65b86f", "score": "0.45709205", "text": "public String getNoun(String text) {\r\n char[] cs = text.toCharArray();\r\n Tokenizer tokenizer = TOKENIZER_FACTORY.tokenizer(cs,0,cs.length);\r\n String[] tokens = tokenizer.tokenize();\r\n List<String> tokenList = Arrays.asList(tokens); \r\n String s =\"\";\r\n double maxSoFar=0;\r\n int position = -1;\r\n TagLattice<String> lattice = decoder.tagMarginal(tokenList);\r\n for (int tokenIndex = 0; tokenIndex < tokenList.size(); ++tokenIndex) {\r\n ConditionalClassification tagScores = lattice.tokenClassification(tokenIndex);\r\n for (int i = 0; i < 5; ++i) {\r\n double conditionalProb = tagScores.score(i);\r\n if ((tagScores.category(i).contentEquals(\"vb\")||tagScores.category(i).contentEquals(\"vbd\")||tagScores.category(i).contentEquals(\"vbn\")) && conditionalProb>maxSoFar){\r\n position = tokenIndex;\r\n maxSoFar = conditionalProb;\r\n } \r\n } \r\n }\r\n if (position!=-1){\r\n for (int tokenIndex = 0; tokenIndex < position; ++tokenIndex){\r\n s+=tokenList.get(tokenIndex)+\" \";\r\n }\r\n for (int j = position+1; j < tokenList.size(); ++j){\r\n s+=tokenList.get(j)+\" \";\r\n }\r\n }\r\n\r\n return s;\r\n }", "title": "" }, { "docid": "210686d4685b568de0ef535209309b9c", "score": "0.45697245", "text": "public String innerContent(String sentence) {\n return Stream.of(sentence.split(\" \"))\n .map(word -> word.length() <= 2 ? word : sort(word))\n .collect(Collectors.joining(\" \"));\n }", "title": "" }, { "docid": "d9515941ad555e7272f7fae84355d341", "score": "0.4565152", "text": "Clause getLightestClause();", "title": "" }, { "docid": "1cca8a6eccc5c355a866418e633eb614", "score": "0.4562718", "text": "public LastCommonParentResult getLastCommonParent(Node other) {\n if (other == null)\n throw new IllegalArgumentException(\"The given TextNode is null\");\n\n LastCommonParentResult result = new LastCommonParentResult();\n\n //note that these lists are never null,\n //but sometimes are empty.\n List<TagNode> myParents = getParentTree();\n List<TagNode> otherParents = other.getParentTree();\n\n int i = 1;\n boolean isSame = true;\n while (isSame && i < myParents.size() && i < otherParents.size()) {\n if (!myParents.get(i).isSameTag(otherParents.get(i))) {\n isSame = false;\n } else {\n // After the while, the index i-1 must be the last common parent\n i++;\n }\n }\n \n result.setLastCommonParentDepth(i - 1);\n result.setLastCommonParent(myParents.get(i - 1));\n\n if (!isSame) {//found different parent\n result.setIndexInLastCommonParent(\n \t\tmyParents.get(i - 1).getIndexOf(myParents.get(i)));\n result.setSplittingNeeded();\n } else if (myParents.size() < otherParents.size()) {\n \t//current node is not so deeply nested\n result.setIndexInLastCommonParent(\n \t\tmyParents.get(i - 1).getIndexOf(this));\n } else if (myParents.size() > otherParents.size()) {\n // All tags matched but there are tags left in this tree - \n \t//other node is not so deeply nested\n result.setIndexInLastCommonParent(\n \t\tmyParents.get(i - 1).getIndexOf(myParents.get(i)));\n result.setSplittingNeeded();\n } else {\n // All tags matched until the very last one in both trees\n // or there were no tags besides the BODY\n result.setIndexInLastCommonParent(\n \t\tmyParents.get(i - 1).getIndexOf(this));\n }\n return result;\n }", "title": "" }, { "docid": "75d4015227a6bc76cc8f43b8aac1db18", "score": "0.456238", "text": "@Override\n\tpublic boolean findWord(String word) {\n\t\tboolean result = findWord (word, 0, words.size()-1);//calls method recursively\n\t\t\n\t\treturn result;\n\t\t\n\t}", "title": "" }, { "docid": "a0e2530f28792f7f74c39b2f04183e21", "score": "0.45588052", "text": "public String getAnyWordStartingWith(String s) {\n Character character;\n String rest;\n if (s.length() == 0) {\n if (isWord) {\n return \"\";\n }\n Set<Character> keySet = children.keySet();\n if (keySet.isEmpty()) {\n return null;\n }\n\n character = keySet.iterator().next();\n rest = \"\";\n// return getRemainingOfWord(s);\n } else {\n character = s.charAt(0);\n rest = s.substring(1);\n }\n if (children.containsKey(character)) {\n String result = children.get(character).getAnyWordStartingWith(rest);\n if (result != null) {\n return character + result;\n }\n }\n return null;\n }", "title": "" }, { "docid": "0f9d4eff679a7c69230d3d8020038dbc", "score": "0.45583037", "text": "int searchDepth();", "title": "" }, { "docid": "5b0cb8382a314f4b3807ee45c8f4c542", "score": "0.45476913", "text": "static String getVerbFromLemma(String lemma, HashMap<String, String> lemmas){\n String verb = \"\";\n Set<String> keys = lemmas.keySet();\n Iterator<String> it = keys.iterator();\n boolean found = false;\n while(it.hasNext() && !found) {\n String key = it.next();\n String value = lemmas.get(key);\n if (value.equals(lemma)){\n verb = key;\n found = true;\n }\n }\n return verb;\n }", "title": "" }, { "docid": "836767f2a00317be9d35f1c887f74135", "score": "0.45444512", "text": "private Set find_ancestor( String job )\n {\n Set result = new TreeSet();\n\n if ( m_parent.containsKey(job) ) {\n for ( Iterator i=((Set) m_parent.get(job)).iterator(); i.hasNext(); )\n\tresult.addAll( find_ancestor( (String) i.next() ) );\n } else {\n result.add(job);\n }\n\n return result;\n }", "title": "" }, { "docid": "236a8176a3c2cc6a66f7f7234241efbc", "score": "0.45381066", "text": "private int deduceDefaultDepth() {\n // We should just be able to count the number of revision segments minus 2.\n String localDefaultRevisionString = getDefaultRevisionString();\n String[] revisionStringSegments = localDefaultRevisionString.split(\"\\\\.\");\n int depth = (revisionStringSegments.length - 2) / 2;\n return depth;\n }", "title": "" }, { "docid": "2d7ca1ea527f7f07dfba5bbf65b7e409", "score": "0.4537355", "text": "@Test\n public void testCase4 () throws IOException {\n ki.addDoc(createFieldDoc2());\n ki.commit();\n\n SpanRelationQuery srq = new SpanRelationQuery(\n new SpanTermQuery(new Term(\"base\", \">:child-of\")), true,\n RelationDirection.RIGHT);\n\n SpanFocusQuery fq = new SpanFocusQuery(srq, srq.getTempClassNumbers());\n fq.setMatchTemporaryClass(true);\n fq.setRemoveTemporaryClasses(true);\n fq.setSorted(false);\n // kr = ki.search(fq, (short) 20);\n // for (Match m : kr.getMatches()) {\n // System.out.println(m.getStartPos() + \" \" + m.getEndPos());\n // }\n\n SpanAttributeQuery saq = new SpanAttributeQuery(\n new SpanTermQuery(new Term(\"base\", \"@:func=sbj\")), true);\n // kr = ki.search(saq, (short) 20);\n\n // child-of with attr func=sbj\n SpanWithAttributeQuery wq;\n wq = new SpanWithAttributeQuery(fq, saq, true);\n // kr = ki.search(wq, (short) 20);\n // assertEquals((long) 1, kr.getTotalResults());\n // assertEquals(0, kr.getMatch(0).getStartPos()); // token\n // assertEquals(7, kr.getMatch(0).getEndPos());\n\n // child-of without attr func=sbj\n wq = new SpanWithAttributeQuery(fq,\n new SpanAttributeQuery(\n new SpanTermQuery(new Term(\"base\", \"@:func=sbj\")), true,\n true),\n true);\n kr = ki.search(wq, (short) 20);\n assertEquals((long) 12, kr.getTotalResults());\n }", "title": "" }, { "docid": "ffd52bb3eefedf2db8e5923ba916dc22", "score": "0.45371392", "text": "public ProofNode getChildBefore(TreeNode aChild);", "title": "" }, { "docid": "b3ae2a60ae02be22ecbbc9a4b3c1a76c", "score": "0.45345518", "text": "List<String> suggestFor(String partial) {\n List<String> res = new ArrayList<>();\n TrieNode curr = root;\n int len = 0;\n for(char ch : partial.toCharArray()){\n if(!curr.getChildren().containsKey(ch)){\n return res;\n }\n curr = curr.getChildren().get(ch);\n len++;\n }\n if(len > 0){\n dfs(curr, res, partial);\n }\n return res;\n }", "title": "" }, { "docid": "62bbde03db98daa7de470900aed75739", "score": "0.45342308", "text": "private ArrayList<String> getSiblings(String head, CoNLLHash surfaceSentence) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c635657ee1f9b6b4ed088f54143800f6", "score": "0.45319968", "text": "public int getIndexOfChild (Object parent ,Object child ){\r\n if(parent == null || child == null)\r\n return -1;\r\n return (TreeNode(parent)).getIndex(TreeNode(child));\r\n }", "title": "" }, { "docid": "1774ea21680c60afec895f3d902b4e29", "score": "0.4527672", "text": "public double obtainEvidenceProbabilityFromRoot() {\n\n NodeJoinTree root,node;\n PotentialMTree pmt;\n int i; \n NeighbourTreeList ntl;\n Relation r;\n Potential pot;\n \n\n //initMessages();\n root = binTree.elementAt(0);\n ntl = root.getNeighbourList();\n\n pmt = new PotentialMTree(root.getNodeRelation().getVariables());\n pmt.setTree(MultipleTree.unitTree());\n\n pmt = pmt.combine((PotentialMTree)root.getNodeRelation().getValues());\n for(i=0; i<ntl.size(); i++){\n node = ntl.elementAt(i).getNeighbour();\n r = ntl.elementAt(i).getMessage();\n pot = r.getOtherValues();\n pmt = (PotentialMTree)pmt.combine((PotentialMTree)pot);\n }\n\n return pmt.totalPotential();\n}", "title": "" }, { "docid": "e4e631fbb316b4d90f925e74ad2f0f42", "score": "0.45147002", "text": "String getSubText();", "title": "" } ]
4d8f4b91d800bde2e7068682f2af4704
ComputerPart Created by Alexander on 2016/10/19.
[ { "docid": "0b231f294457795ecb3581941cdde5c0", "score": "0.5072752", "text": "public interface ComputerPart {\n void accept(ComputerPartVisitor computerPartVisitor);\n}", "title": "" } ]
[ { "docid": "b74512d9f1ecf708957b49eab3aec70d", "score": "0.61156905", "text": "public Parts getProcessor() {\n return new Parts(\"Intel P 3\");\n }", "title": "" }, { "docid": "dc59d82fd9ae72f430a8454347511b53", "score": "0.6043592", "text": "private Part getPart() {\n if (tgroup.getSelectedToggle() == null) {\n Alert alert = new Alert(Alert.AlertType.ERROR, (\"In-House or Outsourced need to be checked.\"));\n alert.showAndWait();\n }\n try {\n String name = nameTextField.getText();\n Double price = Double.parseDouble(costPartText.getText());\n int min = Integer.parseInt(minTextField.getText());\n int max = Integer.parseInt(maxTextField.getText());\n int stock = Integer.parseInt(stockTextField.getText());\n int machineID;\n String companyName;\n\n\n\n if (name.isEmpty()) {\n Alert alert = new Alert(Alert.AlertType.ERROR, (\"Name is field missing data.\"));\n alert.showAndWait();\n\n } else {\n if (inventoryValid(min, max, stock) && minMaxValid(min, max)) {\n\n Integer id = Inventory.addID();\n\n if (inHouseRadio.isSelected()) {\n machineID = Integer.parseInt(partDiffLabel.getText());\n InHouse newPartInHouse = new InHouse(id, name, price, stock, min, max, machineID);\n Inventory.addPart(newPartInHouse);\n return newPartInHouse;\n\n } else if (outsourcedBtn.isSelected()) {\n companyName = partDiffLabel.getText();\n Outsourced newOutsourced = new Outsourced(id, name, price, stock, min, max, companyName);\n Inventory.addPart(newOutsourced);\n return newOutsourced;\n }\n }\n }\n } catch(Exception displayE){\n Alert alert = new Alert(Alert.AlertType.ERROR, (\"Data is missing or contains invalid values.\"));\n alert.showAndWait();\n\n }\n\n return null;\n }", "title": "" }, { "docid": "bebf422abd94510e48fc6c1746d07a1f", "score": "0.60228837", "text": "public void buildPart() {\n\t\t\r\n\t}", "title": "" }, { "docid": "46e4ba9bbd2605ed615eda86ba1241fb", "score": "0.598521", "text": "public abstract Parts getProcessor();", "title": "" }, { "docid": "60014cdc4ac602a9e21f1e04fd412344", "score": "0.5946362", "text": "public PartitionComputer() {\n this(0);\n }", "title": "" }, { "docid": "a274e69bb3b305fc729d7cc684e6b914", "score": "0.5836979", "text": "public Parts getProcessor() {\n return new Parts(\"Intel P 4\");\n }", "title": "" }, { "docid": "73809975aa241eeef21871e149fae1b3", "score": "0.58182436", "text": "@Override\n\tpublic Computer getComputer() {\n\t\treturn computer;\n\t}", "title": "" }, { "docid": "69c18a2666df6e4b46966be6fee1f6d7", "score": "0.5811025", "text": "public ProgramPart() {\n\t\t//\n\t}", "title": "" }, { "docid": "73ea23467faaff3fdc7193e2e6f414a1", "score": "0.5772754", "text": "public void lancerPartie(){\n PreparePartie();\n MaitreDuJeu.getInstance().lancerPartie();\n }", "title": "" }, { "docid": "bea99e30acb94cfd733e02235981972f", "score": "0.5690797", "text": "@Override\n\tpublic void buildPart() {\n\t}", "title": "" }, { "docid": "508ba7cdadec764c70b368a40611faa4", "score": "0.5645373", "text": "public static void customCreatePCList() {\n\t\tint count = 0,memoryRAM;\n\t\tString nameString;\n\t\tdouble clockSpeedGHz;\n\n\n\t\tSystem.out.print(\"Insert number of computers to make: \");\n\t\tcount = TextIO.getlnInt();\n\n\t\t// make an array list of computers\n\t\tArrayList<Computer> alComputers = new ArrayList<>();\n\n\t\tfor (int i = 0; i < count; i++) {\n\n\t\t\t// create the object using the default constructor\n\t\t\tComputer c = new Computer();\n\n\t\t\t// add it to the list\n\t\t\talComputers.add(c);\n\n\t\t\t// show you which PC you're making\n\t\t\tSystem.out.println(\"\\nCreating PC #\" + alComputers.indexOf(c));\n\n\t\t\t// set the CPU name\n\t\t\tSystem.out.print(\"Insert processor name: \");\n\n\t\t\tnameString = TextIO.getlnString();\n\t\t\tc.setProcessorName(nameString);\n\n\t\t\t// set the clock speed\n\t\t\tSystem.out.print(\"Insert clock speed (in GHz): \");\n\n\t\t\tclockSpeedGHz = TextIO.getlnDouble();\n\t\t\tc.setClockSpeed(clockSpeedGHz);\n\n\t\t\t// set the RAM memory\n\t\t\tSystem.out.print(\"Insert the RAM memory size: \");\n\n\t\t\tmemoryRAM = TextIO.getlnInt();\n\t\t\tc.setMemorySize(memoryRAM);\n\n\t\t\t// calculate the performance index\n\t\t\tc.getPerformanceIndex();\n\t\t}\n\n\t\tsortSwitch(alComputers);\n\n\t}", "title": "" }, { "docid": "961a59a0b5bd8d56abe32e8c757338ac", "score": "0.5639984", "text": "public Parts getProcessor() {\n return new Parts(\"Celeron\");\n }", "title": "" }, { "docid": "64531409165318d8ebb6ca33ef265b1c", "score": "0.56303424", "text": "@Override\r\n public boolean isComputer()\r\n {\r\n return false;\r\n }", "title": "" }, { "docid": "b5f428abae4f3518ca94c500d5d5602e", "score": "0.56046534", "text": "public Computer(){\n super();\n }", "title": "" }, { "docid": "691289b91497d2dc13456adfd7def78b", "score": "0.5601245", "text": "public static void main(String[] args) {\n\n Dimensions dimensions = new Dimensions(20,20,5); \n\n Case theCase = new Case(\"220B\",\"dell\",\"240\",dimensions);\n\n Monitor theMonitor = new Monitor(\"27 inch beats\",\"Äcer\",27,new Resolution(2540, 1400)); //We are sending object values as reference instead of creating an object\n\n Motherboard theMotherboard= new Motherboard(\"BJ-200\",\"Asus\",\"v2.44\",4,6);\n\n PC thePC= new PC(theCase,theMonitor,theMotherboard);\n \n\n thePC.getTheMonitor().drawPixelAt(1500, 1200, \"red\");\n thePC.getTheMotherboard().loadProgram(\"Windows 10\");\n thePC.getTheCase().pressPowerButton();\n\n }", "title": "" }, { "docid": "e737ee527b34d22d553d7c6fc031b04f", "score": "0.55884963", "text": "public abstract List<Computer> computers();", "title": "" }, { "docid": "88d2e34e4f5930b72ac2d1c9ca28a294", "score": "0.55691713", "text": "public String computer() {\n return this.computer;\n }", "title": "" }, { "docid": "2d52351b8ac494902bd9fd78d10d82e8", "score": "0.5554472", "text": "public int getPart() { return part; }", "title": "" }, { "docid": "6dcce62de3cee34c9a3632e6e9cefe30", "score": "0.5507337", "text": "public abstract Parts getMonitor();", "title": "" }, { "docid": "00141c00fe289663c6a8680417ffbdb0", "score": "0.54743236", "text": "private static void createComputer(Comptuer computer, ComputerFactory factory)\r\n throws ClassNotFoundException, InstantiationException\r\n {\r\n String partsType = computer.getPartsType();\r\n\r\n computer.add((CPU) Class.forName(\"CPU\"+partsType).newInstance());\r\n computer.add((Memory) Class.forName(\"Memory\"+partsType).newInstance());\r\n }", "title": "" }, { "docid": "d434878fc33592b2f82bd6bf25a385fd", "score": "0.54706436", "text": "public void buildPart1();", "title": "" }, { "docid": "48913d0830522823ddba77a3691c3cf9", "score": "0.5464918", "text": "public interface CDKPart {\n\n\tpublic DefaultSection getCDKDefaultSection();\n\t\n\tpublic default LabeledText getMinishiftProfile() {\n\t\treturn new LabeledText(getCDKDefaultSection(), CDKLabel.Labels.MINISHIFT_PROFILE);\n\t}\t\n\n\tpublic default LabeledText getMinishiftBinaryLabel() {\n\t\treturn new LabeledText(getCDKDefaultSection(), CDKLabel.Labels.MINISHIFT_BINARY);\n\t}\n\t\n\tpublic default LabeledCombo getHypervisorCombo() {\n\t\treturn new LabeledCombo(getCDKDefaultSection(), CDKLabel.Labels.HYPERVISOR);\n\t}\n\n\tpublic default LabeledText getMinishiftHomeLabel() {\n\t\treturn new LabeledText(getCDKDefaultSection(), CDKLabel.Labels.MINISHIFT_HOME);\n\t}\n\n\tpublic default Button getMinishiftBinaryBrowseButton() {\n\t\treturn new PushButton(getCDKDefaultSection(), 0, new WithTextMatcher(CDKLabel.Buttons.BROWSE));\n\t}\n\t\n\tpublic default Button getMinishiftHomeBrowseButton() {\n\t\treturn new PushButton(getCDKDefaultSection(), 1, new WithTextMatcher(CDKLabel.Buttons.BROWSE));\n\t}\t\n\t\n}", "title": "" }, { "docid": "843c80d0de23d0afbbbd7628b7d9795b", "score": "0.54625344", "text": "public Computer(Rack compsRack)\n\t{\n\t\track = compsRack;\n\t\t//set up vars\n\t\tTHE_COMPUTER = this;\n\t}", "title": "" }, { "docid": "c5a2c5c367b5581ed9e1651ca9b61816", "score": "0.5457118", "text": "public static void autoCreatePCList() {\n\n\t\t// the random object (for random pc specs)\n\t\tRandom random = new Random();\n\n\t\t// generates random values for the cpu clock and the RAM (CPU clock between 1GHz\n\t\t// and 6GHz, RAM between 1mb and 16Gb) to keep it at a reasonable level, using\n\t\t// Math.floor to round the decimals\n\n\t\t// still, every PC has a specific CPU name so that's not randomized\n\n\t\tComputer myComp1 = new Computer(\"Intel Core i3\", Math.floor((Math.random() * (6 - 1 + 1) + 1)),\n\t\t\t\trandom.nextInt(16000));\n\t\tComputer myComp2 = new Computer(\"AMD GamerXD 3521\", Math.floor(Math.random() * (6 - 1 + 1) + 1),\n\t\t\t\trandom.nextInt(16000));\n\n\t\t// this uses the default constructor which sets everything to 0 or null\n\t\tComputer myComp3 = new Computer();\n\n\t\tComputer myComp4 = new Computer(\"AMD Ryzen Pro 1300\", Math.floor(Math.random() * (6 - 1 + 1) + 1),\n\t\t\t\trandom.nextInt(16000));\n\t\tComputer myComp5 = new Computer(\"Intel Core i5 KJRN\", Math.floor(Math.random() * (6 - 1 + 1) + 1),\n\t\t\t\trandom.nextInt(16000));\n\t\tComputer myComp6 = new Computer(\"AMD Ryzen 9 5900X\", Math.floor(Math.random() * (6 - 1 + 1) + 1),\n\t\t\t\trandom.nextInt(16000));\n\t\tComputer myComp7 = new Computer(\"Intel Core i7 10700K\", Math.floor(Math.random() * (6 - 1 + 1) + 1),\n\t\t\t\trandom.nextInt(16000));\n\n\t\t// creates an arrayList of type Computer and adds the objects to the list\n\t\tArrayList<Computer> alComputers = new ArrayList<Computer>();\n\n\t\talComputers.add(myComp1);\n\t\talComputers.add(myComp2);\n\t\talComputers.add(myComp3);\n\t\talComputers.add(myComp4);\n\t\talComputers.add(myComp5);\n\t\talComputers.add(myComp6);\n\t\talComputers.add(myComp7);\n\n\t\t// activate the switch menu for the sorting\n\t\tsortSwitch(alComputers);\n\n\t}", "title": "" }, { "docid": "f8148ef24b7ad4e67376d18d2d0ec9b7", "score": "0.5429591", "text": "public Computer() {\n\t\tthis.MEM = new Memory(MEM_SIZE);\n\t\tMEM.setValue(LOCATION_OF_ONE, 1);\n\t\tMEM.setValue(LOCATION_OF_ZERO, 0);\n\t\tthis.DATA_REG = new Register();\n\t\tthis.COUNTER = new Register();\n\t}", "title": "" }, { "docid": "acbca8ed51a25fbfb75fb01a7b69fc3f", "score": "0.5409331", "text": "private void PreparePartie(){\n MaitreDuJeu.getInstance().miseAZero();\n MaitreDuJeu.getInstance().instancierPlateau();\n MaitreDuJeu.getInstance().instancierPanda();\n MaitreDuJeu.getInstance().instancierJardinier();\n MaitreDuJeu.getInstance().instancierPiocheParcelle();\n MaitreDuJeu.getInstance().instancierPiocheObjectifs();\n robots.forEach(r -> MaitreDuJeu.getInstance().ajouterJoueur(new Joueur(r.toString(),r)));\n\n }", "title": "" }, { "docid": "d0b42424c0c9474f05b45eb34b567d52", "score": "0.53887296", "text": "public Computer()\n {\n //intentionally left empty\n }", "title": "" }, { "docid": "284c317f3523af939281d30ca6e4fbe7", "score": "0.53667796", "text": "protected PartAdapter()\r\n\t{\r\n\t}", "title": "" }, { "docid": "801e14722181f4baf2c7e421c7987877", "score": "0.5360647", "text": "public PC(Case theCase, Monitor monitor, Motherboard motherboard) {\n this.theCase = theCase;\n this.theMonitor = monitor;\n this.theMotherboard = motherboard;\n }", "title": "" }, { "docid": "f1da7337fd66490e6b4c3be3dec71844", "score": "0.53598756", "text": "public void computerPlay() {\n\t\tcomputerArea.setName(\"Thinking!\");\n\t\tcomputerArea.paintImmediately(computerArea.getVisibleRect());\n\n\t\tString[] allWords = boggle.findWords();\n\t\tcomputerArea.setName(\"Computer\");\n\t\tfor (String newWord : allWords) {\n\t\t\t// Add word to appropriate score area & highlight appropriate dice\n\t\t\tcomputerArea.addWord(newWord);\n\t\t\ttheBoard.highlightDice(boggle.findWord(newWord));\n\t\t}\n\n\t\ttheBoard.unHighlightAllDice(); // leave board unhighlighted when done\n\n\t\t// computerPlayer.debug(); //Show debug info\n\t}", "title": "" }, { "docid": "7689ff17b735b1d00e893e7f4d7d2126", "score": "0.5354745", "text": "public Computer(String name, LocalDateTime time, LocalDateTime time2, Company company) {\n\n this.name = name;\n this.dateIntro = time;\n this.dateDiscontinued = time2;\n this.manufacturer = company;\n }", "title": "" }, { "docid": "ef327d54be7b913a9135cc72df21339c", "score": "0.5346244", "text": "public Parts getMonitor() {\n return new Parts(\"17 inches\");\n }", "title": "" }, { "docid": "11985b3ac82add04dd7920b9117c2b78", "score": "0.53457916", "text": "public interface GeoConicPartND {\n\n\t/**\n\t * Sets parameters and calculates this object's value. For type\n\t * CONIC_PART_ARC the value is the length, for CONIC_PART_SECTOR the value\n\t * is an area. This method should only be called by the parent algorithm\n\t * \n\t * @param start\n\t * start param\n\t * @param end\n\t * end param\n\t * @param positiveOrientation\n\t * true for positive orientation\n\t */\n\tpublic void setParameters(double start, double end,\n\t\t\tboolean positiveOrientation);\n\n\t/**\n\t * Sector or arc\n\t * \n\t * @return CONIC_PART_ARC or CONIC_PART_SECTOR\n\t */\n\tpublic int getConicPartType();\n\n\t/**\n\t * @return start parameter\n\t */\n\tpublic double getParameterStart();\n\n\t/**\n\t * @return end parameter\n\t */\n\tpublic double getParameterEnd();\n\n\t/**\n\t * @return parameter extent\n\t */\n\tpublic double getParameterExtent();\n\n\t/**\n\t * @return orientation\n\t */\n\tpublic boolean positiveOrientation();\n\n\t/**\n\t * super method\n\t * \n\t * @param P\n\t * point\n\t * @param pp\n\t * path parameter\n\t */\n\tpublic void superPointChanged(Coords P, PathParameter pp);\n\n\t/**\n\t * \n\t * @return arc/sector parameters\n\t */\n\tpublic GeoConicPartParameters getParameters();\n\n\t/**\n\t * segment end point for degenerate case\n\t * \n\t * @return coords of segment end point\n\t */\n\tpublic Coords getSegmentEnd3D();\n\n\t/**\n\t * Returns arc length\n\t * \n\t * @return arc length\n\t */\n\tpublic double getArcLength();\n\n\t/**\n\t * Returns the area\n\t * \n\t * @return area\n\t */\n\tpublic double getArea();\n\n\t/**\n\t * set parameters in case of single point\n\t */\n\tpublic void setParametersToSinglePoint();\n\n\t/**\n\t * \n\t * @param i\n\t * index of line\n\t * @return the origin of lines in case of parallel lines\n\t */\n\tpublic Coords getOrigin3D(int i);\n\n\t/**\n\t * @param type\n\t * hit type\n\t */\n\tpublic void setLastHitType(HitType type);\n}", "title": "" }, { "docid": "6824b936970f277832a92d3666a9d184", "score": "0.53383267", "text": "public void computerPlay() {\n System.out.print(\"Computer places O at \");\n \n int numRows = board.getNumRows();\n int numCols = board.getNumCols();\n \n for (int row = 0; row < numRows ; row++){\n \tfor (int col = 0; col <numCols ; col++)\n \tif (board.isAvailable(row, col)) {\n \t\tboard.mark(row, col, COMPUTER_ID);\n \t\tif(board.win(row, col)) {\n \t\t\tcurrRow = row;\n \t\t\tcurrCol = col;\n \t\t\t\n \t\t\tSystem.out.println(row + \" \" + col);\n \t\t\t\n \t\t\treturn;\n \t\t}\n \t\telse\n \t\t\tboard.mark(row, col, ' ');\n \t}\n }\n \n //If we take an empty cell leads to win,\n //then we take that empty cell.\n\n for (int row = 0; row < numRows ; row++){\n \tfor (int col = 0; col <numCols ; col++)\n \tif (board.isAvailable(row, col)) {\n \t\tboard.mark(row, col, HUMAN_ID);\n \t\tif(board.win(row, col)) {\n \t\t\tcurrRow = row;\n \t\t\tcurrCol = col;\n \t\t\t\n \t\t\tSystem.out.println(row + \" \" + col);\n \t\t\tboard.mark(row, col, COMPUTER_ID);\n \t\t\treturn;\n \t\t}\n \t\telse\n \t\t\tboard.mark(row, col, ' ');\n \t}\n } \n \n for (int row = 0; row < numRows; row++){\n \tfor (int col= 0; col < numCols; col++)\n \t\tif (board.isAvailable(row, col)) {\n \t\t\tboard.mark(row, col, COMPUTER_ID);\n \t\t\tSystem.out.println(row + \" \" + col);\n currRow = row;\n currCol = col;\n return; //once we find the first available item, return.\n \t\t}\n }\n\n \n }", "title": "" }, { "docid": "f391927ce0ea7bea899f732037019580", "score": "0.53354865", "text": "private void partBuilderConstructor() {\n\t\t\tPartBuilder partBuilderFinish = getEntity().createPartBuilder();\n\t\t\tpolygon = new Polygon\n\t\t\t\t\t (new Vector(0.0f, 0.0f),\n\t\t\t\t\t new Vector(SIGN_WIDTH, 0.0f),\n\t\t\t\t\t new Vector(SIGN_WIDTH, SIGN_HEIGHT),\n\t\t\t\t\t new Vector(0.0f, SIGN_HEIGHT));\n\t\t\tpartBuilderFinish.setShape(polygon);\n\t\t\tpartBuilderFinish.setFriction(1.0f);\n\t\t\t// This line defines the Object as \"ghost\", useful to not create physic contact\n\t\t\t// with the object of the game \n\t\t\tpartBuilderFinish.setGhost(true);\n\t\t\tpartBuilderFinish.build();\n\t\t}", "title": "" }, { "docid": "2843ad9eea1d0a8e75bcaabc32ca744a", "score": "0.5332711", "text": "public Parts getMonitor() {\n return new Parts(\"19 inches\");\n }", "title": "" }, { "docid": "4a92632d1686339f9b3f8294c9401b9a", "score": "0.53219724", "text": "public void createPartControl(Composite parent)\r\n {\r\n String path = WorldClockPlugin.getDefault().getPreferenceStore().getString(\"worldclockFilename\");\r\n loadConfig(path);\r\n\r\n board = new WorlClockBoard(parent);\r\n board.addPaintListener(new PaintListener()\r\n {\r\n public void paintControl(PaintEvent e)\r\n {\r\n Display display = board.getDisplay();\r\n Rectangle rect = board.getBounds();\r\n\r\n GC gc = e.gc;\r\n gc.setBackground(display.getSystemColor(SWT.COLOR_RED));\r\n for (City city : cities)\r\n {\r\n city.setReferenciel(rect.width, rect.height);\r\n gc.fillOval(city.getX(), city.getY(), City.DIAMETRE, City.DIAMETRE);\r\n }\r\n }\r\n });\r\n\r\n board.addMouseMoveListener(new MouseMoveListener()\r\n {\r\n\r\n public void mouseMove(MouseEvent e)\r\n {\r\n setTitleToolTip(null);\r\n for (City city : cities)\r\n {\r\n if (city.contains(e.x, e.y))\r\n {\r\n board.setToolTipText(city.getToolTipText());\r\n }\r\n }\r\n }\r\n });\r\n\r\n timer = new Timer();\r\n timer.scheduleAtFixedRate(new BoardUpdateTask(), 0, 60000);\r\n }", "title": "" }, { "docid": "f2727c386bfeea3344a2956d1abaca91", "score": "0.53192574", "text": "public void monitorearCorrienteElectrica(){\r\n\t}", "title": "" }, { "docid": "d7abae27b7c021a3f1823d4fb0a2fa5a", "score": "0.5315874", "text": "public int getPartNumber() {\n return partNumber;\n }", "title": "" }, { "docid": "442740a2db859eeffb25e4c6a7d8db7a", "score": "0.5311362", "text": "public String toString() {\n String result = \"computer : \" + name;\n if (this.manufacturer != null) {\n result = result + \" from company \" + this.manufacturer.toString();\n }\n if (this.dateIntro != null) {\n result = result + \" introduced on \" + this.dateIntro.toString();\n }\n if (this.dateDiscontinued != null) {\n result = result + \" discontinued on \" + this.dateDiscontinued.toString();\n }\n return (result);\n }", "title": "" }, { "docid": "630bbeef1fb7797acdda7036c8861d1a", "score": "0.5295649", "text": "public static void main(String[] args) {\r\n \r\n Technician tech1 = new TechnicianImpl(\"Joseph\", \"Mongolfier\", OS);\r\n Technician tech2 = new TechnicianImpl(\"Jose\", \"Smith\", WIN2000);\r\n Technician tech3 = new TechnicianImpl(\"Juan\", \"Paez\", WIN_XP);\r\n Technician tech4 = new TechnicianImpl(\"Pedro\", \"Cobo\", WIN7);\r\n Technician tech5 = new TechnicianImpl(\"Esteban\", \"Aguirre\", OS8);\r\n Technician tech6 = new TechnicianImpl(\"Fausto\", \"Lema\", OS9);\r\n Technician tech7 = new TechnicianImpl(\"Miguel\", \"Leon\", OSX);\r\n Technician tech8 = new TechnicianImpl(\"David\", \"Davalos\", HW);\r\n Technician tech9 = new TechnicianImpl(\"Dennis\", \"Moore\", RAM);\r\n Technician tech10 = new TechnicianImpl(\"Donald\", \"Sierra\", CPU);\r\n Technician tech11 = new TechnicianImpl(\"Luis\", \"Ramirez\", DISK);\r\n \r\n\r\n // Entra un cliente con un problema de HW, y se le asigna primero el problema \r\n // al tecnico tope en la jerarquia de HW\r\n ComputerProblem computerProblem1 = new ComputerProblem(HW, RAM, tech8);\r\n \r\n // Despues se le asigna el problema al tecnico especialista en RAM \r\n ProblemItem problemItem11 = new ComputerComponentProblem(computerProblem1, RAM, \"RAM problem\", tech9);\r\n \r\n // Como esta libre el tecnico especialista en RAM, el se apodera del problema y es el owner.\r\n System.out.println(problemItem11.getOwner());\r\n \r\n // Entra un cliente con un problema de HW, y se le asigna primero el problema \r\n // al tecnico tope en la jerarquia de HW\r\n ComputerProblem computerProblem2 = new ComputerProblem(HW, RAM, tech8);\r\n \r\n // Despues se le asigna el problema al tecnico especialista en RAM \r\n ProblemItem problemItem21 = new ComputerComponentProblem(computerProblem2, RAM, \"RAM problem\", tech9);\r\n \r\n // Como no esta libre el tecnico especialista en RAM, el \"owner\" sube en la jerarquia de responsabilidad.\r\n System.out.println(problemItem21.getOwner());\r\n \r\n ComputerProblem compus = new ComputerProblem(HW, RAM, tech8);\r\n \r\n ProblemItem problema = new ComputerComponentProblem(compus, RAM, \"RAM problem\", tech9);\r\n System.out.println(problema.getOwner());\r\n // ****** OS Problems ***********\r\n \r\n // Entra un cliente con un problema de OS, especificamente con WIN2000, y se le asigna el problema \r\n // al tecnico tope en la jerarquia de OS\r\n ComputerProblem computerProblem3 = new ComputerProblem(OS, WIN2000, tech1);\r\n \r\n // Despues se le asigna el problema al tecnico especialista en WIN2000 \r\n ProblemItem problemItem31 = new ComputerComponentProblem(computerProblem3, WIN2000, WIN2000, tech2);\r\n \r\n // Como esta libre el tecnico especialista en WIN2000, el se apodera del problema y es el owner.\r\n System.out.println(problemItem31.getOwner());\r\n\r\n // Entra un cliente con un problema de OS, especificamente con WIN2000, y se le asigna el problema \r\n // al tecnico tope en la jerarquia de OS. Al especialista en OS general.\r\n ComputerProblem computerProblem4 = new ComputerProblem(OS, \"WIN2000\", tech1);\r\n \r\n // Despues se le asigna el problema al tecnico especialista en WIN2000 especificamente \r\n ProblemItem problemItem41 = new ComputerComponentProblem(computerProblem4, WIN2000, \"Drivers problem\", tech2);\r\n \r\n // Como no esta libre el tecnico especialista en WIN2000, el \"owner\" sube en la jerarquia de responsabilidad.\r\n // En este case el tecnico responsable por todos los problemas el OS se vuelve el \"owner\" del problema\r\n System.out.println(problemItem41.getOwner());\r\n\r\n \r\n \r\n }", "title": "" }, { "docid": "f66a0a30e89124c5de213f88a547f7b8", "score": "0.52833945", "text": "public String getPartDescription() {\n return partDescription;\n }", "title": "" }, { "docid": "4e361b0db76de130f4ed4f2ba9a9b96f", "score": "0.5277976", "text": "public void addPart(){\n parts.add(new Part(getName(), getType(), getPrice()));\n }", "title": "" }, { "docid": "0b43120f3f84b5a8307607039dcbaae9", "score": "0.52768755", "text": "public boolean isItComputer()\n {\n return isComputer;\n }", "title": "" }, { "docid": "a6c9edbac456d5b8702c85efb092cf2e", "score": "0.526178", "text": "public abstract int getEngineInCC();", "title": "" }, { "docid": "9a0370a1f6af703427030ed004dc4a6d", "score": "0.5256878", "text": "public void iniciarPartida() {\n\t\t\t// agora referindo ao objeto//\n\t\t// gerando numero aleatorios//\n\t\t\tthis.scoreVisitante = new Random ().nextInt(7);\n\t\t\t\n\t\t\tthis.scoreLocal= new Random().nextInt(7);\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}", "title": "" }, { "docid": "682b226f6355dc808937a14e283baeb9", "score": "0.5254688", "text": "@Override\n\tpublic void work() {\n\t\tSystem.out.println(\"Assembling parts\");\n\t}", "title": "" }, { "docid": "d32755eb30a4d698be6d042a55470ade", "score": "0.52461046", "text": "public PartController() {\n helper = new PartHelper();\n }", "title": "" }, { "docid": "cfb95a1e4978d07302a49f24e54d0d63", "score": "0.5243115", "text": "public btGImpactMeshShapePart (long cPtr, boolean cMemoryOwn) {\n\t\tthis(\"btGImpactMeshShapePart\", cPtr, cMemoryOwn);\n\t\tconstruct();\n\t}", "title": "" }, { "docid": "86ff602822d4c9256a86176d118001ab", "score": "0.52356243", "text": "public Computer(int id, String name, LocalDateTime time, LocalDateTime time2, Company company) {\n\n this.id = id;\n this.name = name;\n this.dateIntro = time;\n this.dateDiscontinued = time2;\n this.manufacturer = company;\n }", "title": "" }, { "docid": "4b6f8ead2d2a89920d2ca7db0a4b6bd8", "score": "0.52266616", "text": "public Parts getMonitor() {\n return new Parts(\"15 inches\");\n }", "title": "" }, { "docid": "a6aa15220517509ed98214aa3dd9356f", "score": "0.5223493", "text": "private Computer(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "25a6389ccd937cd5eae7ebc22ceacf09", "score": "0.52118427", "text": "public Partida() {\n\t}", "title": "" }, { "docid": "6202d37d38406f3c75b210d138ec131c", "score": "0.5211631", "text": "String getPartNum();", "title": "" }, { "docid": "754b76a83979ecd7ca12c57e74c55c37", "score": "0.5198694", "text": "public void showCompHand(){\r\n\t\tif (this.name.contains(\"Computer\"))\r\n\t\t\tSystem.out.print(this.name+\"'s Hand: [\" +this.hand.get(0).cardString()+\", \"\r\n\t\t\t\t+this.hand.get(1).cardString()+\"]\");\r\n\t}", "title": "" }, { "docid": "d576318212a0eed304a466eb6c68c22a", "score": "0.5191236", "text": "public CompteEpargne() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "33882676019a3a36524ada9d5dd6074d", "score": "0.51866025", "text": "Board getCpuboard();", "title": "" }, { "docid": "226c5fc4f4d19e51a46bbaf3e71bc6af", "score": "0.51823616", "text": "public abstract void initParts();", "title": "" }, { "docid": "74b33a9baf4b4dd0289323267d54aff8", "score": "0.51760215", "text": "private void createPartControl(Composite parent) {\n\t\t// compositeGroups = new Composite(parent, SWT.NULL);\n\t\t// compositeGroups.setLayout(new GridLayout(4, false));\n\t\t// JFreeChart chart = createChart(createDataset());\n\n\t\tpropMap = new HashMap<String, XYSeries>();\n\t\tdataset = new XYSeriesCollection();\n\t\tdataset.setAutoWidth(true);\n\n\t\t// ************************************** TODO EXAMPLE **************************************\n\t\tArrayList<ModelicaProperty> propertyList = new ArrayList<ModelicaProperty>();\n\t\ttry {\n\t\t\tModelicaProperty tank1_h = new ModelicaVariable(\"tank1.h\", \"Real\",\n\t\t\t\t\t\"\");\n\t\t\ttank1_h.setPrimitiveValue(0.0);\n\t\t\ttank1_h.setDisplay(true);\n\t\t\tModelicaProperty tank2_h = new ModelicaVariable(\"tank2.h\", \"Real\",\n\t\t\t\t\t\"\");\n\t\t\ttank2_h.setPrimitiveValue(0.0);\n\t\t\ttank2_h.setDisplay(true);\n\n\t\t\tpropertyList.add(tank1_h);\n\t\t\tpropertyList.add(tank2_h);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tcreateSeriesMap(propertyList);\n\t\t// **************************************\n\n\t\tchart = ChartFactory.createXYLineChart(\"Two Tanks Interactive Simulation\", \"Time (s)\", \"Level (m)\",\n\t\t\t\tdataset, PlotOrientation.VERTICAL, true, false, false);\n\n\t\tplot = chart.getXYPlot();\n\t\tplot.getDomainAxis().setLowerMargin(0.0);\n\t\tplot.getDomainAxis().setUpperMargin(0.0);\n\t\tActivator.getSimulationCenter_Interactive().addPlot(this);\n\t\t@SuppressWarnings(\"unused\")\n\t\tfinal ChartComposite frame = new ChartComposite(parent, SWT.NONE,\n\t\t\t\tchart, true);\n\t}", "title": "" }, { "docid": "3347ce9fbe8b8b64639f8faed2eae9e7", "score": "0.5175982", "text": "public java.lang.String getPartPrctr() {\r\n return partPrctr;\r\n }", "title": "" }, { "docid": "19b5bcfbc6a45a74b1329ed9de40e8a0", "score": "0.51733845", "text": "public Integer getPartNumber()\r\n\t{\r\n\t\treturn partNumber;\r\n\t}", "title": "" }, { "docid": "480cafa66b22c2ab9e124bfc1e61570b", "score": "0.51590884", "text": "public MoveCoord computerTurn() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "dbaa839796679125060b0200b6ca2b11", "score": "0.5158573", "text": "void setMainToPartition1();", "title": "" }, { "docid": "7844887e53fe36b146ea508e609e8da9", "score": "0.5153749", "text": "public MyWorld()\n {\n super(800, 600, 1);\n setPaintOrder(StartScreen.class, Information.class, ScoreBoard.class, Dot.class, Path.class, Skater.class, Blockers.class,EndLine.class, Lives.class, Background.class);\n Greenfoot.playSound(\"Subway.mp3\");\n lives = 3;\n laser = 2;\n speed = 48;\n pause = false;\n component = new Composite();\n subject = new ConcreteSubject();\n addObject(subject, 400, 400);\n \n addObject(new StartScreen(), 400,300);\n \n addObject(new Skater(),400,400);\n \n Score score = new Score(\"Score: \");\n subject.attach(score);\n addObject(score,85,580);\n \n Speed speed = new Speed(\"Speed: \");\n subject.attach(speed);\n addObject(speed,750,580);\n \n addObject(new Lives(),50,50);\n addObject(new Lives(),100,50);\n addObject(new Lives(),150,50);\n \n addObject(new Path(), 20, 242);\n addObject(new Dot(), 20, 390);\n \n Component vehicle=new Blockers();\n Component background1 = new Background();\n Component background2 = new Background();\n Component background3 = new Background();\n Component background4 = new Background();\n Component background5 = new Background();\n Component background6 = new Background();\n Component background7 = new Background();\n Component background8 = new Background();\n Component background9 = new Background();\n Component background10 = new Background();\n \n addObject(background1, 50,100);\n component.addChild(background1);\n \n addObject(background2, 50,100);\n component.addChild(background2);\n \n addObject(background3, 50,100);\n component.addChild(background3);\n \n addObject(background4, 50,100);\n component.addChild(background4);\n \n addObject(background5, 50,100);\n component.addChild(background5);\n \n addObject(background6, 750,100);\n component.addChild(background6);\n \n addObject(background7, 750,100);\n component.addChild(background7);\n \n addObject(background8, 750,100);\n component.addChild(background8);\n \n addObject(background9, 750,100);\n component.addChild(background9);\n \n addObject(background10, 750,100);\n component.addChild(background10);\n \n // addObject(new Information(),300,300); \n // adding actors to component\n }", "title": "" }, { "docid": "67dae897cf97e1399453f6f30a32c19e", "score": "0.51369995", "text": "public Computer(String name, int code) {\n super(name, code);\n }", "title": "" }, { "docid": "58b11290ef4935ae380feb89d9bed549", "score": "0.513252", "text": "private void prepare()\n {\n W5Platform w5Platform = new W5Platform();\n addObject(w5Platform,64,756);\n W5Platform w5Platform2 = new W5Platform();\n addObject(w5Platform2,187,711);\n W5Platform w5Platform3 = new W5Platform();\n addObject(w5Platform3,346,666);\n W5Platform w5Platform4 = new W5Platform();\n addObject(w5Platform4,527,590);\n W5Platform w5Platform5 = new W5Platform();\n addObject(w5Platform5,703,508);\n W5Platform w5Platform6 = new W5Platform();\n addObject(w5Platform6,881,461);\n W5Platform w5Platform7 = new W5Platform();\n addObject(w5Platform7,1053,419);\n W5Platform w5Platform8 = new W5Platform();\n addObject(w5Platform8,1224,375);\n W5Platform w5Platform9 = new W5Platform();\n addObject(w5Platform9,1291,375);\n w5Platform9.setLocation(1375,374);\n W5Platform w5Platform10 = new W5Platform();\n addObject(w5Platform10,1375,374);\n W5Platform w5Platform11 = new W5Platform();\n addObject(w5Platform11,1512,334);\n W5Platform w5Platform12 = new W5Platform();\n addObject(w5Platform12,1623,295);\n coin coin = new coin();\n addObject(coin,1666,218);\n }", "title": "" }, { "docid": "e890e5a824b32d526749e47060bf619b", "score": "0.51260835", "text": "WC7WorkersCompLine getWC7WorkersCompLine();", "title": "" }, { "docid": "e890e5a824b32d526749e47060bf619b", "score": "0.51260835", "text": "WC7WorkersCompLine getWC7WorkersCompLine();", "title": "" }, { "docid": "32926370e4a3450d49287a1d33998bfc", "score": "0.51208717", "text": "public static void main(String[] args) {\n\n Dimensions dimensions = new Dimensions(20, 20, 5);\n Case thecase = new Case(\"220B\", \"Dell\", \"240\", dimensions);\n\n Monitor theMonitor = new Monitor(\"27inch Beast\", \"Acer\", 27, new Resolution(2540, 1440));\n\n Motherboard theMotherboard = new Motherboard(\"BJ-200\", \"Asus\", 4, 6, \"v2.44\");\n\n PC thePC = new PC(thecase, theMonitor, theMotherboard);\n thePC.powerUp();\n }", "title": "" }, { "docid": "6348c6e685a9d339e99b5de6e4fcb745", "score": "0.51181453", "text": "@Override\n public void addParts() {\n this.getDish().addPart(new Dish(\"Bruschettas\", \" Bruschettas como entrada\", \"\", 6500, EnumSize.ALL));\n this.getDish().addPart(new Dish(\"Vino\", \"Tommasi Amarone\", \"\", 9000, EnumSize.HALF));\n\n }", "title": "" }, { "docid": "3fd18260d5b8a278a15dcf19ee62b490", "score": "0.51089615", "text": "void firstContact(WorldPart p);", "title": "" }, { "docid": "d93825e305e31307a26bfdf2ff201fc2", "score": "0.5104466", "text": "public static void main(String[] args) {\n\tCase theCase = new Case(\"220b\", \"Dell\",\"240\", new Dimensions(20, 20, 20));\n Monitor theMonitor = new Monitor(\"27 Inch Hyperion\", \"Acer,\", 27, new Resolution(2540, 1440));\n Motherboard theMotherboard = new Motherboard(\"MSI B250\", \"Tomahawk\", 4, 6, \"v2.44\");\n\n PC thePC = new PC(theCase, theMonitor, theMotherboard);\n thePC.PowerUP();\n\n\n\n }", "title": "" }, { "docid": "aea8d299d247c2ec9c2fbe8b5a201c5d", "score": "0.5094782", "text": "public abstract Parts getRAM();", "title": "" }, { "docid": "fe478339189a60b23ddf44f53fd1b38f", "score": "0.50880337", "text": "public interface ComputerPart {\n public void accept(ComputerPartVisitor computerPartVisitor);\n}", "title": "" }, { "docid": "9093c5758711c17537bdbbf8f825b463", "score": "0.5087014", "text": "public interface CircuitViewInterface\n{\n\n/**\n* Add a paintable (wire/component) to the circuit view\n* @param w paintable to be added\n*/\npublic void add(Paintable p);\n\n/**\n * Remove a paintable (wire/component) from the view\n * @param w paintable to be removed\n */\npublic void remove(Paintable p);\n\n\n/**\n * Request this will be redrawn next time updateTerminals() is called\n * @param v Request that this components terminals be updated\n */\npublic void requestUpdateTerminals(ComponentView v);\n\n/**\n * Update the terminals that have requested this\n */\npublic void updateTerminals();\n\n\n\n/**\n * @return The class interpreting mouse input for this clas\n */\npublic CircuitControlInterface getControl();\n\n\npublic void revalidate();\n\n/**\n * Remove everything from the view\n */\npublic void clear();\n\n/**\n * Return the size of the view\n */\npublic Dimension getSize();\n\n/**\n * @param cci The class to interpret mouse input for this class\n */\npublic void setControl(CircuitControlInterface cci);\n\n\n\n\n\npublic abstract class FloatingSelection extends ComponentFactory\n{\n public abstract Icon getIcon();\n}\n\n/**\n *\n * @param c The selection will follow the mouse around, untill it is clicked\n * It will then add a component from the factory\n */\nvoid setFloatingSelection(CircuitViewInterface.FloatingSelection c);\n}", "title": "" }, { "docid": "3fd19e6783537889534477013da1da66", "score": "0.508553", "text": "private void computerTurn(){\r\n\t }", "title": "" }, { "docid": "b062697303ac71e8dc85089dafc6790d", "score": "0.50793695", "text": "public interface PartType {\n\n /**\n * Get the name of the part\n * @return the name of the part\n */\n String getName();\n\n /**\n * Get the category to which the part belongs\n * @return the category to which the part belongs\n */\n Category getCategory();\n}", "title": "" }, { "docid": "ad0d09f60cfbc34a8a47f56fb356093d", "score": "0.50749403", "text": "static void playHumanVsComputerMedium() {\n board = new Board();\n boardGUI = new BoardGUI(board);\n computerPlayer = new AI(COMPUTER_MEDIUM, board, boardGUI);\n opponent = COMPUTER_MEDIUM;\n currentPlayer = RED;\n additionalAttack = false;\n selected = false;\n selectedPiece = null;\n\n displayText(\"Your move.\");\n boardGUI.getWindow().show();\n }", "title": "" }, { "docid": "bb14be18fb190975bd96bfdd194f7ec6", "score": "0.50659776", "text": "protected Computer form() {\n String name = Menus.readComputerName();\n\n System.out.println(\"What's the computer introduction date (YYYY-mm-dd) or null?\");\n Optional<LocalDate> introduced = Menus.readDate(true);\n\n Optional<LocalDate> discontinued = Optional.empty();\n if (introduced.isPresent()) {\n System.out.println(\"What's the computer discontinuation date (YYYY-mm-dd) or null?\");\n boolean validDiscontinuedDate = false;\n\n do {\n discontinued = Menus.readDate(true);\n validDiscontinuedDate = (discontinued.isPresent())\n ? introduced.get().isBefore(discontinued.get())\n : true;\n\n if (!validDiscontinuedDate) {\n getLogger()\n .error(\"The discontinued date should be after the intruduction date or NULL\\n\");\n }\n } while (!validDiscontinuedDate);\n }\n\n Optional<Integer> companyId = Menus.readCompanyId();\n\n ComputerBuilder computerBuilder = new ComputerBuilder().setName(name);\n\n if (companyId.isPresent()) {\n Optional<Company> company = companyService.getById(companyId.get());\n if (company.isPresent()) {\n computerBuilder.setCompany(company.get());\n }\n\n if (introduced.isPresent()) {\n computerBuilder.setIntroduced(introduced.get());\n }\n if (discontinued.isPresent()) {\n computerBuilder.setDiscontinued(discontinued.get());\n }\n }\n return computerBuilder.build();\n }", "title": "" }, { "docid": "4ccc3e0c318fc2978c68282ea01096a7", "score": "0.5064964", "text": "public void setPartPrctr(java.lang.String partPrctr) {\r\n this.partPrctr = partPrctr;\r\n }", "title": "" }, { "docid": "045468a25876d20f49b58fbdacffafd3", "score": "0.5062674", "text": "Port_Requis_Alpha_CM createPort_Requis_Alpha_CM();", "title": "" }, { "docid": "5929fe3426184c0396b9614407bfd715", "score": "0.5062309", "text": "public Port()\n { \n // Create a new world with 600x400 cells with a cell size of 1x1 pixels.\n super(900, 818, 1); \n\n prepare();\n//<<<<<<< Updated upstream\n \n //loop die loop for x en y\n int v = 512;\n int w = 102;\n int x = 255;\n int y = 206;\n \n //CPU\n for(int p = 0; p<3; p++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDekCPU1(v,w);\n w += 91;\n }\n //reset w\n w = 102;\n v += 50;\n }\n //reset v\n v = 512;\n for(int p = 0; p<3; p++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDekCPU1(v,w);\n w += 91;\n }\n //reset y \n w = 102;\n v += 50;\n }\n //reset v\n v = 512;\n for(int p = 0; p<3; p++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDekCPU1(v,w);\n w += 91;\n }\n //reset w \n w = 102;\n v += 50;\n }\n \n for(int i = 0; i<3; i++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDek1(x,y);\n y += 91;\n }\n //reset y \n y = 206;\n x += 50;\n }\n //reset x\n x = 255;\n for(int i = 0; i<3; i++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDek2(x,y);\n y += 91;\n }\n //reset y \n y = 206;\n x += 50;\n }\n //reset x\n x = 255;\n for(int i = 0; i<3; i++){\n \n for(int j = 0; j<3; j++){\n spawnContainerDek3(x,y);\n y += 91;\n }\n //reset y \n y = 206;\n x += 50;\n }\n//=======\n setPaintOrder(Kraan.class,Cargo.class,Voertuigen.class);\n//>>>>>>> Stashed changes\n }", "title": "" }, { "docid": "e67d2e673eb35dc89369f760616e8a69", "score": "0.5049154", "text": "public static boolean isComputer(TileEntity te) {\n\t\tif (ComputerCraftReflector.class_IComputerEntity != null) {\n\t\t\treturn ComputerCraftReflector.class_IComputerEntity.isInstance(te);\n\t\t}\n\t\treturn false;// computercraft is apparently not installed.\n\t}", "title": "" }, { "docid": "134d35dd858e3d6403efea98787a4f97", "score": "0.50442946", "text": "void setMainToPartition2();", "title": "" }, { "docid": "6db5ed4d44a6cfc638adc328812f656e", "score": "0.5039425", "text": "public de.tif.jacob.report.impl.castor.CastorLayoutPart getPart()\n {\n return this._part;\n }", "title": "" }, { "docid": "a0c643a1dd26f0b6506e448ff42b7bdf", "score": "0.5037195", "text": "@Override\n \tpublic void createPartControl(Composite parent) {\n \t\tthis.parent = parent;\n \n \t\t// Create layout for the parent Composite\n \t\tfinal GridLayout parentLayout = new GridLayout();\n \t\tparentLayout.numColumns = 1;\n \t\tparentLayout.marginHeight = 10;\n \t\tparentLayout.marginWidth = 10;\n \t\tparent.setLayout(parentLayout);\n \n \t\t// Create container for transition and interleaving button groups\n \t\tfinal Composite runtimeComposite = new Composite(parent, SWT.NULL);\n \t\truntimeComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));\n \t\truntimeComposite.setLayout(new FormLayout());\n \t\tfinal Composite buttonGroupsComposite = new Composite(parent, SWT.NULL);\n \t\tbuttonGroupsComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));\n \t\tbuttonGroupsComposite.setLayout(new FormLayout());\n \n \t\t// Create groups and selection listeners\n \t\tcreateRuntimeGroup(runtimeComposite);\n \t\tcreateTransitionsGroup(buttonGroupsComposite);\n \t\tcreateInterleavingsGroup(buttonGroupsComposite);\n \t\tcreateStepOrderGroup(buttonGroupsComposite);\n \t\tcreateCodeWindowsGroup(parent);\n \t\tcreateSelectionListeners();\n \n \t\t// create actions & connect to buttons, context menus and pull-downs\n \t\tmakeActions();\n \t\thookContextMenu();\n \t\tcontributeToActionBars();\n \t}", "title": "" }, { "docid": "8cdeb8f4df7c2924097422e3d6e1f64b", "score": "0.50352913", "text": "public ComputerLabPanel() {\n initComponents();\n setComputerLabs();\n }", "title": "" }, { "docid": "a9cb69f8b309490275acd6a7b58f317a", "score": "0.5032814", "text": "public ArrayList<AbstractPiece> getCompositePieces() {\n\t\treturn GameView.getCompositePieces();\n\t}", "title": "" }, { "docid": "81541635c7de826555854c86022b559a", "score": "0.5027597", "text": "static void playHumanVsComputerEasy() {\n board = new Board();\n boardGUI = new BoardGUI(board);\n computerPlayer = new AI(COMPUTER_EASY, board, boardGUI);\n opponent = COMPUTER_EASY;\n currentPlayer = RED;\n additionalAttack = false;\n selected = false;\n selectedPiece = null;\n\n displayText(\"Your move.\");\n boardGUI.getWindow().show();\n }", "title": "" }, { "docid": "c51d9115016662b53fcc49b032f1c961", "score": "0.5023366", "text": "public ConceptHolonomicDrive() {\n }", "title": "" }, { "docid": "ac4f36cee0f5511087d424025b380df6", "score": "0.50163996", "text": "static void playHumanVsComputerHard() {\n board = new Board();\n boardGUI = new BoardGUI(board);\n computerPlayer = new AI(COMPUTER_HARD, board, boardGUI);\n opponent = COMPUTER_HARD;\n currentPlayer = RED;\n additionalAttack = false;\n selected = false;\n selectedPiece = null;\n\n displayText(\"Your move.\");\n boardGUI.getWindow().show();\n }", "title": "" }, { "docid": "bb6e77da217ff916ac5b62fbc124bec9", "score": "0.5015727", "text": "public String getPart() {\n return part;\n }", "title": "" }, { "docid": "d3e21a92ec4a8634463804bc453f02eb", "score": "0.5014157", "text": "public ChessComponent getComponentObject(Character ComponentCharacter, int row, int col) {\n if (ComponentCharacter == 'C' || ComponentCharacter == 'c') {\n //need the row and column from textfile to construct chesscomponenet object\n if(Character.isLowerCase(ComponentCharacter))\n return new ChariotChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new ChariotChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if (ComponentCharacter == 'N' || ComponentCharacter == 'n') {\n //need the row and column from textfile to construct chesscomponenet object\n if(Character.isLowerCase(ComponentCharacter))\n return new CannonChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new CannonChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if (ComponentCharacter == 'E' || ComponentCharacter == 'e') {\n //need the row and column from textfile to construct chesscomponenet object\n if(Character.isLowerCase(ComponentCharacter))\n return new ElephantChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new ElephantChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if (ComponentCharacter == 'A' || ComponentCharacter == 'a') {\n //need the row and column from textfile to construct chesscomponenet object\n if(Character.isLowerCase(ComponentCharacter))\n return new CounsellorChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new CounsellorChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if (ComponentCharacter == 'S' || ComponentCharacter == 's') {\n //need the row and column from textfile to construct chesscomponenet object\n if(Character.isLowerCase(ComponentCharacter))\n return new SoldierChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new SoldierChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if(ComponentCharacter == 'G' || ComponentCharacter == 'g'){\n if(Character.isLowerCase(ComponentCharacter))\n return new GeneralChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new GeneralChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }else if(ComponentCharacter == 'H' || ComponentCharacter == 'h'){\n if(Character.isLowerCase(ComponentCharacter))\n return new HorseChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.RED);\n else\n return new HorseChessComponent(new ChessboardPoint(row,col), calculatePoint(row, col),ChessColor.BLACK);\n }\n return new EmptySlotComponent(new ChessboardPoint(row,col), calculatePoint(row, col));\n }", "title": "" }, { "docid": "60bb75711e9e75bb99b7d6ce73b0c0f3", "score": "0.5010912", "text": "private void prepare()\n {\n chandragupta = new Chandragupta();\n addObject(chandragupta,746,448);\n genghis = new Genghis();\n addObject(genghis,45,453);\n Platform platform = new Platform();\n addObject(platform, 12, 289);\n Platform platform2 = new Platform();\n addObject(platform2, 74, 289);\n Platform platform3 = new Platform();\n addObject(platform3, 139, 289);\n Platform platform4 = new Platform();\n addObject(platform4, 11, 589);\n Platform platform5 = new Platform();\n addObject(platform5, 75, 589);//\n Platform platform6 = new Platform();\n addObject(platform6, 523, 526);////\n Platform platform7 = new Platform();\n addObject(platform7, 459, 589);//hi\n Platform platform8 = new Platform();\n addObject(platform8, 139, 589);\n Platform platform9 = new Platform();\n addObject(platform9, 203, 589);\n Platform platform10 = new Platform();\n addObject(platform10, 587, 589);\n Platform platform11 = new Platform();\n addObject(platform11, 651, 589);\n Platform platform12 = new Platform();\n addObject(platform12, 267, 589);\n Platform platform13 = new Platform();\n addObject(platform13, 331, 589);//this\n Platform platform14 = new Platform();\n addObject(platform14, 395, 589);//that\n Platform platform15 = new Platform();\n addObject(platform15, 715, 589);\n Platform platform16 = new Platform();\n addObject(platform16, 779, 589);\n Platform platform17 = new Platform();\n addObject(platform17, 31, 225);\n Platform platform18 = new Platform();\n addObject(platform18, 523, 589);\n Platform platform19 = new Platform();\n addObject(platform19, 587, 589);\n Platform platform20 = new Platform();\n addObject(platform20, 523, 225);///////\n Platform platform21 = new Platform();\n addObject(platform21, 523, 589);\n Platform platform22 = new Platform();\n addObject(platform22, 459, 526);\n Platform platform23 = new Platform();\n addObject(platform23, 395, 526);\n Platform platform25 = new Platform();\n addObject(platform25, 587, 225);\n Platform platform26 = new Platform();\n addObject(platform26, 267, 417);\n Platform platform27 = new Platform();\n addObject(platform27, 715, 353);\n }", "title": "" }, { "docid": "cb0600e670f683d820c69cb0291b9a81", "score": "0.5004356", "text": "public static void main(String[] args) {\n\t\tWholePC p = new WholePC();\n\n\t\tBoxProtype box=new BoxProtype();\n\t\tbox.setName(\"金河田\");\n\t\tbox.setPrice(260);\n\t\tp.add(box);\n\t\t\n\t\tMotherboard m = new Motherboard();\n\t\tm.setName(\"技嘉主板\");\n\t\tm.setPrice(1000);\n\t\tp.add(m);\n\t\t\n\t\tCPU c = new CPU();\n\t\tc.setName(\"Intel I7-8500\");\n\t\tc.setPrice(1500);\n\t\tp.add(c);\n\t\t\n\t\tMemory me = new Memory();\n\t\tme.setName(\"海盗船16GB\");\n\t\tme.setPrice(600);\n\t\tp.add(me);\n\t\t\n\t\tHardDisk hd = new HardDisk();\n\t\thd.setName(\"光威悍将1.5TB SSD \");\n\t\thd.setPrice(648);\n\t\tp.add(hd);\n\t\t\n\t\tCDDriver cd = new CDDriver();\n\t\tcd.setName(\"夏新光驱\");\n\t\tcd.setPrice(140);\n\t\tp.add(cd);\n\n\t\tDriverController dc = new DriverController();\n\t\tdc.setName(\"集成在主板中了\");\n\t\tdc.setPrice(0);\n\t\tp.add(dc);\n\n\t\tKeyboard kb = new Keyboard();\n\t\tkb.setName(\"罗技K380\");\n\t\tkb.setPrice(348);\n\t\tp.add(kb);\n\n\t\tDVDDevice dd = new DVDDevice();\n\t\tdd.setName(\"东芝DVD光驱\");\n\t\tdd.setPrice(1200);\n\t\tp.add(dd);\n\n\t\tVideoCard vc = new VideoCard();\n\t\tvc.setName(\"Nidia 1080TI 11GB \");\n\t\tvc.setPrice(8858);\n\t\tp.add(vc);\n\n\t\tMonitor mo = new Monitor();\n\t\tmo.setName(\"长城36#广角屏 \");\n\t\tmo.setPrice(1200);\n\t\tp.add(mo);\n\n\t\tFAN fan = new FAN();\n\t\tfan.setName(\"XXX 水冷 \");\n\t\tfan.setPrice(600);\n\t\tp.add(fan);\n\n\t\tMouse mo1 = new Mouse();\n\t\tmo1.setName(\"罗技M590M \");\n\t\tmo1.setPrice(398);\n\t\tp.add(mo1);\n\n\t\tPower pp = new Power();\n\t\tpp.setName(\"长城1000W XTS \");\n\t\tpp.setPrice(800);\n\t\tp.add(pp);\n\n\t\tp.getChild();\n\t\tp.getPrice();\n\n\t}", "title": "" }, { "docid": "ae27c65d77d38ecd48d7e6ecb932494a", "score": "0.5002336", "text": "@Override\r\n\tpublic int mesh() {\n\t\treturn 0;\r\n\t}", "title": "" }, { "docid": "ac7139bad02775470f42f3cc7403a52a", "score": "0.50023305", "text": "public boolean getPart()\r\n\t{\r\n\t\t\r\n\t\tgatling += 1;\r\n\t\t\r\n\t\tif(gatling == 3)\r\n\t\t{\r\n\t\t\treturn true;\r\n\t\t}else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "e11eb4d2d917784a790610d5be41d751", "score": "0.4995329", "text": "public static Part getSelectedPart () {\r\n return selectedPart;\r\n }", "title": "" }, { "docid": "98e79caac5c714e68833a1c42b3416b0", "score": "0.4992823", "text": "public String getPartNumber() {\n return partNumber;\n }", "title": "" } ]
29e1406d3305a3e5199faa329ea1c1ed
Set creature's health point
[ { "docid": "ab9c1afc00bef118124c1ed9ded98bd0", "score": "0.69781274", "text": "public void setHealth(final int health) {\n this.health = health;\n }", "title": "" } ]
[ { "docid": "cc24bfe6307bae6846be94608d85663e", "score": "0.7288193", "text": "public void setHealth(int amt);", "title": "" }, { "docid": "085b0003e4df03179738500e7cef79c6", "score": "0.71582955", "text": "protected void setMyHealth(final int theHP) {\n super.setMyCharacter_HealthPoints(theHP);\n }", "title": "" }, { "docid": "2ea3097b02315e5f5a0e61d103c24eba", "score": "0.7117658", "text": "public void setHealth(int health) {\r\n this.health = health;\r\n }", "title": "" }, { "docid": "c8c44c51cc1510c70db60dc5a3baef37", "score": "0.7019781", "text": "public abstract void setHealth(int health);", "title": "" }, { "docid": "ee4268d103aad2fb3858e5f29920226b", "score": "0.69768834", "text": "public void setHealth(int h) {\n health = h;\n }", "title": "" }, { "docid": "0822653d3a3d2c9484e2b9bcc4d7923b", "score": "0.6965803", "text": "public void setHealth(int health) {\r\n\t\tthis.health = health;\r\n\t}", "title": "" }, { "docid": "8f13c8808779451f4f83e83743f8f29a", "score": "0.6933478", "text": "protected void healingPotion() {\n super.setMyCharacter_HealthPoints(randomGen.nextInt(20));\n }", "title": "" }, { "docid": "08de85c74ab90513c7ad696221d8349b", "score": "0.68546623", "text": "@Override\r\n\tpublic void setHealth(double newHealth) {\n\t\t\r\n\t}", "title": "" }, { "docid": "58ef99b051d2c1140484cea9c7ff93d7", "score": "0.68406856", "text": "public void setHealth(int health) {\n if ( health > 1 && health <= MAX_HEALTH ) intHealth = health;\n else intHealth = NEUTRAL;\n }", "title": "" }, { "docid": "9ed010b8184482da216e09303b011ab5", "score": "0.6761397", "text": "public void setHealth(int health) {\r\n\t\tif (health >= 0 && health <= 100) {\r\n\t\t\tthis.health = health;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "bf52e054862fcdd01f63873eb95e6103", "score": "0.6751999", "text": "public void setHealth(int health) {\r\n\t\tif (health >= 0) {\r\n\t\t\tthis.health = health;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "cbfc43cedeeeba52129daff1fc98191c", "score": "0.67471075", "text": "protected void heroTakesDamage() {\n super.setMyCharacter_HealthPoints(-randomGen.nextInt(30));\n }", "title": "" }, { "docid": "4b0869ca45077a8a9249d356f8bb2909", "score": "0.6664928", "text": "public void setCurrentHealth(float health) {\n\t\tthis.currentHealth = health;\n\t}", "title": "" }, { "docid": "1d6951aec340f768d48bfbfd157e2707", "score": "0.65221995", "text": "public void setCurrentHealth(float value) {\n this.currentHealth = value;\n }", "title": "" }, { "docid": "42574262cafc19b310b046a87bbe1ab4", "score": "0.6485762", "text": "public void setHealth(java.lang.String health)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEALTH$0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HEALTH$0);\r\n }\r\n target.setStringValue(health);\r\n }\r\n }", "title": "" }, { "docid": "42574262cafc19b310b046a87bbe1ab4", "score": "0.6485762", "text": "public void setHealth(java.lang.String health)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HEALTH$0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HEALTH$0);\r\n }\r\n target.setStringValue(health);\r\n }\r\n }", "title": "" }, { "docid": "36b8b7d3e84c5f7f86c1416cbc89d90f", "score": "0.6460907", "text": "public void setHeroHp(int hp){\n hero.setHp(hp);\n }", "title": "" }, { "docid": "23523b7cd8424b1ea26d37cbe3a5fe37", "score": "0.6457274", "text": "public void setHealth(int h){\n\t\thealth =h;\n\t\thealthLabel.setText(\"Health: \" + health);\n\t}", "title": "" }, { "docid": "ce43fb14a0f7a7f606236c12f8624282", "score": "0.6427014", "text": "public void setHealth( double decreaseHealth ) {\n int intDecreaseHealth = ( int ) decreaseHealth;\n health = health - intDecreaseHealth;\n if ( health < 0 ) {\n alive = false;\n }\n }", "title": "" }, { "docid": "74bbc384dd37972b60c40439ae382db9", "score": "0.64142686", "text": "public void setHealthPoints(int healthPoints) {\n this.healthPoints = healthPoints;\n }", "title": "" }, { "docid": "60306b6f8b282bc9c0ef861c9ae6d183", "score": "0.6357363", "text": "public void setHealth(double newHealth) {\n if (newHealth < 0 || newHealth > this.maxHealth) {\n throw new IllegalArgumentException(\"Invalid new health\");\n }\n this.health = newHealth;\n }", "title": "" }, { "docid": "ab3104ec42c0ed293e3c2adade0375e8", "score": "0.63264245", "text": "public void setHealthPoints(int healthPoints) {\n this.healthPoints = healthPoints;\n }", "title": "" }, { "docid": "f9fe56e6724177e16dab9859980e9c78", "score": "0.62808836", "text": "public void setEnemyHealth() {\n for(Enemy ene : game.getEnemies()) {\n enemiesHealth += ene.getLife();\n }\n }", "title": "" }, { "docid": "19de204d8161c7e2adc564751530a8c6", "score": "0.62475485", "text": "public void xsetHealth(org.apache.xmlbeans.XmlString health)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HEALTH$0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(HEALTH$0);\r\n }\r\n target.set(health);\r\n }\r\n }", "title": "" }, { "docid": "19de204d8161c7e2adc564751530a8c6", "score": "0.62475485", "text": "public void xsetHealth(org.apache.xmlbeans.XmlString health)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlString target = null;\r\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(HEALTH$0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(HEALTH$0);\r\n }\r\n target.set(health);\r\n }\r\n }", "title": "" }, { "docid": "947a7311a96beea09da359fb02e2dc77", "score": "0.62149966", "text": "public void setHealth(int health) throws IllegalHealthAssignmentException {\n if(health < MIN_HEALTH) {\n throw new IllegalHealthAssignmentException(\"health must be greater than \" +\n MIN_HEALTH);\n }\n this.health = health;\n }", "title": "" }, { "docid": "8bb7efb713463f545098ef7334de8f9a", "score": "0.6185761", "text": "public void heal(double amount) {\n if (health < 100) {\n if ((health + amount) > 100) {\n health = 100;\n } else {\n health += amount;\n }\n }\n }", "title": "" }, { "docid": "2a318d4b8b2b01865f3354725f9c65bd", "score": "0.6168332", "text": "public Builder setHealth(int value) {\n bitField0_ |= 0x00000001;\n health_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f24565f1700ef3e9738b55fcd12a6b32", "score": "0.61626065", "text": "public void addHealth(int h){\n health+=h;\n if (health > 100){health = 100;}\n }", "title": "" }, { "docid": "af03a495443efc23ea08678f39bd8d1f", "score": "0.61194485", "text": "public void decreaseHealth() { setHealth(getHealth()-1); }", "title": "" }, { "docid": "e56ee4e8464c07e7e1c755e92d7b4f36", "score": "0.61156666", "text": "public void do_damage(int damage_points)\n {\n\n\t m_equipment.add_health(-damage_points);\n }", "title": "" }, { "docid": "4294dd94c6535905d249db506ee54b37", "score": "0.6108601", "text": "public void setHealthAfterAttack(int damage) {\n this.health -= damage;\n }", "title": "" }, { "docid": "e59d90074c87ae24da013fdebc47dedf", "score": "0.6086893", "text": "public void setMaxHealth(int set)\n\t{\n\t\thealth = set;\n\t}", "title": "" }, { "docid": "689f06e74b92958ee63a957491d27557", "score": "0.6082895", "text": "public void heal() {\n if ( canHeal() && isAlive() ) intHealth++;\n }", "title": "" }, { "docid": "427491540f6f15947fa1363198fd23d0", "score": "0.60468924", "text": "public void increaseHealthPoint(int healthPoints) {\n this.healthPoints += healthPoints;\n }", "title": "" }, { "docid": "478ff9102cd50a7ed7b3c0239bc6b9f8", "score": "0.6045613", "text": "public void hurt(int damage){\n if(damage > health){\n health = 0;\n }\n else {\n health -= damage;\n }\n }", "title": "" }, { "docid": "5362ca3d7207b84463102936c5ec27c9", "score": "0.60430694", "text": "private void setMonsterStats(XMLElement childNode, Monster monster) {\n monster.setStatValue(Stat.HEALTH, 10);\r\n }", "title": "" }, { "docid": "949a4371775297fcb2bdfe411ae7ea0a", "score": "0.6041556", "text": "public void heal(){\n\t\tif (hp>0){\r\n\t\t\thp=Math.min(orighp,hp+20);\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "53a9855a89f78a7cacc326a488312f18", "score": "0.6014608", "text": "public void heal() {\n heal(MAX_HEALTH);\n }", "title": "" }, { "docid": "97eff429413c4a7204e78aa22ff2d392", "score": "0.6010242", "text": "@EventHandler (priority = EventPriority.MONITOR, ignoreCancelled = true)\n public void onEntitySpawn(CreatureSpawnEvent event) {\n String configName = UnitManager.getConfigTitle(event.getEntity());\n if (configName == null) return;\n\n int health = plugin.getConfig().getInt(configName + \".health\");\n if (health < 1) return;\n event.getEntity().setMaxHealth(health);\n event.getEntity().setHealth(health);\n }", "title": "" }, { "docid": "55a3035de8284aaf9a6d64e5f42cf17e", "score": "0.5945249", "text": "public void setHp(double _hp){\n if((_hp > 0) && (_hp < MAX_HP)){\n this.hp = _hp;\n }\n else this.hp = 0;\n }", "title": "" }, { "docid": "9ede43e4bd9697a7e231dbdcb1160884", "score": "0.59348804", "text": "@Override\n\tpublic void tick() {\n\t\tminecraft.thePlayer.setHealth(20.0F);\n\t}", "title": "" }, { "docid": "de12fc94aefa13f49c3008cde2418c28", "score": "0.5922701", "text": "private Player healCharacter(Player player) {\n int newHealth = player.character.getHealth() + 10;\n if (newHealth >= player.character.getTotalHealth()) {\n newHealth = player.character.getTotalHealth();\n }\n player.character.setHealth(newHealth);\n return player;\n }", "title": "" }, { "docid": "5246b5b202c84be530f51b5e6040ae01", "score": "0.59155434", "text": "public void updateHealth(int amount) {\n this.health += amount; // update the health\n\n if (this.health > 100) { // level health off at max whenever it goes over\n this.health = 100;\n }\n }", "title": "" }, { "docid": "8dec32bb1e111a1782ddfa33033f9d27", "score": "0.59064573", "text": "private void createHealth(int hp){\r\n\t\tthis.health=new Health(hp);\r\n\t}", "title": "" }, { "docid": "9ab07f3aff74484ca472241f355d65c2", "score": "0.58971244", "text": "public void takeDamage(double damage){\r\n this.currentHealthValue -= damage;\r\n }", "title": "" }, { "docid": "6b7b4162e94fedfd37c3554ebe2546d5", "score": "0.58838016", "text": "public void changeHealth(int i) {\n if (this instanceof Player) {\n if (i < 0 && -i >= health.get()) { // player die\n Player p = (Player) this;\n health.set(health.get() + i);\n p.getDungeon().gameOver();\n return;\n }\n if (i > 0 && health.get() > 5) { // stop over healing\n return;\n }\n PlayerBase p = (PlayerBase) this;\n p.isHurted.set(true);\n }\n \n\n health.set(health.get() + i);\n }", "title": "" }, { "docid": "20f0d22d0cff209323a82ac49bf94a28", "score": "0.5883722", "text": "public void setEnemyHealthMult(double enemyHealthMult) {\n this.enemyHealthMult = enemyHealthMult;\n }", "title": "" }, { "docid": "f95bdf4f89b4b380f2c2522a3cd5d5b8", "score": "0.5879909", "text": "public void addHealth(int health) {\r\n\t\tif (health > 0) {\r\n\t\t\tif ((this.health + health) > 100) {\r\n\t\t\t\tthis.health = 100;\r\n\t\t\t} else {\r\n\t\t\t\tthis.health += health;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "355b84e3896bddbe9ff2c68e1b1d4b00", "score": "0.58644825", "text": "private void heal(){\n if(ge.castle.getHealth()<100){\n Healing h= new Healing(20);\n int diff= ge.getCoins() - h.get_cost();\n if (diff>=0){\n h.affect(ge.castle);\n ge.setCoins(diff);\n }\n\n\n }\n\n\n }", "title": "" }, { "docid": "fa795de0952646f7edc93b8be705b17f", "score": "0.5863548", "text": "void setCurrentDamage(int damage);", "title": "" }, { "docid": "964f630cd3dbac24a7431e4ac3c22ddf", "score": "0.5839536", "text": "public void damage(double amount) {\n health -= amount / this.hive.getDefenseMultiplier();\n if (health < 0) {\n health = 0;\n }\n }", "title": "" }, { "docid": "e871cffe02e4233ee16fd2365373151f", "score": "0.5837454", "text": "private void gainSomeHealth() {\n Log.d(\"WORM\", \"OMNOMNOMNOMNOMN BACTERIA!!!!!\");\n this.health += Constants.BACTERIA_BONUS;\n }", "title": "" }, { "docid": "dd5c9d05d2b1e55b9b4c7b6c5f17b1ec", "score": "0.58254915", "text": "public void setHP(double newHp) {\r\n\t\tHP = newHp;\r\n\t}", "title": "" }, { "docid": "d32014a35ca174d31e84f0342a50725f", "score": "0.5798337", "text": "public void addEnemyHealthLoss(int health) {\n this.enemyHealthLoss += health;\n }", "title": "" }, { "docid": "134f00386901c348dd1090233702d8d5", "score": "0.57935464", "text": "public int heal(int health) {\r\n\t\tif (this.health + health < 0)\r\n\t\t\tthis.health = 0;\r\n\t\tthis.health += health;\r\n\t\treturn this.health;\r\n\t}", "title": "" }, { "docid": "1ffed08018a2a816c557e69d3a52c1aa", "score": "0.57892925", "text": "@Override\r\n public void increaseHealth() {\r\n health++;\r\n }", "title": "" }, { "docid": "daf9dbe5bea281ef0267245da53dbb5b", "score": "0.57890624", "text": "public static void drinkCoffee() \r\n {\r\n if (health.getNumber() <= 90)\r\n {\r\n health.setNumber(health.getNumber() + 10);\r\n System.out.println(\"You are awake.\");\r\n }\r\n else if (health.getNumber() < 100 && health.getNumber() > 90)\r\n {\r\n health.setNumber(100); \r\n System.out.println(\"You are awake.\"); \r\n }\r\n else \r\n {\r\n System.out.println(\"You are awake.\"); \r\n }\r\n }", "title": "" }, { "docid": "1d6230c7599c2c9d89ddf413a06a1e1f", "score": "0.5785888", "text": "@Test\n void setHP() {\n firePokemon.setHP(666);\n assert(firePokemon.getHP() == firePokemon.getMaxHP());\n firePokemon.setHP(45);\n assert(firePokemon.getHP() == 45);\n }", "title": "" }, { "docid": "b89f8fefb61a3f25cebf7fc914accbce", "score": "0.57855415", "text": "@Override\n\tpublic void changeHealth() {\n\t\t\n\t}", "title": "" }, { "docid": "9d6a86a0fd4f66d43dc6999d6f14c8f8", "score": "0.5778812", "text": "public void eatHumans() {\n System.out.println(\"so- well, never mind, just increase its energy by 25\");\n this.energyLevel += 25;\n }", "title": "" }, { "docid": "4a7bb6f272f80bc07931532f2b1036d8", "score": "0.57772046", "text": "public void setPirateHealth(Integer pirateHealth) {\n this.pirateHealth = pirateHealth;\n }", "title": "" }, { "docid": "a224e3552d439a17121da98f660d9b12", "score": "0.576315", "text": "@Override\n public void landOn(Creature creature) {\n int speed = creature.getCurrentSpeed()/2;\n if (speed > 0)\n creature.setCurrentSpeed(speed);\n else\n creature.setCurrentSpeed(1);\n }", "title": "" }, { "docid": "b327a263f47bd7431bd5caa77963c15e", "score": "0.5753074", "text": "public void heal(int h) {\n if (HP + h >= maxHP) {\n HP = maxHP;\n } else {\n HP = HP + h;\n }\n }", "title": "" }, { "docid": "7af15fda0dc52b9f48d5fd5d1a7ebdfd", "score": "0.5752675", "text": "public Hero(int gold) {\r\n //set beginning values for the hero\r\n maxhealth = random.nextInt(10) + 20;\r\n health = maxhealth;\r\n attack = random.nextInt(2)+1;\r\n maxdefense = random.nextInt(4) + 1;\r\n defense = maxdefense;\r\n this.gold = gold; //set gold to previous amount\r\n steps = 1;\r\n level = 1;\r\n slain = 0;\r\n\r\n //set all potion values to 2\r\n for(int i =0; i<5; i++){\r\n potions[i] = 2;\r\n }\r\n }", "title": "" }, { "docid": "c809e4687045c29028ec533943addb0b", "score": "0.5746209", "text": "@Override\n\tpublic void changeHealth() {\n\n\t}", "title": "" }, { "docid": "e649bc133518b8e5dd4e7932042d1a92", "score": "0.57453984", "text": "public Monster(String name, int health) {\r\n\t\tthis.name = name;\r\n\t\tif (health >= 0) {\r\n\t\t\tthis.health = health;\r\n\t\t} else {\r\n\t\t\tthis.health = 100;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "249429086403be06215471d9dbef0d3b", "score": "0.5743488", "text": "public void singleAttack(double damage){\n health -= damage;\n }", "title": "" }, { "docid": "98ec21d9b376b9d76d86ca3d4ded6ca1", "score": "0.57427984", "text": "public void attack(Creature creature);", "title": "" }, { "docid": "3c8d40f838a9cc26082866258822dd58", "score": "0.5735047", "text": "public void singleAttack(int damage){\n lifePercentage -= damage;\n }", "title": "" }, { "docid": "ec0dcba427ca03ef0a4cd5dc5bb6ed48", "score": "0.57053494", "text": "public void takeHealth(int amount){\n\t\tthis.health -= amount;\n\t\t\n\t\tMain.health.setText(\"Health: \" + this.health);\n\t\t\n\t\tif(this.health <= 0){\n\t\t\tthis.remove();\n\t\t\tMain.health.setText(\"Health: 0\");\n\t\t\t\n\t\t\tGame.sound_bigExplosion.play();\n\t\t\t\n\t\t\tGame.instance.reset();\n\t\t}\n\t}", "title": "" }, { "docid": "7dbbcef3bbc504ae7af72eeae9dc36bb", "score": "0.5701877", "text": "public void setHealthValue(Integer newHealth) {\n\t\tthis.healthValue = newHealth;\n\t}", "title": "" }, { "docid": "fec2756896572038bc03b46eeea699e3", "score": "0.56933886", "text": "public void attack(Creature c) {\n energy += c.energy();\n }", "title": "" }, { "docid": "0d2ad29882fca8961702afb1c5af40b6", "score": "0.5691888", "text": "public void setDamage(double value) {\n\t\tthis.damage = value;\n }", "title": "" }, { "docid": "c3d85577ccadcef1f1bf0c1821078ceb", "score": "0.5688934", "text": "public BeholsterBoss()\n {\n healthPoints = 10000;\n healthBar = new HealthBar(600, 25, 10000 , green);\n }", "title": "" }, { "docid": "f8cbec1f927ba476cc76acc9683f2433", "score": "0.5684153", "text": "public void harm() {\n if ( getHealth() != DEAD ) intHealth--;\n }", "title": "" }, { "docid": "48daed8a4bb56f4640c10b2ede806bce", "score": "0.56641245", "text": "public Character(double _hp){\n this.setHp(_hp);\n this.equipment.add(new NormalWeapon(DEFAULT_ATK, 0));\n }", "title": "" }, { "docid": "1fbdfc1c550df1543a3d88ccefbb925b", "score": "0.56492835", "text": "protected int gainHealth(){\n return level * HEALTH_BONUS;\n }", "title": "" }, { "docid": "081e18115cb666071ac5cdd3ae0c912a", "score": "0.56464344", "text": "public void addHate(Creature creature, int hate)\r\n\t{\r\n\t\tif (creature == null)\r\n\t\t\treturn;\r\n\r\n\t\tAggroInfo ai = getAggroInfo(creature);\r\n\t\tai.hate += hate;\r\n\r\n\t\tif(ai.hate < 1)\r\n\t\t\tai.hate = 1;\r\n\t\t\r\n\t\towner.getAi().handleEvent(Event.ATTACKED);\r\n\t}", "title": "" }, { "docid": "ce6017e1c1385fdeec0c432ecca2d865", "score": "0.56459796", "text": "public void setMaxHealth(){\r\n int maxLife = getMaxHealth();\r\n this.characs.replace(HEALTH, maxLife);\r\n }", "title": "" }, { "docid": "ebe5a7561e0255683544e872539b01b7", "score": "0.56438166", "text": "public void attacked(int damageAmount, int myHealth) {\r\n if (damageAmount >= this.health || myHealth<=0) {\r\n // this.health = 0;\r\n System.out.println(\"\\t\"+this.name + \" is dead!\");\r\n \r\n System.out.println(\"\\t======================ENEMY KILLED=============================\");\r\n this.dead = true;\r\n } else {\r\n damageAmount-=10;\r\n Random rn=new Random();\r\n damageAmount+=rn.nextInt(10)+1;\r\n this.health -= damageAmount;\r\n System.out.println(\"\\t>Your damage: \"+damageAmount);\r\n }\r\n \r\n}", "title": "" }, { "docid": "e02e9789bbda3e649b11353b12694af1", "score": "0.56304944", "text": "public void setDamage(float damage) {\n \tthis.damage = damage;\n }", "title": "" }, { "docid": "39fd901604be866991e57ba61cbc66c2", "score": "0.5627479", "text": "public void setDamage(float damage) {\n this.dataManager.set(DAMAGE, damage);\n }", "title": "" }, { "docid": "4bf29c1b4d15356377b308967d0e3911", "score": "0.5623385", "text": "public Builder setHp(int value) {\n bitField0_ |= 0x00000020;\n hp_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "60033044f78eb64cae8d64c8f573a474", "score": "0.5615547", "text": "public AbstractChar( Level level, Point2D spawn, float health ) {\n super( level );\n if ( spawn == null )\n throw new NullPointerException( \"spawn cannot be null\" );\n if ( health <= 0 )\n throw new IllegalArgumentException( \"health cannot be <= 0\" );\n this.location = spawn;\n maxHealth = this.health = health;\n }", "title": "" }, { "docid": "6a1e75205d78a2ee84b4090bd953769c", "score": "0.5611142", "text": "public void setDamage(int mod)\n {\n damage = damage + mod;\n }", "title": "" }, { "docid": "529a09134b1d11c9fed91a897ae37986", "score": "0.56066227", "text": "void setHumidity(double humidity);", "title": "" }, { "docid": "f2184f5193e0e8162142deab8747e1af", "score": "0.56065774", "text": "public boolean setHealthBy(int modifier) {\n if ( (getHealth() + modifier) >= 0 && (getHealth() + modifier) <= MAX_HEALTH ) {\n setHealth( getHealth() + modifier );\n return true;\n }\n else return false;\n }", "title": "" }, { "docid": "22602c1982c5d1365fe444ee38df8261", "score": "0.56060725", "text": "public void takeDamage(int h) {\n if (HP - h > 0) {\n HP = HP - h;\n } else {\n HP = 0;\n }\n }", "title": "" }, { "docid": "3074a8fecc2cf0cf15da422e298f1f73", "score": "0.5590939", "text": "public void setHitPoints(int hp) {\r\n this.hitpoints = hp;\r\n }", "title": "" }, { "docid": "c525a1be8e63b0641c80447fc7f961a4", "score": "0.5586856", "text": "public Builder setHp(int value) {\n bitField0_ |= 0x00000010;\n hp_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "c525a1be8e63b0641c80447fc7f961a4", "score": "0.5586856", "text": "public Builder setHp(int value) {\n bitField0_ |= 0x00000010;\n hp_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d9ba13553e0790886a4ff6153282305c", "score": "0.5562542", "text": "public LifePotion(int health) {\n super(health);\n this.name = \"Life Potion\";\n }", "title": "" }, { "docid": "dccc5764a4f8fcde2cba122296afbfd7", "score": "0.55600744", "text": "@Test\n\tpublic void shouldBeAbleToIncreasePatientHealth() {\n\t\tint healthLevelBefore = patient.getHealthLevel();\n\t\tunderTest.administerCare(patient);\n\t\tint healthLevelAfter = patient.getHealthLevel();\n\t\tassertThat(healthLevelBefore - healthLevelAfter, is(-5));\n\n\t}", "title": "" }, { "docid": "c194b63d951ddf7ac0fdb49da1dd6c96", "score": "0.555121", "text": "public void setLife( int l )\n {\n lives = l;\n }", "title": "" }, { "docid": "e584e4eb403f2ea0256bfc745f66ca7e", "score": "0.5545331", "text": "public Builder setHealthValue(int value) {\n \n health_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f36838e2999b80dfc46e9fe0fccfa5f1", "score": "0.55432963", "text": "public void setCfmHealth(Set<Long> cfmHealth) throws Throwable {\n ColumnDescription columndesc = new ColumnDescription(\"cfmHealth\",\n \"setCfmHealth\",\n \"6.9.0\");\n super.setDataHandler(columndesc, cfmHealth);\n }", "title": "" }, { "docid": "e7f1a825f63a62ccfe6ba26c3641cf77", "score": "0.55408907", "text": "public void setLife(int amount)\n\t{\n\t\tlife = amount;\n\t\tmaxlife = amount;\n\t}", "title": "" }, { "docid": "ed1b1e2d93a67083d04b7635b3bc7d6b", "score": "0.5532969", "text": "@Override\r\n\tpublic void setMaxHealth(double newMaxHealth) {\n\t\t\r\n\t}", "title": "" } ]
93cd919cfc8c0e20eec6828a911c1b60
optional string gameName = 9;
[ { "docid": "2dbf7b604acccd3e956f04c29a743a26", "score": "0.0", "text": "public Builder clearGameName() {\n bitField0_ = (bitField0_ & ~0x00000100);\n gameName_ = getDefaultInstance().getGameName();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "f4b60924cae940c33c1454fd29a9c5e2", "score": "0.7374353", "text": "void setGameName(String gameName);", "title": "" }, { "docid": "3240b1713333e7e6ab95f178c5fd90d6", "score": "0.72878647", "text": "String getGameName();", "title": "" }, { "docid": "b20218bb7046da1bb6d79c5da0932b00", "score": "0.7120027", "text": "java.lang.String getGameName();", "title": "" }, { "docid": "b20218bb7046da1bb6d79c5da0932b00", "score": "0.7120027", "text": "java.lang.String getGameName();", "title": "" }, { "docid": "b20218bb7046da1bb6d79c5da0932b00", "score": "0.7120027", "text": "java.lang.String getGameName();", "title": "" }, { "docid": "b20218bb7046da1bb6d79c5da0932b00", "score": "0.7120027", "text": "java.lang.String getGameName();", "title": "" }, { "docid": "b20218bb7046da1bb6d79c5da0932b00", "score": "0.7120027", "text": "java.lang.String getGameName();", "title": "" }, { "docid": "443110b31482b387a5364fa9a6133e82", "score": "0.7040634", "text": "public void setNameOfGame(String nameOfGame) {\n this.nameOfGame = nameOfGame;\n }", "title": "" }, { "docid": "53fb6830fed7f5fa751321f4e0012be6", "score": "0.6796162", "text": "String getInGameName();", "title": "" }, { "docid": "f0ce75f11fcd5ef4e8d936d4618a61ea", "score": "0.66767067", "text": "public String getName() {\n \treturn gameName;\n }", "title": "" }, { "docid": "e48d46ad6dab09dbd373bb6c8d80efe1", "score": "0.6640381", "text": "public void setPlayerName(String playerName){this.playerName = playerName;}", "title": "" }, { "docid": "e87e9c50429834d5c9b4fd2faf6abfa1", "score": "0.6636653", "text": "public String getName() {\n //if(playerName == null) {\n return \"GoodBot\";\n// }\n// else\n// return playerName;\n// //return \"GoodBot\";\n }", "title": "" }, { "docid": "a09ca367070263ecadda77fc8e5c0368", "score": "0.648754", "text": "public String getGame ()\n {\n return _game;\n }", "title": "" }, { "docid": "ba68118b7600ca7da7fd5428c41b324b", "score": "0.64675", "text": "public Game(String gameID){\n myGameID = gameID;\n }", "title": "" }, { "docid": "8c9d1ab4ab0711377380ff548c2ed0e8", "score": "0.6436439", "text": "String getOpponentName();", "title": "" }, { "docid": "071a3495184e3f6ab97b93286062a96d", "score": "0.6393851", "text": "public void setPlayerName(String name);", "title": "" }, { "docid": "ac8d195865d25e6a80ef69c2f03adacf", "score": "0.63738257", "text": "public Builder setGameName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "426620a703d6902ed336acc461b150e2", "score": "0.6360943", "text": "@Override\n\tpublic String gameName() {\n\t\treturn \"Kabadi\";\n\t}", "title": "" }, { "docid": "1f561db260b22067128e683b40e02943", "score": "0.63234067", "text": "public Builder setGameName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e6d766d8ace2931ec51d2f5539ff09eb", "score": "0.62678397", "text": "public Builder setGameName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "e6d766d8ace2931ec51d2f5539ff09eb", "score": "0.62678397", "text": "public Builder setGameName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "5e969d5f1913f6bcec66194fef47abf7", "score": "0.62320143", "text": "public Builder setGameName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d357fe237e7724f38bb107a0a1223a55", "score": "0.6117589", "text": "public String getName() {\n\t\treturn gameName;\n\t}", "title": "" }, { "docid": "676224e04abe35d5d3b3bb7e2624ee83", "score": "0.61023486", "text": "public String getPlayerName(){return this.playerName;}", "title": "" }, { "docid": "00d4a2b74a57e5dfc83baabb127d687d", "score": "0.60528755", "text": "@Override\n public String toString() {\n return nameOfGame;\n }", "title": "" }, { "docid": "0f05a7da5b61e4e83096dabbb9b61b03", "score": "0.60415494", "text": "boolean hasGameName();", "title": "" }, { "docid": "0f05a7da5b61e4e83096dabbb9b61b03", "score": "0.60415494", "text": "boolean hasGameName();", "title": "" }, { "docid": "0f05a7da5b61e4e83096dabbb9b61b03", "score": "0.60415494", "text": "boolean hasGameName();", "title": "" }, { "docid": "0f05a7da5b61e4e83096dabbb9b61b03", "score": "0.60415494", "text": "boolean hasGameName();", "title": "" }, { "docid": "0f05a7da5b61e4e83096dabbb9b61b03", "score": "0.60415494", "text": "boolean hasGameName();", "title": "" }, { "docid": "4a873378f8395f06c39b05a2723dd0df", "score": "0.602124", "text": "@Override\n public String getName() {\n\treturn GameRunner.getMessage(\"orge\");\n }", "title": "" }, { "docid": "31999f2da11f9be3ab64fbec24a6b4fe", "score": "0.59984195", "text": "private static String getName() {\r\n\t\treturn JOptionPane.showInputDialog(\"Enter player name:\");\r\n\t}", "title": "" }, { "docid": "ead2dd84a3838c4311752a8eb4fd06cd", "score": "0.5979623", "text": "private static String generatePlayerName() {\n\t\treturn \"a player\";\n\t}", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.59432256", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "ec39163bc89e0345788a3b565111d61d", "score": "0.59432256", "text": "java.lang.String getPlayerName();", "title": "" }, { "docid": "93b4fc644d3b22c79ea79b9ee19ecf47", "score": "0.5941335", "text": "String getPlayer(int i);", "title": "" }, { "docid": "e90488d1f0e87d12cde41219332df210", "score": "0.5913119", "text": "private static void handleGameParameter(final String game) {\n if (isGameValid(game)) {\n PARAMETERS.put(GAME, game);\n }\n\n log.info(\"Game set to: {}\", PARAMETERS.get(GAME));\n }", "title": "" }, { "docid": "f55b8dd36ea951c0957e6d03864d97df", "score": "0.590224", "text": "public Builder setGameNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000100;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "d642823d77306dff5703eccafd618565", "score": "0.58681256", "text": "public Builder setGameNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f4e8ecf453e3c9621f52ab3376e2fc05", "score": "0.58585185", "text": "public Builder setGameNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "f4e8ecf453e3c9621f52ab3376e2fc05", "score": "0.58585185", "text": "public Builder setGameNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "62b4efeecbd91dccb506bf94880fdca5", "score": "0.585107", "text": "public Builder setGameNameBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000020;\n gameName_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "a82d613f02c805cfe12978850d0599b7", "score": "0.5843373", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "a82d613f02c805cfe12978850d0599b7", "score": "0.5842994", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "a82d613f02c805cfe12978850d0599b7", "score": "0.5842994", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "872508e40fbf8d3eef5e830f598ad4f6", "score": "0.5842843", "text": "public Player (String name){\r\n this.name = name;\r\n }", "title": "" }, { "docid": "3ea753671d763850968d2b9a1a86cecc", "score": "0.58424133", "text": "public String getPlayerName(){\n return player;\n }", "title": "" }, { "docid": "a82d613f02c805cfe12978850d0599b7", "score": "0.5842396", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "a82d613f02c805cfe12978850d0599b7", "score": "0.5841674", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "ac63b97329b6672b4d7a82ca1259ee92", "score": "0.5838207", "text": "GAME_PHASE(String gamePhaseString) {\r\n this.gamePhaseString = gamePhaseString;\r\n }", "title": "" }, { "docid": "b83a0e252b4fe706acb531b6e7193882", "score": "0.5835259", "text": "static Optional<String> optionalValuablePlayer() {\n try {\n return Optional.of(\"Aaron\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n return Optional.empty();\n }", "title": "" }, { "docid": "adc0e43a09a7fcaa69134e5acc54cff7", "score": "0.58341134", "text": "public void getPlayerNames() { \n String whitePlayer = JOptionPane.showInputDialog(\"Enter white player name\"); \n String blackPlayer = JOptionPane.showInputDialog(\"Enter black player name\"); \n \n chessGame.setPlayer(whitePlayer, \"white\"); \n chessGame.setPlayer(blackPlayer, \"black\"); \n }", "title": "" }, { "docid": "09a1e70578db07ee9879a0b80ca5caf3", "score": "0.5829899", "text": "public static String getPlayer1ColorName(){ return player1ColorName ;}", "title": "" }, { "docid": "898fef05525a277ea167a10d8106431f", "score": "0.58295286", "text": "public void getPlayerName() {\r\n Scanner inFile = TwentyOne.getInputFile();\r\n System.out.println(\"Please enter your name: \");\r\n this.name = inFile.next();\r\n }", "title": "" }, { "docid": "dbf1e6f6e06585e94e88b559254dc4f5", "score": "0.5813739", "text": "java.lang.String getPlayer1();", "title": "" }, { "docid": "e680f040a5a2e3e3a0d76ad92dc77ab9", "score": "0.5801477", "text": "private void setPlayerName() {\n while(true) {\n String input = parser.getRawInputString();\n if(input.length() < 4) {\n System.out.println(\"No, that couldn't be you name. What was it?\");\n } else {\n player.setName(input);\n break;\n }\n }\n }", "title": "" }, { "docid": "22c9a3188aacae656931b21a37464f33", "score": "0.57938385", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "22c9a3188aacae656931b21a37464f33", "score": "0.57938385", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\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 gameName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "47a2b4bac6c0e75fbd0195f87947d6d8", "score": "0.57829756", "text": "public void setName(String value){\r\n instance.playerName = value;\r\n }", "title": "" }, { "docid": "03861120cb10e8839796c9dab1d7fc00", "score": "0.5781969", "text": "void mo9437a(Game game);", "title": "" }, { "docid": "020627f3d3e7943d0bfe7fc0f77b8032", "score": "0.578084", "text": "int createGame(String answer);", "title": "" }, { "docid": "576fb67f0ca08f78b93b87b558134cff", "score": "0.57628435", "text": "String getGameId();", "title": "" }, { "docid": "cfec149c22d86528d4123f3794ea2b3f", "score": "0.57588005", "text": "public Player(String name){\n this.name = name;\n this.totalGames = 0;\n this.wins = 0;\n this.inGame = false;\n this.color = Color.RED;\n }", "title": "" }, { "docid": "8e82731dfbb9ac69816c231ba489a27a", "score": "0.5751148", "text": "@Override\n\tpublic String getCardName() {\n\t\treturn \"Choose Game Type\";\n\t}", "title": "" }, { "docid": "175990667cc4a4887c8e2c6a232d5a12", "score": "0.57381564", "text": "public static String getPlayer2ColorName(){ return player2ColorName ;}", "title": "" }, { "docid": "e3f753aa08e8c7a00f45fe2d345dbd60", "score": "0.57248986", "text": "void setPlayer(int i, String name);", "title": "" }, { "docid": "85ec934e9cf8ede8daac26f0dfb30a66", "score": "0.5716251", "text": "private String askForPlayerName()\n\t{\n\t\tboolean foundName = false;\n\t\tString name = \"\";\n\t\twhile(!foundName)\n\t\t{\n\t\t\tname = ConsoleHelper.askQuestion(\"Gib einen Namen an (max 3 Zeichen)\");\n\t\t\tif(name.length() > 3 || name.length() == 0)\n\t\t\t\tConsoleHelper.writeLine(\"Der Name darf max. 3 Zeichen lang sein!\");\n\t\t\telse\n\t\t\t\tfoundName = true;\n\t\t}\n\t\treturn name;\n\t}", "title": "" }, { "docid": "59d00ae706e09250d6d49d4658682e9d", "score": "0.57138187", "text": "private EmptyGame()\n {\n super(\"Game name with very short description\");\n }", "title": "" }, { "docid": "4cfaeddf822569a6f2dc8d885a730009", "score": "0.57062364", "text": "Game newGame(Boolean newClassicType, String newName, \n Boolean newHumanOpponent, Integer newTimePerShot, Integer newTimeToPlaceBoats,\n Boolean newSpectator, Boolean newSpectatorChat);", "title": "" }, { "docid": "20fe15f369d719d03fbc7d5ed290bb22", "score": "0.56737226", "text": "public int requestNewGame(String opponentUsername);", "title": "" }, { "docid": "378cf4df7fff6f38782c130df5d65fd9", "score": "0.5669304", "text": "public void setGame(Game game){\n this.game = game;\n }", "title": "" }, { "docid": "c1ac25f17c53972868c9af7f586ccf04", "score": "0.5662367", "text": "public String getPlayerName()\n\t{\n\t\treturn \"spatil5\";\n\t}", "title": "" }, { "docid": "310741e6559f0ac59b02cbf3e0f00197", "score": "0.5652072", "text": "public Player() {\n name = \"\";\n }", "title": "" }, { "docid": "141d91b93d3059bf23334b70c325bc25", "score": "0.56511176", "text": "@Override\n\tpublic String getGameName() {\n\t\treturn \"Zombies\";\n\t}", "title": "" }, { "docid": "a2422957357345745b59494666b3ffb4", "score": "0.564596", "text": "com.google.protobuf.ByteString\n getGameNameBytes();", "title": "" }, { "docid": "a2422957357345745b59494666b3ffb4", "score": "0.564596", "text": "com.google.protobuf.ByteString\n getGameNameBytes();", "title": "" }, { "docid": "a2422957357345745b59494666b3ffb4", "score": "0.564596", "text": "com.google.protobuf.ByteString\n getGameNameBytes();", "title": "" }, { "docid": "a2422957357345745b59494666b3ffb4", "score": "0.564596", "text": "com.google.protobuf.ByteString\n getGameNameBytes();", "title": "" }, { "docid": "a2422957357345745b59494666b3ffb4", "score": "0.564596", "text": "com.google.protobuf.ByteString\n getGameNameBytes();", "title": "" }, { "docid": "54b07777b93aaa19945a6e7d3250af08", "score": "0.56449777", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n gameName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "54b07777b93aaa19945a6e7d3250af08", "score": "0.56449777", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n gameName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "54b07777b93aaa19945a6e7d3250af08", "score": "0.5644611", "text": "public java.lang.String getGameName() {\n java.lang.Object ref = gameName_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n gameName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "2a849647fee74905ea7796d0df4fd53f", "score": "0.56244344", "text": "public void setPlayerName(String name)throws RemoteException;", "title": "" }, { "docid": "709a1671c8586c414bc850f4a9b74448", "score": "0.56160855", "text": "public void checkWin(){\n String win = \"Winner\";\n }", "title": "" }, { "docid": "e081d0c719b566efc5bf72af55365176", "score": "0.56000435", "text": "public static String games(Integer ssn){\n\t\treturn \"games\" + ssn;\t\t\t\t\n\t}", "title": "" }, { "docid": "7a316317aff37d72fa374e1217a4e5d0", "score": "0.5585488", "text": "void name(String n);", "title": "" }, { "docid": "1680318a2f9a9c87c14e1f88e4d36d09", "score": "0.55805594", "text": "private String getWinner(String user, String computer)\n{\n String USER_PLAYER = \"User wins!\";\n String COMPUTER_PLAYER = \"Computer wins!\";\n String TIE = \"Tie\";\n\n // Your code here\n return TIE;\n}", "title": "" }, { "docid": "ec87e587cfe0ac8c2de1bcf0e59df976", "score": "0.55793476", "text": "static void getGamePlayers() {\r\n String whiteName =\r\n JOptionPane.showInputDialog(\"Please input White player name\");\r\n\r\n if (whiteName.equals(\"\")) {\r\n whiteName = \"Player 1\";\r\n }\r\n String blackName = JOptionPane.showInputDialog(\r\n \"Please input Black player name\");\r\n if (blackName.equals(\"\")) {\r\n blackName = \"Player 2\";\r\n }\r\n whitePlayer = new ChessPlayer(\r\n whiteName, ChessBoard.Color.white);\r\n blackPlayer = new ChessPlayer(\r\n blackName, ChessBoard.Color.black);\r\n }", "title": "" }, { "docid": "02d3672a9ce1c116706157fcf503cc2b", "score": "0.5576401", "text": "void setPlayerNameDisplay(Label playerNameDisplay) {\n this.gamePlayerNameDisplay = playerNameDisplay;\n }", "title": "" }, { "docid": "f14df2f7de2fc2f13e53ce08ce47a431", "score": "0.5569151", "text": "String findPlayer();", "title": "" }, { "docid": "5644edbc6f7b2f33eb74562246965c91", "score": "0.5566559", "text": "private String promptPlayerName(JFrame frame, String player) {\n\t\tString name = (String)JOptionPane.showInputDialog(\n\t\t\t\tframe,\n\t\t\t\t\"Welcome \" + player + \":\\n\"\n\t\t\t\t\t\t+ \"What is your name?\",\n\t\t\t\t\t\t\"Example StartUp\",\n\t\t\t\t\t\tJOptionPane.PLAIN_MESSAGE,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tnull);\n\t\t//Debug: \n\t\tif ((name != null) && (name.length() > 0)) {\n\t\t\tSystem.out.println(\"Received \" + name);\n\t\t}\n\t\treturn name;\n\t}", "title": "" }, { "docid": "c8de07b473a37b5ce43a29f4ffa37b13", "score": "0.5561495", "text": "public String getLeagueName() { return leagueName; }", "title": "" }, { "docid": "ce7d3581775eca80a94a31b791daebc6", "score": "0.55581796", "text": "@Override\n\tpublic String getGameName() {\n\t\treturn \"Software Tycoon\";\n\t}", "title": "" }, { "docid": "628d7597149f7692441a3e2e62fe6415", "score": "0.5553615", "text": "public String getnamePlayer1() {\r\n\t\treturn namePlayer1;\r\n\t}", "title": "" }, { "docid": "12ee45df463b12cccae7ff7c28663149", "score": "0.5550052", "text": "public String getGameId(){\r\n\t\treturn gameId;\r\n\t}", "title": "" }, { "docid": "ba00805e8367dce604bba7c29641e492", "score": "0.5542294", "text": "public void create_new_game(Challenge game){\n\t\t\n\t}", "title": "" }, { "docid": "284c8cb582444b0966a96582a6388bb0", "score": "0.55411685", "text": "public void setPlayer1ColorName(String colorName){ player1ColorName = colorName;}", "title": "" }, { "docid": "2bbfefd01e87a3b6e1f13d5827336c29", "score": "0.55401987", "text": "public Builder setGameId(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n gameId_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "eb0a7d263b4d7b8807645b390423c9a8", "score": "0.55365354", "text": "@Override\n\tpublic String getName() {\n\t\treturn \"G3 Player\";\n\t}", "title": "" }, { "docid": "e2e796a3493066a4ade7ecbd88fe1d23", "score": "0.55284166", "text": "public String getGameDescription ()\n {\n return _gameDesc;\n }", "title": "" }, { "docid": "7cfa2a493fabaae49c00269543d4e0b2", "score": "0.55273944", "text": "public int getBreakoutGame_BRICK_ROWS_var() {\nreturn BreakoutGame_BRICK_ROWS_var;\n}", "title": "" } ]
6e516cd1f2cfbd409d955e54c204a00c
If you want to display a UI message about adding or removing geofences, put it here.
[ { "docid": "6a84666548319acdaca9d41d7145666f", "score": "0.5369049", "text": "private void handleGeofenceStatus(Context context, Intent intent) {\n\n\t\t}", "title": "" } ]
[ { "docid": "857e03f76ed3d9220de6d4cf7b7b957a", "score": "0.68702936", "text": "public void addGeofencesButtonHandler() {\n if (!mGoogleApiClient.isConnected()) {\n Toast.makeText(getActivity(), getString(R.string.not_connected), Toast.LENGTH_SHORT).show();\n return;\n }\n\n try {\n LocationServices.GeofencingApi.addGeofences(\n mGoogleApiClient,\n // The GeofenceRequest object.\n getGeofencingRequest(),\n // A pending intent that that is reused when calling removeGeofences(). This\n // pending intent is used to generate an intent when a matched geofence\n // transition is observed.\n getGeofencePendingIntent()\n ).setResultCallback(this); // Result processed in onResult().\n } catch (SecurityException securityException) {\n // Catch exception generated if the app does not use ACCESS_FINE_LOCATION permission.\n logSecurityException(securityException);\n }\n }", "title": "" }, { "docid": "05789ef7154ca28d228e1aa330226239", "score": "0.67953485", "text": "@SuppressWarnings(\"MissingPermission\")\n private void addGeofences() {\n if (!checkPermissions()) {\n showSnackbar(getString(R.string.insufficient_permissions));\n return;\n }\n\n mGeofencingClient.addGeofences(getGeofencingRequest(), getGeofencePendingIntent())\n .addOnCompleteListener(this);\n }", "title": "" }, { "docid": "70ab95cf190c63e1080a1943ac58a1e7", "score": "0.65583205", "text": "public void addGeofencesButtonHandler(View view) {\n if (!checkPermissions()) {\n mPendingGeofenceTask = PendingGeofenceTask.ADD;\n requestPermissions();\n return;\n }\n addGeofences();\n }", "title": "" }, { "docid": "0d9255b0e933709d33681791f8227761", "score": "0.634569", "text": "@Override\n public void onMapLongClick(LatLng latLng) {\n displayGeofenceDialog(latLng);\n }", "title": "" }, { "docid": "7d3a3d9dd03c90ef1b56e142ec0758c9", "score": "0.6338105", "text": "public void removeGeofencesButtonHandler() {\n if (!mGoogleApiClient.isConnected()) {\n Toast.makeText(getActivity(), getString(R.string.not_connected), Toast.LENGTH_SHORT).show();\n return;\n }\n try {\n // Remove geofences.\n LocationServices.GeofencingApi.removeGeofences(\n mGoogleApiClient,\n // This is the same pending intent that was used in addGeofences().\n getGeofencePendingIntent()\n ).setResultCallback(this); // Result processed in onResult().\n } catch (SecurityException securityException) {\n // Catch exception generated if the app does not use ACCESS_FINE_LOCATION permission.\n logSecurityException(securityException);\n }\n }", "title": "" }, { "docid": "1440aa18d88644c67e65cbb98714b1cd", "score": "0.61394763", "text": "@SuppressWarnings(\"MissingPermission\")\n private void removeGeofences() {\n if (!checkPermissions()) {\n showSnackbar(getString(R.string.insufficient_permissions));\n return;\n }\n\n mGeofencingClient.removeGeofences(getGeofencePendingIntent()).addOnCompleteListener(this);\n }", "title": "" }, { "docid": "0da3a7521f8b20078d1e10df64768048", "score": "0.61001676", "text": "@Override\n public void onFailure(@NonNull Exception e) {\n Log.e(TAG, \"Geofence adding failed\");\n Log.i(TAG, \"Geofence adding failed\");\n\n // ...\n }", "title": "" }, { "docid": "0550abb1d64fbe2db377f6dd4eb4c9e4", "score": "0.6060163", "text": "@SuppressLint(\"ResourceAsColor\")\n public void PopUpNew(final LatLng latLng){\n AlertDialog.Builder alert = new AlertDialog.Builder(MapActivity.this,android.R.style.Theme_Material_Dialog_Alert);\n alert.setTitle(\"Location Name:\");\n\n final EditText input = new EditText(this);\n input.setBackgroundColor(getResources().getColor(R.color.white, null));\n input.requestFocus();\n alert.setView(input);\n alert.setPositiveButton(\"Add\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int button) {\n L.setName(input.getText().toString());\n addMarker(latLng);\n }\n });\n alert.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int button) {\n addButton.setVisibility(View.VISIBLE);\n saveButton.setVisibility(View.GONE);\n discButton.setVisibility(View.GONE);\n }\n });\n alert.show();\n }", "title": "" }, { "docid": "0cb84266a64b609c0e3a2b972b52153a", "score": "0.60416", "text": "public void addGeofences() {\n\n try {\n if (!PermissionHelper.hasPermission(mainActivity, Manifest.permission.ACCESS_FINE_LOCATION)) {\n PermissionHelper.requestPermissions(mainActivity, 0, new String[]{Manifest.permission.ACCESS_FINE_LOCATION});\n }\n LocationServices.GeofencingApi.addGeofences(\n this.getGoogleApiClient(),\n // The GeofenceRequest object.\n mGeoFenceService.getGeofencingRequest(),\n // A pending intent that that is reused when calling removeGeofences(). This\n // pending intent is used to generate an intent when a matched geofence\n // transition is observed.\n mGeoFenceService.getGeofencePendingIntent()\n ).setResultCallback(mGeoFenceService); // Result processed in onResult().\n\n mGeoFenceService.drawGeoFences();\n\n } catch (SecurityException securityException) {\n // Catch exception generated if the app does not use ACCESS_FINE_LOCATION permission.\n logSecurityException(securityException);\n }\n }", "title": "" }, { "docid": "54c30c8e1eab909df90744e156eecd1e", "score": "0.59768593", "text": "@Override\n public void onClick(View view) {\n Log.i(TAG, titleText.getText() + \"\\n\" + todoListText.getText());\n\n Geofence found = findGeofence(currentMarker);\n if (found != null)\n geofenceList.remove(found);\n\n currentMarker.setTitle(String.valueOf(titleText.getText()));\n currentMarker.setSnippet(String.valueOf(todoListText.getText()));\n currentMarker.setTag(GEO_RANGE_MIN + (todoRange.getProgress() * GEO_RANGE_STEP));\n mPopupWindow.dismiss();\n\n addGeofenceForMarker(currentMarker);\n }", "title": "" }, { "docid": "81b473e3222af32318599a96d9e294a8", "score": "0.5833574", "text": "public void removeGeofencesButtonHandler(View view) {\n if (!checkPermissions()) {\n mPendingGeofenceTask = PendingGeofenceTask.REMOVE;\n requestPermissions();\n return;\n }\n removeGeofences();\n }", "title": "" }, { "docid": "df8976ce81bc1fcc56453e159d2bf85c", "score": "0.57355154", "text": "private boolean getGeofencesAdded() {\n return PreferenceManager.getDefaultSharedPreferences(this).getBoolean(\n Constants.GEOFENCES_ADDED_KEY, false);\n }", "title": "" }, { "docid": "37e60b647cea996bd974c9c65536fa3a", "score": "0.5707675", "text": "@Override\n public void onAddGeofencesResult(int statusCode, String[] geofenceRequestIds) {\n\n // Create a broadcast Intent that notifies other components of success or failure\n Intent broadcastIntent = new Intent();\n\n // Temp storage for messages\n String msg;\n\n // If adding the geocodes was successful\n if (LocationStatusCodes.SUCCESS == statusCode) {\n\n // Create a message containing all the geofence IDs added.\n msg = mActivity.getString(R.string.add_geofences_result_success,\n Arrays.toString(geofenceRequestIds));\n\n // In debug mode, log the result\n Log.d(GeofenceUtils.APPTAG, msg);\n\n // Create an Intent to broadcast to the app\n broadcastIntent.setAction(GeofenceUtils.ACTION_GEOFENCES_ADDED)\n .addCategory(GeofenceUtils.CATEGORY_LOCATION_SERVICES)\n .putExtra(GeofenceUtils.EXTRA_GEOFENCE_STATUS, msg);\n // If adding the geofences failed\n } else {\n\n /*\n * Create a message containing the error code and the list\n * of geofence IDs you tried to add\n */\n msg = mActivity.getString(\n R.string.add_geofences_result_failure,\n statusCode,\n Arrays.toString(geofenceRequestIds)\n );\n\n // Log an error\n Log.e(GeofenceUtils.APPTAG, msg);\n\n // Create an Intent to broadcast to the app\n broadcastIntent.setAction(GeofenceUtils.ACTION_GEOFENCE_ERROR)\n .addCategory(GeofenceUtils.CATEGORY_LOCATION_SERVICES)\n .putExtra(GeofenceUtils.EXTRA_GEOFENCE_STATUS, msg);\n }\n\n // Broadcast whichever result occurred\n LocalBroadcastManager.getInstance(mActivity).sendBroadcast(broadcastIntent);\n\n // Disconnect the location client\n requestDisconnection();\n }", "title": "" }, { "docid": "98b9204c4d307756843b17f463bdcd0c", "score": "0.5697012", "text": "public static void showMessageDialog() {\r\n\t\tString message= \"Oops, there is no valid incentive available on this vehicle\";\r\n\t\tJOptionPane.showMessageDialog(null, message,\"Incentive\",JOptionPane.INFORMATION_MESSAGE);\r\n\t}", "title": "" }, { "docid": "333105b2b4d5c5fb32dfa0d2fe1f2d1d", "score": "0.5641103", "text": "private void continueAddGeofences() {\n\n // Get a PendingIntent that Location Services issues when a geofence transition occurs\n mGeofencePendingIntent = createRequestPendingIntent();\n\n // Send a request to add the current geofences\n mLocationClient.addGeofences(mCurrentGeofences, mGeofencePendingIntent, this);\n }", "title": "" }, { "docid": "eb64fd67a982b8615272f997b35c810e", "score": "0.5560565", "text": "public void displayEligibility(){\n String str = employeeCollection.displayEmployeesEligibleForTrainingCourse();\n\n win.showMessage(str.isEmpty() ? \"No employees eligible for training courses\": str );\n }", "title": "" }, { "docid": "03a4b972e5e80dc19a48bb16a841de24", "score": "0.5559834", "text": "private void handleGeofenceError(Context context, Intent intent) {\n\t\t\tString msg = intent\n\t\t\t\t\t.getStringExtra(GeofenceUtils.EXTRA_GEOFENCE_STATUS);\n\t\t\tLog.e(GeofenceUtils.APPTAG, msg);\n\t\t\tToast.makeText(context, msg, Toast.LENGTH_LONG).show();\n\t\t}", "title": "" }, { "docid": "1dc048d9cc57d272b0254a99dd9ee1e5", "score": "0.5552101", "text": "public void registerGeofences() {\n\n\t\t/*\n\t\t * Record the request as an ADD. If a connection error occurs, the app\n\t\t * can automatically restart the add request if Google Play services can\n\t\t * fix the error\n\t\t */\n\t\tmRequestType = GeofenceUtils.REQUEST_TYPE.ADD;\n\n\t\t/*\n\t\t * Check for Google Play services. Do this after setting the request\n\t\t * type. If connecting to Google Play services fails, onActivityResult\n\t\t * is eventually called, and it needs to know what type of request was\n\t\t * in progress.\n\t\t */\n\t\tif (!servicesConnected()) {\n\n\t\t\treturn;\n\t\t}\n\n\t\tfor (SimpleGeofence sg : this.simpleGeofences) {\n\t\t\tmPrefs.setGeofence(sg.getId(), sg);\n\t\t}\n\t\t\n\t\tfor (SimpleGeofence sg : this.simpleGeofences) {\n\t\t\t/*\n\t\t\t * Add Geofence objects to a List. toGeofence() creates a Location\n\t\t\t * Services Geofence object from a flat object\n\t\t\t */\n\t\t\tmCurrentGeofences.add(sg.toGeofence());\n\t\t}\n\n\t\t// Start the request. Fail if there's already a request in progress\n\t\ttry {\n\t\t\t// Try to add geofences\n\t\t\tmGeofenceRequester.addGeofences(mCurrentGeofences);\n\n\t\t} catch (UnsupportedOperationException e) {\n\t\t\t// Notify user that previous request hasn't finished.\n\t\t\tToast.makeText(this,\n\t\t\t\t\tR.string.add_geofences_already_requested_error,\n\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t}\n\t}", "title": "" }, { "docid": "87608ea37931a2a7ae1a7c4b8a8d8c2c", "score": "0.55515987", "text": "public void displayGeofenceDialog(final LatLng latLng){\n LayoutInflater inflater = LayoutInflater.from(context);\n View view = inflater.inflate(R.layout.geofence_dialog, null);\n final AlertDialog.Builder builder = new AlertDialog.Builder(context);\n builder.setView(view);\n builder.setCancelable(true);\n builder.setIcon(R.drawable.ic_monitr);\n\n\n //get view components by referencing id\n // TextView deviceLocationTv = (TextView) view.findViewById(R.id.locationTv);\n // final TextView distanceTv = (TextView) view.findViewById(R.id.distanceTv);\n final SeekBar seekBar = (SeekBar)view.findViewById(R.id.seekbar);\n Button saveGeofence = (Button) view.findViewById(R.id.saveGeofenceBtn);\n\n //seekbar\n seekBar.setMax(2000);\n seekBar.setProgress(200);\n //distanceTv.append(String.valueOf(seekBar.getProgress()) + \" meters\");\n\n\n // perform seek bar change listener event used for getting the progress value\n seekBar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n int progressChangedValue = 0;\n\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n progressChangedValue = progress;\n }\n\n public void onStartTrackingTouch(SeekBar seekBar) {\n // TODO Auto-generated method stub\n }\n\n public void onStopTrackingTouch(SeekBar seekBar) {\n showToast(\"Radius : \" + String.valueOf(progressChangedValue) + \" meters\");\n\n mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(latLng, 14));\n drawGeofenceCircle(latLng, progressChangedValue);\n }\n });\n\n //when user clicks no button, open a dialog so user can take action\n saveGeofence.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n addGeofenceAPI(String.valueOf(seekBar.getProgress()), String.valueOf(latLng.latitude), String.valueOf(latLng.longitude), accountIdExtra);\n }\n });\n\n // create alert dialog for the main view (login history dialog)\n geofenceAlertDialog = builder.create();\n geofenceAlertDialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));\n // show alert\n geofenceAlertDialog.show();\n\n }", "title": "" }, { "docid": "ef8a68ee8b7f39c2430af4d6baf4d510", "score": "0.5534455", "text": "public void saveMessage(){\r\n FacesContext context = FacesContext.getCurrentInstance();\r\n context.addMessage(null, new FacesMessage(\"Uwaga!\", \"Zatwierdzono sprzedaż biletu na atrakcję\"));\r\n }", "title": "" }, { "docid": "8bf3f76ff5fb2490ef905bda942e59d4", "score": "0.55229944", "text": "public void errorBook() {\r\n FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN, \"Atenção!\", \"Exemplar indisponível ou já emprestado.\"));\r\n }", "title": "" }, { "docid": "6b3c6f430db04f47c632ad720089836c", "score": "0.55129147", "text": "private void setText() {\n\t\t\r\n\t\tif (geoLat!=0||geoLng!=0) {\r\n\t\t\tp1=new LatLng(mlatitude, mlongitude);\r\n\t\t\tp2=new LatLng(geoLat, geoLng);\r\n\t\t\tdistance = AMapUtils.calculateLineDistance(p1, p2);\r\n\t\t\tif (distance<500.0) {\r\n\t\t\t\ttv_seller_location.setText(\"< 500m\");\r\n\t\t\t}\r\n\t\t\telse if (distance>500&&distance<1000.0) {\r\n\t\t\t\tDecimalFormat decimalFormat=new DecimalFormat(\"#.0\");\r\n\t\t\t\ttv_seller_location.setText(decimalFormat.format(distance)+\"km\");\r\n\t\t\t}else if (distance>1000.0) {\r\n\t\t\t\tDecimalFormat decimalFormat=new DecimalFormat(\"#.0\");\r\n\t\t\t\ttv_seller_location.setText(decimalFormat.format(\"> \"+distance/1000.0)+\"km\");\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "3789945e581e6561458973f992147e32", "score": "0.5511568", "text": "public void showLoadingError() {\n this.message = \"Sorry, an error occurred while loading the data\\n\";\n }", "title": "" }, { "docid": "d88037458dbe1fd44347b0811dccab40", "score": "0.5488311", "text": "private void addGeofence(LatLng latLng, float radius) {\n\n Geofence geofence = geofenceHelper.getGeofence(GEOFENCE_ID, latLng, radius, Geofence.GEOFENCE_TRANSITION_ENTER | Geofence.GEOFENCE_TRANSITION_DWELL | Geofence.GEOFENCE_TRANSITION_EXIT);\n GeofencingRequest geofencingRequest = geofenceHelper.getGeofencingRequest(geofence);\n PendingIntent pendingIntent = geofenceHelper.getPendingIntent();\n\n if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // ActivityCompat#requestPermissions\n // here to request the missing permissions, and then overriding\n // public void onRequestPermissionsResult(int requestCode, String[] permissions,\n // int[] grantResults)\n // to handle the case where the user grants the permission. See the documentation\n // for ActivityCompat#requestPermissions for more details.\n return;\n }\n geofencingClient.addGeofences(geofencingRequest, pendingIntent)\n .addOnSuccessListener(new OnSuccessListener<Void>() {\n @Override\n public void onSuccess(Void aVoid) {\n Log.d(TAG, \"Menambahkan Geo\");\n }\n })\n .addOnFailureListener(new OnFailureListener() {\n @Override\n public void onFailure(@NonNull Exception e) {\n String errorMessage = geofenceHelper.getErrorString(e);\n Log.d(TAG, \"onFailure: \" + errorMessage);\n }\n });\n }", "title": "" }, { "docid": "18c2ae1e8d46c7b3c009325482322c63", "score": "0.5453891", "text": "private void noInfo() {\r\n JOptionPane.showMessageDialog(this,\r\n \"You need to put in all the information.\", \"Menu Item Error\", JOptionPane.ERROR_MESSAGE);\r\n }", "title": "" }, { "docid": "f47a45a7f53e0e8d99967d147fc1b1bf", "score": "0.54438275", "text": "public void displayMessage() {\n\t\tSystem.out.printf(\"Welcome to the gradebook for: %s!\\n\", getCourseName());\n\t}", "title": "" }, { "docid": "21f5d296f76617ca67369d697f0ac695", "score": "0.5428456", "text": "public void addGeofences(List<Geofence> geofences) throws UnsupportedOperationException {\n\n /*\n * Save the geofences so that they can be sent to Location Services once the\n * connection is available.\n */\n mCurrentGeofences = (ArrayList<Geofence>) geofences;\n\n // If a request is not already in progress\n if (!mInProgress) {\n\n // Toggle the flag and continue\n mInProgress = true;\n\n // Request a connection to Location Services\n requestConnection();\n\n // If a request is in progress\n } else {\n\n // Throw an exception and stop the request\n throw new UnsupportedOperationException();\n }\n }", "title": "" }, { "docid": "6b3dd340778fe1f57e401189154a493c", "score": "0.5425785", "text": "@Override\n public void onConnected(Bundle bundle) {\n Toast.makeText(getActivity(), \"GoogleApiClient Connected\", Toast.LENGTH_SHORT).show();\n lastLocation = LocationServices.FusedLocationApi.getLastLocation(googleApiClient);\n String lastLocationMessage;\n if (lastLocation == null) {\n lastLocationMessage = \"Last Location is NULL\";\n moveToLocation(home);\n } else {\n lastLocationMessage = String.format(\"Last Location (%1$s, %2$s)\", lastLocation.getLatitude(), lastLocation.getLongitude());\n moveToLocation(new MyPlaces(\"Last Location\", \"I am here.\", lastLocation.getLatitude() , lastLocation.getLongitude() ,new LatLng(lastLocation.getLatitude(), lastLocation.getLongitude()), 0, 13, 0));\n }\n Toast.makeText(getActivity(), lastLocationMessage, Toast.LENGTH_SHORT).show();\n // PRES 3\n geofencePendingIntent = getRequestPendingIntent();\n PendingResult<Status> result = LocationServices.GeofencingApi.addGeofences(googleApiClient, myFences, geofencePendingIntent);\n result.setResultCallback(this);\n }", "title": "" }, { "docid": "733cfeca67287d057f3f2b00890c416e", "score": "0.541545", "text": "@Override\n public String getMessage() {\n return \"\\nSei sicuro di voler abbandoare la partita?\\n\";\n }", "title": "" }, { "docid": "77ada1f7c16ea0a361993a6072e65ce3", "score": "0.54023635", "text": "void showLoadingError() {\n String fullResponse = \"\";\n fullResponse += \"Kobe detected no prior saved data!\\n\";\n responses.add(fullResponse);\n //\"No prior saved data!\"\n System.out.println(line + \"Kobe detected no prior saved data!\\n\" + line);\n }", "title": "" }, { "docid": "0aa24336fdfe3a6ed79e2ae88bb2e33c", "score": "0.5397635", "text": "private void performPendingGeofenceTask() {\n if (mPendingGeofenceTask == PendingGeofenceTask.ADD) {\n addGeofences();\n } else if (mPendingGeofenceTask == PendingGeofenceTask.REMOVE) {\n removeGeofences();\n }\n }", "title": "" }, { "docid": "7c7bb5a594c8ef897ecdcea9e71027e8", "score": "0.53909117", "text": "@Override\n public void onMapReady(GoogleMap googleMap) {\n SharedPreferences registeredGeofencePrefs = getApplicationContext()\n .getSharedPreferences(REGISTERED_GEOFENCE_SHARED_PREFS_LOCATION, Context.MODE_PRIVATE);\n List<AppboyGeofence> registeredGeofences = retrieveAppboyGeofencesFromLocalStorage(registeredGeofencePrefs);\n\n int color = Color.BLUE;\n if (registeredGeofences.size() > 0) {\n for (AppboyGeofence registeredGeofence : registeredGeofences) {\n googleMap.addCircle(new CircleOptions()\n .center(new LatLng(registeredGeofence.getLatitude(), registeredGeofence.getLongitude()))\n .radius(registeredGeofence.getRadiusMeters())\n .strokeColor(Color.RED)\n .fillColor(Color.argb((int) Math.round(Color.alpha(color) * .20), Color.red(color), Color.green(color), Color.blue(color))));\n googleMap.addMarker(new MarkerOptions()\n .position(new LatLng(registeredGeofence.getLatitude(), registeredGeofence.getLongitude()))\n .title(\"Appboy Geofence\")\n .snippet(registeredGeofence.getLatitude() + \", \" + registeredGeofence.getLongitude()\n + \", radius: \" + registeredGeofence.getRadiusMeters() + \"m\"));\n }\n\n AppboyGeofence firstGeofence = registeredGeofences.get(0);\n googleMap.moveCamera(CameraUpdateFactory.newLatLng(new LatLng(firstGeofence.getLatitude(), firstGeofence.getLongitude())));\n googleMap.animateCamera(CameraUpdateFactory.zoomTo(10), null);\n }\n }", "title": "" }, { "docid": "96ad1c5680b78e149087c82dad1fbeb8", "score": "0.53723335", "text": "private void messageFilter() {\n if (mApiService.getMeetingsLocationFilters().isEmpty()) {\n Toast.makeText(this, \"Aucune réunion n'existe pour le lieu demandé\",\n Toast.LENGTH_SHORT).show();\n }\n }", "title": "" }, { "docid": "2513c773c0e6cffd5751c7bf4b1a329f", "score": "0.5371609", "text": "private void updateStatus()\n\t{\n\t\tsetStatus(String.format(\"As Amostras das impressões digitais são necessárias: %1$s\", enroller.getFeaturesNeeded()));\n\t}", "title": "" }, { "docid": "693278836d2eb2c88c5ccdb7e496a11b", "score": "0.53615594", "text": "public static void displayMessage() {\r\n\t\tSystem.out.println(\"Thanks for your oder. Total price including shipping:\");\r\n\t}", "title": "" }, { "docid": "c9a77d5fb82f03b2f5ffed9cee85b33c", "score": "0.53549427", "text": "protected void showCollectionErrorMessage(){\n\t\tclearSlot(METADATA_PRESENTER_SLOT);\n\t\tenablePlayerButton(false, false, false, false, false, false,false);\n\t\tsetOpenEndedAnswerSubmited(true);\n\t\tgetView().getPlayerBodyContainer().clear();\n\t\tgetView().getPlayerBodyContainer().add(new CollectionNonExistView());\n\t}", "title": "" }, { "docid": "cf48151eca8b8db7df0afadac96b4a7e", "score": "0.5348041", "text": "private void addFence(MyPlaces place) {\n if (place.getFenceRadius() <= 0) {\n // Nothing to monitor\n return;\n }\n Geofence geofence = new Geofence.Builder()\n .setCircularRegion(place.getCoordinates().latitude, place.getCoordinates().longitude, place.getFenceRadius())\n .setRequestId(place.getTitle()) // every fence must have an ID\n .setTransitionTypes(Geofence.GEOFENCE_TRANSITION_ENTER | Geofence.GEOFENCE_TRANSITION_EXIT) // can also have DWELL\n .setExpirationDuration(Geofence.NEVER_EXPIRE) // how long do we care about this geofence?\n //.setLoiteringDelay(60000) // 1 min.\n .build();\n myFences.add(geofence);\n }", "title": "" }, { "docid": "8a96b46463b966daf550e1a90062c240", "score": "0.53406507", "text": "private void startGeofenceMonitoring() {\n\n //rebuild the geofenceList\n rebuildGeofenceList(mGeofenceList);\n\n //add the geofenceList Intent to the LocationServices\n LocationServices.GeofencingApi.addGeofences(\n mClient,\n getGeofencingRequest(mGeofenceList),\n createGeofenceIntent()\n ).setResultCallback(new ResultCallback<Status>() {\n @Override\n public void onResult(Status status) {\n if(status.isSuccess()) {\n Log.i(TAG, \"yay\");\n } else {\n Log.i(TAG, \"booo\");\n }\n }\n });\n }", "title": "" }, { "docid": "141928e6c9557756effeca70293115be", "score": "0.5327139", "text": "public void displayMessage()\r\n {\r\n // display the course name and instructor's name\r\n System.out.printf( \"Welcome to the grade book for%n%s%n\",\r\n getCourseName() );\r\n System.out.printf( \"This course is presented by %s%n\",\r\n getInstructorName() );\r\n }", "title": "" }, { "docid": "973ba7a1d187af3746b98609c889e71c", "score": "0.53198594", "text": "@Override\n\tpublic void msgAtPlatingArea() {\n\t\t\n\t}", "title": "" }, { "docid": "e42239e7eeb11e29029aa2fb1fc1f474", "score": "0.53139764", "text": "protected void a(LocationClient.OnRemoveGeofencesResultListener onRemoveGeofencesResultListener) {\n if (onRemoveGeofencesResultListener == null) return;\n switch (this.afg) {\n default: {\n Log.wtf(\"LocationClientImpl\", \"Unsupported action: \" + this.afg);\n return;\n }\n case 1: {\n onRemoveGeofencesResultListener.onRemoveGeofencesByPendingIntentResult(this.HF, this.mPendingIntent);\n return;\n }\n case 2: \n }\n onRemoveGeofencesResultListener.onRemoveGeofencesByRequestIdsResult(this.HF, this.afb);\n }", "title": "" }, { "docid": "80b27571bc8643bb8ddfe5e81580a492", "score": "0.5305448", "text": "private void showInformation(String message) {\r\n\t\tMessageDialog.openInformation(\r\n\t\t\tviewer.getControl().getShell(),\r\n\t\t\t\"RationaleExplorer\",\r\n\t\t\tmessage);\r\n\t}", "title": "" }, { "docid": "b460fd752cfdc7de5e0af90051b8daa9", "score": "0.52928084", "text": "private void addConfirm() {\t\t\n\t\tmodel.addIngredient(\n\t\t\t\tview.ingreNameText.getText(), \n\t\t\t\tFloat.valueOf(view.ingreAmountText.getText()), \n\t\t\t\tview.ingreUnitBox.getValue());\n\t\tview.loadIngredientTable();\n\t\tview.addPop.close();\n\t}", "title": "" }, { "docid": "8c9b534e6b536e3c1b160501cbffc5c9", "score": "0.5290392", "text": "public void onMapFragmentInfoInteraction(YellMessage message);", "title": "" }, { "docid": "9d309ada774bb187835dd22d4f018a7f", "score": "0.5288807", "text": "private void displayMapInfoRequesting() {\n if (hasPermissions()) {\n openGrantedPermissionsMap();\n if (mStores == null) {\n updateStores();\n }\n }\n }", "title": "" }, { "docid": "04281c1e78711e45800c4d5d302e0e38", "score": "0.5286803", "text": "@Override\r\n\tpublic void showMessage(String message) {\n\t}", "title": "" }, { "docid": "6ab40bca5641827ee898d750d6916902", "score": "0.52731425", "text": "public void addInfoMessage(String msg,String msgDetalle) {\r\n\t\t facesContext.addMessage(null,\r\n new FacesMessage(FacesMessage.SEVERITY_INFO, msg, msgDetalle));\r\n\t}", "title": "" }, { "docid": "4f5ea74aa5788e2b5bbf52f6dafcbbf6", "score": "0.525775", "text": "private void showAbout() {\r\n\t showMessage(\"About\", \"Solar System with Mars and Earth\");\r\n }", "title": "" }, { "docid": "72861f04bb975c015264655e6aee277c", "score": "0.5257194", "text": "public void addMessage(String mensaje) {\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, mensaje, null);\n FacesContext.getCurrentInstance().addMessage(null, message); \n }", "title": "" }, { "docid": "3f477a683a7e98d4fe7a76e608bd2d5f", "score": "0.52539814", "text": "private void message() {\n\t\tmessage = new LesMessages(450, 660);\n\t\tpanel_inscription.add(message);\n\t}", "title": "" }, { "docid": "b59deacf398bbd3955e275d216d7c78e", "score": "0.52538025", "text": "@Override\n public void visitEvent(SuccessfulUseOfSpotLightItemEvent event) {\n menu.writeMessage(event.getMessage(), false);\n showPlayerMenu();\n }", "title": "" }, { "docid": "cba80afedbb14d718e977cb3949e7ac8", "score": "0.5251365", "text": "private void drawGeofenceCircle() {\n\n\t\tif (currentCircle != null)\n\t\t\tcurrentCircle.remove();\n\n\t\tif (currentLocation == null)\n\t\t\tLog.i(TAG, \" current location is null!!!!\");\n\n\n\t\tLog.i(TAG, \" current radius is \" + currentRadius);\n\n\t\tcurrentCircle = map.addCircle(new CircleOptions()\n\t\t\t\t.center(currentLocation)\n\t\t\t\t.radius(currentRadius)\n\t\t\t\t.strokeColor(GEOFENCE_STROKE_COLOR)\n\t\t\t\t.strokeWidth(5)\n\t\t\t\t.fillColor(GEOFENCE_FILL_COLOR));\n\n\n\t}", "title": "" }, { "docid": "c2e23e80323cce4ae6b6182a69656f85", "score": "0.52480954", "text": "public void addMarker() {\n\t\tMarker marker = new Marker(new LatLng(lat, lng), title);\n\t\tmodel.addOverlay(marker);\n\n\t\tFacesContext.getCurrentInstance().addMessage(\n\t\t\t\tnull,\n\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_INFO,\n\t\t\t\t\t\t\"Experience Saved\", null));\n\t}", "title": "" }, { "docid": "0b1cfa3e43325350d7a4cbbb7e8621fc", "score": "0.5247092", "text": "public void addGeofences(List<mc> list, PendingIntent pendingIntent, LocationClient.OnAddGeofencesResultListener object) throws RemoteException {\n this.dJ();\n boolean bl = list != null && list.size() > 0;\n o.b(bl, (Object)\"At least one geofence must be specified.\");\n o.b(pendingIntent, (Object)\"PendingIntent must be specified.\");\n o.b(object, (Object)\"OnAddGeofencesResultListener not provided.\");\n object = object == null ? null : new b((LocationClient.OnAddGeofencesResultListener)object, this);\n ((lx)this.gS()).a(list, pendingIntent, (lw)object, this.getContext().getPackageName());\n }", "title": "" }, { "docid": "57b5c30eeeecdeb0e16f2acc5444a818", "score": "0.523272", "text": "public void drawInvincibleMsg() {\n \tSystem.out.println(\"You are INVINCIBLE\");\n }", "title": "" }, { "docid": "fd314749a79d2dd41bc80e0c6fccf496", "score": "0.52277285", "text": "public static void messageInformation(String mensagem){\n\t\n FacesContext facesContext = FacesContext.getCurrentInstance();\n\t\n facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, \"\", mensagem));\n }", "title": "" }, { "docid": "84174f24d68c8522d27eaa79c349f1a6", "score": "0.52235633", "text": "private void openPlacesDialog() {\n // Ask the user to choose the place where they are now.\n DialogInterface.OnClickListener listener =\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n // The \"which\" argument contains the position of the selected item.\n LatLng markerLatLng = mLikelyPlaceLatLngs[which];\n String markerSnippet = mLikelyPlaceAddresses[which];\n if (mLikelyPlaceAttributions[which] != null) {\n markerSnippet = markerSnippet + \"\\n\" + mLikelyPlaceAttributions[which];\n }\n // Add a marker for the selected place, with an info window\n // showing information about that place.\n mMap.addMarker(new MarkerOptions()\n .title(mLikelyPlaceNames[which])\n .position(markerLatLng)\n .snippet(markerSnippet));\n // Position the map's camera at the location of the marker.\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(markerLatLng,\n DEFAULT_ZOOM));\n }\n };\n\n // Display the dialog.\n AlertDialog dialog = new AlertDialog.Builder(this)\n .setTitle(R.string.pick_place)\n .setItems(mLikelyPlaceNames, listener)\n .show();\n }", "title": "" }, { "docid": "b824ce4c50b1d3c53b88ee6c29c58a3b", "score": "0.5221744", "text": "public static void message(String mensagem){\n\t\n FacesContext facesContext = FacesContext.getCurrentInstance();\n\t\n facesContext.addMessage(null, new FacesMessage(\"Attention: \",mensagem));\n }", "title": "" }, { "docid": "e093529ee1815054f11a062b9f8e7d50", "score": "0.52085745", "text": "private void handleGeofenceTransition(Context context, Intent intent) {\n\t\t\t/*\n\t\t\t * If you want to change the UI when a transition occurs, put the\n\t\t\t * code here. The current design of the app uses a notification to\n\t\t\t * inform the user that a transition has occurred.\n\t\t\t */\n\t\t\t\n\t\t}", "title": "" }, { "docid": "1fcf963143eaa61c19a75de95311bdee", "score": "0.52007467", "text": "@Override\n public void visitEvent(SuccessfulItemAdditionEvent event) {\n menu.writeMessage(event.getMessage(), false);\n showPlayerMenu();\n }", "title": "" }, { "docid": "11f2d18101c6c25e207f9d3ea3d5a830", "score": "0.51965904", "text": "static void displayMessage(Context context, String message) {\r\n }", "title": "" }, { "docid": "a6a31e7cd4fbfb3ef2cc67c819b904c2", "score": "0.5196295", "text": "public void putUpGeofences() {\n \t\n \tmGeofenceList.add(putUpUpdateTriggerFenceAndReturnIt());\n \t\n \tCursor c = mContext.getContentResolver().query\n \t\t\t(PuntiContentProvider.PUNTI_URI,\n \t\t\t\t\tnull, null, null, null);\n \t\n \tint langIndex = c.getColumnIndex(PuntiDbHelper.LONGITUDE);\n \tint latIndex = c.getColumnIndex(PuntiDbHelper.LATUTUDE);\n \tint idIndex = c.getColumnIndex(PuntiDbHelper._ID);\n \t\n \tSet<MyLatLng> points = new TreeSet<MyLatLng>();\n\n \twhile (c.moveToNext()) {\n \t\tdouble lat = c.getDouble(latIndex);\n \t\tdouble lang = c.getDouble(langIndex);\n \t\tint id = c.getInt(idIndex);\n \t\t\n \t\tpoints.add(new MyLatLng(id, lat, lang)); \t\t\n \t}\n \t\n \tc.close();\n \t\n \temptyGeofences();\n \t\n \tint maxFences = 99;\n \tfor (MyLatLng myLatLng : points) {\n \t\tif (maxFences > 0) {\n \t\tmGeofenceList.add(new Geofence.Builder()\n .setRequestId(myLatLng.id + \"\")\n .setCircularRegion(\n \t\tmyLatLng.lat,\n \t\tmyLatLng.lang,\n Constants.POINT_NOTIFICATION_RADIUS\n )\n .setExpirationDuration(Geofence.NEVER_EXPIRE)\n .setTransitionTypes(Geofence.GEOFENCE_TRANSITION_DWELL)\n .setLoiteringDelay(10)\n .build());\n \t\t--maxFences;\n \t\t}\n\t\t}\n \t\n \tif (mGoogleApiClient.isConnected())\n\t\t LocationServices.GeofencingApi.addGeofences(\n\t mGoogleApiClient,\n\t getGeofencingRequest(),\n\t getGeofencePendingIntent()\n\t ).setResultCallback((ResultCallback<Status>) mContext);\n \t\n }", "title": "" }, { "docid": "7e1c445317717e680215c0a01540a6c6", "score": "0.51950514", "text": "private void showAddMarkerPopup(View view) {\n // inflate the layout of the popup window\n LayoutInflater inflater = (LayoutInflater) getSystemService(LAYOUT_INFLATER_SERVICE);\n View popupView = inflater.inflate(R.layout.add_marker_popup,\n (ViewGroup) findViewById(android.R.id.content), false);\n\n // create the popup window\n int width = LinearLayout.LayoutParams.WRAP_CONTENT;\n int height = LinearLayout.LayoutParams.WRAP_CONTENT;\n final PopupWindow popupWindow = new PopupWindow(popupView, width, height, true);\n\n // show the popup window\n popupWindow.showAtLocation(view, Gravity.TOP, 0, 200); // TODO: offset shouldn't be hardcoded\n\n // [X]-button dismisses the window\n Button closeButton = popupView.findViewById(R.id.closeButton);\n closeButton.setOnClickListener(view1 -> popupWindow.dismiss());\n\n // Get all input elements\n EditText severityInput = popupView.findViewById(R.id.severityInput);\n EditText latitudeInput = popupView.findViewById(R.id.latitudeInput);\n EditText longitudeInput = popupView.findViewById(R.id.longitudeInput);\n EditText commentInput = popupView.findViewById(R.id.commentInput);\n\n // Handle confirming the addition\n Button confirmButton = popupView.findViewById(R.id.confirmButton);\n confirmButton.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n String severityStr = severityInput.getText().toString();\n String latitudeStr = latitudeInput.getText().toString();\n String longitudeStr = longitudeInput.getText().toString();\n\n if (severityStr.equals(\"\")) {\n Toast.makeText(view.getContext(),\n \"Please enter a value for severity.\",\n Toast.LENGTH_LONG).show();\n return;\n }\n if (latitudeStr.equals(\"\")) {\n Toast.makeText(view.getContext(),\n \"Please enter a value for latitude.\",\n Toast.LENGTH_LONG).show();\n return;\n }\n if (longitudeStr.equals(\"\")) {\n Toast.makeText(view.getContext(),\n \"Please enter a value for longitude.\",\n Toast.LENGTH_LONG).show();\n return;\n }\n\n Double severity = Double.parseDouble(severityStr);\n Double latitude = Double.parseDouble(latitudeStr);\n Double longitude = Double.parseDouble(longitudeStr);\n String comment = commentInput.getText().toString();\n\n // Create new DamageMarker and add to database\n DamageMarker damageMarker = new DamageMarker(severity, latitude, longitude, comment);\n firebaseAddMarkerAdapter.addDamageMarker(damageMarker, view);\n\n popupWindow.dismiss();\n }\n });\n }", "title": "" }, { "docid": "40464d571750394ba63cff3e19551681", "score": "0.5180829", "text": "private void openPlacesDialog() {\n DialogInterface.OnClickListener listener =\n new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n // The \"which\" argument contains the position of the selected item.\n LatLng markerLatLng = mLikelyPlaceLatLngs[which];\n String markerSnippet = mLikelyPlaceAddresses[which];\n if (mLikelyPlaceAttributions[which] != null) {\n markerSnippet = markerSnippet + \"\\n\" + mLikelyPlaceAttributions[which];\n }\n // Add a marker for the selected place, with an info window\n // showing information about that place.\n map.addMarker(new MarkerOptions()\n .title(mLikelyPlaceNames[which])\n .position(markerLatLng)\n .snippet(markerSnippet));\n\n // Position the map's camera at the location of the marker.\n map.moveCamera(CameraUpdateFactory.newLatLngZoom(markerLatLng,\n DEFAULT_ZOOM));\n }\n };\n\n // Display the dialog.\n AlertDialog dialog = new AlertDialog.Builder(getContext())\n .setTitle(\"Pick a place\")\n .setItems(mLikelyPlaceNames, listener)\n .show();\n }", "title": "" }, { "docid": "8ed82ca40e721fa921ea6b0212685925", "score": "0.5161458", "text": "@Override\r\n\tprotected void alreadyRegisteredMessage() {\n\t\tJOptionPane.showMessageDialog(dialog,\r\n\t\t\t\tStringsItalian.STR_EMAIL_ALREADY_REGISTERED,\r\n\t\t\t\tStringsItalian.STR_ERROR,\r\n\t\t\t\tJOptionPane.ERROR_MESSAGE);\t\r\n\t}", "title": "" }, { "docid": "28bc415b0dd9978109f781781cbc062c", "score": "0.51597583", "text": "public void display(String message) {\n\t\t\n\t}", "title": "" }, { "docid": "720088e8b7b55ba3d0edb7f05d8f87c1", "score": "0.5153176", "text": "@Override\n\tpublic boolean display(String message) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "5932c3115e079f747b1eaaa527bc48c3", "score": "0.5146804", "text": "protected void displayMessageInformation() {\r\n // Add a field describing the source service\r\n final ServiceConfiguration sc =\r\n _message.getFolder().getStore().getServiceConfiguration();\r\n final EditField service =\r\n new EditField(\"Service: \", sc.getName(), MAX_CHARS,\r\n Field.READONLY | Field.NON_FOCUSABLE);\r\n addTextFieldToTableAndScreen(service, INFO);\r\n\r\n // Add the folder field\r\n final EditField folder =\r\n new EditField(\"Folder: \", _message.getFolder().getName(),\r\n MAX_CHARS, Field.READONLY | Field.NON_FOCUSABLE);\r\n addTextFieldToTableAndScreen(folder, INFO);\r\n\r\n // Add the status of the message\r\n final String statusString = getStatusString(_message);\r\n final EditField status =\r\n new EditField(\"Status: \", statusString, MAX_CHARS,\r\n Field.READONLY | Field.NON_FOCUSABLE);\r\n addTextFieldToTableAndScreen(status, INFO);\r\n }", "title": "" }, { "docid": "3139e976e006c2730f579426d2fa9ce8", "score": "0.51446533", "text": "public Builder addFences(ski.crunch.model.ActivityOuterClass.Activity.Geofence value) {\n if (fencesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureFencesIsMutable();\n fences_.add(value);\n onChanged();\n } else {\n fencesBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "869ee07f2265fe295800a3235adc9b2d", "score": "0.51425457", "text": "@Override\n public void onConnected(Bundle arg0) {\n // If debugging, log the connection\n\n Log.d(GeofenceUtils.APPTAG, mActivity.getString(R.string.connected));\n\n // Continue adding the geofences\n continueAddGeofences();\n }", "title": "" }, { "docid": "d81dea40c25d55d0b6dc2b5edff2a2eb", "score": "0.51323813", "text": "public void removeGeofences() {\n\n try {\n // Remove geofences.\n LocationServices.GeofencingApi.removeGeofences(\n this.getGoogleApiClient(),\n // This is the same pending intent that was used in addGeofences().\n mGeoFenceService.getGeofencePendingIntent()\n ).setResultCallback(mGeoFenceService); // Result processed in onResult().\n\n\n mGeoFenceService.cleanGeoFences();\n\n } catch (SecurityException securityException) {\n // Catch exception generated if the app does not use ACCESS_FINE_LOCATION permission.\n logSecurityException(securityException);\n }\n }", "title": "" }, { "docid": "c81dc7d4f5242d9a6626b8e198a5551a", "score": "0.51299715", "text": "private void buildAlertMessageNoLocation() {\r\n\t\tfinal AlertDialog.Builder builder = new AlertDialog.Builder(this);\r\n\t\tbuilder.setMessage(\r\n\t\t\t\t\"Your location is not good enough, please wait for several seconds.\")\r\n\t\t\t\t.setCancelable(false)\r\n\t\t\t\t.setNegativeButton(\"OK\", new DialogInterface.OnClickListener() {\r\n\t\t\t\t\tpublic void onClick(final DialogInterface dialog,\r\n\t\t\t\t\t\t\tfinal int id) {\r\n\t\t\t\t\t\tdialog.cancel();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\tfinal AlertDialog alert = builder.create();\r\n\t\talert.show();\r\n\t}", "title": "" }, { "docid": "9ef1d5375fd867c52a4576ea88627e6a", "score": "0.5129249", "text": "public void reregisterSavedGeofences(){\n populategeofencelist();\n connectWithCallback(mAddConnectionCallback);\n }", "title": "" }, { "docid": "acba11cab8403e44f301c3d597686e0b", "score": "0.51283514", "text": "@Override\r\n\tpublic void showMessage(String str) {\r\n\t}", "title": "" }, { "docid": "af8006cc3c5de3c1c2f0871107a1cdfc", "score": "0.5120808", "text": "public void createGeofences(double latitude, double longitude) {\n String id = UUID.randomUUID().toString();\n com.google.android.gms.location.Geofence fence = new com.google.android.gms.location.Geofence.Builder()\n .setRequestId(id)\n .setTransitionTypes(com.google.android.gms.location.Geofence.GEOFENCE_TRANSITION_ENTER | com.google.android.gms.location.Geofence.GEOFENCE_TRANSITION_EXIT)\n .setCircularRegion(latitude, longitude, Float.parseFloat(radius.getText().toString()))\n .setExpirationDuration(com.google.android.gms.location.Geofence.NEVER_EXPIRE)\n .build();\n mGeofenceList.add(fence);\n }", "title": "" }, { "docid": "84a7b004ae2c2905fd20657d751da907", "score": "0.5116506", "text": "@SuppressLint(\"ShowToast\")\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void todo() {\n\t\t\t\t\t\tToast.makeText(context, R.string.baddelect, Toast.LENGTH_SHORT).show();\n\t\t\t\t\t}", "title": "" }, { "docid": "357653cd78c9cf515437629b3835e7af", "score": "0.51061785", "text": "public void viewMapHelp()\r\n {\n System.out.println(\"Here are some tips for the Map\");\r\n }", "title": "" }, { "docid": "94d6d17b4e3b14b891281c0d0868dabe", "score": "0.51023406", "text": "public Location addFence(final int which) {\n if (this.checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n final AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"This app needs location access\");\n builder.setMessage(\"Please grant location access so this app can detect peripherals.\");\n builder.setPositiveButton(android.R.string.ok, null);\n builder.setOnDismissListener(new DialogInterface.OnDismissListener() {\n @Override\n public void onDismiss(DialogInterface dialog) {\n requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_REQUEST_COARSE_LOCATION );\n }\n });\n builder.show();\n }\n else {\n fusedLocationClient.getLastLocation()\n .addOnSuccessListener(this, new OnSuccessListener<Location>() {\n @Override\n public void onSuccess(Location location) {\n // Got last known location. In some rare situations this can be null.\n if (location != null) {\n // Logic to handle location object\n keyListAdapter.setLat(location.getLatitude(), which);\n keyListAdapter.setLng(location.getLongitude(), which);\n Log.d(\"Location\", \"Lat: \" + location.getLatitude() + \" Lng: \" + location.getLongitude());\n service.setGeofence(location, which);\n }\n }\n });\n }\n return null;\n }", "title": "" }, { "docid": "54c7a69d6c35c9d2a06b2aead36cee60", "score": "0.5102166", "text": "private static void displayMessage() {\n\t\tSystem.out.println(\"Welcome to Penguin Software Team!!!!\");\r\n\t\t\r\n\t}", "title": "" }, { "docid": "c1becf1efe0de8df2da9a12e9a0ace3e", "score": "0.5101366", "text": "public void displayMessage( String message )\n {\n textArea.append( message );\n }", "title": "" }, { "docid": "e5a55833ba3f1d0009a3a6af7ccbf3c1", "score": "0.5097675", "text": "private void displayLocation() {\n if (ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED && ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {\n // TODO: Consider calling\n // Check Permissions Now\n ActivityCompat.requestPermissions(this,\n new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION},\n 1);\n } else {\n\n\n mLastKnownLocation = LocationServices.FusedLocationApi\n .getLastLocation(mGoogleApiClient);\n\n if (mLastKnownLocation != null) {\n double latitude = mLastKnownLocation.getLatitude();\n double longitude = mLastKnownLocation.getLongitude();\n eraseLines();\n String[] UserSplit = rideResponse.getCustomer().getLat_long().split(\",\");\n makeDirection(new LatLng(mLastKnownLocation.getLatitude(), mLastKnownLocation.getLongitude()), new LatLng(Double.parseDouble(UserSplit[0]), Double.parseDouble(UserSplit[1])));\n }\n }\n }", "title": "" }, { "docid": "0372b7c981231e3998075d027646f64d", "score": "0.50969166", "text": "private void addIngredient() {\n //If not duplicate: Print succeed message.\n JOptionPane.showMessageDialog(null,\n recipeNameTextField.getText());\n }", "title": "" }, { "docid": "7cb1261133be3efa184bf442fa18693c", "score": "0.509429", "text": "@Override\n public void onClick(View v) {\n if (Description.getText().toString().equals(\"\"))\n {\n Description.setText(defaultDescription);\n }\n if (Title.getText().toString().equals(\"\"))\n {\n Title.setText(defaultTitle);\n }\n\n ((MainGUI)context).onAddMarker();\n point = null;\n }", "title": "" }, { "docid": "30efabaec924d88a7c319ded0f52115d", "score": "0.5088506", "text": "@Override\n public void onClick(View view) {\n addGeocache();\n }", "title": "" }, { "docid": "960a5c805c20f96228c7ba527e7d20b2", "score": "0.5087609", "text": "public void locationLabelOutput() {\n \tlocationLabel.setText(MainControllerFX.outputLocation);\n }", "title": "" }, { "docid": "1af297a2c6146eac15bcc2f8d5a485ca", "score": "0.5079199", "text": "@Override\n public void onLocationChange (String location, String address)\n {\n TextView text;\n\n text = (TextView) (findViewById (R.id.messageText));\n text.setText (location + \"\\n\" + address);\n text.setTextColor (_Done ? 0xff000000 : 0xffff0000);\n }", "title": "" }, { "docid": "b561b2b7e7f09671396716f7040a60a3", "score": "0.50770235", "text": "public void showMessageInicioDelJuego() {\r\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO, \"Inicio del juego\", \"Primer turno para el jugador uno\");\r\n PrimeFaces.current().dialog().showMessageDynamic(message);\r\n }", "title": "" }, { "docid": "5a9bdd619f18947ced6c2abcb344b186", "score": "0.5076387", "text": "public void view(String message) {\n // viewer.redraw(getClockTicks(),elevatorFloor,floors,elevatorList,message);\n }", "title": "" }, { "docid": "c0615c5c5d3c16ed8679aba4334f745a", "score": "0.50621384", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\n\t\t\t\tif (ltpoints.size() > 0) {\n\t\t\t\t\tsaveMap.setTextColor(getApplication().getResources().getColor(R.color.Green));\n\t\t\t\t\t\n\t\t\t\t\t//if(surveyShape.equalsIgnoreCase(\"POLYGON\"))\n\t\t\t\t\tif(surveyShape.toUpperCase().contains(\"POLYGON\"))\n\t\t\t\t\t{\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tif(!ltpoints.get(0).toString().equals(ltpoints.get(ltpoints.size()-1).toString()))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Please Draw Polygon\",Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\tif (flag.equals(\"edit\")) {\n\t\t\t\t\t\tlinename=editlinename;\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(surveyShape.toUpperCase().contains(\"LINESTRING\"))\n\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(ltpoints.size() == 1)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Please draw valid line, atleast two point required \",Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t//list not null at edit mode view : it will update record on save click\n\t\t\t\t\t\tif(surveyShape.toUpperCase().contains(\"POLYGON\"))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\n\t\t\t\t\t\t\tbackToEdit();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}else if (flag.equals(\"addnew\")){\n\t\t\t\t\t\tif(!surveyShape.toUpperCase().contains(\"POLYGON\"))\n\t\t\t\t\t\t{\t\t\n\t\t\t\t\t\t\tif(surveyShape.toUpperCase().contains(\"LINESTRING\"))\n\t\t\t\t\t\t\t{\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(ltpoints.size() == 1)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(), \"Please draw valid line, atleast two point required\",Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\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} else {\n\t\t\t\t\t//list is null edit mode view : it will delete record on save click\n\t\t\t\t\tif (flag.equals(\"edit\")) {\t\t\n\t\t\t\t\t\tlinename=editlinename;\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(surveyShape.toUpperCase().contains(\"POLYGON\"))\n\t\t\t\t\t\t{\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t}else if (flag.equals(\"addnew\")){\n\t\t\t\t\t\tif(!surveyShape.toUpperCase().contains(\"POLYGON\"))\n\t\t\t\t\t\t{\t\t\t\t\t\t\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\"); \t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t\t}else\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(ltpoints.size() > 0)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpopupwindow(popupView, userInput);\n\t\t\t\t\t\t}else\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tSaveDataInDatabase(\"\");\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\t\t\n\t\t\t}", "title": "" }, { "docid": "8fc71b3936e01c5d5947c7e4006abb5a", "score": "0.50606656", "text": "@Override\n public void visitEvent(SuccessfulMoveOnDangerousSectorEvent event) {\n menu.writeMessage(event.getMessage(), false);\n showPlayerMenu();\n }", "title": "" }, { "docid": "65d84dcb4b05db677345908218fd4289", "score": "0.5059187", "text": "@Override\n public String getMessage() {\n return \"\\nSelezionare una tra le opzioni proposte:\\n\";\n }", "title": "" }, { "docid": "661bf5456580d907946c92cd6bbb6fde", "score": "0.5052198", "text": "public void warningMenus(){\n System.out.print(\"\\n\\nA voltar para o primeiro menu..........\\n\");\n }", "title": "" }, { "docid": "3e8ab66c8a84c310bbeebcf465ab22e2", "score": "0.50452095", "text": "public void onClick(View v) {\n\t\tString message;\n\t\tSendRequest();\n\t\tString emailaddress[] = { \"travelogue79@gmail.com\" };\n\t\tif(latitude !=null && longitude!=null)\n\t\t{\n\t\tmessage = \"Well hello I\"+ emailAdd\n\t\t\t\t+ \" just wanted to add \"\n\t\t\t\t+ name\n\t\t\t\t+ \" as a new place in your application. \"\n\t\t\t\t+ \" Here is the description about the place: \"\n\t\t\t\t+ '\\n' + description\n\t\t\t\t+ \"And it's geographic co-ordinates are\"\n\t\t\t\t+ latitude +\"&\" +longitude\n\t\t\t\t+ '\\n' + \"Thank You!!!\";\n\t\t}\n\t\telse\n\t\t{\n\t\tmessage = \"Well hello I\"+ emailAdd\n\t\t\t\t\t+ \" just wanted to add \"\n\t\t\t\t\t+ name\n\t\t\t\t\t+ \" as a new place in your application. \"\n\t\t\t\t\t+ \" Here is the description about the place: \"\n\t\t\t\t\t+ '\\n' + description\n\t\t\t\t\t+ '\\n' + \"Thank You!!!\";\n\t\t\t}\n\t\t\n\t\tIntent emailSend = new Intent(android.content.Intent.ACTION_SEND);\n\t\temailSend.putExtra(android.content.Intent.EXTRA_EMAIL, emailaddress);\n\t\temailSend.putExtra(android.content.Intent.EXTRA_SUBJECT, \"Request for new place entry\");\n\t\temailSend.setType(\"plain/text\");\n\t\temailSend.putExtra(android.content.Intent.EXTRA_TEXT, message);\n\t\tstartActivity(emailSend);\n\t}", "title": "" }, { "docid": "07d655ed960282a6876fc8b5b88f929c", "score": "0.50381434", "text": "private void putMarker () {\n\t\ttry{\n\t\tnew Util().privateLobbyPutDeleteMarker( true , vConversationId);\n\t\t} catch (Exception e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t//\tLogs.show ( e );\n\t\t}\n\t}", "title": "" }, { "docid": "030c4fd052e67c7b6efc9a90f399fded", "score": "0.50326777", "text": "public void mouseClicked(MouseEvent e) \n\t\t {\n\t\t JOptionPane.showMessageDialog(frmHwGenomics, \"garay made it\",\"very important message\",JOptionPane.INFORMATION_MESSAGE);\n\t\t \n\n\t\t }", "title": "" }, { "docid": "245227cb0b01530d654c402aa5506c69", "score": "0.50301945", "text": "@Override\n public void onButtomClicked(HashMap<String, String> result, String command) {\n switch(command){\n case \"save\":\n savedOptions.add(result);\n navigationView.getMenu().add(0, savedOptions.size()-1, 0, \"my collection \" + savedOptions.size());\n saveNavigationData();\n Toast.makeText(MapActivity.this, \"saved setting successful\", Toast.LENGTH_SHORT).show();\n break;\n case \"confirm\":\n DBActivity dbActivity = new DBActivity();\n ArrayList<HashMap<String, String>> returnedResult = dbActivity.filterRequest(result);\n if(returnedResult.size() == 0){\n Toast.makeText(this, \"cannot find a proper area\", Toast.LENGTH_LONG).show();\n }else{\n mMap.clear();\n mMap.setInfoWindowAdapter(new CustomInfoWindowAdapter(MapActivity.this));\n\n HashMap<String, String> eachResult;\n //HashMap<String, String> firstResult = null;\n String sa2_code;\n ArrayList<float[]> polygonShape;\n //ArrayList<LatLng> firstPolygon = null;\n allCenters = new ArrayList<>();\n LatLng latLng;\n for(int i=0; i<returnedResult.size(); i++){\n eachResult = returnedResult.get(i);\n sa2_code = eachResult.get(\"sa2_main16\");\n polygonShape = dbActivity.polygonRequest(sa2_code);\n float[] temp;\n ArrayList<LatLng> polygonCoordinates = new ArrayList<>();\n for(int j=0; j<polygonShape.size(); j++){\n temp = polygonShape.get(j);\n polygonCoordinates.add(new LatLng(temp[1], temp[0]));\n }\n PolygonOptions polygonOptions = new PolygonOptions();\n polygonOptions.addAll(polygonCoordinates);\n// Polygon polygon1 = mMap.addPolygon(polygonOptions);\n mMap.addPolygon(polygonOptions);\n String content = getSelectedAreaInfo(eachResult, result);\n latLng = getPolygonCenterPoint(polygonCoordinates);\n allCenters.add(latLng);\n mMap.addMarker(new MarkerOptions().position(latLng)\n .title(eachResult.get(\"sa2_name16\"))\n .snippet(content));\n latOfScreenCenter = latLng.latitude;\n lngOfScreenCenter = latLng.longitude;\n }\n\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(\n new LatLng(allCenters.get(0).latitude, allCenters.get(0).longitude),\n DEFAULT_ZOOM_NEAR));\n latOfScreenCenter = allCenters.get(0).latitude;\n lngOfScreenCenter = allCenters.get(0).longitude;\n\n if(allCenters.size() > 1){\n move_camera_btns.setVisibility(View.VISIBLE);\n Button btn_prev = findViewById(R.id.btn_prev);\n Button btn_next = findViewById(R.id.btn_next);\n centerIndex = 0;\n btn_prev.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n moveToNextArea();\n }\n });\n btn_next.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n moveToPrevArea();\n }\n });\n }\n }\n break;\n }\n //Toast.makeText(this, \"get price \" + result.get(\"price\"), Toast.LENGTH_SHORT).show();\n }", "title": "" }, { "docid": "47dd87b0f8beca51981e19a325f5ac36", "score": "0.50294256", "text": "public ski.crunch.model.ActivityOuterClass.Activity.Geofence.Builder addFencesBuilder() {\n return getFencesFieldBuilder().addBuilder(\n ski.crunch.model.ActivityOuterClass.Activity.Geofence.getDefaultInstance());\n }", "title": "" }, { "docid": "f5ccfcb3d1463d3f6a0095fbe770c297", "score": "0.5019562", "text": "@Override\n public void onClick(DialogInterface dialog, int which) {\n LatLng markerLatLng = mLikelyPlaceLatLngs[which];\n String markerSnippet = mLikelyPlaceAddresses[which];\n if (mLikelyPlaceAttributions[which] != null) {\n markerSnippet = markerSnippet + \"\\n\" + mLikelyPlaceAttributions[which];\n }\n // Add a marker for the selected place, with an info window\n // showing information about that place.\n mMap.addMarker(new MarkerOptions()\n .title(mLikelyPlaceNames[which])\n .position(markerLatLng)\n .snippet(markerSnippet));\n // Position the map's camera at the location of the marker.\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(markerLatLng,\n DEFAULT_ZOOM));\n }", "title": "" }, { "docid": "47a024a6d07af521299373dd9d0cf3ab", "score": "0.50175107", "text": "public String getMessage()\n {\n return super.getMessage()+food_error+\"not found\";\n }", "title": "" }, { "docid": "ebbee01a6458ed4b205e584b11e02e7e", "score": "0.50125694", "text": "public void showGeschenkGesamtUebersicht() {\n\t\t\n\t}", "title": "" } ]
b4a7413953b1639ad054542d00355ee9
Checks whether the 'TradeAmount' field has been set.
[ { "docid": "bd0237e4f539c9dfad7641fb3e682ec2", "score": "0.7573264", "text": "public boolean hasTradeAmount() {\n return fieldSetFlags()[9];\n }", "title": "" } ]
[ { "docid": "75829a7151e3435925df37710b46a23e", "score": "0.7088409", "text": "public boolean isSetAmount()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(AMOUNT$4) != 0;\n }\n }", "title": "" }, { "docid": "139c416bb6efcc5ab4bca30f5112e3b7", "score": "0.6831893", "text": "public boolean checkIfTradeEmpty() {\r\n\t\treturn tradeStore.isEmpty();\r\n\t}", "title": "" }, { "docid": "d528f602cfad775eeac4af0afc2131b3", "score": "0.6614995", "text": "public void setTradeAmount(Money tradeAmount) {\n this.tradeAmount = tradeAmount;\n }", "title": "" }, { "docid": "d1ac85368e6275e93a2752cc4f3152c3", "score": "0.65294135", "text": "public boolean hasTradePrice() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "4f301927944761da4c0868ea418c5817", "score": "0.6520126", "text": "public boolean hasTradePrice() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "eaabdfa83a3967bdb5ae24a4cf300898", "score": "0.6427147", "text": "public boolean hasAmount() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "846d9ed6cc3026bd6fd6a14eb801f2d7", "score": "0.63988864", "text": "public void setTradeAmount(String tradeAmount) {\r\n this.tradeAmount = tradeAmount == null ? null : tradeAmount.trim();\r\n }", "title": "" }, { "docid": "10acfc16721cb5f006c840a8208a1408", "score": "0.63880384", "text": "public boolean hasAmount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "d21251b49daea5e065fda481401083c8", "score": "0.63861984", "text": "public boolean hasAmount() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "0cad046052aff221efe45927e3d611d6", "score": "0.6339129", "text": "public boolean hasAmount() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "2f3c93be9347a579d23e619acf98552f", "score": "0.6296423", "text": "public boolean isSetTradeSummary() {\n return this.tradeSummary != null;\n }", "title": "" }, { "docid": "d7797d5a9506487594470b20bf1ac921", "score": "0.6291976", "text": "public boolean hasDealAmount() {\r\n/* 221 */ return this._has_dealAmount;\r\n/* */ }", "title": "" }, { "docid": "b560621aaefd416c2238ee38b87e3235", "score": "0.6285892", "text": "public boolean isNotNullTaxAmount() {\n return genClient.cacheValueIsNotNull(CacheKey.taxAmount);\n }", "title": "" }, { "docid": "84b0bdbc646b4cdb789983a0f21f7313", "score": "0.62615675", "text": "public boolean hasTradePrice() {\n return fieldSetFlags()[7];\n }", "title": "" }, { "docid": "69df3fe928ff346731d41f22290bea20", "score": "0.61695504", "text": "public boolean isAmountInitialized() {\n return amount_is_initialized; \n }", "title": "" }, { "docid": "065c5bd1f2835d5216c8f65d9bda92f5", "score": "0.61466974", "text": "public boolean isSetMortgageAmount() {\n return EncodingUtils.testBit(__isset_bitfield, __MORTGAGEAMOUNT_ISSET_ID);\n }", "title": "" }, { "docid": "8bc1be8b95b719cf97688959224eb186", "score": "0.6003152", "text": "public boolean hasTaxAmount() {\n return genClient.cacheHasKey(CacheKey.taxAmount);\n }", "title": "" }, { "docid": "b3566e46f6f54e0896f0578a93e1c37d", "score": "0.59894335", "text": "public boolean hasTradeVolume() {\n return fieldSetFlags()[8];\n }", "title": "" }, { "docid": "533b4080f18c4305cc9d5f07954d988a", "score": "0.59878445", "text": "public String getTradeAmount() {\r\n return tradeAmount;\r\n }", "title": "" }, { "docid": "6760f6f3d2a8abd8906a7a2b98bed912", "score": "0.5972893", "text": "public void setTradeAmount(java.lang.Double value) {\n this.TradeAmount = value;\n }", "title": "" }, { "docid": "fe154b1c7ef2595d512ffa9d46d8d919", "score": "0.59714913", "text": "boolean hasAmount();", "title": "" }, { "docid": "fe154b1c7ef2595d512ffa9d46d8d919", "score": "0.59714913", "text": "boolean hasAmount();", "title": "" }, { "docid": "cbcababfdd2da16284db3acf5d853ff4", "score": "0.59644115", "text": "public boolean isCardTradeRequired() {\n\t\tUtility.writeLog(\"No. of cards available = \"+cards.size());\n\t\tboolean isRequired = false;\n\t\tif (cards.size() >= Constants.FIVE) {\n\t\t\tisRequired = true;\n\t\t} \n\t\tUtility.writeLog(\"Is Card Trade Mandatory = \"+isRequired);\n\t\treturn isRequired;\n\t}", "title": "" }, { "docid": "b52616a78df7a961afe8751c6ec3a58e", "score": "0.5948066", "text": "boolean hasTradePrice();", "title": "" }, { "docid": "f443c3654cc269c68d2d1e09e0db5b20", "score": "0.5925684", "text": "public boolean hasTradeTime() {\n return fieldSetFlags()[3];\n }", "title": "" }, { "docid": "0d231b81096de686fb78c97d927086d0", "score": "0.5833224", "text": "public boolean isNotNullTaxAmountIndicator() {\n return genClient.cacheValueIsNotNull(CacheKey.taxAmountIndicator);\n }", "title": "" }, { "docid": "7ea4838d0d1f9a358aa413d5f3aecfd5", "score": "0.579393", "text": "public boolean isNotNullTaxAmount1() {\n return genClient.cacheValueIsNotNull(CacheKey.taxAmount1);\n }", "title": "" }, { "docid": "5674e9001c1b99599f763070ed5588b8", "score": "0.5788692", "text": "public Money getTradeAmount() {\n return tradeAmount;\n }", "title": "" }, { "docid": "8a802ae5fef2be4e53f5692573ce984b", "score": "0.5770453", "text": "@Override\n public boolean sufficientFundsToTransfer(double amount) { return false; }", "title": "" }, { "docid": "703192691dba30241b423b586b71b475", "score": "0.5739958", "text": "public boolean isSetBalanceAmt() {\n return EncodingUtils.testBit(__isset_bitfield, __BALANCEAMT_ISSET_ID);\n }", "title": "" }, { "docid": "64940ebb411d583555566adb7346b94a", "score": "0.57386315", "text": "public boolean hasTaxAmountIndicator() {\n return genClient.cacheHasKey(CacheKey.taxAmountIndicator);\n }", "title": "" }, { "docid": "4b47ab25d3b616e9a443bfe53a024807", "score": "0.57143986", "text": "public boolean hasTotalAmount() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "764081a3145d34aef84ae8436c0a8dcc", "score": "0.5671246", "text": "public java.lang.Double getTradeAmount() {\n return TradeAmount;\n }", "title": "" }, { "docid": "b58722e021746da947c0918f1d62335f", "score": "0.5669111", "text": "public boolean isSetWithholdingTaxType()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(WITHHOLDINGTAXTYPE$0) != 0;\n }\n }", "title": "" }, { "docid": "152bf01ef80048d428f8119488a907eb", "score": "0.5664219", "text": "public java.lang.Double getTradeAmount() {\n return TradeAmount;\n }", "title": "" }, { "docid": "fef03eef78ad7d0b5b67da297c78e73e", "score": "0.5634856", "text": "public boolean isFinPreencumSufficientFundIndicator() {\r\n return finPreencumSufficientFundIndicator;\r\n }", "title": "" }, { "docid": "33214543075bc5bbe9b5f308fa98f5f1", "score": "0.5618606", "text": "public boolean isExistingTransaction() {\n return !StringUtils.isBlank(this.quotationHeader.getSlipNumber());\n }", "title": "" }, { "docid": "68707ef23f333d7cb5996dbd845714d7", "score": "0.5613829", "text": "boolean isSetTotalAmt();", "title": "" }, { "docid": "8b3082dbeeab22b556f7b3c843fdddae", "score": "0.560998", "text": "public boolean isSetAccountNumber() {\n return this.accountNumber != null;\n }", "title": "" }, { "docid": "7a9f35e3c91efe5491b8d5c00be21275", "score": "0.55880153", "text": "public void setTrade_no(String trade_no) {\r\n this.trade_no = trade_no;\r\n }", "title": "" }, { "docid": "1f28b2976a2eec58a309abf76b41f5b2", "score": "0.5571376", "text": "public boolean hasIsWalletCashTrusted() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "53ad0bd5c606bd01133290ded50d7163", "score": "0.55639935", "text": "public boolean hasIsWalletCashTrusted() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "c175e13304e9306e314a9a1d2a819dbb", "score": "0.5552747", "text": "@java.lang.Override\n public boolean hasMarketTimestamps() {\n return marketTimestamps_ != null;\n }", "title": "" }, { "docid": "e0dd14de985b5a2b25dfbb83ad6f4e8b", "score": "0.5550668", "text": "public boolean isSetTransactionData() {\n return this.transactionData != null;\n }", "title": "" }, { "docid": "10c8a09b377b29f2c88738e9b55cb6e5", "score": "0.5546181", "text": "public boolean hasIsTradeBanned() {\n return ((bitField0_ & 0x00010000) == 0x00010000);\n }", "title": "" }, { "docid": "90480162c19a412bc308934dc21c45e4", "score": "0.5540959", "text": "public wangzitian.realtime.Transactions.Builder setTradeAmount(double value) {\n validate(fields()[9], value);\n this.TradeAmount = value;\n fieldSetFlags()[9] = true;\n return this;\n }", "title": "" }, { "docid": "bf20c0595288bc0f91c95aeff4317f20", "score": "0.55377185", "text": "public boolean isSetPaymentRange()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(PAYMENTRANGE$6) != 0;\n }\n }", "title": "" }, { "docid": "7fcf02e5f4353ed7cb7c13aec5dd9a58", "score": "0.55200857", "text": "public boolean hasIsTradeBanned() {\n return ((bitField0_ & 0x00010000) == 0x00010000);\n }", "title": "" }, { "docid": "3dc64b12077c917121b46731b054b7be", "score": "0.5508936", "text": "public void setTradePrice(Double tradePrice) {\n this.tradePrice = tradePrice;\n }", "title": "" }, { "docid": "f9f4c421ed57e23ac63d6b8bbe7315f9", "score": "0.5503295", "text": "boolean isSetPaidAmt();", "title": "" }, { "docid": "d67f3bdb6fc613486da83cc02da86ad0", "score": "0.5500053", "text": "public boolean hasTx() {\n return valueCase_ == 1;\n }", "title": "" }, { "docid": "d67f3bdb6fc613486da83cc02da86ad0", "score": "0.5500053", "text": "public boolean hasTx() {\n return valueCase_ == 1;\n }", "title": "" }, { "docid": "369feecef302aa44be2c5260b1a7b0c2", "score": "0.5488495", "text": "public boolean isSetSellerName() {\n return this.sellerName != null;\n }", "title": "" }, { "docid": "ea97dee1a0acf0160c7ba39b2722f14c", "score": "0.54871064", "text": "public boolean hasTx() {\n return valueCase_ == 1;\n }", "title": "" }, { "docid": "ea97dee1a0acf0160c7ba39b2722f14c", "score": "0.54871064", "text": "public boolean hasTx() {\n return valueCase_ == 1;\n }", "title": "" }, { "docid": "dcc516d3334b73dda4b3b7888f6931f8", "score": "0.547545", "text": "public long getNoTradesToCheck() {\n return noTradesToCheck;\n }", "title": "" }, { "docid": "6f3ab2c53c2d492befbd12c893698e65", "score": "0.54455197", "text": "@Override\n public boolean hadPaid() {\n return totalPaid > 0;\n }", "title": "" }, { "docid": "70e419a5a911e89832389761d7688123", "score": "0.5436608", "text": "public boolean isNotNullDiscountAmount() {\n return genClient.cacheValueIsNotNull(CacheKey.discountAmount);\n }", "title": "" }, { "docid": "5f2af54c5891396ff0027a63fd155de6", "score": "0.5425565", "text": "private boolean checkMarketData()\n {\n if (eMarketName.getText().length() == 0) {\n JOptionPane.showMessageDialog(this,\"Název trhu nesmí být prázdný\",\"Chyba\",JOptionPane.ERROR_MESSAGE);\n return false;\n }\n \n int d = -1;\n try { d = Integer.parseInt(eDelay.getText()); } catch(Exception e) {}\n \n if (d < 0) {\n JOptionPane.showMessageDialog(this,\"Vypořádání musí být celé nezáporné číslo!\",\"Chyba\",JOptionPane.ERROR_MESSAGE);\n return false; \n }\n \n return true;\n }", "title": "" }, { "docid": "d9bbf086bfaa332dbc16d8a22c91e986", "score": "0.5421848", "text": "public boolean hasPrice()\n\t{\n\t\treturn (price != -1.0);\n\t}", "title": "" }, { "docid": "93972bee80b50f191cd3caa970868f43", "score": "0.541099", "text": "public boolean hasTaxRate() {\n return taxRate_ != null;\n }", "title": "" }, { "docid": "346afae7026322251bd2d3e593295cb7", "score": "0.5408394", "text": "public boolean isTradeable()\n\t{\n\t\tSystem.out.println(\"Should not have arrived here: Trader.isTradeable()\");\n\t\treturn true;\n\t}", "title": "" }, { "docid": "8c3138ec34fab5fb961191f472f2a732", "score": "0.54051536", "text": "public boolean hasTradeBanExpiration() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }", "title": "" }, { "docid": "820fc55bb5e209e5d8dc010fa56bd412", "score": "0.54022294", "text": "public boolean hasTradeBanExpiration() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }", "title": "" }, { "docid": "71fe744ea82318726c58a1b1a30ef3c6", "score": "0.5388895", "text": "public boolean hasRaiseAmount() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "5ec559c8e87e2c206ba838bd29f9739e", "score": "0.53870726", "text": "public void setTradeId(String tradeId) {\r\n this.tradeId = tradeId == null ? null : tradeId.trim();\r\n }", "title": "" }, { "docid": "3e9b30e21605579425a4ef62c49c7b21", "score": "0.53838146", "text": "public boolean hasTax() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "title": "" }, { "docid": "a43053dc027ae38be648e03d28436573", "score": "0.5383321", "text": "boolean hasRaiseAmount();", "title": "" }, { "docid": "a43053dc027ae38be648e03d28436573", "score": "0.5383321", "text": "boolean hasRaiseAmount();", "title": "" }, { "docid": "8db9b5ecb2d6926cc69d7308afe38123", "score": "0.5374982", "text": "public boolean hasRaiseAmount() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "2181e530b836817ad405b4fa1e1a29ed", "score": "0.53746176", "text": "public boolean hasTradeTypeSZ() {\n return fieldSetFlags()[15];\n }", "title": "" }, { "docid": "322b846ae5078a1b2798c1e49ef9dac0", "score": "0.5373631", "text": "public boolean hasTax() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }", "title": "" }, { "docid": "33ed8914906031e30e878c933af2d1f7", "score": "0.5366983", "text": "public void setTradeDate(String tradeDate) {\r\n this.tradeDate = tradeDate == null ? null : tradeDate.trim();\r\n }", "title": "" }, { "docid": "d97e1be7114c2c1da6be424da7472729", "score": "0.53608614", "text": "@Test\n\tpublic void testGetSetAmount() {\n\t\tBigDecimal amount = BigDecimal.ZERO;\n\t\torderPaymentImpl.setAmount(amount);\n\t\tassertSame(amount, orderPaymentImpl.getAmount());\n\t}", "title": "" }, { "docid": "82811c7c56c803415343af980303bb4b", "score": "0.5360571", "text": "boolean isSetMarketValue();", "title": "" }, { "docid": "66c13b1dfe302298e72d245bce824206", "score": "0.5359048", "text": "public boolean hasRaiseAmount() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "7f07dd6d1e5497f92106ea932d89e969", "score": "0.5347093", "text": "public boolean hasRaiseAmount() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }", "title": "" }, { "docid": "5576b0164cde36bdd90beb931b09b044", "score": "0.534649", "text": "public wangzitian.realtime.Transactions.Builder clearTradeAmount() {\n fieldSetFlags()[9] = false;\n return this;\n }", "title": "" }, { "docid": "383bdc6dc3dc7404f0fabca8a064940c", "score": "0.53386897", "text": "public boolean hasTubeAmt() {\n return ((bitField0_ & 0x00008000) == 0x00008000);\n }", "title": "" }, { "docid": "a4f8240d5f3aa43fe5d3ac662d14dce1", "score": "0.532351", "text": "public boolean hasMarketTimestamps() {\n return marketTimestampsBuilder_ != null || marketTimestamps_ != null;\n }", "title": "" }, { "docid": "da39a8d6d6ffa715550825d49ff72e3a", "score": "0.5322002", "text": "public boolean hasTubeAmt() {\n return ((bitField0_ & 0x00008000) == 0x00008000);\n }", "title": "" }, { "docid": "8d7c5e1cf33ffd683d4f873bda89786f", "score": "0.5300661", "text": "public boolean isSetWithholdingTaxDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(WITHHOLDINGTAXDESCRIPTION$2) != 0;\n }\n }", "title": "" }, { "docid": "a916f67586bd8ccb0d2f79b6c15ad29d", "score": "0.5283549", "text": "@java.lang.Override\n public boolean hasFees() {\n return fees_ != null;\n }", "title": "" }, { "docid": "a916f67586bd8ccb0d2f79b6c15ad29d", "score": "0.5283549", "text": "@java.lang.Override\n public boolean hasFees() {\n return fees_ != null;\n }", "title": "" }, { "docid": "2f83f29997ce5d7cd3defa4057aea1a3", "score": "0.527377", "text": "public void setTradeName(String tradeName) {\n this.tradeName = tradeName == null ? null : tradeName.trim();\n }", "title": "" }, { "docid": "f410ba122a60f8413a01666a0dd534f9", "score": "0.5271723", "text": "public boolean isSetDealInfo() {\n return this.dealInfo != null;\n }", "title": "" }, { "docid": "53981f33bb741ddf67574830c09e6996", "score": "0.5269885", "text": "public boolean hasTotalRaiseAmount() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "addc8e3a5346b23f5ca1c0da2da5877d", "score": "0.52649325", "text": "public boolean isSetOverdueFee() {\n return EncodingUtils.testBit(__isset_bitfield, __OVERDUEFEE_ISSET_ID);\n }", "title": "" }, { "docid": "f08fc43f679149a51e357b0e1399a0fb", "score": "0.52648085", "text": "public boolean hasTotalRaiseAmount() {\n return ((bitField0_ & 0x00000020) == 0x00000020);\n }", "title": "" }, { "docid": "ab281b7effbfb179307cde400a3cc994", "score": "0.52609587", "text": "public boolean isSetSalaryTop() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SALARYTOP_ISSET_ID);\n }", "title": "" }, { "docid": "41db1520bc65ba2e5a7cc8ebc1ce5c56", "score": "0.52605796", "text": "public boolean isSetBuyerName() {\n return this.buyerName != null;\n }", "title": "" }, { "docid": "7d598e668b272c242a4d127f05607996", "score": "0.52478695", "text": "public boolean isValidBet(int amount) {\n return amount > 0 && amount <= mUserMoney;\n }", "title": "" }, { "docid": "eb7972bc3790c1dec16874e964791924", "score": "0.52413934", "text": "boolean hasIsWalletCashTrusted();", "title": "" }, { "docid": "a9e7d87726d3922fb5ea6e5739ef1f80", "score": "0.5241184", "text": "public boolean hasTotalRaiseAmount() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "346757bce0006b2391cf8d65c8cdaf68", "score": "0.5239651", "text": "public boolean hasTotalRaiseAmount() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }", "title": "" }, { "docid": "f2e0dbfa537ac97d82d3ab57c991c3fd", "score": "0.52383155", "text": "boolean isSetTxnTimePOSBOM();", "title": "" }, { "docid": "a7872aeab57d77fbd6ced5bd82bf29e4", "score": "0.5232178", "text": "public boolean hasAskPrice() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" }, { "docid": "dace0e6567eb988c6c5b7c6db92c2db3", "score": "0.52318025", "text": "public boolean isSetInvestorID() {\n return this.investorID != null;\n }", "title": "" }, { "docid": "a9f51fdb86cf2bca031fce999cc9276f", "score": "0.52310425", "text": "public boolean hasTaxRate() {\n return taxRateBuilder_ != null || taxRate_ != null;\n }", "title": "" }, { "docid": "efc4d2d4c933ee6d589148c57926eb60", "score": "0.52289116", "text": "public void setAmount(java.math.BigDecimal param){\n localAmountTracker = param != null;\n \n this.localAmount=param;\n \n\n }", "title": "" } ]
ad139a2dd11c9c37620d1cd61ed58863
Replace a term with its definition so that we do not have to handle defined terms later on.
[ { "docid": "710a684d5132411f497b6a0a116dc0e2", "score": "0.72644264", "text": "private Term replaceWithDefinition(Term result) {\n if (result instanceof ApplicationTerm) {\n FunctionSymbol func = ((ApplicationTerm) result).getFunction();\n if (!func.isIntern() && func.getDefinition() != null) {\n if (func.getParameterSorts().length == 0) {\n result = func.getDefinition();\n } else {\n // If we would accept this here,\n // we would need to handle the definition of a term\n // when accessing its parameters with SmtInterpolUtil.getArg()\n throw new SMTLIBException(\"Terms with definitions are not supported currently.\");\n }\n }\n }\n return result;\n }", "title": "" } ]
[ { "docid": "061f2d9a062b6c3d2cf709742ddc311f", "score": "0.63857406", "text": "protected abstract void dealWithTerm(Term term);", "title": "" }, { "docid": "28ffe6ea4dc1fc905e239694462a1169", "score": "0.62928784", "text": "public void xsetTerm(org.apache.xmlbeans.XmlString term)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TERM$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TERM$0);\n }\n target.set(term);\n }\n }", "title": "" }, { "docid": "cf055faaee1f5029f7e0336a91fd9991", "score": "0.61845326", "text": "public void setTerm(java.lang.String term)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TERM$0, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TERM$0);\n }\n target.setStringValue(term);\n }\n }", "title": "" }, { "docid": "43d2c22b4c399211dd39453ebd000df7", "score": "0.60290104", "text": "public void set(Term t) throws TermWareException {\n if (t.isComplexTerm()) {\n if (t.getName().equals(\"define\")) {\n if (t.getArity() != 2) {\n throw new AssertException(\"arity(define) must be 2\");\n }\n Term t1 = t.getSubtermAt(0);\n Term t2 = t.getSubtermAt(1);\n String name = t1.getName();\n\n BooleanHolder changed = new BooleanHolder(false);\n t2 = ncons(t2);\n t2 = resolveMacroses(t2, changed, true);\n t2 = escapeAtom(t2, name);\n\n //t2=cppTermSystem_.apply(t2);\n //t2=cppEvalTermSystem_.apply(t2);\n\n Term rule = TermWare.getInstance().getTermFactory().createTerm(\"rule\", t1, t2);\n\n\n //cppEvalTermSystem_.addRule(rule);\n\n defs_.put(name, rule);\n } else if (t.getName().equals(\"define_list\")) {\n if (t.getArity() != 3) {\n throw new AssertException(\"arity(define_list) must be 3\");\n }\n Term t1 = t.getSubtermAt(0);\n Term t2 = t.getSubtermAt(1);\n Term t3 = t.getSubtermAt(2);\n //t2=cppTermSystem_.apply(t2); \n //t3=cppTermSystem_.apply(t3);\n //t3=cppEvalTermSystem_.apply(t3);\n boolean escape_t2 = false;\n boolean escape_t3 = false;\n if (t3.isAtom()) {\n t3 = TermWare.getInstance().getTermFactory().createTerm(\"Id\", t3);\n escape_t3 = true;\n }\n if (t2.isAtom()) {\n t2 = TermWare.getInstance().getTermFactory().createTerm(\"Id\", t2);\n escape_t2 = true;\n }\n int nVariables = identToX(t2, t3);\n if (escape_t3) {\n t3 = t3.getSubtermAt(0);\n }\n if (escape_t2) {\n t2 = t2.getSubtermAt(0);\n }\n\n BooleanHolder changed = new BooleanHolder(false);\n t3 = ncons(t3);\n t3 = resolveMacroses(t3, changed, true);\n t3 = escapeAtom(t3, t1.getName());\n\n Term definition = TermWare.getInstance().getTermFactory().createTerm(\n \"definition\", t1, TermWare.getInstance().getTermFactory().createInt(nVariables), t3);\n //cppEvalTermSystem_.addRule(rule);\n defs_.put(t1.getName(), definition);\n } else {\n throw new AssertException(\"unknown set term\");\n }\n }\n }", "title": "" }, { "docid": "1fe9250b75c2ba4aec8751d658215156", "score": "0.5989346", "text": "public void setTerm(String term) {\r\n this.term = term;\r\n }", "title": "" }, { "docid": "1fe9250b75c2ba4aec8751d658215156", "score": "0.5989346", "text": "public void setTerm(String term) {\r\n this.term = term;\r\n }", "title": "" }, { "docid": "e5dd8f2b3d2eef802cf2a1394fdd7d0a", "score": "0.5965186", "text": "public void setTerm(String term) {\n\t\tthis.term = term;\n\t}", "title": "" }, { "docid": "f5593239e9efce9b7061394a5dc919ff", "score": "0.5931243", "text": "public void retractDef(String kinTerm) {\n // Retract this proposed definition; it has been disproved.\n // Remove it & all its auxilliaries from this LearnedDT\n theory.remove(kinTerm);\n Iterator iter = theory.keySet().iterator();\n while (iter.hasNext()) {\n String kTerm = (String) iter.next();\n if (kTerm.indexOf(kinTerm + \"<aux>\") > -1) {\n iter.remove();\n }\n }\n TreeMap oldDefDyads = (TreeMap) dyadsDefined.remove(kinTerm),\n oldUnDefDyads = (TreeMap) dyadsUndefined.remove(kinTerm);\n dyadsUndefined.put(kinTerm, mergeTrees(oldDefDyads, oldUnDefDyads));\n auxPreds.retract(kinTerm);\n }", "title": "" }, { "docid": "2618dd321af92be8c0ffc4ce7af30678", "score": "0.58373207", "text": "public final Term substitute(Variable variable, Term term) {\n assert variable.domain().equals(term.domain()) : \"variable and term of different type\";\n if (!variables().contains(variable)) {\n return this;\n }\n Term result = substitute_(variable, term);\n assert domain().equals(result.domain()) : \"evaluation is of a different type than original\";\n assert ((BooleanSupplier)\n () -> {\n Set<Variable> expectedVariables = new HashSet<>(variables());\n expectedVariables.remove(variable);\n expectedVariables.addAll(term.variables());\n return result.variables().equals(expectedVariables);\n })\n .getAsBoolean()\n : \"result does not have the expected set of variables\";\n return result;\n }", "title": "" }, { "docid": "3725149996070866e596dbdcd544b332", "score": "0.5804381", "text": "private void lookupDefinition(Concept word, IWiktionaryEntry entry) {\n for (IWikiString gloss : entry.getGlosses()) {\n if (!gloss.getPlainText().equals(\"\")) {\n Definition definition = null;\n definition = new Definition(gloss.getPlainText());//TODO: choos definition\n definition.setTerm(word);\n if (!word.getDefinitions().contains(definition)) {\n word.getDefinitions().add(definition);\n }\n }\n }\n }", "title": "" }, { "docid": "db8f237f1864e39f745091294f58ac38", "score": "0.5800927", "text": "private Term makeTerm(TermId tid, String name, String definition ) {\n return new Term(\n tid,\n new ArrayList<>(),\n name,\n definition,\n ImmutableList.of(),\n null,\n new ArrayList<>(),\n new ArrayList<>(),\n false,\n null,\n null,\n new ArrayList<>());\n }", "title": "" }, { "docid": "7dfe88791565e49c32701e13a6c2c917", "score": "0.57827175", "text": "public synchronized void setTerm(int term) {\n this.term = term;\n }", "title": "" }, { "docid": "b26006dcf6287551d399c5f9cf546a9d", "score": "0.5734793", "text": "void visit(Term<?> term);", "title": "" }, { "docid": "78b287f97ec0b5caad832ddddf3ad0ed", "score": "0.57251436", "text": "public void substitute(Term input) {\n\t\tif(var.numRefs > 0) {\n\t\t\tinput.simplify();\n\t\t} else {\n\t\t\t// should I somehow mark that input is garbage?\n\t\t}\n\t\tvar.value = input;\n\t\t// body.isSimplified = false;\n\t\tbody.simplify(); // this forces substitution (in the unwrap helper function)\n\t\t// why not just have the unwrap method here? -> because that wouldn't be lazy\n\t\t// could I implement unwrap as a getter method?\n\t}", "title": "" }, { "docid": "3a13690730c6bc83661b2ed5fa8dd1d2", "score": "0.5705217", "text": "private void updateTermInDictionary(String term, String docName, int index, int indexOfTermInDoc) {\n //term already in the dictionary\n if (tempTermsDictionary.containsKey(term)) {\n //not the first time of the term in this doc\n if (postingListArray[index].containsKey(docName))\n postingListArray[index].put(docName, new Pair(postingListArray[index].get(docName).getKey() + 1, postingListArray[index].get(docName).getValue()));\n else { //first time of the term in the doc\n postingListArray[index].put(docName, new Pair<Integer, Integer>(1, indexOfTermInDoc));\n }\n } else { //add term to all dictionaries\n tempTermsDictionary.put(term, index);\n postingListArray[index] = new HashMap<>();\n postingListArray[index].put(docName, new Pair<Integer, Integer>(1, indexOfTermInDoc));\n\n }\n\n }", "title": "" }, { "docid": "17e7d5e2137ec63a7e32b1f22d03ff0e", "score": "0.5693239", "text": "public void addDefinition(String word, String definition) {\n\t\tCharacter first = word.charAt(0);\n\t\tTrieNode letter = myStartingLetters.get(first);\n\t\tif (letter == null) {\n\t\t\tmyStartingLetters.put(first, new TrieNode()); \n\t\t\tletter = myStartingLetters.get(first);\n\t\t} \n\t\t// Note: we cannot have else because we have to keep adding \n\t\t// \t\t\tthe word if it is not there \n\t\tfor (int i = 1; i < word.length(); i++) {\n\t\t\t// look for char at index i \n\t\t\tCharacter current = word.charAt(i); \n\t\t\tTrieNode node = letter.myNextLetters.get(current); \n\t\t\tif (node == null) {\n\t\t\t\tletter.myNextLetters.put(current, new TrieNode());\n\t\t\t\tletter = letter.myNextLetters.get(current);\n\t\t\t} else {\n\t\t\t\tletter = node; \n\t\t\t}\n\t\t}\n\t\tletter.myDefinition = definition; \n\n\t}", "title": "" }, { "docid": "431ca663121dd152c79758b247804086", "score": "0.56226873", "text": "Term createTerm();", "title": "" }, { "docid": "ee2abacee355a6bbf351585913923048", "score": "0.5589736", "text": "public TermPosting(String term) {\r\n this.term = term;\r\n this.documents = new HashMap<>();\r\n }", "title": "" }, { "docid": "80df0d5d9492e93c02236d34776060ef", "score": "0.5584622", "text": "public void setReplaceWord(String word) { _state.setReplaceWord(word); }", "title": "" }, { "docid": "9dac659ad913731d44e64d2ca6d91b28", "score": "0.54887486", "text": "public Term getReplacedBy(String termId) {\n ObsoleteTerm term = retrieveObsoleteTerm(termId);\n String termReplacedBy = null;\n if (term != null) {\n termReplacedBy = term.getTermReplacedBy();\n }\n if (termReplacedBy == null || termReplacedBy.isEmpty()) {\n return null;\n }\n return retrieveTerm(termReplacedBy.trim(), term.getOntologyName());\n }", "title": "" }, { "docid": "d20103fc00f6c42f595c6e0dae0f3e75", "score": "0.5459602", "text": "private String processTerm(String term, String type){\n\t\tString termProcessed = term;\n\t\t\n\t\t//Step 1: replace all underscores with hyphens. Universal for entities and qualities.\n\t\ttermProcessed = termProcessed.replaceAll(\"_\", \"-\");\n\t\t\n\t\t//Step 2: transform plurals to singular. Only for entities. \n\t\tif(type.compareTo(this.entitytable)==0 && outputter.knowledge.TermOutputerUtilities.isPlural(termProcessed)){\n\t\t\ttermProcessed=outputter.knowledge.TermOutputerUtilities.toSingular(termProcessed);\n\t\t}\n\t\t\n\t\treturn termProcessed;\n\t}", "title": "" }, { "docid": "435681aa61166ada9858c536ec4b0079", "score": "0.5447917", "text": "public void setTerm(ArrayList<Term> term) {\n this.term = term;\n }", "title": "" }, { "docid": "6a8b6aeb27ac4bcf211d43628118ae42", "score": "0.54373294", "text": "private TermAndDefinition getNewTermAndDefinition() {\n if(Integer.parseInt(familiarNum.getText()) < 10 && remaining.size() != 0) {\n return remaining.get(0);\n } else if(familiars.size() != 0) {\n return familiars.get(0);\n }\n return new TermAndDefinition(\"\", \"\");\n }", "title": "" }, { "docid": "ac76c1e8910d438b6bd0da8c91ffa3a8", "score": "0.5412766", "text": "public void visit(Term term){\n \t\n \tif (term.getMulopFactorList().struct!=null && (checkEnumInt(term.getFactor().struct, term.getMulopFactorList().struct))) {\n \t\tterm.struct = Tab.intType;\t//enum i int\n \t}\n \telse if (term.getMulopFactorList().struct!=null && !term.getFactor().struct.compatibleWith(term.getMulopFactorList().struct)){\n \t\treport_error(\"Greska na liniji \" + term.getLine() + \" nekompatibilni! \", null);\n \t\tterm.struct=Tab.noType;\n \t}\n \telse {\n \t\t\n \t\tterm.struct = term.getFactor().struct;\n \t}\n }", "title": "" }, { "docid": "8474a874a9d9ccfdf29944891f027705", "score": "0.53872794", "text": "public void remove(Term t) {\n if (t.isAtom()) {\n defs_.remove(t.getName());\n }\n }", "title": "" }, { "docid": "b522d43972cfe1a837023a7f5e2b4669", "score": "0.5383717", "text": "public void setTerm(Integer term) {\r\n\t\tthis.term = term;\r\n\t}", "title": "" }, { "docid": "cae133de4d0477a686994b01c9d34492", "score": "0.5372217", "text": "private static int addToTermDictionary(String term){\n\t\tint termID = -1;\n\t\tif(termDictionary.containsKey(term)){\n\t\t\ttermID = termDictionary.get(term);\n\t\t\tif(termID != stopWordMarker)\n\t\t\t\tglobalTermFrequency[termID]=globalTermFrequency[termID]+1;\n\t\t}else{\n\t\t\ttermID = currentTermId;\n\t\t\ttermDictionary.put(term, termID);\n\t\t\tglobalTermFrequency[termID]=1;\n\t\t\tcurrentTermId = currentTermId + 1;\n\t\t}\n\t\t\t\n\t\treturn termID;\n\t}", "title": "" }, { "docid": "4494da23a30f824b1bdeb7a972a78e3f", "score": "0.5325982", "text": "public void replaceDeclaration(Declaration ref, Declaration decl) {\n getDeclaratorWithParameters().replaceParameter(ref, decl);\n SymbolTools.removeSymbols(this, ref);\n SymbolTools.addSymbols(this, decl);\n }", "title": "" }, { "docid": "8b03aedd7b37a4beea2991c75e59ae43", "score": "0.53218454", "text": "public void insertTerm(RuleTerm rt){\n termList.add(rt);\n }", "title": "" }, { "docid": "cd5ddf213afb584a60cae52f30fe9b17", "score": "0.5315871", "text": "private Element addTermNode(Term term, Namespace namespace) {\r\n\r\n\t\tElement termnode = new Element(IXmlElements.TERM, namespace);\r\n\t\t{\r\n\t\t\tElement id = new Element(IXmlElements.ID, namespace);\r\n\t\t\tid.setText(term.getId());\r\n\t\t\ttermnode.addContent(id);\r\n\r\n\t\t\tif (term.getCreator() != null) {\r\n\t\t\t\tElement creater = new Element(IXmlElements.CREATOR, namespace);\r\n\t\t\t\tcreater.setText(term.getCreator().getSourceURI());\r\n\t\t\t\ttermnode.addContent(creater);\r\n\t\t\t}\r\n\t\t\tElement creation_date = new Element(IXmlElements.CREATION_DATE,\r\n\t\t\t\t\tnamespace);\r\n\t\t\tSimpleDateFormat format = new SimpleDateFormat(\r\n\t\t\t\t\tIXmlElements.DATE_FORMAT);\r\n\t\t\tStringBuffer datestring = new StringBuffer();\r\n\t\t\tif (term.getCreationDate() != null) {\r\n\t\t\t\tformat.format(term.getCreationDate(), datestring,\r\n\t\t\t\t\t\tnew FieldPosition(0));\r\n\t\t\t\tcreation_date.setText(datestring.toString());\r\n\t\t\t\ttermnode.addContent(creation_date);\r\n\t\t\t}\r\n\r\n\t\t\tif (term.getCreationPlace() != null) {\r\n\t\t\t\tElement creation_Place = new Element(\r\n\t\t\t\t\t\tIXmlElements.CREATION_PLACE, namespace);\r\n\t\t\t\tcreation_Place.setText(term.getCreationPlace().getSourceURI());\r\n\t\t\t\ttermnode.addContent(creation_Place);\r\n\t\t\t}\r\n\r\n\t\t\tif (term.getSourceReference() != null) {\r\n\t\t\t\tElement source_reference = new Element(\r\n\t\t\t\t\t\tIXmlElements.SOURCE_REFERENCE, namespace);\r\n\t\t\t\tsource_reference.setText(term.getSourceReference()\r\n\t\t\t\t\t\t.getSourceURI());\r\n\t\t\t\ttermnode.addContent(source_reference);\r\n\t\t\t}\r\n\r\n\t\t\tif (term.getInterpretation() != null) {\r\n\t\t\t\tElement interpretation = new Element(\r\n\t\t\t\t\t\tIXmlElements.INTERPRETATION, namespace);\r\n\t\t\t\tinterpretation.setText(term.getInterpretation().getSourceURI());\r\n\t\t\t\ttermnode.addContent(interpretation);\r\n\t\t\t}\r\n\r\n\t\t\tif (term.getNormalizedRepresentation() != null) {\r\n\t\t\t\tElement normalized_representation = new Element(\r\n\t\t\t\t\t\tIXmlElements.NORMALIZED_REPRESENTATION, namespace);\r\n\t\t\t\tnormalized_representation.setText(term\r\n\t\t\t\t\t\t.getNormalizedRepresentation().getSourceURI());\r\n\t\t\t\ttermnode.addContent(normalized_representation);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tTermParts printedrepresentation = term.getPrintedRepresentation();\r\n\t\t\r\n\t\tElement printed_representation = addTermPartsNode(\r\n\t\t\t\tprintedrepresentation, namespace);\r\n\r\n\t\ttermnode.addContent(printed_representation);\r\n\r\n\t\tElement certain = new Element(IXmlElements.CERTAIN, namespace);\r\n\t\tif (term.isCertain()) {\r\n\t\t\tcertain.setText(\"true\");\r\n\t\t} else if (!term.isCertain()) {\r\n\t\t\tcertain.setText(\"false\");\r\n\t\t}\r\n\r\n\t\tElement referenced_terms = new Element(IXmlElements.REFERENCED_TERMS,\r\n\t\t\t\tnamespace);\r\n\r\n\t\tSet<Term> referencedTerms = term.getReferencedTerms();\r\n\r\n\t\tfor (Term referenceTerm : referencedTerms) {\r\n\r\n\t\t\tElement subTerm = addTermNode(referenceTerm, namespace);\r\n\t\t\treferenced_terms.addContent(subTerm);\r\n\r\n\t\t}\r\n\r\n\t\ttermnode.addContent(referenced_terms);\r\n\r\n\t\ttermnode.addContent(certain);\r\n\r\n\t\treturn termnode;\r\n\r\n\t}", "title": "" }, { "docid": "ae4be0854ed821ad2efe107c47738689", "score": "0.5278762", "text": "public PathTerm substitute(PathTerm toSub, SimplePathTerm subFor);", "title": "" }, { "docid": "8b68d959c4389aae53f3e3cbf836afd9", "score": "0.5234474", "text": "public void setDefinition(String defname);", "title": "" }, { "docid": "55173f43b79536ec54d1029d534f52ef", "score": "0.52123773", "text": "public void addTf_idf(String term, Double tf_idf){\n\t\ttf_idfs.put(term, tf_idf);\n\t}", "title": "" }, { "docid": "0f05946cd57e0d6c3eb247a5095c3d3b", "score": "0.52040285", "text": "private Term formMacroTerm(Term t, BooleanHolder changed, boolean inDefine) throws TermWareException {\n if (t.isString() || t.isChar() || t.isNumber() || t.isAtom()) {\n if (t.isAtom()) {\n if (defs_.containsKey(t.getName())) {\n Term x = parseMacroWithRest(t, changed);\n if (x.isComplexTerm()) {\n if (x.getArity() == 1) {\n return TermWare.getInstance().getTermFactory().createTerm(\"m\", x.getSubtermAt(0));\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"mr\", x.getSubtermAt(0), x.getSubtermAt(1));\n }\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"m\", x);\n }\n } else if (!inDefine) {\n t = checkFileOrLine(t, changed);\n }\n }\n return TermWare.getInstance().getTermFactory().createTerm(\"l\", t);\n }\n Term cursor = t;\n Term left = null;\n Term right = null;\n Term middle = null;\n while (cursor.isComplexTerm() && cursor.getName().equals(\"cons\")) {\n Term frs = cursor.getSubtermAt(0);\n Term next = cursor.getSubtermAt(1);\n Term snd = null;\n if (next.getName().equals(\"cons\")) {\n snd = next.getSubtermAt(0);\n }\n if (frs.isAtom()) {\n String s = frs.getName();\n if (!defs_.containsKey(s)) {\n if (!inDefine) {\n frs = checkFileOrLine(frs, changed);\n }\n if (left == null) {\n left = frs;\n } else {\n left = ncons(left, frs);\n }\n cursor = next;\n continue;\n } else {\n Term x = parseMacroWithRest(cursor, changed);\n if (x.isString() || x.isChar() || x.isNumber() || x.isAtom()) {\n middle = x;\n } else {\n middle = x.getSubtermAt(0);\n }\n if (x.getArity() == 2) {\n right = x.getSubtermAt(1);\n }\n if (left == null) {\n if (right == null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"m\", middle);\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"mr\", middle, right);\n }\n } else if (right == null) {\n if (middle == null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"l\", left);\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"lm\", left, middle);\n }\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"lmr\", left, middle, right);\n }\n }\n } else {\n if (left == null) {\n left = frs;\n } else {\n left = ncons(left, frs);\n }\n cursor = next;\n continue;\n }\n }\n if (cursor.isAtom()) {\n Object o = defs_.get(cursor.getName());\n if (o != null) {\n cursor = parseMacroWithRest(cursor, changed);\n if (cursor.isComplexTerm()) {\n middle = cursor.getSubtermAt(0);\n if (cursor.getArity() == 2) {\n right = cursor.getSubtermAt(1);\n }\n } else {\n middle = cursor;\n }\n if (left == null && middle == null && right == null) {\n // impossible\n throw new AssertException(\"impossible parsing: no parts at all\");\n } else if (left == null && middle == null && right != null) {\n throw new AssertException(\"impossible parsing: only right part\");\n } else if (left == null && middle != null && right == null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"m\", middle);\n } else if (left == null && middle != null && right != null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"mr\", middle, right);\n } else if (left != null && middle == null && right == null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"l\", left);\n } else if (left != null && middle == null && right != null) {\n // impossible\n return TermWare.getInstance().getTermFactory().createTerm(\"lr\", left, right);\n } else if (left != null && middle != null && right == null) {\n return TermWare.getInstance().getTermFactory().createTerm(\"lm\", left, middle);\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"lmr\", left, middle, right);\n }\n } else if (!inDefine) {\n cursor = checkFileOrLine(cursor, changed);\n }\n }\n if (left == null) {\n left = cursor;\n } else {\n left = ncons(left, cursor);\n }\n return TermWare.getInstance().getTermFactory().createTerm(\"l\", left);\n }", "title": "" }, { "docid": "41330bf7679a206d762913e78b6eed17", "score": "0.51768124", "text": "public static SetlObject termToValue(final State state, final Term term) throws TermConversionException {\n if (term.size() == 2 && term.lastMember().getClass() == Term.class) {\n final SetlHashMap<Value> members = SetlHashMap.valueToSetlHashMap(state, term.firstMember());\n final SetlClass classDefinition = SetlClass.termToValue(state, (Term) term.lastMember());\n return createNew(members, classDefinition);\n }\n throw new TermConversionException(\"malformed \" + FUNCTIONAL_CHARACTER);\n }", "title": "" }, { "docid": "c1d2b3910a0d42026aa1826a8a80d7f4", "score": "0.5173832", "text": "public String ReplaceKeyword(String sin, String keyword) {\n String sout;\n sout = sin;\n sout = sout.replaceAll(\"concept\", keyword);\n return sout;\n }", "title": "" }, { "docid": "eeb36b20ab092b1050dd6525d56a8584", "score": "0.51680946", "text": "public Builder setTerm(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n term_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "042aec290942525f0eb72f11643bc9f4", "score": "0.51538825", "text": "protected void define(String name, Object object) {\n\t\tdefined.put(name, object);\n\t}", "title": "" }, { "docid": "e7cdc0e99680f4854ed46be66413a564", "score": "0.5152401", "text": "public Term getReplacedBy(String termId, String ontology) {\n if (isObsolete(termId, ontology)) {\n Term term = retrieveTerm(termId, ontology);\n String termReplacedBy = ((ObsoleteTerm) term).getTermReplacedBy();\n if (termReplacedBy == null || termReplacedBy.isEmpty()) {\n return null;\n }\n return retrieveTerm(termReplacedBy, term.getOntologyName());\n }\n return null;\n }", "title": "" }, { "docid": "9cc7b8c88a0c8616e1079f5cbfeae05f", "score": "0.5143354", "text": "private static Term createLogicTerm(String term, Map<String, Term> termMap, Machine machine) {\n\t\tString termWoBrackets = term.replace(\"(\", \"\").replace(\")\", \"\");\n\t\tif (isTermPlaceholder(termWoBrackets)) {\n\t\t\treturn termMap.get(termWoBrackets);\n\t\t}\n\t\tif (!term.contains(\"(\") && !term.contains(\")\")) {\n\t\t\tTerm t = new Term(term);\n\t\t\tLogicTerm logicTerm = LogicParser.getTerm(term, machine, termMap);\n\t\t\tt.setLeft(logicTerm);\n\t\t\tif (!t.isComplete()) {\n\t\t\t\tt.setOperator(Operator.NOP);\n\t\t\t\tt.setRight(new Constant<Integer>(0));\n\t\t\t}\n\t\t\treturn t;\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fc03a8a47c5811ca0245dde1637221be", "score": "0.51416594", "text": "public <T extends Definition> void purgeDefinition(T definition);", "title": "" }, { "docid": "20ad64697769d71377b5c1d6437fab91", "score": "0.51393676", "text": "public void substitute(Variable v,Term t){\r\n\r\n\t\tif (this.equals(v)){\r\n\t\t\tif (t instanceof Variable)\r\n\t\t\t\trename(t.name);\r\n\t\t\telse if (t instanceof Constant)\r\n\t\t\t\tbind((Constant)t);\r\n\t\t} // if\r\n\t}", "title": "" }, { "docid": "2f59c30ae1259ce512a7868f0836c342", "score": "0.51140237", "text": "public void loadTerm(String functionName, SimpleNode term) {\n\t\tif(term.id==YalTreeConstants.JJTINTEGER)\n\t\t{\n\t\t\tLdConst(Integer.parseInt(term.val));\n\t\t}\n\t\telse if(term.id==YalTreeConstants.JJTCALL)\n\t\t{\n\t\t\tgenCall(functionName,term);\n\t\t}\n\t\telse if(term.id==YalTreeConstants.JJTACCESS)\n\t\t{\n\t\t\tgenAccess(functionName,term);\n\t\t}\n\t}", "title": "" }, { "docid": "69abe17047bfe49d3d1c490b3eed8dfc", "score": "0.5101427", "text": "private boolean useTerm(Term term) {\n return useTerm(term.field());\n }", "title": "" }, { "docid": "4b42cf7fa55765d4ccb4482e610afaf5", "score": "0.50984854", "text": "public Term getTerm() { return term; }", "title": "" }, { "docid": "824c5eaa21d2174addaa254881a540d2", "score": "0.50984585", "text": "@Override\n public PolynomialADTNode addTerm(Term term) {\n return new PolynomialADTElementNode(term, new PolynomialADTEmptyNode());\n }", "title": "" }, { "docid": "e97749876ab90380530d79120151d9f6", "score": "0.5092601", "text": "public interface VarTerm<Type> extends Term<Type> {\n\n\t/**\n\t * <p>\n\t * The name of the variable.\n\t * </p>\n\t * \n\t * @return The variable's name\n\t */\n\tString getVarName();\n\n\t/**\n\t * <p>\n\t * Assigns the provided value to this variable, checking if it satisfies the\n\t * boolean condition (if any).\n\t * </p>\n\t * \n\t * @param value\n\t * The value to be assigned\n\t * @throws SAPEREException\n\t * The value does not satisfy the boolean condition or this is\n\t * not a variable\n\t */\n\tvoid bindTo(Type value) throws SAPEREException;\n\n\t/**\n\t * <p>\n\t * Assigns the provided value to this variable, checking if it satisfies the\n\t * boolean condition (if any).\n\t * </p>\n\t * <p>\n\t * WARNING: THIS METHOD CAN RAISE ClassCastException IF TERM'S VALUE TYPE IS\n\t * NOT COMPATIBLE.\n\t * </p>\n\t * \n\t * @param value\n\t * The value to be assigned (as a Term)\n\t * @throws SAPEREException\n\t * The value does not satisfy the boolean condition or this is\n\t * not a variable\n\t */\n\tvoid bindTo(Term<?> value) throws SAPEREException;\n\n\t/**\n\t * <p>\n\t * Clears any value assignment.\n\t * </p>\n\t * \n\t * @throws SAPEREException\n\t * The term is not a variable\n\t */\n\tvoid clearBinding() throws SAPEREException;\n}", "title": "" }, { "docid": "d98523efceb3e1a2503e80d51bfa3d9c", "score": "0.50834733", "text": "@objid (\"71aa1d3c-8175-48f7-9d31-ea762c07c7fe\")\n @Override\n public Term createTerm() {\n return this.coreFactory.createTerm();\n }", "title": "" }, { "docid": "39ede41f1c173aa517c46eee1f58c36f", "score": "0.50708973", "text": "ReplacementOccurrence createReplacementOccurrence();", "title": "" }, { "docid": "b89eb8baf7e1593c3652b4e5d6d54b1b", "score": "0.50591886", "text": "public Builder clearTerm() {\n \n term_ = getDefaultInstance().getTerm();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "b6393881c49cbdb234ca4c54d410acab", "score": "0.5029114", "text": "@SubL(source = \"cycl/kb-indexing-datastructures.lisp\", position = 9327) \n public static final SubLObject reset_term_index(SubLObject v_term, SubLObject index) {\n if ((NIL != forts.fort_p(v_term))) {\n forts.reset_fort_index(v_term, index);\n } else if ((NIL != hlmt.hlmt_p(v_term))) {\n } else if ((NIL != assertion_handles.assertion_p(v_term))) {\n assertions_low.reset_assertion_index(v_term, index);\n } else if ((NIL != indexed_unrepresented_term_p(v_term))) {\n unrepresented_terms.reset_unrepresented_term_index(v_term, index, T);\n } else if ((NIL != auxiliary_indexing.auxiliary_index_p(v_term))) {\n auxiliary_indexing.reset_auxiliary_index(v_term, index);\n } else {\n Errors.error($str15$_S_is_not_indexed, v_term);\n }\n return v_term;\n }", "title": "" }, { "docid": "a5e2f7899cb885fc9b142442519d92bd", "score": "0.5002594", "text": "public void intoInvertedIndex(String term,Review review) {\n\t\tHashMap<Review, Integer> document = null;\n\t\tif(invertedIndex.containsKey(term) == false) {\n\t\t\tdocument = new HashMap<Review, Integer>();\n\t\t\tdocument.put(review, 1);\n\t\t}\n\t\telse {\n\t\t\tdocument = invertedIndex.get(term);\n\t\t\tif(document.containsKey(review)) {\n\t\t\t\tdocument.put(review,(document.get(review)+1));\n\t\t\t}\n\t\t\telse\n\t\t\t\tdocument.put(review, 1);\n\t\t}\n\t\tinvertedIndex.put(term, document);\n\t}", "title": "" }, { "docid": "d52c21810a49815cd1bedddc96ad400b", "score": "0.49995017", "text": "Replace createReplace();", "title": "" }, { "docid": "d8801a21d23ce2477f52c266704f1a2f", "score": "0.49773964", "text": "public Builder setTerm(com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n Term_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "545700a5538d1ecb3b8286775f8774ba", "score": "0.49447063", "text": "void unsetFormulaDefinition();", "title": "" }, { "docid": "80a194adeb080f7fbe82bb720b83159f", "score": "0.49366045", "text": "private void simplifyTerms() {\n // maintain a hash map of factors we've already seen\n // this allows us to compute this function in linear time\n HashMap<Expression, List<Expression>> powerMap = new HashMap<>();\n\n for (Expression term : unTerms) {\n if (powerMap.containsKey(term.getSymbolicFactors())) {\n List<Expression> newList = powerMap.get(term.getSymbolicFactors());\n\n newList.add(term.getConstantFactor());\n powerMap.replace(term.getSymbolicFactors(), newList);\n\n } else {\n List<Expression> newList = new ArrayList<>();\n\n newList.add(term.getConstantFactor());\n powerMap.put(term.getSymbolicFactors(), newList);\n }\n }\n\n // add up the constants\n this.unTerms = powerMap.keySet().stream()\n .map(key -> mult(\n key,\n add(powerMap.get(key))))\n .collect(toList());\n }", "title": "" }, { "docid": "108fb8f330d2397c673aa6a3d0bb98ce", "score": "0.49163505", "text": "public String ReplaceKeyword(String sin, RELConceptRelation rin) {\n String sout;\n sout = sin;\n sout = sout.replaceAll(\"___destination\", rin.destinationConceptName);\n sout = sout.replaceAll(\"___source\", rin.sourceConceptName);\n sout = sout.replaceAll(\"___parent\", rin.destinationConceptName);\n sout = sout.replaceAll(\"___child\", rin.sourceConceptName);\n\n return sout;\n }", "title": "" }, { "docid": "e2f798b0a466466a4c52d6a6efdb294b", "score": "0.49090415", "text": "void saveRelations(Term term);", "title": "" }, { "docid": "cb31bb2695e3ef77d54aa6b304588126", "score": "0.49005935", "text": "@SubL(source = \"cycl/kb-indexing-datastructures.lisp\", position = 10515) \n public static final SubLObject free_term_index(SubLObject v_term) {\n free_index(term_index(v_term));\n reset_term_index(v_term, new_simple_index());\n return v_term;\n }", "title": "" }, { "docid": "4164e5a79e709d2fedca681f2b21162a", "score": "0.49000263", "text": "public void addTerm(String term, int documentId) {\n int vIndex = Collections.binarySearch(mVocabulary, term);\n if (vIndex >= 0) {\n mMatrix[vIndex][documentId] = true;\n }\n }", "title": "" }, { "docid": "d66aa6263121567f35c2e59eee1be095", "score": "0.4888171", "text": "public void insertTerm(int termID, double withinDocumentFrequency) {\n\t\tfinal ExpansionTerm et = terms.get(termID);\n\t\tif (et == null)\n\t\t\tterms.put(termID, new ExpansionTerm(termID, withinDocumentFrequency));\n\t\telse\n\t\t\tet.insertRecord(withinDocumentFrequency);\n\t}", "title": "" }, { "docid": "c29f2e629f17655331fedc9175a62173", "score": "0.48756173", "text": "private Term parseMacroWithRest(Term t, BooleanHolder changed) throws TermWareException {\n if (!t.isComplexTerm()) {\n if (t.isAtom()) {\n Object o = defs_.get(t.getName());\n if (o == null) {\n throw new AssertException(\"Invalid call of parseMacro\");\n }\n Term def = (Term) o;\n if (def == null) {\n throw new AssertException(\"Invalid definition in table\");\n }\n if (def.getName().equals(\"rule\")) {\n return def.getSubtermAt(1);\n } else if (def.getName().equals(\"definition\")) {\n throw new AssertException(\"call of macro \" + t.getName() + \" without arguments\");\n }\n }\n throw new AssertException(\"Invalid call of parseMacroWithRest\");\n }\n Object o = defs_.get(t.getSubtermAt(0).getName());\n if (o == null) {\n throw new AssertException(\"Invalid call of parseMacro\");\n }\n Term def = (Term) o;\n if (def == null) {\n throw new AssertException(\"Invalid definition in table\");\n }\n if (def.getName().equals(\"rule\")) {\n t.setSubtermAt(0, def.getSubtermAt(1));\n changed.set(true);\n return t;\n } else if (def.getName().equals(\"definition\")) {\n\n int n = getDefinitionArity(def);\n String macroName = def.getSubtermAt(0).getName();\n Term[] substTerms = new Term[n];\n t = t.getSubtermAt(1);\n if (!t.getName().equals(\"cons\")) {\n throw new AssertException(\"reading of pattern <MacroName> \\\"(\\\" failed: end of line\");\n }\n if (!t.getSubtermAt(0).isString()) {\n throw new AssertException(\"<MacroName> \\\"(\\\" expected for macro:\" + macroName);\n } else if (!t.getSubtermAt(0).getString().equals(\"(\")) {\n throw new AssertException(\"<MacroName> \\\"(\\\" expected for macro:\" + macroName);\n } else {\n t = t.getSubtermAt(1);\n }\n int i = 0;\n boolean lastIsRB = false;\n while (t.getName().equals(\"cons\") && i < n) {\n t = parseMacroArgument(t, substTerms, i, 0);\n if (t.getName().equals(\"cons\")) {\n if (t.getSubtermAt(0).isString()) {\n String s = t.getSubtermAt(0).getString();\n if (!s.equals(\"(\") && !s.equals(\",\") && !s.equals(\")\")) {\n throw new AssertException(\"macro arguments must be delimited by \\\",\\\", i see:\" + s);\n } else if (s.equals(\")\") && i != n - 1) {\n throw new AssertException(\"too few arguments for macro:\" + macroName);\n }\n }\n t = t.getSubtermAt(1);\n } else if (t.isString()) {\n if (!t.getString().equals(\")\")) {\n throw new AssertException(\"macro substitution does not ended with ')'\");\n } else {\n if (i != n - 1) {\n throw new AssertException(\"macro arguments must be delimited by \\\",\\\" \");\n }\n lastIsRB = true;\n }\n }\n ++i;\n }\n Term out = getDefinitionOutput(def);\n out = substituteMacroOutput(out, substTerms);\n changed.set(true);\n //System.err.print(\"parseMacroWithRest, before_rest=\");\n //t.print(System.err);\n //System.err.println();\n if (lastIsRB) {\n return TermWare.getInstance().getTermFactory().createTerm(\"one\", out);\n } else {\n return TermWare.getInstance().getTermFactory().createTerm(\"pair\", out, t);\n }\n } else {\n throw new AssertException(\"invalid macro definition in table. \");\n }\n }", "title": "" }, { "docid": "c2b82591afb2ed40586531660bb861da", "score": "0.4875581", "text": "void bindTo(Term<?> value) throws SAPEREException;", "title": "" }, { "docid": "431e2e2615883e53cb0fa1c3f55a0a18", "score": "0.48658183", "text": "public void deleteTerm(int termid)\n\t{\n\t\tterms.remove(termid);\n\t}", "title": "" }, { "docid": "7f383f25b51741ca5aec0ced0608175a", "score": "0.48631608", "text": "public void setDefinition(String definition) {\n if (definition != null) {\n definition(definition);\n } else {\n definition(new None());\n }\n }", "title": "" }, { "docid": "0a171e1ffe161a5d817f08d69b9f3224", "score": "0.48620716", "text": "public void setHeadWord(Object headWordPtr)\n/* */ {\n/* 393 */ this.map.put(\"hw\", headWordPtr);\n/* 394 */ if ((headWordPtr instanceof HasWord)) {\n/* 395 */ setWord(((HasWord)headWordPtr).word());\n/* 396 */ } else if ((headWordPtr instanceof Label)) {\n/* 397 */ setWord(((Label)headWordPtr).value());\n/* */ }\n/* */ }", "title": "" }, { "docid": "5cdfb9bf32c6f0945ae92e93a08e1198", "score": "0.4859284", "text": "public String replaceWordInText(String word){\n\t\treturn text.replaceAll(word, text);\n\t}", "title": "" }, { "docid": "e536a3c8f623ba2754aff35ab18fd1d4", "score": "0.4845789", "text": "public Builder clearTerm() {\n bitField0_ = (bitField0_ & ~0x00000001);\n Term_ = getDefaultInstance().getTerm();\n onChanged();\n return this;\n }", "title": "" }, { "docid": "1058fdd242130a3029ec41e86439fc44", "score": "0.48389828", "text": "void selectAlternative(InputTerm<V> term) {\n this.termBuffer.replaceSelectionWithTerm(term);\n \n // update the uncommitted and hide\n // the alternatives window\n this.updateUncommittedText();\n this.closeAlternatives();\n }", "title": "" }, { "docid": "84d835e3333fc983770a8f78829e8cbb", "score": "0.4836921", "text": "public static String getTermDefinition()\n {\n return getTermDefinition(ResourceBundleManager.getInstance().getLocale());\n }", "title": "" }, { "docid": "4de9fb962e506894a729e978f9190da6", "score": "0.483138", "text": "public ElasticSearchDefaultTermCollector(final String term, final int frequency) {\n this.term = term;\n this.frequency = frequency;\n }", "title": "" }, { "docid": "088609f89673f15cda09253218ac6b32", "score": "0.48277", "text": "public void changeExpansion(Expansion exp) {}", "title": "" }, { "docid": "fab36820d4f050e0695dbd085e9c1b9a", "score": "0.48069572", "text": "public AdjectiveTerm(String term) {\r\n\t\tsuper(PartsOfSpeech.JJ, term);\r\n\t}", "title": "" }, { "docid": "8c3ce276a90d45a0a711a8358e98cb92", "score": "0.4806319", "text": "public SubjectAreaOMASAPIResponse<Term> updateTerm(String userId, String guid, Term suppliedTerm, boolean isReplace) {\n final String methodName = \"updateTerm\";\n SubjectAreaOMASAPIResponse<Term> response = new SubjectAreaOMASAPIResponse<>();\n\n try {\n InputValidator.validateNodeType(className, methodName, suppliedTerm.getNodeType(), NodeType.Term, NodeType.Activity);\n\n response = getTermByGuid(userId, guid);\n if (response.getHead() != null) {\n Term currentTerm = response.getHead();\n\n Set<String> currentClassificationNames = getCurrentClassificationNames(currentTerm);\n\n if (isReplace)\n replaceAttributes(currentTerm, suppliedTerm);\n else\n updateAttributes(currentTerm, suppliedTerm);\n\n Date termFromTime = suppliedTerm.getEffectiveFromTime();\n Date termToTime = suppliedTerm.getEffectiveToTime();\n currentTerm.setEffectiveFromTime(termFromTime);\n currentTerm.setEffectiveToTime(termToTime);\n // always update the governance actions for a replace or an update\n currentTerm.setGovernanceActions(suppliedTerm.getGovernanceActions());\n\n TermMapper termMapper = mappersFactory.get(TermMapper.class);\n EntityDetail forUpdate = termMapper.map(currentTerm);\n Optional<EntityDetail> updatedEntity = oMRSAPIHelper.callOMRSUpdateEntity(methodName, userId, forUpdate);\n if (updatedEntity.isPresent()) {\n List<Classification> classifications = forUpdate.getClassifications();\n if (CollectionUtils.isNotEmpty(classifications)) {\n for (Classification classification : classifications) {\n oMRSAPIHelper.callOMRSClassifyEntity(methodName, userId, guid, classification);\n currentClassificationNames.remove(classification.getName());\n }\n\n for (String deClassifyName : currentClassificationNames) {\n oMRSAPIHelper.callOMRSDeClassifyEntity(methodName, userId, guid, deClassifyName);\n }\n }\n }\n response = getTermByGuid(userId, guid);\n }\n\n } catch (SubjectAreaCheckedException | PropertyServerException | UserNotAuthorizedException e) {\n response.setExceptionInfo(e, className);\n }\n\n return response;\n }", "title": "" }, { "docid": "bd62ecb690f639271ffe4b64305ba436", "score": "0.48029208", "text": "public ASTExpression term() {\n\t\tASTExpression f = factor();\n\t\tASTBinaryExpression term = term2();\n\n\t\tif (term != null) {\n\t\t\tterm.expr1 = f;\n\t\t\treturn term;\n\t\t} else {\n\t\t\treturn f;\n\t\t}\n\t}", "title": "" }, { "docid": "38000a57fd48c3f4610944167b89ee58", "score": "0.47989425", "text": "public void setProblemDefinition ( FuzzyProblemClass newVar ) {\n problemDefinition = newVar;\n }", "title": "" }, { "docid": "c57cf1fba2989f31bc5839bff90a725d", "score": "0.47888467", "text": "@Override\n\tpublic void setDefinition() {\n\n\t}", "title": "" }, { "docid": "7f3c6825bead74764f8286f31b1770c0", "score": "0.47887057", "text": "public void setWord(String word)\n/* */ {\n/* 362 */ this.map.put(\"word\", word);\n/* */ }", "title": "" }, { "docid": "2796ec1be26e5d1d6d546e3f9eb40128", "score": "0.47644255", "text": "public void setWordF(String word) {\n\t this.wordf = word;\r\n\t }", "title": "" }, { "docid": "050a130e317a5e263a8d5d6b1371a2d4", "score": "0.4762023", "text": "private String replaceImmediateValue(String immediateValueLiteral, String newValue) {\n\t\tint separatorIndex = immediateValueLiteral.indexOf(AssemblyWord.VALUE_SEPARATOR);\n\t\tString frontPart = immediateValueLiteral.substring(0, separatorIndex);\n\t\tString newLiteral = frontPart + AssemblyWord.VALUE_SEPARATOR + newValue;\n\t\treturn newLiteral;\n\t}", "title": "" }, { "docid": "3a48ac8cb65c09f9d162f69b7aa979a9", "score": "0.47587305", "text": "void setCurrentTerm(long currentTerm) throws StorageException;", "title": "" }, { "docid": "1eb341c80dcce7d9f9ea6c9971e04c72", "score": "0.47504488", "text": "public void setTermDefinitionLocation(String location)\n\t{\n\t\tClass userPropClass = MedServerModelUserProperties.class;\n\n\t\tString prop = LOCAL_TERM_DEFINITIONS_LOCATION_PROPERTY;\n\n\t\tMedViewDataHandler.instance().setUserStringPreference(prop, location, userPropClass);\n\n\t\tMedViewDataHandler.instance().setTermDefinitionLocation(location); // the default term data handler is used\n\t}", "title": "" }, { "docid": "f98157c0623aad188896eff0b1fcb44b", "score": "0.4749104", "text": "public void redefinedElement(String name) throws XMLException {\n redefinedElement(name, null);\n }", "title": "" }, { "docid": "0f2b67de580681639fb96dda7c7f215d", "score": "0.4741475", "text": "private Term() { super(); }", "title": "" }, { "docid": "80ed4b691c30abad18bb08e55ed3f681", "score": "0.47388175", "text": "@Override\n public Concept fillRelated(Concept concept) {\n IWiktionaryPage word = null;\n try {\n word = getWord(concept.getLitheral(), concept.getWordType());\n\n for (IWiktionaryEntry w : word.getEntries()) {\n for (IWiktionaryWordForm wordForm : w.getWordForms()) {\n Concept related = Decomposition.createConcept(wordForm.getWordForm(), concept.getWordType());\n concept.getDerivations().add(related);\n }\n }\n } catch (DictionaryDoesNotContainConceptException e) {\n e.printStackTrace();\n }\n return concept;\n }", "title": "" }, { "docid": "0f6c46d19ed5bbc44acd104eab4dd04b", "score": "0.4734596", "text": "java.lang.String getTerm();", "title": "" }, { "docid": "e89470ed91ab75c3c950ddd086e8fa61", "score": "0.4724963", "text": "public WordpressTermTaxonomy(String alias) {\n this(alias, WORDPRESS_TERM_TAXONOMY);\n }", "title": "" }, { "docid": "2da62e7d0d504202ec433918fe382978", "score": "0.47208473", "text": "public SyntaxTreeNode term() {\n SyntaxTreeNode termNode = new SyntaxTreeNode(\"TERM\");\n stack.push(termNode);\n expect(\"$FIND\", \"term: expected FIND\");\n expect(\"$REGEX\", \"term: expected REGEX\");\n expect(\"$IN\", \"term: missing 'in'\");\n termNode.addChild(file_name());\n stack.pop();\n return termNode;\n }", "title": "" }, { "docid": "e4d2fb5f4ef4f741ff065d60379f4e1b", "score": "0.4717912", "text": "public Word(Word word){\n this.word = word.getWord();\n newLetters = new HashSet<Integer>();\n newLetters.addAll(word.getNewLetters());\n first = word.getFirst();\n blanks = new ArrayList<Integer>();\n blanks.addAll(word.getBlanks());\n }", "title": "" }, { "docid": "68dde0577dce4c34def79431dc7b7a9e", "score": "0.47003", "text": "final public void setarg(int pos,Term val) {\r\n\t\t// only to be used on bound terms\r\n\t\tif (bound & (!deref)) args[pos] = val;\r\n\t\telse IO.error(\"Term.setarg(\" + pos + \",\" + val + \")\",\r\n\t\t\t \"Can't setarg on variables!\");\r\n\t}", "title": "" }, { "docid": "e4acf9a303547f29b6e61f6bcb870fc3", "score": "0.46961993", "text": "private void replace() {\n\r\n\t}", "title": "" }, { "docid": "0a16fb3a7fb2c046fb52bc78108303b5", "score": "0.46926954", "text": "public void insert(String word, String definition)\n throws InvalidInputException {\n int index;\n Node iter = root;\n util u = new util();\n\n if(word.isEmpty() || !u.isLower(word))\n throw new InvalidInputException(\"Input is either empty or does not have only lowercase letters\");\n\n for(int i=0; i < word.length(); i++) {\n index = word.charAt(i) - 'a';\n if(iter.next[index]==null) {\n // On reaching a null link, extend it\n // by creating new nodes if there are more\n // chars to iterate over\n Node temp = new Node(alphabetSize);\n iter.next[index] = temp;\n iter = temp;\n } else {\n iter = iter.next[index];\n }\n }\n // One node beyond the last character in input word\n // has isEnd set to true and stores the definition\n iter.isEnd = true;\n iter.definition = definition;\n System.out.printf(\"Inserted \\\"%s->%s\\\" into the dictionary \\n\", word, definition);\n }", "title": "" }, { "docid": "f155a8f59e2ce96fb5680b21351dc9d5", "score": "0.4685936", "text": "public void delete(Term term) {\n new TermRepository.DeleteTermAsyncTask(termDao).execute(term);\n }", "title": "" }, { "docid": "82c6c50f87a90b1e8c046b4e6f54a798", "score": "0.4685602", "text": "@SubL(source = \"cycl/kb-indexing-datastructures.lisp\", position = 22507) \n public static final SubLObject initialize_term_intermediate_index(SubLObject v_term) {\n return reset_term_index(v_term, new_intermediate_index(Symbols.symbol_function(EQ)));\n }", "title": "" }, { "docid": "e97b77d2ba0a22d0a69a61770d74e116", "score": "0.46831778", "text": "void setDefinition(org.landxml.schema.landXML11.DefinitionDocument.Definition definition);", "title": "" }, { "docid": "58963550c8d28f80860064a614f988b8", "score": "0.46807364", "text": "public final void set(String word) {\r\n this.word= word;\r\n /*\r\n if ( RPUNCT.indexOf(word) >= 0 ) {\r\n setPosCod(postype.getCode(\"PCT\"));\r\n }\r\n */\r\n META= null;\r\n }", "title": "" }, { "docid": "2a5a567e602b35d486d7b8dffc1eafaf", "score": "0.46777937", "text": "public GoTerm copy() {\n final GoTerm goTerm = new GoTerm(id);\n goTerm.setName(name);\n goTerm.setNamespace(namespace);\n goTerm.setObsolete(obsolete);\n return goTerm;\n }", "title": "" }, { "docid": "db2561fbc68a9ac36ea992d37b621d16", "score": "0.46680275", "text": "public abstract AExp subst(String var, AExp e);", "title": "" }, { "docid": "87c4585179a1996a28659d573329c90f", "score": "0.4666162", "text": "public void resolve(Hashtable db) {\r\n\t if (definer == null) {\r\n\t\tnumclauses = 0;\r\n\t\twhile (db.get(\r\n\t\t\tterm.getfunctor() + \"/\" + term.getarity() + \"-\"\r\n\t\t\t+ (1+numclauses)) != null) numclauses++;\r\n\t\t\r\n\t\tdefiner = new TermList[numclauses+1]; // start numbering at 1\r\n\r\n\t\tfor (int i=1; i <= numclauses ;i++) {\r\n\t\t\tdefiner[i] = (TermList) db.get(\r\n\t\t\t\t\tterm.getfunctor() + \"/\" + \r\n\t\t\t\t\tterm.getarity() + \"-\" + (i));\r\n\t\t//\tIO.trace(\"resolve: \" + term.getfunctor() + \"/\" +\r\n\t\t//\t\t\tterm.getarity() + \"-\" + i +\r\n\t\t//\t\t\t\" = \" + definer[i]);\r\n\t\t}\r\n\r\n\t\tif (next != null) next.resolve(db);\r\n\t }\r\n\t}", "title": "" }, { "docid": "548faf7963f74c241908ada06a4722b3", "score": "0.46653405", "text": "public void setSemanticWord(String hWord)\n/* */ {\n/* 413 */ this.map.put(\"shw\", hWord);\n/* */ }", "title": "" } ]
bf5cd04bee0acaece7a6bd716552f6c9
Make the wizard configuration panel registered under the given configuration panel key the most top configuration panel. If no configuration panel is registered under the given key, nothing will happen.
[ { "docid": "4e76110fd2bfac9a1fb9d2f625cb6284", "score": "0.72520995", "text": "public void showConfigurationPanel(String key) {\n \t\tif (key == null) return;\n \n \t\tIWizardConfigurationPanel configPanel = getConfigurationPanel(key);\n \t\tif (configPanel != null && configPanel.getControl() != null) {\n \t\t\tpanelLayout.topControl = configPanel.getControl();\n \t\t\tpanel.layout();\n \t\t}\n \t}", "title": "" } ]
[ { "docid": "46761a63c3f2f64f59bb793a5ed49e7e", "score": "0.7205854", "text": "public IWizardConfigurationPanel getConfigurationPanel(String key) {\n \t\tif (key == null) return null;\n \t\treturn configurationPanels.get(key);\n \t}", "title": "" }, { "docid": "3fad75b811a49b3415919204f92781fc", "score": "0.64839846", "text": "public void addConfigurationPanel(String key, IWizardConfigurationPanel panel) {\n \t\tif (key == null) return;\n \t\tif (panel != null) {\n \t\t\tconfigurationPanels.put(key, panel);\n \t\t} else {\n \t\t\tconfigurationPanels.remove(key);\n \t\t}\n \t}", "title": "" }, { "docid": "9c2c7e0854809668e3cdbf2ead2c5714", "score": "0.57513535", "text": "public void setupConfigurationPanels(Composite parent, String[] configurationPanelKeys, FormToolkit toolkit) {\n \t\tAssert.isNotNull(parent);\n \t\tAssert.isNotNull(toolkit);\n \n \t\tif (configurationPanelKeys != null) {\n \t\t\tfor (int i = 0; i < configurationPanelKeys.length; i++) {\n \t\t\t\tIWizardConfigurationPanel configPanel = getConfigurationPanel(configurationPanelKeys[i]);\n \t\t\t\tif (configPanel != null) configPanel.setupPanel(parent, toolkit);\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "601751b1de5e067700b46c797c258a62", "score": "0.547376", "text": "public void setupPanel(Composite parent, String[] configurationPanelKeys, FormToolkit toolkit) {\n \t\tAssert.isNotNull(parent);\n \t\tAssert.isNotNull(toolkit);\n \n \t\tif (isPanelIsGroup()) {\n \t\t\tpanel = new Group(parent, SWT.NONE);\n \t\t\tif (getGroupLabel() != null) ((Group)panel).setText(getGroupLabel());\n \t\t} else {\n \t\t\tpanel = new Composite(parent, SWT.NONE);\n \t\t}\n \t\tAssert.isNotNull(panel);\n \t\tpanel.setFont(parent.getFont());\n \t\tpanel.setBackground(parent.getBackground());\n \n \t\tpanelLayout = new StackLayout();\n \t\tpanel.setLayout(panelLayout);\n \n \t\tsetupConfigurationPanels(panel, configurationPanelKeys, toolkit);\n \t}", "title": "" }, { "docid": "20595694f4593919c500edf978a5d2cf", "score": "0.5257557", "text": "@Override\n public ArrayList<IPanel> getNextPanels() {\n return null;\n }", "title": "" }, { "docid": "7afa477aa0c8b1a37af7baecf9009ba0", "score": "0.51523364", "text": "protected ExtendedJWidgetConfigurationPanel() {\n\n\t\t\tsuper();\n\t\t\tbuildPanel();\n\t\t}", "title": "" }, { "docid": "f6aedec6319a28e6134b06fdcb86f059", "score": "0.5147853", "text": "protected void showConfigPanel(final ConfigContainer container) {\r\n\r\n String name = \"\";\r\n if (container.getTitle() != null) {\r\n name = container.getTitle();\r\n }\r\n if (name == null && container.getGroup() != null && container.getGroup().getName() != null) {\r\n name = container.getGroup().getName();\r\n }\r\n\r\n ImageIcon icon = null;\r\n if (container.getIcon() != null) {\r\n icon = container.getIcon();\r\n } else if (container.getGroup() != null && container.getGroup().getIcon() != null) {\r\n icon = container.getGroup().getIcon();\r\n }\r\n\r\n final SwitchPanel oldPanel = mainTabbedPane.getSelectedView().getInfoPanel();\r\n AddonConfig p = AddonConfig.getInstance(container, name, \"_2\");\r\n BiancaCollapser col = new BiancaCollapser() {\r\n\r\n private static final long serialVersionUID = 1L;\r\n\r\n @Override\r\n public void onClosed() {\r\n // Show the old info panel if it isn't a closable JDCollapser\r\n // (e.g. used for config panels)\r\n if (oldPanel != null && oldPanel instanceof BiancaCollapser) {\r\n mainTabbedPane.getSelectedView().setInfoPanel(null);\r\n } else {\r\n mainTabbedPane.getSelectedView().setInfoPanel(oldPanel);\r\n }\r\n }\r\n\r\n @Override\r\n protected void onHide() {\r\n }\r\n\r\n @Override\r\n protected void onShow() {\r\n }\r\n\r\n };\r\n col.getContent().add(p.getPanel());\r\n col.setInfos(name, icon);\r\n\r\n this.mainTabbedPane.getSelectedView().setInfoPanel(col);\r\n }", "title": "" }, { "docid": "ca272df58e1eeed94efabec0b64a10a5", "score": "0.5100088", "text": "protected ExtendedJWidgetConfigurationPanel() {\n\n\t\t\t\tsuper();\n\t\t\t\tbuildPanel();\n\t\t\t}", "title": "" }, { "docid": "59315a940677e9e1b9c511030d261f05", "score": "0.4969303", "text": "private void initializePanel() {\n\t\tJFrame.setDefaultLookAndFeelDecorated(true);\n\t\tthis.setSize(455, 148);\n\t\t\n\t\t// Automatic gap insertion\n\t\tlayout.setAutoCreateContainerGaps(true);\n\t\tlayout.setAutoCreateGaps(true);\n\t \n\t\t\n\t // Initialize components \n\t\ttitle.setText(\"Welcome to the Configuration Wizard for your Talk Box\");\n\t\tlabelForTextField.setText(\"Please put the number of buttons (1 to 100) default is 1: \");\n\t \n\t\tlayout.setHorizontalGroup(layout.createSequentialGroup()\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(title)\n\t\t\t\t\t\t.addComponent(labelForTextField)\n\t\t\t\t\t\t.addComponent(this.configurationName)\n\t\t\t\t\t\t.addComponent(exit))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(text)\n\t\t\t\t\t\t.addComponent(this.textConfName)\n\t\t\t\t\t\t.addComponent(next)\n\t\t));\n\t\t\n\t\t \n\t\tlayout.setVerticalGroup(layout.createSequentialGroup()\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(title)\n\t\t\t\t\t\t.addComponent(blankSpace))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(labelForTextField)\n\t\t\t\t\t\t.addComponent(text))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(this.configurationName)\n\t\t\t\t\t\t.addComponent(this.textConfName))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(exit)\n\t\t\t\t\t\t.addComponent(next)\n\t\t));\n\t\t\n\t\tthis.add(panel);\n\t}", "title": "" }, { "docid": "f7433d556b85a384f8f76d523037f667", "score": "0.4963037", "text": "private JPanel createConfigurationPanel() {\r\n\t\tJPanel panConfiguration = new JPanel();\r\n\t\tpanConfiguration.setLayout(new BorderLayout());\r\n\t\tpanConfiguration.setBorder(BorderFactory.createTitledBorder(\"Configuration:\"));\t\t\r\n\t\t\r\n\t\tJPanel agentListAndFieldAndBtn = new JPanel(new BorderLayout());\r\n\t\t\r\n\t\tlstAgents = new JList();\r\n\t\tlstAgents.setModel(agentListModel = new DefaultListModel());\r\n\t\tJScrollPane agentScroll = new JScrollPane(lstAgents);\r\n\t\tagentListAndFieldAndBtn.add(agentScroll, BorderLayout.CENTER);\r\n\t\t\r\n\t\tJPanel fieldAndBtn = new JPanel(new BorderLayout());\r\n\t\tfieldAndBtn.add(genAgentFields(), BorderLayout.PAGE_START);\r\n\t\t\r\n\t\tJPanel btnFlow = new JPanel(new FlowLayout(FlowLayout.LEFT));\r\n\t\tbtnAddAgent = new JButton(\"Add Agent\");\r\n\t\tbtnFlow.add(btnAddAgent);\r\n\t\t\r\n\t\tbtnEditAgent = new JButton(\"Edit Agent\");\r\n\t\tbtnFlow.add(btnEditAgent);\r\n\t\tfieldAndBtn.add(btnFlow, BorderLayout.PAGE_END);\r\n\t\t\r\n\t\tagentListAndFieldAndBtn.add(fieldAndBtn, BorderLayout.PAGE_END);\r\n\t\tagentListAndFieldAndBtn.setBorder(BorderFactory.createTitledBorder(\"Agents specific\"));\r\n\t\t\r\n\t\tpanConfiguration.add(agentListAndFieldAndBtn, BorderLayout.CENTER);\r\n\t\tpanConfiguration.add(genGlobalConfigFields(), BorderLayout.PAGE_END);\r\n\r\n\t\treturn panConfiguration;\r\n\t}", "title": "" }, { "docid": "9c00b4ca5acaff848ba1be892f6d47e4", "score": "0.4959099", "text": "public JPanel getConfigurationPanel() {\n return thePanel;\n }", "title": "" }, { "docid": "cbb44474f39520da96797c1845958b0c", "score": "0.48792318", "text": "public SettingsPanel getSettingsPanel();", "title": "" }, { "docid": "cbb44474f39520da96797c1845958b0c", "score": "0.48792318", "text": "public SettingsPanel getSettingsPanel();", "title": "" }, { "docid": "49b908e17a3e9788553e9d50ef8a54fe", "score": "0.48294082", "text": "@NotNull\n JComponent getSettingsPanel();", "title": "" }, { "docid": "ecb3e688fd316ad47c36fd79e15b3e24", "score": "0.48015362", "text": "public JSFConfigurationWizardPanel(WebModuleExtender wme) {\n this.wme = wme;\n controller = ExtenderController.create();\n }", "title": "" }, { "docid": "d7f33159682685fd977fb92a67367f3a", "score": "0.4771297", "text": "private ConfigurationsPanel() {\n initComponents();\n }", "title": "" }, { "docid": "adc1ebfa34e9dce9a87e31184488f6b7", "score": "0.4752827", "text": "private void setLoginPanel(){\n\n add(cardLayoutSettings());\n setAction();\n\n }", "title": "" }, { "docid": "dd2e8ea78095f793f84ddc66e3483e82", "score": "0.4743821", "text": "@Override\n\tprotected void buildConfigurationPanel() {\n\t\tclass ExtendedJWidgetConfigurationPanel\n\t\t\t\textends\n\t\t\t\t\tJWidgetConfigurationPanel {\n\n\t\t\t/**\n\t\t\t * the spinners\n\t\t\t */\n\t\t\tprotected JSpinner minValueSpinner, maxValueSpinner;\n\n\t\t\t/**\n\t\t\t * the spinner models\n\t\t\t */\n\t\t\tprotected SpinnerNumberModel minValueSpinnerModel,\n\t\t\t\t\tmaxValueSpinnerModel;\n\n\t\t\t/**\n\t\t\t * the textfields of the spinners\n\t\t\t */\n\t\t\tprotected JTextField minValueTextField, maxValueTextField;\n\n\t\t\t/**\n\t\t\t * the combo\n\t\t\t */\n\t\t\tprotected JComboBox orientationCombo;\n\n\t\t\t/**\n\t\t\t * the change listener\n\t\t\t */\n\t\t\tprotected ChangeListener changeListener;\n\n\t\t\t/**\n\t\t\t * the textfields listener\n\t\t\t */\n\t\t\tprotected CaretListener caretListener;\n\n\t\t\t/**\n\t\t\t * the combo listener\n\t\t\t */\n\t\t\tprotected ActionListener comboListener;\n\n\t\t\t/**\n\t\t\t * the color chooser\n\t\t\t */\n\t\t\tprotected ColorChooserWidget colorChooser;\n\n\t\t\t/**\n\t\t\t * the listener to the color chooser\n\t\t\t */\n\t\t\tprotected ActionListener colorChooserListener;\n\n\t\t\t/**\n\t\t\t * the constructor of the class\n\t\t\t */\n\t\t\tprotected ExtendedJWidgetConfigurationPanel() {\n\n\t\t\t\tsuper();\n\t\t\t\tbuildPanel();\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void initializePanel() {\n\n\t\t\t\tif (getElement() != null) {\n\n\t\t\t\t\tminValueSpinner.removeChangeListener(changeListener);\n\t\t\t\t\tmaxValueSpinner.removeChangeListener(changeListener);\n\t\t\t\t\tminValueTextField.removeCaretListener(caretListener);\n\t\t\t\t\tmaxValueTextField.removeCaretListener(caretListener);\n\t\t\t\t\torientationCombo.removeActionListener(comboListener);\n\n\t\t\t\t\t// setting the new value for the spinners\n\t\t\t\t\ttry {\n\t\t\t\t\t\tminValueSpinner.setValue(Double\n\t\t\t\t\t\t\t\t.parseDouble(getProperty(getElement(),\n\t\t\t\t\t\t\t\t\t\tpropertiesList.get(0))));\n\t\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t\tminValueSpinner.setValue(0);\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\tmaxValueSpinner.setValue(Double\n\t\t\t\t\t\t\t\t.parseDouble(getProperty(getElement(),\n\t\t\t\t\t\t\t\t\t\tpropertiesList.get(1))));\n\t\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t\tmaxValueSpinner.setValue(0);\n\t\t\t\t\t}\n\n\t\t\t\t\tint orientation = SwingConstants.HORIZONTAL;\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\torientation = Integer.parseInt(getProperty(\n\t\t\t\t\t\t\t\tgetElement(), propertiesList.get(2)));\n\t\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t}\n\n\t\t\t\t\t// getting the item corresponding to the current property\n\t\t\t\t\t// value\n\t\t\t\t\tComboListItem item = null;\n\t\t\t\t\tint value = SwingConstants.HORIZONTAL;\n\n\t\t\t\t\tfor (int i = 0; i < orientationCombo.getItemCount(); i++) {\n\n\t\t\t\t\t\titem = (ComboListItem) orientationCombo.getItemAt(i);\n\n\t\t\t\t\t\t// getting the value of the item\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tvalue = Integer\n\t\t\t\t\t\t\t\t\t.parseInt(item.getValue().toString());\n\n\t\t\t\t\t\t\tif (value == orientation) {\n\n\t\t\t\t\t\t\t\torientationCombo.setSelectedIndex(i);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\t\t\tvalue = SwingConstants.HORIZONTAL;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\torientationCombo.addActionListener(comboListener);\n\t\t\t\t\tminValueTextField.addCaretListener(caretListener);\n\t\t\t\t\tmaxValueTextField.addCaretListener(caretListener);\n\t\t\t\t\tminValueSpinner.addChangeListener(changeListener);\n\t\t\t\t\tmaxValueSpinner.addChangeListener(changeListener);\n\n\t\t\t\t\tcolorChooser.removeListener(colorChooserListener);\n\t\t\t\t\tcolorChooser.init(getProperty(getElement(),\n\t\t\t\t\t\t\tpropertiesList.get(3)));\n\t\t\t\t\tcolorChooser.addListener(colorChooserListener);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void buildPanel() {\n\n\t\t\t\tString minValueLabel = \"\", maxValueLabel = \"\", orientationLabel = \"\", horizontalLabel = \"\", verticalLabel = \"\", colorLabel = \"\", lookLabel = \"\", dataLabel = \"\";\n\t\t\t\ttry {\n\t\t\t\t\tminValueLabel = bundle.getString(\"minValue\");\n\t\t\t\t\tmaxValueLabel = bundle.getString(\"maxValue\");\n\t\t\t\t\torientationLabel = bundle.getString(\"orientation\");\n\t\t\t\t\thorizontalLabel = bundle.getString(\"horizontal\");\n\t\t\t\t\tverticalLabel = bundle.getString(\"vertical\");\n\t\t\t\t\tdataLabel = bundle.getString(\"dataLabel\");\n\t\t\t\t\tlookLabel = bundle.getString(\"lookLabel\");\n\t\t\t\t\tcolorLabel = bundle.getString(\"colorLabel\");\n\t\t\t\t} catch (Exception ex) {\n\t\t\t\t\tex.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\tJLabel minValueLbl = new JLabel(minValueLabel + \" : \");\n\t\t\t\tminValueLbl.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\t\t\tJLabel maxValueLbl = new JLabel(maxValueLabel + \" : \");\n\t\t\t\tmaxValueLbl.setHorizontalAlignment(SwingConstants.RIGHT);\n\t\t\t\tJLabel orientationLbl = new JLabel(orientationLabel + \" : \");\n\t\t\t\torientationLbl.setHorizontalAlignment(SwingConstants.RIGHT);\n\n\t\t\t\t// creating the spinners\n\t\t\t\tminValueSpinnerModel = new SpinnerNumberModel(0,\n\t\t\t\t\t\tDouble.NEGATIVE_INFINITY + 1,\n\t\t\t\t\t\tDouble.POSITIVE_INFINITY - 1, 1);\n\t\t\t\tmaxValueSpinnerModel = new SpinnerNumberModel(0,\n\t\t\t\t\t\tDouble.NEGATIVE_INFINITY + 1,\n\t\t\t\t\t\tDouble.POSITIVE_INFINITY - 1, 1);\n\n\t\t\t\tminValueSpinner = new JSpinner(minValueSpinnerModel);\n\t\t\t\tmaxValueSpinner = new JSpinner(maxValueSpinnerModel);\n\t\t\t\tminValueSpinner.setEditor(new JSpinner.NumberEditor(\n\t\t\t\t\t\tminValueSpinner, spinnersFormat));\n\t\t\t\tmaxValueSpinner.setEditor(new JSpinner.NumberEditor(\n\t\t\t\t\t\tmaxValueSpinner, spinnersFormat));\n\t\t\t\tminValueTextField = ((JSpinner.NumberEditor) minValueSpinner\n\t\t\t\t\t\t.getEditor()).getTextField();\n\t\t\t\tmaxValueTextField = ((JSpinner.NumberEditor) maxValueSpinner\n\t\t\t\t\t\t.getEditor()).getTextField();\n\n\t\t\t\t// setting the listener to the changes of the properties\n\t\t\t\tchangeListener = new ChangeListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void stateChanged(ChangeEvent evt) {\n\n\t\t\t\t\t\tif (evt.getSource().equals(minValueSpinner)) {\n\n\t\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(0),\n\t\t\t\t\t\t\t\t\tminValueSpinner.getValue().toString(),\n\t\t\t\t\t\t\t\t\tfalse);\n\n\t\t\t\t\t\t} else if (evt.getSource().equals(maxValueSpinner)) {\n\n\t\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(1),\n\t\t\t\t\t\t\t\t\tmaxValueSpinner.getValue().toString(),\n\t\t\t\t\t\t\t\t\tfalse);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\tcaretListener = new CaretListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void caretUpdate(CaretEvent evt) {\n\n\t\t\t\t\t\tif (evt.getSource().equals(minValueTextField)) {\n\n\t\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(0),\n\t\t\t\t\t\t\t\t\tminValueTextField.getText(), false);\n\n\t\t\t\t\t\t} else if (evt.getSource().equals(maxValueTextField)) {\n\n\t\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(1),\n\t\t\t\t\t\t\t\t\tmaxValueTextField.getText(), false);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// creating the panel used to select the values for the progress\n\t\t\t\t// bar\n\t\t\t\tJPanel dataPanel = new JPanel();\n\t\t\t\tTitledBorder dataBorder = new TitledBorder(dataLabel);\n\t\t\t\tdataPanel.setBorder(dataBorder);\n\n\t\t\t\tGridBagLayout gridBag = new GridBagLayout();\n\t\t\t\tdataPanel.setLayout(gridBag);\n\t\t\t\tGridBagConstraints c = new GridBagConstraints();\n\t\t\t\tc.fill = GridBagConstraints.HORIZONTAL;\n\t\t\t\tc.insets = new Insets(1, 0, 1, 0);\n\n\t\t\t\tc.gridwidth = 1;\n\t\t\t\tc.anchor = GridBagConstraints.EAST;\n\t\t\t\tgridBag.setConstraints(minValueLbl, c);\n\t\t\t\tdataPanel.add(minValueLbl);\n\n\t\t\t\tc.gridwidth = GridBagConstraints.REMAINDER;\n\t\t\t\tc.anchor = GridBagConstraints.WEST;\n\t\t\t\tc.weightx = 50;\n\t\t\t\tgridBag.setConstraints(minValueSpinner, c);\n\t\t\t\tdataPanel.add(minValueSpinner);\n\n\t\t\t\tc.gridwidth = 1;\n\t\t\t\tc.anchor = GridBagConstraints.EAST;\n\t\t\t\tc.weightx = 1;\n\t\t\t\tgridBag.setConstraints(maxValueLbl, c);\n\t\t\t\tdataPanel.add(maxValueLbl);\n\n\t\t\t\tc.gridwidth = GridBagConstraints.REMAINDER;\n\t\t\t\tc.anchor = GridBagConstraints.WEST;\n\t\t\t\tc.weightx = 50;\n\t\t\t\tgridBag.setConstraints(maxValueSpinner, c);\n\t\t\t\tdataPanel.add(maxValueSpinner);\n\n\t\t\t\t// creating the look panel\n\t\t\t\tJPanel lookPanel = new JPanel();\n\t\t\t\tTitledBorder lookBorder = new TitledBorder(lookLabel);\n\t\t\t\tlookPanel.setBorder(lookBorder);\n\n\t\t\t\t// creating the color chooser and its label\n\t\t\t\tJLabel colorChooserLbl = new JLabel(colorLabel + \" :\");\n\t\t\t\tcolorChooser = new ColorChooserWidget();\n\n\t\t\t\tcolorChooserListener = new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(3),\n\t\t\t\t\t\t\t\tcolorChooser.getValue(), true);\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// the combo used to select the orientation of the progress bar\n\t\t\t\torientationCombo = new JComboBox();\n\n\t\t\t\t// creating the combo items\n\t\t\t\torientationCombo.addItem(new ComboListItem(\n\t\t\t\t\t\tSwingConstants.HORIZONTAL, horizontalLabel));\n\t\t\t\torientationCombo.addItem(new ComboListItem(\n\t\t\t\t\t\tSwingConstants.VERTICAL, verticalLabel));\n\n\t\t\t\t// adding the listener to the combo box\n\t\t\t\tcomboListener = new ActionListener() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void actionPerformed(ActionEvent evt) {\n\n\t\t\t\t\t\tComboListItem item = (ComboListItem) orientationCombo\n\t\t\t\t\t\t\t\t.getSelectedItem();\n\n\t\t\t\t\t\tif (item != null) {\n\n\t\t\t\t\t\t\tsetProperty(getElement(), propertiesList.get(2),\n\t\t\t\t\t\t\t\t\titem.getValue().toString(), true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\t// filling the panel\n\t\t\t\tGridBagLayout gridBag0 = new GridBagLayout();\n\t\t\t\tlookPanel.setLayout(gridBag0);\n\t\t\t\tGridBagConstraints c0 = new GridBagConstraints();\n\t\t\t\tc0.fill = GridBagConstraints.HORIZONTAL;\n\n\t\t\t\tc0.gridwidth = 1;\n\t\t\t\tc0.anchor = GridBagConstraints.EAST;\n\t\t\t\tc0.weightx = 1;\n\t\t\t\tc0.insets = new Insets(1, 0, 1, 5);\n\t\t\t\tgridBag0.setConstraints(orientationLbl, c0);\n\t\t\t\tlookPanel.add(orientationLbl);\n\n\t\t\t\tc0.gridwidth = GridBagConstraints.REMAINDER;\n\t\t\t\tc0.anchor = GridBagConstraints.WEST;\n\t\t\t\tc0.weightx = 50;\n\t\t\t\tc0.insets = new Insets(1, 0, 1, 0);\n\t\t\t\tgridBag0.setConstraints(orientationCombo, c0);\n\t\t\t\tlookPanel.add(orientationCombo);\n\n\t\t\t\tc0.gridwidth = 1;\n\t\t\t\tc0.anchor = GridBagConstraints.EAST;\n\t\t\t\tc0.weightx = 1;\n\t\t\t\tc0.insets = new Insets(1, 0, 1, 5);\n\t\t\t\tgridBag0.setConstraints(colorChooserLbl, c0);\n\t\t\t\tlookPanel.add(colorChooserLbl);\n\n\t\t\t\tc0.fill = GridBagConstraints.NONE;\n\t\t\t\tc0.gridwidth = GridBagConstraints.REMAINDER;\n\t\t\t\tc0.anchor = GridBagConstraints.WEST;\n\t\t\t\tc0.weightx = 1;\n\t\t\t\tc0.insets = new Insets(1, 0, 1, 0);\n\t\t\t\tgridBag0.setConstraints(colorChooser, c0);\n\t\t\t\tlookPanel.add(colorChooser);\n\n\t\t\t\t// creating and filling the panel containing all the widgets\n\t\t\t\tJPanel allPanel = new JPanel();\n\t\t\t\tallPanel.setBorder(new EmptyBorder(7, 7, 20, 7));\n\t\t\t\tallPanel.setLayout(new GridLayout(1, 2));\n\t\t\t\tallPanel.add(dataPanel);\n\t\t\t\tallPanel.add(lookPanel);\n\n\t\t\t\tSpringLayout layout = new SpringLayout();\n\t\t\t\tsetLayout(layout);\n\t\t\t\tlayout.putConstraint(SpringLayout.NORTH, this, 0,\n\t\t\t\t\t\tSpringLayout.NORTH, allPanel);\n\t\t\t\tlayout.putConstraint(SpringLayout.EAST, this, 0,\n\t\t\t\t\t\tSpringLayout.EAST, allPanel);\n\t\t\t\tadd(allPanel);\n\t\t\t}\n\t\t}\n\n\t\tconfigurationPanel = new ExtendedJWidgetConfigurationPanel();\n\t}", "title": "" }, { "docid": "1d6045b62e0ca8e2b32cb95d1c6cbf86", "score": "0.47213742", "text": "private JPanel getPropertyMainPanel()\r\n {\r\n propertyMainPanel = new JPanel();\r\n propertyMainPanel.setLayout(new BorderLayout());\r\n\r\n propertyHelpText = new JTextArea( Messages.getString(\"ConfigurationWindow.\" + propertyName) );\r\n propertyHelpText.setTabSize(4);\r\n propertyHelpText.setLineWrap(true);\r\n propertyHelpText.setWrapStyleWord(true);\r\n propertyHelpText.setEditable(false);\r\n propertyHelpText.setBackground(parentWindow.getBackground());\r\n propertyHelpText.setSelectionColor(parentWindow.getBackground());\r\n jScrollPane2 = new JScrollPane(propertyHelpText);\r\n jScrollPane2.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );\r\n jScrollPane2.setPreferredSize(new Dimension (380, 80));\r\n jScrollPane2.setBorder(new CompoundBorder(new EmptyBorder(ConfigurationWindow.MARGIN_Y, ConfigurationWindow.MARGIN_X,0,ConfigurationWindow.MARGIN_X), parentWindow.createLineBorder()));\r\n propertyMainPanel.add(jScrollPane2, BorderLayout.NORTH);\r\n \r\n //We add a JTextArea to edit the property's value.\r\n jTextArea = new JTextArea();\r\n jTextArea.setMargin(new Insets(5,5,5,5));\r\n jTextArea.setText(propertyValue);\r\n jScrollPane = new JScrollPane(jTextArea);\r\n jScrollPane.setBackground(Color.white);\r\n jScrollPane.setPreferredSize(new Dimension(380, 60));\r\n jScrollPane.setBorder(new CompoundBorder(createMatteBorder(), parentWindow.createLineBorder()));\r\n\t propertyMainPanel.add(jScrollPane, BorderLayout.CENTER);\r\n\r\n\t //We add a default button to restore the default value.\r\n ToolTipManager.sharedInstance().setInitialDelay(150);\r\n propertyButtonDefault = new JButton(Messages.getString(\"ConfigurationWindow.default\"));\r\n propertyButtonDefault.setToolTipText(parentWindow.getDefaultProperty(propertyName));\r\n propertyButtonDefault.addActionListener(new java.awt.event.ActionListener() {\r\n @Override\r\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e)\r\n {\r\n \tjTextArea.setText(parentWindow.getDefaultProperty(propertyName));\r\n }\r\n });\r\n\r\n //We add a save button to save the change.\r\n propertyButtonSave = new JButton(Messages.getString(\"ConfigurationWindow.modify\"));\r\n propertyButtonSave.addActionListener(new java.awt.event.ActionListener() {\r\n @Override\r\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e)\r\n {\r\n \tparentWindow.setProperty(row, jTextArea.getText());\r\n exit();\r\n }\r\n });\r\n\r\n //We add a cancel button to exit without saving.\r\n propertyButtonCancel = new JButton(Messages.getString(\"ConfigurationWindow.cancel\"));\r\n propertyButtonCancel.addActionListener(new ActionListener() {\r\n @Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e)\r\n {\r\n exit();\r\n }\r\n });\r\n \r\n JPanel propertyButtonsPanel = new JPanel();\r\n propertyButtonsPanel.setLayout(new BoxLayout(propertyButtonsPanel,BoxLayout.X_AXIS));\r\n propertyButtonsPanel.setBorder(new EmptyBorder(ConfigurationWindow.MARGIN_Y,ConfigurationWindow.MARGIN_X,ConfigurationWindow.MARGIN_Y, ConfigurationWindow.MARGIN_X));\r\n propertyButtonsPanel.add(propertyButtonDefault);\r\n propertyButtonsPanel.add(Box.createHorizontalStrut(10));\r\n propertyButtonsPanel.add(propertyButtonSave);\r\n propertyButtonsPanel.add(Box.createHorizontalGlue());\r\n propertyButtonsPanel.add(propertyButtonCancel);\r\n \r\n propertyMainPanel.add(propertyButtonsPanel, BorderLayout.SOUTH);\r\n \r\n return propertyMainPanel;\r\n }", "title": "" }, { "docid": "b35de6a505a8333de295421a66de6e73", "score": "0.47203088", "text": "public ServicesConfigurationWizard() {\n\t\tsetForcePreviousAndNextButtons(true);\n\t\taddPage(new SelectServiceConfigurationPage(\"Service Configurations\")); //$NON-NLS-1$\n\t}", "title": "" }, { "docid": "683145eeacd36148adfbc225860e48b3", "score": "0.46934596", "text": "private DeploymentSettingsConfigurationPanel getDeploymentSettingsConfigurationPanel() {\r\n\t\tif (deploymentSettingsConfigurationPanel==null) {\r\n\t\t\tdeploymentSettingsConfigurationPanel = new DeploymentSettingsConfigurationPanel(null);\r\n\t\t\tdeploymentSettingsConfigurationPanel.addActionListenerToSelectionComponents(this.getSettingsChangeListener());\r\n\t\t\tdeploymentSettingsConfigurationPanel.addDocumentListenerToTextFields(this.getSettingsChangeListener());\r\n\t\t}\r\n\t\treturn deploymentSettingsConfigurationPanel;\r\n\t}", "title": "" }, { "docid": "86ba81f02fa24adc236232c4c3443eb1", "score": "0.46811086", "text": "private void configureMainMenu ()\n {\n// ActionsConfiguratorsManager manager = ActionsConfiguratorsManager.getInstance();\n// manager.addMainMenuConfigurator(new Converter16_16ActionsConfigurator());\n }", "title": "" }, { "docid": "e2a9407cdbb0b853d3bf1a4f025da964", "score": "0.46587104", "text": "public boolean setCurrentPanel(Object id) {\n\n // First, get the hashtable reference to the panel that should\n // be displayed.\n \n WizardPanelDescriptor nextPanel =\n (WizardPanelDescriptor)panelHashmap.get(id);\n \n // If we couldn't find the panel that should be displayed, return\n // false.\n \n if (nextPanel == null)\n return false; \n\n WizardPanelDescriptor oldPanel = currentPanel;\n currentPanel = nextPanel;\n \n firePropertyChange(CURRENT_PANEL_DESCRIPTOR_PROPERTY, oldPanel, currentPanel);\n \n return true;\n \n }", "title": "" }, { "docid": "69cdfa573aeb4f768f4076553f846094", "score": "0.46453577", "text": "@Override\n public WizardPanel getNextPanel() {\n saveSelectedFields();\n return new DeidentifyProgressPanel(DeidData.doDeface);\n }", "title": "" }, { "docid": "fc058cf6930a777789618b02316d0495", "score": "0.46443182", "text": "public WizardPanelDescriptor getPanelDescriptor(Object id) {\n return (WizardPanelDescriptor)panelHashmap.get(id);\n }", "title": "" }, { "docid": "9a8cff17cd5593dd6ea5875c2acfb41d", "score": "0.46402156", "text": "private JPanel buildAdvancedPanel() {\n OptionMaster optMaster = OptionMaster.INSTANCE;\n MemoryOption heapSize = (MemoryOption)optMaster.getOption(\"HEAP_SIZE\");\n BooleanOption jogl = (BooleanOption)optMaster.getOption(\"JOGL_TOGL\");\n BooleanOption use3d = (BooleanOption)optMaster.getOption(\"USE_3DSTUFF\");\n BooleanOption defaultBundle = (BooleanOption)optMaster.getOption(\"DEFAULT_LAYOUT\");\n DirectoryOption startupBundle = (DirectoryOption)optMaster.getOption(\"STARTUP_BUNDLE\");\n // SliderOption sliderTest = (SliderOption)optMaster.getOption(\"SLIDER_TEST\");\n \n JPanel outerPanel = new JPanel();\n \n JPanel startupPanel = new JPanel();\n startupPanel.setBorder(BorderFactory.createTitledBorder(\"Startup Options\"));\n \n // Build the memory panel\n JPanel heapPanel = McVGuiUtils.makeLabeledComponent(heapSize.getLabel()+\":\", heapSize.getComponent());\n \n // JPanel testPanel = McVGuiUtils.makeLabeledComponent(sliderTest.getLabel()+\":\", sliderTest.getComponent());\n \n // Build the 3D panel\n JCheckBox use3dCheckBox = (JCheckBox)use3d.getComponent();\n use3dCheckBox.setText(use3d.getLabel());\n JCheckBox joglCheckBox = (JCheckBox)jogl.getComponent();\n joglCheckBox.setText(jogl.getLabel());\n JPanel j3dPanel = McVGuiUtils.makeLabeledComponent(\"3D:\",\n McVGuiUtils.topBottom(use3dCheckBox, joglCheckBox, null));\n \n // Build the bundle panel\n JScrollPane startupBundleTree = (JScrollPane)startupBundle.getComponent();\n JCheckBox defaultBundleCheckBox = (JCheckBox)defaultBundle.getComponent();\n defaultBundleCheckBox.setText(defaultBundle.getLabel());\n JPanel bundlePanel = McVGuiUtils.makeLabeledComponent(startupBundle.getLabel()+\":\",\n McVGuiUtils.topBottom(startupBundleTree, defaultBundleCheckBox, McVGuiUtils.Prefer.TOP));\n \n org.jdesktop.layout.GroupLayout panelLayout = new org.jdesktop.layout.GroupLayout(startupPanel);\n startupPanel.setLayout(panelLayout);\n panelLayout.setHorizontalGroup(\n panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(heapPanel)\n // .add(testPanel)\n .add(j3dPanel)\n .add(bundlePanel)\n );\n panelLayout.setVerticalGroup(\n panelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(panelLayout.createSequentialGroup()\n .add(heapPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)\n // .add(testPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n // .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)\n .add(j3dPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.UNRELATED)\n .add(bundlePanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n );\n \n org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(outerPanel);\n outerPanel.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(layout.createSequentialGroup()\n .addContainerGap()\n .add(startupPanel, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(layout.createSequentialGroup()\n .addContainerGap()\n .add(startupPanel, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n \n return outerPanel;\n }", "title": "" }, { "docid": "d5d48fdfa17227064551a39472beb6c0", "score": "0.4619087", "text": "ConfigPanel(PrefsDialog parent, AppConfig appConfig, String panelName,\r\n String nameSpace) {\r\n this(parent);\r\n // Set these AFTER calling this(), since the default values\r\n // are set there... and we need to replace those.\r\n this.panelName = panelName;\r\n this.nameSpace = nameSpace;\r\n }", "title": "" }, { "docid": "5a12df671f95f9d9d1ccacdec3c25683", "score": "0.4618147", "text": "public void addAllKeySelectingPanels() {\n\t\tallKeySelectingPanels.addAll(redPlayerBindings.getKeySelectingPanels());\n\t\tallKeySelectingPanels.addAll(bluePlayerBindings.getKeySelectingPanels());\n\t}", "title": "" }, { "docid": "e6d1a02db2aa58a4357c354934434481", "score": "0.4615538", "text": "@Override\n public void newPanelModel() {\n Configuration configuration = Configurations.currentConfiguration.deepCopy();\n\n // Configure the panel model\n setPanelModel(new AppearanceSettingsPanelModel(\n getPanelName(),\n configuration\n ));\n\n }", "title": "" }, { "docid": "8f1459791c91b934b896b419a65d6944", "score": "0.4611303", "text": "@Test\n\tpublic void TC_DA_PANEL_TC031() {\n\t\tHomePage homePage = preconditionLoginValid();\n\n\t\tPanelDialog panelDialog = (PanelDialog) homePage.gotoPanelPage()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.clickLinkedText(LinkedText.ADD_NEW);\n\t\tboolean actualResult = panelDialog.isPanelSettingFormDisplayed(PanelSettingType.CHART);\n\t\tAssert.assertTrue(actualResult, \"Panel setting From does not display properly.\");\n\t\t\t\t\n\t\tactualResult = panelDialog.clickHeatMapRadioButton().isPanelSettingFormDisplayed(PanelSettingType.INDICATOR);\n\t\tAssert.assertTrue(actualResult, \"Panel setting From does not display properly.\");\n\t\t\n\t\tactualResult = panelDialog.clickHeatMapRadioButton().isPanelSettingFormDisplayed(PanelSettingType.REPORT);\n\t\tAssert.assertTrue(actualResult, \"Panel setting From does not display properly.\");\n\t\t\n\t\tactualResult = panelDialog.clickHeatMapRadioButton().isPanelSettingFormDisplayed(PanelSettingType.HEAT_MAP);\n\t\tAssert.assertTrue(actualResult, \"Panel setting From does not display properly.\");\n\n\t\t\n\t}", "title": "" }, { "docid": "a476ad23a757c845cb97be3abc53616d", "score": "0.45456275", "text": "private void setCentralPanel(WizardPanel p) {\n Component c = ((BorderLayout) wizardDialog.getContentPane().getLayout())\n .getLayoutComponent(BorderLayout.CENTER);\n if (c != null) wizardDialog.getContentPane().remove(c);\n wizardDialog.add(p.getPanelComponent(), BorderLayout.CENTER);\n wizardDialog.repaint();\n }", "title": "" }, { "docid": "0be4c3b53b093c18d96eb60189badf17", "score": "0.45311466", "text": "private void setPanelKiri(){\n\n JPanel PanelKiri = new JPanel();\n JButton TombolKiri1 = new JButton(\"Button 1\");\n JButton TombolKiri2 = new JButton(\"Button 2\");\n PanelKiri.add(TombolKiri1);\n PanelKiri.add(TombolKiri2);\n\n this.contentPane.add(PanelKiri, BorderLayout.WEST);\n }", "title": "" }, { "docid": "6ba4930a96a4c83f88deed202e8f45d2", "score": "0.45199278", "text": "@Override\n public ReportModuleSettings getConfiguration() {\n initializePanel();\n return configPanel.getConfiguration();\n }", "title": "" }, { "docid": "09efa46b8d53f18d2feb2b3f0a67e79b", "score": "0.44902757", "text": "private BrowserPanel<ModuleConfigurationImpl<?>> getModuleBrowser(final int numberOfRequiredFields)\n\t{\n\t\tfinal BrowserPanel<ModuleConfigurationImpl<?>> modulePanel =\n\t\t\tnew BrowserPanel<ModuleConfigurationImpl<?>>(\n\t\t\t\t\t\"modules\", \n\t\t\t\t\tnew ArrayList<ModuleConfigurationImpl<?>>(), \n\t\t\t\t\tnumberOfRequiredFields > 0, \n\t\t\t\t\tnew StringResourceModel(\"module\", BrowseEntityWebPage.this, null))\n\t\t{\n\t\t\tprivate static final long serialVersionUID = 1L;\n\n\t\t\t@Override\n\t\t\tprotected void onClick(AjaxRequestTarget target,\n\t\t\t\t\tModuleConfigurationImpl entity, BrowserPanel rightSibling)\n\t\t\t{\n//\t\t\t\tList list;\n//\t\t\t\t\n//\t\t\t\tif(entity instanceof QuestionnaireConfigurationEntity)\n//\t\t\t\t{\n//\t\t\t\t\tQuestionnaireConfigurationEntity q = configurationDao.findById(entity.getId());\n//\t\t\t\t\t\n//\t\t\t\t\tlist = q.getQuestions();\n//\t\t\t\t}\n//\t\t\t\telse\n//\t\t\t\t{\n//\t\t\t\t\tlist = new ArrayList();\n//\t\t\t\t}\n//\t\t\t\t\n//\t\t\t\trightSibling.resetDisplayList(list);\n\t\t\t\t\n\t\t\t\tBrowseEntityWebPage.this.selectedModule = entity;\n\t\t\t\t\n\t\t\t\t//target.addComponent(rightSibling);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tprotected String getEntityName(ModuleConfigurationImpl entity)\n\t\t\t{\n\t\t\t\treturn entity.getName();\n\t\t\t}\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic boolean isVisible()\n\t\t\t{\n\t\t\t\treturn numberOfRequiredFields > 0;\n\t\t\t}\n\t\t};\n\t\treturn modulePanel;\n\t}", "title": "" }, { "docid": "7f768d7be9fc46a2bfe9ab4ef80f04e9", "score": "0.44867113", "text": "protected ConfigPanel(PrefsDialog parent) {\r\n this.parent = parent;\r\n appConfig = JSynthLibInjector.getInstance(AppConfig.class);\r\n\r\n }", "title": "" }, { "docid": "a6f6a15fbc38906ccdc9921da98c8c42", "score": "0.4485946", "text": "public PanelConfiguracion() {\n initComponents();\n\n AfipPanel.setVisible(false);\n\n lToken.setText(System.getProperty(\"shoc.afip.auth.token\"));\n lSign.setText(System.getProperty(\"shoc.afip.auth.sign\"));\n\n lDirectorio.setText(System.getProperty(\"user.dir\"));\n\n for (Propiedad prop : service.listAll()) {\n cbPropiedades.addItem(prop);\n }\n tfValor.setText(((Propiedad) cbPropiedades.getSelectedItem()).getValor());\n }", "title": "" }, { "docid": "3b54fc714d64382169af6d32894f263b", "score": "0.44834542", "text": "public JPanel wikiPathwaysPanel(){\n\t\tlogger.info(\"wikiPathwaysPanel(): Creating wikiPathwaysPanel...\");\n \tJPanel wikiPathwaysPanel = new JPanel();\n \t\n JPanel wikiPathwaysOrganismPanel = new JPanel();\n \twikiPathwaysOrganismPanel.setBorder(BorderFactory.createTitledBorder(\"1 - Select organism\"));\n \t\n \tJPanel wikiPathwaysIdPanel = new JPanel();\n \twikiPathwaysIdPanel.setBorder(BorderFactory.createTitledBorder(\"2 - Select identifier\"));\n\t\t \t\n \t// create the objects contained in this JPlanel\n \tJLabel wikipathwaysOrganismLable = new JLabel(organism);\n JLabel wpEntrezLable = new JLabel(\"Entrez Gene ID:\");\n \n JComboBox wikiPathwaysOrganismComboBx = new JComboBox(wpOrganisms);\n JComboBox wikiPathwaysIdComboBx = new JComboBox(cyAttributesHeaders);\n \t\n \n // add combobox listeners\n wikiPathwaysOrganismComboBx.setSelectedIndex(0);\n\t\tPeanutModel.getInstance().setOrganism((String) wikiPathwaysOrganismComboBx.getSelectedItem());\n wikiPathwaysOrganismComboBx.addItemListener(new ItemListener(){\n \tpublic void itemStateChanged(ItemEvent evt){\n \t\tPeanutModel.getInstance().setOrganism((String)evt.getItem());\n }});\n \n \n wikiPathwaysIdComboBx.setSelectedIndex(0);\n PeanutModel.getInstance().setColumnId((String) wikiPathwaysIdComboBx.getSelectedItem()); \n wikiPathwaysIdComboBx.addItemListener(new ItemListener(){\n \tpublic void itemStateChanged(ItemEvent evt){\n \t\tPeanutModel.getInstance().setColumnId((String)evt.getItem());\n }});\n \t\n \n \n\t\tlogger.info(\"wikiPathwaysPanel(): Layouting wikiPathwaysPanel...\");\n \t//create layouts - layout has been designed with netbeans\n // layout for the organism panel\n GroupLayout wikiPathwaysOrganismPanelLayout = new GroupLayout(wikiPathwaysOrganismPanel);\n wikiPathwaysOrganismPanel.setLayout(wikiPathwaysOrganismPanelLayout);\n wikiPathwaysOrganismPanelLayout.setHorizontalGroup(\n wikiPathwaysOrganismPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysOrganismPanelLayout.createSequentialGroup()\n .add(25, 25, 25)\n .add(wikipathwaysOrganismLable)\n .add(46, 46, 46)\n .add(wikiPathwaysOrganismComboBx, 0, 253, Short.MAX_VALUE)\n .addContainerGap())\n );\n wikiPathwaysOrganismPanelLayout.setVerticalGroup(\n wikiPathwaysOrganismPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysOrganismPanelLayout.createSequentialGroup()\n .add(27, 27, 27)\n .add(wikiPathwaysOrganismPanelLayout.createParallelGroup(GroupLayout.BASELINE)\n .add(wikipathwaysOrganismLable)\n .add(wikiPathwaysOrganismComboBx, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n .addContainerGap(37, Short.MAX_VALUE))\n );\n // layout for the id panel\n GroupLayout wikiPathwaysIdPanelLayout = new GroupLayout(wikiPathwaysIdPanel);\n wikiPathwaysIdPanel.setLayout(wikiPathwaysIdPanelLayout);\n wikiPathwaysIdPanelLayout.setHorizontalGroup(\n wikiPathwaysIdPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysIdPanelLayout.createSequentialGroup()\n .add(25, 25, 25)\n .add(wpEntrezLable)\n .add(46, 46, 46)\n .add(wikiPathwaysIdComboBx, 0, 253, Short.MAX_VALUE)\n .addContainerGap())\n );\n wikiPathwaysIdPanelLayout.setVerticalGroup(\n wikiPathwaysIdPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysIdPanelLayout.createSequentialGroup()\n .add(32, 32, 32)\n .add(wikiPathwaysIdPanelLayout.createParallelGroup(GroupLayout.BASELINE)\n .add(wikiPathwaysIdComboBx, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n .add(wpEntrezLable))\n .addContainerGap(33, Short.MAX_VALUE))\n );\n //layout for the super panel\n GroupLayout wikiPathwaysPanelLayout = new GroupLayout(wikiPathwaysPanel);\n wikiPathwaysPanel.setLayout(wikiPathwaysPanelLayout);\n wikiPathwaysPanelLayout.setHorizontalGroup(\n wikiPathwaysPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysPanelLayout.createSequentialGroup()\n .addContainerGap()\n .add(wikiPathwaysPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysOrganismPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n .add(wikiPathwaysIdPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n wikiPathwaysPanelLayout.setVerticalGroup(\n wikiPathwaysPanelLayout.createParallelGroup(GroupLayout.LEADING)\n .add(wikiPathwaysPanelLayout.createSequentialGroup()\n .add(26, 26, 26)\n .add(wikiPathwaysOrganismPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n .add(35, 35, 35)\n .add(wikiPathwaysIdPanel, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n .addContainerGap(42, Short.MAX_VALUE))\n );\n \t\n //return the created panel\n \tlogger.info(\"wikiPathwaysPanel(): Creating wikiPathwaysPanel - Done\");\n \treturn wikiPathwaysPanel;\n }", "title": "" }, { "docid": "90270351fc0d2f900db6fc2468de88d8", "score": "0.44772565", "text": "private JPanel getFromIntroducePanel() {\n if (fromIntroducePanel == null) {\n GridBagConstraints gridBagConstraints41 = new GridBagConstraints();\n gridBagConstraints41.gridx = 0;\n gridBagConstraints41.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints41.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints41.gridy = 2;\n introduceServiceOperationLabel = new JLabel();\n introduceServiceOperationLabel.setText(\"\");\n introduceServiceOperationLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n GridBagConstraints gridBagConstraints40 = new GridBagConstraints();\n gridBagConstraints40.fill = java.awt.GridBagConstraints.HORIZONTAL;\n gridBagConstraints40.gridy = 1;\n gridBagConstraints40.weightx = 1.0;\n gridBagConstraints40.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints40.gridx = 1;\n GridBagConstraints gridBagConstraints39 = new GridBagConstraints();\n gridBagConstraints39.gridx = 0;\n gridBagConstraints39.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints39.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints39.anchor = java.awt.GridBagConstraints.CENTER;\n gridBagConstraints39.gridy = 1;\n introduceServiceServicesLabel = new JLabel();\n introduceServiceServicesLabel.setText(\"Service\");\n introduceServiceServicesLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n GridBagConstraints gridBagConstraints38 = new GridBagConstraints();\n gridBagConstraints38.gridx = 0;\n gridBagConstraints38.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints38.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints38.gridy = 0;\n introduceServiceLocationLabel = new JLabel();\n introduceServiceLocationLabel.setText(\"Introduce Service Location\");\n introduceServiceLocationLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n GridBagConstraints gridBagConstraints35 = new GridBagConstraints();\n gridBagConstraints35.gridx = 2;\n gridBagConstraints35.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints35.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints35.gridy = 0;\n GridBagConstraints gridBagConstraints33 = new GridBagConstraints();\n gridBagConstraints33.fill = java.awt.GridBagConstraints.HORIZONTAL;\n gridBagConstraints33.gridy = 0;\n gridBagConstraints33.weightx = 1.0;\n gridBagConstraints33.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints33.gridx = 1;\n fromIntroducePanel = new JPanel();\n fromIntroducePanel.setLayout(new GridBagLayout());\n fromIntroducePanel.setName(\"fromIntroducePanel\");\n fromIntroducePanel.add(getIntroduceServiceLocationTextField(), gridBagConstraints33);\n fromIntroducePanel.add(getIntroduceServiceLocationBrowseButton(), gridBagConstraints35);\n fromIntroducePanel.add(introduceServiceServicesLabel, gridBagConstraints39);\n fromIntroducePanel.add(getIntroduceServiceServicesComboBox(), gridBagConstraints40);\n fromIntroducePanel.add(introduceServiceOperationLabel, gridBagConstraints41);\n fromIntroducePanel.add(introduceServiceLocationLabel, gridBagConstraints38);\n }\n return fromIntroducePanel;\n }", "title": "" }, { "docid": "995faadb09d9a0f0d8a221732eed3bcc", "score": "0.44649473", "text": "public void configNextPuzzle(int loadPuzzle) {\n pool.clear();\n addedToPool.clear();\n solutionButtons.clear();\n poolButtons.clear();\n\n // What happens when we finish all of our puzzles? We have 2 right now. We start over.\n if (io.getCurrentPuzzle() > io.puzzles.size()) {\n setCurrentPuzzle(1);\n }\n currentPuzzle = io.puzzles.get(loadPuzzle - 1); // public puzzle id is 1 based, but arraylist 0 based\n\n assemblePool();\n }", "title": "" }, { "docid": "002c025b9fabae949927826e63fe9ad6", "score": "0.44645432", "text": "private void lastPage () {\n\t\ttitle.setText(\"Your configuration is complete.\");\n\t\t\n\t\tthis.setSize(410, 90);\n\t\t\n\t\tpanel.removeAll();\n\t\tpanel.revalidate();\n\t\tpanel.repaint();\n\t\tlayout = new GroupLayout(panel);\n\t\tpanel.setLayout(layout);\n\t\t\n\t\tlayout.setAutoCreateContainerGaps(true);\n\t\tlayout.setAutoCreateGaps(true);\n\t\t\n\t\tlayout.setHorizontalGroup(layout.createSequentialGroup()\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(previous))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(title)\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(demo))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(exit))\n\t\t);\n\t\t\n\t\tlayout.linkSize(SwingConstants.HORIZONTAL, previous, exit, demo);\n\t\t \n\t\tlayout.setVerticalGroup(layout.createSequentialGroup()\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(title)\n\t\t\t\t\t\t.addComponent(blankSpace))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(blankSpace)\n\t\t\t\t\t\t.addComponent(blankSpace))\n\t\t\t\t.addGroup(layout.createParallelGroup()\n\t\t\t\t\t\t.addComponent(previous)\n\t\t\t\t\t\t.addComponent(demo)\n\t\t\t\t\t\t.addComponent(exit))\n\t\t);\n\t\t\n\t}", "title": "" }, { "docid": "db6098ae1d11c47756179424b0013cc8", "score": "0.4435483", "text": "public void buildKeyImagePanel() {\n\n\t\tfinal GridBagConstraints gbc = new GridBagConstraints();\n\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 0;\n\t\tgbc.weightx = 0;\n\t\tgbc.fill = GridBagConstraints.NONE;\n\t\tgbc.anchor = GridBagConstraints.EAST;\n\n\t\timageSelectionPanel = new JPanel();\n\t\timageSelectionPanel.setLayout(new GridLayout(2, 3));\n\t\timageSelectionPanel.setBorder(buildTitledBorder(\"Auto Train\"));\n\n\t\tgbc.gridx = 2;\n\t\tJLabel emptyLabel = new JLabel(\"\");\n\t\timageSelectionPanel.add(emptyLabel, gbc);\n\n\t\t// Key image directory\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 1;\n\t\tlabelKeyImage = new JLabel(\"Key Image Directory: \");\n\t\tlabelKeyImage.setFont(serif12);\n\t\tlabelKeyImage.setForeground(Color.black);\n\n\t\timageSelectionPanel.add(labelKeyImage, gbc);\n\n\t\ttextFieldKeyImage = new JTextField(20);\n\t\ttextFieldKeyImage.setFont(serif12);\n\n\t\tgbc.gridx = 1;\n\t\timageSelectionPanel.add(textFieldKeyImage, gbc);\n\n\t\tbuttonKeyImage = new JButton(\"Choose\");\n\t\tbuttonKeyImage.addActionListener(this);\n\t\tbuttonKeyImage.setActionCommand(\"ChooseKeyImageDir\");\n\t\tbuttonKeyImage.setFont(serif12B);\n\t\tbuttonKeyImage.setPreferredSize(MipavUtil.defaultButtonSize);\n\n\t\tgbc.gridx = 2;\n\t\timageSelectionPanel.add(buttonKeyImage, gbc);\n\n\t\t// Save image directory\n\t\tgbc.gridx = 0;\n\t\tgbc.gridy = 2;\n\t\tlabelSaveImage = new JLabel(\"Saved Image Directory: \");\n\t\tlabelSaveImage.setFont(serif12);\n\t\tlabelSaveImage.setForeground(Color.black);\n\n\t\timageSelectionPanel.add(labelSaveImage, gbc);\n\n\t\ttextFieldSaveImage = new JTextField(20);\n\t\ttextFieldSaveImage.setFont(serif12);\n\n\t\tgbc.gridx = 1;\n\t\timageSelectionPanel.add(textFieldSaveImage, gbc);\n\n\t\tbuttonSaveImage = new JButton(\"Choose\");\n\t\tbuttonSaveImage.addActionListener(this);\n\t\tbuttonSaveImage.setActionCommand(\"ChooseSaveImageDir\");\n\t\tbuttonSaveImage.setFont(serif12B);\n\t\tbuttonSaveImage.setPreferredSize(MipavUtil.defaultButtonSize);\n\n\t\tgbc.gridx = 2;\n\t\timageSelectionPanel.add(buttonSaveImage, gbc);\n\n\t}", "title": "" }, { "docid": "36747eb38fdc05e0fb5cb17aeba87602", "score": "0.44254863", "text": "@NotNull\n default JComponent getPreferredFocusedComponent() {\n return getSettingsPanel();\n }", "title": "" }, { "docid": "279360c8c31270498f49d981a2963d8c", "score": "0.4425323", "text": "public JSFConfigurationWizardPanel(WebModuleExtender wme, ExtenderController extenderController) {\n this.wme = wme;\n this.controller = extenderController;\n }", "title": "" }, { "docid": "d12d1e0d2cac9a7ff5a817cf154384a6", "score": "0.44212252", "text": "private JPanel getSettingsPanel(){\n JPanel settingsPanel = new VerticalPanel(0, VerticalPanel.TOP_ALIGNMENT);\n settingsPanel.add(getWebServerTimeoutPanel());\n settingsPanel.add(getDynamicSettings());\n \n return settingsPanel;\n }", "title": "" }, { "docid": "2bb0664455fc727b7992166ce6995965", "score": "0.44039124", "text": "private void addConfigOptionsPanel() {\n\n\toptionsPanel = new AppConfigOptionsPanel(AppRunMode.SERVER);\n\t\n\tmainFrame.add( optionsPanel, BorderLayout.NORTH );\n }", "title": "" }, { "docid": "a971ad8facc3c9e2f94a2747054f3371", "score": "0.43961895", "text": "public String[] getConfigurationPanelIds() {\n \t\treturn configurationPanels.keySet().toArray(new String[configurationPanels.keySet().size()]);\n \t}", "title": "" }, { "docid": "4caf1a0956795cb08e34851e0d02547a", "score": "0.43920287", "text": "@Override\n public int numberOfNextPanels() {\n return 0;\n }", "title": "" }, { "docid": "95317d06f4acac0357a2dd2f0c2501b6", "score": "0.4389838", "text": "private void setCenterPanelForPid(final String pid) {\n try {\n // create temp user object to identify this student\n UserInfo user = new UserInfo(student.getUid(),activityModel.getTestId());\n user.setRunId(activityModel.getRunId());\n UserInfo.setInstance(user);\n \n // TODO: disable calculator per student's advanced options?\n // probably not since these should be the options in place when\n // whiteboard work was done\n user.setDisableCalcAlways(true);\n \n \n \n _showWorkPanel = new ShowWorkPanel2(new ShowWorkPanelCallbackDefault() {\n @Override\n public void showWorkIsReady(ShowWorkPanel2 showWork) {\n new RetryAction<CmList<WhiteboardCommand>>() {\n @Override\n public void attempt() {\n CmBusyManager.setBusy(true);\n GetWhiteboardDataAction action = new GetWhiteboardDataAction(student.getUid(), pid, UserInfo.getInstance().getRunId());\n setAction(action);\n CmRpcCore.getCmService().execute(action, this);\n }\n\n public void oncapture(CmList<WhiteboardCommand> whiteboardCommands) {\n try {\n _showWorkPanel.loadWhiteboard(whiteboardCommands);\n _showWorkPanel.setAsTeacherMode(true);\n } finally {\n CmBusyManager.setBusy(false);\n }\n }\n }.register();\n }\n \n @Override\n public Action<? extends Response> createWhiteboardSaveAction(String pid, CommandType commandType, String data) {\n return new SaveWhiteboardDataAction(student.getUid(),activityModel.getRunId(), pid, commandType, data);\n }\n \n \n @Override\n public void windowResized() {\n forceLayout();\n } \n });\n \n _showWorkPanel.setupForPid(pid);\n \n \n \n \n \n final InmhItemData solItem = new InmhItemData();\n solItem.setType(CmResourceType.PRACTICE);\n solItem.setFile(pid);\n \n TutorWrapperPanel tutorPanel = new TutorWrapperPanel(true,false, false, true,new TutorCallbackDefault());\n \n \n FlowLayoutContainer tutorFlow = new FlowLayoutContainer();\n tutorFlow.setScrollMode(ScrollMode.AUTO);\n tutorFlow.add(tutorPanel);\n\n BorderLayoutContainer borderLayoutContainer = new BorderLayoutContainer();\n borderLayoutContainer.addStyleName(\"whiteboard-container\");\n \n\n BorderLayoutData bld = new BorderLayoutData();\n bld.setSplit(false);\n bld.setFloatable(false);\n bld.setCollapsible(false);\n borderLayoutContainer.setCenterWidget(tutorFlow,bld);\n\n bld = new BorderLayoutData(.50f);\n bld.setSplit(false);\n bld.setFloatable(false);\n bld.setCollapsible(false);\n bld.setCollapsed(false);\n \n borderLayoutContainer.setEastWidget(_showWorkPanel, bld);\n \n _mainBorderPanel.setCenterWidget(borderLayoutContainer);\n \n _mainBorderPanel.forceLayout();\n \n \n tutorPanel.loadSolution(pid, \"Show Work\",true, false, solItem.getWidgetJsonArgs(), new CallbackAfterSolutionLoaded() {\n @Override\n public void solutionLoaded(SolutionInfo solutionInfo) {\n _solutionInfo = solutionInfo;\n forceLayout();\n }\n });\n } catch (Exception e) {\n Log.error(\"Error creating Show Work panel for student: \" + pid + \",\" + student.getUid(), e);\n }\n }", "title": "" }, { "docid": "bcd6832a96fddbe896dadb7cd0c86d05", "score": "0.43810874", "text": "public void configure(IWindow window, IWindowToolkit windowToolkit);", "title": "" }, { "docid": "b1297d3f5646142fdf6ca2c0adb25fa7", "score": "0.43672046", "text": "private JPanel getJPanelConfigurationOptions() {\n\t\tif (panelConfigOptions == null){\r\n\t\t\tpanelConfigOptions = new JPanel(new GridBagLayout());\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\tpanelConfigOptions.add(getListaAlgoritmosComboBox(),\r\n\t\t\t\t\tnew GridBagConstraints(1, 4, 1, 1, 0.1, 0.1,\r\n\t\t\t\t\tGridBagConstraints.FIRST_LINE_START,\r\n\t\t\t\t\tGridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0));\r\n\t\t\tgetListaAlgoritmosComboBox().setVisible(false);\r\n\t\t\t\r\n\t\t\tpanelConfigOptions.add(new JLabel(\"Seleccione la forma de desplazarse: \"),\r\n\t\t\t\t\tnew GridBagConstraints(0, 5, 1, 1, 0.1, 0.1,\r\n\t\t\t\t\tGridBagConstraints.FIRST_LINE_START,\r\n\t\t\t\t\tGridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0));\r\n\t\t\t\r\n\t\t\tpanelConfigOptions.add(getListaVehiculosComboBox(),\r\n\t\t\t\t\tnew GridBagConstraints(1, 5, 1, 1, 0.1, 0.1,\r\n\t\t\t\t\tGridBagConstraints.FIRST_LINE_START,\r\n\t\t\t\t\tGridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0));\r\n\t\t\t\r\n\t\t}\r\n\t\treturn panelConfigOptions;\r\n\t}", "title": "" }, { "docid": "03b9f00cdda536dcc54cf55743dcc7e4", "score": "0.43667728", "text": "public JPanel buildTopPanel() {\n\t\tJPanel p = new JPanel();\n\t\tp.setLayout(new BoxLayout(p, BoxLayout.LINE_AXIS));\n\n\t\tJPanel left = new JPanel();\n\n\t\tboxNiveaux = new JComboBox();\n\t\tboxNiveaux.addItemListener(controller);\n\t\tboxNiveaux.addItem(\"Facile\");\n\t\tboxNiveaux.addItem(\"Moyen\");\n\t\tboxNiveaux.addItem(\"Difficile\");\n\n\t\tleft.add(new JLabel(\"Niveau : \"));\n\t\tleft.add(boxNiveaux);\n\t\t\n\t\tJPanel right = new JPanel();\n\t\tright.setPreferredSize(new Dimension(700, 20));\n\t\t\n\t\tJLabel lbl = new JLabel(\"Administration des questions/réponses du jeu\");\n\t\tlbl.setFont(new Font(\"Arial\", Font.ITALIC, 17));\n\t\tright.add(lbl);\n\n\t\tp.add(left);\n\t\tp.add(right);\n\n\t\treturn p;\n\t}", "title": "" }, { "docid": "fe1b2d3168461261fab761fb0612a3fd", "score": "0.43665397", "text": "private void setUpMainPanel() {\n\t\t\n\t\t/* Pitch choice */\n\t\tJPanel pitch_panel = new JPanel();\n\t\tJLabel pitch_label = new JLabel(\"Pitch:\");\n\t\tpitch_panel.add(pitch_label);\n\t\t\n\t\tButtonGroup pitch_choice = new ButtonGroup();\n\t\tpitch_0 = new JButton(\"Main\");\n\t\tpitch_1 = new JButton(\"Side Room\");\n\t\tpitch_choice.add(pitch_0);\n\t\tpitch_panel.add(pitch_0);\n\t\tpitch_choice.add(pitch_1);\n\t\tpitch_panel.add(pitch_1);\n\t\t\n\t\t\n\t\tpitch_0.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\n\t\t\t\tworldState.setRoom(0);\n\t\t\t\tSystem.err.println(worldState.getRoom());\n\t\t\t}\n\t\t});\n\t\tpitch_1.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\n\t\t\t\tworldState.setRoom(1);\n\t\t\t\tSystem.err.println(worldState.getRoom());\n\t\t\t}\n\t\t});\n\t\t\n\t\tdefaultPanel.add(pitch_panel);\n\t\t\n\t\t/* Colour choice */\n\t\tJPanel colour_panel = new JPanel();\n\t\tJLabel colour_label = new JLabel(\"Our colour:\");\n\t\tcolour_panel.add(colour_label);\n\t\t\n\t\tButtonGroup colour_choice = new ButtonGroup();\n\t\tcolour_yellow = new JButton(\"Yellow\");\n\t\tcolour_blue = new JButton(\"Blue\");\n\t\t\n\t\tcolour_yellow.setActionCommand(\"Yellow\");\n\t\tcolour_blue.setActionCommand(\"Blue\");\n\t\t\n\t\tcolour_choice.add(colour_yellow);\n\t\tcolour_panel.add(colour_yellow);\n\t\tcolour_choice.add(colour_blue);\n\t\tcolour_panel.add(colour_blue);\n\t\t\n\t\t//colour_yellow.setSelected(true);\n\t\t\n\t\tcolour_yellow.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\t\n\t\t\t\tworldState.setColor(Color.yellow);\n\t\t\t\tSystem.err.println(worldState.getColor());\n\t\t\t}\n\t\t});\n\t\tcolour_blue.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t\tworldState.setColor(Color.blue);\n\t\t\t\tSystem.err.println(worldState.getColor());\n\t\t\n\t\t}\n\t\t\n\t\t\t\n\t\t});\n\t\t\t\n\t\tdefaultPanel.add(colour_panel);\n\t\t\n\t\n\n\t\t\n\t\t/* Direction choice */\n\t\tJPanel direction_panel = new JPanel();\n\t\tJLabel direction_label = new JLabel(\"Our shooting direction:\");\n\t\tdirection_panel.add(direction_label);\n\t\t\n\t\tButtonGroup direction_choice = new ButtonGroup();\n\t\tdirection_left = new JButton(\"Left\");\n\t\tdirection_right = new JButton(\"Right\");\n\t\tdirection_choice.add(direction_left);\n\t\tdirection_panel.add(direction_left);\n\t\tdirection_choice.add(direction_right);\n\t\tdirection_panel.add(direction_right);\n\t\t\n\t\tdirection_right.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\tworldState.setShootingDirection(1);\n\t\t\t\tSystem.err.println(Integer.toString(worldState.getShootingDirection()));\n\t\t\t}\n\t\t});\n\t\tdirection_left.addActionListener(new ActionListener() {\n\t\t\t\n\t\t\tpublic void actionPerformed(ActionEvent e){\n\t\t\t\tworldState.setShootingDirection(-1);\n\t\t\t\tSystem.err.println(Integer.toString(worldState.getShootingDirection()));\n\t\t\t}\n\t\t});\n\t\t\n\t\tdefaultPanel.add(direction_panel);\n\t\t\n\t\t\n\t\tJPanel startStopPlanPanel = new JPanel();\n\t\t\n\t\t\n\t\tstartPlanButton = new JButton(\"Start Planning\");\n\t\t\n\t\tstartStopPlanPanel.add(startPlanButton);\n\t\t\n\t\tstartPlanButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t strat.startPlanningThread(PlanTypes.PlanType.FREE_PLAY.ordinal());\n\t\t \n\t\t \n\t\t }\n\t\t});\n\t\t\n\t\tstopPlanButton = new JButton(\"Stop Planning\");\n\t\t\n\t\tstartStopPlanPanel.add(stopPlanButton);\n\t\t\n\t\tstopPlanButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t strat.stopPlanningThread();\n\t\t WorldState.getInstance().canMove = false;\n\t\t }\n\t\t});\n\t\t\n\t\t\n\t\tJPanel startStopMovingPanel = new JPanel();\n\t\t\n\t\tstartMovingButton = new JButton(\"Start Moving\");\n\t\t\n\t\tstartStopMovingPanel.add(startMovingButton);\n\t\t\n\t\tstartMovingButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t WorldState.getInstance().canMove = true;\n\t\t }\n\t\t});\n\t\t\n\t\tstopMovingButton = new JButton(\"Stop Moving\");\n\t\t\n\t\tstartStopMovingPanel.add(stopMovingButton);\n\t\t\n\t\tstopMovingButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tWorldState.getInstance().canMove = false;\n\t\t }\n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tdefaultPanel.add(startStopPlanPanel);\n\t\tdefaultPanel.add(startStopMovingPanel);\n\t\t\n\t\t\n\t\tJPanel loggerPanel = new JPanel();\n\t\t\n\t\ttraceButton = new JButton(\"Trace\");\n\t\tloggerPanel.add(traceButton);\n\t\ttraceButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.TRACE);\n\t\t }\n\t\t});\n\t\t\n\t\tinfoButton = new JButton(\"Info\");\n\t\tloggerPanel.add(infoButton);\n\t\tinfoButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.INFO);\n\t\t }\n\t\t});\n\t\t\n\t\tdebugButton = new JButton(\"Debug\");\n\t\tloggerPanel.add(debugButton);\n\t\tdebugButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.DEBUG);\n\t\t }\n\t\t});\n\t\t\n\t\terrorButton = new JButton(\"Error\");\n\t\tloggerPanel.add(errorButton);\n\t\terrorButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.ERROR);\n\t\t }\n\t\t});\n\t\t\n\t\tfatalButton = new JButton(\"Fatal\");\n\t\tloggerPanel.add(fatalButton);\n\t\tfatalButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.FATAL);\n\t\t }\n\t\t});\n\t\t\n\t\toffButton = new JButton(\"Off\");\n\t\tloggerPanel.add(offButton);\n\t\toffButton.addActionListener(new ActionListener() {\n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tLogger.getRootLogger().setLevel(Level.OFF);\n\t\t }\n\t\t});\n\t\t\n\t\t\n\t\t\n\t\tdefaultPanel.add(loggerPanel);\n\t\t\n\t\tJPanel overlayPanel = new JPanel();\n\t\t\n\t\toverlayButton = new JButton(\"Toggle Overlay\");\n\t\tbarrelButton = new JButton(\"Toggle Barrel Fix\");\n\t\t\n\t\toverlayPanel.add(overlayButton);\n\t\toverlayPanel.add(barrelButton);\n\t\t\n\t\toverlayButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t worldState.setGenerateOverlay(!worldState.getGenerateOverlay());\n\t\t }\n\t\t});\n\t\t\n\t\tbarrelButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t worldState.setBarrelFix(!worldState.getBarrelFix());\n\t\t }\n\t\t});\n\t\t\n\t\tdefaultPanel.add(overlayPanel);\n\t\t\n\t\t/*\n\t\tPenalty Mode buttons. \n\t\t*/\n\t\t\n\t\tJPanel penaltyPanel = new JPanel();\n\t\t\n\t\tpenaltyAttackButton = new JButton(\"Penalty Shoot\");\n\t\tpenaltyDefendButton = new JButton(\"Penalty Goalie\");\n\t\treturnToGame = new JCheckBox(\"Return to Game\");\n\t\t\n\t\tpenaltyPanel.add(returnToGame);\n\t\tpenaltyPanel.add(penaltyAttackButton);\n\t\tpenaltyPanel.add(penaltyDefendButton);\n\t\t\n\t\treturnToGame.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t //Boolean value to be sent with function calls to strategy for penalties\n\t\t //letting them know whether they should continue playing or not after taking or saving penalty\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t penaltyToGame = !(penaltyToGame);\n\t\t if (penaltyToGame) {\n\t\t System.err.println(\"Checked\");\n\t\t } else {\n\t\t System.err.println(\"Unchecked\");\n\t\t }\n\t\t }\n\t\t});\n\t\t\n\t\tpenaltyAttackButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t //call to strategy letting them know that bot is taking a penalty\n\t\t strat.startPlanningThread(PlanTypes.PlanType.PENALTY_OFFENCE.ordinal());\n\t\t }\n\t\t});\n\t\t\n\t\tpenaltyDefendButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t \tstrat.startPlanningThread(PlanTypes.PlanType.PENALTY_DEFENCE.ordinal());\n\t\t }\n\t\t});\n\t\t\n\t\tdefaultPanel.add(penaltyPanel);\n\t\t\n\t\t/*Currently Milestone 1 stuff - WILL CHANGE */\n\t\t\n\t\tJPanel misc = new JPanel();\n\t\t\n\t\tkickButton = new JButton(\"Kick\");\n\t\tdriveButton = new JButton(\"Drive\");\n\t\t\n\t\tmisc.add(kickButton);\n\t\tmisc.add(driveButton);\n\t\t\n\t\tkickButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t //call to control saying kick\n\t\t strat.getControlInterface().kick();\n\t\t }\n\t\t});\n\t\t\n\t\tdriveButton.addActionListener(new ActionListener() {\n\t\t \n\t\t @Override\n\t\t public void actionPerformed(ActionEvent e) {\n\t\t //call to control saying to drive\n\t\t \tstrat.getControlInterface().drive();\n\t\t }\n\t\t});\n\t\t\n\t\tdefaultPanel.add(misc);\n\t}", "title": "" }, { "docid": "8b212bab411ca91fa0ef6aec76f490c2", "score": "0.43581384", "text": "private void createInitialInfoSubPanels()\n {\n //boolean editing = hasPermissionToModify;\n\n infoSubPanels = new Hashtable<String, AdminInfoSubPanelWrapper>();\n \n JPanel blankPanel = new JPanel();\n createBlankInfoSubPanel(Institution.class, blankPanel);\n createBlankInfoSubPanel(Discipline.class, blankPanel);\n createBlankInfoSubPanel(Collection.class, blankPanel);\n \n JPanel allPermissions = new JPanel(new BorderLayout());\n JLabel lbl = UIHelper.createI18NLabel(\"SEC_ALL_PERMISSIONS\", SwingConstants.CENTER);\n lbl.setFont(lbl.getFont().deriveFont(18.0f));\n allPermissions.add(lbl, BorderLayout.CENTER);\n \n createBlankInfoSubPanel(AdminPrincipal.class, allPermissions);\n \n createUserPanel();\n createGroupPanel();\n }", "title": "" }, { "docid": "9d63b06f66db90111bc3799fb422bc50", "score": "0.43494684", "text": "public JPanel getSettingsPanel() {\n\t\tJPanel panel = new JPanel(new GridLayout(0, 1));\n\t\tpanel.add(layoutProperties.getTunablePanel());\n\n\t\treturn panel;\n\t}", "title": "" }, { "docid": "626d15e3e974d5d8690676eb3745b116", "score": "0.43357968", "text": "private void configureComponentsPanel ()\r\n {\r\n getComponentsPanel ().setLayout (new BorderLayout (5, 5));\r\n // getComponentsPanel().setSize(294, 29);\r\n getComponentsPanel ().setMaximumSize (new Dimension (180, 40));\r\n getComponentsPanel ().add (getPotentialTypePanel (), BorderLayout.NORTH);\r\n getComponentsPanel ().add (getPotentialPanel (), BorderLayout.CENTER);\r\n if (((probNode.getPotentials ().get (0).getVariables ().size () > 1 && probNode.getPotentials ().get (0).getPotentialRole () == PotentialRole.UTILITY) || (probNode.getPotentials ().get (0).getVariables ().size () - 1 > 1 && probNode.getPotentials ().get (0).getPotentialRole () == PotentialRole.CONDITIONAL_PROBABILITY))\r\n && getPotentialPanel () instanceof ProbabilityTablePanel)\r\n {\r\n getReorderVariablesButton ().setVisible (true);\r\n getReorderVariablesButton ().setEnabled (true);\r\n }\r\n else\r\n {\r\n getReorderVariablesButton ().setVisible (false);\r\n getReorderVariablesButton ().setEnabled (false);\r\n }\r\n getComponentsPanel ().add(getCommentPane(),BorderLayout.SOUTH);\r\n\r\n }", "title": "" }, { "docid": "763252e2eb64ef7da74fde35bf135770", "score": "0.43345103", "text": "private JPanel getNotFromIntroducePanel() {\n if (notFromIntroducePanel == null) {\n GridBagConstraints gridBagConstraints42 = new GridBagConstraints();\n gridBagConstraints42.gridx = 0;\n gridBagConstraints42.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints42.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints42.gridy = 2;\n wsdlImportPackageNameLabel = new JLabel();\n wsdlImportPackageNameLabel.setText(\"Package Name\");\n wsdlImportPackageNameLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n GridBagConstraints gridBagConstraints32 = new GridBagConstraints();\n gridBagConstraints32.fill = java.awt.GridBagConstraints.HORIZONTAL;\n gridBagConstraints32.gridy = 2;\n gridBagConstraints32.weightx = 1.0;\n gridBagConstraints32.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints32.gridx = 1;\n GridBagConstraints gridBagConstraints31 = new GridBagConstraints();\n gridBagConstraints31.gridx = 0;\n gridBagConstraints31.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints31.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints31.gridy = 1;\n portTypeLabel = new JLabel();\n portTypeLabel.setText(\"Port Type\");\n portTypeLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n GridBagConstraints gridBagConstraints30 = new GridBagConstraints();\n gridBagConstraints30.fill = java.awt.GridBagConstraints.HORIZONTAL;\n gridBagConstraints30.gridy = 1;\n gridBagConstraints30.weightx = 1.0;\n gridBagConstraints30.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints30.gridx = 1;\n GridBagConstraints gridBagConstraints28 = new GridBagConstraints();\n gridBagConstraints28.gridx = 2;\n gridBagConstraints28.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints28.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints28.gridy = 0;\n GridBagConstraints gridBagConstraints23 = new GridBagConstraints();\n gridBagConstraints23.fill = java.awt.GridBagConstraints.HORIZONTAL;\n gridBagConstraints23.gridy = 0;\n gridBagConstraints23.weightx = 1.0;\n gridBagConstraints23.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints23.gridx = 1;\n GridBagConstraints gridBagConstraints17 = new GridBagConstraints();\n gridBagConstraints17.gridx = 0;\n gridBagConstraints17.insets = new java.awt.Insets(2, 2, 2, 2);\n gridBagConstraints17.fill = java.awt.GridBagConstraints.BOTH;\n gridBagConstraints17.gridy = 0;\n wsdlFileLabel = new JLabel();\n wsdlFileLabel.setText(\"WSDL File\");\n wsdlFileLabel.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);\n notFromIntroducePanel = new JPanel();\n notFromIntroducePanel.setLayout(new GridBagLayout());\n notFromIntroducePanel.setName(\"notFromIntroducePanel\");\n notFromIntroducePanel.add(wsdlFileLabel, gridBagConstraints17);\n notFromIntroducePanel.add(getWsdlFileNameTextField(), gridBagConstraints23);\n notFromIntroducePanel.add(getWsdlFileBrowseButton(), gridBagConstraints28);\n notFromIntroducePanel.add(getWsdlServiceServicesComboBox(), gridBagConstraints30);\n notFromIntroducePanel.add(portTypeLabel, gridBagConstraints31);\n notFromIntroducePanel.add(getWsdlImportPackageNameTextField(), gridBagConstraints32);\n notFromIntroducePanel.add(wsdlImportPackageNameLabel, gridBagConstraints42);\n }\n return notFromIntroducePanel;\n }", "title": "" }, { "docid": "05ddba2f00b2d59de5955a26c5271ff6", "score": "0.43332517", "text": "public abstract AbstractConnectorPropertiesPanel getConnectorPropertiesPanel();", "title": "" }, { "docid": "ebe5890fe812cf67d9328e8210bb6d6d", "score": "0.43310416", "text": "protected abstract E getSelectedPanel(String id);", "title": "" }, { "docid": "25e1856f469f0f3207c41eeac407746f", "score": "0.4321414", "text": "protected void createDisplay() {\n DefaultListModel listModel = (DefaultListModel)panelList.getModel();\n \n for (int i = 0; i < PREF_PANELS.length; i++) {\n ImageIcon icon = new ImageIcon(getClass().getResource(PREF_PANELS[i][1]));\n JLabel label = new JLabel(PREF_PANELS[i][0], icon, SwingConstants.LEADING);\n listModel.addElement(label);\n }\n \n JScrollPane scroller = new JScrollPane(panelList);\n final JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);\n splitPane.setResizeWeight(0.0);\n splitPane.setLeftComponent(scroller);\n scroller.setMinimumSize(new Dimension(166, 319));\n \n panelList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);\n panelList.setSelectedIndex(PREF_PANELS.length - 1);\n panelList.setVisibleRowCount(PREF_PANELS.length);\n panelList.setCellRenderer(new IconCellRenderer());\n \n panelList.addListSelectionListener(new ListSelectionListener() {\n public void valueChanged(final ListSelectionEvent e) {\n if (!e.getValueIsAdjusting())\n splitPane.setRightComponent(getSelectedPanel());\n }\n });\n \n splitPane.setRightComponent(getSelectedPanel());\n \n JFrame frame = new JFrame(\"User Preferences\");\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n frame.getContentPane().add(splitPane);\n frame.getContentPane().add(getCommandRow(), BorderLayout.PAGE_END);\n \n frame.pack();\n frame.setVisible(true);\n }", "title": "" }, { "docid": "b8f7de17579b400d334411270ab56e03", "score": "0.43204805", "text": "private void createViewName2PanelMap() {\n\t\tlog.config(\"Creating view name 2 panel map from config file\");\n\t\t\n\t\t// read view data from configuration file and create panels\n\t\tviewName2panelMap = new HashMap<String,Panel>();\n\t\tfor(ViewData viewData:Configuration.getConfiguration().getViewDataList()) {\n\t\t\tif(viewName2panelMap.get(viewData.name) == null) {\n\t\t\t\t// new panel\n\t\t\t\tlog.fine(\"No panel created yet for \"+viewData.name);\n\t\t\t\tPanel panel = Panel.createPanelFromName(viewData.name,null);\n\t\t\t\t\t\t\t\t\n\t\t\t\tif(panel!=null) {\n\t\t\t\t\tlog.fine(\"successfully created panel \"+viewData.name);\n\t\t\t\t\tviewData.panel = panel;\n\t\t\t\t\tviewName2panelMap.put(viewData.name, panel);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tlog.severe(\"Unable to create panel \"+viewData.panel);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tlog.fine(\"re-using panel object for \"+viewData.name);\n\t\t\t\tviewData.panel = viewName2panelMap.get(viewData.name);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// call init() on all providers\n\t\tlog.config(\"calling init() for all providers\");\n\t\tConfiguration.getConfiguration().getViewDataList().stream().forEach(viewData -> {\n\t\t\tPanel panel = viewData.panel;\n\t\t\tif(panel!=null) {\n\t\t\t\tProvider provider = panel.provider;\n\t\t\t\tif(provider!=null) {\n\t\t\t\t\tlog.fine(\"calling init for provider of view=\"+viewData.name);\n\t\t\t\t\tprovider.init();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "f882bc690c63e65939b1ce33940e4870", "score": "0.43189704", "text": "public void makePanels() {\n makeSetPanel();\n makeAddStockPanel();\n makeViewAccountPanel();\n makeEquityPanel();\n makeFunctionPanel();\n\n }", "title": "" }, { "docid": "a9df6a015ea8e5f725d70191d2147013", "score": "0.43159652", "text": "@Override\n public int getNextPanel() {\n int currentPanel = nextPanel++;\n nextPanel = nextPanel % BOARDSIZE;\n checkRep();\n return currentPanel;\n }", "title": "" }, { "docid": "b8e731a7f2fa62303095120b93195964", "score": "0.4315514", "text": "public JXTaskPane getConfigurationSidebar(SimulationType type);", "title": "" }, { "docid": "25fe3dcd7c88cc9eb2337da2bf0a3ceb", "score": "0.4309013", "text": "public void createPanel()\n\t{\n \tpanel.removeAll();\n \tpanel.setLayout(new BorderLayout());\n \n // handle addition\n \tJPanel addPanel = new JPanel(new BorderLayout());\n \taddPanel.setBorder(new EmptyBorder(10, 10, 10, 10));\n final JButton add = new JButton(\"Add\");\n \tJPanel addInside = new JPanel(new BorderLayout());\n \taddInside.add(add, BorderLayout.CENTER);\n \taddInside.setBorder(new EmptyBorder(0, 0, 0, 10));\n addPanel.add(addInside, BorderLayout.WEST);\n final JTextField addName = new JTextField();\n addName.setPreferredSize(new Dimension(1, add.getPreferredSize().height));\n addName.addActionListener(new ActionListener()\n {\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tadd.doClick();\n\t\t\t}\n }); \n addPanel.add(addName, BorderLayout.CENTER);\n panel.add(addPanel, BorderLayout.NORTH);\n \n add.addActionListener(new ActionListener()\n {\n\t\t\tpublic void actionPerformed(ActionEvent e)\n\t\t\t{\n\t\t\t\tString name = addName.getText().trim();\n\t\t\t\tif (name.length() != 0)\n\t\t\t\t{\n\t\t\t\t\tString full = formFullName(name);\n\t\t\t\t\tif (!added.contains(full))\n\t\t\t\t\t{\n\t\t\t\t\t\tdeleted.remove(full);\n\t\t\t\t\t\tadded.add(full);\n\t\t\t\t\t\tcreatePanel();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n });\n \n // add any slots\n \tenvTab.clearSlots();\n \tPreferenceTypeVariable variableType = new PreferenceTypeVariable()\n \t{\n\t\t\t@Override\n\t\t\tpublic void haveDeleted(Preference preference)\n\t\t\t{\n\t\t\t\tString full = preference.getRegistryName();\n\t\t\t\tadded.remove(full);\n\t\t\t\tdeleted.add(full);\n\t\t\t\tcreatePanel();\n\t\t\t}\n \t};\n \t\n \tint size = VARIABLES.length() + 1;\n \t\n \tMap<String, PreferenceSlotEditor> editors = new HashMap<String, PreferenceSlotEditor>();\n \ttry\n\t\t{\n \tList<String> keys = new ArrayList<String>(Arrays.asList(registry.keys()));\n \tList<String> addTo = new ArrayList<String>(added);\n \taddTo.removeAll(keys);\n \tkeys.addAll(addTo);\n \tCollections.sort(keys);\n \t\n\t\t\tfor (String name : keys)\n\t\t\t\tif (isVariable(name) && !deleted.contains(name))\n\t \t\tenvTab.addSlot(\n\t \t\t\t\tnew PreferenceSlot(\n\t \t\t\t\t\t\tnew Preference(VARIABLES, name.substring(size)),\n\t \t\t\t\t\t\tvariableType,\n\t \t\t\t\t\t\t\"Environment variable\"));\n\t\t} catch (BackingStoreException e)\n\t\t{\n\t\t}\n \n // add the visual component to the panel\n panel.add(envTab.getVisualComponent(unapplied, registry, apply, editors), BorderLayout.CENTER);\n panel.revalidate();\n }", "title": "" }, { "docid": "9936a7fc17e36d26ae49a953373e60ff", "score": "0.4290717", "text": "private void configureComponentsPanel() {\n\t\tgetComponentsPanel().setLayout(new BorderLayout(5, 5));\n\t\t// getComponentsPanel().setSize(294, 29);\n\t\tgetComponentsPanel().setMaximumSize(new Dimension(180, 40));\n\t\tgetComponentsPanel().add(getPotentialTypePanel(), BorderLayout.NORTH);\n\t\tgetComponentsPanel().add(getPotentialPanel(), BorderLayout.CENTER);\n\n\t\t//CMI\n\t\t// For univariate\n\t\tif (showUnivariateDistrComboBox()) {\n\t\t\tgetUnivariateDistrJCombobox().setVisible(true);\n\t\t\tgetUnivariateDistrJCombobox().setEnabled(true);\n\t\t\tgetUnivariateDistrParametrizationJCombobox().setVisible(true);\n\t\t\tgetUnivariateDistrParametrizationJCombobox().setEnabled(true);\n\t\t} else {\n\t\t\tgetUnivariateDistrJCombobox().setVisible(false);\n\t\t\tgetUnivariateDistrJCombobox().setEnabled(false);\n\t\t\tgetUnivariateDistrParametrizationJCombobox().setVisible(false);\n\t\t\tgetUnivariateDistrParametrizationJCombobox().setEnabled(false);\n\n\t\t}\n\t\t//CMF\n\n\t\tif (enableReorderVariableButton()) {\n\t\t\tgetReorderVariablesButton().setVisible(true);\n\t\t\tgetReorderVariablesButton().setEnabled(true);\n\t\t} else {\n\t\t\tgetReorderVariablesButton().setVisible(false);\n\t\t\tgetReorderVariablesButton().setEnabled(false);\n\t\t}\n\t\tgetComponentsPanel().add(getCommentPane(), BorderLayout.SOUTH);\n\n\t}", "title": "" }, { "docid": "0018c9db91f7d79c68382d52c300976e", "score": "0.42875585", "text": "public void makeSetPanel() {\n setNamePanel = new Panel().getPanel();\n\n JLabel label = new JLabel(\"Enter in your First and Last Name: \");\n label.setFont(new Font(\"Sanserif\", Font.PLAIN, 20));\n accountText1 = new JTextField(5);\n accountText1.setMaximumSize(new Dimension(1000, 40));\n JLabel label2 = new JLabel(\"Enter in your cash amount: \");\n label2.setFont(new Font(\"Sanserif\", Font.PLAIN, 20));\n accountText2 = new JTextField(5);\n accountText2.setMaximumSize(new Dimension(1000, 40));\n\n JButton setButton = new JButton(\" Set Name \");\n setButton.setActionCommand(\"Set Name\");\n setButton.addActionListener(this);\n\n JButton menuButton = new JButton(\"Back to Menu\");\n menuButton.setActionCommand(\"Back to Menu\");\n menuButton.addActionListener(this);\n setNamePanel.add(label);\n setNamePanel.add(accountText1);\n setNamePanel.add(label2);\n setNamePanel.add(accountText2);\n setNamePanel.add(setButton);\n setNamePanel.add(menuButton);\n }", "title": "" }, { "docid": "76e4f1cf410c16545bda4fe9a395f9b4", "score": "0.42786145", "text": "public JPanel makeNextPanel(JPanel panel) {\r\n\t\tpanel.setLayout(new BorderLayout());\r\n\t\tJPanel middle = new JPanel(new GridLayout(0, 3));\r\n\r\n\t\tJPanel bottom = new JPanel();\r\n\r\n\t\tJPanel top = new JPanel(new GridLayout());\r\n\t\tpanel.add(top, BorderLayout.NORTH);\r\n\t\tpanel.add(middle, BorderLayout.CENTER);\r\n\t\tpanel.add(bottom, BorderLayout.SOUTH);\r\n\r\n\t\tinstructions = new JLabel(\"Your Ancestors: \");\r\n\t\tbackButton.addActionListener(this);\r\n\r\n\r\n\t\t// if((showFather == false)&&(showMother == false)){\r\n\t\ttop.add(instructions);\r\n\r\n\t\tJPanel personPanel = new JPanel(new GridLayout(6, 1));\r\n\t\tpersonPanel.add(namePanel);\r\n\t\tpersonPanel.add(genderPanel);\r\n\t\tpersonPanel.add(agePanel);\r\n\t\tpersonPanel.add(deathPanel);\r\n\t\tpersonPanel.add(motherNamePanel);\r\n\t\tpersonPanel.add(fatherNamePanel);\r\n\t\tmiddle.add(personPanel);\r\n\r\n\t\t// }\r\n\r\n\t\tif (showFather == true) {\r\n\t\t\tJPanel dadPanel = new JPanel(new GridLayout(7, 1));\r\n\t\t\tPerson father = viewPerson.getFatherObject();\r\n\t\t\tJLabel dadName = new JLabel(\"Father's Name: \\t\" + father.getName());\r\n\t\t\tJLabel dadGender = new JLabel(\"Gender: \\t\" + Character.toString(father.getGender()));\r\n\t\t\tJLabel dadYear = new JLabel(\"Year of Birth: \\t\" + Integer.toString(father.getBirthYear()));\r\n\t\t\tJLabel dadDeath;\r\n\t\t\tif (father.getDeathYear() == 0) {\r\n\t\t\t\tdadDeath = new JLabel(\"Year of Death: \\tunknown\");\r\n\t\t\t} else\r\n\t\t\t\tdadDeath = new JLabel(\"Year of Death: \\t\" + Integer.toString(father.getDeathYear()));\r\n\t\t\tJLabel dadFather = new JLabel(\"Father: \\t\" + father.getFather());\r\n\t\t\tJLabel dadMother = new JLabel(\"Mother: \\t\" + father.getMother());\r\n\r\n\t\t\tdadPanel.add(dadName);\r\n\t\t\tdadPanel.add(dadGender);\r\n\t\t\tdadPanel.add(dadYear);\r\n\t\t\tdadPanel.add(dadDeath);\r\n\t\t\tdadPanel.add(dadFather);\r\n\t\t\tdadPanel.add(dadMother);\r\n\t\t\tmiddle.add(dadPanel);\r\n\t\t}\r\n\r\n\t\tif (showMother == true) {\r\n\t\t\tJPanel momPanel = new JPanel(new GridLayout(7, 1));\r\n\t\t\tPerson mother = viewPerson.getMotherObject();\r\n\t\t\tJLabel momName = new JLabel(\"Mother's Name: \\t\" + mother.getName());\r\n\t\t\tJLabel momGender = new JLabel(\"Gender: \\t\" + Character.toString(mother.getGender()));\r\n\t\t\tJLabel momYear = new JLabel(\"Year of Birth: \\t\" + Integer.toString(mother.getBirthYear()));\r\n\r\n\t\t\tJLabel momDeath;\r\n\t\t\tif (mother.getDeathYear() == 0) {\r\n\t\t\t\tmomDeath = new JLabel(\"Year of Death: \\tunknown\");\r\n\t\t\t} else\r\n\t\t\t\tmomDeath = new JLabel(\"Year of Death: \\t\" + Integer.toString(mother.getDeathYear()));\r\n\t\t\tJLabel momFather = new JLabel(\"Father: \\t\" + mother.getFather());\r\n\t\t\tJLabel momMother = new JLabel(\"Mother: \\t\" + mother.getMother());\r\n\r\n\t\t\tmomPanel.add(momName);\r\n\t\t\tmomPanel.add(momGender);\r\n\t\t\tmomPanel.add(momYear);\r\n\t\t\tmomPanel.add(momDeath);\r\n\t\t\tmomPanel.add(momFather);\r\n\t\t\tmomPanel.add(momMother);\r\n\r\n\t\t\tmiddle.add(momPanel);\r\n\t\t}\r\n\t\tif ((showFather == false) && (showMother == false)) {\r\n\t\t\tmiddle.add(textArea);\r\n\t\t\tmiddle.add(parentPanel);\r\n\t\t}\r\n\t\tbottom.add(backButton);\r\n\t\treturn panel;\r\n\t}", "title": "" }, { "docid": "2f6480daa588f9de2decba4e58ea45d0", "score": "0.42628744", "text": "public JPanel getMainPanel() {\r\n\t\treturn m_kPanel.getMainPanel();\r\n\t}", "title": "" }, { "docid": "f7cdf17e5ea1188847aeac2c1f5c4513", "score": "0.42578244", "text": "public UpperPanel getUpperPanel() {\n return upperPanel;\n }", "title": "" }, { "docid": "047f92a77ded94e4a7c692ac5d574983", "score": "0.4255795", "text": "private void initialize(JPanel newPanel){\n\t\t\n\t\t// Das Haupt-Panel\n\t\tmainPanel = newPanel;\n\t\tStatics.setView(this);\n\t\tmainPanel.setBackground(Color.WHITE);\n//\t\tthis.getContentPane().add(mainPanel, BorderLayout.CENTER);\n\t\tmainPanel.setLayout(new BorderLayout(0, 0));\n\t\t\n\t\t// Status-Panel\n\t\tJPanel statusPanel = new JPanel();\n\t\tstatusPanel.setBorder(new BevelBorder(BevelBorder.LOWERED, null, null, null, null));\n\t\tstatusPanel.setBackground(Color.WHITE);\n\t\tstatusPanel.setLayout(new BoxLayout(statusPanel, BoxLayout.Y_AXIS));\n\t\tmainPanel.add(statusPanel, BorderLayout.SOUTH);\n\t\t\n\t\t// Status-Bar\n\t\tstatusBar = new JTextField(\"\");\n\t\tstatusBar.setEditable(false);\n\t\tstatusBarColor = statusBar.getBackground();\n\t\tstatusPanel.add(statusBar);\n\t\t\n\t\t/* Initialisiert das erste Splitpane, dieses zeigt links die Original-Daten und\n\t\t * rechts das outerSplitPane \n\t\t */\n\t\touterSplitPane = new JSplitPane();\n\t\touterSplitPane.setResizeWeight(0.5);\n\t\touterSplitPane.setBackground(Color.WHITE);\n\t\tmainPanel.add(outerSplitPane, BorderLayout.CENTER);\n\t\t\n\t\t// Initialisiert das zweite Splitpane, dieses zeigt links die Optionen und rechts die veraenderten Daten\n\t\tinnerSplitPane = new JSplitPane();\n\t\t//innerSplitPane.setResizeWeight(0.001);\n\t\touterSplitPane.setRightComponent(innerSplitPane);\n\t\t\n\t\t// Initialisiert das Optionen-Panel\n\t\toptionsPanels = new JPanel();\n\t\toptionsPanels.setBackground(Color.WHITE);\n\t\tinnerSplitPane.setLeftComponent(optionsPanels);\n\t\toptionsPanels.setLayout(new BoxLayout(optionsPanels, BoxLayout.Y_AXIS));\n\t\t\n\t\tJPanel iOptionPanel = new JPanel();\n\t\tiOptionPanel.setBackground(new Color(255, 255, 153));\n\t\tiOptionPanel.setMaximumSize(new Dimension(32767, 30));\n\t\tFlowLayout flowLayout = (FlowLayout) iOptionPanel.getLayout();\n\t\tflowLayout.setAlignment(FlowLayout.LEFT);\n\t\toptionsPanels.add(iOptionPanel);\n\t\t\n\t\tJLabel lblUeberlagerungsMethode = new JLabel(\"<html>&Uuml;berlagerungsmethode w&auml;hlen</html>\");\n\t\tlblUeberlagerungsMethode.setBackground(new Color(255, 255, 153));\n\t\tiOptionPanel.add(lblUeberlagerungsMethode);\n\n\t\t// Combobox mit der Berechnungsmethode\n\t\tcomboBox = new JComboBox();\n\t\tcomboBox.setBackground(Color.WHITE);\n\t\toptionsPanels.add(comboBox);\n\t\tcomboBox.setMaximumSize(new Dimension(32767, 25));\n\t\tcomboBox.setModel(new DefaultComboBoxModel(new String[] {\"Diagonale \\u00DCberlagerung\", \"\\u00DCberlagerung mit Permutationen\"}));\n\t\tcomboBox.addActionListener(new overlayOptionsActionListener());\n\t\t\n\t\t//Standardoptionen laden\n\t\tOptionChooserPanels.optionsPane = OptionChooserPanels.getcyclicDiagonalOverlayOptions();\n\t\toptionsPanels.add(OptionChooserPanels.optionsPane);\n\t\t\n\t\ttransformedValuesPanel = new JPanel();\n\t\ttransformedValuesPanel.setBackground(Color.WHITE);\n\t\ttransformedValuesPanel.setForeground(Color.WHITE);\n\t\tinnerSplitPane.setRightComponent(transformedValuesPanel);\n\t\t\n\t\tJPanel originalValuesPanel = new JPanel();\n\t\toriginalValuesPanel.setBackground(Color.WHITE);\n\t\touterSplitPane.setLeftComponent(originalValuesPanel);\n\t\t\n\t\tloadSavePanel = new JPanel();\n\t\tFlowLayout flowLayout_1 = (FlowLayout) loadSavePanel.getLayout();\n\t\tflowLayout_1.setAlignment(FlowLayout.LEFT);\n\t\tloadSavePanel.setBackground(Color.WHITE);\n\t\tmainPanel.add(loadSavePanel, BorderLayout.NORTH);\n\t\t\n\t\tJButton btnDateiLaden = new JButton(\"Datei laden\");\n\t\tbtnDateiLaden.setActionCommand(Statics.LOAD_FILE);\n\t\tbtnDateiLaden.addActionListener(new LoadSaveActionListener());\n\t\tbtnDateiLaden.setName(\"btnDateiLaden\");\n\t\tloadSavePanel.add(btnDateiLaden);\n\t\t\n\t\tJButton btnErgebnisseSpeichern = new JButton(\"Ergebnisse speichern\");\n\t\tbtnErgebnisseSpeichern.setName(\"btnErgebnisseSpeichern\");\n\t\tbtnErgebnisseSpeichern.setActionCommand(Statics.SAVE_FILE);\n\t\tbtnErgebnisseSpeichern.addActionListener(new LoadSaveActionListener());\n\t\tbtnErgebnisseSpeichern.setEnabled(false);\n\t\tloadSavePanel.add(btnErgebnisseSpeichern);\n\t\t\n\t\t//Dateiname der aktuell geladenen Datei\n\t\tJLabel fileNameText = new JLabel(\" \");\n\t\tfileNameText.setName(\"fileNameText\");\n\t\tloadSavePanel.add(fileNameText);\n\t\t\n\t\tJTextField fileNameTextField = new JTextField();\n\t\tfileNameTextField.setName(\"fileNameTextField\");\n\t\tfileNameTextField.setEditable(false);\n\t\tfileNameTextField.setEnabled(false);\n\t\tfileNameTextField.setVisible(false);\n\t\tfileNameTextField.setHorizontalAlignment(JTextField.RIGHT);\n\t\tfileNameTextField.setColumns(15);\n\t\tloadSavePanel.add(fileNameTextField);\n\t\t\n\t\tJLabel freeSpace = new JLabel(\" \");\n\t\tfreeSpace.setName(\"freeSpace\");\n\t\tloadSavePanel.add(freeSpace);\n\t\t\t\t\n\t\tJCheckBox chkBoxSaveDetailLog = new JCheckBox();\n\t\tchkBoxSaveDetailLog.setName(\"chkBoxSaveDetailLog\");\n\t\tchkBoxSaveDetailLog.setActionCommand(\"chkBoxSaveDetailLog\");\n\t\tchkBoxSaveDetailLog.setToolTipText(\"Detail-Log speichern\");\n\t\tchkBoxSaveDetailLog.setText(\"Detail-Log speichern\");\n\t\tchkBoxSaveDetailLog.setBackground(loadSavePanel.getBackground());\n\t\tloadSavePanel.add(chkBoxSaveDetailLog);\n\t\t\n\t\tJTextField textFieldSaveDetailLog = new JTextField();\n\t\ttextFieldSaveDetailLog.setColumns(20);\n\t\ttextFieldSaveDetailLog.setEnabled(false);\n\t\ttextFieldSaveDetailLog.setName(\"textFieldSaveDetailLog\");\n\t\ttextFieldSaveDetailLog.setText(System.getProperty(\"user.dir\") + \"\\\\log.html\");\n\t\ttextFieldSaveDetailLog.setToolTipText(\"Pfad des Detail-Logs\");\n\t\tloadSavePanel.add(textFieldSaveDetailLog);\n\t\t\n\t\tJButton btnSaveDetailLog = new JButton(FileSystemView.getFileSystemView().getSystemIcon(new File(System.getProperty(\"user.dir\"))));\n\t\tbtnSaveDetailLog.setToolTipText(\"Datei auswählen\");\n\t\tbtnSaveDetailLog.setActionCommand(Statics.SAVE_LOG);\n\t\tbtnSaveDetailLog.setName(Statics.SAVE_LOG);\n\t\tbtnSaveDetailLog.addActionListener(new LoadSaveActionListener());\n\t\tloadSavePanel.add(btnSaveDetailLog);\n\t\t\n\t\t// ViewBlocker initialisieren\n\t\tthis.viewBlocker = new JDialog(StatistischeGeheimhaltung.mainFrame, \"\", true);\n\t\tthis.viewBlocker.getContentPane().setBackground(new Color(255, 255, 153));\n\t\tthis.viewBlocker.setVisible(false);\n\t\tthis.viewBlocker.setSize(new Dimension(300,50));\n\t\t\n\t\tthis.progressBar = new JProgressBar(0, 0);\n\t\tthis.viewBlocker.add(BorderLayout.CENTER, this.progressBar);\n\t\tthis.viewBlockerText = new JLabel(\" \");\n\t\tthis.viewBlocker.add(BorderLayout.NORTH, viewBlockerText);\n\t\tthis.viewBlocker.setUndecorated(true);\n\t\tthis.viewBlocker.add(BorderLayout.SOUTH,new JLabel(\" \"));\n\t\t\n\t}", "title": "" }, { "docid": "f0446a6763354ad94bb9a4b842941a0b", "score": "0.4254278", "text": "private void configure(){\n\t\ttype.setActionCommand(AC_TYPE);\n\t\ttype.addItemListener(this);\n\t\ttype.addItem(\"Ordinateur\");\n\t\ttype.addItem(\"Homo Sapiens\");\n\t\ttype.setSelectedIndex(0);\n\t\ttype.setBorder(PlayerPanel.makeBorder(\"TYPE\"));\n\t\ttype.setToolTipText(\"Le type du joueur\");\n\t\ttype.setMaximumSize(new Dimension(150,60));\n\t\ttype.addFocusListener(this);\n\t\t\n\t\t//===== Le niveau du joueur\n\t\tlevels.setActionCommand(AC_LEVELS);\n\t\tlevels.addItemListener(this);\n\t\tfor(Level level : Level.values()){\n\t\t\tlevels.addItem(level);\n\t\t}\n\t\tlevels.setSelectedIndex(0);\n\t\tlevels.setBorder(PlayerPanel.makeBorder(\"NIVEAU\"));\n\t\tlevels.setToolTipText(\n\t\t\t\t\"Pour un humain, Le niveau à utiliser pour l'aide au jeu.\\n\" +\n\t\t\t\t\"Pour l'ordinateur le niveau de l'intelligence artificielle.\");\n\t\tlevels.setMaximumSize(new Dimension(150,60));\n\t\tlevels.addFocusListener(this);\n\t\t\n\t\t//==== Les algos de l'IA\n\t\talgos.setActionCommand(AC_ALGOS);\n\t\talgos.addItemListener(this);\n\t\talgos.addItem(\"ALPHA-BETA\");\n\t\talgos.addItem(\"MIN-MAX\");\n\t\talgos.setSelectedIndex(0);\n\t\talgos.setBorder(PlayerPanel.makeBorder(\"ALGORITHM\"));\t\n\t\talgos.setToolTipText(\n\t\t\t\t\"Pour un humain, L'algorithme à utiliser l'aide au jeu.\\n\" +\n\t\t\t\t\"Pour l'ordinateur l'algorithme de l'intelligence artificielle.\");\n\t\talgos.setMaximumSize(new Dimension(150,60));\n\t\talgos.addFocusListener(this);\n\t\t\n\t\t//==== Les fonctions d'évaluation\n\t\tevals.setActionCommand(AC_EVALS);\n\t\tevals.addItemListener(this);\n\t\t//evals.setSelectedIndex(0);\n\t\tevals.setMaximumSize(new Dimension(150,60));\n\t\tevals.setBorder(PlayerPanel.makeBorder(\"EVALUATION\"));\t\t\t\t\n\t\tevals.setToolTipText(\n\t\t\t\t\"Pour un humain, La fonction d'évaluation à utiliser pour l'aide au jeu.\\n\" +\n\t\t\t\t\"Pour l'ordinateur la fonction d'évaluation de l'intelligence artificielle.\");\n\t\tevals.addFocusListener(this);\n\t\tfor(Object c : valuations){\n\t\t\tevals.addItem(c);\n\t\t}\n\t\tevals.setSelectedItem(0);\n\t\t\n\t\t//===== L'identité\n\t\tidentity.setText(content.toString());\n\t\tidentity.setIcon(PlayerPanel.IA_ICON);\n\t\tidentity.setHorizontalTextPosition(JLabel.CENTER);\n\t\tidentity.setVerticalTextPosition(JLabel.BOTTOM);\n\t\tidentity.setBorder(\n\t\t\t\tBorderFactory.createCompoundBorder(\n\t\t\t\t\t\tBorderFactory.createLoweredBevelBorder(), \n\t\t\t\t\t\tBorderFactory.createRaisedBevelBorder()));\n\t\tidentity.setBackground(content.isKuro()?Color.BLACK:Color.WHITE);\n\t\t\n\t\t//===== Les objectifs de capture\n\t\tgoals.setBorder(PlayerPanel.makeBorder(\"OBJECTIFS\"));\n\t\tgoals.setModel(new SpinnerNumberModel(\n\t\t\t\t\t\t Player.MIN_OBJECTIVE\n\t\t\t\t\t\t, Player.MIN_OBJECTIVE\n\t\t\t\t\t\t, Player.MAX_OBJECTIVE, 1));\n\t\tgoals.addChangeListener(this);\n\t\tgoals.setToolTipText(\"L'objectif de capture pour \"+content);\n\t\tgoalEditor.setEditable(false);\n\t\tgoalEditor.setText(\"\"+Player.MIN_OBJECTIVE);\n\t\tgoalEditor.setHorizontalAlignment(JTextField.LEFT);\n\t\t//goalEditor.setMaximumSize(new Dimension(150,60));\n\t\tgoals.setMaximumSize(new Dimension(150,60));\n\t\tgoals.setEditor(goalEditor);\t\t\n\t\tgoals.addFocusListener(this);\n\t\tgoals.addChangeListener(this);\n\t\t\n\t\t//===== Assemblage\n\t\tsetLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n\t\t\n\t\tadd(identity);\n\t\tidentity.setAlignmentX(CENTER_ALIGNMENT);\t\t\n\t\tadd(new JLabel(\" \"));\n\t\tadd(type);\n\t\tadd(new JLabel(\" \"));\n\t\tadd(levels);\n\t\tadd(new JLabel(\" \"));\n\t\tadd(goals);\n\t\tadd(new JLabel(\" \"));\n\t\tadd(algos);\n\t\tadd(new JLabel(\" \"));\n\t\tadd(evals);\n\t}", "title": "" }, { "docid": "cfb6f67d9f8b1f72270a2c3c1fcf7e14", "score": "0.42485", "text": "public WizardPanelDescriptor getCurrentPanelDescriptor() {\n return currentPanel;\n }", "title": "" }, { "docid": "f2a0d759b71c1eff8f0cf5f8964024b4", "score": "0.42437255", "text": "private void setPanelTengah(){\n System.out.println(\"kai\");\n }", "title": "" }, { "docid": "c3215d69eec0a5833f453690493cb3cc", "score": "0.42427278", "text": "@Override\n public JPanel getSubTurnPanel(){\n return new PlaceWorkerSubTurnPanel();\n }", "title": "" }, { "docid": "dc69bd2f53809233bb461e9d12b54878", "score": "0.42376897", "text": "public void chooseConfig() {\r\n try {\r\n\r\n FXMLLoader loader = AppComponents.getInstance().showScene(\"ui/main/sapqueries/modal/choosers/ConfigChooserView.fxml\", \"chooseConfig\", 1100, 700);\r\n\r\n ConfigChooserController configChooser = loader.getController();\r\n configChooser.setParentController(this);\r\n } catch (Exception e) {\r\n e.printStackTrace();\r\n }\r\n }", "title": "" }, { "docid": "ee21a97cc3a52968e118559edb4f3ee9", "score": "0.4237422", "text": "public void clear() {\n \t\tconfigurationPanels.clear();\n \t}", "title": "" }, { "docid": "241e4e0a614e8c161b82b1ea3f6ce103", "score": "0.42336816", "text": "private void loadPanel()\n\t{\n\t\tString sql = MRole.getDefault().addAccessSQL(\n\t\t\t\"SELECT AD_Workflow_ID, Name FROM AD_Workflow ORDER BY 2\",\n\t\t\t\"AD_Workflow\", MRole.SQL_NOTQUALIFIED, MRole.SQL_RO);\t//\tall\n\t\tKeyNamePair[] pp = DB.getKeyNamePairs(sql, true);\n\t\t//\n\t\tworkflow = new CComboBox(pp);\n\t\tloadPanel.add(workflow);\n\t\tworkflow.addActionListener(this);\n\t\t//\n\t\tloadPanel.add(bIgnore);\n\t\tbIgnore.addActionListener(this);\n\t\tloadPanel.add(bResetLayout);\n\t\tbResetLayout.addActionListener(this);\n\t\tloadPanel.add(bSaveLayout);\n\t\tbSaveLayout.addActionListener(this);\n\t\tloadPanel.add(bZoom);\n\t\tbZoom.addActionListener(this);\n\t}", "title": "" }, { "docid": "fd2c1239134d2feb965b3912db0a12a6", "score": "0.42251945", "text": "private void swapCenterPanel()\r\n\t{\n\t\tif(currentCenterPanel)\r\n\t\t{\r\n\t\t\t//System.out.println(\"Swap Options to Main\");\r\n\t\t\tcenterPanel.setVisible(false);\r\n\t\t\tcenterPanel.removeAll();\r\n\t\t\tloadMainCenter();\r\n\t\t\tcurrentCenterPanel = !currentCenterPanel;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t//System.out.println(\"Swap Main to Options\");\r\n\t\t\tcenterPanel.setVisible(false);\r\n\t\t\tcenterPanel.removeAll();\r\n\t\t\tloadOptionsCenter();\r\n\t\t\tcurrentCenterPanel = !currentCenterPanel;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "66bf00c13329b7e3c788efa4c00765b6", "score": "0.42185345", "text": "private void displayNewPanelSelection() {\n\t\t\n\t\tswitch (newPanelSelection) {\n\t\tcase PANEL_ACTION_PICTURE:\n\t\t\tshowPicture();\n\t\t\tbreak;\n\t\tcase PANEL_ACTION_WEATHER:\n\t\t\tshowWeather();\n\t\t\tbreak;\n\t\tcase PANEL_ACTION_SYSTEMINFO:\n\t\t\tshowSystemInfo();\n\t\t\tbreak;\n\t\tcase PANEL_ACTION_EMAIL:\n\t\t\tshowEmail();\n\t\t\tbreak;\n\t\tcase PANEL_ACTION_SOCIALMEDIA:\n\t\t\tshowSocialMedia();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "e03fd8ce16d54a995c0cba609eca831e", "score": "0.42035016", "text": "public void setDisplayPanel(DisplayPanel dp);", "title": "" }, { "docid": "050fdbd27609d71287150c3246903565", "score": "0.41927955", "text": "public void refreshPanel() {\n // only when the panel is visible then the panel information will be updated\n if (!isVisible()) {\n return;\n }\n\n comboMultiplicity.removeAllItems();\n\n // Add the default multiplicity items\n for (Multiplicity multiplicity : defaultMultiplicities) {\n MultiplicityItem item = new MultiplicityItem(multiplicity);\n comboMultiplicity.addItem(item);\n }\n\n Set<Multiplicity> multiplicities = new HashSet<Multiplicity>();\n\n for (ModelElement modelElement : getConfiguredModelElements()) {\n if (modelElement instanceof Attribute) {\n multiplicities.add(((Attribute) modelElement).getMultiplicity());\n } else {\n multiplicities.add(((AssociationEnd) modelElement).getMultiplicity());\n }\n }\n\n if (multiplicities.size() == 1) {\n Multiplicity multiplicity = multiplicities.iterator().next();\n if (multiplicity != null) {\n // the multiplicity for the configured model element will be added as well\n MultiplicityItem item = new MultiplicityItem(multiplicity);\n comboMultiplicity.addItem(item);\n comboMultiplicity.setSelectedItem(item);\n }\n }\n }", "title": "" }, { "docid": "94ae1267bb1f4ca90200643844c58044", "score": "0.4168773", "text": "void showFormDefaultSection(String formSectionId);", "title": "" }, { "docid": "7f128b47b0cc79c753b8606d17dec97a", "score": "0.41633782", "text": "protected JPanel getDynamicSettings(){\n \t\n \tJPanel dynamicSettings = new JPanel(new BorderLayout());\n \tdynamicSettings.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(),\"Dynamic settings:\"));// $NON-NLS-1$\n\n \tdynamicSettings.add(getFields(), BorderLayout.CENTER); \n \tdynamicSettings.add(getThresholdPanel(), BorderLayout.EAST);\n \t\n\t\treturn dynamicSettings;\n }", "title": "" }, { "docid": "9946e461d01d3c254ad5d46083a27793", "score": "0.41589198", "text": "public static void saveConsolePanelConfiguration() throws MissedPropertyException {\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel shell path\r\n\t\tAcideProjectConfiguration.getInstance().setShellPath(\r\n\t\t\t\tAcideResourceManager.getInstance().getProperty(\r\n\t\t\t\t\t\t\"consolePanel.shellPath\"));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel shell\r\n\t\t// directory\r\n\t\tAcideProjectConfiguration.getInstance().setShellDirectory(\r\n\t\t\t\tAcideResourceManager.getInstance().getProperty(\r\n\t\t\t\t\t\t\"consolePanel.shellDirectory\"));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel exit\r\n\t\t// command\r\n\t\tAcideProjectConfiguration.getInstance().setExitCommand(\r\n\t\t\t\tAcideResourceManager.getInstance().getProperty(\r\n\t\t\t\t\t\t\"consolePanel.exitCommand\"));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel is echo\r\n\t\t// command\r\n\t\tAcideProjectConfiguration.getInstance().setIsEchoCommand(\r\n\t\t\t\tBoolean.parseBoolean(AcideResourceManager.getInstance()\r\n\t\t\t\t\t\t.getProperty(\"consolePanel.isEchoCommand\")));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel foreground\r\n\t\t// color\r\n\t\tAcideProjectConfiguration.getInstance().setForegroundColor(\r\n\t\t\t\tnew Color(Integer.parseInt(AcideResourceManager.getInstance()\r\n\t\t\t\t\t\t.getProperty(\"consolePanel.foregroundColor\"))));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel background\r\n\t\t// color\r\n\t\tAcideProjectConfiguration.getInstance().setBackgroundColor(\r\n\t\t\t\tnew Color(Integer.parseInt(AcideResourceManager.getInstance()\r\n\t\t\t\t\t\t.getProperty(\"consolePanel.backgroundColor\"))));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel buffer\r\n\t\t// size\r\n\t\tAcideProjectConfiguration.getInstance().setBufferSize(\r\n\t\t\t\tInteger.parseInt(AcideResourceManager\r\n\t\t\t\t\t\t.getInstance().getProperty(\r\n\t\t\t\t\t\t\t\t\"consolePanel.bufferSize\")));\r\n\t\t\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel font name\r\n\t\tAcideProjectConfiguration.getInstance().setFontName(\r\n\t\t\t\tAcideResourceManager.getInstance().getProperty(\r\n\t\t\t\t\t\t\"consolePanel.fontName\"));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel font style\r\n\t\tAcideProjectConfiguration.getInstance().setFontStyle(\r\n\t\t\t\tInteger.parseInt(AcideResourceManager.getInstance()\r\n\t\t\t\t\t\t.getProperty(\"consolePanel.fontStyle\")));\r\n\r\n\t\t// Sets the ACIDE - A Configurable IDE console panel font size\r\n\t\tAcideProjectConfiguration.getInstance().setFontSize(\r\n\t\t\t\tInteger.parseInt(AcideResourceManager.getInstance()\r\n\t\t\t\t\t\t.getProperty(\"consolePanel.fontSize\")));\r\n\t}", "title": "" }, { "docid": "dbe6fb1fd08cb178dd98f5945d3f36a1", "score": "0.41558403", "text": "public pnlthemphieunhap() {\n initComponents();\n \n menu.add(panel);\n jComboBox2.setEditable(false); \n jTextField1.setEditable(false);\n }", "title": "" }, { "docid": "71904b2f214197ee41a22a5041dc25fa", "score": "0.41525468", "text": "static ConfigurationSection getOrCreateSection(String key) {\n FileConfiguration config = NerdyDragon.PLUGIN.getConfig();\n ConfigurationSection section = config.getConfigurationSection(key);\n if (section == null) {\n section = config.createSection(key);\n }\n return section;\n }", "title": "" }, { "docid": "6897df4d19a768247a7c25fccf9c351b", "score": "0.41487294", "text": "public void changeMenuPanelPosition() {\n if(this.menuSplit) {\n joinMenuPanel();\n } else {\n splitMenuPanel();\n }\n }", "title": "" }, { "docid": "fe40ace6673eabffacb1dd6f5d2e6faa", "score": "0.41439602", "text": "public SurfaceManipulationVisualPanelConfigSelection(final SurfaceManipulationWizardPanelConfigSelection model) {\n this.model = model;\n if (this.model == null) {\n throw new IllegalStateException(\"model instance must not be null\"); // NOI18N\n }\n selL = new ListSelectionListenerImpl();\n\n this.setName(org.openide.util.NbBundle.getMessage(\n SurfaceManipulationVisualPanelConfigSelection.class,\n \"SurfaceManipulationVisualPanelConfigSelection.SurfaceManipulationVisualPanelConfigSelection(SurfaceManipulationWizardPanelConfigSelection).name\")); // NOI18N\n initComponents();\n\n lstConfigurations.setCellRenderer(new ListCellRendererImpl());\n lstConfigurations.addListSelectionListener(WeakListeners.create(\n ListSelectionListener.class,\n selL,\n lstConfigurations));\n }", "title": "" }, { "docid": "96fedd97fd0f350b1a05c56c704f8d32", "score": "0.41432205", "text": "private void connectPanels() {\n onePlayerSelectionPanel.add(backPanel,BorderLayout.PAGE_END);\n onePlayerSelectionPanel.add(componentsPanel,BorderLayout.CENTER);\n backgroundImageLabel.add(onePlayerSelectionPanel);\n }", "title": "" }, { "docid": "d7ce50299f304086959fad1c58312ed2", "score": "0.4142764", "text": "public static JPanel_Configuradas abrir(C_PCRT vent) {\n if (panelConfiguradas == null) {\n panelConfiguradas = new JPanel_Configuradas(vent);\n }\n return panelConfiguradas;\n }", "title": "" }, { "docid": "04ea035cafab5b9d38b487f581a0f2dd", "score": "0.41425464", "text": "@Override\r\n\tpublic CytoPanelName getCytoPanelName() {\n\t\treturn CytoPanelName.WEST;\r\n\t}", "title": "" }, { "docid": "e1a19fa9b88c65aaf288d7a2e169691a", "score": "0.414146", "text": "private void fillPanel() {\r\n this.add(this.taxiPanel);\r\n this.add(this.groupPanel);\r\n }", "title": "" }, { "docid": "04017d043a7b8f42968b1e106ea0419b", "score": "0.41406354", "text": "public BrowserPanel getBrowserPanel(int indexPanel) {\n return (BrowserPanel) this.containerTabbedPane.getComponentAt(indexPanel);\n }", "title": "" }, { "docid": "68a30d9beaf8e386a85bbd3754847b68", "score": "0.41361803", "text": "public void addDesireFormulationConfiguration(DesireKey parent, DesireKey key, ConfigurationWithSharedDesire configuration) {\n OwnDesireWithSharedDesireFormulation formulation = stack.computeIfAbsent(parent, desireKey -> new OwnDesireWithSharedDesireFormulation());\n formulation.addDesireFormulationConfiguration(key, configuration);\n }", "title": "" }, { "docid": "cfc5483ec635544a5b4e1857b5ff5365", "score": "0.41304192", "text": "static void configureMainButtons(JPanel panelMain, JButton profilesButton, JButton historiesButton,\r\n\t JButton exitButton, JButton submitButton) {\r\n\tconfigure(panelMain, profilesButton, historiesButton, exitButton, submitButton);\r\n\r\n\tprofilesButton.setBounds(25, 298, 184, 61);\r\n\tprofilesButton.setToolTipText(\"Transfer to profiles view ( RESTRICTED ACCESS ) \");\r\n\r\n\thistoriesButton.setBounds(231, 299, 233, 61);\r\n\thistoriesButton.setToolTipText(\"Transfer to histories view ( RESTRICTED ACCESS ) \");\r\n\r\n\texitButton.setBounds(231, 201, 232, 61);\r\n\texitButton.setToolTipText(\"Exits the client application immediately\");\r\n\r\n\tsubmitButton.setBounds(25, 201, 184, 61);\r\n\texitButton.setToolTipText(\"Forwards and exectues your order\");\r\n }", "title": "" }, { "docid": "803beded955944c7aef8b346c9d826f5", "score": "0.41279006", "text": "public interface ICommonSettings \r\n{\r\n\t/**\r\n\t * \r\n\t * Fills settings using <link>HierarchicalConfiguration<link> as source\r\n\t * \r\n\t * @param config - source of settings\r\n\t */\r\n void load(HierarchicalConfiguration config);\r\n}", "title": "" }, { "docid": "4fe7fe9b1c20bf3a6f0a03881d120da5", "score": "0.41153532", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n DP = new javax.swing.JDesktopPane();\n jPanel1 = new javax.swing.JPanel();\n jToolBar1 = new javax.swing.JToolBar();\n tbClients = new javax.swing.JButton();\n jSeparator2 = new javax.swing.JToolBar.Separator();\n tbSetting = new javax.swing.JButton();\n UserPanel = new javax.swing.JPanel();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n Username = new javax.swing.JLabel();\n jMenuBar1 = new javax.swing.JMenuBar();\n General = new javax.swing.JMenu();\n mDisconnect = new javax.swing.JMenuItem();\n mExit = new javax.swing.JMenuItem();\n File = new javax.swing.JMenu();\n Setup = new javax.swing.JMenu();\n mSettings = new javax.swing.JMenuItem();\n jMenu2 = new javax.swing.JMenu();\n mOutils = new javax.swing.JMenu();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n setTitle(\"Hackathon\");\n addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseMoved(java.awt.event.MouseEvent evt) {\n formMouseMoved(evt);\n }\n });\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosed(java.awt.event.WindowEvent evt) {\n formWindowClosed(evt);\n }\n });\n\n DP.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n DP.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseMoved(java.awt.event.MouseEvent evt) {\n DPMouseMoved(evt);\n }\n });\n\n javax.swing.GroupLayout DPLayout = new javax.swing.GroupLayout(DP);\n DP.setLayout(DPLayout);\n DPLayout.setHorizontalGroup(\n DPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n DPLayout.setVerticalGroup(\n DPLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 566, Short.MAX_VALUE)\n );\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 14, Short.MAX_VALUE)\n );\n\n jToolBar1.setFloatable(false);\n jToolBar1.setRollover(true);\n\n tbClients.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/client32.png\"))); // NOI18N\n tbClients.setToolTipText(\"Livreur\");\n tbClients.setFocusable(false);\n tbClients.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n tbClients.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n tbClients.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tbClientsActionPerformed(evt);\n }\n });\n jToolBar1.add(tbClients);\n jToolBar1.add(jSeparator2);\n\n tbSetting.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/production32.png\"))); // NOI18N\n tbSetting.setFocusable(false);\n tbSetting.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n tbSetting.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);\n tbSetting.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tbSettingActionPerformed(evt);\n }\n });\n jToolBar1.add(tbSetting);\n\n UserPanel.setBackground(new java.awt.Color(115, 176, 154));\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/img/help.png\"))); // NOI18N\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n jLabel2.setText(\"Wellcome\");\n\n jLabel3.setText(\"Mr.\");\n\n Username.setText(\"admin\");\n\n javax.swing.GroupLayout UserPanelLayout = new javax.swing.GroupLayout(UserPanel);\n UserPanel.setLayout(UserPanelLayout);\n UserPanelLayout.setHorizontalGroup(\n UserPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, UserPanelLayout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(UserPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2)\n .addGroup(UserPanelLayout.createSequentialGroup()\n .addComponent(jLabel3)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(Username)))\n .addContainerGap())\n );\n UserPanelLayout.setVerticalGroup(\n UserPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(UserPanelLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(UserPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(UserPanelLayout.createSequentialGroup()\n .addComponent(jLabel2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(UserPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(Username)))\n .addComponent(jLabel1))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n General.setText(\"General\");\n\n mDisconnect.setText(\"Se deconnecter\");\n mDisconnect.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n mDisconnectActionPerformed(evt);\n }\n });\n General.add(mDisconnect);\n\n mExit.setText(\"Quitter\");\n mExit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n mExitActionPerformed(evt);\n }\n });\n General.add(mExit);\n\n jMenuBar1.add(General);\n\n File.setText(\"File\");\n jMenuBar1.add(File);\n\n Setup.setText(\"Setup\");\n\n mSettings.setText(\"Components\");\n mSettings.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n mSettingsActionPerformed(evt);\n }\n });\n Setup.add(mSettings);\n\n jMenuBar1.add(Setup);\n\n jMenu2.setText(\"Annexes\");\n jMenuBar1.add(jMenu2);\n\n mOutils.setText(\"Tools\");\n jMenuBar1.add(mOutils);\n\n setJMenuBar(jMenuBar1);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()\n .addComponent(UserPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 1054, Short.MAX_VALUE))\n .addComponent(DP)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(UserPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(DP)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n );\n\n pack();\n }", "title": "" }, { "docid": "df9b2c530feb5973f403f1ca6b73f83d", "score": "0.41124895", "text": "protected void configureGroupEditorTab () {\r\n\t\ttabContainer.appendTab(I18Utilities.getInstance().getInternalitionalizeText(\"security.group.title.tab.members\", \"Members\"), gridPanelGroupAssignment);\r\n\t\tif (!hideMenuTab) {\r\n\t\t\ttabContainer.appendTab(I18Utilities.getInstance().getInternalitionalizeText(\"security.common.title.tab.menus\", \"Menus\"), menuPanel);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "9d5379d0e3c7a5ec87972667fd905aca", "score": "0.41074312", "text": "private void midLayout() {\n\t\tGroupLayout jPanelMidLayout = new GroupLayout(midPanel);\n\t\tmidPanel.setLayout(jPanelMidLayout);\n\t\tjPanelMidLayout.setHorizontalGroup(jPanelMidLayout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(jPanelMidLayout.createSequentialGroup().addContainerGap().addComponent(provinceLabel, GroupLayout.DEFAULT_SIZE, 82, Short.MAX_VALUE).addGap(18, 18, 18).addComponent(provinceComboBox, GroupLayout.PREFERRED_SIZE, 240, GroupLayout.PREFERRED_SIZE).addContainerGap()));\n\t\tjPanelMidLayout.setVerticalGroup(jPanelMidLayout.createParallelGroup(GroupLayout.Alignment.LEADING).addGroup(jPanelMidLayout.createSequentialGroup().addContainerGap().addGroup(jPanelMidLayout.createParallelGroup(GroupLayout.Alignment.BASELINE).addComponent(provinceLabel).addComponent(provinceComboBox, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)).addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t}", "title": "" }, { "docid": "b35073f50e4f5838b0dd166632f85f6a", "score": "0.4105348", "text": "public String getUrl() {\r\n return getOwner().getAbsoluteUrl() + \"/\" + getKey() + \"/configure\";\r\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "3713a2a02e38e681ce7b32e5fbd8a328", "score": "0.0", "text": "@Override\r\n public void onProviderDisabled(String provider) {\n\r\n }", "title": "" } ]
[ { "docid": "3d9823aba51891281b4bbd4b1818b970", "score": "0.6671074", "text": "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.6567672", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "ea8460c7314de45803a19bf7c984d4bf", "score": "0.6523024", "text": "@Override\n public void perish() {\n \n }", "title": "" }, { "docid": "5f8d37aee09bc1e9959f768d6eb0183c", "score": "0.6481211", "text": "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "title": "" }, { "docid": "97d296a7afb7dc4215dea52c44825799", "score": "0.6477082", "text": "@Override\n\tpublic void anular() {\n\n\t}", "title": "" }, { "docid": "2dcda7054abb2ac593302e39a2284f12", "score": "0.64591026", "text": "@Override\n\tprotected void getExras() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.64127725", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.63762105", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "177192b7240b496ba5aefdfed60037c9", "score": "0.6276059", "text": "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "title": "" }, { "docid": "5a2cf6475b24af1408d07534790462c3", "score": "0.6254286", "text": "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.623686", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.6223679", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "73463480918eeb854ee253f0b90b8f6a", "score": "0.6201336", "text": "@Override\n\tpublic void emprestimo() {\n\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "abcadad5e0834117553d2b9f67dbe5da", "score": "0.61950207", "text": "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7c4f2f94b290de5507eb56a649c4fab9", "score": "0.61922914", "text": "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "title": "" }, { "docid": "61358eff9372995c8157b02d47a44a6a", "score": "0.6186996", "text": "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "title": "" }, { "docid": "24836dd83ff94f056e1fcc3c7d1bd342", "score": "0.6173591", "text": "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "title": "" }, { "docid": "a89a6a1e5b118a43de52e5ffd006970b", "score": "0.61327106", "text": "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50eb8922149b6987def0b49575615f5e", "score": "0.61285484", "text": "@Override\n protected void getExras() {\n }", "title": "" }, { "docid": "1c8a7915e39d52e26f69fe54c7cab366", "score": "0.6080161", "text": "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b910b894fe7ad3828da2a23b46f46c91", "score": "0.6077022", "text": "@Override\n\tpublic void nefesAl() {\n\n\t}", "title": "" }, { "docid": "c95af00aee2fa41e8a03e3640ca30750", "score": "0.6041561", "text": "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "title": "" }, { "docid": "680ac9d1bc1773741a758290a71e990c", "score": "0.6024072", "text": "@Override\n public void func_104112_b() {\n \n }", "title": "" }, { "docid": "5fda61f75e47491fe0badbfe139070a9", "score": "0.6020252", "text": "@Override\n\tprotected void initdata() {\n\n\t}", "title": "" }, { "docid": "c682095c2b4f1946676c35a1deda3c6f", "score": "0.59984857", "text": "@Override\n\tpublic void nghe() {\n\n\t}", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "d96634e617617b62a9a214992c3282f5", "score": "0.59672105", "text": "@Override\n public void function()\n {\n }", "title": "" }, { "docid": "2f8bc325cbd58e19eae4acec86ffe12c", "score": "0.5965777", "text": "public final void mo51373a() {\n }", "title": "" }, { "docid": "49a9123d9e9db8177a76f606f354e668", "score": "0.59485507", "text": "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "title": "" }, { "docid": "100a24d43d831707c172dbf3ee5fc24c", "score": "0.5940904", "text": "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59239364", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "d61bad95071bf9780632fa87c434bab9", "score": "0.5910017", "text": "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5902906", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "96b7c88f13f659e23bf631d2d5053b40", "score": "0.58946234", "text": "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.5886006", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a515456a9e11b20998e2bfdd6c3dce67", "score": "0.58839184", "text": "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "4da8e9683b65c2cb7a22ee151d8c65e1", "score": "0.58691067", "text": "public void gored() {\n\t\t\n\t}", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5857751", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "b77eac7bccbd213b5d32d3e935c81ffe", "score": "0.58503544", "text": "@Override\n\tpublic void einkaufen() {\n\t}", "title": "" }, { "docid": "d06828119af4f719fc9db2eac57f2601", "score": "0.5847024", "text": "@Override\n protected void initialize() {\n\n \n }", "title": "" }, { "docid": "8c4be9114abb8cb7b57dc3c5d34882a8", "score": "0.58239377", "text": "public void mo38117a() {\n }", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810564", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "2fda59f727914730e1ccc0c0b05e57bd", "score": "0.5810089", "text": "Constructor() {\r\n\t\t \r\n\t }", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.5806823", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc32bfffe770f8a5c5cf88e6af231ff8", "score": "0.5800025", "text": "@Override\n\tpublic void one() {\n\t\t\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5792378", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1260bf70decb91faff8466bae6765ba2", "score": "0.5790187", "text": "private stendhal() {\n\t}", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5789414", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "f397b517b3f3532ba47ff3ee806bc420", "score": "0.5787092", "text": "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.57844025", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5774479", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.5761362", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57596046", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.575025", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4a5b709a6553621aa4226737a20ba120", "score": "0.5747959", "text": "@Override\n\tpublic void debite() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57337177", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "7f454c1ee07328138017395e69b0420e", "score": "0.5721452", "text": "public contrustor(){\r\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5715831", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2911d3f6b10d531f37ba6cbbb1e4e44a", "score": "0.57142824", "text": "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.57140535", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "8862e414d1049ff417c2327b444db61e", "score": "0.5711723", "text": "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "title": "" }, { "docid": "29251cbd61f58d1440af2e558c6a19bc", "score": "0.57041645", "text": "@Override\n\tprotected void logic() {\n\n\t}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.56991017", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "86232e6a9aaa22e4403270ce10de01d3", "score": "0.5696783", "text": "public void mo4359a() {\n }", "title": "" }, { "docid": "9f7ae565c79188ee275e5778abe03250", "score": "0.56881124", "text": "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.56774884", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "c0ca0277e879a2b84cd3748b428dc4fa", "score": "0.56734604", "text": "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "dca752ff24c887a367479fb49a14a486", "score": "0.56728", "text": "private RepositorioAtendimentoPublicoHBM() {\r\t}", "title": "" }, { "docid": "137850fe8be37a8fdff9b5f1d19f9338", "score": "0.56696945", "text": "@Override\n protected void initialize() \n {\n \n }", "title": "" }, { "docid": "51fb4cf832bd3bdab07f36fa0655aed2", "score": "0.5661323", "text": "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "title": "" }, { "docid": "fb842ef1f250aaba4286c185df305a9b", "score": "0.5657007", "text": "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.5655942", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "cc19c0c7ab1bdc568508b0381e170621", "score": "0.56549734", "text": "@Override\n protected void prot() {\n }", "title": "" }, { "docid": "92ff2215e2946927efe966014fa1b664", "score": "0.5654792", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "title": "" }, { "docid": "289e1db116de136c64eef3293ece7f16", "score": "0.5652974", "text": "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "title": "" }, { "docid": "502b1954008fce4ba895ad7a32b37b97", "score": "0.5650185", "text": "public void mo55254a() {\n }", "title": "" } ]
050cfb5d5368ac0ab90d4e10656ef4df
Returns true if two dataTypes have the same sourceArchive and the same UniversalID OR are equivalent
[ { "docid": "ccf49cfe95087046aa19ba35d2e9885e", "score": "0.6124965", "text": "public static boolean isSameOrEquivalentDataType(DataType dataType1, DataType dataType2) {\n\t\t// if they contain datatypes that have same ids, then they represent the same dataType\n\t\tif (isSameDataType(dataType1, dataType2)) {\n\t\t\treturn true;\n\t\t}\n\t\t// otherwise, check if they are equivalent\n\t\treturn dataType1.isEquivalent(dataType2);\n\t}", "title": "" } ]
[ { "docid": "92e2b75334864a791b241463db28dbf9", "score": "0.7200206", "text": "public static boolean isSameDataType(DataType dataType1, DataType dataType2) {\n\t\tUniversalID id1 = dataType1.getUniversalID();\n\t\tUniversalID id2 = dataType2.getUniversalID();\n\t\tif (id1 == null || id2 == null) {\n\t\t\treturn false;\n\t\t}\n\t\tif (!id1.equals(id2)) {\n\t\t\treturn false;\n\t\t}\n\t\t// Same universal id, but to be sure make sure the source archives are the same.\n\t\tSourceArchive sourceArchive1 = dataType1.getSourceArchive();\n\t\tSourceArchive sourceArchive2 = dataType2.getSourceArchive();\n\t\tif (sourceArchive1 == null || sourceArchive2 == null) {\n\t\t\treturn false;\n\t\t}\n\t\treturn sourceArchive1.getSourceArchiveID().equals(sourceArchive2.getSourceArchiveID());\n\t}", "title": "" }, { "docid": "264f30982c69cb3bb06e6bae80158a53", "score": "0.6125754", "text": "private boolean typeSameAny(ApnSetting first, ApnSetting second) {\n if (VDBG) {\n StringBuilder apnType1 = new StringBuilder(first.mApnName + \": \");\n apnType1.append(getApnTypesStringFromBitmask(first.mApnTypeBitmask));\n\n StringBuilder apnType2 = new StringBuilder(second.mApnName + \": \");\n apnType2.append(getApnTypesStringFromBitmask(second.mApnTypeBitmask));\n\n Rlog.d(LOG_TAG, \"APN1: is \" + apnType1);\n Rlog.d(LOG_TAG, \"APN2: is \" + apnType2);\n }\n\n if ((first.mApnTypeBitmask & second.mApnTypeBitmask) != 0) {\n if (VDBG) {\n Rlog.d(LOG_TAG, \"typeSameAny: return true\");\n }\n return true;\n }\n\n if (VDBG) {\n Rlog.d(LOG_TAG, \"typeSameAny: return false\");\n }\n return false;\n }", "title": "" }, { "docid": "77ef47ab21619adeabc9aec4ea02e581", "score": "0.6041141", "text": "static boolean matches(Types source, Types destination) {\n\t\treturn source.equals(destination);\n\t}", "title": "" }, { "docid": "76a1d2b9353edddc2b8fd1c84fa0ccfb", "score": "0.5933235", "text": "public abstract boolean sourcesEqual(Source other);", "title": "" }, { "docid": "986d95f9673090a210699ffbd647392b", "score": "0.5909554", "text": "@Override\n\tpublic boolean isTheSameAs(UniDataSet uds) {\n\t\tif (!uds.getStringValueByKey(\"name\").equalsIgnoreCase(this.getStringValueByKey(\"name\")))\n\t\t\treturn false;\n\t\tif (!uds.getStringValueByKey(\"value\").equals(this.getStringValueByKey(\"value\")))\n\t\t\treturn false;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "0710f55c3d86b7e1a005a837e8eadca3", "score": "0.58222353", "text": "private static boolean same (otid_t otid1, otid_t otid2)\n {\n\tif ((otid1.formatID == otid2.formatID) &&\n\t (otid1.bqual_length == otid2.bqual_length))\n\t{\n\t for (int i = 0; i < otid1.bqual_length; i++)\n\t {\n\t\tif (otid1.tid[i] != otid2.tid[i])\n\t\t return false;\n\t }\n\n\t /*\n\t * Got here, so must be equal!\n\t */\n\t \n\t return true;\n\t}\n\telse\n\t return false;\n }", "title": "" }, { "docid": "b66e8b81eec23a350747cc30110052ac", "score": "0.57936645", "text": "private boolean equalMember(TypeCode memberType,InputStream myStream,InputStream otherStream){\n // Resolve aliases here\n TypeCode realType=realType(memberType);\n try{\n switch(realType.kind().value()){\n // handle primitive types\n case TCKind._tk_null:\n case TCKind._tk_void:\n return true;\n case TCKind._tk_short:\n return (myStream.read_short()==otherStream.read_short());\n case TCKind._tk_long:\n return (myStream.read_long()==otherStream.read_long());\n case TCKind._tk_ushort:\n return (myStream.read_ushort()==otherStream.read_ushort());\n case TCKind._tk_ulong:\n return (myStream.read_ulong()==otherStream.read_ulong());\n case TCKind._tk_float:\n return (myStream.read_float()==otherStream.read_float());\n case TCKind._tk_double:\n return (myStream.read_double()==otherStream.read_double());\n case TCKind._tk_boolean:\n return (myStream.read_boolean()==otherStream.read_boolean());\n case TCKind._tk_char:\n return (myStream.read_char()==otherStream.read_char());\n case TCKind._tk_wchar:\n return (myStream.read_wchar()==otherStream.read_wchar());\n case TCKind._tk_octet:\n return (myStream.read_octet()==otherStream.read_octet());\n case TCKind._tk_any:\n return myStream.read_any().equal(otherStream.read_any());\n case TCKind._tk_TypeCode:\n return myStream.read_TypeCode().equal(otherStream.read_TypeCode());\n case TCKind._tk_string:\n return myStream.read_string().equals(otherStream.read_string());\n case TCKind._tk_wstring:\n return (myStream.read_wstring().equals(otherStream.read_wstring()));\n case TCKind._tk_longlong:\n return (myStream.read_longlong()==otherStream.read_longlong());\n case TCKind._tk_ulonglong:\n return (myStream.read_ulonglong()==otherStream.read_ulonglong());\n case TCKind._tk_objref:\n return (myStream.read_Object().equals(otherStream.read_Object()));\n case TCKind._tk_Principal:\n return (myStream.read_Principal().equals(otherStream.read_Principal()));\n case TCKind._tk_enum:\n return (myStream.read_long()==otherStream.read_long());\n case TCKind._tk_fixed:\n return (myStream.read_fixed().compareTo(otherStream.read_fixed())==0);\n case TCKind._tk_except:\n case TCKind._tk_struct:{\n int length=realType.member_count();\n for(int i=0;i<length;i++){\n if(!equalMember(realType.member_type(i),myStream,otherStream)){\n return false;\n }\n }\n return true;\n }\n case TCKind._tk_union:{\n Any myDiscriminator=orb.create_any();\n Any otherDiscriminator=orb.create_any();\n myDiscriminator.read_value(myStream,realType.discriminator_type());\n otherDiscriminator.read_value(otherStream,realType.discriminator_type());\n if(!myDiscriminator.equal(otherDiscriminator)){\n return false;\n }\n TypeCodeImpl realTypeCodeImpl=TypeCodeImpl.convertToNative(orb,realType);\n int memberIndex=realTypeCodeImpl.currentUnionMemberIndex(myDiscriminator);\n if(memberIndex==-1)\n throw wrapper.unionDiscriminatorError();\n if(!equalMember(realType.member_type(memberIndex),myStream,otherStream)){\n return false;\n }\n return true;\n }\n case TCKind._tk_sequence:{\n int length=myStream.read_long();\n otherStream.read_long(); // just so that the two stream are in sync\n for(int i=0;i<length;i++){\n if(!equalMember(realType.content_type(),myStream,otherStream)){\n return false;\n }\n }\n return true;\n }\n case TCKind._tk_array:{\n int length=realType.member_count();\n for(int i=0;i<length;i++){\n if(!equalMember(realType.content_type(),myStream,otherStream)){\n return false;\n }\n }\n return true;\n }\n // Too complicated to handle value types the way we handle\n // other complex types above. Don't try to decompose it here\n // for faster comparison, just use Object.equals().\n case TCKind._tk_value:\n case TCKind._tk_value_box:\n org.omg.CORBA_2_3.portable.InputStream mine=\n (org.omg.CORBA_2_3.portable.InputStream)myStream;\n org.omg.CORBA_2_3.portable.InputStream other=\n (org.omg.CORBA_2_3.portable.InputStream)otherStream;\n return mine.read_value().equals(other.read_value());\n case TCKind._tk_alias:\n // error resolving alias above\n throw wrapper.errorResolvingAlias();\n case TCKind._tk_longdouble:\n throw wrapper.tkLongDoubleNotSupported();\n default:\n throw wrapper.typecodeNotSupported();\n }\n }catch(BadKind badKind){ // impossible\n throw wrapper.badkindCannotOccur();\n }catch(Bounds bounds){ // impossible\n throw wrapper.boundsCannotOccur();\n }\n }", "title": "" }, { "docid": "c376af8e731f76c2c6160d0eaf6630fb", "score": "0.57797295", "text": "public boolean sameTypeAs(UnoCard other) {\n return other.type == this.type;\n }", "title": "" }, { "docid": "84c69129f086e7e990df081c06f63b17", "score": "0.57049567", "text": "@Override\n public boolean equals(Object other){\n boolean result = this.getClass().equals(other.getClass());\n if (result) {\n ArchiveEntry entryOther = (ArchiveEntry)other;\n result = this.fileName.equals(entryOther.fileName) \n && this.relName.equals(entryOther.relName)\n && this.flags == entryOther.flags;\n }\n return result;\n }", "title": "" }, { "docid": "e02a3d8b38d77b34967d9d4fd612618e", "score": "0.569765", "text": "public boolean equals(DataFlavor dataFlavor) {\n/* 198 */ return (isMimeTypeEqual(dataFlavor) && dataFlavor.getRepresentationClass() == this.representationClass);\n/* */ }", "title": "" }, { "docid": "db76a75ed43078fa801df73a8d25136b", "score": "0.5669458", "text": "public boolean typedEquals(IdentifiableObject other) {\n if (other == null) {\n return false;\n }\n\n if (getUid() != null ? !getUid().equals(other.getUid()) : other.getUid() != null) {\n return false;\n }\n\n if (getCode() != null ? !getCode().equals(other.getCode()) : other.getCode() != null) {\n return false;\n }\n\n return getName() != null ? getName().equals(other.getName()) : other.getName() == null;\n }", "title": "" }, { "docid": "c321525d2e883a9ae2e3568f7eb26f9b", "score": "0.5653557", "text": "@Override\n boolean areSerializedFieldsEqual(Filter o) {\n if (o == this) {\n return true;\n }\n if (!(o instanceof FuzzyRowFilter)) {\n return false;\n }\n FuzzyRowFilter other = (FuzzyRowFilter) o;\n if (this.fuzzyKeysData.size() != other.fuzzyKeysData.size()) return false;\n for (int i = 0; i < fuzzyKeysData.size(); ++i) {\n Pair<byte[], byte[]> thisData = this.fuzzyKeysData.get(i);\n Pair<byte[], byte[]> otherData = other.fuzzyKeysData.get(i);\n if (\n !(Bytes.equals(thisData.getFirst(), otherData.getFirst())\n && Bytes.equals(thisData.getSecond(), otherData.getSecond()))\n ) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "daa8aeccee03832bef7d53e4cb2c1699", "score": "0.5620952", "text": "public boolean similar(ApnSetting other) {\n return (!this.canHandleType(TYPE_DUN)\n && !other.canHandleType(TYPE_DUN)\n && Objects.equals(this.mApnName, other.mApnName)\n && !typeSameAny(this, other)\n && xorEquals(this.mProxyAddress, other.mProxyAddress)\n && xorEqualsInt(this.mProxyPort, other.mProxyPort)\n && xorEquals(this.mProtocol, other.mProtocol)\n && xorEquals(this.mRoamingProtocol, other.mRoamingProtocol)\n && Objects.equals(this.mCarrierEnabled, other.mCarrierEnabled)\n && Objects.equals(this.mProfileId, other.mProfileId)\n && Objects.equals(this.mMvnoType, other.mMvnoType)\n && Objects.equals(this.mMvnoMatchData, other.mMvnoMatchData)\n && xorEquals(this.mMmsc, other.mMmsc)\n && xorEquals(this.mMmsProxyAddress, other.mMmsProxyAddress)\n && xorEqualsInt(this.mMmsProxyPort, other.mMmsProxyPort))\n && Objects.equals(this.mNetworkTypeBitmask, other.mNetworkTypeBitmask)\n && Objects.equals(mApnSetId, other.mApnSetId)\n && Objects.equals(mCarrierId, other.mCarrierId)\n && Objects.equals(mSkip464Xlat, other.mSkip464Xlat);\n }", "title": "" }, { "docid": "d6ae3e9cb45c0ca5afc9a42e6ab37c27", "score": "0.560851", "text": "public final boolean equalsType(UnitQuaternion other) {\n\t\treturn other.getW() == getW() && other.getX() == getX() && other.getY() == getY() && other.getZ() == getZ();\n\t}", "title": "" }, { "docid": "6ed40561f0ae301a54ee93b1ce31138d", "score": "0.558431", "text": "public boolean equalsType(ShareInfo other)\n {\n return ((this.x == other.x) &&\n (this.share.equals(other.share)));\n }", "title": "" }, { "docid": "5301b17675517bed03e89daea9c84d23", "score": "0.5554014", "text": "public boolean sameType(BaseASN1Object o) {\n return o.tagClass == tagClass && o.tagNumber == tagNumber;\n }", "title": "" }, { "docid": "79f841acacb4e6739f650e5b94ab5a2e", "score": "0.55409867", "text": "@Override\n public boolean equals(Object objectToCompare)\n {\n if (this == objectToCompare)\n {\n return true;\n }\n if (objectToCompare == null || getClass() != objectToCompare.getClass())\n {\n return false;\n }\n OpenMetadataArchive that = (OpenMetadataArchive) objectToCompare;\n return Objects.equals(getArchiveProperties(), that.getArchiveProperties()) &&\n Objects.equals(getArchiveTypeStore(), that.getArchiveTypeStore()) &&\n Objects.equals(getArchiveInstanceStore(), that.getArchiveInstanceStore());\n }", "title": "" }, { "docid": "72739b3f74e6a8d714ef18ddac16cfc4", "score": "0.5535582", "text": "public boolean convertible(TypeId otherType, boolean forDataTypeFunction)\n\t{\n if ( getTypeId().getBaseTypeId().isAnsiUDT() )\n {\n if ( !otherType.getBaseTypeId().isAnsiUDT() ) { return false; }\n \n UserDefinedTypeIdImpl thisTypeID = (UserDefinedTypeIdImpl) getTypeId().getBaseTypeId();\n UserDefinedTypeIdImpl thatTypeID = (UserDefinedTypeIdImpl) otherType.getBaseTypeId();\n \n return thisTypeID.getSQLTypeName().equals( thatTypeID.getSQLTypeName() );\n }\n \n\t\t/*\n\t\t** We are a non-ANSI user defined type, we are\n\t\t** going to have to let the client find out\n\t\t** the hard way.\n\t\t*/\n\t\treturn true;\n\t}", "title": "" }, { "docid": "2fdc2ab32043225a8055ac57270b7fd1", "score": "0.54398465", "text": "boolean isSameType( ItemStack stored );", "title": "" }, { "docid": "8750d9e75e193d15e1ccacf481a22ddb", "score": "0.542548", "text": "public static boolean equals(final TypeRepresentation first, final TypeRepresentation second) {\n if (!first.equals(second))\n return false;\n\n final boolean firstCollection = first instanceof TypeRepresentation.CollectionTypeRepresentation;\n final boolean secondCollection = second instanceof TypeRepresentation.CollectionTypeRepresentation;\n\n if (firstCollection ^ secondCollection)\n return false;\n\n if (firstCollection)\n return ((TypeRepresentation.CollectionTypeRepresentation) first).contentEquals(((TypeRepresentation.CollectionTypeRepresentation) second).getRepresentation());\n\n final boolean firstEnum = first instanceof TypeRepresentation.EnumTypeRepresentation;\n final boolean secondEnum = second instanceof TypeRepresentation.EnumTypeRepresentation;\n\n if (firstEnum ^ secondEnum)\n return false;\n\n if (firstEnum) {\n final TypeRepresentation.EnumTypeRepresentation firstEnumRep = (TypeRepresentation.EnumTypeRepresentation) first;\n final TypeRepresentation.EnumTypeRepresentation secondEnumRep = (TypeRepresentation.EnumTypeRepresentation) second;\n return firstEnumRep.getEnumValues().equals(secondEnumRep.getEnumValues()) && firstEnumRep.getComponentType().equals(secondEnumRep.getComponentType());\n }\n\n return ((TypeRepresentation.ConcreteTypeRepresentation) first).contentEquals(((TypeRepresentation.ConcreteTypeRepresentation) second).getProperties());\n }", "title": "" }, { "docid": "ffa7948bf9ac8d02ed3e5bf60f55735e", "score": "0.5425007", "text": "static public boolean haveSameType (scala.collection.Seq<org.apache.spark.sql.types.DataType> types) { throw new RuntimeException(); }", "title": "" }, { "docid": "e18f076efb8da6e827a25f1b0eec8a6a", "score": "0.54001606", "text": "@Override\n public boolean equals(Object other) {\n if (other == null) {\n return false;\n }\n if (other == this) {\n return true;\n }\n if (other.getClass() != this.getClass()) {\n return false;\n }\n DataFrameHeader otherHeader = (DataFrameHeader) other;\n if (size() != otherHeader.size()) {\n return false;\n }\n for (String s : headers) {\n\n if (!otherHeader.contains(s)) {\n return false;\n }\n if (!getValueType(s).equals(otherHeader.getValueType(s))) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "839c58045607dfb3d6688026a8352314", "score": "0.53667414", "text": "@Test\r\n\tpublic void testSame() {\r\n\t\tassertTrue(unidirectionalComparator0Dot5.compare(simpleType1, simpleType1));\r\n\t\tassertTrue(bidirectionalComparator0Dot5.compare(simpleType1, simpleType1));\r\n\t}", "title": "" }, { "docid": "f0b702a26368955fe7523346279d53d1", "score": "0.5340704", "text": "@Override\n public boolean areContentsTheSame(@NonNull ImageDataset oldItem, @NonNull ImageDataset newItem) {\n return oldItem.equals(newItem);\n }", "title": "" }, { "docid": "42bb57ce28890041f2aec18e0bdddc6d", "score": "0.53161824", "text": "@Override\n\tpublic boolean isEqual(Object objectname1, Object objectname2,\n\t\t\tClass<?> voClass) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "4cd628a568c8100d93725644d26510da", "score": "0.5314872", "text": "boolean isSameType( IAEItemStack otherStack );", "title": "" }, { "docid": "626f4af4928ffc8fc650be3b875c09a9", "score": "0.53115785", "text": "private static boolean equals(byte[] data1, byte[] data2) {\n if (data1 == data2) {\n return true;\n }\n if (data1 == null || data2 == null) {\n return false;\n }\n final int length = data1.length;\n if (data2.length != length) {\n return false;\n }\n for (int i = length - 1; i >= DATA_OFFSET; i--) {\n if (data1[i] != data2[i]) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "5862bc5e9469c5d7e4694dd6a15b7e73", "score": "0.53053576", "text": "public boolean isEquivalent(ISubArchitecture SubArchitectureToCheck);", "title": "" }, { "docid": "ecb5a3c79d70b7d16d5e82aba8325744", "score": "0.5303284", "text": "public static boolean equalsByName(XObject[] array1, XObject[] array2) {\r\n\t boolean result = true;\r\n\t if(array1 == null)\r\n\t result = array2 == null;\r\n\t else if(array2 == null)\r\n\t result = false;\r\n\t else {\r\n\t result = array1.length == array2.length;\r\n\t for( int i = 0 ; (i < array1.length) && result ; i++ ) { \r\n\t XObject obj1 = array1[i];\r\n\t XObject obj2 = array2[i];\r\n\t result = XHelper.equalsById(obj1, obj2);\r\n\t } \r\n\t }\r\n\t return result;\r\n\t}", "title": "" }, { "docid": "9c88c3df246931a4172e2a56fca9edc5", "score": "0.528278", "text": "public boolean equals(DerValue other) {\n data.reset();\n other.data.reset();\n if (this == other)\n return true;\n else if (tag != other.tag) {\n return false;\n } else {\n return buffer.equals(other.buffer);\n }\n }", "title": "" }, { "docid": "acb45a671a36ddc985e50f772d803a1b", "score": "0.52766573", "text": "public boolean equals(TransmitterPdu rhs)\n {\n boolean ivarsEqual = true;\n\n if(rhs.getClass() != this.getClass())\n return false;\n\n if( ! (radioEntityType.equals( rhs.radioEntityType) )) ivarsEqual = false;\n if( ! (transmitState == rhs.transmitState)) ivarsEqual = false;\n if( ! (inputSource == rhs.inputSource)) ivarsEqual = false;\n if( ! (padding1 == rhs.padding1)) ivarsEqual = false;\n if( ! (antennaLocation.equals( rhs.antennaLocation) )) ivarsEqual = false;\n if( ! (relativeAntennaLocation.equals( rhs.relativeAntennaLocation) )) ivarsEqual = false;\n if( ! (antennaPatternType == rhs.antennaPatternType)) ivarsEqual = false;\n if( ! (antennaPatternCount == rhs.antennaPatternCount)) ivarsEqual = false;\n if( ! (frequency == rhs.frequency)) ivarsEqual = false;\n if( ! (transmitFrequencyBandwidth == rhs.transmitFrequencyBandwidth)) ivarsEqual = false;\n if( ! (power == rhs.power)) ivarsEqual = false;\n if( ! (modulationType.equals( rhs.modulationType) )) ivarsEqual = false;\n if( ! (cryptoSystem == rhs.cryptoSystem)) ivarsEqual = false;\n if( ! (cryptoKeyId == rhs.cryptoKeyId)) ivarsEqual = false;\n if( ! (modulationParameterCount == rhs.modulationParameterCount)) ivarsEqual = false;\n if( ! (padding2 == rhs.padding2)) ivarsEqual = false;\n if( ! (padding3 == rhs.padding3)) ivarsEqual = false;\n\n for(int idx = 0; idx < modulationParametersList.size(); idx++)\n {\n Vector3Float x = (Vector3Float)modulationParametersList.get(idx);\n if( ! ( modulationParametersList.get(idx).equals(rhs.modulationParametersList.get(idx)))) ivarsEqual = false;\n }\n\n\n for(int idx = 0; idx < antennaPatternList.size(); idx++)\n {\n Vector3Float x = (Vector3Float)antennaPatternList.get(idx);\n if( ! ( antennaPatternList.get(idx).equals(rhs.antennaPatternList.get(idx)))) ivarsEqual = false;\n }\n\n\n return ivarsEqual;\n }", "title": "" }, { "docid": "0c8b2365deaeae5f0afc47b12578f40b", "score": "0.5275715", "text": "@Test\r\n\tpublic void testEqual() {\r\n\t\tassertTrue(unidirectionalComparator0Dot5.compare(simpleType1, simpleType1Copy));\r\n\t\tassertTrue(unidirectionalComparator0Dot5.compare(simpleType1Copy, simpleType1));\r\n\t\tassertTrue(bidirectionalComparator0Dot5.compare(simpleType1, simpleType1Copy));\r\n\t\tassertTrue(bidirectionalComparator0Dot5.compare(simpleType1Copy, simpleType1));\r\n\t}", "title": "" }, { "docid": "4a1bf97a6d6b2d674074303ecaf57fab", "score": "0.52647823", "text": "private boolean hasSameContent(File file1, File file2) {\n\t\tFileInputStream inputStream1=null;\n\t\tFileInputStream inputStream2=null;\n\n\t\ttry {\n\t\t\tinputStream1 = new FileInputStream(file1); // NOSONAR\n\t\t} catch (FileNotFoundException e) {\n\t\t\tlog.error(\"Could not find \"+file1.getAbsolutePath(), e);\n\t\t\tFileOperations.closeExceptionless(inputStream1);\n\t\t\treturn false;\n\t\t} \n\t\ttry {\n\t\t\tinputStream2 = new FileInputStream(file2); // NOSONAR\n\t\t} catch (FileNotFoundException e) {\n\t\t\tlog.error(\"Could not find \"+file2.getAbsolutePath(), e);\n\t\t\tFileOperations.closeExceptionless(inputStream1, inputStream2);\n\t\t\treturn false;\n\t\t} \n\n\t\tInputStream bufferedInStream1 = new BufferedInputStream(inputStream1);\n\t\tInputStream bufferedInStream2 = new BufferedInputStream(inputStream2);\n\t\tint byte1 = 0 ;\n\t\tint byte2 = 0 ;\n\t\twhile ((byte1 | byte2) >= 0) {\n\t\t\ttry {\n\t\t\t\tbyte1 = bufferedInStream1.read();\n\t\t\t\tbyte2 = bufferedInStream2.read();\n\t\t\t\tif (byte1 != byte2) { \n\t\t\t\t\tlog.debug(\"NOT SAME: \"+file1.getCanonicalPath()+\" AND \"+file2.getCanonicalPath());\n\t\t\t\t\tFileOperations.closeExceptionless(bufferedInStream1, bufferedInStream2);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\tlog.error(\"Exception at comparing file \"+file1.getAbsolutePath()+ \" with \"+ file2.getAbsolutePath(), e);\n\t\t\t\tlog.debug(\"NOT SAME: \"+file1.getAbsolutePath()+\" AND \"+file2.getAbsolutePath());\n\t\t\t\tFileOperations.closeExceptionless(bufferedInStream1, bufferedInStream2);\n\t\t\t\treturn false;\n\t\t\t} \n\t\t}\n\t\tFileOperations.closeExceptionless(bufferedInStream1, bufferedInStream2);\n\t\tlog.debug(\"SAME: \"+file1.getAbsolutePath()+\" AND \"+file2.getAbsolutePath());\n\t\treturn true;\n\t}", "title": "" }, { "docid": "20fb68648f1111497653f779597adb36", "score": "0.525596", "text": "@Test\n public void testEqualityNotSame() throws InvalidDnaFormatException {\n assertFalse(scheme.create('A').equals(scheme.create('T')));\n }", "title": "" }, { "docid": "fb394aeedd6d4f6b5f6d622bd61f25b6", "score": "0.5213761", "text": "public boolean equalTo(FeatureSet other) {\n if (!getName().equals(other.getName())) {\n return false;\n }\n\n if (!getLabels().equals(other.getLabels())) {\n return false;\n }\n\n if (!project.getName().equals(other.project.getName())) {\n return false;\n }\n\n if (!source.equalTo(other.getSource())) {\n return false;\n }\n\n if (maxAgeSeconds != other.maxAgeSeconds) {\n return false;\n }\n\n // Create a map of all fields in this feature set\n Map<String, Entity> entitiesMap = new HashMap<>();\n Map<String, Feature> featuresMap = new HashMap<>();\n\n for (Entity e : entities) {\n entitiesMap.putIfAbsent(e.getName(), e);\n }\n\n for (Feature f : features) {\n featuresMap.putIfAbsent(f.getName(), f);\n }\n\n // Ensure map size is consistent with existing fields\n if (entitiesMap.size() != other.getEntities().size()) {\n return false;\n }\n if (featuresMap.size() != other.getFeatures().size()) {\n return false;\n }\n\n // Ensure the other entities and features exist in the field map\n for (Entity e : other.getEntities()) {\n if (!entitiesMap.containsKey(e.getName())) {\n return false;\n }\n if (!e.equals(entitiesMap.get(e.getName()))) {\n return false;\n }\n }\n\n for (Feature f : other.getFeatures()) {\n if (!featuresMap.containsKey(f.getName())) {\n return false;\n }\n if (!f.equals(featuresMap.get(f.getName()))) {\n return false;\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "82b90733b5b5419e1c0d2962f9ec0629", "score": "0.52039576", "text": "public static boolean isIsomorphicWith(Dataset dataset, Dataset otherDataset) {\n if (dataset == null) {\n throw new IllegalArgumentException(\"dataset must not be null\");\n }\n if (otherDataset == null) {\n throw new IllegalArgumentException(\"otherDataset must not be null\");\n }\n // first, check the default graph:\n Model defaultModel = dataset.getDefaultModel();\n Model otherDefaultModel = otherDataset.getDefaultModel();\n if (!areModelsIsomorphic(defaultModel, otherDefaultModel)) {\n return false;\n }\n // now, check all named models\n Iterator<String> namesIt = dataset.listNames();\n while (namesIt.hasNext()) {\n String name = namesIt.next();\n Model model = dataset.getNamedModel(name);\n if (!otherDataset.containsNamedModel(name)) {\n // treat empty named graphs same as non-existent ones: check if the named graph\n // in the otherDataset is empty\n if (dataset.getNamedModel(name).isEmpty()) {\n return true;\n }\n }\n Model otherModel = otherDataset.getNamedModel(name);\n if (!areModelsIsomorphic(model, otherModel)) {\n return false;\n }\n }\n // check if the other dataset contains named models not contained in the dataset\n namesIt = otherDataset.listNames();\n while (namesIt.hasNext()) {\n String name = namesIt.next();\n if (!dataset.containsNamedModel(name)) {\n // treat empty named graphs same as non-existent ones: check if the named graph\n // in the otherDataset is empty\n return otherDataset.getNamedModel(name).isEmpty();\n }\n }\n return true;\n }", "title": "" }, { "docid": "ad8613aff10290346ff4ae344a3710d0", "score": "0.5196506", "text": "public boolean attributesAreEqual(AttributeContainer other) {\n int numAttributes = getAttributeCount();\n if (numAttributes != other.getAttributeCount()) {\n return false;\n }\n for (int attribIndex = 0; attribIndex < numAttributes; attribIndex++) {\n AttributeInfo thisAttrib = (AttributeInfo) this.attributes.elementAt(attribIndex);\n Object thisAttribValue = thisAttrib.getValue();\n if (!(other.hasAttribute(thisAttrib.getName()) && thisAttribValue.equals(other.getAttributeSafely(thisAttrib.getName())))) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "bef8a6285af3b53bffbefa7c120cda1c", "score": "0.51846546", "text": "private boolean isContentDifferent(StorageEntry entryA, StorageEntry entryB) {\n return !Arrays.equals(entryA.getContents(), entryB.getContents());\n }", "title": "" }, { "docid": "13399e987c1e8f8fbdd2f4f1549d3b4d", "score": "0.51838726", "text": "protected boolean entriesMatch(ZipEntry entry1, ZipEntry entry2) {\n\t\tboolean result;\n\n\t\tresult = (entry1.isDirectory() == entry2.isDirectory()) && (entry1.getSize() == entry2.getSize()) && (entry1.getCompressedSize() == entry2.getCompressedSize());\n\n\t\tif (isUsingTimestamps()) {\n\t\t\tresult = result && (entry1.getTime() == entry2.getTime());\n\t\t}\n\n\t\tif (getCompareCRCValues()) {\n\t\t\tresult = result && (entry1.getCrc() == entry2.getCrc());\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "a1bef063cb7bea103dbd9ca9b56c7dc2", "score": "0.51818395", "text": "public boolean compareAirport(Airport src, Airport dest)throws InvalidAirportException;", "title": "" }, { "docid": "b92875151e5b4401b02aaf84a2fe47ad", "score": "0.51744765", "text": "public boolean isEqual(FrameData f) {\n if (size() != f.size())\n return false;\n\n for (int i = 0; i < size(); i++) {\n if (this.get(i) != f.get(i))\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "c42b1f2432f8eff260143b8520615de9", "score": "0.51732", "text": "public Boolean equateASIs(OrdinalSet<InstanceKey> asi1,OrdinalSet<InstanceKey>asi2){\n\t\tCollection<InstanceKey>asi1Collection = OrdinalSet.toCollection(asi1);\n\t\tCollection<InstanceKey>asi2Collection = OrdinalSet.toCollection(asi2);\n\t\tif(asi1Collection.containsAll(asi2Collection))\n\t\t\tif(asi2Collection.containsAll(asi1Collection))\n\t\t\t\treturn true;\n\t\treturn false;\n\t}", "title": "" }, { "docid": "da7f6b743c011fd9edec0ca5549b802a", "score": "0.514751", "text": "@Test\n public void isSame() {\n assertTrue(AMELIA.isSame(AMELIA));\n\n // null -> returns false\n assertFalse(AMELIA.isSame(null));\n\n // different phone, email, gender and title -> returns false\n Hairdresser editedAmelia = new HairdresserBuilder(AMELIA).withPhone(VALID_PHONE_BENJAMIN)\n .withEmail(VALID_EMAIL_BENJAMIN)\n .withTitle(VALID_TITLE_BENJAMIN)\n .withGender(VALID_GENDER_BENJAMIN)\n .build();\n assertFalse(AMELIA.isSame(editedAmelia));\n\n // different name -> returns false\n editedAmelia = new HairdresserBuilder(AMELIA).withName(VALID_NAME_BENJAMIN)\n .build();\n assertFalse(AMELIA.isSame(editedAmelia));\n\n // same name, same phone, different attributes -> returns true\n editedAmelia = new HairdresserBuilder(AMELIA).withEmail(VALID_EMAIL_BENJAMIN)\n .withTitle(VALID_TITLE_BENJAMIN)\n .withSpecs(VALID_SPECIALISATION_PERM)\n .build();\n assertTrue(AMELIA.isSame(editedAmelia));\n\n // same name, same email, different attributes -> returns false\n editedAmelia = new HairdresserBuilder(AMELIA).withPhone(VALID_PHONE_BENJAMIN)\n .withTitle(VALID_TITLE_BENJAMIN)\n .withSpecs(VALID_SPECIALISATION_PERM)\n .build();\n assertFalse(AMELIA.isSame(editedAmelia));\n\n // same name, same phone, same email, different attributes -> returns true\n editedAmelia = new HairdresserBuilder(AMELIA).withTitle(VALID_TITLE_BENJAMIN)\n .withSpecs(VALID_SPECIALISATION_PERM)\n .build();\n assertTrue(AMELIA.isSame(editedAmelia));\n }", "title": "" }, { "docid": "d1094639f7116d07109dfa71824360a7", "score": "0.51402366", "text": "@Override\n public boolean equals(Object other) {\n if (!(other instanceof UnoCard)) {\n return false;\n }\n UnoCard card = (UnoCard) other;\n return (this.sameColorAs(card) && this.sameTypeAs(card));\n }", "title": "" }, { "docid": "8bb3112cb3084a48287acc83edf7a59e", "score": "0.5100142", "text": "public boolean isEqual(RacketList<Flight> otherFlights) {\n\t\tFlightList otherFlightList = FlightList.fromRacketList(otherFlights);\n\t\tif(this.length() == otherFlightList.length()) {\n\t\t\tfor(int i = 0; i < otherFlightList.al.size(); i++) {\n\t\t\t\tif(!this.al.get(i).isEqual(otherFlightList.al.get(i))) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} else {\n\t\t\tSystem.out.println(\"False 2\");\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "ae760f78b6abae4743e8fa7a352e8a47", "score": "0.5091565", "text": "public static boolean equalsIgnoreConflict(String name1, String name2) {\n\t\tname1 = DATATYPE_CONFLICT_PATTERN.matcher(name1).replaceAll(\"\");\n\t\tname2 = DATATYPE_CONFLICT_PATTERN.matcher(name2).replaceAll(\"\");\n\t\treturn name1.equals(name2);\n\t}", "title": "" }, { "docid": "a0d30a78aff29e85750a2a1ad663efe8", "score": "0.5083552", "text": "public static boolean isUnique(EntityBaseBean entityClass, EntityManager manager) {\n if (entityClass instanceof Dataset) {\n Dataset dataset = (Dataset) entityClass;\n Query query = (Query) manager.createNamedQuery(Queries.DATASET_FINDBY_UNIQUE);\n query = query.setParameter(\"sampleId\", dataset.getSampleId());\n query = query.setParameter(\"investigation\", dataset.getInvestigation());\n query = query.setParameter(\"datasetType\", dataset.getDatasetType());\n query = query.setParameter(\"name\", dataset.getName());\n\n try {\n log.trace(\"Looking for: sampleId: \" + dataset.getSampleId());\n log.trace(\"Looking for: investigation: \" + dataset.getInvestigation());\n log.trace(\"Looking for: datasetType: \" + dataset.getDatasetType());\n log.trace(\"Looking for: name: \" + dataset.getName());\n\n Dataset datasetFound = (Dataset) query.getSingleResult();\n log.trace(\"Returned: \" + datasetFound);\n if (datasetFound.getId() != null && datasetFound.getId().equals(dataset.getId())) {\n log.trace(\"Dataset found is this dataset\");\n return true;\n } else {\n log.trace(\"Dataset found is not this dataset, so no unique\");\n return false;\n }\n } catch (NoResultException nre) {\n log.trace(\"No results so unique\");\n //means it is unique\n return true;\n } catch (Throwable ex) {\n log.warn(ex);\n //means it is unique\n return false;\n }\n } else if (entityClass instanceof Investigation) {\n log.trace(\"Investigation\");\n } else if (entityClass instanceof Datafile) {\n log.trace(\"Datafile\");\n }\n\n return true;\n }", "title": "" }, { "docid": "b3a71ebbe9d590da6f08e5639bf29068", "score": "0.50788397", "text": "boolean isIsCombineDuplicate();", "title": "" }, { "docid": "c3757d75d18acab244cbb5c12bc72b6d", "score": "0.5074078", "text": "public boolean sameType(String typename) {\n\t\treturn typeName_.equals(typename);\n\t}", "title": "" }, { "docid": "088582b7e9bcfc6b1a4c84b85697281a", "score": "0.5059125", "text": "private static boolean equalsIgnoreSize(DataContainer dca, DataContainer dcb) {\n\t\tdca.remove(DataQuery.of(\"Count\"));\n\t\tdcb.remove(DataQuery.of(\"Count\"));\n\t\t\n\t\tSet<DataQuery> qa = dca.getKeys(true);\n\t\tSet<DataQuery> qb = dcb.getKeys(true);\n\t\t//BoxLoader.l(\"%s - %s\", Arrays.toString(qa.toArray(new DataQuery[qa.size()])), Arrays.toString(qb.toArray(new DataQuery[qb.size()])));\n\t\tif (qa.isEmpty() && qb.isEmpty()) return true;\n\t\tif (qa.size() != qb.size()) return false;\n\t\tSet<DataQuery> mq = new HashSet<>(); //add and remove queries to this mutable list, as qa and qb are immutable\n\t\tmq.addAll(qa);\n\t\tmq.removeAll(qb);\n\t\tif (!mq.isEmpty()) return false;\n\t\tfor (DataQuery q : qa) {\n\t\t\tif (!dca.get(q).get().equals(dcb.get(q).get())) return false;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "48cb5c296eb0db6d9b486ad22b1720ca", "score": "0.5053542", "text": "static private boolean areIsomorphic(String s1, String s2) {\n\n if (s1 == null || s2 == null) {\n throw new IllegalArgumentException();\n }\n\n if (s1.length() != s2.length()) {\n return false;\n }\n\n HashMap<Character, Character> map = new HashMap<>();\n\n for (int i = 0; i < s1.length(); i++) {\n\n if (!map.containsKey(s1.charAt(i))) {\n\n if (map.containsValue(s2.charAt(i))) {\n\n return false;\n } else {\n map.put(s1.charAt(i), s2.charAt(i));\n }\n } else {\n if (map.get(s1.charAt(i)) != s2.charAt(i)) {\n return false;\n }\n }\n }\n\n return true;\n }", "title": "" }, { "docid": "213559d91c0a7703b1713e09985db9f6", "score": "0.50533915", "text": "private boolean locationValuesAreTheSame()\n { return (this.speed == this.speedAnt && this.latitude == this.latitudeAnt && this.longitude == this.longitudeAnt); }", "title": "" }, { "docid": "5c93ccdf10a68a264762d014b2299069", "score": "0.5049865", "text": "public static <T> boolean areCollectionContentsEqual (Collection<T>source, Collection<T>target) {\r\n\t\tif (source == null && target == null)\r\n\t\t\treturn true;\r\n\t\telse if (source == null || target == null)\r\n\t\t\treturn false;\r\n\t\telse {\r\n\t\t\t// both are not null\r\n\t\t\t\r\n\t\t\tif (source.size() != target.size())\r\n\t\t\t\treturn false;\r\n\t\t\telse {\r\n\t\t\t\t// collections are both the same size\r\n\t\t\t\t\r\n\t\t\t\tMap<T, AtomicInteger>sourceFreqMap = computeFrequencyMap(source);\r\n\t\t\t\t\r\n\t\t\t\tMap<T, AtomicInteger>targetFreqMap = computeFrequencyMap(target);\r\n\t\t\t\t\r\n\t\t\t\tif (sourceFreqMap.size() != targetFreqMap.size())\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t\r\n\t\t\t\tfor (Map.Entry<T, AtomicInteger> sourceItemEntry : sourceFreqMap.entrySet()) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tT sourceItem = sourceItemEntry.getKey();\r\n\t\t\t\t\t\r\n\t\t\t\t\tAtomicInteger sourceItemFrequency = sourceItemEntry.getValue();\r\n\t\t\t\t\t\r\n\t\t\t\t\tAtomicInteger targetItemFrequency = targetFreqMap.get(sourceItem);\r\n\t\t\t\t\t\r\n\t\t\t\t\t// AtomicInteger.equals is not implemented so we need to convert to ints and test those instead.\r\n\t\t\t\t\tif (targetItemFrequency == null || sourceItemFrequency.intValue() != targetItemFrequency.intValue())\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t// at this point we've tested the contents of both lists and they are equal.\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "18cb028c4a791d6eb534fb7e28331016", "score": "0.50458723", "text": "@Test\r\n public void testEquals() {\r\n System.out.println(\"equals\");\r\n for (int j = 0; j < data.types.length; j++) {\r\n for (int i = j; i < data.types.length; i++) {\r\n if (i == j) {\r\n assertTrue(data.types[i].equals(data.types[j]));\r\n } else {\r\n assertFalse(data.types[i].equals(data.types[j]));\r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "a5f988fd125dca6138cf5cfa3c5b7441", "score": "0.5042381", "text": "public boolean isSameModel(String facilityName, String dataType, String dataId) {\r\n if (facilityName.compareTo(facilityName) == 0 && this.dataType.compareTo(dataType) == 0\r\n && this.dataId.compareTo(dataId) == 0)\r\n return true;\r\n return false;\r\n }", "title": "" }, { "docid": "b8a32ca5c8dbed7ec10b5815ef964683", "score": "0.50319177", "text": "public boolean equals(SerializableImage si) {\r\n\t\tif (width != si.getWidth())\r\n\t\t\treturn false;\r\n\t\tif (height != si.getHeight())\r\n\t\t\treturn false;\r\n\t\tfor (int i = 0; i < width; i++)\r\n\t\t\tfor (int j = 0; j < height; j++)\r\n\t\t\t\tif (pixels[i][j] != si.getPixels()[i][j])\r\n\t\t\t\t\treturn false;\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "150a91c0c4e04f176a0c6ff842dbf8a1", "score": "0.50299305", "text": "boolean areEqual() {\n\t\t\treturn lhsValue.equals(rhsValue);\n\t\t}", "title": "" }, { "docid": "a73299f0447c343fb0bb81fffe4b531f", "score": "0.50293857", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof FileType)) {\n return false;\n }\n FileType other = (FileType) object;\n if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "96f05220d30738361de7c760e2d39407", "score": "0.5028976", "text": "public boolean matchFieldAreEqual(Template target) {\n if (!sourceClass.equals(target.sourceClass)) {\n return false;\n }\n\n for (int i = 0; i < matchValues.length; i++) {\n\n // This test covers them both being null\n if (matchValues[i] == target.matchValues[i]) {\n continue;\n }\n\n if (!matchValues[i].equals(target.matchValues[i])) {\n return false;\n }\n }\n return true;\n }", "title": "" }, { "docid": "e11f0872f7893dae68f61511f8e4c544", "score": "0.5022022", "text": "@Test\n\tpublic void equalsDifferentObjectType() {\n\t\tScaleLabelFormat slf1 = this.getTestObject();\n\t\tboolean eq = slf1.equals(Integer.valueOf(ScaleLabelFormatTest.FORMAT_CODE));\n\t\tAssert.assertFalse(eq);\n\t}", "title": "" }, { "docid": "de75e79484ebfcc265ea84c0ace19318", "score": "0.5011976", "text": "protected boolean sourceConflictsWithDestination(IPath sourcePath) {\n\n IContainer container = getSpecifiedContainer();\n if (container == null) {\n\t\t\treturn false;\n\t\t}\n \n IPath destinationLocation = getSpecifiedContainer().getLocation();\n if (destinationLocation != null) {\n return destinationLocation.isPrefixOf(sourcePath);\n }\n // null destination location is handled in\n // WizardResourceImportPage\n return false;\n }", "title": "" }, { "docid": "ed6fcc5f6ecf86229ae463be558f2923", "score": "0.501068", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof IataCodes)) {\r\n return false;\r\n }\r\n IataCodes other = (IataCodes) object;\r\n if (this.id != other.id) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "14ceb3c57d1f457c7053a8e48dc96ffd", "score": "0.50081396", "text": "public boolean equals(Object other) {\r\n return this == other || (other instanceof Sahabi && hashCode() == other.hashCode());\r\n }", "title": "" }, { "docid": "7e9725eb695b79721a9b6df55bb387d6", "score": "0.5005696", "text": "public final boolean equals(ReadRow compareRow)\r\n /*-throws DataSetException-*/\r\n {\r\n Column[] columns = compareRow.columnList.getScopedArray();\r\n if (compareRow.columnList == compatibleList) {\r\n int compareOrdinal;\r\n for (int ordinal = 0; ordinal < columns.length; ++ordinal) {\r\n compareOrdinal = columns[ordinal].ordinal;\r\n if (!getVariantStorage(compareOrdinal).equals(compareRow.getVariantStorage(compareOrdinal))) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n else {\r\n Column column;\r\n for (int ordinal = 0; ordinal < columns.length; ++ordinal) {\r\n column = columns[ordinal];\r\n\r\n//! Diagnostic.println(\"ordinal: \"+ordinal+\" \"+column.ordinal+\" \"+column.getColumnName());\r\n//! Diagnostic.println(\"typeName: \"+compareRow.getVariantStorage(column.getColumnName()).getType());\r\n if (!getVariantStorage(column.getColumnName()).equals(compareRow.getVariantStorage(ordinal)))\r\n return false;\r\n }\r\n return true;\r\n }\r\n }", "title": "" }, { "docid": "c97d6a733b33525936a06b4a06c63d1d", "score": "0.5004038", "text": "private static boolean are_we_compatible(String type1, String type2) {\n type1 = type1.toUpperCase();\n type2 = type2.toUpperCase();\n\n ////////////////\n\n if (type1.equals(\"VARCHAR\") && type2.equals(\"NULL\"))\n return true;\n\n if (type1.equals(\"CHAR\") && type2.equals(\"NULL\"))\n return true;\n\n if (type1.equals(\"INT\") && type2.equals(\"NULL\"))\n return true;\n\n if (type1.equals(\"NUMBER\") && type2.equals(\"NULL\"))\n return true;\n\n if (type1.equals(\"BIT\") && type2.equals(\"NULL\"))\n return true;\n\n if (type1.equals(\"NULL\") && type2.equals(\"VARCHAR\"))\n return true;\n\n if (type1.equals(\"NULL\") && type2.equals(\"CHAR\"))\n return true;\n\n if (type1.equals(\"NULL\") && type2.equals(\"INT\"))\n return true;\n\n if (type1.equals(\"NULL\") && type2.equals(\"NUMBER\"))\n return true;\n\n if (type1.equals(\"NULL\") && type2.equals(\"BIT\"))\n return true;\n\n ///////////////////////////////////////////////////\n\n if (type1.equals(\"VARCHAR\") && type2.equals(\"VARCHAR\"))\n return true;\n\n if (type1.equals(\"VARCHAR\") && type2.equals(\"CHAR\"))\n return true;\n\n if (type1.equals(\"CHAR\") && type2.equals(\"VARCHAR\"))\n return true;\n\n ///////////////////////////////////////////////////\n\n if (type1.equals(\"INT\") && type2.equals(\"INT\"))\n return true;\n\n if (type1.equals(\"INT\") && type2.equals(\"NUMBER\"))\n return true;\n\n if (type1.equals(\"NUMBER\") && type2.equals(\"INT\"))\n return true;\n\n if (type1.equals(\"NUMBER\") && type2.equals(\"NUMBER\"))\n return true;\n\n ///////////////////////////////////////////////////\n\n if (type1.equals(\"BIT\") && type2.equals(\"BIT\"))\n return true;\n\n if (type1.equals(\"BIT\") && type2.equals(\"INT\"))\n return true;\n\n if (type1.equals(\"BIT\") && type2.equals(\"NUMBER\"))\n return true;\n\n if (type1.equals(\"INT\") && type2.equals(\"BIT\"))\n return true;\n\n if (type1.equals(\"NUMBER\") && type2.equals(\"BIT\"))\n return true;\n\n // else, return false\n return false;\n }", "title": "" }, { "docid": "e574a9d20164e92d7930ae8e710cba6f", "score": "0.49830472", "text": "public boolean storable(TypeId otherType, ClassFactory cf)\n\t{\n if ( !otherType.isUserDefinedTypeId() ) { return false; }\n\n UserDefinedTypeIdImpl thisTypeID = (UserDefinedTypeIdImpl) getTypeId().getBaseTypeId();\n UserDefinedTypeIdImpl thatTypeID = (UserDefinedTypeIdImpl) otherType.getBaseTypeId();\n\n if ( thisTypeID.isAnsiUDT() != thatTypeID.isAnsiUDT() ) { return false; }\n\n if ( thisTypeID.isAnsiUDT() )\n {\n return thisTypeID.getSQLTypeName().equals( thatTypeID.getSQLTypeName() );\n }\n \n\t\treturn cf.getClassInspector().assignableTo(\n\t\t\t otherType.getCorrespondingJavaTypeName(),\n\t\t\t getTypeId().getCorrespondingJavaTypeName());\n\t}", "title": "" }, { "docid": "1ad14cbbb8fea97877eb444183f7fa67", "score": "0.49817204", "text": "@Override\n\tpublic boolean equals(Object obj) {\n\t if (obj == null) {\n\t return false;\n\t }\n\t \n\t if (!DataSource.class.isAssignableFrom(obj.getClass())) {\n\t return false;\n\t }\n\t \n\t //check all the fields\n\t final DataSource other = (DataSource) obj;\t \n\t \n\t if (!this.id.equals(other.getId()) ) {\n\t return false;\n\t }\n\t \n\t if (!this.classDataSource.equals(other.getClassDataSource()) ) {\n\t return false;\n\t }\n\t \n\t if (!this.type.equals(other.getType()) ) {\n\t return false;\n\t }\n\t \n\t \n\t return true;\n\t}", "title": "" }, { "docid": "fbc487f4bb0e7eaf79129d8dc94f38ad", "score": "0.4980836", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof ArchivoAdjunto)) {\n return false;\n }\n ArchivoAdjunto other = (ArchivoAdjunto) object;\n if ((this.idArchivo == null && other.idArchivo != null) || (this.idArchivo != null && !this.idArchivo.equals(other.idArchivo)) || (this.idArchivo == null && (!this.nombre.equals(other.nombre) || !this.mimetype.equals(other.mimetype)))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "d640dcef1e5a0001cb589f7e00bd3e97", "score": "0.4979175", "text": "private static boolean isSamePackage(Class<?> a, Class<?> b){\n\t\t\t// Two of the same class share a package\n\t\t\tif (a == b){\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\n\t\t\tVMLangAccess vma = getVMLangAccess();\n\t\t\t\n\t\t\tString packageName1 = vma.getPackageName(a);\n\t\t\tString packageName2 = vma.getPackageName(b);\n\t\t\t// If the string value is different, they're definitely not related\n\t\t\tif((packageName1 == null) || (packageName2 == null) || !packageName1.equals(packageName2)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t\n\t\t\tClassLoader cla = vma.getClassloader(a);\n\t\t\tClassLoader clb = vma.getClassloader(b);\n\t\t\t\n\t\t\t// If both share the same classloader, then they are the same package\n\t\t\tif (cla == clb) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\n\t\t\t// If one is an ancestor of the other, they are also the same package\n\t\t\tif (vma.isAncestor(cla, clb) || vma.isAncestor(clb, cla)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "1187d0fed6996d2f0e864c2a32c6cbf6", "score": "0.49725035", "text": "@Override\n public boolean areItemsTheSame(@NonNull ImageDataset oldItem, @NonNull ImageDataset newItem) {\n return oldItem.getName().equals(newItem.getName()) &&\n oldItem.getPK() == newItem.getPK();\n }", "title": "" }, { "docid": "89745d785c7a5af901a65115031678f7", "score": "0.49704027", "text": "@Override\n public boolean equals(Object object) {\n if (!(object instanceof Typecredit)) {\n return false;\n }\n Typecredit other = (Typecredit) object;\n if ((this.idType == null && other.idType != null) || (this.idType != null && !this.idType.equals(other.idType))) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "9353f1e908241c57d76a3d0c39f6e9c7", "score": "0.49676314", "text": "@Override\n public boolean equals(Object objectToCompare)\n {\n if (this == objectToCompare)\n {\n return true;\n }\n if (!(objectToCompare instanceof ElementType))\n {\n return false;\n }\n ElementType that = (ElementType) objectToCompare;\n return getTypeVersion() == that.getTypeVersion() &&\n Objects.equals(getTypeId(), that.getTypeId()) &&\n Objects.equals(getTypeName(), that.getTypeName()) &&\n Objects.equals(getSuperTypeNames(), that.getSuperTypeNames()) &&\n Objects.equals(getTypeDescription(), that.getTypeDescription());\n }", "title": "" }, { "docid": "bf85b9a4a60307962c5d21d3b6189f5c", "score": "0.49673522", "text": "private boolean checkIdenticalElements() {\n\n\t\t// get type and nodes of created element\n\t\tint type1 = element_.getType();\n\t\tNode[] nodes = element_.getNodes();\n\n\t\t// loop over elements of structure\n\t\tfor (int i = 0; i < owner_.structure_.getNumberOfElements(); i++) {\n\n\t\t\t// get target element and its type\n\t\t\tElement e = owner_.structure_.getElement(i);\n\t\t\tint type2 = e.getType();\n\n\t\t\t// check for same type\n\t\t\tif (type1 == type2) {\n\n\t\t\t\t// check for identical nodes\n\t\t\t\tint m = 0;\n\t\t\t\tfor (int j = 0; j < nodes.length; j++) {\n\t\t\t\t\tfor (int k = 0; k < nodes.length; k++) {\n\t\t\t\t\t\tif (nodes[j].equals(e.getNodes()[k]))\n\t\t\t\t\t\t\tm++;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// identical nodes\n\t\t\t\tif (m == nodes.length) {\n\n\t\t\t\t\t// close progressor\n\t\t\t\t\tprogressor_.close();\n\t\t\t\t\tsetStill(false);\n\n\t\t\t\t\t// display message\n\t\t\t\t\tJOptionPane.showMessageDialog(AddElement1.this,\n\t\t\t\t\t\t\t\"Element already exists!\", \"False data entry\", 2);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// element does not exist\n\t\treturn true;\n\t}", "title": "" }, { "docid": "954e849b07ff582150297c064d282145", "score": "0.49592796", "text": "public final boolean equals(CustomSampledMetricSamplePacket other) {\n\t\t// We're really just a type cast, refer to our base object\n\t\treturn super.equals(other);\n\t}", "title": "" }, { "docid": "ba58de6bfca35ea86d629d6d25b85cb4", "score": "0.4953565", "text": "public final @Override boolean equals( final Object o )\n {\n if( o == this ) return true;\n\n if( !(o instanceof TriSerialUDID) /*or if null*/ ) return false;\n\n final UDID oUDID = (UDID)o; // all TriSerialUDID implemented as UDID\n if( scopeByte() != oUDID.scopeByte() ) return false;\n\n return equalsNumerically( oUDID );\n }", "title": "" }, { "docid": "0aeb7d966175e6ee712bbed7b77d96e1", "score": "0.49454796", "text": "private static boolean isArchive() {\n return inputFile.indexOf(archExtension,inputFile.length() - archExtension.length()) != -1;\n }", "title": "" }, { "docid": "35e5a35082b700663904ac8289b7406d", "score": "0.49383742", "text": "public boolean sameTypeAs(CardType type) {\n return type == this.type;\n }", "title": "" }, { "docid": "911c2ef1bba94a7e7afb087af5d372c4", "score": "0.49354517", "text": "protected boolean sourceExistsInAnother(final List<String> source, final List<IdPAttributeValue<?>> targetValues) {\n for (int i = 0; i < source.size(); i++) {\n for (int j = 0; j < targetValues.size(); j++) {\n log.trace(\"Comparing {} to {}\", source.get(i), targetValues.get(j).getDisplayValue());\n if (source.get(i).equals((String) targetValues.get(j).getValue())) {\n log.debug(\"Strings are corresponding, returning true\");\n return true;\n }\n }\n }\n return false;\n }", "title": "" }, { "docid": "d4b31b3b24d00ed93a594c1a9d966865", "score": "0.4934572", "text": "public boolean equals(Object other) {\n\t\tif(other instanceof SortedSet) {\n\t\t\t//Since we don't know what does the other set sort, we use a wild card.\n\t\t\tSortedSet<?> otherSet = (SortedSet<?>)other;\n\t\t\t//If the size is equal, we continue check other conditions.\n\t\t\tif(this.size() == otherSet.size()) {\n\t\t\t\tfor(int i = 0 ; i < this.size(); i++) {\n\t\t\t\t\t//If we find one unequal element, then we return false.\n\t\t\t\t\tif(!myCon.get(i).equals(otherSet.myCon.get(i))) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "511339b57d2a05425c5c644fb319fa76", "score": "0.49311984", "text": "private boolean sameGroup(Attribute attr1, Attribute attr2) {\n // no qualified names here, abstract attributes\n return attr1.getName().equals(attr2.getName()) && attr1.getType().equals(attr2.getType());\n }", "title": "" }, { "docid": "06980fab03f99ff19ba590fd38a2e47a", "score": "0.4925476", "text": "public boolean equals(Object other) {\n if (other == null) {\n return false;\n }\n if (other instanceof Pixel) { \n Pixel o = (Pixel) other;\n \n if (o.component.length == component.length) {\n \n for (int k = 0; k < component.length; k++) {\n if (o.component[k] != component[k])\n return false;\n }\n return true;\n }\n }\n return false;\n }", "title": "" }, { "docid": "ccd689ea39a562264da768de280c1141", "score": "0.49238542", "text": "public abstract boolean areContentsTheSame(@NonNull Value oldItem, @NonNull Value newItem);", "title": "" }, { "docid": "78c1ff9cd3edf76f5402f69630c9fb1d", "score": "0.49221382", "text": "private static boolean compare(Set<String> first, Set<String> second) {\n boolean isEqual = false;\n first.retainAll(second);\n if (!second.isEmpty() && first.size() == second.size()) isEqual = true;\n return isEqual;\n }", "title": "" }, { "docid": "5d7f941adff5d5c7c21fbfe5fba23ad9", "score": "0.49216473", "text": "boolean isUniqueWithAddtionalDS2(String s) {\n\t\tif (s == null || s.length() == 0) {\n\t\t\treturn true;\n\t\t}\n\t\tboolean[] isFound = new boolean[256];\n\t\tfor (int index = 0; index < s.length(); index++) {\n\t\t\tchar current = s.charAt(index);\n\t\t\tif (isFound[current]) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tisFound[current] = true;\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "254b58f77b51ae575f65f0d2a9916f81", "score": "0.49145016", "text": "public boolean isCompatible(Metadata otherMetadata) {\n boolean result = (otherMetadata != null)\n && (includes(otherMetadata) || otherMetadata.includes(this));\n System.out.println(\"isCompatible \" + result);\n return result;\n }", "title": "" }, { "docid": "fc7564295dc5f8c708d483fb06ca1ddc", "score": "0.49120885", "text": "private boolean isMatching(List a, List b) {\n if (a.size() == b.size()) {\n for (int i = 0; i < a.size(); i++) {\n byte[] one = (byte[]) a.get(i);\n byte[] two = (byte[]) b.get(i);\n if(!Arrays.equals(one, two))\n return false;\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "386223b07d95e55093e909d41c66f27b", "score": "0.49118984", "text": "public boolean isSame(MJType t) {\n\n\t\tif (t.getType() == this.getType()) {\n\t\t\tif (t.getType() == TypeEnum.CLASS) {\n\t\t\t\tif (this.isNull()) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (t.getName().equals(this.getName())) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (t.isNull()) {\n\t\t\t\tif (this.isNull() || this.isClass()) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (t.getType() == TypeEnum.ARRAY) {\n\t\t\t\tif (this.getBaseType().isSame(t.getBaseType())) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "7901dde6eb35cda3286eeb33e11b78bd", "score": "0.4908914", "text": "private boolean twoRevealedCardsEquals() {\n\t\t\n\t\tCard card1, card2;\n\t\t\n\t\tfor(int nCard1 = 0; nCard1 < cards.size(); nCard1++) {\n\t\t\t\n\t\t\tif(!cards.get(nCard1).isFaceDown()) {\n\t\t\t\tcard1 = cards.get(nCard1);\n\t\t\t\t\n\t\t\t\tfor(int nCard2 = nCard1+1; nCard2 < cards.size(); nCard2++) {\n\t\t\t\t\t\n\t\t\t\t\tif(!cards.get(nCard2).isFaceDown()) {\n\t\t\t\t\t\tcard2 = cards.get(nCard2);\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(card1.getDesign() == card2.getDesign()) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn false;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\treturn false;\n\t\t\n\t}", "title": "" }, { "docid": "f0febf3e141aead179b98c100461ecdf", "score": "0.49062756", "text": "public boolean compareTypes(IType[] expected, IType[] actual)\n {\n if(actual == null \n || expected == null\n || actual.length != expected.length)\n {\n \tSystem.out.println(\"Length mismatch: expected \"+(expected == null ? \"null\" : expected.length)+\n \t\t\t\t\t\t\" but got \"+(actual == null ? \"null\" : actual.length));\n return false;\n }\n \n boolean result = true;\n for (int expIdx = 0; expIdx < expected.length; expIdx++)\n {\n String curExpName = expected[expIdx].getFullyQualifiedName();\n //Is currentExpected contained in actual\n boolean loopResult = false;\n\t for (int actIdx = 0; actIdx < actual.length; actIdx++)\n\t {\n\t loopResult |= curExpName.compareTo(actual[actIdx].getFullyQualifiedName()) == 0;\n\t if (loopResult)\n\t {\n\t break;\n\t }\n\t }\n\t if (!loopResult)\n\t \tSystem.out.println(\"Not found: \"+curExpName);\n\t result &= loopResult;\n }\n return result;\n }", "title": "" }, { "docid": "a2f15676e82f806a3acc6cb556fbecb6", "score": "0.49040687", "text": "private boolean equalParamTypes(Class<?>[] params1, Class<?>[] params2) {\n if (params1.length == params2.length) {\n for (int i = 0; i < params1.length; i++) {\n if (params1[i] != params2[i]) {\n return false;\n }\n }\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "935b175a90901ef08b43b32b5cd8f146", "score": "0.49010324", "text": "@Override\r\n public boolean areItemsTheSame(Movie item1, Movie item2) {\r\n // Compare remote id\r\n return item1.getId() == item2.getId();\r\n }", "title": "" }, { "docid": "5edba37d0c5a102b44d975f37e436db2", "score": "0.48928756", "text": "boolean isElementEqualDropTable();", "title": "" }, { "docid": "a911794809217f10c80996ff8f2c26a9", "score": "0.4892852", "text": "@Override\n public boolean equals(Object other) {\n if (!(other instanceof IData)) return false;\n return this == other || comparator.compare(document, (IData)other) == 0;\n }", "title": "" }, { "docid": "592d23a3b2fac1abdd251767027bc65a", "score": "0.4891911", "text": "public boolean equals(RealAttrValue source) {\r\n //ASSERT(source.type == real);\r\n //ASSERT(type == real);\r\n return realVal == source.realVal;\r\n }", "title": "" }, { "docid": "4951b5c41f3ff07cd91250b7e8b80c84", "score": "0.48895124", "text": "@Override\r\n public boolean equals(Object object) {\n if (!(object instanceof Orasedest)) {\r\n return false;\r\n }\r\n Orasedest other = (Orasedest) object;\r\n if ((this.codOrdest == null && other.codOrdest != null) || (this.codOrdest != null && !this.codOrdest.equals(other.codOrdest))) {\r\n return false;\r\n }\r\n return true;\r\n }", "title": "" }, { "docid": "a8ea90a0183fa6a1946008f4c7d25972", "score": "0.48792738", "text": "private static boolean canCombine(QueryEntryType entry1, QueryEntryType entry2)\n {\n return Objects.equal(entry1.getLayerId(), entry2.getLayerId())\n && (entry1.getAreaId() == null || entry2.getAreaId() == null\n || Objects.equal(entry1.getAreaId(), entry2.getAreaId()))\n && (entry1.getFilterId() == null || entry2.getFilterId() == null\n || Objects.equal(entry1.getFilterId(), entry2.getFilterId()));\n }", "title": "" }, { "docid": "2f5c2161115be541bb83fba85590e746", "score": "0.48784667", "text": "public static boolean contentEquals( final InputStream input1,\n final InputStream input2 )\n throws IOException\n {\n final InputStream bufferedInput1 = new BufferedInputStream( input1 );\n final InputStream bufferedInput2 = new BufferedInputStream( input2 );\n\n int ch = bufferedInput1.read();\n while ( -1 != ch )\n {\n final int ch2 = bufferedInput2.read();\n if ( ch != ch2 )\n {\n return false;\n }\n ch = bufferedInput1.read();\n }\n\n final int ch2 = bufferedInput2.read();\n if ( -1 != ch2 )\n {\n return false;\n }\n else\n {\n return true;\n }\n }", "title": "" }, { "docid": "222d5499599dd693a4e281c3e0d55870", "score": "0.48771968", "text": "boolean isElementEqualDropSequence();", "title": "" }, { "docid": "6b59dd4be2e44f8bbbf9a7e1dbe09c3f", "score": "0.4876427", "text": "public boolean equals(Object obj) {\r\n\t\tEncodingData temp = (EncodingData) obj;\r\n\t\treturn (symbol == temp.symbol);\r\n\t}", "title": "" }, { "docid": "66e594f622c35ea5eef80cf7c3e809d7", "score": "0.48759085", "text": "public boolean sameContents(Purse other)\n\t{\n\t\tint i = 0;\n\t\twhile(i < this.coins.size()){\n\t\t\tif(this.coins.get(i) == other.coins.get(i)){\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\tif(i == this.coins.size()){\n\t\t\treturn true;\n\t\t}\n\t\telse{\n\t\t\treturn false;\n\t\t}\n\t\t\n\t}", "title": "" } ]
20b7b37eaf7e09439636407b30b0bf29
$ANTLR end "rule__EFloat__Group_4__1" $ANTLR start "rule__EFloat__Group_4__1__Impl" InternalHouseBuilder.g:5082:1: rule__EFloat__Group_4__1__Impl : ( ( '' )? ) ;
[ { "docid": "4f390fbb0cd1c782de9f954ff022dbae", "score": "0.7036321", "text": "public final void rule__EFloat__Group_4__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5086:1: ( ( ( '-' )? ) )\n // InternalHouseBuilder.g:5087:1: ( ( '-' )? )\n {\n // InternalHouseBuilder.g:5087:1: ( ( '-' )? )\n // InternalHouseBuilder.g:5088:2: ( '-' )?\n {\n before(grammarAccess.getEFloatAccess().getHyphenMinusKeyword_4_1()); \n // InternalHouseBuilder.g:5089:2: ( '-' )?\n int alt43=2;\n int LA43_0 = input.LA(1);\n\n if ( (LA43_0==90) ) {\n alt43=1;\n }\n switch (alt43) {\n case 1 :\n // InternalHouseBuilder.g:5089:3: '-'\n {\n match(input,90,FOLLOW_2); \n\n }\n break;\n\n }\n\n after(grammarAccess.getEFloatAccess().getHyphenMinusKeyword_4_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
[ { "docid": "c7b364b1d5068d90bdfa36be9f23571c", "score": "0.77171403", "text": "public final void rule__EFloat__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5020:1: ( rule__EFloat__Group__4__Impl )\n // InternalHouseBuilder.g:5021:2: rule__EFloat__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1b1a36e79893ac6cfdef1fe10458595c", "score": "0.7428912", "text": "public final void rule__EFloat__Group_4__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5101:1: ( rule__EFloat__Group_4__2__Impl )\n // InternalHouseBuilder.g:5102:2: rule__EFloat__Group_4__2__Impl\n {\n pushFollow(FOLLOW_2);\n rule__EFloat__Group_4__2__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1e99efd2cc2099595559e37a4c5ef576", "score": "0.72750175", "text": "public final void rule__EFloat__Group_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5047:1: ( rule__EFloat__Group_4__0__Impl rule__EFloat__Group_4__1 )\n // InternalHouseBuilder.g:5048:2: rule__EFloat__Group_4__0__Impl rule__EFloat__Group_4__1\n {\n pushFollow(FOLLOW_16);\n rule__EFloat__Group_4__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group_4__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e2cae5a8df7acfa1f3526e1c488b4dd6", "score": "0.72738564", "text": "public final void rule__EFloat__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5031:1: ( ( ( rule__EFloat__Group_4__0 )? ) )\n // InternalHouseBuilder.g:5032:1: ( ( rule__EFloat__Group_4__0 )? )\n {\n // InternalHouseBuilder.g:5032:1: ( ( rule__EFloat__Group_4__0 )? )\n // InternalHouseBuilder.g:5033:2: ( rule__EFloat__Group_4__0 )?\n {\n before(grammarAccess.getEFloatAccess().getGroup_4()); \n // InternalHouseBuilder.g:5034:2: ( rule__EFloat__Group_4__0 )?\n int alt42=2;\n int LA42_0 = input.LA(1);\n\n if ( ((LA42_0>=11 && LA42_0<=12)) ) {\n alt42=1;\n }\n switch (alt42) {\n case 1 :\n // InternalHouseBuilder.g:5034:3: rule__EFloat__Group_4__0\n {\n pushFollow(FOLLOW_2);\n rule__EFloat__Group_4__0();\n\n state._fsp--;\n\n\n }\n break;\n\n }\n\n after(grammarAccess.getEFloatAccess().getGroup_4()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9d89fdac4e4ebe9078bb3054e69f5bc5", "score": "0.7205722", "text": "public final void rule__EFloat__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4912:1: ( rule__EFloat__Group__0__Impl rule__EFloat__Group__1 )\n // InternalHouseBuilder.g:4913:2: rule__EFloat__Group__0__Impl rule__EFloat__Group__1\n {\n pushFollow(FOLLOW_24);\n rule__EFloat__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "76f0c0cd036853e329a654ac1e86a608", "score": "0.7193428", "text": "public final void rule__EFloat__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5074:1: ( rule__EFloat__Group_4__1__Impl rule__EFloat__Group_4__2 )\n // InternalHouseBuilder.g:5075:2: rule__EFloat__Group_4__1__Impl rule__EFloat__Group_4__2\n {\n pushFollow(FOLLOW_16);\n rule__EFloat__Group_4__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group_4__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8c39ac1412509f6ec258e3d1e0f7a356", "score": "0.6904439", "text": "public final void rule__EFloat__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4939:1: ( rule__EFloat__Group__1__Impl rule__EFloat__Group__2 )\n // InternalHouseBuilder.g:4940:2: rule__EFloat__Group__1__Impl rule__EFloat__Group__2\n {\n pushFollow(FOLLOW_24);\n rule__EFloat__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b77c3584ac3001e8d48bef18a4630e23", "score": "0.6879277", "text": "public final void rule__EFloat__Group__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4978:1: ( ( '.' ) )\n // InternalHouseBuilder.g:4979:1: ( '.' )\n {\n // InternalHouseBuilder.g:4979:1: ( '.' )\n // InternalHouseBuilder.g:4980:2: '.'\n {\n before(grammarAccess.getEFloatAccess().getFullStopKeyword_2()); \n match(input,91,FOLLOW_2); \n after(grammarAccess.getEFloatAccess().getFullStopKeyword_2()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8fdd2bd7c69a0d193cf91be55e6f0527", "score": "0.6801576", "text": "public final void rule__EFloat__Group_4__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5059:1: ( ( ( rule__EFloat__Alternatives_4_0 ) ) )\n // InternalHouseBuilder.g:5060:1: ( ( rule__EFloat__Alternatives_4_0 ) )\n {\n // InternalHouseBuilder.g:5060:1: ( ( rule__EFloat__Alternatives_4_0 ) )\n // InternalHouseBuilder.g:5061:2: ( rule__EFloat__Alternatives_4_0 )\n {\n before(grammarAccess.getEFloatAccess().getAlternatives_4_0()); \n // InternalHouseBuilder.g:5062:2: ( rule__EFloat__Alternatives_4_0 )\n // InternalHouseBuilder.g:5062:3: rule__EFloat__Alternatives_4_0\n {\n pushFollow(FOLLOW_2);\n rule__EFloat__Alternatives_4_0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getEFloatAccess().getAlternatives_4_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e2f93732313f8577bbe48c5dc0200b10", "score": "0.67966944", "text": "public final void rule__EFloat__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4993:1: ( rule__EFloat__Group__3__Impl rule__EFloat__Group__4 )\n // InternalHouseBuilder.g:4994:2: rule__EFloat__Group__3__Impl rule__EFloat__Group__4\n {\n pushFollow(FOLLOW_33);\n rule__EFloat__Group__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__4();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2ce0bcdedf311bb49434a3ac408b1dec", "score": "0.6665307", "text": "public final void rule__UnoDsl__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalUnoDsl.g:792:1: ( rule__UnoDsl__Group__4__Impl )\n // InternalUnoDsl.g:793:2: rule__UnoDsl__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__UnoDsl__Group__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cc79733f2259b8e28b0ab44f08671a81", "score": "0.66583997", "text": "public final void rule__House__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:1645:1: ( rule__House__Group_4__1__Impl )\n // InternalHouseBuilder.g:1646:2: rule__House__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__House__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e8baa0cc3a7cc764d337c8a8cecfb2f0", "score": "0.66348314", "text": "public final void rule__Sensor__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5749:1: ( rule__Sensor__Group_4__1__Impl )\n // InternalHouseBuilder.g:5750:2: rule__Sensor__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Sensor__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "16f654fd4285c58cc5c39ac584f2bff5", "score": "0.6616316", "text": "public final void rule__ImplForm__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:789:1: ( ( ( rule__ImplForm__Group_1__0 )* ) )\n // InternalDSLSAT.g:790:1: ( ( rule__ImplForm__Group_1__0 )* )\n {\n // InternalDSLSAT.g:790:1: ( ( rule__ImplForm__Group_1__0 )* )\n // InternalDSLSAT.g:791:2: ( rule__ImplForm__Group_1__0 )*\n {\n before(grammarAccess.getImplFormAccess().getGroup_1()); \n // InternalDSLSAT.g:792:2: ( rule__ImplForm__Group_1__0 )*\n loop8:\n do {\n int alt8=2;\n int LA8_0 = input.LA(1);\n\n if ( (LA8_0==19) ) {\n alt8=1;\n }\n\n\n switch (alt8) {\n \tcase 1 :\n \t // InternalDSLSAT.g:792:3: rule__ImplForm__Group_1__0\n \t {\n \t pushFollow(FOLLOW_10);\n \t rule__ImplForm__Group_1__0();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop8;\n }\n } while (true);\n\n after(grammarAccess.getImplFormAccess().getGroup_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a2582dc1fdef96e8a3d3f6edb04d8edb", "score": "0.66043097", "text": "public final void rule__EFloat__Group_4__2__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5112:1: ( ( RULE_INT ) )\n // InternalHouseBuilder.g:5113:1: ( RULE_INT )\n {\n // InternalHouseBuilder.g:5113:1: ( RULE_INT )\n // InternalHouseBuilder.g:5114:2: RULE_INT\n {\n before(grammarAccess.getEFloatAccess().getINTTerminalRuleCall_4_2()); \n match(input,RULE_INT,FOLLOW_2); \n after(grammarAccess.getEFloatAccess().getINTTerminalRuleCall_4_2()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fc897f864d8a749c4e63c4b74a46d2cd", "score": "0.6573217", "text": "public final void ruleEFloat() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:291:2: ( ( ( rule__EFloat__Group__0 ) ) )\n // InternalHouseBuilder.g:292:2: ( ( rule__EFloat__Group__0 ) )\n {\n // InternalHouseBuilder.g:292:2: ( ( rule__EFloat__Group__0 ) )\n // InternalHouseBuilder.g:293:3: ( rule__EFloat__Group__0 )\n {\n before(grammarAccess.getEFloatAccess().getGroup()); \n // InternalHouseBuilder.g:294:3: ( rule__EFloat__Group__0 )\n // InternalHouseBuilder.g:294:4: rule__EFloat__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getEFloatAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "26bfda0a185a855178d683187e3a0a02", "score": "0.6566884", "text": "public final void rule__FnDef__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:13501:1: ( rule__FnDef__Group_4__1__Impl )\n // InternalAgreeParser.g:13502:2: rule__FnDef__Group_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__FnDef__Group_4__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "716d03158ba1b3067a089ceddd9da172", "score": "0.6564007", "text": "public final void rule__LibraryFnDef__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:13852:1: ( rule__LibraryFnDef__Group_4__1__Impl )\n // InternalAgreeParser.g:13853:2: rule__LibraryFnDef__Group_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__LibraryFnDef__Group_4__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "962f1caeedcb04b567302752ba46268e", "score": "0.65335727", "text": "public final void rule__EFloat__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4966:1: ( rule__EFloat__Group__2__Impl rule__EFloat__Group__3 )\n // InternalHouseBuilder.g:4967:2: rule__EFloat__Group__2__Impl rule__EFloat__Group__3\n {\n pushFollow(FOLLOW_32);\n rule__EFloat__Group__2__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__EFloat__Group__3();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c08289bcb77d2d62664c09aca435e5d3", "score": "0.65297806", "text": "public final void rule__ImplForm__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:751:1: ( rule__ImplForm__Group__0__Impl rule__ImplForm__Group__1 )\n // InternalDSLSAT.g:752:2: rule__ImplForm__Group__0__Impl rule__ImplForm__Group__1\n {\n pushFollow(FOLLOW_9);\n rule__ImplForm__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ImplForm__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9c605359d776915e6882e33c62fc30cf", "score": "0.65171355", "text": "public final void rule__BiImplForm__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:616:1: ( rule__BiImplForm__Group__0__Impl rule__BiImplForm__Group__1 )\n // InternalDSLSAT.g:617:2: rule__BiImplForm__Group__0__Impl rule__BiImplForm__Group__1\n {\n pushFollow(FOLLOW_6);\n rule__BiImplForm__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__BiImplForm__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "dc8c56a8b9e1e0c41a0db4fef6c0a85a", "score": "0.6502379", "text": "public final void rule__EFloat__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4951:1: ( ( ( RULE_INT )? ) )\n // InternalHouseBuilder.g:4952:1: ( ( RULE_INT )? )\n {\n // InternalHouseBuilder.g:4952:1: ( ( RULE_INT )? )\n // InternalHouseBuilder.g:4953:2: ( RULE_INT )?\n {\n before(grammarAccess.getEFloatAccess().getINTTerminalRuleCall_1()); \n // InternalHouseBuilder.g:4954:2: ( RULE_INT )?\n int alt41=2;\n int LA41_0 = input.LA(1);\n\n if ( (LA41_0==RULE_INT) ) {\n alt41=1;\n }\n switch (alt41) {\n case 1 :\n // InternalHouseBuilder.g:4954:3: RULE_INT\n {\n match(input,RULE_INT,FOLLOW_2); \n\n }\n break;\n\n }\n\n after(grammarAccess.getEFloatAccess().getINTTerminalRuleCall_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b4f3bfe947a79b47cfe36447111378f9", "score": "0.6494825", "text": "public final void ruleImplForm() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:141:2: ( ( ( rule__ImplForm__Group__0 ) ) )\n // InternalDSLSAT.g:142:2: ( ( rule__ImplForm__Group__0 ) )\n {\n // InternalDSLSAT.g:142:2: ( ( rule__ImplForm__Group__0 ) )\n // InternalDSLSAT.g:143:3: ( rule__ImplForm__Group__0 )\n {\n before(grammarAccess.getImplFormAccess().getGroup()); \n // InternalDSLSAT.g:144:3: ( rule__ImplForm__Group__0 )\n // InternalDSLSAT.g:144:4: rule__ImplForm__Group__0\n {\n pushFollow(FOLLOW_2);\n rule__ImplForm__Group__0();\n\n state._fsp--;\n\n\n }\n\n after(grammarAccess.getImplFormAccess().getGroup()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "77dd0bbaa4f78199d8e3c9dcdda01a27", "score": "0.64884", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17304:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\r\n // InternalJavaFXDsl.g:17305:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "bcf2718b9c890df98dad7d4b0b206368", "score": "0.64858603", "text": "public final void rule__ImplForm__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:805:1: ( rule__ImplForm__Group_1__0__Impl rule__ImplForm__Group_1__1 )\n // InternalDSLSAT.g:806:2: rule__ImplForm__Group_1__0__Impl rule__ImplForm__Group_1__1\n {\n pushFollow(FOLLOW_9);\n rule__ImplForm__Group_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__ImplForm__Group_1__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "912d097d5f78c0028ec3ed040d66f6f1", "score": "0.6485247", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5158:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5159:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__010898);\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "610aa09e96f219e6a786691cc4f49284", "score": "0.6464857", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17169:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\r\n // InternalJavaFXDsl.g:17170:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "e5a66882e576a20b7adc7efd4c8f17a2", "score": "0.64585614", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5002:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5003:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__010594);\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "90fa0f72e96de9cb84c7db731158968d", "score": "0.6456943", "text": "public final void rule__RegleJeu__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalUnoDsl.g:981:1: ( rule__RegleJeu__Group__4__Impl )\n // InternalUnoDsl.g:982:2: rule__RegleJeu__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RegleJeu__Group__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ac8000d8aba558c2782ad36eb965165a", "score": "0.64549106", "text": "public final void rule__BiImplForm__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:670:1: ( rule__BiImplForm__Group_1__0__Impl rule__BiImplForm__Group_1__1 )\n // InternalDSLSAT.g:671:2: rule__BiImplForm__Group_1__0__Impl rule__BiImplForm__Group_1__1\n {\n pushFollow(FOLLOW_6);\n rule__BiImplForm__Group_1__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__BiImplForm__Group_1__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a64e928c00865418dd8337fb9562446d", "score": "0.64381003", "text": "public final void rule__Implementation__Group__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2690:1: ( rule__Implementation__Group__6__Impl )\n // InternalMyDsl.g:2691:2: rule__Implementation__Group__6__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Implementation__Group__6__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1702c8ebebaacff03336fef9cff98713", "score": "0.6421605", "text": "public final void rule__EventDefinition__Group_4__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.statechart.expressions.ui/src-gen/org/yakindu/sct/statechart/ui/contentassist/antlr/internal/InternalExpressions.g:3156:1: ( rule__EventDefinition__Group_4__1__Impl )\r\n // ../org.yakindu.sct.statechart.expressions.ui/src-gen/org/yakindu/sct/statechart/ui/contentassist/antlr/internal/InternalExpressions.g:3157:2: rule__EventDefinition__Group_4__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__EventDefinition__Group_4__1__Impl_in_rule__EventDefinition__Group_4__16680);\r\n rule__EventDefinition__Group_4__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "16ef6777e452d1ad1d5c4149e2cb878a", "score": "0.64175916", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17115:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\r\n // InternalJavaFXDsl.g:17116:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ee22fc88e2eaf73ff4c88bd7b7259f00", "score": "0.6417144", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17250:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\r\n // InternalJavaFXDsl.g:17251:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "9b989af01b36cdf6ddb89507faaf2352", "score": "0.6405454", "text": "public final void rule__Function__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalIoTParser.g:3135:1: ( rule__Function__Group_4__1__Impl )\n // InternalIoTParser.g:3136:2: rule__Function__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Function__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "66e7fd3d5b0806c291a5c9bcb6f0cde3", "score": "0.640502", "text": "public final void rule__EFloat__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:4924:1: ( ( ( '-' )? ) )\n // InternalHouseBuilder.g:4925:1: ( ( '-' )? )\n {\n // InternalHouseBuilder.g:4925:1: ( ( '-' )? )\n // InternalHouseBuilder.g:4926:2: ( '-' )?\n {\n before(grammarAccess.getEFloatAccess().getHyphenMinusKeyword_0()); \n // InternalHouseBuilder.g:4927:2: ( '-' )?\n int alt40=2;\n int LA40_0 = input.LA(1);\n\n if ( (LA40_0==90) ) {\n alt40=1;\n }\n switch (alt40) {\n case 1 :\n // InternalHouseBuilder.g:4927:3: '-'\n {\n match(input,90,FOLLOW_2); \n\n }\n break;\n\n }\n\n after(grammarAccess.getEFloatAccess().getHyphenMinusKeyword_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0600ff711f38247bd8953cba4b90dfe3", "score": "0.64003354", "text": "public final void rule__BiImplForm__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:654:1: ( ( ( rule__BiImplForm__Group_1__0 )* ) )\n // InternalDSLSAT.g:655:1: ( ( rule__BiImplForm__Group_1__0 )* )\n {\n // InternalDSLSAT.g:655:1: ( ( rule__BiImplForm__Group_1__0 )* )\n // InternalDSLSAT.g:656:2: ( rule__BiImplForm__Group_1__0 )*\n {\n before(grammarAccess.getBiImplFormAccess().getGroup_1()); \n // InternalDSLSAT.g:657:2: ( rule__BiImplForm__Group_1__0 )*\n loop7:\n do {\n int alt7=2;\n int LA7_0 = input.LA(1);\n\n if ( (LA7_0==18) ) {\n alt7=1;\n }\n\n\n switch (alt7) {\n \tcase 1 :\n \t // InternalDSLSAT.g:657:3: rule__BiImplForm__Group_1__0\n \t {\n \t pushFollow(FOLLOW_7);\n \t rule__BiImplForm__Group_1__0();\n\n \t state._fsp--;\n\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop7;\n }\n } while (true);\n\n after(grammarAccess.getBiImplFormAccess().getGroup_1()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "4c9744ac2dbeb8323c63cc956aa18d8c", "score": "0.63994765", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5063:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5064:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__110714);\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "145c8cf88443c16f91b7edc8b3292264", "score": "0.6399036", "text": "public final void rule__FQN__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:728:1: ( rule__FQN__Group_1__1__Impl )\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:729:2: rule__FQN__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__FQN__Group_1__1__Impl_in_rule__FQN__Group_1__11406);\n rule__FQN__Group_1__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8cd6453077fd70b6a915d069f3c5068d", "score": "0.63979834", "text": "public final void rule__ImplForm__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:778:1: ( rule__ImplForm__Group__1__Impl )\n // InternalDSLSAT.g:779:2: rule__ImplForm__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ImplForm__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a15008c29f32975cd2e059eeb057faa9", "score": "0.63685495", "text": "public final void rule__Window__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:7747:1: ( rule__Window__Group_4__1__Impl )\n // InternalHouseBuilder.g:7748:2: rule__Window__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Window__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6f03549dc47d7fddd1fc79114e9cc8a6", "score": "0.6368451", "text": "public final void rule__FQN__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:665:1: ( rule__FQN__Group__1__Impl )\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:666:2: rule__FQN__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__FQN__Group__1__Impl_in_rule__FQN__Group__11282);\n rule__FQN__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "3f166aae82257150308a76c6ee03361c", "score": "0.6365598", "text": "public final void rule__Implementation__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2514:1: ( rule__Implementation__Group__0__Impl rule__Implementation__Group__1 )\n // InternalMyDsl.g:2515:2: rule__Implementation__Group__0__Impl rule__Implementation__Group__1\n {\n pushFollow(FOLLOW_14);\n rule__Implementation__Group__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation__Group__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "60137d993d628127ea416d72798e10f4", "score": "0.6360061", "text": "public final void rule__ExpressionStatement__Group_0_0_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // InternalRtVil.g:7470:1: ( rule__ExpressionStatement__Group_0_0_1__1__Impl )\r\n // InternalRtVil.g:7471:2: rule__ExpressionStatement__Group_0_0_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ExpressionStatement__Group_0_0_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "eb7d0c92c453737081966657a281a437", "score": "0.63505346", "text": "public final void rule__Model__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:1217:1: ( rule__Model__Group__4__Impl )\n // InternalMyDsl.g:1218:2: rule__Model__Group__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Model__Group__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7a68d8c59b0ae1636631b87e00ba903f", "score": "0.6345416", "text": "public final void rule__House__Group_6__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:1753:1: ( rule__House__Group_6__1__Impl )\n // InternalHouseBuilder.g:1754:2: rule__House__Group_6__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__House__Group_6__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9987fb6bd7b410894806f68ccc17316b", "score": "0.63439715", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17088:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\r\n // InternalJavaFXDsl.g:17089:2: rule__XRelationalExpression__Group_1_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "244b8a2882c2280f5dcbd87490c281fe", "score": "0.634316", "text": "public final void rule__ExpCS__Group_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalUSE.g:10343:1: ( rule__ExpCS__Group_0__1__Impl )\r\n // InternalUSE.g:10344:2: rule__ExpCS__Group_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ExpCS__Group_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "78d1241574563fec2908854bfb3a19e0", "score": "0.6338685", "text": "public final void rule__House__Group_20__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:2293:1: ( rule__House__Group_20__4__Impl )\n // InternalHouseBuilder.g:2294:2: rule__House__Group_20__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__House__Group_20__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "7f513ecd96c52cebd0bbf2a702668b9a", "score": "0.6332748", "text": "public final void rule__BiImplForm__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:643:1: ( rule__BiImplForm__Group__1__Impl )\n // InternalDSLSAT.g:644:2: rule__BiImplForm__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__BiImplForm__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c6266b31b6e3f4fe0ea15e78e6823cde", "score": "0.6324197", "text": "public final void rule__UnoDsl__Group_3__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalUnoDsl.g:846:1: ( rule__UnoDsl__Group_3__1__Impl )\n // InternalUnoDsl.g:847:2: rule__UnoDsl__Group_3__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__UnoDsl__Group_3__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "362876f2b8eccf54e9ef1a118c21ea4a", "score": "0.6318331", "text": "public final void rule__Addition__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3730:1: ( rule__Addition__Group_1_0_0__1__Impl )\n // InternalMyDsl.g:3731:2: rule__Addition__Group_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Addition__Group_1_0_0__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0881a95db96383e164498cf8d9bd6f43", "score": "0.6308569", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5219:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5220:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__111018);\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "aa82c589a1cdd5b4ab1df9846d6cc855", "score": "0.63084", "text": "public final void rule__Expression__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.mcreiseii.jpas.ui/src-gen/at/mcreiseii/jpas/ui/contentassist/antlr/internal/InternalJPas.g:2942:1: ( rule__Expression__Group_1__1__Impl )\n // ../at.mcreiseii.jpas.ui/src-gen/at/mcreiseii/jpas/ui/contentassist/antlr/internal/InternalJPas.g:2943:2: rule__Expression__Group_1__1__Impl\n {\n pushFollow(FOLLOW_rule__Expression__Group_1__1__Impl_in_rule__Expression__Group_1__15937);\n rule__Expression__Group_1__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1fe7cac013cde5e8ded905ffb4f77a9e", "score": "0.6298874", "text": "public final void rule__XRelationalExpression__Group_1_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5126:1: ( rule__XRelationalExpression__Group_1_1__1__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:5127:2: rule__XRelationalExpression__Group_1_1__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1__1__Impl_in_rule__XRelationalExpression__Group_1_1__110837);\n rule__XRelationalExpression__Group_1_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6828f17c3b265033f2d4902b91352250", "score": "0.62860864", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:4970:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:4971:2: rule__XRelationalExpression__Group_1_0__1__Impl\n {\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0__1__Impl_in_rule__XRelationalExpression__Group_1_0__110533);\n rule__XRelationalExpression__Group_1_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a138a2d46e45125b3f3cc9614f8ecbef", "score": "0.6283368", "text": "public final void rule__Expression__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.mcreiseii.jpas.ui/src-gen/at/mcreiseii/jpas/ui/contentassist/antlr/internal/InternalJPas.g:2881:1: ( rule__Expression__Group__1__Impl )\n // ../at.mcreiseii.jpas.ui/src-gen/at/mcreiseii/jpas/ui/contentassist/antlr/internal/InternalJPas.g:2882:2: rule__Expression__Group__1__Impl\n {\n pushFollow(FOLLOW_rule__Expression__Group__1__Impl_in_rule__Expression__Group__15815);\n rule__Expression__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b93a534026e5c374fd2dc1e0944fe309", "score": "0.6268131", "text": "public final void rule__Iff__Group__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalFirstOrderLogic.g:1925:1: ( rule__Iff__Group__1__Impl )\r\n // InternalFirstOrderLogic.g:1926:2: rule__Iff__Group__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__Iff__Group__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "1b3e85caf95651ab5a754feccbb74fa7", "score": "0.62531817", "text": "public final void rule__XRelationalExpression__Group_1_0_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10494:1: ( rule__XRelationalExpression__Group_1_0_0_0__1__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10495:2: rule__XRelationalExpression__Group_1_0_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_0_0_0__121600);\r\n rule__XRelationalExpression__Group_1_0_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "748fc0cb81d1b3e3282c02aad1931dff", "score": "0.6249034", "text": "public final void rule__XRelationalExpression__Group_1_0_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10433:1: ( rule__XRelationalExpression__Group_1_0_0__0__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10434:2: rule__XRelationalExpression__Group_1_0_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0_0__0__Impl_in_rule__XRelationalExpression__Group_1_0_0__021480);\r\n rule__XRelationalExpression__Group_1_0_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "cd5a7fe10ebf8c7d815f44c9eccaa9de", "score": "0.624742", "text": "public final void rule__XRelationalExpression__Group_1_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:17223:1: ( rule__XRelationalExpression__Group_1_1__1__Impl )\r\n // InternalJavaFXDsl.g:17224:2: rule__XRelationalExpression__Group_1_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__XRelationalExpression__Group_1_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "3dd9ddb6b33f33f387a6554670212c9b", "score": "0.6247097", "text": "public final void rule__Operation__Group_4_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.yakindu.sct.statechart.expressions.ui/src-gen/org/yakindu/sct/statechart/ui/contentassist/antlr/internal/InternalExpressions.g:4042:1: ( rule__Operation__Group_4_1__1__Impl )\r\n // ../org.yakindu.sct.statechart.expressions.ui/src-gen/org/yakindu/sct/statechart/ui/contentassist/antlr/internal/InternalExpressions.g:4043:2: rule__Operation__Group_4_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Operation__Group_4_1__1__Impl_in_rule__Operation__Group_4_1__18420);\r\n rule__Operation__Group_4_1__1__Impl();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "5e48c70abcc11c4c2cc771e6ef175d82", "score": "0.6245821", "text": "public final void rule__XRelationalExpression__Group_1_1_0__0() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10589:1: ( rule__XRelationalExpression__Group_1_1_0__0__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10590:2: rule__XRelationalExpression__Group_1_1_0__0__Impl\r\n {\r\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0__0__Impl_in_rule__XRelationalExpression__Group_1_1_0__021784);\r\n rule__XRelationalExpression__Group_1_1_0__0__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "ed8610368b010efe41302c0ba958c3df", "score": "0.62415224", "text": "public final void rule__Implementation__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2622:1: ( rule__Implementation__Group__4__Impl rule__Implementation__Group__5 )\n // InternalMyDsl.g:2623:2: rule__Implementation__Group__4__Impl rule__Implementation__Group__5\n {\n pushFollow(FOLLOW_32);\n rule__Implementation__Group__4__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation__Group__5();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "70a33b73ffa03c95ca1fbab26b60a948", "score": "0.62348914", "text": "public final void rule__Output__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalStateSpecification.g:5199:1: ( rule__Output__Group_4__1__Impl )\n // InternalStateSpecification.g:5200:2: rule__Output__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Output__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9fd306af67aa17b1051ac785ea04cdf2", "score": "0.6227315", "text": "public final void rule__Component__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalStateSpecification.g:1598:1: ( rule__Component__Group_4__1__Impl )\n // InternalStateSpecification.g:1599:2: rule__Component__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Component__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "642f32fdf3f7bb4079a455e5e2a45e23", "score": "0.6226418", "text": "public final void rule__TypeDeclaration__Group__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalMyDsl.g:372:1: ( rule__TypeDeclaration__Group__4__Impl )\r\n // InternalMyDsl.g:373:2: rule__TypeDeclaration__Group__4__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__TypeDeclaration__Group__4__Impl();\r\n\r\n state._fsp--;\r\n\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "f781a04d48022c385138782a5eb8e5f7", "score": "0.6220712", "text": "public final void rule__RegleJeu__Group_3__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalUnoDsl.g:1278:1: ( rule__RegleJeu__Group_3__4__Impl )\n // InternalUnoDsl.g:1279:2: rule__RegleJeu__Group_3__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__RegleJeu__Group_3__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "153c5fc26bc77441b4d33728e212dc5c", "score": "0.6220495", "text": "public final void rule__Device__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5344:1: ( rule__Device__Group_4__1__Impl )\n // InternalHouseBuilder.g:5345:2: rule__Device__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Device__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "c97bb2e320add7bc12f67a049c3c9158", "score": "0.62169963", "text": "public final void rule__PreDefFnExpr__Group_0__6() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:21235:1: ( rule__PreDefFnExpr__Group_0__6__Impl )\n // InternalAgreeParser.g:21236:2: rule__PreDefFnExpr__Group_0__6__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PreDefFnExpr__Group_0__6__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "9f531c8ff429254247f3690f3898e81d", "score": "0.6207977", "text": "public final void rule__Floor__Group_8__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:2698:1: ( rule__Floor__Group_8__1__Impl )\n // InternalHouseBuilder.g:2699:2: rule__Floor__Group_8__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Floor__Group_8__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "70764e60e03ad74919ad9c65939683aa", "score": "0.6204566", "text": "public final void rule__ELong__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:187:1: ( rule__ELong__Group__1__Impl )\n // InternalMyDsl.g:188:2: rule__ELong__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__ELong__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ad96491689e8dc51a470ec3ac16aa40d", "score": "0.62041503", "text": "public final void rule__House__Group_12__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:1915:1: ( rule__House__Group_12__1__Impl )\n // InternalHouseBuilder.g:1916:2: rule__House__Group_12__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__House__Group_12__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "25b8601ae3a06eddbc1dc10434022ce8", "score": "0.6200171", "text": "public final void rule__Input__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalStateSpecification.g:6642:1: ( rule__Input__Group_4__1__Impl )\n // InternalStateSpecification.g:6643:2: rule__Input__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Input__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "06d2de97a6e696eb0f027fde033db872", "score": "0.62001204", "text": "public final void rule__Room__Group_8__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:6235:1: ( rule__Room__Group_8__1__Impl )\n // InternalHouseBuilder.g:6236:2: rule__Room__Group_8__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Room__Group_8__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "419470036e087cd1483d8bd50e59bc5b", "score": "0.61979717", "text": "public final void rule__XRelationalExpression__Group_1_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10650:1: ( rule__XRelationalExpression__Group_1_1_0_0__1__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10651:2: rule__XRelationalExpression__Group_1_1_0_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_1_0_0__1__Impl_in_rule__XRelationalExpression__Group_1_1_0_0__121904);\r\n rule__XRelationalExpression__Group_1_1_0_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "38b0d3fc8a0e3321ddcb9a88d24eac39", "score": "0.619593", "text": "public final void rule__XAdditiveExpression__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:6034:1: ( rule__XAdditiveExpression__Group_1_0__0__Impl )\n // ../org.eclipse.xtext.xbase.testlanguages.ui/src-gen/org/eclipse/xtext/xbase/testlanguages/ui/contentassist/antlr/internal/InternalContentAssistFragmentTestLang.g:6035:2: rule__XAdditiveExpression__Group_1_0__0__Impl\n {\n pushFollow(FOLLOW_rule__XAdditiveExpression__Group_1_0__0__Impl_in_rule__XAdditiveExpression__Group_1_0__012608);\n rule__XAdditiveExpression__Group_1_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "524aa426334f73cc397c339236441c0b", "score": "0.6188223", "text": "public final void rule__RelationalExpression__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // InternalRtVil.g:11187:1: ( rule__RelationalExpression__Group_1__1__Impl )\r\n // InternalRtVil.g:11188:2: rule__RelationalExpression__Group_1__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__RelationalExpression__Group_1__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "34d16ad36e428184ed2f10788267765f", "score": "0.61879563", "text": "public final void rule__Actuator__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:7504:1: ( rule__Actuator__Group_4__1__Impl )\n // InternalHouseBuilder.g:7505:2: rule__Actuator__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Actuator__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "adafbd406b4f78138af7627c0ea8e926", "score": "0.61852604", "text": "public final void rule__Sensor__Group_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:5722:1: ( rule__Sensor__Group_4__0__Impl rule__Sensor__Group_4__1 )\n // InternalHouseBuilder.g:5723:2: rule__Sensor__Group_4__0__Impl rule__Sensor__Group_4__1\n {\n pushFollow(FOLLOW_24);\n rule__Sensor__Group_4__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Sensor__Group_4__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "cde555e35fedde40bc7c9432cb08bed1", "score": "0.61852247", "text": "public final void rule__Room__Group_9__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:6370:1: ( rule__Room__Group_9__4__Impl )\n // InternalHouseBuilder.g:6371:2: rule__Room__Group_9__4__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Room__Group_9__4__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "6cff1090b8b5e88d1da6f86b6c4c3ed6", "score": "0.61834306", "text": "public final void rule__Definitions__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1594:1: ( ( '[END]' ) )\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1595:1: ( '[END]' )\n {\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1595:1: ( '[END]' )\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1596:1: '[END]'\n {\n before(grammarAccess.getDefinitionsAccess().getENDKeyword_4()); \n match(input,18,FOLLOW_18_in_rule__Definitions__Group__4__Impl3340); \n after(grammarAccess.getDefinitionsAccess().getENDKeyword_4()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a31c6ae582009d4b57a4abfc1a910d5f", "score": "0.6182739", "text": "public final void rule__Resolution__Group_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalIoTParser.g:5586:1: ( rule__Resolution__Group_0__1__Impl )\n // InternalIoTParser.g:5587:2: rule__Resolution__Group_0__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Resolution__Group_0__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ccd20443ad12ee2f57ae494d7b5fc9c5", "score": "0.6181549", "text": "public final void rule__OrForm__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDSLSAT.g:913:1: ( rule__OrForm__Group__1__Impl )\n // InternalDSLSAT.g:914:2: rule__OrForm__Group__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__OrForm__Group__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e65325ad0b5d595c60f472f0bf87fd66", "score": "0.61747426", "text": "public final void rule__ModelRule__Group_6__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalXmu2.g:3229:1: ( rule__ModelRule__Group_6__1__Impl )\r\n // InternalXmu2.g:3230:2: rule__ModelRule__Group_6__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__ModelRule__Group_6__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "05d41b21c397bf6072866a25fab60372", "score": "0.6171059", "text": "public final void rule__Addition__Group_1_0_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:3784:1: ( rule__Addition__Group_1_0_1__1__Impl )\n // InternalMyDsl.g:3785:2: rule__Addition__Group_1_0_1__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Addition__Group_1_0_1__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "41241f5536256e37e0bcb2302035fdfa", "score": "0.6160196", "text": "public final void rule__FnDef__Group__4__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:13250:1: ( ( ( rule__FnDef__Group_4__0 )* ) )\n // InternalAgreeParser.g:13251:1: ( ( rule__FnDef__Group_4__0 )* )\n {\n // InternalAgreeParser.g:13251:1: ( ( rule__FnDef__Group_4__0 )* )\n // InternalAgreeParser.g:13252:1: ( rule__FnDef__Group_4__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getFnDefAccess().getGroup_4()); \n }\n // InternalAgreeParser.g:13253:1: ( rule__FnDef__Group_4__0 )*\n loop73:\n do {\n int alt73=2;\n int LA73_0 = input.LA(1);\n\n if ( (LA73_0==Comma) ) {\n alt73=1;\n }\n\n\n switch (alt73) {\n \tcase 1 :\n \t // InternalAgreeParser.g:13253:2: rule__FnDef__Group_4__0\n \t {\n \t pushFollow(FollowSets000.FOLLOW_54);\n \t rule__FnDef__Group_4__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop73;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getFnDefAccess().getGroup_4()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "bf06749637775c51d544f1440bc2aa3d", "score": "0.6159995", "text": "public final void rule__XRelationalExpression__Group_1_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10401:1: ( rule__XRelationalExpression__Group_1_0__1__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:10402:2: rule__XRelationalExpression__Group_1_0__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__XRelationalExpression__Group_1_0__1__Impl_in_rule__XRelationalExpression__Group_1_0__121419);\r\n rule__XRelationalExpression__Group_1_0__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "b157f2f2d8ed7e621caa6880cc1dfd11", "score": "0.6151226", "text": "public final void rule__EntryPoint__Group_4__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalXmu2.g:2689:1: ( rule__EntryPoint__Group_4__1__Impl )\r\n // InternalXmu2.g:2690:2: rule__EntryPoint__Group_4__1__Impl\r\n {\r\n pushFollow(FOLLOW_2);\r\n rule__EntryPoint__Group_4__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8abc4fe95860ff096add88a2122eccc4", "score": "0.6150438", "text": "public final void rule__Room__Group_7__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:6181:1: ( rule__Room__Group_7__1__Impl )\n // InternalHouseBuilder.g:6182:2: rule__Room__Group_7__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Room__Group_7__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "27b20ce2c45137707193ed6adfe65ead", "score": "0.61496264", "text": "public final void rule__Passage__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:3130:1: ( rule__Passage__Group_4__1__Impl )\n // InternalHouseBuilder.g:3131:2: rule__Passage__Group_4__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__Passage__Group_4__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "fdc016434eab2d262c8115daa3b998a4", "score": "0.61445963", "text": "public final void rule__EquivExpr__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:19348:1: ( rule__EquivExpr__Group_1_0_0__1__Impl )\n // InternalAgreeParser.g:19349:2: rule__EquivExpr__Group_1_0_0__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__EquivExpr__Group_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8316cf6c547c4189424098460b94f2c6", "score": "0.6140712", "text": "public final void rule__FQN__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:709:1: ( ( '.' ) )\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:710:1: ( '.' )\n {\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:710:1: ( '.' )\n // ../org.eclipse.eclipsecon.location.ui/src-gen/org/eclipse/eclipsecon/ui/contentassist/antlr/internal/InternalLocation.g:711:1: '.'\n {\n before(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); \n match(input,17,FOLLOW_17_in_rule__FQN__Group_1__0__Impl1375); \n after(grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); \n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8693367f2631182e0453f52793324ef2", "score": "0.6135705", "text": "public final void rule__Definitions__Group__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1583:1: ( rule__Definitions__Group__4__Impl )\n // ../org.xtext.senior.project.ui/src-gen/org/xtext/senior/project/ui/contentassist/antlr/internal/InternalProtocol.g:1584:2: rule__Definitions__Group__4__Impl\n {\n pushFollow(FOLLOW_rule__Definitions__Group__4__Impl_in_rule__Definitions__Group__43312);\n rule__Definitions__Group__4__Impl();\n _fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "b0551a3ee23aac69a2645b685b9c2901", "score": "0.6131309", "text": "public final void rule__Type__Group_2_0_6__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:4867:1: ( rule__Type__Group_2_0_6__1__Impl )\r\n // ../org.summer.ss.ide/src-gen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:4868:2: rule__Type__Group_2_0_6__1__Impl\r\n {\r\n pushFollow(FOLLOW_rule__Type__Group_2_0_6__1__Impl_in_rule__Type__Group_2_0_6__110497);\r\n rule__Type__Group_2_0_6__1__Impl();\r\n\r\n state._fsp--;\r\n if (state.failed) return ;\r\n\r\n }\r\n\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n }\r\n finally {\r\n\r\n \trestoreStackSize(stackSize);\r\n\r\n }\r\n return ;\r\n }", "title": "" }, { "docid": "8b3ca0a7f57a23a93a31e7fc23ada9f6", "score": "0.6130504", "text": "public final void rule__Implementation__Group__3() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2595:1: ( rule__Implementation__Group__3__Impl rule__Implementation__Group__4 )\n // InternalMyDsl.g:2596:2: rule__Implementation__Group__3__Impl rule__Implementation__Group__4\n {\n pushFollow(FOLLOW_30);\n rule__Implementation__Group__3__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation__Group__4();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "377c69b1fd798513e2ad2544164059b7", "score": "0.61277074", "text": "public final void rule__House__Group_8__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:1861:1: ( rule__House__Group_8__1__Impl )\n // InternalHouseBuilder.g:1862:2: rule__House__Group_8__1__Impl\n {\n pushFollow(FOLLOW_2);\n rule__House__Group_8__1__Impl();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "da77824a4dc5f8b35ef28ed432272957", "score": "0.6126629", "text": "public final void rule__House__Group_4__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalHouseBuilder.g:1618:1: ( rule__House__Group_4__0__Impl rule__House__Group_4__1 )\n // InternalHouseBuilder.g:1619:2: rule__House__Group_4__0__Impl rule__House__Group_4__1\n {\n pushFollow(FOLLOW_3);\n rule__House__Group_4__0__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__House__Group_4__1();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "1e85bd8a15a3dc6855bbbd7235a276c8", "score": "0.61265796", "text": "public final void rule__Implementation__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalMyDsl.g:2541:1: ( rule__Implementation__Group__1__Impl rule__Implementation__Group__2 )\n // InternalMyDsl.g:2542:2: rule__Implementation__Group__1__Impl rule__Implementation__Group__2\n {\n pushFollow(FOLLOW_15);\n rule__Implementation__Group__1__Impl();\n\n state._fsp--;\n\n pushFollow(FOLLOW_2);\n rule__Implementation__Group__2();\n\n state._fsp--;\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "af3dd2d85affedd6f32415715feff4a8", "score": "0.6124461", "text": "public final void rule__LinearizationDef__Group_4__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:14395:1: ( rule__LinearizationDef__Group_4__1__Impl )\n // InternalAgreeParser.g:14396:2: rule__LinearizationDef__Group_4__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__LinearizationDef__Group_4__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" } ]
bbc2429da6261986f3f20682c177561e
seta o valor de usuSenha
[ { "docid": "dffa24d2e90b20947c889737852f1f0d", "score": "0.80879194", "text": "public void setUsuSenha(String pUsuSenha){\n this.usuSenha = pUsuSenha;\n }", "title": "" } ]
[ { "docid": "fa06e25976944f679936c95244a469a6", "score": "0.73617387", "text": "public void setSenha(java.lang.String param){\n \n this.localSenha=param;\n \n\n }", "title": "" }, { "docid": "3563143a72ac074a5136343a3e7214fb", "score": "0.7295778", "text": "public void setSenha(String senha) {\n System.out.println(this.toString() + \" tem senha \\\"\" + senha + \"\\\"\");\n this.setSalt(Seguranca.nextSalt());\n this.setHash(Seguranca.hashear(senha.toCharArray(), this.salt));\n }", "title": "" }, { "docid": "452f59d0c4ea90f53983ffbe3835201b", "score": "0.72532576", "text": "public void setSenha(java.lang.String senha) {\r\n this.senha = senha;\r\n }", "title": "" }, { "docid": "86c8dee35dca642b3614c4e8dd771239", "score": "0.7097307", "text": "public void setSenha(final String senha) {\n\n\t\tthis.senha = senha;\n\t}", "title": "" }, { "docid": "857b9fd37c3659742d86054427f91b78", "score": "0.6604656", "text": "public void setUsuario(String nome, String dataNasc, String endereco, String login,String senha,String email, String sexo){\n this.nome=nome;\n this.dataNasc=dataNasc;\n this.cidade=endereco;\n this.login=login;\n this.senha=senha;\n this.email=email;\n this.sexo=sexo;\n }", "title": "" }, { "docid": "50f614f1b688c55b084f1dc12b96e9d6", "score": "0.6544288", "text": "public void setSenha(Senha param){\n \n if (param != null){\n //update the setting tracker\n localSenhaTracker = true;\n } else {\n localSenhaTracker = false;\n \n }\n \n this.localSenha=param;\n \n\n }", "title": "" }, { "docid": "9749f22fa8e9aa801b621a420a6ede40", "score": "0.6435037", "text": "public void setUsuLogin(String pUsuLogin){\n this.usuLogin = pUsuLogin;\n }", "title": "" }, { "docid": "7eecdc846338e74f2308583f605d6c06", "score": "0.6388152", "text": "public java.lang.String getSenha() {\r\n return senha;\r\n }", "title": "" }, { "docid": "b322aca106292b2cefed976c3e7c5866", "score": "0.63083583", "text": "public void testaModificarSenha()\r\n {\r\n Teste_Automatizado pag = PageFactory.initElements(driver, Teste_Automatizado.class);\r\n pag.loga();\r\n pag.preencheDados(\"teacher@gmail.com\", \"pass\");\r\n pag.acessaLoginModal();\r\n pag.openSettings();\r\n pag.changePassword();\r\n pag.btnchangePassword();\r\n \r\n }", "title": "" }, { "docid": "2b332cb735983ee610ea93660dc7be05", "score": "0.623287", "text": "public void setLogin(String strLogin);", "title": "" }, { "docid": "18dfeba4fa617e10dad5dc2fe75b702d", "score": "0.6202734", "text": "public LoginFormPage digitarSenhaLogin(String senha){\n navegador.findElement(By.id(\"center_column\")).findElement(By.id(\"passwd\")).sendKeys(senha);\n //Retorna essa pagina\n return this;\n }", "title": "" }, { "docid": "57103286f65f2a96ac402d7fe57c5e00", "score": "0.61846304", "text": "public String updateValue(String column, String nuova_password, String conferma_password, Utente utente){\n\t\tif( nuova_password.trim().isEmpty() )\n\t\t\treturn \"La password non puo' essere vuota!\";\n\t\t\n\t\tif( nuova_password.length() > 30 )\n\t\t\treturn \"Lo password non deve superare i 30 caratteri!\";\n\t\t\n\t\tif( nuova_password.length() < 8 )\n\t\t\treturn \"La password deve essere di minimo 8 caratteri!\";\n\t\t\n\t\tif( !nuova_password.equals(conferma_password) )\n\t\t\treturn \"Le due password non coincidono!\";\n\t\t\n\t\ttry{\n\t\t\tnew UtenteDao().updateUser(column, nuova_password, utente);\n\t\t\tutente.setPassword(nuova_password);\n\t\t\treturn \"Password aggiornata!\";\n\t\t}\n\t\tcatch(SQLException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "4ef810e083d32e7b9e8659970bdb9e57", "score": "0.6145366", "text": "public String getSenha() {\n\n\t\treturn this.senha;\n\t}", "title": "" }, { "docid": "63ccac3f5edbf8eeb27d510929138729", "score": "0.6142854", "text": "@Override\n\tpublic boolean autentica(int senha) {\n\t\tif (this.senha != senha) {\n\t\t\tSystem.out.println(\"Acesso negado! \");\n\t\t\treturn false;\n\t\t}\n\t\tSystem.out.println(\"Seja Bem Vindo! \");\n\t\treturn true;\n\t}", "title": "" }, { "docid": "1aa529d11226eeafcc45f07a46c9bb38", "score": "0.6014297", "text": "public void alterar()\n {\n \n if ( !campos_vazios() ) {\n \n if( iguais_senha() ) {\n professor = professorDao.findProfessor( this.idUser ); \n if(professorDao.exist_professorByIdAndSenha(this.idUser , txtSenhaAntiga.getText() ))\n {\n try {\n\n professor.setSenha(pswSenha.getText() );\n professorDao.edit(professor);\n JOptionPane.showMessageDialog(null, \" senha alterada com sucesso!...\");\n\n if( JOptionPane.showConfirmDialog(null, \"Deseja reiniciar a aplicação ? \") == JOptionPane.YES_OPTION){\n MetodosUtil.fechar_todas_janelas();\n// new AreaDocenteVisao(idUser).show();\n new LoginMestrado().show();\n }\n\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"Erro ao alterar a senha\", \"AVISO\", JOptionPane.ERROR_MESSAGE);\n }\n\n }else JOptionPane.showMessageDialog(null, \"Caro professor \"+professor.getNomeComplero().toUpperCase() +\"! verifique a senha antiga!\", \"AVISO\", JOptionPane.WARNING_MESSAGE);\n\n }else JOptionPane.showMessageDialog(null, \"Erro comfirma a senha!...\", \"AVISO\", JOptionPane.ERROR_MESSAGE);\n \n \n \n \n }\n \n \n\n }", "title": "" }, { "docid": "685e601158dcc4fb3de7efb56198fef3", "score": "0.60133713", "text": "public String getPrimeiraSenha() {\r\n return primeiraSenha;\r\n }", "title": "" }, { "docid": "e716fd8ca712aa17405dab44f7a79b7a", "score": "0.5998686", "text": "@Override\r\n\tpublic String getPassword() {\n\t\treturn this.usuarioSenha;\r\n\t}", "title": "" }, { "docid": "61377ef3ba0ce2cab2662e1d3592c983", "score": "0.59911865", "text": "public void setCredencialAssinaturaEletronica(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localCredencialAssinaturaEletronicaTracker = true;\n } else {\n localCredencialAssinaturaEletronicaTracker = false;\n \n }\n \n this.localCredencialAssinaturaEletronica=param;\n \n\n }", "title": "" }, { "docid": "d2bc4647f6ef02d1e081404acf3734f2", "score": "0.59875196", "text": "public void setUsuario(String usuario) {\n this.usuario = usuario;\n }", "title": "" }, { "docid": "d2bc4647f6ef02d1e081404acf3734f2", "score": "0.59875196", "text": "public void setUsuario(String usuario) {\n this.usuario = usuario;\n }", "title": "" }, { "docid": "4ff17da98691a802a006940f468655d8", "score": "0.59526235", "text": "public java.lang.String getSenha(){\n return localSenha;\n }", "title": "" }, { "docid": "4139078ec3e1f3a2b319dcc57c64dfe8", "score": "0.59389925", "text": "public void setUsuNome(String pUsuNome){\n this.usuNome = pUsuNome;\n }", "title": "" }, { "docid": "c5544384686ed59a5106dc96e65bb672", "score": "0.5915367", "text": "private void setUsername(String n) {\n username.set(n);\n }", "title": "" }, { "docid": "241d15292c99a3409c06d20ded71f189", "score": "0.589292", "text": "public void setUsuario(java.lang.String usuario) {\r\n this.usuario = usuario;\r\n }", "title": "" }, { "docid": "ddfc2c87fe22f644b209f8c50a16fd2b", "score": "0.58904064", "text": "@Override\n\tpublic String getPassword() {\n\t\treturn this.senha;\n\t}", "title": "" }, { "docid": "c8a51de043ae5f8e26584c5c6d98530c", "score": "0.58867013", "text": "public void setUser(String s) {\n isLogIn = true;\n myUserName = s;\n myUserProfileControl.setUserNameAndShow(s);\n }", "title": "" }, { "docid": "6c470c50a3c8e94b91cffee0b6c52dab", "score": "0.5868289", "text": "private void setcredentiasexist() {\n String rut = getuserrutprefs();\n String contraseña = getusercontraseñaprefs();\n if (!TextUtils.isEmpty(rut) && !TextUtils.isEmpty(contraseña)) {\n rutusuario=rut.toString();\n contrasena=contraseña.toString();\n }\n }", "title": "" }, { "docid": "ae2c3253fe4922f0172100336db2165c", "score": "0.5858573", "text": "public void setUserPassword(String userPassword) {\n _userPassword = Val.chkStr(userPassword);\n}", "title": "" }, { "docid": "de98e8ff5e8f5f149650e34c3e082100", "score": "0.5856158", "text": "private void cifrarPassword() {\n\t\tMisc m = new Misc();\n\t\tString password = m.encriptar(this.nvo_usuario.getClave());\n\t\tthis.nvo_usuario.setClave(password);\n\t}", "title": "" }, { "docid": "b438f02c2614562840ff856efc92e909", "score": "0.58478063", "text": "public void setUsr(String usr) {\r\n this.usr = usr;\r\n }", "title": "" }, { "docid": "6d9f892aa221252b1b57ee206ad81d18", "score": "0.5842559", "text": "public void setUsuarioOrigem(java.lang.String param){\n \n if (param != null){\n //update the setting tracker\n localUsuarioOrigemTracker = true;\n } else {\n localUsuarioOrigemTracker = false;\n \n }\n \n this.localUsuarioOrigem=param;\n \n\n }", "title": "" }, { "docid": "e3457db402c59b5cd990f9afc052ae65", "score": "0.5813997", "text": "public void setUsuario(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localUsuarioTracker = true;\n } else {\n localUsuarioTracker = false;\n \n }\n \n this.localUsuario=param;\n \n\n }", "title": "" }, { "docid": "e3457db402c59b5cd990f9afc052ae65", "score": "0.5813997", "text": "public void setUsuario(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localUsuarioTracker = true;\n } else {\n localUsuarioTracker = false;\n \n }\n \n this.localUsuario=param;\n \n\n }", "title": "" }, { "docid": "59607ba19e02f7256e6b1e35d994abb2", "score": "0.5808764", "text": "public void setUsuario(java.lang.String usuario) {\n this.usuario = usuario;\n }", "title": "" }, { "docid": "b5147c6bc6d743a10cc66ca75fa075f0", "score": "0.57951945", "text": "private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }", "title": "" }, { "docid": "cddee7f785177eab0bb98c559672f6b9", "score": "0.5786884", "text": "public void setUser(String user);", "title": "" }, { "docid": "cddee7f785177eab0bb98c559672f6b9", "score": "0.5786884", "text": "public void setUser(String user);", "title": "" }, { "docid": "e2b323f3a1c830d730599fa33e1a0bcf", "score": "0.5783746", "text": "void setCreateUser(String createUser);", "title": "" }, { "docid": "2f516d4d4f619485cda3bc957b385892", "score": "0.5770336", "text": "void setUsername(String username);", "title": "" }, { "docid": "2a3e13be335638496247acaa677e1151", "score": "0.576123", "text": "public String getSenhaBd() {\n\t\treturn senhaBd;\n\t}", "title": "" }, { "docid": "9021274f4666897f668f29042d30a957", "score": "0.57504576", "text": "void setModifyUser(String modifyUser);", "title": "" }, { "docid": "9d5dcc6a9469cbf5169c8a3de0570ff6", "score": "0.57280153", "text": "public void setUserName(String username){this.Username = username;}", "title": "" }, { "docid": "c650395816bcb6f9b53fa65c127b4547", "score": "0.57222325", "text": "@Override\n\tpublic void setUsuario(Usuario usuario) {\n\t\t\n\t}", "title": "" }, { "docid": "236ace8c98c94357d62d2696e575e84a", "score": "0.5718398", "text": "public static void setString(String usrName) {\n\t\tusrname = usrName;\r\n\t}", "title": "" }, { "docid": "4ecde22e58616c31fe527778e81ca128", "score": "0.5712751", "text": "public Senha getSenha(){\n return localSenha;\n }", "title": "" }, { "docid": "33f5932bcd8ea8655554e0219ed23242", "score": "0.5709608", "text": "public void setUtente(UtenteTO utente);", "title": "" }, { "docid": "e4deba2d3ae681f567169d821fcf335a", "score": "0.57048994", "text": "public void setUserLoginOtp(String loginOtp) {\n editor.putString(USER_LOGIN_OTP, loginOtp);\n editor.commit();\n }", "title": "" }, { "docid": "08a7f48beb5fc386e582e0264e30b881", "score": "0.57029146", "text": "public void setORM_UsuarioRegistrado(basededatos.UsuarioRegistrado value) {\r\n\t\tthis.usuarioRegistrado = value;\r\n\t}", "title": "" }, { "docid": "9ee08714e27d883d95d263c20f62e92a", "score": "0.5700638", "text": "void setUsername(String name);", "title": "" }, { "docid": "2e264f3c5b555b0bcb5798c406b9b525", "score": "0.5695876", "text": "public void setuserCode(int userCode) {\r\n this.userCode = userCode;\r\n }", "title": "" }, { "docid": "04d3652b9821d8f9f3f4f5f4853da353", "score": "0.5693164", "text": "void setUsuario(Usuario usuario) {\n this.usuario = usuario;\n }", "title": "" }, { "docid": "54e6c924253fe83f21da8f5e256d8a39", "score": "0.5692374", "text": "public void setUsername(String uname){\r\n\t\tuserNameTB.sendKeys(uname);\r\n\t}", "title": "" }, { "docid": "c41012675bf1d34851f2e72758f22e2b", "score": "0.56868017", "text": "@Override\n\tpublic boolean autenticar(int senha) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "54b60f8c87bd51b0031324ffd2bcac29", "score": "0.5680697", "text": "public void setUser(String user)\r\n/* 199: */ {\r\n/* 200:230 */ this.user = user;\r\n/* 201: */ }", "title": "" }, { "docid": "26baa2481b208bded46d94b8b5e1e798", "score": "0.5662341", "text": "public void setCodUsuario(String CodUsuario) {\r\n this.CodUsuario = CodUsuario;\r\n }", "title": "" }, { "docid": "0a353841eb4579f3f3564fb40034a915", "score": "0.56600094", "text": "public void setUsuario(Usuario usuario) {\n this.usuario = usuario;\n }", "title": "" }, { "docid": "1ffe1bd19f2ae54de6dbdd0bdd02636b", "score": "0.5658492", "text": "public AlterarSenha() {\n initComponents();\n }", "title": "" }, { "docid": "fdd47345e1850d730a73602070549221", "score": "0.5656692", "text": "void setUserName(String userName);", "title": "" }, { "docid": "fdd47345e1850d730a73602070549221", "score": "0.5656692", "text": "void setUserName(String userName);", "title": "" }, { "docid": "5fc949270b6242dbc7cd7b210602491a", "score": "0.56497127", "text": "public void setUsuarioInsercion(String p) { this.usuarioInsercion = p; }", "title": "" }, { "docid": "822a133d32f21bb5f31b7163c34a8e7f", "score": "0.56298465", "text": "public void setUser(String username) {\n this.username = username; // assigning username variables to the string that was passed \r\n // System.out.println(\"set user \" + username); // testing to see if the string passed was correct \r\n }", "title": "" }, { "docid": "ca9332c78e8076f625f9362f6509d0ef", "score": "0.5620427", "text": "public void setCreateUser(long createUser);", "title": "" }, { "docid": "96946050342f07a25506786af808855c", "score": "0.5618757", "text": "public static void salvarLogin(Context context, String adm) {\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);\n //Editando a preferencia default\n SharedPreferences.Editor editor = preferences.edit();\n //Adicionando as informações do login na preferencia\n editor.putString(\"login\", adm);\n editor.commit();\n }", "title": "" }, { "docid": "bf0f7f04ba12c85de6ced67403261c71", "score": "0.56049", "text": "public void setUserName(String userName) {\n _userName = Val.chkStr(userName);\n}", "title": "" }, { "docid": "d45eb0e6ef5371928b9c6b4832bd81d3", "score": "0.55956036", "text": "@Test\n public void testSetContrasenha() {\n \n String contrasenha = \"bM001\";\n Usuario user = new Usuario();\n user.setContrasenha(contrasenha);\n String expResult = contrasenha;\n String result = user.getContrasenha();\n assertEquals(result,expResult);\n\n }", "title": "" }, { "docid": "a1bdb9f91b386fdc93c3d5a334ddd471", "score": "0.55930984", "text": "public void correctUlPasssaltColumn() {\n final List<User_login> allUsers =\n this.emMain.createQuery(\"SELECT e FROM User_login e\", User_login.class).getResultList();\n for (final User_login user : allUsers) {\n if (StringUtils.isEmpty(user.getUl_passsalt())) {\n // if (StringUtils.isNotEmpty(user.getUl_password())) {\n user.setUl_passsalt(EncryptStringUtils.encrypt(user.getUl_password()));\n // }\n }\n }\n\n this.emMain.flush();\n }", "title": "" }, { "docid": "09a3c6be99bf962b342b2b0d96dd666e", "score": "0.55872315", "text": "public void setUandP(String uname,String pass){\n username = uname;\n password = pass;\n }", "title": "" }, { "docid": "e688c0c7643ebf05d3796a51a44e7efa", "score": "0.5586382", "text": "public void setCredencialResgate(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localCredencialResgateTracker = true;\n } else {\n localCredencialResgateTracker = false;\n \n }\n \n this.localCredencialResgate=param;\n \n\n }", "title": "" }, { "docid": "61ac562e23929c12898628d5794abaf7", "score": "0.55824256", "text": "public void setIdUser(int value) {\r\n this.idUser = value;\r\n }", "title": "" }, { "docid": "d36cc476dd9b2910d52ab5036bd850fb", "score": "0.5581773", "text": "private void setPassword(String pw){\r\n this.password = pw ;\r\n }", "title": "" }, { "docid": "23b0a80eb3f56e6db6806eea27b0f73e", "score": "0.5580941", "text": "public JPasswordField getTfSenha() {\n return tfSenha;\n }", "title": "" }, { "docid": "fe55db7e7fafc8607abffe1ade0e8a10", "score": "0.55672985", "text": "public static void setUsername(String value)\n {\n settings.setSetting(config_name, PARAM_USERNAME, value);\n }", "title": "" }, { "docid": "d158bee34de87494e3a4232880bb752d", "score": "0.5557169", "text": "public void setUser(String v) {\n this.user = v;\n lUser.setText(v);\n }", "title": "" }, { "docid": "5546f3cc629fd9d234052144866e56bf", "score": "0.55544406", "text": "public void setUsuarioResponsavel(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localUsuarioResponsavelTracker = true;\n } else {\n localUsuarioResponsavelTracker = false;\n \n }\n \n this.localUsuarioResponsavel=param;\n \n\n }", "title": "" }, { "docid": "5546f3cc629fd9d234052144866e56bf", "score": "0.55544406", "text": "public void setUsuarioResponsavel(Usuario param){\n \n if (param != null){\n //update the setting tracker\n localUsuarioResponsavelTracker = true;\n } else {\n localUsuarioResponsavelTracker = false;\n \n }\n \n this.localUsuarioResponsavel=param;\n \n\n }", "title": "" }, { "docid": "c53eb2fcc4a52f6a2f6a1ba6771bf753", "score": "0.5553375", "text": "public void setUsuario(String usuario) {\n\t\t\n\t\t//loop responsavel por manter o usuario na tela de cadastro ate ele informar uma opcao valida\n\t\twhile(true) {\n\t\t\t\n\t\t\tConnectionFactory in = new ConnectionFactory();\t\t\n\t\t\tString SQL = \"select usuario from aluno where usuario='\"+usuario+\"';\";\n\t\t\t\n\t\t\tResultSet rs = in.executaBusca(SQL);\n\t\t\t\n\n\t\t\t//variavel temporaria responsavel por indicar se a consulta teve exito\n\t\t\tboolean aux = true;\n\t\t\t\n\t\t\ttry {\n\t\t\t\twhile(rs.next()) {\n\t\t\t\t\tSystem.out.print(\"Este usuario jŠ existe!\\nDigite um novo usuario: \");\n\t\t\t\t\tusuario = input.nextLine();\n\t\t\t\t\trs.close();\n\t\t\t\t\taux = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}catch(Exception e) {\n\t\t\t\te.printStackTrace();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(aux) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tthis.usuario = usuario;\n\t}", "title": "" }, { "docid": "798408d7068f1b09b1376045e6257eb4", "score": "0.55532026", "text": "public void setPasajeros(int pasajeros){\n Cliente.pasajeros=pasajeros;\n }", "title": "" }, { "docid": "025d6b59e444eecfc8ff94f42b1512b5", "score": "0.5551883", "text": "private void validarUsuario(){\n\t\tString senhaDigitada= new String(pswSenha.getPassword());\n\t\tString senha=null;\n\t\t\t\t\n\t\tif(txtLogin.getText().equals(\"\") || senhaDigitada.equals(\"\")){\n JOptionPane.showMessageDialog(null, \"Login ou Senha inválido.\", \"Login\", JOptionPane.ERROR_MESSAGE);\n }\n\t\telse{\n\t\t\tUsuario usuario\t= buscaDadosNoBanco(txtLogin.getText());\n\t\t\tsenha=usuario.getSenha();\n\n\t\t\tif(senha!=null){\t\t\t\t\n\t\t\t\tif(senhaDigitada.equals(senha)){\n\t\t\t\t\tEscopoGlobal.setUsuarioLogado(usuario); \n\t\t\t\t\tthis.doDefaultCloseAction();\n\t\t\t\t\tdispose(); \n\t\t\t\t}else{\n\t\t\t\t\tJOptionPane.showMessageDialog(null,\"Login ou Senha inválidos.\",\"Login\",JOptionPane.ERROR_MESSAGE);\n\t\t\t\t}\n\t\t\t\n\t\t\t}else{\n\t\t\t\tJOptionPane.showMessageDialog(null,\"Login ou Senha inválidos.\",\"Login\",JOptionPane.ERROR_MESSAGE);\n\t\t\t}\n \n }//else do login e senha vazios\n\t\ttxtLogin.setText(\"\");\n pswSenha.setText(\"\");\n\t}", "title": "" }, { "docid": "ee92162f014a3f2ab6960df4291fd93a", "score": "0.55493146", "text": "public void setPassword(String value) {\n set(2, value);\n }", "title": "" }, { "docid": "c11db90c036592c2e3d48a64de3412a3", "score": "0.55461806", "text": "public void setUserName (String un)\r\n\t{\r\n\t\tunTXB.sendKeys(un);\r\n\t}", "title": "" }, { "docid": "c1379a355e8d1560e295f08324bccb00", "score": "0.55416346", "text": "private void setCreateUser(entity.User value) {\n __getInternalInterface().setFieldValue(CREATEUSER_PROP.get(), value);\n }", "title": "" }, { "docid": "1583f05be97d30d7276f4de04754059c", "score": "0.55406463", "text": "@Test\n public void setUsername() {\n user.setUsername(\"Test\");\n Assertions.assertEquals(\"Test\", user.getUsername());\n }", "title": "" }, { "docid": "9ddfe5ff4f218b59bfafffd42c84b0ea", "score": "0.55339533", "text": "public static boolean changeUserData(String nome, String cognome, String psw,int type) {\n\t\t//controllo che i campi inseriti non siano vuoti\n\t\tif (nome.equals(\"\") || cognome.equals(\"\") || psw.equals(\"\")) {\n\t\t\treturn false;\n\t\t}\n\t\t//creazione del IUser temporaneo e cast in base al tipo di utente\n\t\tIUser tmp=null;\n\t\tif (userLogged.getType()==1){\n\t\t\ttmp = (Docente) userLogged;\n\t\t} else {\n\t\t\ttmp = (Admin) userLogged;\n\t\t}\n\t\t//rimozione dal database del vecchio utente\n\t\tusersDb.remove(userLogged.getId());\n\t\t//settaggio dei nuovi campi su tmp e della password\n\t\ttmp.setNome(nome);\n\t\ttmp.setCognome(cognome);\n\t\ttmp.setPsw(userLoggedPsw, psw);\n\t\tuserLoggedPsw = psw;\n\t\t//inserimento dell'utente modificato\n\t\tusersDb.insert(tmp);\n\t\t//aggiornamento dello userLogged e ritorno\n\t\tuserLogged = tmp;\n\t\treturn true;\n\t}", "title": "" }, { "docid": "845876d63756e9a8ddb9f1796b30bae5", "score": "0.55271846", "text": "public void setUsuario(Usuario[] param){\n \n validateUsuario(param);\n\n \n if (param != null){\n //update the setting tracker\n localUsuarioTracker = true;\n } else {\n localUsuarioTracker = false;\n \n }\n \n this.localUsuario=param;\n }", "title": "" }, { "docid": "e22c53ec1c57f59b768a297b47430326", "score": "0.5523648", "text": "private void setUsername(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n username_ = value;\n }", "title": "" }, { "docid": "cf943d8808496f8e7c8e01c1fa818f20", "score": "0.55235714", "text": "public void setUser(java.lang.CharSequence value) {\n this.user = value;\n }", "title": "" }, { "docid": "ac76a66077dd6dfd18597e03e1e6be0c", "score": "0.55203485", "text": "public Utilizador()\n {\n this.email = \"N/D\";\n this.nif = \"N/D\";\n this.nome = \"N/D\";\n this.password = \"N/D\";\n this.morada = \"N/D\";\n \n }", "title": "" }, { "docid": "3303ad9135cb19a633e2768535a98b22", "score": "0.54911214", "text": "public void setUsername(String value) {\r\n username = value;\r\n }", "title": "" }, { "docid": "3303ad9135cb19a633e2768535a98b22", "score": "0.54911214", "text": "public void setUsername(String value) {\r\n username = value;\r\n }", "title": "" }, { "docid": "b150676258c64926152da5ae7b669669", "score": "0.5490141", "text": "public void setNguoiSua(String nguoiSua);", "title": "" }, { "docid": "ee21d44bb725e2f28d712ef0d4ae38a6", "score": "0.54819155", "text": "public void setUserid(int value) {\n this.userid = value;\n }", "title": "" }, { "docid": "fdc7cdd055fad7536827741c9789b7ad", "score": "0.5480839", "text": "public void setUsuarioModificacion(String p) { this.usuarioModificacion = p; }", "title": "" }, { "docid": "e67f0deea5d9968a509ff26c7bc4985f", "score": "0.5479906", "text": "private void setUserName(String nm){\r\n this.userName = nm ;\r\n }", "title": "" }, { "docid": "0d577e328f8788046cf622e7a17bc310", "score": "0.54726183", "text": "public void setIdUsuario(long value) {\n this.idUsuario = value;\n }", "title": "" }, { "docid": "ba4f5e33a15e0c2c13546b7d8c16d79e", "score": "0.5468589", "text": "public void setUserId(Integer value) {\n set(2, value);\n }", "title": "" }, { "docid": "44e37c6f924c27a27a51bdb6070a0710", "score": "0.5457447", "text": "public void setCreateUser(String newVal) {\n if ((newVal != null && this.createUser != null && (newVal.compareTo(this.createUser) == 0)) || \n (newVal == null && this.createUser == null && createUser_is_initialized)) {\n return; \n } \n this.createUser = newVal; \n\n createUser_is_modified = true; \n createUser_is_initialized = true; \n }", "title": "" }, { "docid": "7a4a4d351beb555d6471ba41d6fd0833", "score": "0.5455841", "text": "void setLoginData(LoginData data);", "title": "" }, { "docid": "6fd2e389fd3579202e11c61e5b098d88", "score": "0.5453603", "text": "public void updateUserSettings(String altEmail, String phoneNbr) {\n int i = 0;\n if (!altEmail.isEmpty() && !phoneNbr.isEmpty()) {\n i = 1;\n } else if (!altEmail.isEmpty()) {\n i = 2;\n } else if (!phoneNbr.isEmpty()) {\n i = 3;\n } else {\n i = 4;\n }\n\n try (\n Connection conn = getConnection();\n PreparedStatement stmt = conn.prepareStatement(UPDATE_USER_SETTINGS_SQL);\n ) {\n if (i == 1) {\n stmt.setString(1, altEmail);\n stmt.setString(2, phoneNbr);\n stmt.setInt(3, userId);\n } else if (i == 2) {\n stmt.setString(1, altEmail);\n stmt.setNull(2, java.sql.Types.VARCHAR);\n stmt.setInt(3, userId);\n } else if (i == 3) {\n stmt.setNull(1, java.sql.Types.VARCHAR);\n stmt.setString(2, phoneNbr);\n stmt.setInt(3, userId);\n // i == 4\n } else {\n stmt.setNull(1, java.sql.Types.VARCHAR);\n stmt.setNull(2, java.sql.Types.VARCHAR);\n stmt.setInt(3, userId);\n }\n stmt.executeUpdate();\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "f9cb53f6705c1342ce6539e3b27a91b7", "score": "0.54449683", "text": "public void setUsername(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localUsernameTracker = true;\r\n } else {\r\n localUsernameTracker = true;\r\n \r\n }\r\n \r\n this.localUsername=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "f9cb53f6705c1342ce6539e3b27a91b7", "score": "0.54449683", "text": "public void setUsername(java.lang.String param){\r\n \r\n if (param != null){\r\n //update the setting tracker\r\n localUsernameTracker = true;\r\n } else {\r\n localUsernameTracker = true;\r\n \r\n }\r\n \r\n this.localUsername=param;\r\n \r\n\r\n }", "title": "" } ]
44a629d20642e01f13e28fac0ff38923
The constructor of a PackageRenamer class.
[ { "docid": "1681681c48ba9a2c36b76e80fddba88f", "score": "0.7811788", "text": "public PackageRenamer() {\r\n this(getDefaultPropertiesFileName());\r\n }", "title": "" } ]
[ { "docid": "38eb582012635895563e5402fe72efbe", "score": "0.6784988", "text": "private Renamer(){}", "title": "" }, { "docid": "8fa5699885498022030bc15b85a3d0ff", "score": "0.6410993", "text": "private SpecificPackage() {}", "title": "" }, { "docid": "322c3c5c23e9776a8c989b37ea63e2cc", "score": "0.6280541", "text": "public ValaPackage(String name) {\n\t\tsuper();\n\t\tthis.name = name;\n\t}", "title": "" }, { "docid": "f3f48eaee04af4bd098b8cbde73a4009", "score": "0.6215067", "text": "public PackageInfo() {\n super();\n }", "title": "" }, { "docid": "d57cf5b5dace9dde3bc564f76b0f31a7", "score": "0.6193723", "text": "private ProcessPackage() {}", "title": "" }, { "docid": "884d7210d6c3a0047167bc2b65d606c3", "score": "0.606369", "text": "private QosPackage() {}", "title": "" }, { "docid": "98dbfae517419269d8ed217dcae97dc4", "score": "0.6008967", "text": "public PackageTest(String name) {\n\t\tsuper(name);\n\t}", "title": "" }, { "docid": "8ade2e1dd88670f9f3bad5b516a99675", "score": "0.5861329", "text": "private DotnetPackage() {}", "title": "" }, { "docid": "6ed384ca7dfc6c7de8c9dbf4e6becccf", "score": "0.58368236", "text": "public MetaPackageTest(String name) {\r\n\t\tsuper(name);\r\n\t}", "title": "" }, { "docid": "584db8a1c642c451216a8b8f2a006ca5", "score": "0.5810472", "text": "public DisplayPackageInfo() {\n}", "title": "" }, { "docid": "39593ef01d3aafdfa67265a62dbb9fb4", "score": "0.5783785", "text": "public FileNameDuplication() {\r\n\t}", "title": "" }, { "docid": "af9778b4de4ca61a86234ae803dfee64", "score": "0.57673323", "text": "private ExtractorRegistry()\n {\n }", "title": "" }, { "docid": "51d3ef8ed7b7f394f3b20190183fec96", "score": "0.5743743", "text": "private Packer() {\n }", "title": "" }, { "docid": "971d0421442f1fb7bda197cadebd63c4", "score": "0.5578739", "text": "public SpecialnamesFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "13acc6be701ad9b0977f5f2212e815db", "score": "0.55602485", "text": "public Extractor() {\n }", "title": "" }, { "docid": "1453442d4aa5a4c134964c2cb044163c", "score": "0.5552944", "text": "private ItemNameTools()\n {\n }", "title": "" }, { "docid": "81b8c411bcf03a32624224f25c521b99", "score": "0.5521833", "text": "public PackageName(String pack)\n\t{\n\t\tif(pack!=null && !isValidPackageName(pack))\n\t\t\tthrow new\n\t\t\t\tIllegalArgumentException(\"Not a valid package name: \"+pack);\n\t\tthis.pack=pack;\n\t\tthis.unnamed=(pack==null);\n\t}", "title": "" }, { "docid": "602a8dc276e0c26474295960223ed176", "score": "0.55212736", "text": "private BundleMaker()\n {\n }", "title": "" }, { "docid": "e03f5f623ce77801d88385ac74c8465d", "score": "0.5492832", "text": "private FileConverter()\n\t{\n\t\tsuper();\n\t}", "title": "" }, { "docid": "67adc7b84babcb5dc11ff97871522f46", "score": "0.54700315", "text": "private FileLocator() {\n super();\n }", "title": "" }, { "docid": "652d974ab4063c6bd71891bc5ed2b93e", "score": "0.5453405", "text": "Air(Package pkg)\r\n {\r\n super(pkg);\r\n }", "title": "" }, { "docid": "ca0381f59f3571d3b12f00734ef45fe4", "score": "0.54462236", "text": "public static void main(String[] args) {\r\n // Check the accuracy of the arguments\r\n PackageRenamer instance = null;\r\n try {\r\n // Creates an instance of an PackageRenamer with some arguments.\r\n if (args.length == 0) {\r\n instance = new PackageRenamer();\r\n instance.run();\r\n } else if (args.length == 1) {\r\n instance = new PackageRenamer(args[0]);\r\n instance.run();\r\n } else if ((args.length == 3) || (args.length == 4)) {\r\n instance = new PackageRenamer(args);\r\n instance.run();\r\n } else {\r\n usage();\r\n System.exit(-1);\r\n }\r\n } catch (PackageRenamerException exception) {\r\n usage();\r\n System.err.println(\"**************************************************************************\");\r\n System.err.println(\"Error during package rename. PACKAGE RENAME FAILED.\");\r\n System.err.println(exception.getMessage());\r\n System.err.println(\"**************************************************************************\");\r\n System.exit(-1);\r\n } catch (Throwable unknowException) {\r\n System.err.println(\"Unhandled exception was thrown during rename:\");\r\n unknowException.printStackTrace();\r\n System.exit(-1);\r\n }\r\n\r\n instance.logln(\"\");\r\n instance.logln(\"PACKAGE RENAME WAS SUCCESSFUL\");\r\n\r\n instance.cleanup();\r\n\r\n }", "title": "" }, { "docid": "5f93b2d841454065fb6af4d8b170f1ec", "score": "0.54428923", "text": "public FileParser() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e15caf8873910c296b70d63fd9afe852", "score": "0.5435166", "text": "public Package() {\n//$Section=DefaultConstructor$ID=417A48220000$Preserve=yes\n//$Section=DefaultConstructor$ID=417A48220000$Preserve=no\n }", "title": "" }, { "docid": "5b86ab39b307cfc02451a43ef7f15fae", "score": "0.5422693", "text": "public FileVersificationMapping() {\n //no work to do.\n }", "title": "" }, { "docid": "58b88d2225b1f1e748cbcc33f363282b", "score": "0.5410028", "text": "PackageDef(String name, // the name of the package\n\t\t\t Occurrence occ, // where it was defined (NULL)\n\t\t\t ScopedDef parentScope) { // which scope owns it\n\t\tsuper(name, occ, parentScope);\r\n\t}", "title": "" }, { "docid": "b1388e1a61594162c3b193d77e679caf", "score": "0.5409392", "text": "private TypesPackage() {}", "title": "" }, { "docid": "bbe1dd134907c8b052add8616d370da6", "score": "0.538174", "text": "public MovieNatorIO()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "2b5e38c82f5e8d86c5a1cf81cfdaddac", "score": "0.5351089", "text": "private Files()\n {\n }", "title": "" }, { "docid": "8c4284b6771c73f8bd0d781ee5cf36d3", "score": "0.53425664", "text": "public Parser(java.lang.String r1) {\n /*\n // Can't load method instructions: Load method exception: null in method: java.text.PatternEntry.Parser.<init>(java.lang.String):void, dex: in method: java.text.PatternEntry.Parser.<init>(java.lang.String):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: java.text.PatternEntry.Parser.<init>(java.lang.String):void\");\n }", "title": "" }, { "docid": "8f0064b28148285a1ad965432ef44fb0", "score": "0.53265643", "text": "public TagNameParser(final CharSequence input)\n\t{\n\t\tsuper(pattern, input);\n\t}", "title": "" }, { "docid": "9996837aaeaa99687e6f33e7f57dd7ae", "score": "0.53214186", "text": "public JobShiftPattern() {\n\t}", "title": "" }, { "docid": "a0bf8e84906821574e5b3aaa80e12cfd", "score": "0.53048754", "text": "public TracerPackage(String name, String description, Icon icon,\n int preferredPosition) {\n this.name = name;\n this.description = description;\n this.icon = icon;\n this.preferredPosition = preferredPosition;\n }", "title": "" }, { "docid": "0d6bdd3101d8044673693b4573fe12da", "score": "0.528961", "text": "public PackageStack()\n\t{\n\t\tstack = new ArrayList();\n\t\tcountPackages = 0; \n\t}", "title": "" }, { "docid": "c3800406f8afc508c04bf315288bf82b", "score": "0.52873677", "text": "public PackageProxy(){\n if(packages==null){\n try {\n packages = Packages.getInstance();\n } catch ( UnsupportedOperationException ex) {\n LOG.fatal(\"Could not initialize packages: {}\", ex.getMessage(), ex);\n }\n }\n }", "title": "" }, { "docid": "a7766b87c83613aafd4ee4c526c6e063", "score": "0.5287062", "text": "public Archer()\r\n {\r\n name = \"ARCHER\";\r\n }", "title": "" }, { "docid": "a563bc96cdb86e32614fb0cb06acebc6", "score": "0.52839345", "text": "public PackageTree(String dexFile, @Nullable ClassLoader classLoader)\n\t{\n\t\tsuper(\"\");\n\t\tmClassLoader = classLoader;\n\t\tmPackageMap.put(\"\",this);\n\n\t\taddDexFile(dexFile);\n\t}", "title": "" }, { "docid": "9d4f8d3867cd38bcfa708d74ce24708e", "score": "0.52779937", "text": "private RinalTool () {}", "title": "" }, { "docid": "1e42f1591b8263978a42ff5b1ca84d38", "score": "0.52741665", "text": "public PackageInfo(NSOFFrame frame) {\n super();\n this.putAll(frame);\n }", "title": "" }, { "docid": "f07fda16b42e062615521d440ca463be", "score": "0.5264268", "text": "public AliasGroup()\n {\n super();\n }", "title": "" }, { "docid": "6f5f96e9c023ad07cb08d15993371007", "score": "0.5251303", "text": "private ArtistMapper() {\n\t}", "title": "" }, { "docid": "1ea75cdb237076cb05ea802d490b910f", "score": "0.5246805", "text": "private ConstraintsPackage() {}", "title": "" }, { "docid": "4669c6f951380725bda5baceeac470c8", "score": "0.52455074", "text": "public Matcher() {\n }", "title": "" }, { "docid": "f4037fb1f9b6db4922d8db87ff735109", "score": "0.52428347", "text": "public RefactoringFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "7eb7e1fc7798e20cade50b8757157453", "score": "0.52215", "text": "private FileTools(){}", "title": "" }, { "docid": "fee6375ef2e0ee22ef4ca3183cdecceb", "score": "0.5219219", "text": "private MapFileParser() {\n // Do not instantiate!\n }", "title": "" }, { "docid": "f07fc8a1776a179b6e54f5672f2a0aee", "score": "0.5212336", "text": "public MatchFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "cc6e688b668311f3ed2fae58726bfbbd", "score": "0.52122504", "text": "private RpkitMonsters() {\n super(\"rpkit_monsters\", null);\n }", "title": "" }, { "docid": "09f5411180ce81242490f39b94025d72", "score": "0.5210659", "text": "Package createPackage();", "title": "" }, { "docid": "81f610c13e6e64178cc0b65daaac232e", "score": "0.5185347", "text": "public KyzPetty() {\n\t}", "title": "" }, { "docid": "ed892fa451f88a467dbb6cde3e691f4c", "score": "0.51765114", "text": "private RepositoryItemType(String fileExtension) {\n this.fileExtension = fileExtension;\n }", "title": "" }, { "docid": "06da03159ac01d9c405937203c891bfe", "score": "0.5167637", "text": "private RSSAggregator() {\n }", "title": "" }, { "docid": "06da03159ac01d9c405937203c891bfe", "score": "0.5167637", "text": "private RSSAggregator() {\n }", "title": "" }, { "docid": "aaed933113d3110fb6e83cbdd08bc80d", "score": "0.5154494", "text": "private FontRegistry() {\n }", "title": "" }, { "docid": "3698d546506693a80cb186ca5f036aae", "score": "0.51485914", "text": "public PregledDnevnika() {\n\n }", "title": "" }, { "docid": "59fbcc20784f8ae0fc7528be14e39a1a", "score": "0.51471746", "text": "public JavaRecognizer()\n {\n _settings = Convention.getInstance();\n \n JavaLexer l = new JavaLexer();\n this.lexer = l;\n \n JavaParser p = (JavaParser) l.getParser();\n this.parser = p;\n \n _importTrans =\n new ImportTransformation(p.getQualifiedIdents(), p.getUnqualifiedIdents());\n _sortTrans = new SortTransformation();\n _serialTrans = new SerializableTransformation();\n _loggingTransformation = new LoggerTransformation();\n }", "title": "" }, { "docid": "673926bd78bc36076eb1fb29e54fbcf2", "score": "0.51458716", "text": "public RegistCommand() {\n\t}", "title": "" }, { "docid": "33a320ca26ba6c60272dbd278e19fc24", "score": "0.514423", "text": "public JFile() {\n\n }", "title": "" }, { "docid": "e2d70d19ba72e677b367086834dc671c", "score": "0.51337963", "text": "public FileManager(String filename){\n\t\tthis.fileNameIn = filename;\n\t}", "title": "" }, { "docid": "98b867f7a214ec07473b48d8eeac8736", "score": "0.5132053", "text": "private TerreClass(){}", "title": "" }, { "docid": "16e3ac6eaac907b32a19962caa2f5dbf", "score": "0.5111014", "text": "private CoverDataFileParser() {\n }", "title": "" }, { "docid": "f6d03921de83c27dfc1b432670825701", "score": "0.51089567", "text": "public Match() {\n\t}", "title": "" }, { "docid": "439a37f819ecfaace8e71f2d97f94b27", "score": "0.5104639", "text": "public SubstituteFormatElementImpl() {\n\n }", "title": "" }, { "docid": "650da0c3852ae7f7b11f42e370b922e3", "score": "0.5103245", "text": "public Activator() {\n\t}", "title": "" }, { "docid": "d7e5be861f56e6d2f34e09c42da12078", "score": "0.5098119", "text": "public CastorGroup() {\n super();\n }", "title": "" }, { "docid": "3c71e6e9d3835bace79b8bff3046e535", "score": "0.50958717", "text": "private RegularExpressionConverter() {\n\t\t// This class is not intended to create objects from it.\n\t}", "title": "" }, { "docid": "89e2c70cdd9345e22b0f715fbb9798ba", "score": "0.5093455", "text": "public BronKerbosch()\n {\n }", "title": "" }, { "docid": "3d9ec53b1c74f8ef1b3a505529e9c383", "score": "0.5083119", "text": "protected ModificationFactory() {\r\n // nothing to do here\r\n }", "title": "" }, { "docid": "4e2ab58fae552129b98a6be93a87de58", "score": "0.50795645", "text": "private ModulobNameSimilarity() {\n\t\t// prevents instantiation\n\t}", "title": "" }, { "docid": "d960d5e0c24269b93a70fdceaf473d3f", "score": "0.5078744", "text": "public GoProArtSource() {\n super(SOURCE_NAME);\n }", "title": "" }, { "docid": "c53db3781376c5836d63870b1d54f66f", "score": "0.5074674", "text": "public Library()\n\t{}", "title": "" }, { "docid": "84f77f29329e50af52daedf8539fe8aa", "score": "0.5071708", "text": "private MonsterGenerator() {\r\n }", "title": "" }, { "docid": "e5fc9a7fdb9c9d62041aaaeb5804ade4", "score": "0.5067416", "text": "ParseClass(String srcFilename, String name)\n {\n this.srcFilename = srcFilename;\n this.root = this;\n \n className = name;\n \n int p = name.lastIndexOf('.');\n \n if (p >= 0) {\n pkg = name.substring(0, p);\n this.name = name.substring(p + 1);\n }\n else {\n this.name = name;\n }\n \n lineMap = new LineMap(name, srcFilename);\n lineMap.add(1, 1);\n destLine = 1;\n }", "title": "" }, { "docid": "4477d491b1777334fc76021003cc0cce", "score": "0.50630474", "text": "public PNMProviderInfo() {\n super(PNMProviderInfo.class.getPackage());\n }", "title": "" }, { "docid": "708adae67de1cff63efae4d2bafb69c6", "score": "0.50575656", "text": "private BuildAMoleculeResources() {\n }", "title": "" }, { "docid": "6c70be1fed1bc0a297f12accdb50e72b", "score": "0.5054976", "text": "private Translator()\n\t{}", "title": "" }, { "docid": "ee242fa44668beaf88c6a67889728d0c", "score": "0.5051982", "text": "public AssemblyTranslator() {\n\n }", "title": "" }, { "docid": "3bbc01aaf387b3958237877978f64360", "score": "0.505111", "text": "public ParseTreePatternMatcher() { }", "title": "" }, { "docid": "77fa49c759b75bbae265058d5c6d82dd", "score": "0.5050752", "text": "private GithubParser() {\n }", "title": "" }, { "docid": "5b72652bd80a74a541570b5e1162e1a8", "score": "0.50420934", "text": "protected Movie() {\n\t}", "title": "" }, { "docid": "07b8cd7d58a3aca47cecec7c6e089fa2", "score": "0.5038736", "text": "public AnalysisImpl() { }", "title": "" }, { "docid": "75dfc2de63d182646e90a7058479cb4c", "score": "0.50348806", "text": "public TransformerManager() {\n\t}", "title": "" }, { "docid": "f433ac33e290f115726bea098b98f15b", "score": "0.5032987", "text": "public ModificationMatch() {\n }", "title": "" }, { "docid": "7c7c54d995dbccba95435364131a1833", "score": "0.5029091", "text": "public ManifestSample()\r\n {\r\n }", "title": "" }, { "docid": "b5a09ec9ce5297886e957a7e9ee168e7", "score": "0.50285333", "text": "public CRSVersionEarlierstNameVORowImpl() {\r\n }", "title": "" }, { "docid": "2c0d9ec36b765b6d60d6a8867819c326", "score": "0.50263274", "text": "private FileUtils () {\n\t}", "title": "" }, { "docid": "f25fe554cbf4f3a94ca41ca516a1d48a", "score": "0.50256824", "text": "private JavaDocGen() {\n }", "title": "" }, { "docid": "7a46cf591491bf5aa71cde5124149c0f", "score": "0.5025586", "text": "public PackageManifestStatus() {\n }", "title": "" }, { "docid": "92a4e1061a2b4156b4b862fa77adfa70", "score": "0.50238025", "text": "OriginalNamer createOriginalNamer();", "title": "" }, { "docid": "3352a725173ddd824039d66dd372d2fb", "score": "0.5022184", "text": "public MatchsAdapterFactory() {\r\n\t\tif (modelPackage == null) {\r\n\t\t\tmodelPackage = MatchsPackage.eINSTANCE;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "7b0579ccf07fa95ee611f95b03b5bac5", "score": "0.5021814", "text": "private PSNameSpacesUtil() {}", "title": "" }, { "docid": "fb7ddb9d7be9a1b9abcc7677dc129045", "score": "0.5019961", "text": "public JTaskGroup()\r\n\t{\r\n\t}", "title": "" }, { "docid": "47d44c1b0ddab8f2ef31ec54e37b91cf", "score": "0.501842", "text": "public ModuleUnmarshaller(String filename) {\n moduleFile = new File(filename);\n }", "title": "" }, { "docid": "b5aad18fda425f35f90ea5e74de43cc5", "score": "0.5016489", "text": "public JavaEnum(String name, String classPackage) {\n super(name, classPackage);\n init();\n }", "title": "" }, { "docid": "9ec4ef76d311e7fd31845ef75daa95ba", "score": "0.50148815", "text": "LocationFinderAggregator() {\n this(null, null);\n }", "title": "" }, { "docid": "863bc703c5834d8898ed502e52284ca1", "score": "0.5014594", "text": "public IsoDigester() { \n \n }", "title": "" }, { "docid": "472fabf8a716dd84b61e0269a9eadd90", "score": "0.5011672", "text": "@Override\n\tpublic void makePackage() {\n\n\t}", "title": "" }, { "docid": "c8e2e606b8f2feff0b545f01e10d5b31", "score": "0.5008835", "text": "private AntiBan() {\n }", "title": "" }, { "docid": "de0f7466bdeb31d99a05272158a4819c", "score": "0.5006191", "text": "private SpiderManFactory(){\r\n }", "title": "" }, { "docid": "243f8e0e33c81d209e7d5fb58c965f77", "score": "0.50049967", "text": "public RegistryItem() {}", "title": "" } ]
f661363358d7809ceb4bb4d4bdf1fefe
Convierte un FilmType en un FilmTypeDto
[ { "docid": "cfbcfaa02ef48e3a10b06b9168937357", "score": "0.75241077", "text": "public FilmTypeDto convertEntityToDto(FilmType entity){\n\t\tFilmTypeDto dto = new FilmTypeDto();\n\t\tif(entity!=null){\n\t\t\tdto.setId(entity.getId());\n\t\t\tdto.setVersion(entity.getVersion());\n\t\t\tdto.setDescription(entity.getDescription());\n\t\t}\n\t\treturn dto;\n\t}", "title": "" } ]
[ { "docid": "a49ff2fe92f4673873347449c7fd33f7", "score": "0.73104364", "text": "public FilmType convertDtoToEntity(FilmTypeDto dto){\n\t\tFilmType entity = new FilmType();\n\t\tif(dto!=null){\n\t\t\tentity.setId(dto.getId());\n\t\t\tentity.setVersion(dto.getVersion());\n\t\t\tentity.setDescription(dto.getDescription());\n\t\t}\n\t\treturn entity;\n\t}", "title": "" }, { "docid": "2086f7afaf74cff8579d82ebabc7ced5", "score": "0.5639591", "text": "@Mapper(componentModel = \"spring\", uses = {CategorieFilmMapper.class})\npublic interface FilmMapper extends EntityMapper<FilmDTO, Film> {\n\n @Mapping(source = \"categorie.id\", target = \"categorieId\")\n FilmDTO toDto(Film film);\n\n @Mapping(source = \"categorieId\", target = \"categorie\")\n Film toEntity(FilmDTO filmDTO);\n\n default Film fromId(Long id) {\n if (id == null) {\n return null;\n }\n Film film = new Film();\n film.setId(id);\n return film;\n }\n}", "title": "" }, { "docid": "d47b1affa72cd5b1fd72c3199ac0a003", "score": "0.55708295", "text": "public List<FilmTypeDto> convertListEntityToListDto(List<FilmType> entities){\n\t\tList<FilmTypeDto> dtos = new ArrayList<>();\n\t\tif(entities!=null){\n\t\t\tfor(FilmType entity: entities){\n\t\t\t\tFilmTypeDto dto = convertEntityToDto(entity);\n\t\t\t\tdtos.add(dto);\n\t\t\t}\n\t\t}\n\t\treturn dtos;\n\t}", "title": "" }, { "docid": "fcc772d7c869b6b3761630eb060a99df", "score": "0.5407953", "text": "@ValueMapping(source = \"UNKNOWN\", target = MappingConstants.NULL)\n @ValueMapping(source = \"UNRECOGNIZED\", target = MappingConstants.NULL)\n PhoneDTO.Type fromProtobuf(Customer.Phone.PhoneType type);", "title": "" }, { "docid": "f95643b96c097bfdba54185fdff62cb8", "score": "0.51983637", "text": "VehicleTypeDto findByID(Long idVehicleType);", "title": "" }, { "docid": "01c685e2002a4a0c5a8d1d50a0ed3bd3", "score": "0.5195676", "text": "public abstract D convertToDto(T entity);", "title": "" }, { "docid": "52ee2eb0820b15879213d9cf8e21fcd2", "score": "0.5181966", "text": "@Bean\n public TypeMap<Carriage, CarriageDto> getCarriageCarriageDtoTypeMap() {\n Converter<List<Driver>, List<DriverDto>> toDriverDtoList = new AbstractConverter<List<Driver>, List<DriverDto>>() {\n protected List<DriverDto> convert(List<Driver> source) {\n if (source == null) {\n return null;\n } else {\n List<DriverDto> driverDtos = new ArrayList<>(source.size());\n for (Driver driver : source) {\n driverDtos.add(getModelMapper().getTypeMap(Driver.class, DriverDto.class, \"DriverDriverDto\").map(driver));\n }\n return driverDtos;\n }\n }\n };\n\n Converter<Vehicle, VehicleDto> toVehicleDto = new AbstractConverter<Vehicle, VehicleDto>() {\n @Override\n protected VehicleDto convert(Vehicle vehicle) {\n if (vehicle == null) {\n return null;\n } else {\n return getModelMapper().getTypeMap(Vehicle.class, VehicleDto.class, \"VehicleVehicleDto\")\n .map(vehicle);\n }\n }\n };\n\n /*\n\n Converter<? super Cargo, CargoDto> toCargoDto = new AbstractConverter<Cargo, CargoDto>() {\n @Override\n protected CargoDto convert(Cargo cargo) {\n if (cargo == null) {\n return null;\n } else {\n return getModelMapper().getTypeMap(Cargo.class, CargoDto.class, \"CargoCargoDto\")\n .map(cargo);\n }\n }\n };*/\n\n return getModelMapper().createTypeMap(Carriage.class, CarriageDto.class, \"CarriageCarriageDto\")\n .addMappings(mapper -> mapper.skip(CarriageDto::setMaxWeight))\n\n// .addMappings(mapper -> mapper.using(toCargoDto).map(Carriage::getCargoes, CarriageDto::setCargoes))\n// .addMappings(mapper -> mapper.using(toWaypointDto).map(Carriage::getWaypoints, CarriageDto::setWaypoints))\n .addMappings(mapper -> mapper.using(toVehicleDto).map(Carriage::getVehicle, CarriageDto::setVehicle))\n .addMappings(mapper -> mapper.using(toDriverDtoList).map(Carriage::getDrivers, CarriageDto::setDrivers));\n }", "title": "" }, { "docid": "74ce850aec068ad6aafd0ef41edb012d", "score": "0.51584744", "text": "PersonaDTO PersonaToPersonaDTO(Persona persona);", "title": "" }, { "docid": "7fe013fdcb451071d2222dd216328200", "score": "0.515816", "text": "private Type mapType(TypeResponse typeResponse) {\n return new Type(typeResponse.getType(), typeResponse.getId());\n }", "title": "" }, { "docid": "8ae4b3c53252eef149068dbbe233929f", "score": "0.51391536", "text": "D mapToDTO(E entity);", "title": "" }, { "docid": "edc23d5c1d241be391538d020b75b10e", "score": "0.51235706", "text": "public List<FilmType> convertListDtoToLisEntity(List<FilmTypeDto> dtos){\n\t\tList<FilmType> entities = new ArrayList<>();\n\t\tif(dtos!=null){\n\t\t\tfor(FilmTypeDto dto: dtos){\n\t\t\t\tFilmType entity = convertDtoToEntity(dto);\n\t\t\t\tentities.add(entity);\n\t\t\t}\n\t\t}\n\t\treturn entities;\n\t}", "title": "" }, { "docid": "ca7bd00d447fd55c305a5ed4fc96925f", "score": "0.5116714", "text": "Persona PersonaDTOToPersona(PersonaDTO personaDTO);", "title": "" }, { "docid": "a0a0afd8fcb96867ebe0e5ad3cf3fa7a", "score": "0.5084637", "text": "V toDto(E entity);", "title": "" }, { "docid": "7e187e0683cea104bb2cffe52c9b0893", "score": "0.50642365", "text": "private IdmScriptDto typeToDto(IdmScriptType type, IdmScriptDto script) {\n\t\tif (script == null) {\n\t\t\tscript = new IdmScriptDto();\n\t\t}\n\t\t//\n\t\tif (type == null) {\n\t\t\treturn script;\n\t\t}\n\t\t// transform type to DTO\n\t\tscript.setCode(type.getCode());\n\t\tscript.setName(type.getName());\n\t\tscript.setCategory(type.getCategory());\n\t\tscript.setScript(type.getBody());\n\t\tscript.setDescription(type.getDescription());\n\t\t// parameter isn't implemented yet\n\t\t// script.setParameter(type.getParameters());\n\t\t// attribute TYPE from IdmScriptType isn't implemented yet.\n\t\treturn script;\n\t}", "title": "" }, { "docid": "8dc3aa95d3f291d2e53f634923726819", "score": "0.50500715", "text": "@Override\n\tprotected RoomTypeDTO convertArrayToDTO(String[] value) throws IOException {\n\t\tInteger roomTypeId = Integer.valueOf(value[COLUMN_INDEX_ROOM_TYPE_ID]);\n\t\tString roomType = value[COLUMN_INDEX_ROOM_TYPE];\n\t\tDouble price = Double.valueOf(value[COLUMN_INDEX_PRICE]);\n\t\tString unit = value[COLUMN_INDEX_PRICE_UNIT];\n\n\t\tRoomTypeDTO dto = new RoomTypeDTO(roomType,price,unit);\n\t\treturn dto;\n\t}", "title": "" }, { "docid": "a07803a729b2eb224c9f4a17ddae1ed7", "score": "0.49982515", "text": "protected CategoryDto convertToDto(Category category) {\n if (category == null) {\n return null;\n }\n return modelMapper.map(category, CategoryDto.class);\n }", "title": "" }, { "docid": "f9da210a9a4f37f77b7add6fecb98e9f", "score": "0.49550846", "text": "private BookDTO mapBookToBookDTO(Book book) {\n\t\tModelMapper mapper = new ModelMapper();\n\t\tBookDTO bookDTO = mapper.map(book, BookDTO.class);\n\t\tif (book.getCategory() != null) {\n\t\t\tbookDTO.setCategory(new CategoryDTO(book.getCategory().getCode(), book.getCategory().getLabel()));\n\t\t}\n\t\treturn bookDTO;\n\t}", "title": "" }, { "docid": "7b08a3b164d01b35e19ab45025bd2a02", "score": "0.4906091", "text": "public interface BookConverter {\n BookDto toBookDto(BookEntity bookEntity);\n\n BookEntity toBookEntity(BookDto bookDto);\n\n FullBookDto toFullBookDto(BookEntity bookEntity);\n\n BookEntity toBookEntity(FullBookDto fullBookDto);\n}", "title": "" }, { "docid": "f17ee8a64dd6724a42722595905052ce", "score": "0.4899245", "text": "@Mapper(componentModel = \"cdi\", uses = EnumMapper.class)\npublic interface DocumentoMapper {\n\n DocumentoDTO toDTO(Documento documento);\n\n Documento fromDTO(DocumentoDTO documentoDTO);\n}", "title": "" }, { "docid": "03a535da2247abf47ba703fecb46744b", "score": "0.48903227", "text": "private LecturerDto mapDto(Lecturer lecturer) {\n return new LecturerDto(lecturer.getLecturerID(), lecturer.getFirstName(), lecturer.getLastName(), lecturer.getEmail(), lecturer.getType());\n }", "title": "" }, { "docid": "f85bef3d33f9ca98c42bae64f06b745a", "score": "0.488636", "text": "public ArVideoDto arVideoEntityToDto (ArVideoEntity arvideoEntity) {\n\t\tArVideoDto arvideoDto = mapper.map(arvideoEntity, ArVideoDto.class);\n\t\treturn arvideoDto;\n\t}", "title": "" }, { "docid": "ca5077fb4b74e5c99d6c59640c962e01", "score": "0.4877534", "text": "public DatatypeDto instantiateDto(Datatype poso) {\n\t\tDatatypeDto dto = DatatypeDto.String;\n\t\treturn dto;\n\t}", "title": "" }, { "docid": "c3c869207948a5b0aadd3f8b86ab39b7", "score": "0.48690888", "text": "@SuppressWarnings(\"unchecked\")\n private Object convertToDataTransferObject(Object data, Class<?> dtoType) {\n if (Map.class.isAssignableFrom(data.getClass())) {\n return ObjectUtils.convertMapToObject((Map<String, ?>) data, dtoType);\n }\n throw new ParamInvalidException(\"Cannot parse '\" + data.getClass().getName() + \"' to '\" + dtoType.getName() + \"'\");\n }", "title": "" }, { "docid": "81587a40e74947e80a401f276c53bb8f", "score": "0.4837416", "text": "@PutMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n @PreAuthorize(\"@permissionApplication.canWrite(#typeFichierDto.application.id,principal)\")\n public ResponseEntity<TypeFichierDto> addTypeFichier(@RequestBody TypeFichierDto typeFichierDto) {\n LOGGER.debug(\"REST request to add a new type fichier\");\n TypeFichier typeFichier = typeFichierService.saveTypeFichier(mapper.map(typeFichierDto, TypeFichier.class));\n return new ResponseEntity<>(mapper.map(typeFichier, TypeFichierDto.class), HttpStatus.OK);\n }", "title": "" }, { "docid": "5b52bbdf7b4244bb390a4f5598c1a817", "score": "0.48334056", "text": "private Book mapBookDTOToBook(BookDTO bookDTO) {\n\t\tModelMapper mapper = new ModelMapper();\n\t\tBook book = mapper.map(bookDTO, Book.class);\n\t\tbook.setCategory(new Category(bookDTO.getCategory().getCode(), \"\"));\n\t\tbook.setRegisterDate(LocalDate.now());\n\t\treturn book;\n\t}", "title": "" }, { "docid": "2a07fb3174ac36cb1c39e6a044658ed2", "score": "0.4823651", "text": "@Bean\n public TypeMap<CarriageDto, Carriage> getCarriageDtoCarriageTypeMap() {\n return getModelMapper().createTypeMap(CarriageDto.class, Carriage.class, \"CarriageDtoCarriage\")\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getUniqueNumber, Carriage::setUniqueNumber))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getStatus, Carriage::setStatus))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getCustomerName, Carriage::setCustomerName))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getInitiateDate, Carriage::setInitiateDate))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getFinishDate, Carriage::setFinishDate))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CarriageDto::getEstimatedLeadTime, Carriage::setEstimatedLeadTime))\n\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CarriageDto::getWaypoints, Carriage::setWaypoints))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CarriageDto::getVehicle, Carriage::setVehicle))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CarriageDto::getDrivers, Carriage::setDrivers))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CarriageDto::getCargoes, Carriage::setCargoes));\n }", "title": "" }, { "docid": "f4fea712feb775542b46f38f9217870b", "score": "0.48092902", "text": "Book toModeL(BookDTO booKDTO);", "title": "" }, { "docid": "c56b94dbeb6c07992da07e62c404b0a4", "score": "0.47940204", "text": "public void setFoxType(@NotNull Type type);", "title": "" }, { "docid": "57d32ae38656ecdcb55a1c8585cd6c95", "score": "0.47819445", "text": "Optional<Type> buscarPorType(String type);", "title": "" }, { "docid": "c2128f087a9af345141e05733255d8b0", "score": "0.476686", "text": "public VehicleTypeTO()\r\n {\r\n }", "title": "" }, { "docid": "9686388f58f48f9cb991c9d39e6ad092", "score": "0.47628775", "text": "private ItemDTO convertIntoItemDTO(Item item) {\n if (null == item) {\n return null;\n }\n ItemDTO itemDTO = new ItemDTO();\n itemDTO.setObjectID(item.getObjectID());\n itemDTO.setTitle(item.getTitle());\n itemDTO.setDescription(item.getDescription());\n itemDTO.setType(item.getType());\n itemDTO.setPicture(item.getPicture().toString());\n itemDTO.setPicture(\"\");\n itemDTO.setStock(item.getStock());\n return itemDTO;\n }", "title": "" }, { "docid": "9cbf6fd08b4fbcc15f896e6570a36605", "score": "0.4744679", "text": "public DtoType getDto(EntityType entity, Class<DtoType> myClass) throws ClassNotFoundException, InstantiationException, IllegalAccessException;", "title": "" }, { "docid": "eeb812322a2de16d884ec601ff025e87", "score": "0.4743221", "text": "public abstract DTO toDTO(M model);", "title": "" }, { "docid": "fbb55b0cd99111a9d49bcea4486db395", "score": "0.47419748", "text": "@Test\n public void testConvertComputerToComputerDTO() {\n ComputerDTO computerDTO = new ComputerDTO();\n computerDTO.setId(1);\n computerDTO.setName(\"test\");\n ComputerDTO computerResult = DTOMapper.fromComputer(new Computer.Builder(\"test\").id(1L).build());\n assertEquals(computerDTO, computerResult);\n }", "title": "" }, { "docid": "29eeffc8f011c60941157728a66b068f", "score": "0.47366443", "text": "@Bean\n public TypeMap<CargoDto, Cargo> getCargoDtoCargoTypeMap() {\n return getModelMapper().createTypeMap(CargoDto.class, Cargo.class, \"CargoDtoCargo\")\n .addMappings(mapper -> mapper.when(isNotNull()).map(CargoDto::getNumber, Cargo::setNumber))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CargoDto::getName, Cargo::setName))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CargoDto::getDescription, Cargo::setDescription))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CargoDto::getState, Cargo::setState))\n .addMappings(mapper -> mapper.when(isNotNull()).map(CargoDto::getWeight, Cargo::setWeight))\n\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CargoDto::getCarriage, Cargo::setCarriage))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CargoDto::getDepartureWaypoint, Cargo::setDepartureWaypoint))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(CargoDto::getDestinationWaypoint, Cargo::setDestinationWaypoint));\n }", "title": "" }, { "docid": "be083e36202087d8337f8a036f5a97f3", "score": "0.47297487", "text": "private Lecturer map(LecturerDto dto) {\n return Lecturer.builder().firstName(dto.getFirstName()).createdAt(Instant.now())\n .lastName(dto.getLastName()).email(dto.getEmail()).type(dto.getType().toLowerCase()).build();\n }", "title": "" }, { "docid": "ad307ea34976d8d47c3dd21f77551699", "score": "0.472828", "text": "private static String mapType(final FieldType.Type type) {\n switch (type) {\n case DATE:\n return \"Date\";\n case INTEGER:\n return \"Integer\";\n case REAL:\n return \"Double\";\n case STRING:\n return \"String\";\n default:\n return null;\n }\n }", "title": "" }, { "docid": "14eab2725b7ea58da64a357411b48191", "score": "0.47215176", "text": "WordDtoImpl convertFromDomainImpl(Word word);", "title": "" }, { "docid": "81604499184035eef460c79489da00bf", "score": "0.47038242", "text": "List<PersonaDTO> PersonaListToPersonaDTOList(List<Persona> personaList);", "title": "" }, { "docid": "45f910889726a7da2499373f1bb0f1e9", "score": "0.46958658", "text": "MTBTypesDTO() {\n // EMPTY CONSTRUCTOR\n }", "title": "" }, { "docid": "451103d62da68c26133291d715a97740", "score": "0.468325", "text": "@PatchMapping(produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n @PreAuthorize(\"@permissionApplication.canWrite(#typeFichierDto.application.id,principal)\")\n public ResponseEntity<TypeFichierDto> updateTypeFichier(@RequestBody TypeFichierDto typeFichierDto) {\n LOGGER.debug(\"REST request to update a type fichier\");\n TypeFichier typeFichier = typeFichierService.saveTypeFichier(mapper.map(typeFichierDto, TypeFichier.class));\n return new ResponseEntity<>(mapper.map(typeFichier, TypeFichierDto.class), HttpStatus.OK);\n }", "title": "" }, { "docid": "6c751bf7d246a30104bfc4a8b907ba5a", "score": "0.46824527", "text": "public static Object convertMapEntityPathAndValueToDTO(String prefix, Map<String, Object> mapData, Class<?> dtoType) {\n if (null != mapData && null != dtoType) {\n validateThrow(dtoType, new ConfigurationInvalidException(dtoType.getName() + \": Data Transfer Object configuration is invalid\"));\n\n Object dto;\n try {\n dto = ObjectUtils.newInstance(dtoType);\n } catch (InvocationTargetException | NoSuchMethodException | InstantiationException | IllegalAccessException e) {\n throw new ConstructorInvalidException(\"Cannot found default constructor for \" + dtoType.getSimpleName(), e);\n }\n\n List<Field> fields = ObjectUtils.getFields(dtoType, true);\n for (Field field : fields) {\n try {\n Object fieldValue = convertMapEntityPathAndValueToDTO(prefix, mapData, field);\n ObjectUtils.setValueForField(dto, field.getName(), fieldValue);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dto.getClass().getSimpleName() + \".\" + field.getName(), e);\n }\n }\n return dto;\n }\n return null;\n }", "title": "" }, { "docid": "88124b67c61ce83ebe161c0683d735f4", "score": "0.46674708", "text": "@Mappings({@Mapping(source = \"province\",target = \"province2\"),@Mapping(source = \"valid\",target = \"valid2\")})\n OaCompanyDto convert(OaCompany OaCompany);", "title": "" }, { "docid": "9f6416d347850dbfcbea8fe41fc2d9e7", "score": "0.46534166", "text": "public PersonaDTO(){}", "title": "" }, { "docid": "80f7cc17d65cdcaa5f608f01cf902746", "score": "0.46469483", "text": "@Bean\n public TypeMap<VehicleDto, Vehicle> getVehicleDtoVehicleTypeMap() {\n return getModelMapper().createTypeMap(VehicleDto.class, Vehicle.class)\n .addMappings(mapper -> mapper.when(isNotNull()).map(VehicleDto::getLicPlateNum, Vehicle::setLicPlateNum))\n .addMappings(mapper -> mapper.when(isNotNull()).map(VehicleDto::getState, Vehicle::setState))\n .addMappings(mapper -> mapper.when(isNotNull()).map(VehicleDto::getPassSeatsNum, Vehicle::setPassSeatsNum))\n .addMappings(mapper -> mapper.when(isNotNull()).map(VehicleDto::getLoadCapacity, Vehicle::setLoadCapacity))\n\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(VehicleDto::getCity, Vehicle::setCity))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(VehicleDto::getCarriage, Vehicle::setCarriage))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(VehicleDto::getCoDrivers, Vehicle::setCoDrivers));\n }", "title": "" }, { "docid": "de268915ade3751682eb9cf64c3ba569", "score": "0.46430695", "text": "public DTOType getDTOType() {\n return DTO_TYPE;\n }", "title": "" }, { "docid": "012eabfd43385ccba4e7025e2e05dd74", "score": "0.46387458", "text": "@Override\n\tpublic Medico createMedicoFromDto(MedicoDTO medicoDto) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "6787a50064dd1f9e2572d68706b9dd94", "score": "0.4613152", "text": "public CategoryDto toDto(Category category) {\n return modelMapper.map(category, CategoryDto.class);\n }", "title": "" }, { "docid": "ee117d2432bcbde0ffbb7ed2b5611312", "score": "0.46114618", "text": "public static Object convertToDataTransferObject(Object dto, String prefix, Map<String, Object> record,\n Class<?> dtoType, String[] filter) {\n if (null != record && null != dtoType) {\n if (null == dto) {\n dto = newDataTransferObjectInstance(dtoType);\n }\n List<Field> dtoFields = ObjectUtils.getFields(dtoType, true);\n for (Field dtoField : dtoFields) {\n try {\n Object value = null;\n if (hasData(record, prefix, getEntityMappingFieldPath(dtoField))) {\n value = convertToFieldOfDataTransferObject(dto, prefix, record, dtoField, filter);\n }\n ObjectUtils.setValueForField(dto, dtoField.getName(), value, true);\n } catch (IllegalAccessException e) {\n throw new FieldInaccessibleException(\"Cannot set value for field \"\n + dtoType.getSimpleName() + \".\" + dtoField.getName(), e);\n }\n }\n }\n return dto;\n }", "title": "" }, { "docid": "5219d197698083c9fd74d5a87305793d", "score": "0.4601643", "text": "List<VehicleTypeDto> findAll();", "title": "" }, { "docid": "7d61e2143832b4612ba67eb43a804a83", "score": "0.45972", "text": "public abstract M toModel(DTO dto);", "title": "" }, { "docid": "f59463980f3523f872310bfb2f13b9e5", "score": "0.4587649", "text": "@Override\n\tpublic <T extends GameDto> Converter<Game, T> getConverter(Class<T> targetType) {\n\t\treturn new GameToGameDto();\n\t}", "title": "" }, { "docid": "a6727f57dec10b88ee5f7f6c9908d6df", "score": "0.45747024", "text": "@Override\r\n\tpublic List<LPMapdataDto> mapSelectType(String type) {\n\t\treturn sqlSession.selectList(\"days.map_SelectType\", type);\r\n\t}", "title": "" }, { "docid": "22c366e754c0b98e98d8f6114e376436", "score": "0.45544627", "text": "public interface TypeService {\r\n\r\n /**\r\n * Récupérer la table des types\r\n *\r\n * @return liste de TypeDto\r\n */\r\n public List<TypeDto> getTableType();\r\n\r\n public TypeDto fusionType(final TypeDto type1, final TypeDto type2, final boolean force);\r\n\r\n public TypeDto sommeType(final TypeDto type1, final TypeDto type2, final boolean force);\r\n\r\n public TypeDto getTypeDto(final String type);\r\n\r\n public List<FaiblesseDto> getTeamFaiblesse(final List<PokemonDto> team);\r\n}", "title": "" }, { "docid": "f71c64e67534708aab6ccbf06cc019f1", "score": "0.45533076", "text": "public abstract T convertToEntity(D dto);", "title": "" }, { "docid": "35dcfb5cb65720d7908dee1cc4b28f30", "score": "0.4550377", "text": "public static WeaponDTO transformToDTO(Weapon weapon) {\n\n if (weapon == null) {\n throw new NullPointerException(\"Entity object for transformation cannot be null\");\n }\n\n WeaponDTO weaponDto = new WeaponDTO();\n\n weaponDto.setId(weapon.getId());\n weaponDto.setName(weapon.getName());\n weaponDto.setAmmunition(weapon.getAmmunition());\n weaponDto.setGunReach(weapon.getGunReach());\n return weaponDto;\n\n }", "title": "" }, { "docid": "a77c48d8815d0dcf28bbe16a226007c1", "score": "0.45416012", "text": "private TimeEntryDto convertTimeEntryToDto(final TimeEntry timeEntry) {\n\t\tfinal TimeEntryDto timeEntryDto = new TimeEntryDto();\n\t\ttimeEntryDto.setId(Optional.of(timeEntry.getId()));\n\t\ttimeEntryDto.setDate(this.dateFormat.format(timeEntry.getDate()));\n\t\ttimeEntryDto.setType(timeEntry.getType().toString());\n\t\ttimeEntryDto.setDescription(timeEntry.getDescription());\n\t\ttimeEntryDto.setLocation(timeEntry.getLocation());\n\t\ttimeEntryDto.setEmployeeId(timeEntry.getEmployee().getId());\n\n\t\treturn timeEntryDto;\n\t}", "title": "" }, { "docid": "2720f9ed1b0dbd51f1e371d26c83a5e8", "score": "0.45295355", "text": "void setTypeMapper (TypeMapper typeMapper);", "title": "" }, { "docid": "cfc283150044b85733be3e500611ffb0", "score": "0.45135576", "text": "Mapper<T, T2> to(Class<T2> target);", "title": "" }, { "docid": "e9ccd663673df0aa454fe22d857c1fe5", "score": "0.4512631", "text": "public interface DtoConverter<D extends BaseDto, E extends BaseEntity> {\n\n /**\n * Verilen {@link BaseEntity} nesne listesini {@link Set<BaseDto>}'e cevirmektedir.\n *\n * @param entityList {@link BaseEntity} listesi\n * @return Set\n */\n Set<D> convertToDtoSet(Collection<E> entityList);\n\n /**\n * Verilen {@link BaseEntity} nesne listesini {@link List<BaseDto>}'e cevirmektedir.\n *\n * @param entityList {@link BaseEntity} listesi\n * @return List\n */\n List<D> convertToDtoList(Collection<E> entityList);\n\n /**\n * Verilen {@link BaseEntity} nesnesini {@link BaseDto} nesnesine cevirme islemini\n * yapmaktadir.\n *\n * @param entity {@link BaseEntity}\n * @return D\n */\n D convertToDto(E entity);\n}", "title": "" }, { "docid": "71c4143e67d1f9edd6539773203504ff", "score": "0.45124915", "text": "public CambioComplementariosDTO() { }", "title": "" }, { "docid": "db1d55ba869a7bed5c37c345de747d4e", "score": "0.45094505", "text": "public FavouritesModel buildFavouritesModel(JSONObject jsonObject, String type){\n try{\n FavouritesModel favouritesModel = new FavouritesModel();\n switch (type){\n case \"user\":\n favouritesModel.setUser(buildUserModel(jsonObject));\n favouritesModel.setType(type);\n break;\n case \"movie\":\n favouritesModel.setMovie(buildMovieModel(jsonObject));\n favouritesModel.setType(type);\n break;\n case \"favourites\":{\n favouritesModel.setId(jsonObject.getString(\"id\"));\n favouritesModel.setType(type);\n favouritesModel.setRead(jsonObject.getString(\"has_seen\").equals(\"1\"));\n favouritesModel.setSubType(jsonObject.getString(\"type\"));\n favouritesModel.setDate(jsonObject.getString(\"time\").split(\" \")[0]);\n favouritesModel.setTime(jsonObject.getString(\"time\").split(\" \")[1]);\n favouritesModel.setDateTime(jsonObject.getString(\"time\"));\n switch (favouritesModel.getSubType()){\n case \"follow\":\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\")));\n break;\n case \"review\":\n favouritesModel.setSubtitle(\"\\\"\" + jsonObject.getString(\"review_text\") + \"\\\"\");\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"user_data\")));\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"movie_data\")));\n break;\n case \"rating\":\n favouritesModel.setSubtitle(\"Rated: \" + jsonObject.getString(\"rating\") + \"/10\");\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"user_data\")));\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"movie_data\")));\n break;\n case \"review_vote\":\n favouritesModel.setSubtitle(\"Upvotes: \" + jsonObject.getString(\"review_upvotes\") + \" Downvotes: \" + jsonObject.getString(\"review_downvotes\"));\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"user_data\")));\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"movie_data\")));\n break;\n case \"watching\":\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"user_data\")));\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"movie_data\")));\n break;\n case \"review_reminder\":\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\")));\n break;\n case \"watchlist_reminder\":\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\")));\n break;\n case \"watching_now\":\n favouritesModel.setUser(buildUserModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"user_data\")));\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\").getJSONObject(\"movie_data\")));\n break;\n case \"new_releases\":\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\")));\n break;\n case \"recommendations\":\n favouritesModel.setMovie(buildMovieModel(jsonObject.getJSONObject(\"results\")));\n break;\n }\n break;\n }\n case \"following\":{\n favouritesModel.setType(\"user\");\n favouritesModel.setUser(buildUserModel(jsonObject));\n// favouritesModel.setUserId(jsonObject.getString(\"u_id\"));\n// favouritesModel.setTitle(jsonObject.getString(\"name\"));\n// favouritesModel.setSubtitle(jsonObject.getString(\"movies_watched\"));\n// favouritesModel.setDate(\"Following: \" + jsonObject.getString(\"following\"));\n// favouritesModel.setTime(\"Followers: \" + jsonObject.getString(\"followers\"));\n break;\n }\n case \"followers\":{\n favouritesModel.setType(\"user\");\n favouritesModel.setUser(buildUserModel(jsonObject));\n// favouritesModel.setUserId(jsonObject.getString(\"u_id\"));\n// favouritesModel.setTitle(jsonObject.getString(\"name\"));\n// favouritesModel.setSubtitle(jsonObject.getString(\"movies_watched\"));\n// favouritesModel.setDate(\"Following: \" + jsonObject.getString(\"following\"));\n// favouritesModel.setTime(\"Followers: \" + jsonObject.getString(\"followers\"));\n break;\n }\n }\n return favouritesModel;\n }catch (Exception e){\n EmailHelper emailHelper = new EmailHelper(context, EmailHelper.TECH_SUPPORT, \"Error: ModelHelper\", e.getMessage() + \"\\n\" + StringHelper.convertStackTrace(e));\n emailHelper.sendEmail();\n }\n return new FavouritesModel();\n }", "title": "" }, { "docid": "c11e5bade44d94ba927c20f9cab787db", "score": "0.44922626", "text": "private void importType(JTFFile file) {\n if (file.getType() != null) {\n if (typesService.exist(file.getType())) {\n file.getType().setId(typesService.getSimpleData(file.getType().getName()).getId());\n } else {\n typesService.create(file.getType());\n }\n\n file.getFilm().setTheType(file.getType());\n }\n }", "title": "" }, { "docid": "24ee6246bbe2ae2ccda9730168996a77", "score": "0.44821307", "text": "@Override\r\n\tpublic AbstractDto mapToDto() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "2d32dd516d209aeaf0d3321c5df04288", "score": "0.44728953", "text": "default ShopDTO entityToDto(Shop entity) {\n ShopDTO dto = ShopDTO.builder()\n .productID(entity.getProductID())\n .product(entity.getProduct())\n .image(entity.getImage())\n .content(entity.getContent())\n .price(entity.getPrice())\n .count(entity.getCount())\n .regDate(entity.getRegDate())\n .modDate(entity.getModDate())\n .build();\n return dto;\n }", "title": "" }, { "docid": "713a19115a29f8226a1d66aa1dfc6b37", "score": "0.44726506", "text": "public PropertyDefDto getDto();", "title": "" }, { "docid": "912426e0df4e8c3baa8649c45d7ee977", "score": "0.44698521", "text": "@Override\r\n\tpublic MainDTO toDTO() {\n\t\tFamiliaresDTO familiaresDTO = new FamiliaresDTO();\r\n\t\tDomicilioDTO domicilioDTO = null;\r\n\t\tfamiliaresDTO.setIdfamiliar(this.getIdFamiliar());\r\n\t\tfamiliaresDTO.setNombre(this.getNombre());\r\n\t\tfamiliaresDTO.setApellidoPaterno(this.getApellidoPaterno());\r\n\t\tfamiliaresDTO.setApellidoMaterno(this.getAppelidoMaterno());\r\n\t\tfamiliaresDTO.setDireccion(this.getDireccion());\r\n\t\tfamiliaresDTO.setIdpaciente(this.getIdpaciente());\r\n\t\tfamiliaresDTO.setDependencia(this.getDependencia());\r\n\t\tdomicilioDTO = (DomicilioDTO) this.getDomicilio().toDTO();\r\n\t\tfamiliaresDTO.setDomicilio(domicilioDTO);\r\n\t\treturn familiaresDTO;\r\n\t}", "title": "" }, { "docid": "870c0316188446df7cc7d531b625efb7", "score": "0.4454161", "text": "@RequestMapping(value = \"/films\", //\n\t\t\t\t\tmethod = RequestMethod.POST, //\n\t\t\t\t\tproduces = {MediaType.APPLICATION_JSON_VALUE})\n\t@ResponseBody\n\tpublic Film addFilm(@RequestBody Film film) {\n\t\treturn filmService.ajouter(film);\n\t}", "title": "" }, { "docid": "daf745a7d25c8d78c74653fac703b21e", "score": "0.4450712", "text": "SurveyQuestionDTO convertSurveyQuestionToSurveyQuestionDTO(SurveyQuestion question);", "title": "" }, { "docid": "2fdae43f87bfd2971cb2316f6e1ee264", "score": "0.44504943", "text": "public static ActualityDTO mapActualityToDto(Actuality actuality) {\n\n if (Objects.isNull(actuality)) {\n return null;\n }\n\n ActualityDTO actualityDTO = new ActualityDTO();\n\n actualityDTO.setId(actuality.getId());\n actualityDTO.setTitle(actuality.getTitle());\n\n SimpleDateFormat format = new SimpleDateFormat(\"yyyy/MM/dd\");\n actualityDTO.setCreatedOn(format.format(actuality.getCreatedOn()));\n actualityDTO.setDescription(actuality.getDescription());\n actualityDTO.setImgPath(actuality.getImgPath());\n actualityDTO.setFullUrl(actuality.getFullUrl());\n actualityDTO.setTotalClicked(actuality.getTotalClicked());\n\n return actualityDTO;\n\n }", "title": "" }, { "docid": "146af3e4a85e40b747d13f44222ab7ca", "score": "0.44428444", "text": "<T> void toEntity(T entity, int type);", "title": "" }, { "docid": "66057239b7485e26cb22a9e61924eb7c", "score": "0.44337857", "text": "public static <Entity,Dto> Dto entityToDTO(Entity entity,Class<Dto> classDTO)\n\t{\n\t\tModelMapper mapper = new ModelMapper();\n\t\treturn mapper.map(entity, classDTO);\n\t}", "title": "" }, { "docid": "e62c5360acac5dad1c91a78af0888f3f", "score": "0.44332263", "text": "ExerciseDTO convertToExerciseDTO(Exercise exercise);", "title": "" }, { "docid": "55848bf361ab1fc953b0956776cfb38d", "score": "0.44195727", "text": "private UserDto mapFromUserToDto(User user) {\n UserDto userDto = new UserDto();\n userDto.setId(user.getId());\n userDto.setUsername(user.getUserName());\n userDto.setName(String.format(\"%s %s\", user.getFirstName(), user.getLastName()));\n userDto.setEmail(user.getEmail());\n userDto.setAvatar(user.getAvatar());\n return userDto;\n }", "title": "" }, { "docid": "ab06e4ec924c6fe29871f763cfe93cea", "score": "0.44189596", "text": "private HistoryDTO convertEntityToDTO(History history) {\n\t\tHistoryDTO historyDto = modelMapper.map(history, HistoryDTO.class);\n\t\treturn historyDto;\n\t}", "title": "" }, { "docid": "b65823bea37eb75bb4cab6f5346103cf", "score": "0.44177803", "text": "private CategoryDTO getCategoryDto(){\n\t\tCategoryDTO category = new CategoryDTO(Long.valueOf(1L), \"categoryName\", \"categoryDesc\");\n\t\treturn category;\n\t}", "title": "" }, { "docid": "a12c5c765273bf7071170b55b8173b11", "score": "0.44083485", "text": "public static LivreurDto Mapper(LivreurEntity livreur) {\n\t\t\n\t\t\tLivreurDto livDto = new LivreurDto();\n\t\t\tlivDto.setNom(livreur.getNom());\n\t\t\tlivDto.setPrenom(livreur.getPrenom());\n\t\t\tlivDto.setEmail(livreur.getEmail());\n\t\t\tlivDto.setTelephone(livreur.getTelephone());\n\t\t\tlivDto.setCodeLivreur(livreur.getCodeLivreur());\n\t\t\t\n\t\t\tList<LivraisonDto> listLivrs = new ArrayList<LivraisonDto>();\n\t\t\tlivreur.getLivraisons().forEach(livraison->{\n\t\t\t\tlistLivrs.add(LivraisonEntity.Mapper(livraison));\n\t\t\t});\n\t\t\tlivDto.setLivraisons(listLivrs);\n\t\t\t\n\t\t\treturn livDto;\n\t}", "title": "" }, { "docid": "59dc26b5eb458e2aa08592dceec4699e", "score": "0.44081676", "text": "Optional<EnumEmpTypeDTO> findOne(Long id);", "title": "" }, { "docid": "8d2a761d0614e27832cc53f98ae65d74", "score": "0.4392988", "text": "RunDTO toDto(Run run) {\n RunDTO result = new RunDTO();\n result.setId(0L);\n if (null != run) {\n this.fillDto(result, run);\n }\n return result;\n }", "title": "" }, { "docid": "86df492d24c91d4b7a59b785f3d0fa13", "score": "0.4392649", "text": "private Response toRequestedType(int id, String type) {\n\tPrediction pred = plist.find(id);\n\tif (pred == null) {\n\t String msg = id + \" is a bad ID.\\n\";\n\t return Response.status(Response.Status.BAD_REQUEST).\n\t\t entity(msg).\n\t\t type(MediaType.TEXT_PLAIN).\n\t\t build();\n\t}\n\telse if (type.contains(\"json\"))\n\t return Response.ok(toJson(pred), type).build();\n\telse\n\t return Response.ok(pred, type).build(); // toXml is automatic\n }", "title": "" }, { "docid": "5c3c7571a9332f38f9480aabe73502bd", "score": "0.43898603", "text": "public MovieDtoExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "title": "" }, { "docid": "9d55fda76aac423b987b25cee44ddf60", "score": "0.437179", "text": "public GetUsuarioDTO convierteDTO(Integer id){\n Optional<Usuario> usuario = usuarioRepository.findById(id);\n return usuario.map(usuarioDTOConverter::convertToDTO).orElseThrow(()->new UsuarioNotFoundException(id));\n }", "title": "" }, { "docid": "a186891544f4bbcb19fd64ec5d385c15", "score": "0.4370844", "text": "E mapToEntity(D dto);", "title": "" }, { "docid": "7e84c01a7894491fdb06c39638d40642", "score": "0.43679366", "text": "Optional<TypeBonDTO> findOne(Long id);", "title": "" }, { "docid": "a7414755add0bf4bb5b4ef93cc78cc0d", "score": "0.43563727", "text": "List<ClaimDocumentTypeDTO> findAll();", "title": "" }, { "docid": "ed41215ab49694a7be2776f8a0c5b72f", "score": "0.43509877", "text": "@Override\n\tpublic MovieDTO createMovie(CreateMovieRequest request) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "c6cf49b257eea6f6a0969a46af32949d", "score": "0.43491536", "text": "public static PromotionDTO entityToDTO(Promotion entity) {\n if(entity != null) {\n PromotionDTO dto = new PromotionDTO();\n dto.setDiscount(entity.getDiscount());\n dto.setId(entity.getId());\n dto.setAlias(entity.getAlias());\n return dto;\n }\n return null;\n }", "title": "" }, { "docid": "29ef4cd808fe30338516d3d6a6cc4bbc", "score": "0.4347487", "text": "fi.kapsi.koti.jpa.nanopb.Nanopb.FieldType getType();", "title": "" }, { "docid": "7304d59ba78c56392c9c2d7c6c37dd20", "score": "0.43420833", "text": "public interface ModelConverter {\n\n\tWorkingUnit convertFromDto(WorkingUnitDto workingUnitDto);\n\n\tWord convertFromDto(WordDto wordDto);\n\n\tWorkingUnitDto convertFromDomain(WorkingUnit workingUnit);\n\n\t// WordDto convertFromDomain (Word word);\n\tWordDtoImpl convertFromDomainImpl(Word word);\n\n\tPosAnnotation convertFromDto(PosAnnotationDto posDto);\n\n\tRectangleAnnotation convertFromDto(RectangleAnnotationDto raDto);\n\n\tFormAnnotation convertFromDto(FormAnnotationDto faDto);\n\n\tChapterRange convertFromDto(ChapterRangeDto crDto);\n\n\tLanguageRange convertFromDto(LanguageRangeDto lrDto);\n\n\tPosAnnotationDto convertFromDomain(PosAnnotation pos);\n\n}", "title": "" }, { "docid": "d14c46d30491923aaaffce031f1faf88", "score": "0.43408704", "text": "public static String getToModelMappingFromType(Type type) {\n switch (type.getTypeName()) {\n case CLASS_STRING:\n return STRING_TO_MODEL;\n case CLASS_INTEGER:\n return INT_TO_MODEL;\n case CLASS_DOUBLE:\n return DOUBLE_TO_MODEL;\n case CLASS_LONG:\n return LONG_TO_MODEL;\n case CLASS_BYTE:\n return BYTE_TO_MODEL;\n case CLASS_BOOLEAN:\n return BOOL_TO_MODEL;\n case CLASS_FLOAT:\n return FLOAT_TO_MODEL;\n }\n String className = ((Class) type).getSimpleName();\n return className + MAPPER + DOT + TO_MODEL + className;\n }", "title": "" }, { "docid": "013012b5b1b0a9579664c6308daa8395", "score": "0.43381432", "text": "com.demo.springprotobuff.Demoproto.Student.PhoneType getType();", "title": "" }, { "docid": "b66b6bbea86534af6acbb5709f2dad6a", "score": "0.43377656", "text": "public AtendimentoJuridicoDTO toDTO(AtendimentoJuridicoEntity entity){\n\t\tAtendimentoJuridicoDTO dto = new AtendimentoJuridicoDTO();\n\t\tBeanUtils.copyProperties(entity, dto); \n\t\treturn dto ;\n\t}", "title": "" }, { "docid": "81db7a2870efde7174c671a29b5835a1", "score": "0.43376428", "text": "Assembler newAssembler(final Class< ? > dto, final Class< ? > entity);", "title": "" }, { "docid": "25107cc3418868d8f3d397b3d690986c", "score": "0.4337101", "text": "List<D> mapToDTO(List<E> entity);", "title": "" }, { "docid": "6ad64d8024a570e0c9a6e6bd99549948", "score": "0.43333566", "text": "protected abstract void processDTO();", "title": "" }, { "docid": "585900903769714858a63ab0be81f1df", "score": "0.4332518", "text": "public RaceDTO mapTo(Race race) {\n\t\tRaceDTO dto = new RaceDTO();\n\t\tdto.setId(race.getId());\n\t\tdto.setName(race.getName());\n\t\tdto.setDate(race.getDate());\n\t\tdto.setTime(race.getTime());\n\t\tList<DriverDTO> drivers = new ArrayList<>();\n\t\t\n\t\tfor(Driver driver : race.getDrivers()) {\n\t\t\tdrivers.add(this.driverMapper.mapTo(driver));\n\t\t}\n\t\tdto.setDrivers(drivers);\n\t\treturn dto;\n\t\t\n\t}", "title": "" }, { "docid": "dc7f17d68cd48d03149dd4e31e972507", "score": "0.43301612", "text": "public ItemTypeDTO findById(String id);", "title": "" }, { "docid": "c8d80ef21ea7a42e5670b7316ab491f7", "score": "0.43233308", "text": "@Bean\n public TypeMap<WaypointDto, Waypoint> getWaypointDtoWaypointTypeMap() {\n return getModelMapper().createTypeMap(WaypointDto.class, Waypoint.class, \"WaypointDtoWaypoint\")\n .addMappings(mapper -> mapper.when(isNotNull()).map(WaypointDto::getPosition, Waypoint::setPosition))\n\n .addMappings(mapper -> mapper.skip(Waypoint::setToThisWp))\n .addMappings(mapper -> mapper.skip(Waypoint::setFromThisWp))\n\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(WaypointDto::getCity, Waypoint::setCity))\n .addMappings(mapper -> mapper.using(MappingContext::getDestination).map(WaypointDto::getCarriage, Waypoint::setCarriage));\n }", "title": "" }, { "docid": "a545aee33c351fb292ae62ad79754457", "score": "0.4321034", "text": "@SuppressWarnings(\"unchecked\")\n private static Object mapValueToVil(Object result, TypeDescriptor<?> type) {\n if (result instanceof java.util.Map<?, ?>) {\n result = new Map<Object, Object>((java.util.Map<Object, Object>) result, type.getGenericParameter());\n } else if (result instanceof java.util.Set<?>) {\n result = new ArraySet<Object>(((java.util.Set<?>) result).toArray(), type.getGenericParameter());\n } else if (result instanceof java.util.List<?>) {\n result = new ArraySequence<Object>(((java.util.List<?>) result).toArray(), type.getGenericParameter());\n }\n return result;\n }", "title": "" }, { "docid": "67c2106f3d74be3e64fb79bddf4e6595", "score": "0.43206406", "text": "public ProductoDTO(){\r\n\t\t\r\n\t}", "title": "" } ]
1063448ed81debe936d8d0c39c90e5bd
Metodo usado para obtener los registros de determinada pagina del listado de clientes en base a los criterios enviados.
[ { "docid": "e8aed70d5a66d20e68ec062d60c0f96e", "score": "0.591594", "text": "public static void getClientPageByAjax(HttpServletRequest request,\r\n\t\t\tHttpServletResponse response, AppController controller)\r\n\tthrows Exception{\r\n\t\t//obtenemos el numero de pagina a obtener\r\n\t\tint pageNumber = Integer.parseInt(request.getParameter(AppConstant.PAGING_PAGE_NUMBER));\r\n\t\t//obtenemos los criterios de busqueda\r\n\t\tString rifToSearch = request.getParameter(AppConstant.PARAM_RIF_CLIENTE);\r\n\t\tString nameToSearch = request.getParameter(AppConstant.PARAM_RAZON_SOCIAL_CLIENTE);\r\n\t\tString contactToSearch = request.getParameter(AppConstant.PARAM_CONTACTO_CLIENTE);\r\n\t\t\r\n\t\tListPageResultDTO<ClienteDTO> results = ClienteDAO.getClientListByCriteria(pageNumber, rifToSearch, \r\n\t\t\t\tnameToSearch, contactToSearch);\r\n\t\t\r\n\t\t//se obtuvo un resultado valido\r\n\t\trequest.setAttribute(AppConstant.PARAM_RIF_CLIENTE, rifToSearch);\r\n\t\trequest.setAttribute(AppConstant.PARAM_RAZON_SOCIAL_CLIENTE, nameToSearch);\r\n\t\trequest.setAttribute(AppConstant.PARAM_CONTACTO_CLIENTE, contactToSearch);\r\n\t\trequest.setAttribute(AppConstant.ATT_PAGING_RESULTS, results);\r\n\t\t\r\n\t\tcontroller.forward(null, request, response, \"/webpages/ajaxResults/clientsPaging.jsp\");\r\n\t}", "title": "" } ]
[ { "docid": "aeb027e53c9ec740752dcfaae4d00337", "score": "0.63892424", "text": "@RequestMapping(\"/cargaCliente\")\n\t@ResponseBody\n\tpublic List<Cliente> listaCliente(String filtro){\n\t\tint page = 0;\n\t\tint size = 5;\n\t\tPageable paginacion = PageRequest.of(page, size);\n\t\tList<Cliente> lstCliente = clienteService.listaCliente(\"%\"+filtro+\"%\", paginacion);\n\t\treturn lstCliente;\n\t}", "title": "" }, { "docid": "c5c2de5d7f08b85d0c7c0ba99ef8fd74", "score": "0.62301207", "text": "@Override\r\n\tpublic List<Client> search(HttpServletRequest request) throws ParseException {\n\t\tClientSearchBean searchBean = new ClientSearchBean();\r\n\t\tsearchBean.setNameLike(getStringFilter(\"name\", request));\r\n\t\tsearchBean.setGender(getStringFilter(GENDER, request));\r\n\t\tDateTime[] birthdate = getDateRangeFilter(BIRTH_DATE, request);//TODO add ranges like fhir do http://hl7.org/fhir/search.html\r\n\t\tDateTime[] deathdate = getDateRangeFilter(DEATH_DATE, request);\r\n\t\tif (birthdate != null) {\r\n\t\t\tsearchBean.setBirthdateFrom(birthdate[0]);\r\n\t\t\tsearchBean.setBirthdateTo(birthdate[1]);\r\n\t\t}\r\n\t\tif (deathdate != null) {\r\n\t\t\tsearchBean.setDeathdateFrom(deathdate[0]);\r\n\t\t\tsearchBean.setDeathdateTo(deathdate[1]);\r\n\t\t}\r\n\t\t\r\n\t\tAddressSearchBean addressSearchBean = new AddressSearchBean();\r\n\t\taddressSearchBean.setAddressType(getStringFilter(ADDRESS_TYPE, request));\r\n\t\taddressSearchBean.setCountry(getStringFilter(COUNTRY, request));\r\n\t\taddressSearchBean.setStateProvince(getStringFilter(STATE_PROVINCE, request));\r\n\t\taddressSearchBean.setCityVillage(getStringFilter(CITY_VILLAGE, request));\r\n\t\taddressSearchBean.setCountyDistrict(getStringFilter(COUNTY_DISTRICT, request));\r\n\t\taddressSearchBean.setSubDistrict(getStringFilter(SUB_DISTRICT, request));\r\n\t\taddressSearchBean.setTown(getStringFilter(TOWN, request));\r\n\t\taddressSearchBean.setSubTown(getStringFilter(SUB_TOWN, request));\r\n\t\tDateTime[] lastEdit = getDateRangeFilter(LAST_UPDATE, request);//TODO client by provider id\r\n\t\t//TODO lookinto Swagger https://slack-files.com/files-pri-safe/T0EPSEJE9-F0TBD0N77/integratingswagger.pdf?c=1458211183-179d2bfd2e974585c5038fba15a86bf83097810a\r\n\t\tString attributes = getStringFilter(\"attribute\", request);\r\n\t\tsearchBean.setAttributeType(StringUtils.isEmptyOrWhitespaceOnly(attributes) ? null : attributes.split(\":\", -1)[0]);\r\n\t\tsearchBean.setAttributeValue(StringUtils.isEmptyOrWhitespaceOnly(attributes) ? null : attributes.split(\":\", -1)[1]);\r\n\t\t\r\n\t\treturn clientService.findByCriteria(searchBean, addressSearchBean, lastEdit == null ? null : lastEdit[0],\r\n\t\t lastEdit == null ? null : lastEdit[1]);\r\n\t}", "title": "" }, { "docid": "f76e071038d85cbbdc5b1e490f3b3034", "score": "0.6217183", "text": "@SuppressWarnings({ \"unchecked\", \"rawtypes\" })\r\n\tpublic static List<SerializedClient> getAllRegisteredClients() {\r\n\t\t/* Print a start message before launching the given operation */\r\n\t\tLOGGER.info(\"Testing listAllClients RESTful GET method...\");\r\n\t\t/* Create the link to be used */\r\n\t\tString restURL = REST_SERVICE_URI + \"/client/\";\r\n\t\t/* Fetch and process the response coming from the invoked REST method - check its status code */\r\n\t\tResponseEntity<List> serviceResponse = restTemplate.getForEntity(restURL, List.class);\r\n\t\tif (serviceResponse.getStatusCode() == HttpStatus.OK){\r\n\t\t\t/* For potential clients found, return them inside a list */\r\n\t\t\tList<HashMap<String, Object>> allClientMaps = serviceResponse.getBody();\r\n\t\t\treturn convertHashMapListToClients(allClientMaps);\r\n\t\t} else {\r\n\t\t\t/* Return an empty collection */\r\n\t\t\treturn Collections.emptyList();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "16c4bcf10fc08d559ed9f9b4688d0e48", "score": "0.6140986", "text": "public List getSearch(Pregnant pregnant,int page);", "title": "" }, { "docid": "4be415c10dbca5b51141087aab1320a8", "score": "0.6134191", "text": "public List getLECEstadoPagosList(Map criteria);", "title": "" }, { "docid": "ef61900465d4cc77e591cb8635a92d96", "score": "0.60860723", "text": "@GET\n @Path(\"findCliente\")\n @Produces({MediaType.APPLICATION_XML})\n public List<Cliente> findCliente() {\n List<Cliente> cliente = new ArrayList(super.findClientes());\n return cliente;\n }", "title": "" }, { "docid": "7fa2aab2a7174d7118240d0214b0d138", "score": "0.6021923", "text": "private void getConcernList() {\n LoginGet loginGet = new LoginGet();\n loginGet.setDialogGetListener(new DialogGetListener() {\n\n @Override\n public void getUseful(ArrayList<CommonUse> list) {\n // TODO Auto-generated method stub\n\n }\n\n @Override\n public void getCH(ArrayList<CommonUse> list) {\n // TODO Auto-generated method stub\n main = new ArrayList<CommonUse>();\n main.addAll(list);\n getCustomerList();\n\n }\n\n });\n\n loginGet.ConcernHierarchyRequest(this);\n\n }", "title": "" }, { "docid": "4f873081e003df2e035bd303628572c3", "score": "0.5909882", "text": "@RequestMapping(\"/discoverClients\")\n\tpublic List<ServiceInstance> discoveryClient() {\n\t\treturn discoveryClient.getInstances(\"Client1\");\n\t\t/*String result = \"\";\n\t\tList<ServiceInstance> instances = discoveryClient.getInstances(\"Client1\");\n\t\tif (instances != null) {\n\t\t\tfor (ServiceInstance instance : instances) {\n\t\t\t\tresult += (\"\".equals(result) ? \"\" : \", \") + instance.getUri();\n\t\t\t}\n\t\t}\n\n\t\treturn result;*/\n\t}", "title": "" }, { "docid": "e8d2d22d81bb83bda857d42c40d0eec9", "score": "0.588589", "text": "@RequestMapping(value =\"/page\", method = RequestMethod.GET)\n public ResponseEntity<Page<ClienteDTO>> buscarPagina( //As informacoes serao passadas como parametros na URL\n @RequestParam(value = \"page\", defaultValue = \"0\") Integer page, //Ex: categorias/page?page=0&linesPerPage=20\n @RequestParam(value = \"linesPerPage\", defaultValue = \"24\") Integer linesPerPage,\n @RequestParam(value = \"orderBy\", defaultValue = \"nome\") String orderBy,\n @RequestParam(value = \"direction\", defaultValue = \"ASC\") String direction){\n Page<Cliente> list = service.buscarPagina(page,linesPerPage,orderBy,direction);\n Page<ClienteDTO> listDto = list.map(obj -> new ClienteDTO(obj)); //Transforma a Page<Cliente> para List<ClienteDTO>\n return ResponseEntity.ok().body(listDto);\n }", "title": "" }, { "docid": "7d1a5dbad5ad7a9667a696946553b0e7", "score": "0.58153635", "text": "public List<Mesa> filtrarPaginado(Mesa filtro, int inicio,int numRegistros);", "title": "" }, { "docid": "9e4fd6ad014d4749923cdba7ea743702", "score": "0.5814719", "text": "public List<Clientes> ListadoClientes();", "title": "" }, { "docid": "84b23da99531cb8b00754fe7ac535bc4", "score": "0.5788686", "text": "public List<ReferenciaComercianteDTO> getReferenciasComerciante(String tipoIdentificacion, String identificacion, ClienteDTO cliente) {\n List<ReferenciaComercianteDTO> response = new ArrayList<ReferenciaComercianteDTO>();\r\n try {\r\n \t// INDIVIDUAL\r\n \tif (TipoPersona.N.equals(cliente.getTipoPersona())) {\r\n\t List<ReferenciaComercianteDatoContador> rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n\t List<ReferenciaComerciante> rcs = this.catalogoService.findReferenciaComercianteByCliente(tipoIdentificacion, identificacion);\r\n\t if (rcs != null && !rcs.isEmpty()) {\r\n\t \tfor (ReferenciaComerciante rf : rcs) {\r\n\t \t\tReferenciaComercianteDTO referencia = new ReferenciaComercianteDTO(rf);\r\n\t// try {\r\n\t// DireccionCliente direccion = this.catalogoService.findDireccionClienteById(tipoIdentificacion, identificacion, referencia.getCodigoDireccion());\r\n\t// if (direccion != null) {\r\n\t// DireccionDTO direDTO = new DireccionDTO(direccion);\r\n\t// String idDireccion = getIdDireccionParaCamposAdicionales(idCliente, direccion.getId().getCodigo());\r\n\t// String email = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EMAIL, idDireccion);\r\n\t// String extension = (String) this.getValorCampoAdicional(ENTIDAD_DIRECCION_CLIENTE, CAMPO_DIRECCION_EXTENSION, idDireccion);\r\n\t// if (email != null && !email.trim().isEmpty()) {\r\n\t// direDTO.setEmail(email);\r\n\t// }\r\n\t// if (extension != null && !extension.trim().isEmpty()) {\r\n\t// direDTO.setExtension(extension);\r\n\t// }\r\n\t// ref.setDireccion(direDTO);\r\n\t// }\r\n\t//\r\n\t// } catch (RuntimeException e) {\r\n\t// e.printStackTrace();\r\n\t// }\r\n\t \t\tif (null != rds && !rds.isEmpty()) {\r\n\t \t\t\tContadorDTO c = null;\r\n\t \t\t\tcontadores : for (ReferenciaComercianteDatoContador contador : rds) {\r\n\t \t\t\t\tif (referencia.getCorrelativoReferencia().compareTo(contador.getId().getCorrelativo()) == 0) {\r\n\t \t\t\t\t\tc = new ContadorDTO(contador);\r\n\t \t\t\t\t\treferencia.setContador(c);\r\n\t \t\t\t\t\tbreak contadores;\r\n\t \t\t\t\t}\r\n\t \t\t\t}\r\n\t \t\t}\r\n\t response.add(referencia);\r\n\t }\r\n\t }\r\n \t}\r\n \t// JURIDICA\r\n \tif (TipoPersona.J.equals(cliente.getTipoPersona())) {\r\n ReferenciaComercianteDTO referencia = null;\r\n List<ReferenciaComercianteDatoContador> rds = this.catalogoService.findReferenciaComercianteDatoContadorByCliente(tipoIdentificacion, identificacion);\r\n if (null != rds && !rds.isEmpty()) {\r\n \tContadorDTO c = null;\r\n for (ReferenciaComercianteDatoContador contador : rds) {\r\n \treferencia = new ReferenciaComercianteDTO();\r\n \tc = new ContadorDTO(contador);\r\n referencia.setContador(c);\r\n response.add(referencia);\r\n }\r\n }\r\n }\r\n } catch (RuntimeException e) {\r\n e.printStackTrace();\r\n }\r\n \r\n return response;\r\n }", "title": "" }, { "docid": "9200e69b69adcf7de9a7239f965295c4", "score": "0.5786141", "text": "@GET\n public List<ClienteDetailDTO> getClientes(){\n LOGGER.info(\"ClienteResource getClientes: input: void\");\n List<ClienteDetailDTO> listaDTO = new ArrayList<>();\n List<ClienteEntity> clientesEntity = clienteLogic.getAllCliente();\n for(ClienteEntity entity : clientesEntity){\n listaDTO.add(new ClienteDetailDTO(entity));\n }\n LOGGER.log(Level.INFO, \"ClienteResource getClientes: output: {0}\", listaDTO);\n return listaDTO;\n }", "title": "" }, { "docid": "5352bb80ca6cfc983483e9d197fdc0de", "score": "0.57690763", "text": "@GET //consultar individual con path\r\n @Path(\"{parametroconsulta}\")\r\n @Produces((MediaType.APPLICATION_JSON)) \r\n public Cliente conultarIndividual(@PathParam(\"parametroconsulta\") String param){\r\n gr.setListaclientes(listadeclientes);\r\n return gr.consultarIndividual(param);\r\n }", "title": "" }, { "docid": "45195822b46102da4cb1098d089e856a", "score": "0.5743213", "text": "public List<OrdenDespachoCliente> obtenerListaPorPagina(int startIndex, int pageSize, String sortField, boolean sortOrder, Map<String, String> filters)\r\n/* 141: */ {\r\n/* 142:156 */ CriteriaBuilder criteriaBuilder = this.em.getCriteriaBuilder();\r\n/* 143:157 */ CriteriaQuery<OrdenDespachoCliente> criteriaQuery = criteriaBuilder.createQuery(OrdenDespachoCliente.class);\r\n/* 144:158 */ Root<OrdenDespachoCliente> from = criteriaQuery.from(OrdenDespachoCliente.class);\r\n/* 145: */ \r\n/* 146:160 */ from.fetch(\"tipoOrdenDespacho\", JoinType.LEFT);\r\n/* 147:161 */ from.fetch(\"tipoPresentacionProducto\", JoinType.LEFT);\r\n/* 148: */ \r\n/* 149:163 */ List<Expression<?>> expresiones = obtenerExpresiones(filters, criteriaBuilder, from);\r\n/* 150:164 */ criteriaQuery.where((Predicate[])expresiones.toArray(new Predicate[expresiones.size()]));\r\n/* 151: */ \r\n/* 152:166 */ agregarOrdenamiento(sortField, sortOrder, criteriaBuilder, criteriaQuery, from);\r\n/* 153: */ \r\n/* 154:168 */ CriteriaQuery<OrdenDespachoCliente> select = criteriaQuery.select(from);\r\n/* 155: */ \r\n/* 156:170 */ TypedQuery<OrdenDespachoCliente> typedQuery = this.em.createQuery(select);\r\n/* 157:171 */ agregarPaginacion(startIndex, pageSize, typedQuery);\r\n/* 158: */ \r\n/* 159:173 */ List<OrdenDespachoCliente> listaOrdenDespachoCliente = typedQuery.getResultList();\r\n/* 160:174 */ for (OrdenDespachoCliente ordenDespachoCliente : listaOrdenDespachoCliente)\r\n/* 161: */ {\r\n/* 162:176 */ CriteriaQuery<MovimientoInventario> cqDetalle = criteriaBuilder.createQuery(MovimientoInventario.class);\r\n/* 163:177 */ Root<MovimientoInventario> fromDetalle = cqDetalle.from(MovimientoInventario.class);\r\n/* 164: */ \r\n/* 165:179 */ List<Expression<?>> expresionesDetalle = new ArrayList();\r\n/* 166:180 */ expresionesDetalle.add(criteriaBuilder.equal(fromDetalle.join(\"ordenDespachoCliente\"), ordenDespachoCliente));\r\n/* 167:181 */ expresionesDetalle.add(criteriaBuilder.isNotNull(fromDetalle.get(\"movimientoInventarioPadre\")));\r\n/* 168: */ \r\n/* 169:183 */ cqDetalle.where((Predicate[])expresionesDetalle.toArray(new Predicate[expresionesDetalle.size()]));\r\n/* 170:184 */ CriteriaQuery<MovimientoInventario> selectDetalle = cqDetalle.select(fromDetalle);\r\n/* 171: */ \r\n/* 172:186 */ List<MovimientoInventario> listaTransformacionProducto = this.em.createQuery(selectDetalle).getResultList();\r\n/* 173: */ \r\n/* 174:188 */ ordenDespachoCliente.setListaTransformacionProducto(listaTransformacionProducto);\r\n/* 175: */ \r\n/* 176: */ \r\n/* 177:191 */ CriteriaQuery<DespachoCliente> cqDespacho = criteriaBuilder.createQuery(DespachoCliente.class);\r\n/* 178:192 */ Root<DespachoCliente> fromDespacho = cqDespacho.from(DespachoCliente.class);\r\n/* 179:193 */ fromDespacho.fetch(\"guiaRemision\", JoinType.LEFT);\r\n/* 180:194 */ List<Expression<?>> expresionesDespacho = new ArrayList();\r\n/* 181:195 */ expresionesDespacho.add(criteriaBuilder.equal(fromDespacho.join(\"ordenDespachoCliente\"), ordenDespachoCliente));\r\n/* 182: */ \r\n/* 183:197 */ cqDespacho.where((Predicate[])expresionesDespacho.toArray(new Predicate[expresionesDespacho.size()]));\r\n/* 184:198 */ CriteriaQuery<DespachoCliente> selectDespacho = cqDespacho.select(fromDespacho);\r\n/* 185: */ \r\n/* 186:200 */ List<DespachoCliente> listaDespachoCliente = this.em.createQuery(selectDespacho).getResultList();\r\n/* 187: */ \r\n/* 188:202 */ ordenDespachoCliente.setListaDespachoCliente(listaDespachoCliente);\r\n/* 189: */ }\r\n/* 190:205 */ return listaOrdenDespachoCliente;\r\n/* 191: */ }", "title": "" }, { "docid": "498cb51a64d0b55e3e7e3598e7d91fd8", "score": "0.5699897", "text": "String[] listClients();", "title": "" }, { "docid": "b3b5c7416b3ce4b008cc9a00a69f54d8", "score": "0.56642646", "text": "@RequestMapping(value = \"/clients\", method = RequestMethod.GET)\n\tpublic List<Client> getAllClient() {\n\t\treturn clt.getAllClient();\n\t}", "title": "" }, { "docid": "d5a6f4526172e16ed48f838dc08317aa", "score": "0.5660315", "text": "public List<RegisteredClientDTO> getManagers() {\n List<RegisteredClientDTO> registeredClientDTOS = new ArrayList<>();\n // this.permissions(client);\n\n List<Client> clients = this.findAllByTypUzytkownika(2);\n\n for (Client object : clients) {\n\n RegisteredClientDTO dto = new RegisteredClientDTO(object);\n registeredClientDTOS.add(dto);\n }\n return registeredClientDTOS;\n }", "title": "" }, { "docid": "093ba619fdd07e60817ad6663c92f529", "score": "0.5630356", "text": "@GET\n\t@Path(\"/listar\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic List<ClienteResumoDTOResposta> listar() {\n\t\tList<Cliente> clientesOriginalAuxiliar = clienteGerenciador.todosClientes();\n\t\tList<ClienteResumoDTOResposta> clientes = new ArrayList<>();\n\t\tfor (Cliente clienteOriginalAuxiliar : clientesOriginalAuxiliar) {\n\t\t\tClienteResumoDTOResposta cliente = new ClienteResumoDTOResposta().transformaEmDTO(clienteOriginalAuxiliar);\n\t\t\tclientes.add(cliente);\n\t\t}\n\n\t\treturn clientes;\n\t}", "title": "" }, { "docid": "3e49848c466b8137b09b92208fe77034", "score": "0.56160396", "text": "public ResultSet recupererClients() {\n try {\n Statement stmt = this.connection.createStatement();\n ResultSet res = stmt.executeQuery(\"SELECT * \" +\n \"FROM client;\");\n return res;\n } catch (Exception e) {\n System.out.println(e);\n return null;\n }\n }", "title": "" }, { "docid": "42bb01de150992b3308ad0a54b1d4e01", "score": "0.5602142", "text": "public List<Persona> getClientes() {\n List<Persona> clientes = new ArrayList<>();\n clientes.addAll(buscarUsuarioCategoria(Categoria.PARTICULAR));\n clientes.addAll(buscarUsuarioCategoria(Categoria.EMPRESA));\n return clientes;\n }", "title": "" }, { "docid": "110fcbb19c0b8f1e8693b2b3a7a080e7", "score": "0.55910045", "text": "public List<SelectItem> getListaRepresentantesRuta() {\r\n\t\tList<SelectItem> list = new ArrayList<SelectItem>(); //Aun no se define donde se muestra esta lista\r\n\t\tMantenimientoElementoControllerStub.GetRepresentantesPorRutaExistentes reqMar = null;\r\n\t\tMantenimientoElementoControllerStub.GetRepresentantesPorRutaExistentesResponse resMar = null;\r\n\t\tcom.datacode.avon_ots_ws.MantenimientoElementoControllerStub.RepresentantesPorRuta[] arrData;\r\n\t\ttry{\r\n\t\t\tct = new MantenimientoElementoControllerStub();\r\n\t\t\t//Obtiene y asigna url de configuración de web services\r\n\t\t\tString url = Utils.modificarUrlServicioWeb(ct._getServiceClient().getOptions().getTo().getAddress());\r\n\t\t\tct._getServiceClient().getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(\r\n\t\t\t\t\turl));\r\n\t\t\t//Agrega al request la operacion a ejecutar\r\n\t\t\treqMar = new MantenimientoElementoControllerStub.GetRepresentantesPorRutaExistentes();\r\n\t\t\t//Añade al response la respuesta de la operacion\r\n\t\t\tresMar = ct.getRepresentantesPorRutaExistentes(reqMar);\r\n\t\t\tarrData = resMar.get_return();\r\n\t\t\t//Sea gregan las opciones al SelectItem de Paises\r\n\t\t\tlist.add(new SelectItem(0, \"Selecciona una opción\"));\r\n\t\t\tif(arrData != null){\r\n\t\t\t\t//Ciclo de datos\r\n\t\t\t\tfor(int o=0;o<arrData.length;o++){\r\n\t\t\t\t\tif(!arrData[o].getSeqEntregaAnterior().isEmpty())\r\n\t\t\t\t\t\tlist.add(new SelectItem(arrData[o].getIdRepresentanteRuta(), arrData[o].getSeqEntregaAnterior())); //Validar que dato mostrar\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (RemoteException excepcionDeInvocacion) {\r\n\t\t\tUtils.GuardarLogMensajeBD(\"CUADMIN001.02\", \"M150\", \"Error al invocar el web service que obtiene los datos de Representantes por Ruta.\", excepcionDeInvocacion.toString(), config.getIdUsuario());\r\n\t\t\tmsg = \"Error al invocar el servicio que consulta los datos de Representantes por Ruta.\";\r\n\t\t}finally{ }\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "c2f0ce6e6574fa551b22288ae89d8a05", "score": "0.55792993", "text": "@GetMapping(\"/obtener\")\n\tpublic List<Registro> obtenerRegistros(){\n\t\n\t\treturn vigilanteService.obtenerTodosLosRegistrosDeVehiculosParqueados();\n\t}", "title": "" }, { "docid": "93c37b73c7176786126f608cd9b80ebd", "score": "0.55761045", "text": "public Map<String,Object> getClientPlansAll(Long client_no, String auth_key, Long plan_no, Long acct_no, String promo_code, Long parent_plan_no, com.aria.common.shared.SuppFieldNamesArray supp_field_names, com.aria.common.shared.SuppFieldValuesArray supp_field_values, String include_all_rate_schedules, String include_plan_hierarchy, String client_plan_id, String client_parent_plan_id){\n MultivaluedMap<String, String> parameters = new MultivaluedMapImpl();\n addParameters(parameters,\"client_no\",getValue(\"Long\",client_no));\n addParameters(parameters,\"auth_key\",getValue(\"String\",auth_key));\n addParameters(parameters,\"plan_no\",getValue(\"Long\", plan_no));\n addParameters(parameters,\"acct_no\",getValue(\"Long\", acct_no));\n addParameters(parameters,\"promo_code\",getValue(\"String\", promo_code));\n addParameters(parameters,\"parent_plan_no\",getValue(\"Long\", parent_plan_no));\n RestUtilities.addParameterValuesFromArray(parameters,supp_field_names);\n RestUtilities.addParameterValuesFromArray(parameters,supp_field_values);\n addParameters(parameters,\"include_all_rate_schedules\",getValue(\"String\", include_all_rate_schedules));\n addParameters(parameters,\"include_plan_hierarchy\",getValue(\"String\", include_plan_hierarchy));\n addParameters(parameters,\"client_plan_id\",getValue(\"String\", client_plan_id));\n addParameters(parameters,\"client_parent_plan_id\",getValue(\"String\", client_parent_plan_id));\n \n WebResource webResource = Client.create(new DefaultClientConfig()).resource(buildUrl(\"get_client_plans_all\"));\n String ret = webResource.type(\"application/x-www-form-urlencoded\").accept(\"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\").header(\"accept-encoding\", \"deflate\").header(\"accept-encoding\", \"gzip\").post(String.class, parameters);\n String[] returnValues = new String[3];\n\n returnValues[0] = \"error_code\";\n returnValues[1] = \"error_msg\";\n returnValues[2] = \"all_client_plans\";\n \n buildHashMapReturnValues(ret,returnValues);\n return getHashMapReturnValues();\n }", "title": "" }, { "docid": "3750c4b9c4300ae9a50a7c2a12002b3f", "score": "0.55759305", "text": "@SuppressWarnings(\"rawtypes\")\r\n\tpublic static List<SerializedClient> filterClients(String filterParameter, String comboSearchOption) {\r\n\t\t/* Print a message before starting the chosen operations */\r\n\t\tLOGGER.info(\"Testing the filterClients RESTful GET method...\");\r\n\t\tif (StringUtils.isBlank(comboSearchOption) || StringUtils.isBlank(filterParameter)){\r\n\t\t\t/* By default, return an empty list for no matching options */\r\n\t\t\treturn new ArrayList<SerializedClient>();\r\n\t\t}\r\n\t\t/* Check next which search option has been activated */\r\n\t\tswitch(comboSearchOption){\r\n\t\tcase \"Filter By Name\":\r\n\t\t\t/* Create the URL to be used for invoking the selected operation */\r\n\t\t\tString nameURLTemplate = REST_SERVICE_URI + \"/client/matchNameSequence/\" + filterParameter + \"/\";\r\n\t\t\t/* Next invoke the selected operation */\r\n\t\t\tResponseEntity<List> nameServiceResponse = restTemplate.getForEntity(nameURLTemplate, List.class);\r\n\t\t\t/* Convert the response of the filter and return it in the end */\r\n\t\t\treturn convertFilterResponses(nameServiceResponse, null);\r\n\t\tcase \"Filter By Email\":\r\n\t\t\t/* Create the URL to be used for invoking the selected operation */\r\n\t\t\tString emailURLTemplate = REST_SERVICE_URI + \"/client/matchEmailFragment/\" + filterParameter + \"/\";\r\n\t\t\t/* Next invoke the selected operation */\r\n\t\t\tResponseEntity<List> emailServiceResponse = restTemplate.getForEntity(emailURLTemplate, List.class);\r\n\t\t\t/* Convert the response of the filter and return it in the end */\r\n\t\t\treturn convertFilterResponses(null, emailServiceResponse);\r\n\t\tcase \"Filter By Both\":\r\n\t\t\t/* Create both URLs to invoke the operations */\r\n\t\t\tnameURLTemplate = REST_SERVICE_URI + \"/client/matchNameSequence/\" + filterParameter + \"/\";\r\n\t\t\temailURLTemplate = REST_SERVICE_URI + \"/client/matchEmailFragment/\" + filterParameter + \"/\";\r\n\t\t\t/* Invoke the operations in question next */\r\n\t\t\tnameServiceResponse = restTemplate.getForEntity(nameURLTemplate, List.class);\r\n\t\t\temailServiceResponse = restTemplate.getForEntity(emailURLTemplate, List.class);\r\n\t\t\t/* Convert the invocation results and return them */\r\n\t\t\treturn convertFilterResponses(nameServiceResponse, emailServiceResponse);\r\n\t\t}\r\n\r\n\t\t/* By default, return an empty list for no matching options */\r\n\t\treturn new ArrayList<SerializedClient>();\r\n\t}", "title": "" }, { "docid": "777fbfa6aa35c66273762f81f8e32a88", "score": "0.55693144", "text": "public static void getWaitlistForClients()\n\t{\n try\n {\n String cID = warehouse.getToken(\"Enter client ID: \");\n Client c = warehouse.searchClient(cID);\n int i = 1;\n if (c == null)\n {\n System.out.println(\"Client doesn't exist\");\n return;\n }\n\t\t\t\tIterator<Waitlist> waitlist = warehouse.getWaitlistedProducts(cID);\n\t\t\t\tSystem.out.println(\"---------------------------------\");\n\t\t\t\twhile (waitlist.hasNext())\n {\n\t\t\t\tWaitlist curList = waitlist.next();\n System.out.println(i + \" \" + curList);\n i++;\n }\n System.out.println(\"---------------------------------\\n\");\n } catch (NullPointerException npe)\n {\n System.out.println(\"Could not get waitlist.\");\n }\n }", "title": "" }, { "docid": "bf7504f4ce39be38d864dd1bda678c2a", "score": "0.55629706", "text": "public List<SelectItem> getListaRepresentantesExistentes() {\r\n\t\tList<SelectItem> list = new ArrayList<SelectItem>();\r\n\t\tMantenimientoElementoControllerStub.GetRepresentantesExistentes reqMar = null;\r\n\t\tMantenimientoElementoControllerStub.GetRepresentantesExistentesResponse resMar = null;\r\n\t\tcom.datacode.avon_ots_ws.MantenimientoElementoControllerStub.Representante[] arrData;\r\n\t\ttry{\r\n\t\t\tct = new MantenimientoElementoControllerStub();\r\n\t\t\t//Obtiene y asigna url de configuración de web services\r\n\t\t\tString url = Utils.modificarUrlServicioWeb(ct._getServiceClient().getOptions().getTo().getAddress());\r\n\t\t\tct._getServiceClient().getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(url));\r\n\t\t\t//Agrega al request la operacion a ejecutar\r\n\t\t\treqMar = new MantenimientoElementoControllerStub.GetRepresentantesExistentes();\r\n\t\t\treqMar.setPRuta(ruta7); reqMar.setPRepresentante(nombre7); reqMar.setPZona(zona7);\r\n\t\t\t//Añade al response la respuesta de la operacion\r\n\t\t\tresMar = ct.getRepresentantesExistentes(reqMar);\r\n\t\t\tarrData = resMar.get_return();\r\n\t\t\tlist.add(new SelectItem(0, \"Selecciona una opción\"));\r\n\t\t\tif(arrData != null){\r\n\t\t\t\t//Ciclo de datos\r\n\t\t\t\tfor(int o=0;o<arrData.length;o++){\r\n\t\t\t\t\tif(!arrData[o].getNombre().isEmpty())\r\n\t\t\t\t\t\tlist.add(new SelectItem(arrData[o].getIdRepresentante(), arrData[o].getNombre())); \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (RemoteException excepcionDeInvocacion) {\r\n\t\t\tUtils.GuardarLogMensajeBD(\"CUADMIN001.02\", \"M150\", \"Error al invocar el web service que obtiene los datos de Representantes por Ruta.\", excepcionDeInvocacion.toString(), config.getIdUsuario());\r\n\t\t\tmsg = \"Error al invocar el servicio que consulta los datos de Representantes por Ruta.\";\r\n\t\t}finally{ }\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "c94ea3abb7a29a4afe7e4b9ce49bff8c", "score": "0.55559945", "text": "@RequestMapping(value = \"/clients\", method = RequestMethod.GET)\n\tpublic ResponseEntity<List<Client>> listAllClients() {\n\t\tList<Client> clients = serviceClient.findAllClients();\n\t\tif (clients.isEmpty()) {\n\t\t\treturn new ResponseEntity<List<Client>>(HttpStatus.NO_CONTENT);\n\t\t}\n\t\treturn new ResponseEntity<List<Client>>(clients, HttpStatus.OK);\n\t}", "title": "" }, { "docid": "56403b8137449126965388e60213bfaf", "score": "0.555345", "text": "public ArrayList getRecomendantes(Long oidPeriodo, String tipoProceso, Long oidZona, Long cliente)\n throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.getRecomendantes(Long oidPeriodo, String tipoProceso, Long oidZona, Long oidCliente):Entrada\");\n\n StringBuffer query = new StringBuffer();\n RecordSet rs = new RecordSet();\n BelcorpService belcorpService = null;\n String codigoError;\n\n query.append(\" SELECT MAE_CLI.OID_CLIE, p1.OID_PERI, OID_PARA_GRAL, \");\n query.append(\" P1.MARC_OID_MARC, P1.CANA_OID_CANA, P1.PAIS_OID_PAIS \");\n query.append(\", P1.FEC_INIC, P1.FEC_FINA, \"); \n\n query.append(\" mae_cli.COD_CLIE, mae_cli.VAL_NOM1, mae_cli.VAL_NOM2, \"); \n query.append(\" mae_cli.VAL_APE1, mae_cli.VAL_APE2 \"); \n query.append(\" FROM inc_clien_recte clie, MAE_CLIEN mae_cli, \");\n query.append(\" inc_concu_param_gener concu, cra_perio p1, \");\n query.append(\" cra_perio desde \");\n //jrivas 20080535 INICIO\n if ((ConstantesFAC.TIPO_CIERRE_ZONA.equals(tipoProceso)) ||\n (\"C\".equals(tipoProceso))) {\n query.append(\" , INC_CONCU_PARAM_CONSU CONSU \");\n if (ConstantesFAC.TIPO_CIERRE_ZONA.equals(tipoProceso)) { \n query.append(\" , MAE_CLIEN_UNIDA_ADMIN MCUA \");\n query.append(\" , ZON_TERRI_ADMIN ZTA \");\n query.append(\" , ZON_SECCI ZS \");\n }\n } \n //jrivas 20080535 FIN\n query.append(\" WHERE clie.copa_oid_para_gral = concu.oid_para_gral\");\n query.append(\" AND p1.OID_PERI = \" + oidPeriodo);\n query.append(\" AND concu.perd_oid_peri_desd = desde.OID_PERI\");\n\n query.append(\" AND desde.FEC_INIC <= p1.FEC_INIC \");\n\n query.append(\" AND concu.ind_acti = 1 \");\n query.append(\" AND clie.CLIE_OID_CLIE = mae_cli.OID_CLIE\");\n //jrivas 20080535 INICIO\n if ((ConstantesFAC.TIPO_CIERRE_ZONA.equals(tipoProceso)) ||\n (\"C\".equals(tipoProceso))) {\n query.append(\" AND CONSU.COPA_OID_PARA_GRAL = CONCU.OID_PARA_GRAL \");\n query.append(\" AND CONSU.IND_PREM_CAMP_EFEC = 1 \");\n if (\"C\".equals(tipoProceso)) {\n query.append(\" AND MAE_CLI.OID_CLIE = \" + cliente);\n }\n if (ConstantesFAC.TIPO_CIERRE_ZONA.equals(tipoProceso)) { \n query.append(\" AND MCUA.CLIE_OID_CLIE = MAE_CLI.OID_CLIE \");\n query.append(\" AND MCUA.IND_ACTI = 1 \");\n query.append(\" AND MCUA.ZTAD_OID_TERR_ADMI = ZTA.OID_TERR_ADMI \");\n query.append(\" AND ZTA.ZSCC_OID_SECC = ZS.OID_SECC \");\n query.append(\" AND ZS.ZZON_OID_ZONA = \" + oidZona); \n }\n }\n //jrivas 20080535 FIN\n \n try {\n rs = belcorpService.getInstance().dbService.executeStaticQuery(query.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta: \" + rs); \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n codigoError = CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS;\n throw new MareException(e,\n UtilidadesError.armarCodigoError(codigoError));\n }\n \n UtilidadesLog.debug(\"resultado: \" + rs);\n\n if (rs.esVacio()) {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.getRecomendantes\"\n +\"(Long oidPeriodo, String tipoProceso, Long oidZona, Long oidCliente):Salida VACIO\");\n\n return null;\n } else {\n ArrayList clientesPremiacion = new ArrayList();\n Periodo periodo = new Periodo();\n DAOClientePremiacion daoClientePremiacion = \n new DAOClientePremiacion();\n DespacharPremiosHelper despacharPremiosHelper = \n new DespacharPremiosHelper();\n Concurso concurso = new Concurso();\n boolean existe = false;\n\n for (int fila = 0; rs.existeFila(fila); fila++) {\n existe = false;\n ClientePremiacion clientePremiacion = new ClientePremiacion();\n Long oidCliente = new Long(((BigDecimal) rs.getValueAt(fila,\n \"OID_CLIE\")).longValue());\n Long oidPeri = new Long(((BigDecimal) rs.getValueAt(fila,\n \"OID_PERI\")).longValue());\n Long oidConcurso = new Long(((BigDecimal) rs.getValueAt(fila,\n \"OID_PARA_GRAL\")).longValue());\n\n Long marca = new Long(((BigDecimal) rs.getValueAt(fila,\n \"MARC_OID_MARC\")).longValue());\n Long canal = new Long(((BigDecimal) rs.getValueAt(fila,\n \"CANA_OID_CANA\")).longValue());\n Long pais = new Long(((BigDecimal) rs.getValueAt(fila,\n \"PAIS_OID_PAIS\")).longValue());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"oidCliente: \" + oidCliente);\n \n // vbongiov -- 20/07/2006 -- inc DBLG500001048\n DatosPersonales datPerso = new DatosPersonales();\n \n datPerso.setNombre1((String) rs.getValueAt(fila,\"VAL_NOM1\"));\n datPerso.setNombre2((String) rs.getValueAt(fila,\"VAL_NOM2\"));\n datPerso.setApellido1((String) rs.getValueAt(fila,\"VAL_APE1\"));\n datPerso.setApellido2((String) rs.getValueAt(fila,\"VAL_APE2\"));\n datPerso.setCodCliente((String) rs.getValueAt(fila,\"COD_CLIE\"));\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"oidConcurso: \" + oidConcurso);\n UtilidadesLog.debug(\"oidPeri: \" + oidPeri);\n } \n\n //Armado de Periodo INC-122\n periodo = new Periodo();\n periodo.setFechaDesde((Date) rs.getValueAt(fila, \"FEC_INIC\"));\n periodo.setFechaHasta((Date) rs.getValueAt(fila, \"FEC_FINA\"));\n periodo.setOidCanal(new Long(((BigDecimal) rs.getValueAt(fila,\"CANA_OID_CANA\")).longValue()));\n periodo.setOidMarca(new Long(((BigDecimal) rs.getValueAt(fila,\"MARC_OID_MARC\")).longValue()));\n periodo.setOidPais(new Long(((BigDecimal) rs.getValueAt(fila,\"PAIS_OID_PAIS\")).longValue()));\n periodo.setOidPeriodo(oidPeri); \n\n\n //INC-122 Verificar si periodo <= concurso.ultimoPeriodoEvaluar\n concurso = despacharPremiosHelper.obtenerConcurso(oidConcurso);\n \n // sapaza -- PER-SiCC-2013-0875 -- 13/08/2013\n /*if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"periodo : \" + periodo);\n UtilidadesLog.debug(\"concurso.getUltimoPeridoEvaluar() : \" + concurso.getUltimoPeridoEvaluar());\n } \n \n if (!periodo.mayorQue(concurso.getUltimoPeridoEvaluar())) {\n //Entonces tengo que procesarlo\n UtilidadesLog.debug(\"SE PROCESA!!!\");\n \n //en caso de que se repita el cliente seteamos \n //clientesPremiacionConcurso \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"DAOClientePremiacionConcurso.clientesPrem\"\n +\"iacion.size()\" + clientesPremiacion.size());*/\n \n //jrivas 8/9/2006 Inc. Aceptacion (F3 Inc. 5)\n if ((concurso.getPeriodoInicialEvaluacion() == null) ||\n ((!periodo.mayorQue(concurso.getPeriodoFinalEvaluacion())) &&\n (!periodo.menorQue(concurso.getPeriodoInicialEvaluacion())))) {\n\n UtilidadesLog.debug(\"SE PROCESA 2!!!\");\n \n for (int pos = 0; (clientesPremiacion.size() > pos && !existe); pos++) {\n clientePremiacion = (ClientePremiacion) \n clientesPremiacion.get(pos);\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\n \"DAOClientePremiacionConcurso.oidCliente()\" +\n oidCliente);\n UtilidadesLog.debug(\"DAOClientePremiacionConcurso.cliente\"\n +\"Premiacion.getOidCliente()()\" +\n clientePremiacion.getOidCliente());\n } \n \n if (oidCliente.equals(clientePremiacion.getOidCliente())){\n existe = true;\n daoClientePremiacion\n .rellenarClientePremiacionConcursoRecomendacion(concurso,\n clientePremiacion); \n }\n }\n \n if (!existe) {\n UtilidadesLog.debug(\n \"DAOClientePremiacionConcurso.nbo existe!!!\");\n clientePremiacion = new ClientePremiacion();\n clientePremiacion.setOidCliente(oidCliente);\n clientePremiacion.setOidMarca(marca);\n clientePremiacion.setOidCanal(canal);\n clientePremiacion.setOidPais(pais);\n clientePremiacion.setPeriodo(periodo);\n clientePremiacion.setDatosPersonales(datPerso);\n //concurso = despacharPremiosHelper.obtenerConcurso(oidConcurso);\n daoClientePremiacion\n .rellenarClientePremiacionConcursoRecomendacion(concurso,\n clientePremiacion);\n clientesPremiacion.add(clientePremiacion);\n } else {\n existe = false;\n }\n } \n /*} else {\n //no se procesa\n UtilidadesLog.debug(\"NO SE PROCESA!!!\");\n }*/\n \n }\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.getRecomendantes\"\n +\"(Long oidPeriodo, String tipoProceso, Long oidZona, Long oidCliente):Salida\");\n\n return clientesPremiacion;\n }\n }", "title": "" }, { "docid": "2e6b1cf63954ed8480ef8cf88c5691b6", "score": "0.5540402", "text": "@GET\n\t@Path(\"/listarEnderecos\")\n @Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getListaEnderecos() {\n \n \n Collection<Endereco> collectionEndereco = mapDeEnderecos.values(); \n\n GenericEntity<Collection<Endereco>> entity = new GenericEntity<Collection<Endereco>>(collectionEndereco) {};\n return Response.ok().entity(entity).build(); \n \n }", "title": "" }, { "docid": "37c404e9fcb1cb08d2baa228f593ec0d", "score": "0.55352557", "text": "@RequestMapping(value = \"/clients\", method = RequestMethod.GET)\n\tpublic ResponseEntity<List<Client>> listAllClients() {\n\t\tList<Client> clients = clientService.listClients();\n\n\t\tif (clients.isEmpty()) {\n\t\t\treturn new ResponseEntity<List<Client>>(clients, HttpStatus.NO_CONTENT);\n\t\t\t// You many decide to return HttpStatus.NOT_FOUND\n\t\t}\n\n\t\treturn new ResponseEntity<List<Client>>(clients, HttpStatus.OK);\n\t}", "title": "" }, { "docid": "1fa669347e8787f9afa144e8fc354450", "score": "0.5535031", "text": "public List<RegistroVenta> getVentasPorCliente(Usuario cliente);", "title": "" }, { "docid": "4a140183c4a90d37afa67382f69eeb09", "score": "0.5532101", "text": "@Transactional(readOnly = true)\n @RequestMapping(value = \"/showList\", method = RequestMethod.GET)\n @ResponseBody\n public Object simpleClientList(@RequestParam(required = false) Integer page_num, @RequestParam(required = false) Integer per_page,@RequestParam(value = \"pkey_val[]\",required = false) String pkey,@RequestParam(value = \"q_word[]\",required = false) String[] qword) {\n Sort sort=new Sort(Sort.Direction.ASC,\"name\");\n PageRequest pager=null;\n if(page_num!=null && per_page!=null) {\n page_num= page_num<1?1:page_num;\n pager = new PageRequest(page_num - 1, per_page, sort);\n }\n if(pager!=null) {\n Page<Nomenclature> page;\n if (qword != null && qword.length > 0) {\n page = nomenclatureRepository.find(qword[0], pager);\n } else {\n page = nomenclatureRepository.findAll(pager);\n }\n return new JSComboExpenseResp<>(page);\n } else {\n if(pkey!=null && !pkey.isEmpty()){\n Long key=Long.valueOf(pkey);\n Nomenclature ft=null;\n if(key!=null) {\n ft = nomenclatureRepository.findOne(key);\n }\n return ft;\n } else {\n List<Nomenclature> page;\n if (qword != null && qword.length > 0) {\n page = nomenclatureRepository.find(qword[0],sort);\n } else {\n page = nomenclatureRepository.findAll(sort);\n }\n return new JSComboExpenseResp<>(page);\n }\n }\n }", "title": "" }, { "docid": "364c744b54384d292dc82bf862b01e78", "score": "0.552277", "text": "public QueryCompanyPageActionResult findCorporationByCompanyListCriteria(CompanySearchCriteria criteria);", "title": "" }, { "docid": "7c7473da3648500e4de51e5eb37d484f", "score": "0.55146897", "text": "public void obtenerLista(){\n \n switch (Integer.parseInt(this.getOpcionFiltrado())) {\n case 1:\n \n if (this.consultarServicio(this.getValorBuscado())) {\n this.getListaServicios().add(this.obtenerServicio(this.getValorBuscado()));\n }\n \n break;\n case 2:\n \n this.setListaServicios(this.obtenerServiciosSegunFiltrado(this.getValorBuscado(), 2));\n \n break;\n case 3:\n \n this.setListaServicios(this.obtenerServiciosSegunFiltrado(this.getValorBuscado(), 3));\n \n break;\n default:\n }\n \n \n }", "title": "" }, { "docid": "d4d3b95f20fd2c91fc98a144639e7b4f", "score": "0.5510333", "text": "@GetMapping(params = \"accion=buscarPorCriterio\")\r\n\tpublic List<PrestamoRecursoTabla> buscarPorCriterio(ConsultaPrestamosCriterioBusqueda criterioBusqueda) {\r\n\t\treturn ConsultaPrestamosTablasService.buscarPorCriterio(criterioBusqueda);\r\n\t}", "title": "" }, { "docid": "84b8087c82be1546b66e1f75e4d4caa7", "score": "0.5504811", "text": "@Override\r\n\tpublic List<ClientRecordContactSearchDTO> getAllClientNameByClientId(ClientMasterDTO clientMasterDTO) {\n\t\tArrayList<Integer> filteredClientIdList = new ArrayList<Integer>();\r\n\r\n\t\tif (clientMasterDTO.getUserId() > 0) {\r\n\t\t\tAdvisorUser advUser = advisorUserRepository.findOne(clientMasterDTO.getUserId());\r\n\t\t\tList<ClientMaster> clientMasterList = clientMasterRepository.findByAdvisorUserAndActiveFlag(advUser, \"Y\");\r\n\t\t\tfor (ClientMaster obj : clientMasterList) {\r\n\t\t\t\tfilteredClientIdList.add(obj.getId());\r\n\t\t\t}\r\n\t\t}\r\n\t\t// search by Location\r\n\t\tif (clientMasterDTO.getCountryOfResidence() > 0) {\r\n\t\t\tList<ClientMaster> masterList = clientMasterRepository\r\n\t\t\t\t\t.findByCountry(clientMasterDTO.getCountryOfResidence());\r\n\r\n\t\t\tif (masterList != null && !masterList.isEmpty()) {\r\n\t\t\t\tfor (int index = 0; index < filteredClientIdList.size(); index++) {\r\n\t\t\t\t\tint searchFlag = 0;\r\n\t\t\t\t\tfor (ClientMaster obj : masterList) {\r\n\t\t\t\t\t\tif (filteredClientIdList.get(index) == obj.getId()) {\r\n\t\t\t\t\t\t\tsearchFlag = 1;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (searchFlag == 1) {\r\n\t\t\t\t\t\t// selected item\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfilteredClientIdList.remove(filteredClientIdList.get(index));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t// search by marital Status\r\n\t\tif (clientMasterDTO.getMaritalStatus() > 0) {\r\n\t\t\tList<ClientMaster> masterList = clientMasterRepository\r\n\t\t\t\t\t.findByMaritalStatus((int) clientMasterDTO.getMaritalStatus());\r\n\t\t\tif (masterList != null && !masterList.isEmpty()) {\r\n\t\t\t\tfor (int index = 0; index < filteredClientIdList.size(); index++) {\r\n\t\t\t\t\tint searchFlag = 0;\r\n\t\t\t\t\tfor (ClientMaster obj : masterList) {\r\n\t\t\t\t\t\tif (filteredClientIdList.get(index) == obj.getId()) {\r\n\t\t\t\t\t\t\tsearchFlag = 1;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (searchFlag == 1) {\r\n\t\t\t\t\t\t// selected item\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfilteredClientIdList.remove(filteredClientIdList.get(index));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\t// search by Gender\r\n\t\tif (clientMasterDTO.getGender() != null && !clientMasterDTO.getGender().equals(\"\")) {\r\n\t\t\tList<ClientMaster> masterList = clientMasterRepository.findByGenderLike(clientMasterDTO.getGender());\r\n\t\t\tif (masterList != null && !masterList.isEmpty()) {\r\n\t\t\t\tfor (int index = 0; index < filteredClientIdList.size(); index++) {\r\n\t\t\t\t\tint searchFlag = 0;\r\n\t\t\t\t\tfor (ClientMaster obj : masterList) {\r\n\t\t\t\t\t\tif (filteredClientIdList.get(index) == obj.getId()) {\r\n\t\t\t\t\t\t\tsearchFlag = 1;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (searchFlag == 1) {\r\n\t\t\t\t\t\t// selected item\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfilteredClientIdList.remove(filteredClientIdList.get(index));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// search By Already Retired\r\n\t\tif (clientMasterDTO.getRetiredFlag() != null && !clientMasterDTO.getRetiredFlag().equals(\"\")) {\r\n\t\t\tList<ClientMaster> masterList = clientMasterRepository\r\n\t\t\t\t\t.findByRetiredFlagLike(clientMasterDTO.getRetiredFlag());\r\n\t\t\tif (masterList != null && !masterList.isEmpty()) {\r\n\t\t\t\tfor (int index = 0; index < filteredClientIdList.size(); index++) {\r\n\t\t\t\t\tint searchFlag = 0;\r\n\t\t\t\t\tfor (ClientMaster obj : masterList) {\r\n\t\t\t\t\t\tif (filteredClientIdList.get(index) == obj.getId()) {\r\n\t\t\t\t\t\t\tsearchFlag = 1;\r\n\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (searchFlag == 1) {\r\n\t\t\t\t\t\t// selected item\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tfilteredClientIdList.remove(filteredClientIdList.get(index));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tList<ClientRecordContactSearchDTO> clientRecordDTOList = new ArrayList<>();\r\n\r\n\t\t// now finally get the filtered clientMasterList\r\n\t\tif (filteredClientIdList.size() > 0) {\r\n\t\t\tfor (int index = 0; index < filteredClientIdList.size(); index++) {\r\n\t\t\t\tClientRecordContactSearchDTO serachDTO = new ClientRecordContactSearchDTO();\r\n\t\t\t\tClientMaster cm = clientMasterRepository.findOne(filteredClientIdList.get(index));\r\n\t\t\t\tserachDTO.setClientID(cm.getId());\r\n\t\t\t\tString name = cm.getFirstName();\r\n\t\t\t\tif (cm.getMiddleName() == null) {\r\n\t\t\t\t\tname = name + \" \" + cm.getLastName();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tname = name + \" \" + cm.getMiddleName() + \" \" + cm.getLastName();\r\n\t\t\t\t}\r\n\t\t\t\tserachDTO.setClientName(name);\r\n\t\t\t\tserachDTO.setUserId(cm.getAdvisorUser().getId());\r\n\t\t\t\tserachDTO.setUserName(cm.getAdvisorUser().getFirstName());\r\n\r\n\t\t\t\tserachDTO.setCountryId(cm.getLookupCountry().getId());\r\n\t\t\t\tserachDTO.setCountryName(cm.getLookupCountry().getName());\r\n\t\t\t\tserachDTO.setGender(cm.getGender());\r\n\r\n\t\t\t\t// getting clientRecord\r\n\t\t\t\tClientContact clientContact = cm.getClientContacts().get(0);\r\n\t\t\t\tserachDTO.setEmail(clientContact.getEmailID());\r\n\t\t\t\tserachDTO.setMobile(clientContact.getMobile());\r\n\t\t\t\tif (clientContact.getOfficeAddressLine1() != null) {\r\n\t\t\t\t\tserachDTO.setAddress(clientContact.getOfficeAddressLine1());\r\n\t\t\t\t\tserachDTO.setCity(clientContact.getOfficeCity());\r\n\t\t\t\t\tserachDTO.setState(clientContact.getOfficeState());\r\n\t\t\t\t} else if (clientContact.getPermanentAddressLine1() != null) {\r\n\t\t\t\t\tserachDTO.setAddress(clientContact.getPermanentAddressLine1());\r\n\t\t\t\t\tserachDTO.setCity(clientContact.getPermanentCity());\r\n\t\t\t\t\tserachDTO.setState(clientContact.getPermanentState());\r\n\t\t\t\t} else if (clientContact.getCorrespondenceAddressLine1() != null) {\r\n\t\t\t\t\tserachDTO.setAddress(clientContact.getCorrespondenceAddressLine1());\r\n\t\t\t\t\tserachDTO.setCity(clientContact.getCorrespondenceCity());\r\n\t\t\t\t\tserachDTO.setState(clientContact.getCorrespondenceState());\r\n\t\t\t\t}\r\n\t\t\t\tclientRecordDTOList.add(serachDTO);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn clientRecordDTOList;\r\n\t}", "title": "" }, { "docid": "63a5bbf6c7ba82dd1a94ec49f6e78ed3", "score": "0.55007565", "text": "@Override\r\n public Collection<String> getCateringCompanies() {\r\n String request = \"/getCaterers\";\r\n try {\r\n var response = ClientIO.doGETRequest(this.endpoint + request);\r\n List<String> cateringCompaniesList = stringArrToArray(response);\r\n cateringCompaniesList = cateringCompaniesList.subList(2, cateringCompaniesList.size());\r\n System.out.println(cateringCompaniesList);\r\n int i = 0;\r\n while (i < cateringCompaniesList.size() - 1) {\r\n String companyName = cateringCompaniesList.get(i);\r\n String postcode = formatPostcode(cateringCompaniesList.get(i + 1));\r\n if(companyName.length() == 1) {\r\n i++;\r\n continue;\r\n }\r\n CateringCompany company = new CateringCompany(companyName, postcode);\r\n this.cateringCompanies.add(company);\r\n i = i+2;\r\n }\r\n System.out.println(this.cateringCompanies);\r\n Collection<String> companies = new ArrayList<>();\r\n for (CateringCompany company: this.cateringCompanies) {\r\n companies.add(company.toString());\r\n }\r\n return companies;\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n return null;\r\n }", "title": "" }, { "docid": "ba8be3a6dddeb042af51f76660bfb2fb", "score": "0.55007166", "text": "private Object getClientList() {\r\n \tObject clientList = ui.find(paymentViewTab, COMPONENT_LS_CLIENTS);\r\n \treturn clientList;\r\n }", "title": "" }, { "docid": "f14af538dbc1675a576eab7b2f6291e1", "score": "0.5463439", "text": "public void listaclientes()\r\n\t{\r\n\t\tfor(i = 0; i < Nclientes; i++)\r\n\t\t{\r\n\t\t\tSystem.out.printf(\"\\nNome do %d cliente: \", i + 1);\r\n\t\t\tSystem.out.println(GCliente[i].getnome());\r\n\t\t\tSystem.out.println(\"Numero de contas polpança: \" + GCliente[i].getNCP());\r\n\t\t\tSystem.out.println(\"Numero de contas simples: \" + GCliente[i].getNCS());\t\t\t\r\n\t\t\tSystem.out.println(\"Numero de contas especiais: \" + GCliente[i].getNCE());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "dd80cd7a97d7e28cd62e819d01c6bf58", "score": "0.5457514", "text": "@GetMapping(path=\"/lista\")\n public @ResponseBody Iterable<Dependente> getAllCliente() {\n return dependenteRepository.findAll();\n }", "title": "" }, { "docid": "663ee921032e8eb8182efbc0ee2d0a2f", "score": "0.5457302", "text": "@GET\r\n @Path(\"/footpathperu/producto/listar/inicio/{paginas}/{nrover}\")\r\n @Produces(\"application/json\")\r\n public CPaquete listarTodosPaquetesXML(@PathParam(\"paginas\") int pagMostrada,@PathParam(\"nrover\") int pag) throws Exception {\r\n NPaquete paqueteControl = new NPaquete();\r\n ArrayList<Paquete> listaDeProductos = paqueteControl.ListarPaquete(pagMostrada,pag);\r\n return new CPaquete(listaDeProductos);\r\n \r\n }", "title": "" }, { "docid": "87c87706e2dd1338d49272935707f1a3", "score": "0.54534614", "text": "public List getClients(String userEmail){\n User user = userRepository.findByEmail(userEmail);\n List clientMap = clientRepo.findByClientOf(user);\n return clientMap;\n }", "title": "" }, { "docid": "64ba418460a0526eb6e3896cdf60d65d", "score": "0.54486156", "text": "public List getObjetivoCobranzaList(Map criteria);", "title": "" }, { "docid": "8f9086e303611ad5fd294504465a2c77", "score": "0.5442514", "text": "public ArrayList<Client> listerClient();", "title": "" }, { "docid": "dc68fd4388516fc82a38388fa230d001", "score": "0.54257584", "text": "@com.matrixone.apps.framework.ui.ProgramCallable\r\n public static MapList getCompanies(Context context, String[] args)\r\n throws Exception {\r\n MapList mapList = null;\r\n try {\r\n\r\n Map programMap = (Map) JPO.unpackArgs(args);\r\n short sQueryLimit =\r\n (short) (java\r\n .lang\r\n .Integer\r\n .parseInt((String) programMap.get(\"queryLimit\")));\r\n\r\n String strType = (String) programMap.get(\"Type\");\r\n if (strType == null\r\n || strType.equals(\"\")\r\n || \"null\".equalsIgnoreCase(strType)) {\r\n strType = SYMB_WILD;\r\n }\r\n\r\n String strName = (String) programMap.get(\"Name\");\r\n\r\n String strVault = \"\";\r\n String strVaultOption = (String) programMap.get(VAULT_OPTION);\r\n\r\n if(strVaultOption.equalsIgnoreCase(PersonUtil.SEARCH_DEFAULT_VAULT)|| strVaultOption.equalsIgnoreCase(PersonUtil.SEARCH_LOCAL_VAULTS)||strVaultOption.equalsIgnoreCase(PersonUtil.SEARCH_ALL_VAULTS))\r\n strVault = PersonUtil.getSearchVaults(context,false,strVaultOption);\r\n else\r\n strVault = (String)programMap.get(\"vaults\");\r\n\r\n StringList slSelect = new StringList(1);\r\n slSelect.addElement(DomainConstants.SELECT_ID);\r\n\r\n boolean bStart = true;\r\n StringBuffer sbWhereExp = new StringBuffer(100);\r\n\r\n String strAttribOrgName =\r\n PropertyUtil.getSchemaProperty(\r\n context,\r\n Issue.SYMBOLIC_attribute_OrganizationName);\r\n\r\n if (strName != null\r\n && (!strName.equals(SYMB_WILD))\r\n && (!strName.equals(\"\"))\r\n && !(\"null\".equalsIgnoreCase(strName))) {\r\n sbWhereExp.append(SYMB_OPEN_PARAN);\r\n sbWhereExp.append(SYMB_ATTRIBUTE);\r\n sbWhereExp.append(SYMB_OPEN_BRACKET);\r\n sbWhereExp.append(strAttribOrgName);\r\n sbWhereExp.append(SYMB_CLOSE_BRACKET);\r\n sbWhereExp.append(SYMB_MATCH);\r\n sbWhereExp.append(SYMB_QUOTE);\r\n sbWhereExp.append(strName);\r\n sbWhereExp.append(SYMB_QUOTE);\r\n sbWhereExp.append(SYMB_CLOSE_PARAN);\r\n }\r\n\r\n String strFilteredExpression = getFilteredExpression(context,programMap);\r\n if ((strFilteredExpression != null)\r\n && !(\"null\".equalsIgnoreCase(strFilteredExpression))\r\n && !strFilteredExpression.equals(\"\")) {\r\n if (bStart) {\r\n sbWhereExp.append(SYMB_OPEN_PARAN);\r\n bStart = false;\r\n } else {\r\n sbWhereExp.append(SYMB_AND);\r\n }\r\n sbWhereExp.append(strFilteredExpression);\r\n }\r\n if (!bStart) {\r\n sbWhereExp.append(SYMB_CLOSE_PARAN);\r\n }\r\n\r\n mapList =DomainObject.findObjects(\r\n context,\r\n strType,\r\n strName,\r\n SYMB_WILD,\r\n SYMB_WILD,\r\n strVault,\r\n sbWhereExp.toString(),\r\n \"\",\r\n true,\r\n slSelect,\r\n sQueryLimit);\r\n } catch (Exception excp) {\r\n excp.printStackTrace(System.out);\r\n throw excp;\r\n }\r\n return mapList;\r\n }", "title": "" }, { "docid": "4fbb303fcd68fff37570068dc336b3a3", "score": "0.5425694", "text": "@GetMapping(\"/clients\")\n public ResponseEntity<?> findAll(@RequestHeader String token) {\n\n if(!tokenService.tokenIsValid(token)){\n return new ResponseEntity<>(HttpStatus.UNAUTHORIZED);\n }\n System.out.println(\"chargement des clients\");\n\n\n List<Client> lesClients = null;\n try {\n lesClients = clientService.findAll();\n } catch (TechnicalException e) {\n e.printStackTrace();\n }\n assert lesClients != null;\n return new ResponseEntity<List<Client>>(lesClients, HttpStatus.OK);\n }", "title": "" }, { "docid": "60100314d103cfb3956682277360c398", "score": "0.541874", "text": "public List getTramoObjetivoCobranzaList(Map criteria);", "title": "" }, { "docid": "7406a1e2308dc5f665de2fd355fea13e", "score": "0.541622", "text": "public ArrayList recuperarPremiosNivelesPremiacion(\n ClientePremiacionConcurso clientePremiacionConcurso,\n ClientePremiacion clientePremiacion) throws MareException {\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso\"\n +\", ClientePremiacion clientePremiacion):Entrada\");\n\n BelcorpService bs1;\n RecordSet respuesta1;\n StringBuffer query1 = new StringBuffer();\n\n try {\n bs1 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n //Recuperar todos los registros de la entidad parNivel\n //ordenados por numeroNivel de mayor a menor coste en puntos\n //(para ello nos fijamos en el campo cantidadFijaPuntos,\n //si este no esta informado usaremos cantidadInicialPuntos).\n try {\n query1.append(\" SELECT \");\n query1.append(\" NVL(NUM_CANT_FIJA_PUNT, NUM_CANT_INIC_PUNT) AS PUNTOS, \");\n query1.append(\" TPRE_OID_TIPO_PREM, \");\n query1.append(\" OID_PARA_NIVE_PREM, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI.NUM_NIVE, \");\n query1.append(\" NUM_CANT_FIJA_PUNT, \");\n query1.append(\" NUM_CANT_INIC_PUNT, \");\n query1.append(\" NUM_CANT_FINA_PUNT, \");\n query1.append(\" NUM_PUNT_PROD_EXIG, \");\n query1.append(\" PERD_OID_PERI, \");\n query1.append(\" conc.MARC_OID_MARC, \");\n query1.append(\" conc.CANA_OID_CANA, \");\n query1.append(\" conc.PAIS_OID_PAIS, \");\n // vbongiov -- 5/07/2006 -- inc 723\n query1.append(\" V.VAL_I18N descTipoPremio \");\n query1.append(\" FROM INC_PARAM_GENER_PREMI, \");\n query1.append(\" INC_PARAM_NIVEL_PREMI, \");\n query1.append(\" INC_CONCU_PARAM_GENER conc, CRA_PERIO, \");\n query1.append(\" V_GEN_I18N_SICC V \");\n query1.append(\" WHERE PAGP_OID_PARA_GENE_PREM = OID_PARA_GENE_PREM \");\n query1.append(\" AND COPA_OID_PARA_GRAL = \" +\n clientePremiacionConcurso.getOidConcurso());\n query1.append(\" AND conc.OID_PARA_GRAL = COPA_OID_PARA_GRAL \");\n query1.append(\" AND conc.PERD_OID_PERI_DESD = OID_PERI \");\n query1.append(\" AND V.VAL_OID = TPRE_OID_TIPO_PREM \");\n query1.append(\" AND V.ATTR_NUM_ATRI = 1 \");\n query1.append(\" AND V.ATTR_ENTI = 'INC_TIPO_PREMI' \");\n query1.append(\" AND V.IDIO_OID_IDIO = \" + RecuperadorIdiomaDefectoServidor.getIdiomaDefectoServidor());\n query1.append(\" ORDER BY PUNTOS DESC \");\n \n respuesta1 = bs1.dbService.executeStaticQuery(query1.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta1: \" + respuesta1);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n Periodo periodoDespacho = new Periodo();\n String descTipoPremio = null;\n\n ArrayList salida = new ArrayList();\n int saldoPuntosAux = clientePremiacionConcurso.getSaldoPuntos().intValue();\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion --- saldoPuntosAux \" +\n saldoPuntosAux);\n\n for (int i1 = 0; i1 < respuesta1.getRowCount(); i1++) {\n // vbongiov -- 5/07/2006 -- inc 723\n descTipoPremio = (String) respuesta1.getValueAt(0, \"DESCTIPOPREMIO\");\n \n NivelPremiacion nivelPre = new NivelPremiacion();\n nivelPre.setNivel((respuesta1.getValueAt(i1, \"NUM_NIVE\") != null)\n ? new Integer(\n ((BigDecimal) respuesta1.getValueAt(i1, \"NUM_NIVE\")).intValue())\n : null);\n nivelPre.setOidNivel((\n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\") != null)\n ? new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"OID_PARA_NIVE_PREM\")).longValue())\n : null);\n nivelPre.setCantidadFijaPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FIJA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FIJA_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadInicialPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_INIC_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_INIC_PUNT\")).doubleValue())\n : new Double(0));\n nivelPre.setCantidadFinalPuntos((respuesta1.getValueAt(i1,\n \"NUM_CANT_FINA_PUNT\") != null)\n ? new Double(((BigDecimal) \n respuesta1.getValueAt(i1, \"NUM_CANT_FINA_PUNT\")).doubleValue())\n : new Double(0));\n\n if (respuesta1.getValueAt(i1, \"PERD_OID_PERI\") != null) {\n periodoDespacho.setOidPeriodo(new Long(((BigDecimal) \n respuesta1.getValueAt(i1, \"PERD_OID_PERI\")).longValue()));\n }\n\n int puntosLeidos = ((respuesta1.getValueAt(i1, \"PUNTOS\") != null)\n ? ((BigDecimal) respuesta1.getValueAt(i1, \"PUNTOS\")).intValue()\n : 0);\n \n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\n \"recuperarPremiosNivelesPremiacion --- puntosLeidos \" +\n puntosLeidos);\n UtilidadesLog.debug(\"recuperarPremiosNivelesPremiacion \"\n + \"saldoPuntosAux >= puntosLeidos \" \n +(saldoPuntosAux >= puntosLeidos));\n } \n\n if (saldoPuntosAux >= puntosLeidos) {\n UtilidadesLog.debug(\"saldoPuntosAux >= puntosLeidos \");\n\n long tipoPremioLeido = ((BigDecimal) respuesta1.getValueAt(i1,\n \"TPRE_OID_TIPO_PREM\")).longValue();\n long oidNivelPremiacion = ((BigDecimal) \n respuesta1.getValueAt(i1,\"OID_PARA_NIVE_PREM\"))\n .longValue();\n BigDecimal puntosObtenerProdExigidos = (BigDecimal) \n respuesta1.getValueAt(i1,\"NUM_PUNT_PROD_EXIG\");\n \n Long numPremio = null;\n\n // procesar premio monetario\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_MONETARIO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Monetario\");\n\n PremioMonetario premioMonetario = new PremioMonetario();\n premioMonetario.setNivel(nivelPre);\n premioMonetario.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioMonetario.setDescripcionTipoPremio(descTipoPremio);\n premioMonetario.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs2;\n RecordSet respuesta2;\n StringBuffer query2 = new StringBuffer();\n\n try {\n bs2 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query2.append(\" SELECT \");\n query2.append(\" OID_PREM_MONE, \");\n query2.append(\" NUM_PREM, \");\n query2.append(\" VAL_CANT, \");\n query2.append(\" VAL_PORC, \");\n query2.append(\" IND_PAGO_PART, \");\n query2.append(\" IND_DESC_PAGO_ANTI, \");\n query2.append(\" TPMO_OID_TIPO_PREM_MONE, \");\n query2.append(\" FPAG_OID_FORM_PAGO \");\n query2.append(\" FROM INC_PREMI_MONET \");\n query2.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta2 = bs2.dbService.executeStaticQuery(\n query2.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta2: \" + respuesta2);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta2.esVacio()) {\n UtilidadesLog.debug(\"Encontre premio monetario\");\n\n long oidPremioMonetario = ((BigDecimal)\n respuesta2.getValueAt(0,\"OID_PREM_MONE\"))\n .longValue();\n\n {\n BigDecimal cantidad = (BigDecimal) \n respuesta2.getValueAt(0,\"VAL_CANT\");\n premioMonetario.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n {\n BigDecimal descontar = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_DESC_PAGO_ANTI\");\n\n if (descontar == null) {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n } else {\n if (descontar.compareTo(new BigDecimal(1)) == 0) {\n premioMonetario\n .setDescontarPagosAnticipados(true);\n } else {\n premioMonetario\n .setDescontarPagosAnticipados(false);\n }\n }\n }\n\n premioMonetario.setNumeroPremio(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioMonetario.getNumeroPremio();\n\n premioMonetario.setOidFormaPago(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"FPAG_OID_FORM_PAGO\")).longValue()));\n\n {\n BigDecimal pagoPartes = (BigDecimal) \n respuesta2.getValueAt(0,\"IND_PAGO_PART\");\n\n if (pagoPartes == null) {\n premioMonetario.setPagoEnPartes(false);\n } else {\n if (pagoPartes.compareTo(new BigDecimal(1)) \n == 0) {\n premioMonetario.setPagoEnPartes(true);\n } else {\n premioMonetario.setPagoEnPartes(false);\n }\n }\n }\n\n premioMonetario.setPorcentaje((BigDecimal) \n respuesta2.getValueAt(0, \"VAL_PORC\"));\n premioMonetario.setTipoPremioMonetario(new Long(\n ((BigDecimal) respuesta2.getValueAt(0,\n \"TPMO_OID_TIPO_PREM_MONE\")).longValue()));\n\n //Si tipoPremio es premioMonetario, y el campo \n //pagoPartes==True,\n //entonces tendremos que ir a la entidad PagoPartes\n //y crear objetos PagoPartes rellenando sus atributos.\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioMonetario.getPagoEnPartes() \" +\n premioMonetario.getPagoEnPartes());\n\n if (premioMonetario.getPagoEnPartes()) {\n BelcorpService bs3;\n RecordSet respuesta3;\n StringBuffer query3 = new StringBuffer();\n\n try {\n bs3 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query3.append(\" SELECT \");\n query3.append(\" NUM_PAGO, \");\n query3.append(\" VAL_PORC_PREM, \");\n query3.append(\" PERD_OID_PERI, \");\n query3.append(\" COD_PERI, \");\n query3.append(\" FEC_INIC, \");\n query3.append(\" FEC_FINA, \");\n query3.append(\" CANA_OID_CANA, \");\n query3.append(\" MARC_OID_MARC, \");\n query3.append(\" PAIS_OID_PAIS \");\n query3.append(\" FROM INC_PAGO_MONET PAGO, \");\n query3.append(\" CRA_PERIO CRA, \");\n query3.append(\" SEG_PERIO_CORPO SEG \");\n query3.append(\" WHERE PRMO_OID_PREM_MONE = \" +\n oidPremioMonetario);\n query3.append(\n \" AND PAGO.PERD_OID_PERI = CRA.OID_PERI \");\n query3.append(\n \" AND CRA.PERI_OID_PERI = SEG.OID_PERI \");\n respuesta3 = bs3.dbService.executeStaticQuery(\n query3.toString());\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta3: \" + respuesta3);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n premioMonetario.setPagosEnPartes(new ArrayList());\n\n for (int i3 = 0; i3 < respuesta3.getRowCount();\n i3++) {\n PagoPartes pagoPartes = new PagoPartes();\n pagoPartes.setNumeroPago(new Integer(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"NUM_PAGO\")).intValue()));\n pagoPartes.setPorcentajePremio((BigDecimal)\n respuesta3.getValueAt(i3, \"VAL_PORC_PREM\"));\n\n Periodo periodoControl = new Periodo();\n periodoControl.setCodperiodo((String)\n respuesta3.getValueAt(i3, \"COD_PERI\"));\n periodoControl.setFechaDesde((Date) \n respuesta3.getValueAt(i3, \"FEC_INIC\"));\n periodoControl.setFechaHasta((Date) \n respuesta3.getValueAt(i3, \"FEC_FINA\"));\n periodoControl.setOidCanal(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"CANA_OID_CANA\")).longValue()));\n periodoControl.setOidMarca(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"MARC_OID_MARC\")).longValue()));\n periodoControl.setOidPais(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PAIS_OID_PAIS\")).longValue()));\n periodoControl.setOidPeriodo(new Long(\n ((BigDecimal) respuesta3.getValueAt(\n i3, \"PERD_OID_PERI\")).longValue()));\n \n // Periodo \n pagoPartes.setPeriodoControl(periodoControl); \n premioMonetario.getPagosEnPartes()\n .add(pagoPartes);\n }\n }\n }\n\n UtilidadesLog.debug(\"guarde.... premio monet\");\n salida.add(premioMonetario);\n }\n\n // procesar premio articulo lote\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_ARTICULO\n .longValue()) {\n UtilidadesLog.debug(\"Premio Articulo\");\n\n PremioArticuloLote premioArticuloLote = \n new PremioArticuloLote();\n PremioArticulo premioArticulo = new PremioArticulo();\n premioArticuloLote.setNivel(nivelPre);\n premioArticuloLote.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioArticuloLote.setDescripcionTipoPremio(descTipoPremio);\n premioArticuloLote.setPeriodoDeDespacho(periodoDespacho);\n premioArticuloLote.setPuntosObtenerProdExigidos((\n puntosObtenerProdExigidos != null)\n ? new Double(puntosObtenerProdExigidos.doubleValue())\n : new Double(0));\n\n BelcorpService bs4;\n RecordSet respuesta4;\n StringBuffer query4 = new StringBuffer();\n\n try {\n bs4 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n /* INC 001 - gPineda - 13/01/2007\n * Se agrega la recuperacion del atributo VAL_DESC_LOTE_PREM_ARTI. (2)\n */\n query4.append(\" SELECT \");\n query4.append(\" NUM_UNID, NUM_LOTE, \");\n query4.append(\" NUM_PREM, \");\n query4.append(\" OID_LOTE_PREM_ARTI \");\n query4.append(\" ,INC_LOTE_PREMI_ARTIC.VAL_DESC_LOTE_PREM_ARTI\"); //(2)\n query4.append(\" FROM INC_PREMI_ARTIC, \");\n query4.append(\" INC_LOTE_PREMI_ARTIC \");\n query4.append(\n \" WHERE PRAR_OID_PREM_ARTI = OID_PREM_ARTI \");\n query4.append(\" AND PANP_OID_PARA_NIVE_PREM = \" + oidNivelPremiacion);\n query4.append(\" ORDER BY NUM_LOTE \"); \n \n respuesta4 = bs4.dbService.executeStaticQuery(\n query4.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta4: \" + respuesta4);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta4.esVacio()) {\n premioArticuloLote.setDescripcionLote( (String) respuesta4.getValueAt(0, \"VAL_DESC_LOTE_PREM_ARTI\") );//(2)\n \n premioArticuloLote.setNumeroLote(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_LOTE\")).longValue()));\n premioArticuloLote.setNumeroPremio(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioArticuloLote.getNumeroPremio();\n\n premioArticulo.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta4.getValueAt(0,\n \"NUM_UNID\")).longValue()));\n premioArticuloLote.setPremio(premioArticulo);\n\n Long oidLotePremioArticulo = new Long(((BigDecimal) \n respuesta4.getValueAt(0, \"OID_LOTE_PREM_ARTI\"))\n .longValue());\n ArrayList articulos = new ArrayList();\n\n BelcorpService bs7;\n RecordSet respuesta7;\n\n try {\n bs7 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n //Brecha INC-003 6-9-07 jrivas\n respuesta7 = bs7.dbService.executeStaticQuery(queryArticuloLote(oidLotePremioArticulo).toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta7: \" + respuesta7);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n \n ArticuloLote articuloLote = null;\n \n if (!respuesta7.esVacio()) {\n \n int cant7 = respuesta7.getRowCount();\n for(int i7=0; i7 < cant7; i7++) {\n articuloLote = new ArticuloLote();\n \n articuloLote.setNombre((String)respuesta7.getValueAt(i7, \"DESCPRODU\"));\n \n articuloLote.setNumeroUnidades(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7, \"NUM_UNID\"))\n .longValue()));\n articuloLote.setCodigoVentaFicticio(respuesta7.getValueAt(\n i7, \"COD_VENT_FICT\").toString());\n articuloLote.setOidCodigoProducto(new Long(\n ((BigDecimal) respuesta7.getValueAt(i7,\n \"PROD_OID_PROD\")).longValue()));\n articuloLote.setPrecioPublico((BigDecimal) \n respuesta7.getValueAt(i7, \"IMP_PREC_PUBL\"));\n \n articuloLote.setCodSapProducto((String)\trespuesta7.getValueAt(i7, \"COD_SAP\")); \n \n articuloLote.setTipoEntregaPremio(respuesta7.getValueAt(i7, \"IND_TIPO_ENTR_PREM\").toString()); \n if (respuesta7.getValueAt(i7, \"COD_CENT_SERV\") != null) {\n articuloLote.setCodigoCentroServicio((String) respuesta7.getValueAt(i7, \"COD_CENT_SERV\")); \n } else {\n articuloLote.setCodigoCentroServicio(\"\"); \n }\n \n if (respuesta7.getValueAt(i7, \"DES_CENT_SERV\") != null) {\n articuloLote.setDescripcionCentroServicio((String) respuesta7.getValueAt(i7, \"DES_CENT_SERV\")); \n } else {\n articuloLote.setDescripcionCentroServicio(\"\"); \n } \n \n // vbongiov -- Cambio 20090828 -- 8/06/2009\n articuloLote.setOidArticuloLote(new Long(((BigDecimal) respuesta7.getValueAt(i7, \"OID_ARTI_LOTE\")).longValue())); \n \n articulos.add(articuloLote);\n }\n }\n premioArticuloLote.setArticulos(articulos);\n }\n salida.add(premioArticuloLote);\n }\n\n // procesar premio descuento\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_DESCUENTOS\n .longValue()) {\n UtilidadesLog.debug(\"tipoPremioLeido = ConstantesINC.TIPO_PREMIO_DESCUENTOS.longValue() ***\");\n\n PremioDescuento premioDescuento = new PremioDescuento();\n premioDescuento.setNivel(nivelPre);\n premioDescuento.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioDescuento.setDescripcionTipoPremio(descTipoPremio);\n premioDescuento.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs5;\n RecordSet respuesta5;\n RecordSet respuesta6;\n StringBuffer query5 = new StringBuffer();\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs5 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query5.append(\" SELECT OID_PREM_DESC,\");\n query5.append(\" NUM_PREM, \");\n query5.append(\" VAL_CANT_DESC, \");\n query5.append(\" VAL_PORC_DESC, \");\n query5.append(\" PERD_OID_PERI_DESD, \");\n query5.append(\" PERD_OID_PERI \");\n query5.append(\" FROM INC_PREMI_DESCU \");\n query5.append(\" WHERE OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta5 = bs5.dbService.executeStaticQuery(\n query5.toString());\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta5.esVacio()) {\n \n BigDecimal oidPremDesc = (BigDecimal) respuesta5.getValueAt(0,\n \"OID_PREM_DESC\");\n \n BigDecimal cantidad = (BigDecimal) respuesta5.getValueAt(0,\n \"VAL_CANT_DESC\");\n premioDescuento.setCantidad((cantidad != null) ? cantidad\n : new BigDecimal(0));\n \n\n premioDescuento.setNumeroPremio(new Long(\n ((BigDecimal) respuesta5.getValueAt(0, \"NUM_PREM\"))\n .longValue()));\n premioDescuento.setOidPeriodoDesde(new Long(\n ((BigDecimal) respuesta5.getValueAt(0,\n \"PERD_OID_PERI_DESD\")).longValue()));\n\n \n BigDecimal periodoHasta = (BigDecimal) \n respuesta5.getValueAt(0,\"PERD_OID_PERI\");\n premioDescuento.setOidPeriodoHasta((periodoHasta != null)\n ? new Long(periodoHasta.longValue()) : null);\n \n\n premioDescuento.setPorcentaje((BigDecimal) \n respuesta5.getValueAt(0, \"VAL_PORC_DESC\"));\n \n ArrayList prodDesc = new ArrayList();\n \n // Productos del premio descuento \n try {\n query6.append(\" SELECT prodD.MAPR_OID_MARC_PROD,\");\n query6.append(\" prodD.SGEN_OID_SUPE_GENE, prodD.GENE_OID_GENE, \");\n query6.append(\" prodD.UNEG_OID_UNID_NEGO, prodD.NEGO_OID_NEGO, \");\n query6.append(\" prodD.PROD_OID_PROD \");\n query6.append(\" FROM INC_PRODU_DESCU prodD \");\n query6.append(\" WHERE prodD.PRDE_OID_PREM_DESC = \" + oidPremDesc);\n \n respuesta6 = bs5.dbService.executeStaticQuery(query6.toString());\n \n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n ProductoDescuento prodDescuento = null;\n \n if (!respuesta6.esVacio()) {\n int cant6 = respuesta6.getRowCount();\n \n for(int i6=0; i6 < cant6; i6++) {\n prodDescuento = new ProductoDescuento();\n \n prodDescuento.setOidMarcaProducto(new Long(((BigDecimal)respuesta6.getValueAt(i6,\"MAPR_OID_MARC_PROD\")).intValue()));\n \n BigDecimal oidSupeGen = (BigDecimal) \n respuesta6.getValueAt(i6,\"SGEN_OID_SUPE_GENE\");\n prodDescuento.setOidSuperGenerico((oidSupeGen != null)\n ? new Long(oidSupeGen.longValue()) : null);\n \n BigDecimal oidGene = (BigDecimal) \n respuesta6.getValueAt(i6,\"GENE_OID_GENE\");\n prodDescuento.setOidGenerico((oidGene != null)\n ? new Long(oidGene.longValue()) : null);\n \n BigDecimal oidUniNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"UNEG_OID_UNID_NEGO\");\n prodDescuento.setOidUnidadNegocio((oidUniNeg != null)\n ? new Long(oidUniNeg.longValue()) : null);\n \n BigDecimal oidNeg = (BigDecimal) \n respuesta6.getValueAt(i6,\"NEGO_OID_NEGO\");\n prodDescuento.setOidNegocio((oidNeg != null)\n ? new Long(oidNeg.longValue()) : null);\n \n BigDecimal oidProd = (BigDecimal) \n respuesta6.getValueAt(i6,\"PROD_OID_PROD\");\n prodDescuento.setOidProducto((oidProd != null)\n ? new Long(oidProd.longValue()) : null);\n \n prodDesc.add(prodDescuento);\n }\n }\n \n premioDescuento.setListaProductos(prodDesc);\n \n }\n\n salida.add(premioDescuento);\n }\n\n // procesar premio puntaje\n if (tipoPremioLeido == ConstantesINC.TIPO_PREMIO_PUNTUACION\n .longValue()) {\n UtilidadesLog.debug(\"Premio premioPuntos\");\n\n PremioPuntos premioPuntos = new PremioPuntos();\n premioPuntos.setNivel(nivelPre);\n premioPuntos.setTipoPremio(new Long(tipoPremioLeido));\n // vbongiov -- 5/07/2006 -- inc 723\n premioPuntos.setDescripcionTipoPremio(descTipoPremio);\n premioPuntos.setPeriodoDeDespacho(periodoDespacho);\n\n BelcorpService bs6;\n RecordSet respuesta6;\n StringBuffer query6 = new StringBuffer();\n\n try {\n bs6 = BelcorpService.getInstance();\n } catch (MareMiiServiceNotFoundException e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_AL_PEDIR_UN_SERVICIO_MARE));\n }\n\n try {\n query6.append(\" SELECT \");\n query6.append(\" VAL_CANT, \");\n query6.append(\" NUM_PREM, \");\n query6.append(\" COPA_OID_PARA_GRAL, \");\n query6.append(\" VAL_PORC, \");\n query6.append(\" TPPU_OID_TIPO_PREM_PUNT \");\n query6.append(\" FROM INC_PREMI_PUNTO \");\n query6.append(\" WHERE PANP_OID_PARA_NIVE_PREM = \" +\n oidNivelPremiacion);\n respuesta6 = bs6.dbService.executeStaticQuery(\n query6.toString());\n \n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"*** respuesta6: \" + respuesta6);\n } catch (Exception e) {\n UtilidadesLog.error(\"ERROR \", e);\n throw new MareException(e,\n UtilidadesError.armarCodigoError(\n CodigosError\n .ERROR_DE_LECTURA_EN_BASE_DE_DATOS));\n }\n\n if (!respuesta6.esVacio()) {\n {\n BigDecimal cantidad = (BigDecimal)\n respuesta6.getValueAt(0,\"VAL_CANT\");\n premioPuntos.setCantidad((cantidad != null)\n ? cantidad : new BigDecimal(0));\n }\n\n premioPuntos.setNumeroPremio(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"NUM_PREM\")).longValue()));\n\n //jrivas 26/7/2005\n numPremio = premioPuntos.getNumeroPremio();\n\n premioPuntos.setOidConcursoDestino(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"COPA_OID_PARA_GRAL\")).longValue()));\n if(log.isDebugEnabled()) //sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"premioPuntos.setOidConcursoDestino \" +\n premioPuntos.getOidConcursoDestino());\n premioPuntos.setPorcentaje((BigDecimal) \n respuesta6.getValueAt(0, \"VAL_PORC\"));\n premioPuntos.setOidTipoPremioPuntos(new Long(\n ((BigDecimal) respuesta6.getValueAt(0,\n \"TPPU_OID_TIPO_PREM_PUNT\")).longValue()));\n }\n\n salida.add(premioPuntos);\n }\n\n PremiosElegidosLocalHome premiosElegidosHome = this.getPremiosElegidosLocalHome();\n\n try {\n if(log.isDebugEnabled()) {//sapaza -- cambio Optimizacion Logs -- 24/03/2010 \n UtilidadesLog.debug(\"insertando PremiosElegidosLocal\");\n UtilidadesLog.debug(\"numPremio : \" + numPremio);\n UtilidadesLog.debug(\"clientePremiacion.getOidCliente(): \"+clientePremiacion.getOidCliente());\n UtilidadesLog.debug(\"clientePremiacionConcurso.getOidConcurso() : \" +clientePremiacionConcurso.getOidConcurso());\n UtilidadesLog.debug(\"oidNivelPremiacion : \" +oidNivelPremiacion);\n } \n\n premiosElegidosHome.create(new Integer(numPremio\n .intValue()), clientePremiacion.getOidCliente(),\n clientePremiacionConcurso.getOidConcurso(),\n new Long(oidNivelPremiacion),\n new Date(System.currentTimeMillis()));\n\n } catch (PersistenceException ce) {\n UtilidadesLog.error(\"ERROR \", ce);\n throw new MareException(ce,\n UtilidadesError.armarCodigoError(\n CodigosError.ERROR_DE_ESCRITURA_EN_BASE_DE_DATOS));\n }\n\n saldoPuntosAux = saldoPuntosAux - puntosLeidos;\n }\n }\n\n UtilidadesLog.info(\"DAOClientePremiacionConcurso.recuperarPremiosNivel\"\n +\"esPremiacion(ClientePremiacionConcurso clientePremiacionConcurso,\"\n +\"ClientePremiacion clientePremiacion):Salida\");\n\n return salida;\n }", "title": "" }, { "docid": "64abb799b57c048a2534d9370a5e360c", "score": "0.54117733", "text": "@Override\r\n\tpublic List<Clientes> listar() {\n\t\treturn (List<Clientes>)data.findAll();\r\n\t}", "title": "" }, { "docid": "71dccdd1ed56b338481b804bac4c7e26", "score": "0.53959984", "text": "@Override\n\tpublic List<Client> FindClients(ConseillerClientele cc) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "bbde5660c68a49b3190a23727018d531", "score": "0.53957695", "text": "@SuppressWarnings(\"unchecked\")\r\n\tpublic void makeSearch(HttpServletRequest request)\r\n\t{\n\t\tfinal String webInfPath = request.getServletContext().getRealPath(\"/WEB-INF/\");\r\n\t\tfinal String sep = System.getProperty(\"file.separator\");\r\n\t\tfinal Properties serviceProperties = new Properties();\r\n\t\tResultsService resultsService = new ResultsService();\r\n\t\ttry {\r\n\t\t\tserviceProperties.load(new FileInputStream(webInfPath+sep+\"winedunk.properties\"));\r\n\t\t\tresultsService.setUrlPath(serviceProperties.getProperty(\"crud.url\"));\r\n\t\t} catch (Exception e) {\r\n\t\t\tresultsService = null;\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\t\r\n\t\tif (resultsService != null) {\r\n\t\t\t\r\n\t\t\tArrayList<String> selectedSearchCriteria = new ArrayList<String>();\r\n\t\t\t\r\n\t\t\tInteger currentPage = 0,\r\n\t\t\t\t\tamountOfPages;\r\n\t\t\t\r\n\t\t\t/*\r\n\t\t\t * This part is accessed when a search is made using the left-hand panel either on Results or Product page\r\n\t\t\t * It is also accessed from the Home page's search bar.\r\n\t\t\t * First, I check which of the filters have been entered and compose a URL with the relevant parameters\r\n\t\t\t * I need to get the ID of some of these parameters to pass them on to the query\r\n\t\t\t * Then, I check for any other set of results previously loaded on the session and delete it.\r\n\t\t\t * Finally, I set the new set of results and forward the user to result page.\r\n\t\t\t */\r\n\t\t\t\r\n\t\t\t\r\n\t\t\tObjectMapper mapper = new ObjectMapper();\r\n\t\t\t\r\n\t\t\ttry\r\n\t\t\t{\r\n\t\t\t\tMap<Integer, String> generalMap = new HashMap<Integer, String>();\r\n\t\t\t\tString urlParameters = \"\",\r\n\t\t\t\tname \t\t\t= request.getParameter(\"name\"),\r\n\t\t\t\tcountry \t\t= request.getParameter(\"country\"),\r\n\t\t\t\tregion \t\t\t= request.getParameter(\"region\"),\r\n\t\t\t\twinery \t\t\t= request.getParameter(\"winery\"),\r\n\t\t\t\tappellation \t= request.getParameter(\"appellation\"),\r\n\t\t\t\tchosenColour \t= request.getParameter(\"chosenColour\"),\r\n\t\t\t\tvintageMin \t\t= request.getParameter(\"vintageMin\"),\r\n\t\t\t\tvintageMax \t\t= request.getParameter(\"vintageMax\"),\r\n\t\t\t\tabvMin \t\t\t= request.getParameter(\"abvMin\"),\r\n\t\t\t\tabvMax \t\t\t= request.getParameter(\"abvMax\"),\r\n\t\t\t\tminPrice \t\t= request.getParameter(\"minPrice\"),\r\n\t\t\t\tmaxPrice \t\t= request.getParameter(\"maxPrice\"),\r\n\t\t\t\twineType \t\t= request.getParameter(\"chosenType\"),\r\n\t\t\t\tgrapeVariety \t= request.getParameter(\"grapeVariety\"),\r\n\t\t\t\tmerchant \t\t= request.getParameter(\"chosenShop\"),\r\n\t\t\t\trating \t\t\t= request.getParameter(\"ratingValue\");\r\n\r\n\t\t\t\tString[] listOfEntities = new String[] \r\n\t\t\t\t\t\t{ \"listOfCountries\", \"listOfRegions\", \"listOfWineries\", \"listOfAppellations\", \"listOfGrapeVarieties\" };\r\n\t\t\t\t\r\n\t\t\t\tString[] entityNames = new String[]\r\n\t\t\t\t\t\t{ country, region, winery, appellation, grapeVariety };\r\n\t\t\t\t\r\n\t\t\t\tInteger index = 0;\r\n\t\t\t\t\r\n\t\t\t\tboolean itemFound = false;\r\n\t\t\t\tInteger foundItemId = 0;\r\n\t\t\t\tString foundItemName = \"\";\r\n\t\t\t\t\r\n\t\t\t\tfor( String listOfEntity : listOfEntities )\r\n\t\t\t\t{\t\r\n\t\t\t\t\tif(entityNames[index] != null && !entityNames[index].equals(\"\")) \r\n\t\t\t\t\t{ \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tgeneralMap = (Map<Integer, String>) request.getSession().getAttribute(listOfEntity);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\titemFound = false;\r\n\t\t\t\t\t\tfoundItemId = 0;\r\n\t\t\t\t\t\tfoundItemName = \"\";\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (generalMap != null) {\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tIterator<Entry<Integer, String>> iterator = generalMap.entrySet().iterator();\r\n\t\t\t\t\t\t while ( (!itemFound) && (iterator.hasNext()) ) {\r\n\t\t\t\t\t\t @SuppressWarnings(\"rawtypes\")\r\n\t\t\t\t\t\t\t\tMap.Entry pair = (Map.Entry)iterator.next();\r\n\t\t\t\t\t\t itemFound = pair.getValue().toString().toLowerCase().equals(entityNames[index].toLowerCase());\r\n\t\t\t\t\t\t if (itemFound) { \r\n\t\t\t\t\t\t \tfoundItemId = (Integer) pair.getKey(); \r\n\t\t\t\t\t\t \tfoundItemName = (String) pair.getValue();\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t }\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tswitch (listOfEntity)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tcase \"listOfCountries\":\r\n\t\t\t\t\t\t\t\tif (foundItemId > 0) {\r\n\t\t\t\t\t\t\t\t\tcountry = foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\turlParameters += \"&chosenCountry=\" + foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Country: \" + foundItemName);\r\n\t\t\t\t\t\t\t\t\t// looking for best offer for current country\r\n\t\t\t\t\t\t\t\t\tList<viewBestOffersbyCountries> bestOffers = this.getBestOffersByCountry(foundItemId);\r\n\t\t\t\t\t\t\t\t\trequest.setAttribute(\"countryBestOffers\", bestOffers);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tcountry = null;\r\n\t\t\t\t\t\t\t\t\trequest.setAttribute(\"countryBestOffers\", null);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase \"listOfRegions\":\r\n\t\t\t\t\t\t\t\tif (foundItemId > 0) {\r\n\t\t\t\t\t\t\t\t\tregion = foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\turlParameters += \"&chosenRegion=\" + foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Region: \" + foundItemName);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tregion = null;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase \"listOfAppellations\":\r\n\t\t\t\t\t\t\t\tif (foundItemId > 0) { \r\n\t\t\t\t\t\t\t\t\tappellation = foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\turlParameters += \"&appellationId=\" + foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Appellation: \" + foundItemName);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tappellation = null;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase \"listOfWineries\":\r\n\t\t\t\t\t\t\t\tif (foundItemId > 0) {\r\n\t\t\t\t\t\t\t\t\twinery = foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\turlParameters += \"&wineryId=\" + foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Winery: \" + foundItemName);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\twinery = null;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\tcase \"listOfGrapeVarieties\":\r\n\t\t\t\t\t\t\t\tif (foundItemId > 0) {\r\n\t\t\t\t\t\t\t\t\tgrapeVariety = foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\turlParameters += \"&grapeVarietyId=\" + foundItemId.toString();\r\n\t\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Grape Variety: \" + foundItemName);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tgrapeVariety = null;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tindex++;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif (name != null && !name.equals(\"\")) {\r\n\t\t\t\t\turlParameters += \"&name=\" + name;\r\n\t\t\t\t\tselectedSearchCriteria.add(\"Name: \"+ name);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tint intValue = 0;\r\n\t\t\t\tint minIntValue = 0;\r\n\t\t\t\tint maxIntValue = 0;\r\n\t\t\t\tfloat minFloatValue = 0;\r\n\t\t\t\tfloat maxFloatValue = 0;\r\n\t\t\t\tNumberFormat formatter = NumberFormat.getCurrencyInstance(Locale.UK);\r\n\t\t\t\t\r\n\t\t\t\t// Colour\r\n\t\t\t\tintValue = 0;\r\n\t\t\t\tif (chosenColour != null && !chosenColour.equals(\"0\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tintValue = Integer.parseInt(chosenColour);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tintValue = 0;\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\t\r\n\t\t\t\t\tif (intValue > 0) { \r\n\t\t\t\t\t\turlParameters += \"&chosenColour=\" + chosenColour;\r\n\t\t\t\t\t\tselectedSearchCriteria.add(\"Colour: \" + getColourName(intValue));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Vintage\r\n\t\t\t\tminIntValue = 0;\r\n\t\t\t\tmaxIntValue = 0;\r\n\t\t\t\tif (vintageMin != null && !vintageMin.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tminIntValue = Integer.parseInt(vintageMin);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tminIntValue = 0;\r\n\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\t\r\n\t\t\t\tif (vintageMax != null && !vintageMax.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tmaxIntValue = Integer.parseInt(vintageMax);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tmaxIntValue = 0;\r\n\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\t\r\n\t\t\t\tif ( (minIntValue > 0) || ((maxIntValue > 0)) ) {\r\n\t\t\t\t\r\n\t\t\t\t\tif ( (minIntValue > 0) && ((maxIntValue > 0)) ) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\turlParameters += \"&vintageMin=\" + vintageMin;\r\n\t\t\t\t\t\turlParameters += \"&vintageMax=\" + vintageMax;\r\n\t\t\t\t\t\tselectedSearchCriteria.add(\"Vintage between \" + vintageMin + \" and \" + vintageMax);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (minIntValue > 0) { \r\n\t\t\t\t\t\t\turlParameters += \"&vintageMin=\" + vintageMin;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Vintage greater than \" + vintageMin);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\turlParameters += \"&vintageMax=\" + vintageMax;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Vintage less than \" + vintageMax);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// ABV\r\n\t\t\t\tminFloatValue = 0;\r\n\t\t\t\tmaxFloatValue = 0;\r\n\t\t\t\tif (abvMin != null && !abvMin.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tminFloatValue = Float.parseFloat(abvMin);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tminFloatValue = 0;\r\n\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\t\r\n\t\t\t\tif (abvMax != null && !abvMax.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tmaxFloatValue = Float.parseFloat(abvMax);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tmaxFloatValue = 0;\r\n\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\t\r\n\t\t\t\tif ( (minFloatValue > 0) || ((maxFloatValue > 0)) ) {\r\n\t\t\t\t\r\n\t\t\t\t\tif ( (minFloatValue > 0) && ((maxFloatValue > 0)) ) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\turlParameters += \"&abvMin=\" + abvMin;\r\n\t\t\t\t\t\turlParameters += \"&abvMax=\" + abvMax;\r\n\t\t\t\t\t\tselectedSearchCriteria.add(\"ABV between \" + abvMin + \" and \" + abvMax);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (minFloatValue > 0) { \r\n\t\t\t\t\t\t\turlParameters += \"&abvMin=\" + abvMin;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"ABV greater than \" + abvMin);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\turlParameters += \"&abvMax=\" + abvMax;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"ABV less than \" + abvMax);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\r\n\t\t\t\t// price\r\n\t\t\t\tminFloatValue = 0;\r\n\t\t\t\tmaxFloatValue = 0;\r\n\t\t\t\t\r\n\t\t\t\tif (minPrice != null && !minPrice.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tminFloatValue = Float.parseFloat(minPrice);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tminFloatValue = 0;\r\n\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\t\r\n\t\t\t\tif (maxPrice != null && !maxPrice.equals(\"\")) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tmaxFloatValue = Float.parseFloat(maxPrice);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tmaxFloatValue = 0;\r\n\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\t\r\n\t\t\t\tif ( (minFloatValue > 0) || ((maxFloatValue > 0)) ) {\r\n\t\t\t\t\t\r\n\t\t\t\t\tif ( (minFloatValue > 0) && ((maxFloatValue > 0)) ) {\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\turlParameters += \"&minPrice=\" + minPrice;\r\n\t\t\t\t\t\turlParameters += \"&maxPrice=\" + maxPrice;\r\n\t\t\t\t\t\tselectedSearchCriteria.add(\"Price between \" + formatter.format(minFloatValue) + \" and \" + formatter.format(maxFloatValue));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (minFloatValue > 0) { \r\n\t\t\t\t\t\t\turlParameters += \"&minPrice=\" + minPrice;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Price greater than \" + formatter.format(minFloatValue));\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\turlParameters += \"&maxPrice=\" + maxPrice;\r\n\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Price less than \" + formatter.format(maxFloatValue));\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif (rating != null && !rating.equals(\"\")) {\r\n\t\t\t\t\turlParameters += \"&ratingValue=\" + rating;\r\n\t\t\t\t\tselectedSearchCriteria.add(\"Rating Value: \" + rating);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// merchant\r\n\t\t\t\tif(merchant != null && !merchant.equals(\"0\")) { \r\n\t\t\t\t\tint merchantInt = 0;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tmerchantInt = Integer.parseInt(merchant);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\tmerchantInt = 0;\r\n\t\t\t\t\t\tSystem.out.println(\"REST / services / GeneralService / makeSearch: Exception parsing merchant = [\"+merchant+\"] to Int\");\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (merchantInt > 0) {\r\n\t\t\t\t\t\t// looking for merchant object based on merchantInt\r\n\t\t\t\t\t\tString merchantUrl = \"merchantsView?action=getMerchant&id=\" + merchant;\r\n\t\t\t\t\t\tString merchantString = requestCreator.createGetRequest(crudURL, merchantUrl); \r\n\t\t\t\t\t\tJsonNode merchantJson = mapper.readTree(merchantString);\r\n\t\t\t\t\t\tif (merchantJson != null) {\r\n\t\t\t\t\t\t\tviewMerchants viewMerchant = mapper.treeToValue(merchantJson, viewMerchants.class);\r\n\t\t\t\t\t\t\tif ( (viewMerchant != null) && (viewMerchant.getId() > 0) ) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\turlParameters +=\"&merchant=\" + viewMerchant.getId();\r\n\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Merchant: \" + viewMerchant.getName());\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t// looking for best offer for current merchant\r\n\t\t\t\t\t\t \tList<viewBestOffersbyMerchants> bestOffers = this.getBestOffersByMerchant(viewMerchant.getId());\r\n\t\t\t\t\t\t \trequest.setAttribute(\"merchantBestOffers\", bestOffers);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t} else { request.setAttribute(\"merchantBestOffers\", null); }\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t} else { request.setAttribute(\"merchantBestOffers\", null); }\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else { request.setAttribute(\"merchantBestOffers\", null); }\r\n\t\t\t \t\r\n\t\t\t \t// Check the length of the search, 12 includes a merchant between 1 and 99 and no more params\r\n\t\t\t \tif(urlParameters.length() > 12) { request.setAttribute(\"severalAttributes\", true); }\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// wine type\r\n\t\t\t\tif(wineType != null && !wineType.equals(\"\"))\r\n\t\t\t\t{ \r\n\t\t\t\t\tint wineTypeInt = 0;\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\twineTypeInt = Integer.parseInt(wineType);\r\n\t\t\t\t\t} catch (Exception e) {\r\n\t\t\t\t\t\twineTypeInt = 0;\r\n\t\t\t\t\t\tSystem.out.println(\"REST / services / GeneralService / makeSearch: Exception parsing wineType = [\"+wineType+\"] to Int\");\r\n\t\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (wineTypeInt > 0) {\r\n\t\t\t\t\t\t// looking for wine type object based on wineTypeInt\r\n\t\t\t\t\t\tString typesUrl = \"winetypes?action=getWineType&id=\" + wineTypeInt;\r\n\t\t\t\t\t\tString typeString = requestCreator.createGetRequest(crudURL, typesUrl);\r\n\t\t\t\t\t\tJsonNode typeJson = mapper.readTree(typeString);\r\n\t\t\t\t\t\tif (typeJson != null) {\r\n\t\t\t\t\t\t\ttblWineTypes tblwineType= mapper.treeToValue(typeJson, tblWineTypes.class);\r\n\t\t\t\t\t\t\tif ( (tblwineType != null) && (tblwineType.getId() > 0) ) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\turlParameters += \"&chosenType=\" + tblwineType.getId();\r\n\t\t\t\t\t\t\t\tselectedSearchCriteria.add(\"Product type: \" + tblwineType.getName());\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t// looking for best offer for current wine type\r\n\t\t\t\t\t\t\t\tList<viewBestOffersbyWineTypes> bestOffers = this.getBestOffersByWineType(tblwineType.getId());\r\n\t\t\t\t\t\t\t\trequest.setAttribute(\"winetypeBestOffers\", bestOffers);\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t} else { request.setAttribute(\"winetypeBestOffers\", null); }\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t} else { request.setAttribute(\"winetypeBestOffers\", null); }\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t} else { request.setAttribute(\"winetypeBestOffers\", null); }\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t// saving selectedSearchCriteria into a session variable \r\n\t\t\t\trequest.getSession().setAttribute(\"selectedSearchCriteria\", selectedSearchCriteria);\r\n\t\t\t\t\r\n\t\t\t\t//Set the sharing URL in a correct format (change the first & character into a ?)\r\n\t\t\t\trequest.setAttribute(\"sharingURL\", (\"?\" + urlParameters).replace(\"?&\", \"?\"));\r\n\t\t\t\t\r\n\t\t\t\t// Security checks and default values\r\n\t\t\t\tif(abvMin != null && abvMax !=null)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!abvMin.equals(\"\") && abvMax.equals(\"\")) { urlParameters += \"&abvMax=100.00\"; }\r\n\t\t\t\t\tif(!abvMax.equals(\"\") && abvMin.equals(\"\")) { urlParameters += \"&abvMin=0.00\"; }\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(vintageMin != null && vintageMax != null)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!vintageMin.equals(\"\") && vintageMax.equals(\"\")) { urlParameters += \"&vintageMax=\" + Calendar.getInstance().get(Calendar.YEAR); }\r\n\t\t\t\t\tif(!vintageMax.equals(\"\") && vintageMin.endsWith(\"\")) { urlParameters += \"&vintageMin=1995\"; }\t\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(minPrice != null && maxPrice != null)\r\n\t\t\t\t{\r\n\t\t\t\t\tif(!minPrice.equals(\"\") && maxPrice.equals(\"\")) { urlParameters += \"&maxPrice=10000\"; }\r\n\t\t\t\t\tif(!maxPrice.equals(\"\") && minPrice.equals(\"\")) { urlParameters += \"&minPrice=0\"; }\r\n\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\tif(currentPage < 1 ) { currentPage = 1; }\r\n\t\t\t\t\r\n\t\t\t\t//Set the last search with the current filters (without page number)\r\n\t\t\t\trequest.getSession().setAttribute(\"lastSearch\", urlParameters);\r\n\t\t\t\t\r\n\t\t\t\turlParameters += \"&currentPage=1\";\r\n\t\t\t\tamountOfPages = resultsService.getCountOfPages(urlParameters);\r\n\t\t\t\t\r\n\t\t\t\t// getting wine search result\r\n\t\t\t\tList<viewWines> results = resultsService.getWines(urlParameters);\r\n\t\t\t\t\r\n\t\t\t\trequest.getSession().setAttribute(\"currentPage\", 1);\r\n\t\t\t\trequest.getSession().removeAttribute(\"sessionResults\"); //Delete results if a previous \"sort\" was made\r\n\t\t\t\trequest.getSession().setAttribute(\"amountOfPages\", amountOfPages);\r\n\t\t\t\t\r\n\t\t\t\t// Check if more than 1 \"best offers\" filters are selected to make changes on Results\r\n\t\t\t\tBoolean moreThanOne = urlParameters.contains(\"&merchant=\") ? \r\n\t\t\t\t\t\t(urlParameters.contains(\"&chosenCountry=\") || urlParameters.contains(\"&chosenType=\")) :\r\n\t\t\t\t\t\t(urlParameters.contains(\"&chosenCountry=\") && urlParameters.contains(\"&chosenType=\"));\r\n\t\t\t\t\t\t\r\n\t\t\t\tif(moreThanOne) \r\n\t\t\t\t{\r\n\t\t\t\t\trequest.getSession().setAttribute(\"notDisplayTitleCards\", true);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tif(!results.isEmpty()) { request.setAttribute(\"resultsList\", results); }\r\n\t\t\t\telse { request.setAttribute(\"noResults\", true); }\r\n\t\t\t\t\r\n\t\t\t} catch (Exception e) { e.printStackTrace(); }\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d21a4380bf0443939d8c27596428ddb3", "score": "0.5387044", "text": "public List getClientesUAHistorico();", "title": "" }, { "docid": "ae23eada6767973e2cef9b7c10258f10", "score": "0.53725517", "text": "public static List<Perfil> getListClientes() {\n return listClientes;\n }", "title": "" }, { "docid": "07199b69eaaf8d67bf13c8e29bc55bd0", "score": "0.5353188", "text": "public String find() {\n\n if (criterio == null || criterio.equals(\"\")) {\n SessionUtil.agregarMensajeError(\"mensaje.busqueda.camposVacios\");\n\n } else {\n System.out.println(\"Ingreso a buscar con criterio: \" + criterio);\n resultlist = ejbFacade.findEstudiantes(criterio);\n System.out.println(\"Encontre Estudiante***********:\" + resultlist.size());\n if (resultlist.isEmpty()) {\n SessionUtil.agregarMensajeInformacion(\"mensaje.busqueda.noEncontrada\");\n } else {\n SessionUtil.agregarMensajeInformacion(\"mensaje.busqueda\");\n }\n\n }\n return \"list?faces-redirect=true\";\n }", "title": "" }, { "docid": "588f7f859f7c39ee1930977377cd55a0", "score": "0.53443277", "text": "public List<Registro> listarRegistros() {\r\n\t\treturn dao.ejecutarNamedQuery(ConstantesNamedQueries.LISTAR_REGISTROS);\r\n\t}", "title": "" }, { "docid": "9bc0a8bf45bda20df85a1b19fb1e6d0b", "score": "0.5333278", "text": "public List getAmbitoGeograficoList(Map criteria);", "title": "" }, { "docid": "e8be27b6fbc3856d51c7b707bb8bfba1", "score": "0.5331752", "text": "@Path(\"/\")\npublic interface SearchByFilterCriteriaWebservice {\n\n\t\n\t\n\t/**\n\t * @param uriInfo\n\t * @return\n\t * @throws URISyntaxException\n\t */\n\t@GET\n\t@Produces(\"application/json\")\n\t@Path(\"jobSearch\")\n\tpublic Response retrieveJobSearchDetails(@Context final UriInfo uriInfo) throws URISyntaxException;\n\t\n\t\n\t/**\n\t * @param uriInfo\n\t * @return\n\t * @throws URISyntaxException\n\t */\n\t@GET\n\t@Produces(\"application/json\")\n\t@Path(\"candidateSearch\")\n\tpublic Response retrieveCandidateSearchDetails(@Context final UriInfo uriInfo) throws URISyntaxException;\n\t\n\t/**\n\t * @param uriInfo\n\t * @return\n\t * @throws URISyntaxException\n\t */\n\t@GET\n\t@Produces(\"application/json\")\n\t@Path(\"interviewSearch\")\n\tpublic Response retrieveInterviewSearchDetails(@Context final UriInfo uriInfo) throws URISyntaxException;\n\n}", "title": "" }, { "docid": "a5cdc0b2083e8586ec6d1c9946bdedc4", "score": "0.5329462", "text": "ObservableList<Client> getFilteredClientList();", "title": "" }, { "docid": "a5cdc0b2083e8586ec6d1c9946bdedc4", "score": "0.5329462", "text": "ObservableList<Client> getFilteredClientList();", "title": "" }, { "docid": "4ae9e9e7950a4e4578e537b9e22307a3", "score": "0.5329208", "text": "java.util.List<SteammessagesSiteserverui.SiteServerUI_ClientStatus_Response.ClientInfo> \n getClientsList();", "title": "" }, { "docid": "fd2e983611cb11eeabcc0573a00dd30c", "score": "0.5327165", "text": "@PreAuthorize(\"hasAnyRole('ADMIN')\")\n\t@RequestMapping(method = RequestMethod.GET)\n\tpublic ResponseEntity<List<ClienteDTO>> findAll() {\n\t\tList<Cliente> list = service.fidAll();\n\t\tList<ClienteDTO> listDTO = new ArrayList<ClienteDTO>();\n\t\tfor (Cliente c : list) {\n\t\t\tClienteDTO catTDO = new ClienteDTO(c);\n\t\t\tlistDTO.add(catTDO);\n\t\t}\n\t\treturn ResponseEntity.ok().body(listDTO);\n\t}", "title": "" }, { "docid": "fff19bfdb2450feb54f17cc22b96cc12", "score": "0.53263843", "text": "public List<Client> findAll();", "title": "" }, { "docid": "5de93abe1bd21c9f0cfac4448c7c4ebc", "score": "0.5313085", "text": "public void buscarCrianca(){\n\t\tget(\"/cri/:nome\", (req, res) -> {\n\t\t\n\t\t\tList<Crianca> criancasEncontradas = sistema.buscarCrianca(req.params(\":nome\"));\t\n\t\t\treturn new Gson().toJson(criancasEncontradas);\n\t\t\t\n\t\t});\n\t}", "title": "" }, { "docid": "889248a1d6574f6c490b019e77b18810", "score": "0.5308205", "text": "public void buscarLocInstituicao(){\n\t\t\tget(\"/loca/:instituicao\", (req, res) -> {\n\t\t\t\t\t\t\n\t\t\t\tList<Local> locaisEncontrados = sistema.buscarLocInstituicao(req.params(\":instituicao\"));\t\n\t\t\t\treturn new Gson().toJson(locaisEncontrados);\n\t\t\t\t\t\t\n\t\t\t});\n\t\t\t\n\t\t}", "title": "" }, { "docid": "9532dc9e9af93c97b4f5eadd4510dcb4", "score": "0.53010523", "text": "public void obtenDatosGrid() {\n\t\twindowLoading.show();\n\t\tdata = new Object[0][0];\n\t\tproxy = new MemoryProxy(data);\n\t\tstore.setDataProxy(proxy);\n\t\tstore.load();\n\t\tfiltro = obtenFiltro();\n\t\tfiltro.setPage(this.currentPage);\n\t\t\n\t\tInvokeRPCServiceLocator.Util.getInstance().ejecuta(Constantes.RIESGOOPBO,\n\t\t\t\t\"consultaRiesgoOp\", filtro, new AsyncCallback() {\n\n\t\t\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\t\t\twindowLoading.hide();\n\t\t\t\t\t\tMessageBox.alert(mensaje.msgr07() + \": \"\n\t\t\t\t\t\t\t\t+ caught.getMessage());\n\t\t\t\t\t\tdeshabilitaBoton();\n\t\t\t\t\t}\n\n\t\t\t\t\tpublic void onSuccess(Object object) {\n\t\t\t\t\t\twindowLoading.hide();\n\t\t\t\t\t\tif (!Utilerias.sesionValida(object)) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (object == null) {\n\t\t\t\t\t\t\tMessageBox.hide();\n\t\t\t\t\t\t\tMessageBox.alert(mensaje.msgr11());\n\t\t\t\t\t\t\tdeshabilitaBoton();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tRiesgoOpResponse response = (RiesgoOpResponse) object;\n\t\t\t\t\t\tif (response.getListaRiesgoOp().size() <= 0) {\n\t\t\t\t\t\t\tMessageBox.hide();\n\t\t\t\t\t\t\tMessageBox.alert(mensaje.msgr08());\n\t\t\t\t\t\t\tdeshabilitaBoton();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (response.isExito()) {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tpages = response.getPages();\n\t\t\t\t\t\t\ttoolbarPage.txtCurrentPage.setValue(\"Pagina \" + currentPage+ \" de \"+ pages);\n\t\t\t\t\t\t\tif(pages == 1){\n\t\t\t\t\t\t\t\ttoolbarPage.disableAll();\n\t\t\t\t\t\t\t} else if (pages > 1 && currentPage == 1){\n\t\t\t\t\t\t\t\ttoolbarPage.disableFirstAll();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tList<CdRiesgoOp> lista = response.getListaRiesgoOp();\n\t\t\t\t\t\t\tdata = getgridDetalleata(lista);\n\t\t\t\t\t\t\tproxy = new MemoryProxy(data);\n\t\t\t\t\t\t\tstore.setDataProxy(proxy);\n\t\t\t\t\t\t\tstore.load();\n\n\t\t\t\t\t\t\thabilitaBoton();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tMessageBox.hide();\n\t\t\t\t\t\t\tMessageBox.alert(response.getMensaje());\n\t\t\t\t\t\t\tdeshabilitaBoton();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t}", "title": "" }, { "docid": "9f7f53a9a2cfcb0a01310c4a9c56a0e8", "score": "0.5293025", "text": "@Override\n protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {\n \t\n \tLOGGER.info(\"Fonction doGet invoqué\");\n \t\n \ttry{\n \n //On tente de récupérer la liste des clients\n Map<UUID,Client> map = Helpers.PIZZERIA_SERVICE.getClients();\n \n // réponse au format UTF-8 pour le support des accents\n resp.setCharacterEncoding(\"UTF-8\");\n\n // récupération du contenu du fichier template\n String template = Files.readAllLines(Paths.get(this.getClass().getClassLoader().getResource(TEMPLATE_CLIENT_LISTE).toURI())).stream().collect(Collectors.joining());\n \n String templateModifie = template.replace(\"{{maListe}}\", genererTableHtmlListeClients(map));\n\n // écriture dans le corps de la réponse\n PrintWriter writer = resp.getWriter();\n writer.write(templateModifie);\n \n \t\t\n \t}catch (URISyntaxException e) {\n LOGGER.error(\"Fichier HTML non trouvé\", e);\n }\n \t\n \t\n }", "title": "" }, { "docid": "407883343deaea828ad9bcc796540857", "score": "0.5285956", "text": "@RequestMapping(method=RequestMethod.GET)\n\tpublic ResponseEntity<List<Cliente>> findAll(){\n\t\tList<Cliente> clientes = clienteService.findAll();\n\t\treturn ResponseEntity.ok().body(clientes);\n\t}", "title": "" }, { "docid": "3c43246f29ffea7970ec9744fdb4e695", "score": "0.52811825", "text": "@GetMapping(value = {\"/clienthat/{email}/xml\"}, produces=\"application/xml;charset=UTF-8\")\r\n\tpublic ClientWrapper obtenerClienteHatXml(@PathVariable String email){\r\n\t\tClient c = clientService.getClient(email);\r\n\t\tClientWrapper cw = new ClientWrapper(c);\r\n\t\tLink selfLink = linkTo(RestClientController.class).slash(email).withSelfRel();\r\n\t\tLink lnkClientes = linkTo(methodOn(RestClientController.class).obtenerListaCliente()).withRel(\"Lista_Clientes\");\r\n\t\tLink lnkPedidos = linkTo(methodOn(RestClientController.class).obtenerListadoPedidosCliente(email)).withRel(\"Listado_pedidos\");\r\n\t\tcw.add(selfLink);\t\t\r\n\t\tcw.add(lnkClientes);\r\n\t\tcw.add(lnkPedidos);\r\n\t\treturn cw;\t\t\r\n\t}", "title": "" }, { "docid": "64333ce80aa22d20f741e3e4a52ca059", "score": "0.5272775", "text": "public List<SelectItem> getListaRutas() {\r\n\t\tList<SelectItem> list = new ArrayList<SelectItem>();\r\n\t\tRutas[] arrru = null;\r\n\t\ttry {\r\n\t\t\tctRuta = new RutasControllerStub();\r\n\t\t\t//Obtiene y asigna url de configuración de web services\r\n\t\t\tString url = Utils.modificarUrlServicioWeb(ctRuta._getServiceClient().getOptions().getTo().getAddress());\r\n\t\t\tctRuta._getServiceClient().getOptions().setTo(new org.apache.axis2.addressing.EndpointReference(url));\r\n\t\t\t//Agrega al request la operacion a ejecutar\r\n\t\t\treq = new RutasControllerStub.GetRutasExistentes();\r\n\t\t\t\r\n//\t\t\tif(idCatalogo == 7){\r\n//\t\t\t\t//if(idRepresentante != null && idRepresentante != 0) {\r\n\t\t\treq.setPIdRepresentante(idRepresentante.toString());\r\n//\t\t\t\t//}else{ req.setPIdRepresentante(idRepresentante.toString());}\r\n//\t\t\t}else{\r\n//\t\t\t\treq.setPIdRepresentante(\"A\");\r\n//\t\t\t}\r\n\t\t\t//Añade al response la respuesta de la operacion\r\n\t\t\tres = ctRuta.getRutasExistentes(req);\r\n\t\t\tarrru = res.get_return();\r\n\t\t\t//Sea gregan las opciones al SelectItem\r\n\t\t\tlist.add(new SelectItem(0, \"Selecciona una opción\"));\r\n\t\t\tif(arrru != null){\r\n\t\t\t\t//Ciclo que obtiene los datos del WS y los setea en la clase de mapeo del lado del cliente\r\n\t\t\t\tfor(int i=0;i<arrru.length;i++){\r\n\t\t\t\t\tif(!arrru[i].getCveRuta().isEmpty())\r\n\t\t\t\t\t\tlist.add(new SelectItem(arrru[i].getIdRuta(), arrru[i].getCveRuta() + \" - \" + arrru[i].getDescTipoRuta())); \r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} catch (RemoteException excepcionDeInvocacion) {\r\n\t\t\tUtils.GuardarLogMensajeBD(\"CUADMIN001.02\", \"M149\", \"Error al invocar el web service que obtiene los datos de Rutas.\", excepcionDeInvocacion.toString(), config.getIdUsuario());\r\n\t\t\tmsg = \"Error al invocar el servicio que consulta los datos de Rutas.\";\r\n\t\t}finally{ }\r\n\t\treturn list;\r\n\t}", "title": "" }, { "docid": "06810ba1eb079a11d0228428682854c0", "score": "0.5271002", "text": "protected void processRequest(HttpServletRequest request, HttpServletResponse response)\r\n throws ServletException, IOException {\r\n PrintWriter out = response.getWriter();\r\n \r\n RegistrationChild[] paginateChildRequestSet;\r\n List<RegistrationChild> listChildRequest;\r\n // parametro di ricerca della tabella\r\n String searchTerm = request.getParameter(\"sSearch\");\r\n try {\r\n JSONObject result = new JSONObject();\r\n JSONArray array = new JSONArray();\r\n int start = 0;\r\n int amount = 10;\r\n String sStart = request.getParameter(\"iDisplayStart\");\r\n String sAmount = request.getParameter(\"sAmount\");\r\n String sEcho = request.getParameter(\"sEcho\");\r\n if (sStart != null) {\r\n start = Integer.parseInt(sStart);\r\n if (start < 0) {\r\n start = 0;\r\n }\r\n }\r\n if (sAmount != null) {\r\n amount = Integer.parseInt(sAmount);\r\n if (amount < 10) {\r\n amount = 10;\r\n }\r\n }\r\n \r\n // L'output è in base alla tipologia dell'account\r\n Account account = (Account) request.getSession().getAttribute(\"user\");\r\n RegistrationChild child = new RegistrationChild();\r\n switch (account.getAccountType()) {\r\n case \"Genitore\":\r\n // Il genitore può vedere solo le proprie domande di iscrizione\r\n child.setParentId(account.getId());\r\n listChildRequest = registrationChildManager.search(child, searchTerm);\r\n \r\n break;\r\n case \"Segreteria\":\r\n // La segreteria potrà vedere solo le richieste sottomesse dai genitori, che dovrà andare a confermare\r\n child.setRegistrationPhase(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_SUBMITTED);\r\n listChildRequest = registrationChildManager.search(child, searchTerm);\r\n child.setRegistrationPhase(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_COMPLETED);\r\n listChildRequest.addAll(registrationChildManager.search(child, searchTerm));\r\n break;\r\n default:\r\n listChildRequest = new ArrayList<RegistrationChild>();\r\n break;\r\n }\r\n \r\n int linksNumber = listChildRequest.size();\r\n if (linksNumber < amount) {\r\n amount = linksNumber;\r\n }\r\n if (linksNumber != 0) {\r\n int toShow = linksNumber - start;\r\n if (toShow > 10) {\r\n paginateChildRequestSet = new RegistrationChild[amount];\r\n System.arraycopy(listChildRequest.toArray(), start, paginateChildRequestSet, 0, amount);\r\n } else {\r\n paginateChildRequestSet = new RegistrationChild[toShow];\r\n System.arraycopy(listChildRequest.toArray(), start, paginateChildRequestSet, 0, toShow);\r\n }\r\n \r\n for (RegistrationChild regChildRequest : paginateChildRequestSet) {\r\n // Decommentare di seguito se si vuole nascondere le richieste eliminate\r\n // if(!regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_DELETED)) {\r\n JSONArray ja = new JSONArray();\r\n ja.put(regChildRequest.getFiscalCode());\r\n ja.put(regChildRequest.getSurname());\r\n ja.put(regChildRequest.getName());\r\n ja.put(regChildRequest.getRegistrationPhase());\r\n \r\n StringBuilder operazioni = new StringBuilder();\r\n // Sia genitore che segreteria possono vederne i dettagli, la visualizza dettagli deve esser possibile su tutte le domanda\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Visualizza Dettagli\\\" alt=\\\"Dettagli\\\" src='img/lente.gif' onclick='openViewDetailsRegistrationChildWindow(\\\"\"+regChildRequest.getId()+\"\\\")'/>\");\r\n \r\n if(account.getAccountType().equals(\"Genitore\")) {\r\n // solo il genitore può eliminarla o modificarla\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_DRAFT)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Modifica\\\" alt=\\\"Modifica\\\" src='img/edit.gif' onclick='openModifyRegistrationChildWindow(\\\"\"+regChildRequest.getId()+\"\\\")'/>\");\r\n }\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_SUBMITTED)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Stampa modulo\\\" alt=\\\"Stampa modulo\\\" src='img/print.png' onclick='printPDFRegistrationChild(\"+regChildRequest.getId()+\")'/>\");\r\n }\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_DRAFT) || regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_SUBMITTED) || \r\n regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_RECEIPT)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Elimina\\\" alt=\\\"Elimina\\\" src='img/trash.png' onclick='openDeleteRegistrationChildWindow(\\\"\" + regChildRequest.getId() + \"\\\")'/>\");\r\n }\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_ACCEPTED)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Completa\\\" alt=\\\"Completa\\\" src='img/tocomplete.png' onclick='openCompleteRegistrationChildWindow(\\\"\" + regChildRequest.getId() + \"\\\")'/>\");\r\n }\r\n }\r\n if(account.getAccountType().equals(\"Segreteria\")) {\r\n // solo la segreteria può confermare\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_SUBMITTED)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Conferma ricezione\\\" alt=\\\"Conferma ricezione\\\" src='img/accept.png' onclick='confirmReceivingRegistrationChildWindow(\\\"\" + regChildRequest.getId() + \"\\\")'/>\");\r\n }\r\n // e confermare il completamento\r\n if(regChildRequest.getRegistrationPhase().equals(DBNames.ATT_REGISTRATIONCHILD_REGISTRATIONPHASE_COMPLETED)) {\r\n operazioni.append(\"<input class='tableImage' type='image' style=\\\"width:20px;height:20px\\\" title=\\\"Conferma completamento\\\" alt=\\\"Conferma completamento\\\" src='img/accept.png' onclick='openComfirmCompletingRegistrationChildWindow(\\\"\" + regChildRequest.getId() + \"\\\")'/>\");\r\n }\r\n }\r\n ja.put(operazioni.toString());\r\n array.put(ja);\r\n //} DECOMMENTARE INSIEME AL COMMENTO PRECEDENTE PER NASCONDERE RICHIESTE ELIMINATE\r\n }\r\n }\r\n result.put(\"sEcho\", sEcho);\r\n result.put(\"iTotalRecords\", linksNumber);\r\n result.put(\"iTotalDisplayRecords\", linksNumber);\r\n result.put(\"aaData\", array);\r\n response.setContentType(\"application/json\");\r\n response.setHeader(\"Cache-Control\",\r\n \"private, no-store, no-cache, must-revalidate\");\r\n response.setHeader(\"Pragma\", \"no-cache\");\r\n out.print(result);\r\n } catch(SQLException ex) {\r\n Logger.getLogger(ServletGetTableRegistrationChild.class.getName()).log(Level.SEVERE, null, ex);\r\n } finally {\r\n out.close();\r\n }\r\n }", "title": "" }, { "docid": "b3d2ab345df5207627253558731a131b", "score": "0.5263211", "text": "public List getProgramaCanastaPremiList(Map criteria);", "title": "" }, { "docid": "8db5052b6b49d3312bfa0f21775a0d51", "score": "0.5262609", "text": "@Override\r\n public Set<IClient> listAllClientsWithReservationsNotFinished() {\r\n Set<IClient> ordenado = new TreeSet<>();\r\n\r\n for (IClient c : cl.clients) {\r\n for (Reservation r : re.reserves) {\r\n if (r.getCli() == c && r.getStatus() != Reservation.StatusReserve.FINISHED) {\r\n ordenado.add(c);\r\n }\r\n }\r\n }\r\n return ordenado;\r\n }", "title": "" }, { "docid": "25d9b4dff7f8627926168601ddfb3938", "score": "0.52617055", "text": "private void listar(HttpPresentationComms comms, String _operacion) throws HttpPresentationException, KeywordValueException {\n/* 265 */ activarVista(\"consulta\");\n/* 266 */ int codigoEmpleado = 0;\n/* */ try {\n/* 268 */ codigoEmpleado = Integer.parseInt(comms.request.getParameter(\"codigoEmpleado\"));\n/* */ }\n/* 270 */ catch (Exception e) {}\n/* */ \n/* */ \n/* 273 */ String nombres = comms.request.getParameter(\"nombres\");\n/* 274 */ String apellidos = comms.request.getParameter(\"apellidos\");\n/* 275 */ String estado = comms.request.getParameter(\"estado\");\n/* 276 */ if (estado == null) {\n/* 277 */ estado = \"\";\n/* */ }\n/* */ \n/* */ \n/* 281 */ HTMLSelectElement combo = this.pagHTML.getElementFestado();\n/* 282 */ comboMultivalores(combo, \"ESTADO_REGISTRO\", \"\" + estado, true);\n/* */ \n/* */ \n/* 285 */ if (_operacion.equals(\"X\")) {\n/* */ return;\n/* */ }\n/* */ \n/* */ \n/* 290 */ SisUsuariosDAO ob = new SisUsuariosDAO();\n/* 291 */ Collection<SisUsuariosDTO> arr = ob.cargarTodos(codigoEmpleado, nombres, apellidos, estado);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 296 */ HTMLTableSectionElement hte = this.pagHTML.getElementDetalle();\n/* 297 */ int cuantas = 0;\n/* 298 */ Iterator<SisUsuariosDTO> iterator = arr.iterator();\n/* 299 */ while (iterator.hasNext()) {\n/* 300 */ SisUsuariosDTO reg = (SisUsuariosDTO)iterator.next();\n/* 301 */ HTMLElement eltr = (HTMLElement)this.pagHTML.createElement(\"tr\");\n/* 302 */ eltr.appendChild(newtd(\"\" + reg.getCodigoEmpleado()));\n/* 303 */ String url = \"SisUsuarios.po?_operacion=V&codigoEmpleado=\" + reg.getCodigoEmpleado() + \"\";\n/* 304 */ eltr.appendChild(newtdhref(\"\" + reg.getNumeroIdentificacion(), url));\n/* 305 */ eltr.appendChild(newtd(\"\" + reg.getNombreTipoIdentificacion()));\n/* 306 */ eltr.appendChild(newtd(\"\" + reg.getNombres()));\n/* 307 */ eltr.appendChild(newtd(\"\" + reg.getApellidos()));\n/* 308 */ eltr.appendChild(newtd(\"\" + reg.getNombreEstado()));\n/* 309 */ eltr.appendChild(newtd(\"\" + reg.getIdcorreo()));\n/* 310 */ eltr.appendChild(newtd(\"\" + reg.getNombreCargoGenerico()));\n/* 311 */ hte.appendChild(eltr);\n/* 312 */ cuantas++;\n/* */ } \n/* 314 */ arr.clear();\n/* 315 */ this.pagHTML.setTextNroRegistros(\"\" + cuantas);\n/* */ }", "title": "" }, { "docid": "e8cd2a9378852fc75b7f10bfb1e7595e", "score": "0.5261279", "text": "public String navigateEmprestimoList() {\n if (this.getSelecionado() != null) {\n FacesContext.getCurrentInstance().getExternalContext().getRequestMap().put(\"Emprestimo_items\", this.getSelecionado().getEmprestimoList());\n }\n return \"/emprestimo/index\";\n }", "title": "" }, { "docid": "e1ed2b6692ddadc75f60e32c7646ab69", "score": "0.52601486", "text": "@Override\r\n\tpublic ArrayList<Client> getByNomPrenom(String nom, String prenom) {\r\n\t\t// TODO Auto-generated method stub\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7a6c70a434e0656db2a61140c8afd320", "score": "0.52422315", "text": "public List<Business> findBussinessByRecom(int currentPage, int pageSize) {\n\t\treturn businessDao.findBussinessByRecom(currentPage,pageSize);\r\n\t}", "title": "" }, { "docid": "e3f0c98aaf66e222a01a3b9bbb4f48dc", "score": "0.5232323", "text": "@Override\n\tpublic List<AplicacionDominio> consultar(AplicacionDominio dominio) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "d8d4fb6e7c178512d6185b666bef27f7", "score": "0.52321666", "text": "public List getProgramaCobranzaTramoList(Map criteria);", "title": "" }, { "docid": "51266e0a5f25251db51338fd2b83b494", "score": "0.52201617", "text": "@GetMapping(\"/partners\")\n @Timed\n @PreAuthorize(\"hasAnyRole(\" + DEFAULT_PARTNER_API_ROLES + \")\")\n public ResponseEntity<List<Partner>> getAllPartners(PartnerCriteria criteria, Pageable pageable) {\n log.debug(\"REST request to get Partners by criteria: {}\", criteria);\n Page<Partner> page = partnerQueryService.findByCriteria(criteria, pageable);\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/partners\");\n return new ResponseEntity<>(page.getContent(), headers, HttpStatus.OK);\n }", "title": "" }, { "docid": "8170454a4a487ac1890fd24f902f180f", "score": "0.52141225", "text": "@Override\n\tpublic List<TipoCliente> buscarTipoDeClientes() {\n\t\tList<TipoCliente> tiposClientes = new ArrayList<TipoCliente>();\t\t\n\t\ttiposClientes.add(new TipoCliente(\"TODOS\"));\n\t\ttiposClientes.addAll(tipCliDao.buscarTipoDeClientes());\n\t\treturn tiposClientes;\n\t}", "title": "" }, { "docid": "8ceebb34e8be429a415b0e435a29406a", "score": "0.52114254", "text": "public PageContaBancariaPortadorResponse listarContasBancariasPortadores(Long idConta, String nomeAgencia, Long banco, String numeroAgencia, String numeroConta, Integer flagAtivo, Integer flagContaOrigemDoc, Long idPessoaFisica, String favorecido, String numeroReceiraFederal, List<String> sort, Integer page, Integer limit) throws ApiException {\n Object postBody = null;\n \n // create path and map variables\n String path = \"/api/contas-bancarias-portador\".replaceAll(\"\\\\{format\\\\}\",\"json\");\n\n // query params\n List<Pair> queryParams = new ArrayList<Pair>();\n Map<String, String> headerParams = new HashMap<String, String>();\n Map<String, Object> formParams = new HashMap<String, Object>();\n\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"idConta\", idConta));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"nomeAgencia\", nomeAgencia));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"banco\", banco));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"numeroAgencia\", numeroAgencia));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"numeroConta\", numeroConta));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"flagAtivo\", flagAtivo));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"flagContaOrigemDoc\", flagContaOrigemDoc));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"idPessoaFisica\", idPessoaFisica));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"favorecido\", favorecido));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"numeroReceiraFederal\", numeroReceiraFederal));\n \n queryParams.addAll(apiClient.parameterToPairs(\"multi\", \"sort\", sort));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"page\", page));\n \n queryParams.addAll(apiClient.parameterToPairs(\"\", \"limit\", limit));\n \n\n \n\n \n\n final String[] accepts = {\n \"application/json\"\n };\n final String accept = apiClient.selectHeaderAccept(accepts);\n\n final String[] contentTypes = {\n \"application/json\"\n };\n final String contentType = apiClient.selectHeaderContentType(contentTypes);\n\n //String[] authNames = new String[] {\"client_id\", };\n String[] authNames = new String[] {\"client_id\", \"access_token\"};\n\n \n GenericType<PageContaBancariaPortadorResponse> returnType = new GenericType<PageContaBancariaPortadorResponse>() {};\n return apiClient.invokeAPI(path, \"GET\", queryParams, postBody, headerParams, formParams, accept, contentType, authNames, returnType);\n \n }", "title": "" }, { "docid": "94af5749c9640515951b6216cc3e7d08", "score": "0.52091354", "text": "public List<Clients> selectByNom(String nom) throws DALException;", "title": "" }, { "docid": "59fe87438eaa562221aad97b8f94c780", "score": "0.5208957", "text": "public List<Client> listeClients() {\n\t\tfinal CriteriaBuilder lCriteriaBuilder = entityManager.getCriteriaBuilder();\n\t\tfinal CriteriaQuery<Client> lCriteriaQuery = lCriteriaBuilder.createQuery(Client.class);\n\t\tfinal Root<Client> lRoot = lCriteriaQuery.from(Client.class);\n\t\tlCriteriaQuery.select(lRoot);\n\t\tfinal TypedQuery<Client> lTypedQuery = entityManager.createQuery(lCriteriaQuery);\n\t\treturn lTypedQuery.getResultList();\n\t}", "title": "" }, { "docid": "a56e8057f7f290ff5035b34fcf78441c", "score": "0.5206767", "text": "public List getProgCanasta(Map criteria) ;", "title": "" }, { "docid": "28c47559c51aea824ff28c489e9889e5", "score": "0.52063864", "text": "@GetMapping(value = {\"/clienthat/{email}/json\"}, produces=\"application/json;charset=UTF-8\")\r\n\tpublic ClientWrapper obtenerClienteHatJson(@PathVariable String email){\r\n\t\tClient c = clientService.getClient(email);\r\n\t\tClientWrapper cw = new ClientWrapper(c);\r\n\t\tLink selfLink = linkTo(RestClientController.class).slash(email).withSelfRel();\r\n\t\tLink lnkClientes = linkTo(methodOn(RestClientController.class).obtenerListaCliente()).withRel(\"Lista_Clientes\");\r\n\t\tLink lnkPedidos = linkTo(methodOn(RestClientController.class).obtenerListadoPedidosCliente(email)).withRel(\"Listado_pedidos\");\r\n\t\tcw.add(selfLink);\t\t\r\n\t\tcw.add(lnkClientes);\r\n\t\tcw.add(lnkPedidos);\r\n\t\treturn cw;\t\t\r\n\t}", "title": "" }, { "docid": "1f3833cfb96f02268826b87fd7a8e754", "score": "0.52012366", "text": "SteammessagesSiteserverui.SiteServerUI_ClientStatus_Response.ClientInfo getClients(int index);", "title": "" }, { "docid": "d95158733c0e30ec0e1ce1001aa97912", "score": "0.51980716", "text": "public static List<String> getClientsList()\n \t{\n \n \t\tList<String> servnames =new ArrayList<String>();\n \t\tfor (int i=0; i<clientfolders.length;i++)\n \t\t{\n \t\t\tservnames.add(clientfolders[i][0]);\n \t\t}\n \t\treturn servnames;\n \t}", "title": "" }, { "docid": "0ba273a6ca1223c5afcd87bf26ea2c2a", "score": "0.51951706", "text": "public List clientesVtabla(String nombre,Date inicio, Date finalfecha) {\n if(inicio==null||finalfecha==null){\n //Si la fecha de incio y final son nulas procedemos a mandarle estos parametros a mi Query\n ArrayList<Reporte>listReporte=new ArrayList<>();\n String sql=\"SELECT v.usuario_vendedor, v.fecha_compra, dv.mueble_identificador_mueble, m.nombre_mueble_ensamble, m.precio FROM venta v JOIN detalle_venta dv ON (v.id_venta=dv.venta_id) JOIN mueble_ensamblado m ON(dv.mueble_identificador_mueble=m.identificador_mueble) WHERE v.usuario_vendedor LIKE '\"+nombre+\"'\";\n try{\n //Establecemos una conexion con la base de datos y enviamos los parametros de las Querys\n con=conexion.getConnection();\n ps =con.prepareStatement(sql);\n rs =ps.executeQuery();\n while(rs.next()){\n //Creamos un objeto reporte y lo asignamos a la lista\n Reporte reporte=new Reporte();\n reporte.setNombreClientre(rs.getString(\"usuario_vendedor\"));\n reporte.setFecha_compra(rs.getDate(\"fecha_compra\").toLocalDate());\n reporte.setMueble_identificador_mueble(rs.getString(\"mueble_identificador_mueble\"));\n reporte.setNombre_mueble_ensamble(rs.getString(\"nombre_mueble_ensamble\"));\n reporte.setPrecio(rs.getDouble(\"precio\"));\n listReporte.add(reporte);\n }\n // Error SQL al momento de listar mis reportes\n }catch(SQLException e){\n System.err.print(e);\n\n } \n return listReporte;\n } else {\n //Si la fecha de incio y final no son nulas procedemos a mandarle estos parametros a mi Query\n ArrayList<Reporte>listReporte=new ArrayList<>();\n String sql=\"SELECT v.usuario_vendedor, v.fecha_compra, dv.mueble_identificador_mueble, m.nombre_mueble_ensamble, m.precio FROM venta v JOIN detalle_venta dv ON (v.id_venta=dv.venta_id) JOIN mueble_ensamblado m ON(dv.mueble_identificador_mueble=m.identificador_mueble) WHERE v.usuario_vendedor LIKE '\"+nombre+\"' AND v.fecha_compra BETWEEN '\"+inicio+\"' AND '\"+finalfecha+\"'\";\n try{\n //Establecemos una conexion con la base de datos y enviamos los parametros de las Querys\n con=conexion.getConnection();\n ps =con.prepareStatement(sql);\n rs =ps.executeQuery();\n while(rs.next()){\n //Creamos un objeto reporte y lo asignamos a la lista\n Reporte reporte=new Reporte();\n reporte.setNombreClientre(rs.getString(\"usuario_vendedor\"));\n reporte.setFecha_compra(rs.getDate(\"fecha_compra\").toLocalDate());\n reporte.setMueble_identificador_mueble(rs.getString(\"mueble_identificador_mueble\"));\n reporte.setNombre_mueble_ensamble(rs.getString(\"nombre_mueble_ensamble\"));\n reporte.setPrecio(rs.getDouble(\"precio\"));\n listReporte.add(reporte);\n }\n // Error SQL al momento de listar mis reportes\n }catch(SQLException e){\n System.err.print(e);\n\n } \n return listReporte;\n } \n }", "title": "" }, { "docid": "38e281ad7984592546f509e42ba84cc9", "score": "0.5184556", "text": "public List getInformacionCUV(Map criteria);", "title": "" }, { "docid": "ff21010ce48d486d2116061f3221a447", "score": "0.51791894", "text": "@Override //MÉTODO QUE NOS DEVOLVERÁ EL LISTADO DE LOS CLIENTES\n\t@Transactional\n\tpublic List<Cliente> getClientes() {\n\t\tSession miSession = sessionFactory.getCurrentSession();\n\t\t//CREAR CONSULTA.\n\t\tQuery<Cliente> miQuery = miSession.createQuery(\"from cliente\",Cliente.class);\n\t\t//EJECUTAR LA QUERY Y DEVOLVER RESULTADOS.\n\t\tList<Cliente> clientes = miQuery.getResultList();\n\t\t\n\t\treturn clientes;\n\t}", "title": "" }, { "docid": "1c60bbc1ec17a3e6fe82643003b81c27", "score": "0.51745486", "text": "public List getCanastaDetalleList(Map criteria);", "title": "" }, { "docid": "db166ab682e2543dce23b4262207d65e", "score": "0.51662064", "text": "@WebMethod(operationName = \"buscarExpedienteDinamico\")\n public List<ConsultaDinamica> buscarExpedienteDinamico(\n @WebParam(name = \"listaIndice\") List<com.develcom.dao.Indice> listaIndice,\n @WebParam(name = \"listaCat\") List<com.develcom.dao.Categoria> listaCat,\n @WebParam(name = \"listaSubCat\") List<com.develcom.dao.SubCategoria> listaSubCat,\n @WebParam(name = \"listaTipoDoc\") List<com.develcom.dao.TipoDocumento> listaTipoDoc,\n @WebParam(name = \"estatusDocumento\") int estatusDocumento,\n @WebParam(name = \"idLibreria\") int idLibreria) {\n\n String WHERE, tmp = \"\";\n BaseDato bd = new BaseDato();\n CallableStatement stored;\n ResultSet rsDynamicQuery;\n BusquedaDinamicaUtilidad utilidad = new BusquedaDinamicaUtilidad();\n List<ConsultaDinamica> consultaDinamicas = new ArrayList<>();\n ConsultaDinamica consultaDinamica;\n List<Indice> indices;\n Indice indice;\n List<String> expedientes = new ArrayList<>();\n SimpleDateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyy\");\n\n try {\n\n traza.trace(\"tamaño lista categoria \" + listaCat.size(), Level.INFO);\n traza.trace(\"tamaño lista subCategoria \" + listaSubCat.size(), Level.INFO);\n traza.trace(\"tamaño lista tipo documento \" + listaTipoDoc.size(), Level.INFO);\n traza.trace(\"tamaño lista indice \" + listaIndice.size(), Level.INFO);\n\n traza.trace(\"construyendo la consulta dinamica\", Level.INFO);\n\n if (!listaIndice.isEmpty()) {\n traza.trace(\"creando los filtros de la consulta dinamica\", Level.INFO);\n WHERE = utilidad.crearFiltrosIndices(listaIndice, listaCat, listaSubCat, listaTipoDoc, false);\n traza.trace(\"filtros consulta dinamica \" + WHERE, Level.INFO);\n\n if (listaIndice.get(0).isUpdateIndices()) {\n WHERE = WHERE + \" AND c.id_categoria=\" + utilidad.getIdCategoria()\n + \" AND l.id_libreria=\" + idLibreria + \"\\n ORDER BY e.expediente, i.id_indice\";\n } else if (!listaCat.isEmpty()) {\n WHERE = WHERE + \" AND d.ESTATUS_DOCUMENTO=\" + estatusDocumento\n + \" AND l.id_libreria=\" + idLibreria + \"\\n ORDER BY e.expediente, i.id_indice\";\n } else {\n WHERE = WHERE + \" AND d.ESTATUS_DOCUMENTO=\" + estatusDocumento\n + \" AND c.id_categoria=\" + utilidad.getIdCategoria()\n + \" AND l.id_libreria=\" + idLibreria + \"\\n ORDER BY e.expediente, i.id_indice\";\n }\n\n traza.trace(\"filtro antes de llamar al procedimiento \\\"f_buscar_expediente_dinamico\\\" \" + WHERE, Level.INFO);\n\n stored = bd.conectar().prepareCall(\"{ ? = call f_buscar_expediente_dinamico( ?, ?, ? ) }\");\n stored.registerOutParameter(1, Types.OTHER);\n stored.setString(2, WHERE);\n stored.setString(3, null);\n\n if (listaIndice.get(0).isUpdateIndices()) {\n stored.setString(4, \"1\");\n } else {\n stored.setString(4, \"0\");\n }\n\n stored.execute();\n\n rsDynamicQuery = (ResultSet) stored.getObject(1);\n\n while (rsDynamicQuery.next()) {\n if (!tmp.equalsIgnoreCase(rsDynamicQuery.getString(\"expediente\"))) {\n tmp = rsDynamicQuery.getString(\"expediente\");\n traza.trace(\"expediente \" + tmp, Level.INFO);\n expedientes.add(rsDynamicQuery.getString(\"expediente\"));\n }\n }\n\n if (!expedientes.isEmpty()) {\n rsDynamicQuery.close();\n\n traza.trace(\"tamaño lista de resultado de la consulta para obtener los expedientes \" + expedientes.size(), Level.INFO);\n\n for (String expe : expedientes) {\n indices = new ArrayList<>();\n\n stored = bd.conectar().prepareCall(\"{ ? = call f_buscar_expediente_dinamico( ?, ?, ? ) }\");\n stored.registerOutParameter(1, Types.OTHER);\n stored.setString(2, null);\n stored.setString(3, expe);\n stored.setString(4, \" \");\n\n stored.execute();\n\n rsDynamicQuery = (ResultSet) stored.getObject(1);\n\n while (rsDynamicQuery.next()) {\n\n String clave = rsDynamicQuery.getString(\"clave\");\n\n indice = new Indice();\n\n indice.setClave(clave);\n indice.setIdIndice(rsDynamicQuery.getInt(\"id_indice\"));\n indice.setIndice(rsDynamicQuery.getString(\"indice\"));\n indice.setTipo(rsDynamicQuery.getString(\"tipo\"));\n\n if (rsDynamicQuery.getObject(\"valor\") != null) {\n traza.trace(\"indice \" + rsDynamicQuery.getString(\"indice\") + \" valor \" + rsDynamicQuery.getObject(\"valor\") + \" clave \" + clave, Level.INFO);\n indice.setValor(rsDynamicQuery.getObject(\"valor\"));\n } else {\n traza.trace(\"indice \" + rsDynamicQuery.getString(\"indice\") + \" valor \" + rsDynamicQuery.getObject(\"valor\") + \" clave \" + clave, Level.INFO);\n indice.setValor(sdf.format(rsDynamicQuery.getDate(\"fecha_indice\")));\n }\n\n indices.add(indice);\n }\n rsDynamicQuery.close();\n consultaDinamica = new ConsultaDinamica();\n\n traza.trace(\"tamaño total lista de indices \" + indices.size() + \" del expediente \" + expe, Level.INFO);\n if (!indices.isEmpty()) {\n consultaDinamica.setExiste(true);\n consultaDinamica.setIndices(indices);\n consultaDinamicas.add(consultaDinamica);\n }\n }\n\n if (consultaDinamicas.isEmpty()) {\n consultaDinamica = new ConsultaDinamica();\n consultaDinamica.setExiste(false);\n consultaDinamicas.add(consultaDinamica);\n }\n\n } else {\n throw new DW4JServiciosException(\"sin resultado en la primera consulta\");\n }\n\n traza.trace(\"tamaño total lista consulta dinamica \" + consultaDinamicas.size(), Level.INFO);\n\n } else {\n throw new DW4JServiciosException(\"lista de indices vacia, \\n no se raliza la consulta\");\n }\n } catch (DW4JServiciosException e) {\n consultaDinamica = new ConsultaDinamica();\n consultaDinamica.setExiste(false);\n consultaDinamicas.add(consultaDinamica);\n traza.trace(\"error al armar la consulta dinamica\", Level.ERROR, e);\n } catch (SQLException e) {\n consultaDinamica = new ConsultaDinamica();\n consultaDinamica.setExiste(false);\n consultaDinamicas.add(consultaDinamica);\n traza.trace(\"error en la consulta dinamica \" + consultaDinamica.isExiste(), Level.ERROR, e);\n } catch (Exception e) {\n consultaDinamica = new ConsultaDinamica();\n consultaDinamica.setExiste(false);\n consultaDinamicas.add(consultaDinamica);\n traza.trace(\"error general en la busqueda\", Level.ERROR, e);\n } finally {\n try {\n if (!bd.isClosed()) {\n bd.desconectar();\n }\n } catch (SQLException ex) {\n traza.trace(\"problemas al desconectar la base de datos\", Level.ERROR, ex);\n }\n }\n\n return consultaDinamicas;\n }", "title": "" }, { "docid": "dd60f7c582ccb35c761c1f4386e93e4a", "score": "0.51641506", "text": "private void CargarPreciosClientesySistemaHTTP(){\n\n }", "title": "" }, { "docid": "ad18f31faee6967462d3f382dd682506", "score": "0.51568353", "text": "public List getBonoLanzamientoList(Map criteria);", "title": "" }, { "docid": "208c57f1c156dc89b95846fa616b15c0", "score": "0.515133", "text": "public void afficherClients() {\n String identite;\n for (Client c : Parking.getInstance().getListeClient()) {\n identite = c.getNom() + \" \" + c.getPrenom();\n client.addItem(identite);\n }\n\n }", "title": "" }, { "docid": "396c526ba3b6d32a9b6aca661ec1a955", "score": "0.51445585", "text": "@Override\r\n\tpublic List<Cliente> obtenerTodosClientes() {\n\t\treturn listadoClientes;\r\n\t}", "title": "" }, { "docid": "9abda5d521509a133b6d5cee4132c4c7", "score": "0.51424426", "text": "@Override\r\n\tpublic ArrayList<Client> getByAdresse(int no_rue, String voie) {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "4285bec77539d019dcdf8efd434c2ab0", "score": "0.5139872", "text": "public List getProgramaCorporativoList(Map criteria);", "title": "" }, { "docid": "2131825dac98604a9b3d85403e1a271e", "score": "0.5134878", "text": "java.util.List<parspiceTest.FurnshReq> \n getRequestsList();", "title": "" } ]
2f5bd91bd67f9fb0cebabcae9a322e22
Called when preparing to save a ship structure. Use this to prevent jump during critical events/animations.
[ { "docid": "c229c18df96d5ce4021b2dbf5e5debe9", "score": "0.0", "text": "boolean isJumpReady(Entity entity);", "title": "" } ]
[ { "docid": "d7fa4b99a4bd7311e9e24f0c1d3c0d29", "score": "0.60701007", "text": "private void emergencySave() {\n // FIXME: GameModule and GameState need save methods which take a filename\n /* \n final GameModule mod = GameModule.getGameModule();\n if (mod != null) mod.save(false);\n \n final GameState state = mod.getGameState();\n if (state != null && state.isModified()) {\n state.saveGame();\n }\n */ \n }", "title": "" }, { "docid": "a424d0f91da4105109bef85040ed56b8", "score": "0.5976678", "text": "public void prepSave()\r\n\t{\n\t\tloadSave();\r\n\t\t\r\n\t\tlocationModule.postInit();\r\n\t\t\r\n\t\tfor(int i=0; i<1; i++)\r\n\t\t{\r\n\t\t\t//playerInventory.moveItem(itemLookupModule.generateItem(\"All\"));\r\n\t\t}\r\n\t\t\r\n\t\tredrawWallpaper();\r\n\t\t\r\n\t\t//generate a new unit ONLY if we have no units after loading\r\n\t\tif(partyData.unitCount() <= 0)\r\n\t\t{\r\n\t\t\tUnit newUnit = null;\r\n\t\t\t\r\n\t\t\tnewUnit = new Unit(coreModule, \"Blazlin\", 0, creatureDatabase.database);\r\n\t\t\tnewUnit.initialize(10, 2, 2);\r\n\t\t\tnewUnit.faction = \"Player\";\r\n\t\t\tpartyData.addUnit(newUnit);\r\n\t\t\tnewUnit.setMoney(5000);\r\n\t\t\t\r\n\t\t\tnewUnit = new Unit(coreModule, \"Crustlin\", 0, creatureDatabase.database);\r\n\t\t\tnewUnit.initialize(5, 3, 2);\r\n\t\t\tnewUnit.faction = \"Player\";\r\n\t\t\tpartyData.addUnit(newUnit);\r\n\t\t\t\r\n\t\t\tnewUnit = new Unit(coreModule, \"Wattlin\", 0, creatureDatabase.database);\r\n\t\t\tnewUnit.initialize(5, 3, 3);\r\n\t\t\tnewUnit.faction = \"Player\";\r\n\t\t\tpartyData.addUnit(newUnit);\r\n\t\t\t\r\n\t\t\tnewUnit = new Unit(coreModule, \"Gustlin\", 0, creatureDatabase.database);\r\n\t\t\tnewUnit.initialize(5, 4, 2);\r\n\t\t\tnewUnit.faction = \"Player\";\r\n\t\t\tpartyData.addUnit(newUnit);\r\n\t\t\t\r\n\t\t\ttravelLocation(\"Wind\",8,6, true);\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "72d825bc81d45ae986a6774c557c8b8f", "score": "0.5868865", "text": "void prepareForSaving() {\n }", "title": "" }, { "docid": "60a32a21bb3757e6f3985eea54fc4972", "score": "0.5758967", "text": "public void SaveState() {\r\n\t\tif (allow_self_save) {\r\n\t\t\tAppSettings.putCharacterValue(\"DEFAULT_PLAYER\", _actionbar_name + \"_position_x\", pos.x);\r\n\t\t\tAppSettings.putCharacterValue(\"DEFAULT_PLAYER\", _actionbar_name + \"_position_y\", pos.y);\r\n\t\t\tAppSettings.putCharacterValue(\"DEFAULT_PLAYER\", _actionbar_name + \"_length\", _actionbar_length);\r\n\t\t\tAppSettings.putCharacterValue(\"DEFAULT_PLAYER\", _actionbar_name + \"_direction\", _actionbar_direction);\r\n\t\t}\r\n\t\tif (allow_slot_save) {\r\n\t\t\tfor (GUI_ActionBarSlot slot : _actionbar_slots)\r\n\t\t\t\tslot.SaveState();\r\n\t\t}\r\n\t\tif (allow_self_save || allow_slot_save) Config.save_options();\r\n\t}", "title": "" }, { "docid": "41a0c7edab68392e30f7a2eba8de8ef0", "score": "0.5598178", "text": "public void sinkShip() {\n\t\tisSunk = true;\n\t}", "title": "" }, { "docid": "9508274acdc78c9932f8971de4d588e8", "score": "0.5594924", "text": "public void saveShipAddress() {\n\n\t}", "title": "" }, { "docid": "bb9997bd68f383d0cfe043fe707f0d25", "score": "0.5582895", "text": "private void save() throws IOException {\n modelShop.serialization(getStrategy(viewShop), path);\n\n }", "title": "" }, { "docid": "976b2c8285b7b05796369830dabf5f6d", "score": "0.5573115", "text": "private void saveExternal(){\n\t\tif (currentMap == null) return;\n\t\tConfig.savePreferences(currentMapping, currentMap.getAsset().getMapData().getTileMappingLocation());\t\n\t\tcurrentUnitPlacement.setUnits(enemiesPanel.getUnits());\n\t\tConfig.savePreferences(currentUnitPlacement, currentMap.getAsset().getMapData().getEnemiesLocation());\t\n\t\tConfig.savePreferences(new MapEvents(dialogStartPanel.getResouces(), dialogEndPanel.getResouces()) , currentMap.getAsset().getMapData().getEventsLocation());\t\n\t\tConfig.savePreferences(currentMusic , currentMap.getAsset().getMapData().getMusicLocation());\n\t\tassert currentConditions.getWinCondition() != null;\n\t\tConfig.savePreferences(currentConditions , currentMap.getAsset().getMapData().getConditionsLocation());\n\t}", "title": "" }, { "docid": "3303c03f7529011164a16f217bd9ca21", "score": "0.5555965", "text": "public void startSavedGame(){\r\n totalMoves = saveHandler.getSaveMoves();\r\n char[][] symbols = saveHandler.getSaveSymbols();\r\n puzzle = new MarupekeGrid(saveHandler.getSaveSize());\r\n int i = 0;\r\n moves.clear();\r\n for (int row = 0 ; row < symbols.length ; row++) {\r\n for (int column = 0; column < symbols.length ; column++) {\r\n puzzle.setSavedTile(row, column, symbols[row][column]);\r\n }\r\n }\r\n }", "title": "" }, { "docid": "3d4b096135401c89fc8d36266be00c99", "score": "0.553599", "text": "@Override\n public void save() {\n //Nothing to save.\n }", "title": "" }, { "docid": "d4258d9dde36ec80ea8e035dd45d53c2", "score": "0.5514853", "text": "@Override\n\tprotected void dispatchSaveInstanceState (SparseArray<Parcelable> container) {\n\t\tdispatchFreezeSelfOnly( container );\n\t}", "title": "" }, { "docid": "c8f7bc71fbb0ee20c10107c7a8b2c6c5", "score": "0.550696", "text": "@Override\r\n public boolean ignoreSave() {\n return false;\r\n }", "title": "" }, { "docid": "5dd398a70f645aa5f149e81d439c2f78", "score": "0.55055594", "text": "@Override\n protected void dispatchSaveInstanceState(SparseArray<Parcelable> container) {\n super.dispatchFreezeSelfOnly(container);\n }", "title": "" }, { "docid": "e29753244072f7c38b2936021fbfb09b", "score": "0.5485126", "text": "@Override\n public void saveGeoFenceCoordinates() {\n\n //check if previouly exist, if so confirm\n if (mGeoFenceAlarmData != null) {\n mViewWControls.showSaveFenceConfirmationDialog();\n } else {\n writeGeoFence();\n }\n }", "title": "" }, { "docid": "0d76c0c1749ee12e89393bbfe6cecfac", "score": "0.5466141", "text": "public void putShip() {\r\n // fill in the field by water\r\n for (int j = 0; j < 10; j++) {\r\n for (int i = 0; i < 10; i++) {\r\n Element element = elements[i][j];\r\n element.state = ElementState.WATER;\r\n element.shuted = false;\r\n }\r\n }\r\n\r\n // fill in the field by ships\r\n ships = new ArrayList<Ship>();\r\n for (int i = 4; i > 0; i--) {\r\n for (int j = (5 - i); j > 0; j--) {\r\n Ship ship = new Ship(this, i);\r\n ships.add(ship);\r\n }\r\n }\r\n\r\n // remove the ship environment\r\n for (int j = 0; j < 10; j++) {\r\n for (int i = 0; i < 10; i++) {\r\n Element element = elements[i][j];\r\n if (element.state == ElementState.BORDER) {\r\n element.state = ElementState.WATER;\r\n }\r\n }\r\n }\r\n\r\n }", "title": "" }, { "docid": "54c5db8f39c5ca72247c99c04ec77809", "score": "0.5457022", "text": "void save(Followship followship);", "title": "" }, { "docid": "95f2036b04a0c52bc412444904c9327a", "score": "0.54059803", "text": "public void saveNow() {\n\t\tboolean state = sw.writeSync();\n\t\tsw.writeSync(true);\n\t\tsw.addToQueue(getCreateStatement(fields, false));\n\t\tsw.writeSyncQueue();\n\t\tsw.writeSync(state);\n\t}", "title": "" }, { "docid": "d8105b8eeebb2164e87124dcc1462b32", "score": "0.5381223", "text": "public boolean persistencySaveGame(){\n if(this.game == null){\n return false;\n }\n if(!this.game.isActive()){\n System.out.println(\"Game is over. Skipping save to disk.\");\n return false;\n }\n TurnPhase turnPhase = this.game.getTurnPhase();\n if(!(turnPhase.equals(TurnPhase.PLACE_WORKERS) || turnPhase.equals(TurnPhase.NORMAL))){\n return false;\n }\n System.out.println(\"Saving game to disk...\");\n GameSerializer gameSerializer = new GameSerializer(persistencyFilename);\n return gameSerializer.writeGame(game);\n }", "title": "" }, { "docid": "f8c56ed180f261fec4d8160da519752d", "score": "0.5359394", "text": "@Override\n\t\t\tpublic Parcelable saveState() {\n\t\t\t\treturn null;\n\t\t\t}", "title": "" }, { "docid": "89213128fed8fab2c6f807f1e17f500c", "score": "0.53532815", "text": "protected void preSave() {\r\n ITemplate template = this.getTemplate();\r\n if (template != null) {\r\n template.onBeforeSave(this);\r\n } else {\r\n log.debug(\"no template, so can't run afterSave\");\r\n }\r\n }", "title": "" }, { "docid": "00f4918923a8acfb5dc6e14e892bd305", "score": "0.5339735", "text": "private void shipMovement()\r\n\t{\r\n\t\tif(sh.getX()>=0)\r\n\t\t\tif(kLeft)\r\n\t\t\t\tsh.setX(sh.getX()-2);\r\n\t\tif(sh.getX()<=(backgroundSz.width-sh.getWitdh()))\r\n\t\t\tif(kRight)\r\n\t\t\t\tsh.setX(sh.getX()+2);\r\n\t\tif(kCtrl){fireSecret=false;}\r\n\t\tif(kSpace&&isPlayerFireReady)\r\n\t\t{\r\n\t\t\tisPlayerFireReady=false;\r\n\t\t\tbindex++;\r\n\t\t\tfire=true;\r\n\t\t\tif(bindex>=bullet.length-1) \r\n\t\t\t\tresize();\r\n\t\t\tbullet[bindex] = new Bullet();\r\n\t\t\tbullet[bindex].setFriendlyFire(false);\r\n\t\t\tbullet[bindex].setFireMotion(true);\r\n\t\t\tbullet[bindex].setAmmoX(sh.getX()+25);\r\n\t\t\tbullet[bindex].setAmmoY(sh.getY());\r\n\t\t\tif(!bulletTime.isRunning())\r\n\t\t\t\tbulletTime.start();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "d60be6fc23036356bc9055f7638f1729", "score": "0.53305155", "text": "@Override\n public Parcelable saveState() {\n return null;\n }", "title": "" }, { "docid": "d60be6fc23036356bc9055f7638f1729", "score": "0.53305155", "text": "@Override\n public Parcelable saveState() {\n return null;\n }", "title": "" }, { "docid": "d60be6fc23036356bc9055f7638f1729", "score": "0.53305155", "text": "@Override\n public Parcelable saveState() {\n return null;\n }", "title": "" }, { "docid": "288292f649b2913986440687850e652d", "score": "0.5322183", "text": "@Override\n\t\tpublic Parcelable saveState() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "288292f649b2913986440687850e652d", "score": "0.5322183", "text": "@Override\n\t\tpublic Parcelable saveState() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "3677a0756b720a2d92e05627c75f5eb6", "score": "0.5317999", "text": "@Override\r\n\t\tpublic Parcelable saveState() {\n\t\t\treturn null;\r\n\t\t}", "title": "" }, { "docid": "0ce1c083658610b15dad95f9b0cb84e3", "score": "0.5316472", "text": "@Override\n\tpublic Parcelable saveState() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "0907de4d63d32bc311b7916da198fe12", "score": "0.5311054", "text": "public void save() {\n\t\tboolean state = sw.writeSync();\n\t\tsw.writeSync(true);\n\t\tsw.addToQueue(getCreateStatement(fields, false));\n\t\tsw.writeSync(state);\n\t}", "title": "" }, { "docid": "5358f3f0b9ef457058d455ce00af1fa7", "score": "0.5305119", "text": "public void requestSaveCurrentGame() {\n try {\n domainController.getGameController().saveCurrentGame();\n } catch (FinishGameException e) {\n nebulaController.finishGame();\n }\n }", "title": "" }, { "docid": "43b1c260a28ce3451bbcf6f391a99f11", "score": "0.53040797", "text": "public void save() {\n try {\n ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(filename));\n out.writeObject(gameData);\n out.flush();\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n //app.exit();\n }\n\n }", "title": "" }, { "docid": "53648cc259ef2e339a360d97f06acfa6", "score": "0.5298248", "text": "protected void saveLevel() throws MinecraftException\n {\n this.checkSessionLock();\n this.worldInfo.setBorderSize(this.getWorldBorder().getDiameter());\n this.worldInfo.getBorderCenterX(this.getWorldBorder().getCenterX());\n this.worldInfo.getBorderCenterZ(this.getWorldBorder().getCenterZ());\n this.worldInfo.setBorderSafeZone(this.getWorldBorder().getDamageBuffer());\n this.worldInfo.setBorderDamagePerBlock(this.getWorldBorder().getDamageAmount());\n this.worldInfo.setBorderWarningDistance(this.getWorldBorder().getWarningDistance());\n this.worldInfo.setBorderWarningTime(this.getWorldBorder().getWarningTime());\n this.worldInfo.setBorderLerpTarget(this.getWorldBorder().getTargetSize());\n this.worldInfo.setBorderLerpTime(this.getWorldBorder().getTimeUntilTarget());\n this.saveHandler.saveWorldInfoWithPlayer(this.worldInfo, this.mcServer.getConfigurationManager().getHostPlayerData());\n this.mapStorage.saveAllData();\n }", "title": "" }, { "docid": "1f29a4c58afbb1c01ca653f59085e113", "score": "0.5293257", "text": "protected void SaveProperties() {\n\t\tlayer.setStartingTime(steBeginTime.getValue());\n\t\tlayer.setEndingTime(steEndTime.getValue());\n\t\tlayer.setVehiclesPerSecond((Integer)spnVehicles.getValue());\n\t}", "title": "" }, { "docid": "1f29a4c58afbb1c01ca653f59085e113", "score": "0.5293257", "text": "protected void SaveProperties() {\n\t\tlayer.setStartingTime(steBeginTime.getValue());\n\t\tlayer.setEndingTime(steEndTime.getValue());\n\t\tlayer.setVehiclesPerSecond((Integer)spnVehicles.getValue());\n\t}", "title": "" }, { "docid": "a2436a9f2ca3d35e4e2658c902328734", "score": "0.52708685", "text": "private static void saveState(){\n\t\tObjectFile.saveAsFile(routines, serializedName);\n\t}", "title": "" }, { "docid": "9905c225ca6cdabf842f5a2e4485a7dd", "score": "0.526239", "text": "@Override\n\tpublic void markDirty() {\n\t\tfor (int i = 0; i < getSizeInventory(); ++i) {\n\t\t\tif (getStackInSlot(i) != null && getStackInSlot(i).stackSize == 0)\n\t\t\t\tinventory[i] = null;\n\t\t}\n\t\twriteToNBT(invStack.getTagCompound());\n\t}", "title": "" }, { "docid": "10981712aab418939fd247a30c047956", "score": "0.52583176", "text": "public void saveMove(){\n \n addMoves2Server(get2dValue() );\n \n //Ultimately, all the moves will be sent to server with loop\n }", "title": "" }, { "docid": "78c0778f7141d771cb65de7eceb67c7f", "score": "0.525793", "text": "public void save() {\n\t\tMapTools mapTool = new MapTools();\n\t\tif (mapTool.validateMap(gameMap, 3)) {\n\t\t\tSystem.out.println(\"Done\");\n\t\t\tboolean bool = true;\n\t\t\twhile (bool) {\n\t\t\t\tString mapName = JOptionPane.showInputDialog(null, \"Please enter the map name to save\");\n\t\t\t\tif (mapName != null) {\n\t\t\t\t\tif (mapName.trim().isEmpty()) {\n\t\t\t\t\t\tJOptionPane.showConfirmDialog(null, \"Please enter some name!\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tgameMap.setName(mapName);\n\t\t\t\t\t\tif (mapTool.saveDataIntoFile(gameMap, mapName)) {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Map has been saved\");\n\t\t\t\t\t\t} \n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Not able to save map file, enter different map name.\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbool = false;\n\t\t\t\t\t}\n\t\t\t\t} \n\t\t\t\telse {\n\t\t\t\t\tbool = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tJOptionPane.showMessageDialog(null, \"Invalid Map, can not save.\");\n\t\t\tSystem.out.println(gameMap.getErrorMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "effb551e5f1c99650bdb14a5b1f20a91", "score": "0.5253721", "text": "public synchronized void prepareToLeave()\n {\n setEstadoDona(SDona.CLOSING_THE_SHOP);\n setShopDoorStat(\"clos\");\n }", "title": "" }, { "docid": "73c74c9b01424d6144896c56f779aa23", "score": "0.5252938", "text": "public void onSaveButton() {\n MAIN_MENU_AUDIO.play(Double.parseDouble(getInitData().get(\"SFXVol\")));\n initData.put(\"name\", strName);\n initData.put(\"width\", String.valueOf(width));\n initData.put(\"height\", String.valueOf(width));\n initData.put(\"player1col\", player1Color);\n initData.put(\"player2col\", player2Color);\n initData.put(\"player3col\", player3Color);\n initData.put(\"player4col\", player4Color);\n initData.put(\"boolDouble\", String.valueOf(boolDouble));\n initData.put(\"boolIce\", String.valueOf(boolIce));\n initData.put(\"boolFire\", String.valueOf(boolFire));\n initData.put(\"boolBack\", String.valueOf(boolBack));\n LESave objSave = new LESave(boardRender, getInitData());\n objSave.Save();\n boolChanges = false;\n }", "title": "" }, { "docid": "5efa5e9d01e4c424a4c8324b4d33562f", "score": "0.5219837", "text": "@Override\nprotected void saveToFile() {\n\n\tsetSaved();\n}", "title": "" }, { "docid": "deb555bc40af336cb9dcd7015baaa94f", "score": "0.5214365", "text": "public void Save(SavedInfo newSave)\n {\n SavedInfo savedInfo = new SavedInfo(newSave.score,\n newSave.health, newSave.xPos, newSave.levelIndex, newSave.getCurrentShip()) ;\n\n try\n {\n FileOutputStream file = new FileOutputStream(\"SavedData\"+currentSaveIndex+\".VeryMuchLearningRandomStuff\");\n\n ObjectOutputStream oos = new ObjectOutputStream(file);\n\n oos.writeObject(savedInfo);\n\n currentSave = savedInfo;\n\n oos.close();\n file.close();\n }catch(IOException exception)\n {\n System.out.println(\"BIG ERROR WITH SAVING FILE : Fatal Io Exception\");\n }\n }", "title": "" }, { "docid": "636c817eed295a29ac330259774e105f", "score": "0.5195465", "text": "public void save() {\r\n game.save();\r\n }", "title": "" }, { "docid": "c67b01682bbb3be9d70f9d8f925a1330", "score": "0.51908875", "text": "public void saveState()\n {\n \n }", "title": "" }, { "docid": "8bc8e1c2039606090a83552d6bcf8cbf", "score": "0.51819956", "text": "public void setShip(boolean isShip) {\n\t\t\tthis.ship = isShip;\n\t\t}", "title": "" }, { "docid": "20a050aaac69be27e50f23aca85b5caa", "score": "0.51542294", "text": "public void saveState() {\n }", "title": "" }, { "docid": "af13155a90e65bcf99933c5b13f5a62b", "score": "0.5151933", "text": "public void addNonPlayerShip() {\n\t\tNonPlayerShip nonPlayerShip = new NonPlayerShip(newXLocation(), newYLocation());\r\n\t\t//add playerShip to game objects\r\n\t\tstore.add(nonPlayerShip);\r\n\t\t//print to console\r\n\t\tSystem.out.println(\"A new NonPlayerShip has been created\");\r\n\t\tupdate();\r\n\t}", "title": "" }, { "docid": "fde6109e437973a12ca840524f777d27", "score": "0.5142669", "text": "@Override\n\tpublic boolean saveShippingData(Map<String, ? extends Serializable> params) {\n\t\tShippingModel model = (ShippingModel) params.get(\"PURCHASING_ORDER\");\n\t\tIMapper<ImportPurchaseOrder, ShippingModel> converter = MapperFactory.getInstance().getMapper(ImportPurchaseOrder.class, ShippingModel.class, MappingStrategy.SETTERS_GETTERS);\n\t\tImportPurchaseOrder orderEntity = converter.mapToEntity(model);\n\t\tMap<String, Object> serviceParams = new HashMap<String, Object>();\n\t\tserviceParams.put(IPurchasingOrderService.PURCHASING_ORDER, orderEntity);\n\t\tserviceParams.put(\"TASK_OBJECT\", params.get(\"TASK_OBJECT\"));\n\t\t\n\t\tMap<String, Object> bp_vars = new HashMap<String, Object>();\n\t\tbp_vars.put(\"shippingDataComplete\", params.get(ShippingController.IS_SHIPPING_DATA_COMPLETE));\n\t\t\n\t\tserviceParams.put(\"BP_VARS\", bp_vars);\n\t\t\n\t\tsaveShippingInfoOfImportPurchaseOrderTransaction.prepareContext(serviceParams);\n\t\tsaveShippingInfoOfImportPurchaseOrderTransaction.processTransaction();\n\t\t\n\t\treturn true;\n\t}", "title": "" }, { "docid": "3645fa269235b794aeae95d19f61167d", "score": "0.514185", "text": "private void saveGame(GCellArea cS, boolean iFC, boolean rEC, boolean reset,\r\n \t\t\tboolean on, int lvlPts, int tP, int tS, int mS, int sT, String t, String c, String diff)\r\n \t{\n \t\tfc.setSelectedFile(new File(\"MazeSave\"));\r\n \t\tint returnVal = fc.showSaveDialog(null);\r\n \t\t\r\n \t\t\r\n \t\tif(returnVal == JFileChooser.APPROVE_OPTION)\r\n \t\t{\r\n \t\t\t//Add the .maze extension to the file\r\n \t\t\tFile file = fc.getSelectedFile();\r\n\t\t\t\r\n\t\t\tString str = file.getName();\r\n\t\t\tString extension=null;\r\n\t\t\tint i=str.lastIndexOf('.');\r\n\t\t\t\r\n\t\t\tif(i>0 && i<str.length()-1)\r\n\t\t\t\textension = str.substring(i+1).toLowerCase();\r\n\t\t\t\r\n\t\t\tif(extension==null || !extension.equals(\"maze\"))\r\n\t\t\t\tfile = new File(file.getPath() + \".maze\");\r\n\t\t\t\r\n \t\t\ttry {\r\n \t\t\t\t//Write mazeFile and saveCells to the file\r\n \t\t\t\tPrintWriter out = new PrintWriter(file);\r\n \t\t\t\t\r\n \t\t\t\t//Header\r\n \t\t\t\tout.println(\"MazeEscape1 Save\");\r\n \t\t\t\t\r\n \t\t\t\t//MazeFile\r\n \t\t\t\tfor(String s:mazeFile)\r\n \t\t\t\t{\r\n \t\t\t\t\tout.println(s);\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\t//Separator token\r\n \t\t\t\tout.println(\"***===***\");\r\n \t\t\t\t\r\n \t\t\t\t//SaveCells\r\n \t\t\t\tfor(GCellCoordinate gc:saveCells)\r\n \t\t\t\t{\r\n \t\t\t\t\tout.println(gc);\r\n \t\t\t\t}\r\n \t\t\t\t\r\n \t\t\t\t//Separator\r\n \t\t\t\tout.println(\"***===***\");\r\n \t\t\t\t\r\n \t\t\t\t//Currently Selected\r\n\t\t\t\tif(cS!=null)\r\n\t\t\t\t\tout.println(new GCellCoordinate(cS));\r\n\t\t\t\telse\r\n\t\t\t\t\tout.println();\r\n \t\t\t\t\r\n \t\t\t\t//time\r\n \t\t\t\tout.println(t);\r\n \t\t\t\t\r\n \t\t\t\t//count\r\n \t\t\t\tout.println(c);\r\n \t\t\t\t\r\n \t\t\t\t//difficulty\r\n \t\t\t\tout.println(diff);\r\n \t\t\t\t\r\n \t\t\t\t//isFirstClick\r\n \t\t\t\tout.println(iFC);\r\n \t\t\t\t\r\n \t\t\t\t//reachedEndCell\r\n \t\t\t\tout.println(rEC);\r\n \t\t\t\t\r\n \t\t\t\t//reset\r\n \t\t\t\tout.println(reset);\r\n \t\t\t\t\r\n \t\t\t\t//on\r\n \t\t\t\tout.println(on);\r\n \t\t\t\t\r\n \t\t\t\t//levelPoints\r\n \t\t\t\tout.println(lvlPts);\r\n \t\t\t\t\r\n \t\t\t\t//timePassed\r\n \t\t\t\tout.println(tP);\r\n \t\t\t\t\r\n \t\t\t\t//timeScore\r\n \t\t\t\tout.println(tS);\r\n \t\t\t\t\r\n \t\t\t\t//minSteps\r\n \t\t\t\tout.println(mS);\r\n \t\t\t\t\r\n \t\t\t\t//stepsTaken\r\n \t\t\t\tout.println(sT);\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\t\r\n \t\t\t\tout.close();\r\n \t\t\t} catch (FileNotFoundException e) {\r\n \t\t\t\tJOptionPane.showMessageDialog(null, \"Could not write to that location. Please try again.\");\r\n \t\t\t}\r\n \t\t}\r\n \t}", "title": "" }, { "docid": "17e4550ba78b14a3bf250b0c0579dd8a", "score": "0.5125305", "text": "public void save() {\n\t\ttry {\n\t\t\tfiCurOutFile = new FileOutputStream(strFileName);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fiCurOutFile);\n\t\t\toos.writeObject(this);\n\t\t\toos.close();\n\t\t\tfiCurOutFile.close();\n\t\t}\n\t\tcatch(IOException i)\n\t\t{\n\t\t\ti.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "0db6efe5ff40719de07affdba9a8b66e", "score": "0.5114497", "text": "public void postSaveRendered() {\n\t\tEXTFramebufferObject.glBindFramebufferEXT(EXTFramebufferObject.GL_FRAMEBUFFER_EXT, 0);\n\t\tGL11.glPopAttrib();\n\t}", "title": "" }, { "docid": "87f9ce67d573f8ab2ade2bc47ff27309", "score": "0.51144224", "text": "private void saveGame()\n {\n Setup.SaveDB(this);\n }", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.51029587", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.51029587", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "95c00a238088e69bf2dcf63c23c179c1", "score": "0.51029587", "text": "@Override\n\tpublic void save() {\n\t\t\n\t}", "title": "" }, { "docid": "202c0a87cb1d88d6655b4ec7f907659d", "score": "0.5098094", "text": "@Override\r\n\tpublic void save() {\n\t\t\r\n\t}", "title": "" }, { "docid": "202c0a87cb1d88d6655b4ec7f907659d", "score": "0.5098094", "text": "@Override\r\n\tpublic void save() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c27890236778db8852cb9d47aeaac73c", "score": "0.5087583", "text": "@Override\r\n\tpublic void saveData(String filename, Equip equip) {\n\t\t\r\n\t}", "title": "" }, { "docid": "7df26e04b33a502aa50b32e3a457dd39", "score": "0.5081137", "text": "protected boolean triggerSaveState() {\n return true;\n }", "title": "" }, { "docid": "32ea45530fa60b27aedbff475a8b8d55", "score": "0.5062659", "text": "public void shipDeath() {\n ship.dead = true;\n }", "title": "" }, { "docid": "1e202aba4d9dcedc54841842d29501c8", "score": "0.50618064", "text": "public void onWorldSave() {\n }", "title": "" }, { "docid": "e6f0ce5beb7ee41a8e59c5b219ca37ae", "score": "0.50589687", "text": "@Override\n public void saveState() {\n savedContainer = container.saveState();\n }", "title": "" }, { "docid": "b21cef643f01d9ea24c971e6b475eb70", "score": "0.505274", "text": "public void writeSavedGame(File filename){\r\n \t\r\n \t// If the file exists already, delete it.\r\n if(filename.exists()){\r\n filename.delete();\r\n }\r\n \r\n try {\r\n \tFileOutputStream fileOutStream = new FileOutputStream(filename);\r\n ObjectOutputStream objOutStream = new ObjectOutputStream(fileOutStream);\r\n objOutStream.writeObject(fam);\r\n objOutStream.writeObject(inv);\r\n objOutStream.writeObject(travelSpeed);\r\n objOutStream.writeObject(numConsumed);\r\n objOutStream.writeObject(milesTravelled);\r\n objOutStream.writeObject(longitudeHeading);\r\n objOutStream.writeObject(latitudeHeading);\r\n objOutStream.writeObject(currLocation);\r\n objOutStream.writeObject(destination);\r\n objOutStream.writeObject(visitedLocations);\r\n objOutStream.writeObject(notVisitedLocations);\r\n objOutStream.writeObject(weather);\r\n objOutStream.writeObject(currCalendar);\r\n objOutStream.flush();\r\n objOutStream.close();\r\n }\r\n \r\n catch (FileNotFoundException fnf) {\r\n System.err.println(\"File not found\");\r\n }\r\n \r\n catch (IOException ioe) {\r\n System.err.println(ioe);\r\n System.out.println(\"here\");\r\n ioe.printStackTrace();\r\n }\r\n \r\n catch (Exception e) {\r\n \t// do nothing\r\n }\r\n }", "title": "" }, { "docid": "c34caa5dd5da923b60836bef4b0741e1", "score": "0.504826", "text": "@Override\n\tpublic void pause() \n\t{\n\t\tGdx.app.debug(\"Abstract Screen: \", \"Saving..\");\n\t\tGlobal.isPaused = true;\n\t\tgame.saveFile();\n\t}", "title": "" }, { "docid": "ac2d5ad857e327081ba6e6123a1fd7e7", "score": "0.50481415", "text": "public void save(){\n try {\n FileOutputStream fos = new FileOutputStream(\"game.dat\");\n try {\n ObjectOutputStream oos = new ObjectOutputStream(fos);\n\n oos.writeObject(player.x);\n oos.writeObject(player.y);\n oos.writeObject(player.score);\n oos.writeObject(player.bullet);\n\n } catch (IOException ex) {\n System.out.println(\"IO Exception\");\n }\n } catch (FileNotFoundException ex) {\n System.out.println(\"There is no saved game data.\");\n }\n }", "title": "" }, { "docid": "768a5114f5e9337e481a32c74beeaaf2", "score": "0.5040914", "text": "public void saveLoadGame() throws Exception {\r\n\t\t\r\n\t\t\r\n\t\tflush();\r\n\t\t\r\n\t\tbuilder.saveLoadMapFileReader();\r\n\t\tbuilder.saveLoadPlayerController();\r\n\t\tbuilder.saveLoadStartupPhase();\r\n\t\tbuilder.saveLoadCurrentPlayer();\r\n\t\tbuilder.saveLoadCards();\r\n\t\tbuilder.saveLoadAttackerCountrySize();\r\n\t\tbuilder.saveLoadIsExchangeOpen();\r\n\t\tbuilder.printMessage();\r\n\t\t\r\n\t}", "title": "" }, { "docid": "8b7aa879459e61162effa93263b03490", "score": "0.5038222", "text": "@Override\n\tpublic void onUpdate() {\n\t\tprevPosX = posX;\n\t\tprevPosY = posY;\n\t\tprevPosZ = posZ;\n\t\t++field_70581_a;\n\n\t\tif (field_70581_a == field_70584_aq) {\n\t\t\tsetDead();\n\t\t}\n\t}", "title": "" }, { "docid": "a67a9e2507d4812d0611d311d38c9eca", "score": "0.5021538", "text": "public void save() {\n\t\tif (getFileExtension(file).equals(\"gcode\")\n\t\t\t\t|| getFileExtension(file).equals(\"stl\")) {\n\t\t\tsaveInternal(file);\n\t\t}\n\t\telse {\n\t\t\t// Otherwise, assume we have a non-stl model file, and save it out to an stl instead.\n\t\t\tString newFileName = file.getParent() + File.separatorChar + getFileBase(file) + \".stl\";\n\t\t\t\n\t\t\tBase.logger.info(\"Exporting modified model as .stl file: \" + newFileName);\n\t\t\t\n\t\t\tFile newFile = new File(newFileName);\n\t\t\t\n\t\t\tif (saveInternal(newFile)) {\n\t\t\t\tfile = newFile;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "e5274f5e805d479e5070386d084b32ea", "score": "0.50188994", "text": "@Override\n\tpublic void onSaveInstanceState(Bundle outState) {\n\t\t// first saving my state, so the bundle wont be empty.\n\t\toutState.putString(\"WORKAROUND_FOR_BUG_19917_KEY\",\n\t\t\t\t\"WORKAROUND_FOR_BUG_19917_VALUE\");\n\t\tsuper.onSaveInstanceState(outState);\n\t}", "title": "" }, { "docid": "767e5bd225e97854c8e2ca1d7ce91122", "score": "0.5016682", "text": "public void saveData(){\r\n\t\t\r\n\t\tbuildLocations();\r\n\t\tbuildLocationArray();\r\n\t\t\r\n\t\tVector temp=new Vector();\r\n\t\t\r\n\t\ttemp.add(CellID);\r\n\t\ttemp.add(ProfileService);\r\n\t\ttemp.add(AlarmService);\r\n\t\ttemp.add(BatteryService);\r\n\t\t\r\n\t\t\r\n\t\tFileOutputStream fos;\r\n\t\t//Try-catch block for exception handling\r\n\t\ttry {\r\n\t\t\tfos = this.openFileOutput(SAVENAME, Context.MODE_PRIVATE);\r\n\t\t\tObjectOutputStream oos;\r\n\t\t\toos = new ObjectOutputStream(fos);\r\n\t\t\toos.writeObject(temp); \r\n\t \toos.close();\r\n\t \tLog.d(\"Serialization\", \"Completed sucessully\");\r\n\t\t\t}\t \t\r\n\t\t catch (FileNotFoundException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tLog.d(\"FOS\", \"File Not found\");\r\n\t\t}catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tLog.d(\"FOS\", \"IOException\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "c372a5a1f4e0f602a443e032406323a5", "score": "0.5015218", "text": "public void setFloorFromSave();", "title": "" }, { "docid": "95b9cd48b78b7add43e6a315a8b63f9d", "score": "0.5013603", "text": "@Override\n protected void onSaveInstanceState(Bundle outState) {\n outState.putBoolean(Constants.EDITING_KEY, true);\n super.onSaveInstanceState(outState);\n }", "title": "" }, { "docid": "944a3c3604ee5fecd1f9ee9206f3ebb6", "score": "0.50125873", "text": "private void processShip(ArrayList<Point> coords, Ship ship) throws InvalidPlacementException\n {\n if(checkIfHorizontal(coords, ship.getShipSize()))\n drawShipToOcean(sortByXCoords(coords), ship.getImagePath() + \"horizontal_\", ship.getShipSize());\n else if(checkIfVertical(coords, ship.getShipSize()))\n drawShipToOcean(sortByYCoords(coords), ship.getImagePath() + \"vertical_\", ship.getShipSize());\n else\n throw new InvalidPlacementException(\"Invalid ship placement.\");\n// System.out.println(\"Invalid placement for the \" + ship.getImagePath()); // todo cleanup after error, make new exception\n }", "title": "" }, { "docid": "9a1ee731a9a3f72e1359df829d91e23b", "score": "0.50082016", "text": "@Override\r\n\tpublic void save() {\n\t\twrite=new FileWriting();\r\n\t\twrite.write(History.getInstance().getelementstosave());\r\n\t}", "title": "" }, { "docid": "ac69e6abd9572889339944260b4849fe", "score": "0.50006056", "text": "public SaveMove() {\n this.colour = \"none\";\n }", "title": "" }, { "docid": "e4a4b50af4ef512e7b46c98fd26d52cb", "score": "0.49930605", "text": "@Override\r\n\tpublic void onSaveInstanceState(Bundle outState) {\n\t\toutState.putString(\"WORKAROUND_FOR_BUG_19917_KEY\", \"WORKAROUND_FOR_BUG_19917_VALUE\");\r\n\t\tsuper.onSaveInstanceState(outState);\r\n\t}", "title": "" }, { "docid": "dbc88cae3c4bf80b1a39f1ae4eb09ccd", "score": "0.49896264", "text": "void setSaveUnder(boolean state) {}", "title": "" }, { "docid": "13559dff16beea23416a0b9ed3f24949", "score": "0.49868426", "text": "@Override\n\tpublic void save() {\n\t}", "title": "" }, { "docid": "13559dff16beea23416a0b9ed3f24949", "score": "0.49868426", "text": "@Override\n\tpublic void save() {\n\t}", "title": "" }, { "docid": "13559dff16beea23416a0b9ed3f24949", "score": "0.49868426", "text": "@Override\n\tpublic void save() {\n\t}", "title": "" }, { "docid": "fb8a5567cee98501450bee7e3c1bea24", "score": "0.49829903", "text": "protected void prepare()\n\t{\n\t\tBrowser.getActiveBrowser().doSaveAll(true);\n\t}", "title": "" }, { "docid": "ef564a6bcc24ca5a8145e5373093e775", "score": "0.4975193", "text": "public void save(String saveName) {\n \tString fullSave = \"\"; \n \tString location = thePlayer.getLoc().getRoomName();\t//get current player location \n \tString things = thePlayer.showMyThings(); \t//get current player items \n \tString type= \"\"; \n \tif (f.getClass().getSimpleName().equals(\"Level0Factory\")) {\t//set current difficulty to either 0 or 1\n \t\ttype = \"0\"; \n \t} else {\n \t\ttype = \"1\"; \n \t}\n \tfullSave = type + \"\\r\\n\" + location + \"\\r\\n\" + things + String.valueOf(thePlayer.getHealth()); //all info to be saved \n \tString fileName = \"SaveStuff/\" + saveName + \".txt\"; //save file location \n \tPrintWriter writer = null;\n\t\ttry {\t//write to file \n\t\t\twriter = new PrintWriter(fileName, \"UTF-8\");\n\t\t} catch (FileNotFoundException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n \twriter.println(fullSave);\n \twriter.close();\n\n }", "title": "" }, { "docid": "421d16dbb4a4cdc430e99785a68fc186", "score": "0.49725714", "text": "private static void saveFile(String fn) {\n\t\t// TODO keep track of all saves i.e. hashmap\n\t\ttry {\n\t\t\tFile f = new File(Controller.saveLocation + fn\n\t\t\t\t\t+ Controller.saveExtension);\n\t\t\tFileOutputStream fos = new FileOutputStream(f);\n\t\t\tObjectOutputStream oos = new ObjectOutputStream(fos);\n\t\t\toos.writeObject(model.getMap());\n\t\t\t/* Closing streams */\n\t\t\toos.close();\n\t\t\tfos.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}\n\n\t}", "title": "" }, { "docid": "ff8893407c9fbf12cd175e08c2d3fd33", "score": "0.49722287", "text": "private static boolean checkForAvailableSave(){\r\n\t\treturn false;\t\t\t\t// TODO\r\n\t}", "title": "" }, { "docid": "fa112a2481aba371363a9e309e26c157", "score": "0.49684304", "text": "public void save() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "b95f2b92704615dfe380e798aa32c2a0", "score": "0.4966414", "text": "@Override\n\tpublic void save() {\n\n\t}", "title": "" }, { "docid": "b95f2b92704615dfe380e798aa32c2a0", "score": "0.4966414", "text": "@Override\n\tpublic void save() {\n\n\t}", "title": "" }, { "docid": "868b42b616e766fdd4a5d8e0ccc81435", "score": "0.49609983", "text": "public void setSave(String sPath) {\n \t\tsetSave(sPath,null);\n \t\t\n \t}", "title": "" }, { "docid": "be5d58f996ccd4da9bd7e50288272059", "score": "0.49583316", "text": "private void noMove()\n {\n recoverable = true;\n }", "title": "" }, { "docid": "b56972f7791d3f40a06b5a73336fac74", "score": "0.49574554", "text": "public void switchBeenOutOfShip(Boolean bool){\n this.beenOutOfShip = bool;\n }", "title": "" }, { "docid": "0e837a15f7fe0f114c3bf87bf3732f7b", "score": "0.49488", "text": "public void save()\n\t{\n\t\tSystem.err.println(\"Cannot save the ControlledMacro\");\n\t}", "title": "" }, { "docid": "bb9d27b5f546311aa9f8b03152670265", "score": "0.49485344", "text": "public void saveState() {\n\t\t// adds another set of parameters to store history of changes & allow undo capabilities\n\t\tsavedStates.push(LiquidApplication.getGUI().getFileVariables().writeArray());\n\t\tundoStates.clear();\n\t\t// printStateList(savedStates,\"Saved States\");\n\t\t\n\t\t// '*' gets added to title with unsaved parameter changes present\n\t\tif (savedStates.size() > 1)\n\t\t\tLiquidApplication.getGUI().getFrame().setTitle(\"*\"+LiquidApplication.getGUI().getFileVariables().getFilenameOnlyAndTitle(true));\n\t\telse\n\t\t\tLiquidApplication.getGUI().getFrame().setTitle(LiquidApplication.getGUI().getFileVariables().getFilenameOnlyAndTitle(true));\n\t}", "title": "" }, { "docid": "951146f80ed134b63b59107f48fb4cdc", "score": "0.49482656", "text": "void addShip (String name, int size, model.Location loc, ShipData.Orientation or);", "title": "" }, { "docid": "13014c024b5f9ad630a53f6f636d0d27", "score": "0.49481425", "text": "public void setIsShipped(boolean isShipped) {\n this.isShipped = isShipped;\n }", "title": "" }, { "docid": "25f2bfe71ca38902dc525532b363b583", "score": "0.49418986", "text": "public SimpleShip()\n {\n xpos = 0;\n ypos = 0;\n course = 0;\n speed = 0;\n }", "title": "" }, { "docid": "837f4f4c475e29bf1a32ebf63a965dcb", "score": "0.49270785", "text": "@Override\n protected void savePreferences()\n {\n super.savePreferences();\n preferences.putByteArray(\"displayMode\", lastRenderMode);\n preferences.putBoolean(\"freehandSelection\", lastFreehand);\n saveBooleanArrayPreference(\"showControlMesh\", lastShowMesh);\n saveBooleanArrayPreference(\"showScene\", lastShowScene);\n saveBooleanArrayPreference(\"showSkeleton\", lastShowSkeleton);\n saveBooleanArrayPreference(\"showSurface\", lastShowSurface);\n preferences.putBoolean(\"useSceneCoords\", lastUseWorldCoords);\n preferences.putInt(\"meshTension\", lastMeshTension);\n preferences.putInt(\"meshTensionDistance\", lastTensionDistance);\n }", "title": "" }, { "docid": "9a3f8d0af62399cd44c0912ec2fd95ed", "score": "0.49201667", "text": "protected void beforeChange() {\n saveOldArea();\n }", "title": "" }, { "docid": "43954d8750ecb4284b358df979c22904", "score": "0.491625", "text": "@Override\n protected void saveData() {\n }", "title": "" }, { "docid": "dd943a4df0ee2714633854798236edfc", "score": "0.49129504", "text": "void saveGameState(OutputStream out);", "title": "" }, { "docid": "94a93673e158f739c76f2ae3c7d05a50", "score": "0.49114567", "text": "public void saveState();", "title": "" }, { "docid": "94a93673e158f739c76f2ae3c7d05a50", "score": "0.49114567", "text": "public void saveState();", "title": "" } ]
608432fe5e39b8884e66a2422cc2854b
Get any custom extras that were set on this playback state.
[ { "docid": "640d9e50bd27e350d940ba5d8b35bf34", "score": "0.59691966", "text": "public @Nullable Bundle getExtras() {\n return mExtras;\n }", "title": "" } ]
[ { "docid": "d390cd8780c33abe66c2ce8189e3a88a", "score": "0.6634455", "text": "public P getExtras() {\n return _extras;\n }", "title": "" }, { "docid": "9001a63b8554f093cf6ed14a908829fd", "score": "0.65600955", "text": "public java.util.Map<CharSequence,CharSequence> getExtras() {\n return extras;\n }", "title": "" }, { "docid": "b814e8c80a06b9f031f2c2ac0dea8ab2", "score": "0.65478307", "text": "public java.util.Map<CharSequence,CharSequence> getExtras() {\n return extras;\n }", "title": "" }, { "docid": "b911526d8f446718780e7d09dd230652", "score": "0.6477263", "text": "public String getExtras() {\n return this.mExtras;\n }", "title": "" }, { "docid": "2329abd34e042501a27929ae28e86661", "score": "0.6224708", "text": "public final Object getExtraInfo()\n {\n\treturn extra_info;\n }", "title": "" }, { "docid": "606c0311763a380f11d8b9d670bd5157", "score": "0.6127238", "text": "public ArrayList<ExtraGroup> getPredefinedExtras()\n\t{\n\t\treturn everyExtra.getExtras();\n\t}", "title": "" }, { "docid": "b499d02611d094a6d06e477b4efdceae", "score": "0.6024548", "text": "public HashMap<Player, KingOfTheHillPlayerExtra> getPlayerExtras(){\r\n\t\treturn playersExtraData;\r\n\t}", "title": "" }, { "docid": "ea76d47ede49614ece6a8723e597748d", "score": "0.60214883", "text": "public Object getExtraInformation() {\r\n return this.extraInformation;\r\n }", "title": "" }, { "docid": "69b28f89ca2627d977f1a5f7394e6464", "score": "0.58323824", "text": "public synchronized Bundle getExtra() {\n\t\t\tif (extra == null)\n\t\t\t\textra = new Bundle();\n\t\t\treturn extra;\n\t\t}", "title": "" }, { "docid": "0df4b4025402867e7bb61f5c401a9dde", "score": "0.5742031", "text": "public abstract String getExtraInfo();", "title": "" }, { "docid": "f333416c3b81d3f92d80ad4736970da9", "score": "0.5737998", "text": "@Override\n public Bundle getCustomTargeting() {\n Bundle bundle = new Bundle();\n for (Map.Entry<String, Object> kvp : mLocalExtras.entrySet()) {\n Object value = kvp.getValue();\n if (value == null) continue;\n\n try {\n if (value instanceof List<?>) {\n try {\n bundle.putStringArrayList(\n kvp.getKey(), (ArrayList<String>) kvp.getValue());\n } catch (Exception e) {\n sLogger.warn(\"failed to set custom targeting\", e.getMessage());\n }\n continue;\n }\n\n if (value instanceof Bundle) {\n bundle.putBundle(kvp.getKey(), (Bundle) value);\n continue;\n }\n\n bundle.putString(kvp.getKey(), value.toString());\n } catch (Exception e) {\n // do nothing\n }\n }\n return bundle;\n }", "title": "" }, { "docid": "53fea7610b93800d6a6018a9162b5aae", "score": "0.56618357", "text": "public final String getExtraValue(){\r\n return extraValue;\r\n }", "title": "" }, { "docid": "51311b708d353c7ad70a3e4cceb369f1", "score": "0.5657755", "text": "public boolean hasExtras() {\n return fieldSetFlags()[2];\n }", "title": "" }, { "docid": "2d1c3bcf293ab43d9c8a0f5d052c1827", "score": "0.56086546", "text": "public java.lang.String getExtra() {\n java.lang.Object ref = extra_;\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 extra_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "da9361ca7bc545db588c059d3109aa6f", "score": "0.55898666", "text": "public java.lang.String getExtra() {\n java.lang.Object ref = extra_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n extra_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "5c8c301a42a5f6bfaf5b6da21ad3ab08", "score": "0.5580582", "text": "Bundle[] getTechExtras();", "title": "" }, { "docid": "6bf6812e12f95bcd8eb89f594d7bd065", "score": "0.55730283", "text": "public Bundle getExtras(){\n\t\treturn mBundle;\n\t}", "title": "" }, { "docid": "5992535625c7ad858cc03342dddc9bdc", "score": "0.55343354", "text": "@Override\n\tpublic JSONObject getExtraInfo() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fd25c2046f4e07aae92f735bd81ab72e", "score": "0.54966253", "text": "public com.google.protobuf.ByteString\n getExtraBytes() {\n java.lang.Object ref = extra_;\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 extra_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "62f1e248ccf3d081f826207f9301c34f", "score": "0.54902816", "text": "public com.google.protobuf.ByteString getExtraData() {\n return extraData_;\n }", "title": "" }, { "docid": "77d159e5f8df054829a1b8b4b12f51e3", "score": "0.5473179", "text": "public com.google.protobuf.ByteString getExtraData() {\n return extraData_;\n }", "title": "" }, { "docid": "c777b2de96777ffeda70c424b614f1f2", "score": "0.5446034", "text": "public Object additionalData() {\n return this.additionalData;\n }", "title": "" }, { "docid": "2ca0951d8864f5a5b362578761ac58ea", "score": "0.5419126", "text": "public com.google.protobuf.ByteString\n getExtraBytes() {\n java.lang.Object ref = extra_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n extra_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "title": "" }, { "docid": "66090a0a3a02e29a0ac472f1272dff07", "score": "0.53598464", "text": "@Override\n public String[] getOptionalFields() {\n return new String[] { \"amplifier\", \"duration\", \"ambient\" };\n }", "title": "" }, { "docid": "d302ba81686704473793cd1b1c7e50c6", "score": "0.53040427", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d302ba81686704473793cd1b1c7e50c6", "score": "0.53040427", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "fcb9abe945fb6ffb3523961039311b80", "score": "0.5301373", "text": "public Map<String, Object> getAdditionalInfo() {\n\treturn this.additionalInfo;\n }", "title": "" }, { "docid": "32936eedb935299bc08c426ad7e32278", "score": "0.52893275", "text": "public Bundle getExtras() {\n\t\tif (getActivity() != null && getActivity().getIntent() != null)\n\t\t\treturn getActivity().getIntent().getExtras();\n\n\t\treturn null;\n\t}", "title": "" }, { "docid": "e6d1e23aa4fa5be703fa5523ee2548c6", "score": "0.52477056", "text": "public boolean hasExtra() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "fe8cc8b296086f093c72521b98ed554a", "score": "0.52383566", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return additionalProperties;\n }", "title": "" }, { "docid": "fe8cc8b296086f093c72521b98ed554a", "score": "0.52383566", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return additionalProperties;\n }", "title": "" }, { "docid": "fe8cc8b296086f093c72521b98ed554a", "score": "0.52383566", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return additionalProperties;\n }", "title": "" }, { "docid": "fe8cc8b296086f093c72521b98ed554a", "score": "0.52383566", "text": "@JsonAnyGetter\n public Map<String, Object> getAdditionalProperties() {\n return additionalProperties;\n }", "title": "" }, { "docid": "f191c4dc8b5881f63c33daede4afceca", "score": "0.52196294", "text": "public boolean hasExtra() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "d1166d799be848907fea2f5526921eb8", "score": "0.5218317", "text": "@JsonAnyGetter\n public Map<String, Object> additionalProperties() {\n return this.additionalProperties;\n }", "title": "" }, { "docid": "0b02bbb65cea638460a2508194cdf2f9", "score": "0.5215524", "text": "public Bundle getExtras() {\n return null;\n }", "title": "" }, { "docid": "39b4e4e147c9583c269aa3ebfd8da084", "score": "0.5208807", "text": "public Optional<Map<String, String>> getExtendedProperties() {\n return extendedProperties;\n }", "title": "" }, { "docid": "3146066f1dd1766c52a24f03dbadc7cc", "score": "0.5201393", "text": "public String[] getOptionalAttributes()\n {\n return optional;\n }", "title": "" }, { "docid": "4220e97578ef2cdf47a7a3fa4cd595c0", "score": "0.5193525", "text": "private void getDetailsFromPrevActivity() {\n if (extras != null && extras.containsKey(\"Mycooks\")) {\n if (extras.getString(\"Mycooks\").equals(\"true\")) {\n cookDetails = MyCooks.cookDetails.get(extras.getInt(\"index\"));\n } else {\n cookDetails = MyCooks.currentCook;\n }\n } else if (extras != null && extras.containsKey(\"MyTrials\")) {\n if (extras.getString(\"MyTrials\").equals(\"true\")) {\n cookDetails = MyTrials.currentTrials.get(extras.getInt(\"index\"));\n } else {\n cookDetails = MyTrials.cookDetails.get(extras.getInt(\"index\"));\n }\n } else {\n cookDetails = frame21.cookDetails.get(extras.getInt(\"index\"));\n }\n }", "title": "" }, { "docid": "3424150171efbc60b6fde50779c2c9c9", "score": "0.51864666", "text": "public Map<String, Boolean> additionalProps() {\n return unmodifiableMap(additionalProps);\n }", "title": "" }, { "docid": "d666d2b4636d5a010c65a092247c66d2", "score": "0.5147882", "text": "protected Bundle getCapptainActivityExtra()\r\n {\r\n return null;\r\n }", "title": "" }, { "docid": "cd5220714b572a88d03b93452abb4835", "score": "0.51445705", "text": "public List<BaseComponent> getExtra() {\n/* 55 */ return this.extra;\n/* */ }", "title": "" }, { "docid": "79b284dc3360d32c7e7c32a2fe82b044", "score": "0.51135606", "text": "public abstract boolean getExtraShot();", "title": "" }, { "docid": "2a224db9958b4387daca2b9eccaccad2", "score": "0.5079711", "text": "void getBundleData(Bundle extras);", "title": "" }, { "docid": "d98d0290241d87ed59dcdacdfd40bd9c", "score": "0.507862", "text": "public boolean getAdditionalInfo() {\n\n\t\treturn m_AdditionalInfo;\n\t}", "title": "" }, { "docid": "e2e312a5a8b29ea191cfa66c1800b82d", "score": "0.50746804", "text": "@Override\r\n public void GetExtraInformation(String info) {\n\r\n }", "title": "" }, { "docid": "61867a56108011faeaeae1f09500726c", "score": "0.50729084", "text": "public abstract void loadExtraInfo();", "title": "" }, { "docid": "bebf182043ac72bc4bbdbf6946a3588a", "score": "0.5069532", "text": "public int[] getCustomDisplayOptions() {\n return mCustomDisplayOptions;\n }", "title": "" }, { "docid": "36f4d60f08f960b48f86fb1f81b56503", "score": "0.50609994", "text": "@Override\n\tpublic int getMetaFromState(IBlockState state)\n\t{\n\t\tbyte b0 = 0;\n\t\tint i = b0;\n\t\ti |= ((Integer) state.getValue(STAGE_PROP)).intValue() << 3;\n\t\treturn i;\n\t}", "title": "" }, { "docid": "664e949dace7bd7b0e34c2d07c0f1c63", "score": "0.502756", "text": "public List<Path> getExtraExperimentFiles() {\r\n return extraExperimentFiles;\r\n }", "title": "" }, { "docid": "837fbcbb8d08a0dd4292b45f904e71f8", "score": "0.50262", "text": "public Builder setExtras(Bundle extras) {\n mExtras = extras;\n return this;\n }", "title": "" }, { "docid": "3aae8ed0ee1a1ad28ad273490c940dda", "score": "0.50187695", "text": "@Override\r\n\tpublic boolean getExtraShot() {\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "6806b3d679d24ba775dae67f481aeaf4", "score": "0.5017165", "text": "public String getCustomInformation() {\n return customInformation;\n }", "title": "" }, { "docid": "4e3b0961ccfe37bc495eb7ef3195a3f6", "score": "0.5006383", "text": "public List<String> getAdditionalInfo() {\r\n\t\treturn new ArrayList<String>();\r\n\t}", "title": "" }, { "docid": "e2b28de091b0cdccc91f91b5b3664fb4", "score": "0.49979538", "text": "public final boolean hasExtra(){\r\n return (extraValue!=null);\r\n }", "title": "" }, { "docid": "d8afbb40afe196144c22963574e10a2f", "score": "0.49905962", "text": "public boolean getIsExtended() { return currentlyExtended; }", "title": "" }, { "docid": "c142efbed28483ff93c26ea3d98b6d22", "score": "0.49881995", "text": "public HashMap<String, String> getAdditionalData()\t{\n\t\treturn additionalData;\n\t}", "title": "" }, { "docid": "67a07cf50e5d20d8366f3138e5035165", "score": "0.49847734", "text": "public void setExtras(java.util.Map<CharSequence,CharSequence> value) {\n this.extras = value;\n }", "title": "" }, { "docid": "eeb23c8b731849e70b8402eaabe231e6", "score": "0.4978158", "text": "com.google.protobuf.ByteString getExtraData();", "title": "" }, { "docid": "3a24cfb243ef4b4fbf6aeba6331ea0eb", "score": "0.49744487", "text": "public ArrayList<String> getExtraFields()\r\n\t\t{ return new ArrayList<String>(extraFields.keySet()); }", "title": "" }, { "docid": "451c6784eac5115b0f1525926fd5f0cc", "score": "0.49655464", "text": "public List<PlaybackState.CustomAction> getCustomActions() {\n return mCustomActions;\n }", "title": "" }, { "docid": "839ab22c39a1768f9f8df291d57b3a94", "score": "0.49641582", "text": "@JsonAnyGetter\n public Map<String, Object> getExtensionAttributes() {\n return this.extensionAttributes == null\n ? EMPTY_ATTRIBUTES_MAP : Collections.unmodifiableMap(this.extensionAttributes);\n }", "title": "" }, { "docid": "43410b4116db2bace75b6b16187dd30e", "score": "0.49558327", "text": "public static final ExtendedPlayer get(EntityPlayer player) {\n\t\treturn (ExtendedPlayer) player.getExtendedProperties(EXT_PROP_NAME);\n\t}", "title": "" }, { "docid": "1fabd36c60af7bce7bd83dfbf59a53e3", "score": "0.4953", "text": "@Override\r\n\tpublic String getAdditionalInfo() {\n\t\treturn \"Flavour: \" + _flavour;\r\n\t}", "title": "" }, { "docid": "7277649c1eea0a57da703ef725499d21", "score": "0.49526823", "text": "public com.google.protobuf.ByteString getCustom() {\n return custom_;\n }", "title": "" }, { "docid": "3cd6566bc099cfc34ec0332af6c88e54", "score": "0.49413738", "text": "public com.google.protobuf.ByteString getCustom() {\n return custom_;\n }", "title": "" }, { "docid": "8af6ecbcf21b1f50e22a81b151c15d45", "score": "0.49323756", "text": "public String getExtendInfo() {\n return extendInfo;\n }", "title": "" }, { "docid": "6d3b70399dad401c930b5894e4bc98c9", "score": "0.49198604", "text": "public Object getExtra(String key){\n\t\treturn objects.get(key);\n\t}", "title": "" }, { "docid": "bb4b6d4694661169a9d3ea5066bcd835", "score": "0.49137735", "text": "private String buildExtras()\n {\n return query.formatExtras();\n }", "title": "" }, { "docid": "e2069106fa8db95e060615db899662ef", "score": "0.49099404", "text": "public PlayersStuff getStuff() {\r\n\t\treturn this.stuff;\r\n\t}", "title": "" }, { "docid": "0f0c7efd53d9244bd8723abb43ed8822", "score": "0.48996928", "text": "public Map<String, String> getCustomProperties() {\n return customProperties;\n }", "title": "" }, { "docid": "04859e543a37344e1a1e95430cbc6e1b", "score": "0.4893772", "text": "public Map<String,Object> getAdditionalMembers() {\n\n\t\treturn customMembers;\n\t}", "title": "" }, { "docid": "8b22d47e55e458b83ba3e595b32ace47", "score": "0.48931572", "text": "public android.os.Bundle getExtras() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.service.voice.VoiceInteractionSession.Request.getExtras():android.os.Bundle, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.service.voice.VoiceInteractionSession.Request.getExtras():android.os.Bundle\");\n }", "title": "" }, { "docid": "742bbcafb7703746f292ff61b75c1bd3", "score": "0.48884732", "text": "protected Map<String, String> getTrackInfo() {\n final List<String> list = source.doDBusCall(\"org.mpris.\" + service,\n \"/org/mpris/MediaPlayer2\", \"org.mpris.MediaPlayer2.Player.Metadata\");\n return source.parseDictionary(list);\n }", "title": "" }, { "docid": "666724b3142962efba609fb2a79abf2d", "score": "0.488347", "text": "java.lang.String getAdditionalInfos();", "title": "" }, { "docid": "9873f49a787f5a6d347761541ae96925", "score": "0.4860123", "text": "@Override\npublic int getExtraDataLocation()\n{\n return 0;\n}", "title": "" }, { "docid": "147247f546fa2095a2bae5359eab7aff", "score": "0.48371553", "text": "public String getExtraMessage() {\n return progress.getExtraMessage();\n }", "title": "" }, { "docid": "b12e5df6d99492a7634566de1880196e", "score": "0.48370615", "text": "public Class[] getExtraClasses() {\n return extraClasses;\n }", "title": "" }, { "docid": "483074b1fc5baf14f31610c02b11b8e5", "score": "0.4829583", "text": "@Override\r\n protected String getExtendedInfo() {\n return null;\r\n\r\n }", "title": "" }, { "docid": "322219ba6e3d663ee7587c6a1b610a55", "score": "0.4801889", "text": "public String getExtraFieldValue() {\n return extraFieldValue;\n }", "title": "" }, { "docid": "e636c7c3a43c04d9a2fa77ef836a1cba", "score": "0.47934416", "text": "public KingOfTheHillPlayerExtra getPlayerExtra(Player player){\r\n\t\tKingOfTheHillPlayerExtra extra = playersExtraData.get(player);\r\n\t\tif (extra == null){\r\n\t\t\textra = new KingOfTheHillPlayerExtra(player.getUUID());\r\n\t\t\tplayersExtraData.put(player, extra);\r\n\t\t}\r\n\t\treturn extra;\r\n\t}", "title": "" }, { "docid": "02b7d20806ed6fd25671cbca612ffb2d", "score": "0.47695568", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\t\n\t\tmDrink = getArguments().getParcelable(EXTRA_CUSTOM_DRINK);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "7f34acc1c953476f66913b0b4bbfb8f4", "score": "0.47680283", "text": "public Bundle getBundleExtra(String name) {\n return null;\n }", "title": "" }, { "docid": "37c92e6e4b17c8caf85aa6487e09bcfa", "score": "0.47672662", "text": "public ClipEventFlags getEventFlags() {\n return eventFlags;\n }", "title": "" }, { "docid": "7cdd4a2cfcfd010811e453421951c918", "score": "0.47482", "text": "public com.google.protobuf.ByteString getCustomData() {\n return customData_;\n }", "title": "" }, { "docid": "0f3ab33a82c6e121a89124075092c0d8", "score": "0.4747293", "text": "public com.google.protobuf.ByteString getCustomData() {\n return customData_;\n }", "title": "" }, { "docid": "2c02ac65bc7dca696b0f07ecaa719504", "score": "0.47397786", "text": "public boolean[] getBooleanArrayExtra(String name) {\n return null;\n }", "title": "" }, { "docid": "ca9af8857d02e4f15b4b8d8951c0150a", "score": "0.47383505", "text": "@Override\n public String[] getAttributes() {\n return edSelected.listAttributes().toArray(new String[0]);\n }", "title": "" }, { "docid": "8dab1755ba666f6cbd08dadd8feb33fd", "score": "0.4737535", "text": "private void addExtras() {\n\t\tArrayList<String> actors = infoList.get(TimeLineEvent.ACTORS);\n\t\tfor (int i = 0; i < actors.size(); i++) {\n\t\t\tif (actors.get(i).contains(\"Extras\")) {\n\t\t\t\tString name = actors.get(i);\n\t\t\t\tint[] p = positions.get(name);\n\t\t\t\tString[] n = name.split(\"Extras\");\n\t\t\t\tint images = 16;\n\t\t\t\tif (n.length > 1) {\n\t\t\t\t\timages = Integer.parseInt(n[1]);\n\t\t\t\t}\n\t\t\t\tname = n[0];\n\t\t\t\tif (name.contains(\"Prop\")) {\n\t\t\t\t\tname = name.replace(\"Prop\", \"\");\n\t\t\t\t}\n\t\t\t\tActor a = new Actor(name, images);\n\t\t\t\tif (p != null) {\n\t\t\t\t\ta.setPos(p);\n\t\t\t\t}\n\t\t\t\tmembers.add(a);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "93e9cc0651cac9a109f77f5016509847", "score": "0.4731991", "text": "@Override\n\tpublic Map<QName, Serializable> getCustomProperties() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "5af944ea4cc7ae3c3f3928b3023e1554", "score": "0.47311208", "text": "public void setExtraInfo(String extraInfo) {\r\n\t\tthis.extraInfo = extraInfo;\r\n\t}", "title": "" }, { "docid": "21eb23406b70fb710ac9bbd4b770304c", "score": "0.47269753", "text": "public List<String> getBonusAttributes() {\n return bonusAttributes;\n }", "title": "" }, { "docid": "34d0f549e36d876afab25ccf7b9f6caf", "score": "0.4725402", "text": "public Set<String> getExtraResources() {\n return Collections.emptySet();\n }", "title": "" } ]
24ad821eb050b9c12c5a7e799ddf744b
Displays the zoom menu at the position p in the coordinate space of euclidianView
[ { "docid": "242d8b0fa8b656bbb478ab9c1009872d", "score": "0.60183275", "text": "public void showDrawingPadPopup(Component invoker, Point p) {\n // clear highlighting and selections in views\n euclidianView.resetMode();\n \n // menu for drawing pane context menu\n DrawingPadPopupMenu popupMenu = new DrawingPadPopupMenu(this, p.x, p.y);\n popupMenu.show(invoker, p.x, p.y);\n }", "title": "" } ]
[ { "docid": "8eed535a57df449c6d319c1d5d9d0b36", "score": "0.6653514", "text": "private void ZoomToPoint( Point p )\n\t{\n\t JViewport port = (JViewport)this.getParent();\n\t\tRectangle visible = port.getViewRect();\n\n port.setViewPosition(new Point((int)(p.getX() - visible.getWidth()/2.0), (int)(p.getY() - visible.getHeight()/2.0) ));\n UpdatePreferredSize(1);\n\t}", "title": "" }, { "docid": "981102fc2cd80123c2613c3e531b69d0", "score": "0.6384151", "text": "@Override\n public void onMouseClicked(MapMouseEvent e) {\n Rectangle paneArea = ((JComponent) getMapPane()).getVisibleRect();\n DirectPosition2D mapPos = e.getWorldPos();\n \n double scale = getMapPane().getWorldToScreenTransform().getScaleX();\n double newScale = scale * zoom;\n \n DirectPosition2D corner = new DirectPosition2D(\n mapPos.getX() - 0.5d * paneArea.getWidth() / newScale,\n mapPos.getY() + 0.5d * paneArea.getHeight() / newScale);\n \n Envelope2D newMapArea = new Envelope2D();\n newMapArea.setFrameFromCenter(mapPos, corner);\n getMapPane().setDisplayArea(newMapArea);\n }", "title": "" }, { "docid": "7a84743004a191203c3aa1e274ac4223", "score": "0.6276277", "text": "public void setMenuZoom() {\r\n zoom = controlZoom;\r\n }", "title": "" }, { "docid": "ea1241e1393c6c9358f0b4eb95247b85", "score": "0.60209084", "text": "public String getZoomInMenuText();", "title": "" }, { "docid": "cfc929973487c04a0dea03e021ca6e0e", "score": "0.5991233", "text": "@Override\r\n\tpublic void zoom() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c25a0a1438b32ade36e4a224c4936953", "score": "0.5977925", "text": "public void mouseClicked(MouseEvent e) {\n // recenter on this point\n Projection r = Projection.makeProjection(v);\n r.unproject(e.getPoint(), v.center);\n\n // zoom out by a factor of 2\n float newZoom = v.getZoom() / 1.25f;\n v.setZoom((float) Math.max(0.10, Math.min(newZoom, 16.00)));\n// System.out.println(\"zoom=\" + v.getZoom());\n p.setZoom();\n \n // now update the buffer, and redraw\n\tp.updateBuffer(); // ugly!\n\tp.repaint();\n }", "title": "" }, { "docid": "5c526a9267b404818e6b6aea58a8336d", "score": "0.5926349", "text": "@Override\r\n\tpublic void zoom(int x, int y) {\n\t\t\r\n\t}", "title": "" }, { "docid": "1130277d6965f935f2692160bd48b3c2", "score": "0.579287", "text": "public void showPopupMenu(GeoElement geo, Component invoker, Point p) {\n \tif (geo == null) return;\n \t\n if (kernel.isAxis(geo)) {\n \tshowDrawingPadPopup(invoker, p);\n \treturn;\n }\n \n // clear highlighting and selections in views \n euclidianView.resetMode();\n Point screenPos = invoker.getLocationOnScreen();\n screenPos.translate(p.x, p.y);\n \n MyPopupMenu popupMenu = new MyPopupMenu(this, geo, screenPos);\n popupMenu.show(invoker, p.x, p.y);\n }", "title": "" }, { "docid": "bf7844803b60060f5060ae73c3af6906", "score": "0.5760708", "text": "void displayZoom() {\n double gz = ((int) (graphZoom * 1000)) / 1000.0;\n status3 = \"Zoom : \" + gz;\n repaint();\n }", "title": "" }, { "docid": "f3a2a7496d7ffabc69e1cfd62ce7c0f3", "score": "0.57527006", "text": "MapView() {\n\t\t\tsuper(\"JMapViewer\");\n\t\t\tsetSize(WIDTH_HEIGHT, WIDTH_HEIGHT);\n\t\t\tthis.treeMap = new JMapViewerTree(\"Zones\");\n\n\t\t\tmap().addJMVListener(this);\n\n\t\t\tsetLayout(new BorderLayout());\n\t\t\tsetExtendedState(JFrame.MAXIMIZED_BOTH);\n\t\t\tJPanel panel = new JPanel(new BorderLayout());\n\t\t\tJPanel panelTop = new JPanel();\n\t\t\tJPanel panelBottom = new JPanel();\n\t\t\tJPanel helpPanel = new JPanel();\n\n\t\t\tmperpLabelName = new JLabel(\"Meters/Pixels: \");\n\t\t\tmperpLabelValue = new JLabel(String.format(\"%s\", map().getMeterPerPixel()));\n\t\t\tzoomLabel = new JLabel(\"Zoom: \");\n\t\t\tzoomValue = new JLabel(String.format(\"%s\", map().getZoom()));\n\n\t\t\tadd(panel, BorderLayout.NORTH);\n\t\t\tadd(helpPanel, BorderLayout.SOUTH);\n\t\t\tpanel.add(panelTop, BorderLayout.NORTH);\n\t\t\tpanel.add(panelBottom, BorderLayout.SOUTH);\n\t\t\tJLabel helpLabel = new JLabel(\"Use right mouse button to move,\\n \"\n\t\t\t\t\t+ \"left double click or mouse wheel to zoom.\");\n\t\t\thelpPanel.add(helpLabel);\n\t\t\tJButton button = new JButton(\"setDisplayToFitMapMarkers\");\n\n\t\t\tbutton.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tmap().setDisplayToFitMapMarkers();\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tJComboBox<TileSource> tileSourceSelector = new JComboBox<>(\n\t\t\t\t\tnew TileSource[] { new OsmTileSource.Mapnik() });\n\n\t\t\ttileSourceSelector.addItemListener(new ItemListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\t\tmap().setTileSource((TileSource) e.getItem());\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tJComboBox<TileLoader> tileLoaderSelector;\n\t\t\ttileLoaderSelector = new JComboBox<>(new TileLoader[] { new OsmTileLoader(map()) });\n\t\t\ttileLoaderSelector.addItemListener(new ItemListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void itemStateChanged(ItemEvent e) {\n\t\t\t\t\tmap().setTileLoader((TileLoader) e.getItem());\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmap().setTileLoader((TileLoader) tileLoaderSelector.getSelectedItem());\n\t\t\tpanelTop.add(tileSourceSelector);\n\t\t\tpanelTop.add(tileLoaderSelector);\n\t\t\tfinal JCheckBox showMapMarker = new JCheckBox(\"Map markers visible\");\n\t\t\tshowMapMarker.setSelected(map().getMapMarkersVisible());\n\t\t\tshowMapMarker.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tmap().setMapMarkerVisible(showMapMarker.isSelected());\n\t\t\t\t}\n\t\t\t});\n\t\t\tpanelBottom.add(showMapMarker);\n\t\t\tfinal JCheckBox showTreeLayers = new JCheckBox(\"Tree Layers visible\");\n\t\t\tshowTreeLayers.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\ttreeMap.setTreeVisible(showTreeLayers.isSelected());\n\t\t\t\t}\n\t\t\t});\n\t\t\tpanelBottom.add(showTreeLayers);\n\t\t\t///\n\t\t\tfinal JCheckBox showToolTip = new JCheckBox(\"ToolTip visible\");\n\t\t\tshowToolTip.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tmap().setToolTipText(null);\n\t\t\t\t}\n\t\t\t});\n\t\t\tpanelBottom.add(showToolTip);\n\n\t\t\tfinal JCheckBox showZoomControls = new JCheckBox(\"Show zoom controls\");\n\t\t\tshowZoomControls.setSelected(map().getZoomControlsVisible());\n\t\t\tshowZoomControls.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tmap().setZoomContolsVisible(showZoomControls.isSelected());\n\t\t\t\t}\n\t\t\t});\n\t\t\tpanelBottom.add(showZoomControls);\n\t\t\tfinal JCheckBox scrollWrapEnabled = new JCheckBox(\"Scrollwrap enabled\");\n\t\t\tscrollWrapEnabled.addActionListener(new ActionListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tmap().setScrollWrapEnabled(scrollWrapEnabled.isSelected());\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tpanelBottom.add(scrollWrapEnabled);\n\t\t\tpanelBottom.add(button);\n\n\t\t\tpanelTop.add(zoomLabel);\n\t\t\tpanelTop.add(zoomValue);\n\t\t\tpanelTop.add(mperpLabelName);\n\t\t\tpanelTop.add(mperpLabelValue);\n\n\t\t\tadd(treeMap, BorderLayout.CENTER);\n\n\t\t\tmap().addMouseListener(new MouseAdapter() {\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\t\tif (e.getButton() == MouseEvent.BUTTON1) {\n\t\t\t\t\t\tmap().getAttribution().handleAttribution(e.getPoint(), true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tmap().addMouseMotionListener(new MouseAdapter() {\n\t\t\t\t@Override\n\t\t\t\tpublic void mouseMoved(MouseEvent e) {\n\t\t\t\t\tPoint p = e.getPoint();\n\t\t\t\t\tboolean cursorHand = map().getAttribution().handleAttributionCursor(p);\n\t\t\t\t\tif (cursorHand) {\n\t\t\t\t\t\tmap().setCursor(new Cursor(Cursor.HAND_CURSOR));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmap().setCursor(new Cursor(Cursor.DEFAULT_CURSOR));\n\t\t\t\t\t}\n\t\t\t\t\tif (showToolTip.isSelected())\n\t\t\t\t\t\tmap().setToolTipText(map().getPosition(p).toString());\n\t\t\t\t}\n\t\t\t});\n\t\t}", "title": "" }, { "docid": "59304c0c3182d363cac807707ac51f7e", "score": "0.57480854", "text": "public void show(myPoint P, double r){show(P,r, gui_Black, gui_Black, false);}", "title": "" }, { "docid": "e1278d4cc6c135211737803e3999f75c", "score": "0.57223207", "text": "private void drawZoomSelection() {\n graphicsBuffer.setXORMode(Color.white);\n graphicsBuffer.setColor(Color.black);\n if (mousePoint == null) {\n if (rec != null) {\n graphicsBuffer.drawRect(rec.x, rec.y, rec.width, rec.height);\n rec = null;\n }\n graphicsBuffer.setPaintMode();\n return;\n }\n if (rec != null) {\n graphicsBuffer.drawRect(rec.x, rec.y, rec.width, rec.height);\n\n }\n switch (zoomMode) {\n case 0:\n rec = new Rectangle(mousePoint.x - zw / 2, mousePoint.y - zh / 2, zw, zh);\n break;\n case 1:\n rec = new Rectangle(graphProperties.getWestGap(), mousePoint.y - zh / 2, width - graphProperties.getHGap(), zh);\n break;\n case 2:\n rec = new Rectangle(mousePoint.x - zw / 2, graphProperties.getNorthGap(), zw, height - graphProperties.getVGap());\n break;\n }\n \n graphicsBuffer.drawRect(rec.x, rec.y, rec.width, rec.height);\n graphicsBuffer.setPaintMode();\n }", "title": "" }, { "docid": "b947ff875bbacb9e4ff32a7bc2c8f3cb", "score": "0.5695402", "text": "private void click(){\n if (simplifiedMode)\n {\n getVisualPreviewPanel().zoomCenter(1.2*getVisualPreviewPanel().zoom);\n setMoveButton();\n refresh();\n }\n else\n {\n setZoomInButton();\n }\n //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n // End Edit by Spencer Hoffa\n ///////////////////////////////////////////\n\t\t\t\t}", "title": "" }, { "docid": "d327c9d8ceac680abcf4f768440df573", "score": "0.5672533", "text": "public void zoomIn() {\n\n }", "title": "" }, { "docid": "55bbf41def413a725329f796ee32cc2a", "score": "0.5669846", "text": "@Override\r\n\tpublic void onLongPress(MotionEvent e) {\n\t\t int x = (int) e.getX();\r\n int y = (int) e.getY();\r\n\r\n final GeoPoint point = mMapView.getProjection().fromPixels(x, y);\r\n \r\n if(popUpView!=null){\r\n\t\t\t\tmMapView.removeView(popUpView);\r\n\t\t\t}\r\n\t\t // Projection接口用于屏幕像素点坐标系统和地球表面经纬度点坐标系统之间的变换\r\n\t\t popUpView=inflater.inflate(R.layout.popup, null);\r\n\t\t\tTextView textView=(TextView) popUpView.findViewById(R.id.PoiName);\r\n\t\t\ttextView.setText(\"点击设定目的地\");\r\n\t\t\tMapView.LayoutParams lp;\r\n\t\t\tlp = new MapView.LayoutParams(MapView.LayoutParams.WRAP_CONTENT,\r\n\t\t\t\t\tMapView.LayoutParams.WRAP_CONTENT,\r\n\t\t\t\t\tpoint,0,0,\r\n\t\t\t\t\tMapView.LayoutParams.BOTTOM_CENTER);\r\n\t\t\t\tmMapView.addView(popUpView,lp);\r\n\t\t\t\t\r\n\t\t\tpopUpView.setOnClickListener(new OnClickListener() {\t\r\n\t\t\t\t@Override\r\n\t\t\t\tpublic void onClick(View v) {\r\n\t\t\t\t\tmDestLong = point.getLongitudeE6()/1E6;\r\n\t\t\t\t\tmDestLat = point.getLatitudeE6()/1E6;\r\n\t\t\t\t\t\r\n\t\t\t\t\tpointDest = point;\r\n\t\t\t\t\t\r\n\t \tcreateChoiceDialog(); \r\n\t \t\r\n\t \tmMapView.removeView(popUpView);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t}", "title": "" }, { "docid": "24308edf1c712dee1c40126b2ac0d820", "score": "0.5668718", "text": "public String getZoomOutMenuText();", "title": "" }, { "docid": "2e2276dd31a6662fb410b09139b1776d", "score": "0.56552386", "text": "private void click(){\n if (simplifiedMode)\n {\n getVisualPreviewPanel().zoomCenter(0.8*getVisualPreviewPanel().zoom);\n setMoveButton();\n refresh();\n }\n else\n {\n setZoomOutButton();\n }\n //^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n // End Edit by Spencer Hoffa\n ///////////////////////////////////////////\n\t\t\t\t}", "title": "" }, { "docid": "e549c25bd72f27f2c066f527c083d6cf", "score": "0.5638371", "text": "public ScaleToPointsDialog(Window owner)\n {\n super(owner);\n super.setBaseTitle(\"Scale Viewport\");\n initGUI();\n }", "title": "" }, { "docid": "8dbb6e453b400836a0f74ffad34db20b", "score": "0.56285334", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tv.getLocationInWindow(parentPositon);\n\t\t\t\tSystem.out.println(\"position.x=\" + parentPositon[0]\n\t\t\t\t\t\t+ \",position.y=\" + parentPositon[1] + \",x=\" + x + \",y=\"\n\t\t\t\t\t\t+ y);\n\t\t\t\t// showMenu(v, x, y + parentPositon[1]);\n\t\t\t\tif (listener != null) {\n\t\t\t\t\tlistener.setSuperPosition(v, x, parentPositon[1] + y);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "e75c000138049404cb4aa221f68cb086", "score": "0.5556727", "text": "public void setLocation(Point p) throws UnsupportedOperationException{\n createHelpWindow();\n if(myModallyActivated){\n myDialog.setLocation(p);\n } else{\n myFrame.setLocation(p);\n }\n }", "title": "" }, { "docid": "a929d5a468acc07ff5ac1ebad47e35f9", "score": "0.5545376", "text": "public void showRightClickMenu(Point location);", "title": "" }, { "docid": "4322e8dcd63752008d4229cb9fbd0d4c", "score": "0.5526652", "text": "@Override\n public void onClick(View v) {\n\n showFullZoomImage.showImage(cp.getStr_image());\n\n }", "title": "" }, { "docid": "fef38415c44e5f53f2f581de5c8fbcbf", "score": "0.5480958", "text": "public String getZoomResetMenuText();", "title": "" }, { "docid": "82d40759f734274435501091fb1b0152", "score": "0.5478975", "text": "private static void showPopupMenu (JPopupMenu popup, Point p, Component comp) {\n if (NO_POPUP_PLACEMENT_HACK) {\n popup.show(comp, p.x, p.y);\n return;\n }\n\n SwingUtilities.convertPointToScreen (p, comp);\n Dimension popupSize = popup.getPreferredSize ();\n Rectangle screenBounds = Utilities.getUsableScreenBounds(comp.getGraphicsConfiguration());\n\n if (p.x + popupSize.width > screenBounds.x + screenBounds.width) {\n p.x = screenBounds.x + screenBounds.width - popupSize.width;\n }\n if (p.y + popupSize.height > screenBounds.y + screenBounds.height) {\n p.y = screenBounds.y + screenBounds.height - popupSize.height;\n }\n\n SwingUtilities.convertPointFromScreen (p, comp);\n popup.show(comp, p.x, p.y);\n }", "title": "" }, { "docid": "b6bf7aa8a15c8f962be62d3089ca43f5", "score": "0.5477176", "text": "public static JPopupMenu createFinalPopupMenu(MultiSlicePositioner mp, BdvMultislicePositionerView view) {\n JPopupMenu popup = new JPopupMenu();\n\n addPopupAction(popup,\"Set as Key Slice(s)\", () -> {\n SliceSources[] slices = mp.getSelectedSlices().toArray(new SliceSources[0]);\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n for (SliceSources slice : slices) {\n new KeySliceOnAction(mp, slice).runRequest();\n }\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n });\n\n addPopupAction(popup,\"Remove Key Slice(s)\", () -> {\n SliceSources[] slices = mp.getSelectedSlices().toArray(new SliceSources[0]);\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n for (SliceSources slice : slices) {\n new KeySliceOffAction(mp, slice).runRequest();\n }\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n });\n\n /* TODO : restore ? or not ?\n addPopupAction(popup, \"Hide Slices\", () -> {\n SliceSources[] slices = mp.getSelectedSources().toArray(new SliceSources[0]);\n for (SliceSources slice : slices) {\n view.setSliceInvisible(slice);\n }\n });\n\n addPopupAction(popup, \"Show Slices\", () -> {\n SliceSources[] slices = mp.getSelectedSources().toArray(new SliceSources[0]);\n for (SliceSources slice : slices) {\n view.setSliceVisible(slice);\n }\n });\n */\n\n addPopupAction(popup, \"Remove Selected Slices \", () -> {\n SliceSources[] slices = mp.getSelectedSlices().toArray(new SliceSources[0]);\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n for (SliceSources slice : slices) {\n new DeleteSliceAction(mp, slice).runRequest();\n }\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n });\n\n popup.addSeparator();\n\n addPopupAction(popup, \"Edit Last Registration\", () -> mp.getContext().getService(CommandService.class).run(RegisterSlicesEditLastCommand.class,true, \"mp\", mp));\n\n addPopupAction(popup, \"Remove Last Registration\", () -> {\n SliceSources[] slices = mp.getSelectedSlices().toArray(new SliceSources[0]);\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n for (SliceSources slice : slices) {\n new DeleteLastRegistrationAction(mp, slice).runRequest();\n }\n if (slices.length>1) new MarkActionSequenceBatchAction(mp).runRequest();\n });\n\n popup.addSeparator();\n\n addPopupAction(popup, \"Undo Last Action\", mp::cancelLastAction);\n\n addPopupAction(popup,\"Redo Last Action\", mp::redoAction);\n\n popup.addSeparator();\n\n addPopupAction(popup,\"Positioning mode\", () -> view.setDisplayMode(BdvMultislicePositionerView.POSITIONING_MODE_INT));\n\n addPopupAction(popup,\"Registration mode\", () -> view.setDisplayMode(BdvMultislicePositionerView.REVIEW_MODE_INT));\n\n addPopupAction(popup, \"Change overlap mode\", view::toggleOverlap);\n\n return popup;\n }", "title": "" }, { "docid": "0011ae71f41f35b8d23b2e1770ee564d", "score": "0.547554", "text": "@Override\n\tpublic void paintComponent(Graphics g){\n\t\tsuper.paintComponent(g);\n\t\tif (options==null)\n\t\t\treturn;\n\t\tswitch (options.getViewType()){\n\t\tcase Limited:\n\t\t\tif (maze.getPlayer()==null)\n\t\t\t\treturn;\n\t\t\taddPointsInView(maze.getPlayer());\n\t\t\tpaintPoints(g,recentHistory);\n\t\t\tbreak;\n\t\tcase Normal:\n\t\t\tpaintPoints(g, maze.getAll());\t\n\t\t\tbreak;\n\t\t}\n\t}", "title": "" }, { "docid": "9dc79ee3ddbdc1837b97d19db92004cc", "score": "0.54526985", "text": "public View_all() {\n initComponents();\n \n \n //to get middle of screen\n Toolkit toolkit=getToolkit();\n Dimension size =toolkit.getScreenSize();\n setLocation(size.width/2 - getWidth()/2,size.height/2-getHeight()/2);\n }", "title": "" }, { "docid": "de2d90088426f77fa8b2fff1fd2af1c5", "score": "0.54493105", "text": "public void actionPerformed(final ActionEvent event) {\n // TODO: implement this\n // _plot.setActionMode(ActionMode.ZoomByFactor);\n // _plot.setZoomMode(_zoomMode);\n // Cursor cursor = PlotCursorFactory.getZoomCursor();\n // _plot.getModelCanvas().getComponent().setCursor(cursor);\n }", "title": "" }, { "docid": "1f4a56a98dc31a066cc539fce4f5a4e6", "score": "0.54459596", "text": "public void displayMap(Point p) {\n System.out.println(\" ----------\");\n for (int i = 0; i < mMap.length; i++) {\n System.out.print(\"| \");\n for (int j = 0; j < mMap.length; j++) {\n\n if ((p.x == i) && (p.y == j)) {\n System.out.print(\"* \");\n } else if (mRevealed[i][j] == true) {\n System.out.print(mMap[i][j] + \" \");\n } else {\n System.out.print(\"x \");\n }\n }\n System.out.println(\"|\");\n }\n System.out.println(\" ----------\");\n }", "title": "" }, { "docid": "77078ad52abeed0e4a3da882b45d5f7d", "score": "0.54347754", "text": "@Override\n public void onMousePressed( MapMouseEvent ev ) {\n panePos = ev.getPoint();\n panning = true;\n }", "title": "" }, { "docid": "57571866cbe110df56198fa29efedc43", "score": "0.54335546", "text": "public void zoomOut() {\n\n }", "title": "" }, { "docid": "90f298a6425aee4213ad982c45c9a803", "score": "0.54333097", "text": "public void zoomIn () { startZoom (ZoomDirection.ZOOM_IN); }", "title": "" }, { "docid": "8b07a99ed8a3fbfc0d324cb46060bd3c", "score": "0.5419558", "text": "public void paneEvent(Object object){\r\n GUI gui = (GUI)registeredObject;\r\n GPane pane = gui.getTopPane();\r\n if(pane == null) return;\r\n int currentZoom = pane.getShowCachedZoomLevel();\r\n super.setSelected(pane.getMode() == GPane.SELECTION_MODE);\r\n }", "title": "" }, { "docid": "28a09a0535c971cf2ab63018b69aabe2", "score": "0.54065996", "text": "void setPopupPosition(int left, int top);", "title": "" }, { "docid": "d77c08937deaefe4a62295f257c94b95", "score": "0.53814507", "text": "void setZoomLevel(final double level);", "title": "" }, { "docid": "18db0b0842c0f43cc7db6782a179a3f1", "score": "0.5373965", "text": "public void runContextMenu(PathView aPathView, ViewEvent anEvent)\n{\n // Get the handle that was clicked on\n Path path = aPathView.getPathInBounds();\n int pindex = _selectedPointIndex;\n String mtitle = null, mname = null;\n \n // If clicked on a valid handle, add 'delete point' to menu, \n if(pindex>=0) {\n if(pointOnPath(path, pindex)) { // Only on-path points can be deleted\n mtitle = \"Delete Anchor Point\"; mname =\"DeletePointMenuItem\"; }\n }\n \n // Otherwise if the path itself was hit, use 'add point'\n else {\n // Convert event point to view coords\n _newPoint = aPathView.parentToLocal(anEvent.getX(), anEvent.getY(), getEditor());\n \n // linewidth is probably in view coords, and might need to get transformed to path coords here\n if(path.intersects(_newPoint.x, _newPoint.y, Math.max(aPathView.getBorder().getWidth(),8))) {\n mtitle = \"Add Anchor Point\"; mname = \"AddPointMenuItem\"; }\n }\n \n // return if there's nothing to be done\n if(mname==null) return;\n \n // Create new PopupMenu\n Menu pmenu = new Menu();\n MenuItem mitem = new MenuItem(); mitem.setText(mtitle); mitem.setName(mname); pmenu.addItem(mitem);\n pmenu.setOwner(this);\n pmenu.show(anEvent.getView(), anEvent.getX(), anEvent.getY());\n}", "title": "" }, { "docid": "29c0effbeb98f0f5b203f4b3927295fd", "score": "0.53722507", "text": "@Override\n public void paint(Graphics2D g, JXMapViewer map, int width, int height) {\n Rectangle mainMapBounds = mainMap.getViewportBounds();\n\n // convert to Point2Ds\n Point2D upperLeft2D = mainMapBounds.getLocation();\n Point2D lowerRight2D = new Point2D.Double(upperLeft2D.getX() + mainMapBounds.getWidth(),\n upperLeft2D.getY() + mainMapBounds.getHeight());\n\n // convert to GeoPostions\n GeoPosition upperLeft = mainMap.getTileFactory().pixelToGeo(upperLeft2D, mainMap.getZoom());\n GeoPosition lowerRight = mainMap.getTileFactory().pixelToGeo(lowerRight2D, mainMap.getZoom());\n\n // convert to Point2Ds on the mini-map\n upperLeft2D =\n map.getTileFactory().geoToPixel(upperLeft, map.getZoom());\n lowerRight2D =\n map.getTileFactory().geoToPixel(lowerRight, map.getZoom());\n g =\n (Graphics2D) g.create();\n Rectangle rect = map.getViewportBounds();\n //p(\"rect = \" + rect);\n g.translate(-rect.x, -rect.y);\n Point2D centerpos = map.getTileFactory().geoToPixel(mapCenterPosition, map.getZoom());\n //p(\"center pos = \" + centerpos);\n g.setPaint(Color.RED);\n //g.drawRect((int)centerpos.getX()-30,(int)centerpos.getY()-30,60,60);\n g.drawRect((int) upperLeft2D.getX(), (int) upperLeft2D.getY(),\n (int) (lowerRight2D.getX() - upperLeft2D.getX()),\n (int) (lowerRight2D.getY() - upperLeft2D.getY()));\n g.setPaint(new Color(255, 0, 0, 50));\n g.fillRect((int) upperLeft2D.getX(), (int) upperLeft2D.getY(),\n (int) (lowerRight2D.getX() - upperLeft2D.getX()),\n (int) (lowerRight2D.getY() - upperLeft2D.getY()));\n //g.drawOval((int)lowerRight2D.getX(),(int)lowerRight2D.getY(),1,1);\n g.dispose();\n }", "title": "" }, { "docid": "cc86b836e4775271cbbd45021ec4f4b5", "score": "0.53581476", "text": "@Override\r\n\t\tpublic void onZoomStart(double arg0) {\n\r\n\t\t}", "title": "" }, { "docid": "6c97684eed51a576e037e347448e8a47", "score": "0.53498006", "text": "@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif (pointCenter == null) {\r\n\t\t\t\t\tpointCenter = new GeoPoint(39976756, 116381907);\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmMapController.setCenter(pointCenter);\r\n\t\t\t\tmMapCenterCtrlByUserCount = 0;\r\n\t\t\t}", "title": "" }, { "docid": "6eac0ece507df0197067c9498b540e86", "score": "0.5344243", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tpopwin_danmakuSetting.showAtLocation(rl_content, Gravity.CENTER, 0, 0);\n\t\t\t}", "title": "" }, { "docid": "a30f1475924b5dc430adad0b6d4a0490", "score": "0.5340969", "text": "private Pane createMiniMapControl() {\n\n Button plusButton = new Button(\"+\");\n plusButton.setMinWidth(30);\n plusButton.setOnAction(e -> {\n if (scale2D >= 10000) {\n scale2D /= zoomFactor2D;\n mapView.setViewpointScaleAsync(scale2D);\n }\n });\n\n Button minusButton = new Button(\"-\");\n minusButton.setMinWidth(30);\n minusButton.setOnAction(e -> {\n if (scale2D <= 500000) {\n scale2D *= zoomFactor2D;\n mapView.setViewpointScaleAsync(scale2D);\n }\n });\n\n VBox zoomBox = new VBox(plusButton, minusButton);\n view2D.getChildren().add(zoomBox);\n return view2D;\n }", "title": "" }, { "docid": "b8ccef57883b4acb3de952d8c1a30a86", "score": "0.5331496", "text": "public void show(myPoint P, double r, String s, myVector D){show(P,r, gui_Black, gui_Black, false);pushStyle();setColorValFill(gui_Black);show(P,s,D);popStyle();}", "title": "" }, { "docid": "5e0babdd665cde9e94c39c994cc71c14", "score": "0.5317341", "text": "private void displayPane(Node p){\n root.setCenter(p);\n BorderPane.setAlignment(p,Pos.CENTER);\n }", "title": "" }, { "docid": "f8f3735044d27797cbfa82993a11f1b6", "score": "0.53007525", "text": "void displayMenu_menuSelected(final MenuEvent e) {\n\t\tfinal JInternalFrame frame = desktopPane.getSelectedFrame();\n\t\tif (frame == null) {\n\t\t\treturn;\n\t\t}\n\t\tfinal JSVPanel jsvp = (JSVPanel) frame.getContentPane().getComponent(0);\n\t\tgridCheckBoxMenuItem.setSelected(jsvp.isGridOn());\n\t\tcoordsCheckBoxMenuItem.setSelected(jsvp.isCoordinatesOn());\n\t\trevPlotCheckBoxMenuItem.setSelected(jsvp.isPlotReversed());\n\t}", "title": "" }, { "docid": "d63312944161b3c6771d54720810b8b1", "score": "0.529205", "text": "@FXML\n abstract public void mapZoomIn(ActionEvent event);", "title": "" }, { "docid": "9db3b12f8960148b762a964a5909bfcb", "score": "0.5287278", "text": "public UIVerCP()\r\n {\r\n initComponents();\r\n // Codigo necesario para centrar la ventana\r\n Dimension pantalla, cuadro;\r\n\t\tpantalla = Toolkit.getDefaultToolkit().getScreenSize();\r\n\t\tcuadro = this.getSize();\r\n\t\tthis.setLocation(((pantalla.width - cuadro.width)/2), (pantalla.height - cuadro.height)/2);\r\n //Fin del centrado\r\n }", "title": "" }, { "docid": "243ab397dcb037985840acee8febd99f", "score": "0.52860016", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.mainzoom, menu);\n\t\treturn true;\n\t}", "title": "" }, { "docid": "ba96bbb899f10c0f277796d442a5acfb", "score": "0.52838486", "text": "@Override\n public void setPosition(int offsetWidth, int offsetHeight) {\n int left = 2 * Window.getClientWidth() / 3;\n int top = Window.getClientHeight() / 2;\n setPopupPosition(left, top);\n }", "title": "" }, { "docid": "37b057bf3526f2f00f6aeb0fdd3ffe9f", "score": "0.5279643", "text": "public void displayAt() {\n xpos=mouseX;\n ypos=mouseY;\n pushMatrix();\n lights();\n stroke(c);\n noFill();\n translate(xpos,ypos,zpos);\n sphere(radius);\n popMatrix();\n }", "title": "" }, { "docid": "aafc1fc0dbad1dce5835203a4741832b", "score": "0.5277277", "text": "public void iniciar ()\r\n {\r\n view.setTitle(\"Ordenar Numeros\");\r\n view.setLocationRelativeTo(null);\r\n }", "title": "" }, { "docid": "cfc28da67ce3944b66889ed5f83b1a50", "score": "0.52758515", "text": "public VueMenuPrincipal() {\n initComponents();\n myInitComponents();\n this.setLocation(500, 200);\n }", "title": "" }, { "docid": "8707a8c085f6ea4cfdbc0c7ab74ed23a", "score": "0.52750146", "text": "@Override\r\n\tpublic void actionPerformed (ActionEvent e)\r\n\t{\n\t\tm_latLonAltManager.setInputEarthLocation (m_distancePanel.getDisplayLocation ());\r\n\t\tsuper.setLocationRelativeTo (m_distancePanel);\r\n\t\tsuper.setVisible (true);\r\n\t}", "title": "" }, { "docid": "ff3fe477de4321aebf04531271b827db", "score": "0.5274448", "text": "public String getZoomLevelText();", "title": "" }, { "docid": "012e3a5cf55f24d212bb385fb1bd89e4", "score": "0.52702916", "text": "@Override\npublic void createMenuItem(String s, double p) {\n\t\n}", "title": "" }, { "docid": "075b6583aa1d357a4f6ce43d8a1349d8", "score": "0.52686423", "text": "public VueMenu(){\n\t\t\n\t\t\n\t\tthis.setTitle(\"Monopoly\");\n\t\tthis.setSize(ConstantesVue.DIMENSION_FENETRE_X, ConstantesVue.DIMENSION_FENETRE_Y);\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tthis.setLocationRelativeTo(null);\n\t\tthis.setResizable(false);\n\t\tthis.setFocusable(false);\n\t\t\n\t\tlePanneau2 = new EcranFinDePartie(this);\n\t\tlePanneau3 = new EcranStart(this);\n\t\tlePanneau4 = new EcranRegle(this);\n\t\tlePanneau5 = new EcranOpt(this);\n\t\tlePanneau6 = new EcranOptPlus(this);\n\t\t\n\t\t\n\t\t//this.add(lePanneau5);\n\t\t//this.lePanneau5.setVisible(false);\n\t\t//this.add(lePanneau4);\n\t\t//this.lePanneau4.setVisible(false);\n\t\t\n\t\t\n\t\tthis.add(lePanneau3);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\tthis.setVisible(true);\n\t\t//this.pack();\n\t\t\n\t}", "title": "" }, { "docid": "1daed084451bfc270f7f63e074319c12", "score": "0.5255897", "text": "int getDefaultZoomLevel();", "title": "" }, { "docid": "dbed167f8449c3888b4de1a46a6846b0", "score": "0.5253924", "text": "public void mostrar() {\n\n this.view.setLocationRelativeTo(null);\n this.view.setVisible(true);\n \n\n\n }", "title": "" }, { "docid": "a587ad3759a14445c95c2bdc85874190", "score": "0.5252651", "text": "public void handleEvent(Event event)\n \t{\n \t\tRectangle bounds = ti.getBounds();\n \t\tPoint point = tb.toDisplay(bounds.x, bounds.y + bounds.height);\n \t\tmu.setLocation(point);\n \t\tmu.setVisible(true);\n \t}", "title": "" }, { "docid": "814dfeea27b5a746c54fa8e5c321f342", "score": "0.5250695", "text": "public void zoomOut () { startZoom (ZoomDirection.ZOOM_OUT); }", "title": "" }, { "docid": "6e360f879f579be63e8eb8ded2e66365", "score": "0.52504843", "text": "private final Point3D viewportTransform(final Point3D p){\n double nx = ax + bx*p.x;\n double ny = ay + bx*p.y;\n Point3D a = new Point3D(nx,ny,0);\n return a;\n }", "title": "" }, { "docid": "34ca01829d839942798e801a0c18bf25", "score": "0.5241872", "text": "@Override\n\tpublic void mouseClicked(MouseEvent arg0) {\n\t\tparent.changeView(new PastLevelPanel(parent));\n\t}", "title": "" }, { "docid": "0e1cda86fddd17c902ddb9108983250d", "score": "0.5223184", "text": "private void whenRootPanePressed(MouseEvent event){\n x_Offset = stage.getX() - event.getScreenX();\n y_Offset = stage.getY() - event.getScreenY();\n }", "title": "" }, { "docid": "55132e943329be3325404707b9530cd2", "score": "0.5222512", "text": "public Zoom() {\r\n\t\tm_level = OpenMapProvider.ZOOM_DEFAULT;\r\n\t}", "title": "" }, { "docid": "72346c66d87d10332026d25a4cdc6b9f", "score": "0.52047396", "text": "public void showLocation(View view) {\n int pos = Integer.valueOf(view.getTag().toString());\n String room = listAdapter.getChild(pos, 0).toString().substring(16);\n Room room1 = setupGraph.getRooms().getRoom(room);\n Node node = setupGraph.getNodes().FindClosestNodeInsideRoom(room1);\n int floor = (node == null) ? room1.getFloor(): node.getFloor();\n LatLng getRoom = room1.getLatLngBoundsCenter();\n if(MapDrawer.getFloor() != floor) {\n MapDrawer.hideMarkersAndPolylinesFloor(MapDrawer.getFloor());\n MapDrawer.showMarkersAndPolylinesFloor(floor);\n MapDrawer.setFloor(floor);\n }\n\n mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(getRoom, 20));\n\n\n MapDrawer.addMarker(new LatLng(getRoom.latitude, getRoom.longitude), room1.getLocation(), floor);\n //animate\n Animator.visibilityRepairList(Animator.Visibility.HIDE);\n Animator.visibilityNavigationInfoBottom(Animator.Visibility.SHOW);\n Animator.visibilityFloorNavagator(Animator.Visibility.SHOW);\n }", "title": "" }, { "docid": "830480f0554b48a323859a2bc631ecd9", "score": "0.52026", "text": "@Override\n \tpublic void areaSelected(AreaSelectEvent event) {\n \t\tif (currentlyZooming) {\n \t\t\toverlaysVisible(false);\n \t\t\treturn;\n \t\t}\n \n \t\tif (currentDataSet != null) {\n \t\t\toProvider.begin(OverlayType.VECTOR2D);\n \t\t\tif (draggingPrimID == -1) {\n \t\t\t\tdraggingPrimID = oProvider.registerPrimitive(PrimitiveType.BOX);\n \t\t\t}\n \t\t\tif (event.getMode() == 0) {\n \t\t\t\toverlaysVisible(false);\n \t\t\t\toProvider.setColour(draggingPrimID, java.awt.Color.GREEN);\n \t\t\t\toProvider.setStyle(draggingPrimID, VectorOverlayStyles.FILLED_WITH_OUTLINE);\n \t\t\t\toProvider.setTransparency(draggingPrimID, 0.8);\n \t\t\t\toProvider.setOutlineTransparency(draggingPrimID, 0);\n \t\t\t\toProvider.setPrimitiveVisible(draggingPrimID, true);\n \t\t\t\tstartCoord[0] = event.getX();\n \t\t\t\tstartCoord[1] = MAXYVALUE;\n \t\t\t}\n \t\t\tif (event.getMode() == 1) {\n \t\t\t\tdouble[] current = { event.getX(), -MAXYVALUE };\n \t\t\t\toProvider.drawBox(draggingPrimID, startCoord[0], startCoord[1], current[0], current[1]);\n \t\t\t}\n \t\t\tif (event.getMode() == 2) {\n \t\t\t\tfinal double[] finalPos = { event.getX(), -MAXYVALUE };\n \t\t\t\toProvider.drawBox(draggingPrimID, startCoord[0], startCoord[1], finalPos[0], finalPos[1]);\n \t\t\t\tslicedData = sliceDataSet(startCoord[0], finalPos[0]);\n \n \t\t\t\t// Sometimes mainPlotter is null or the component above it is disposed.\n \t\t\t\t// So we use the general platform display to show the fit dialog.\n \t\t\t\tPlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {\n \t\t\t\t\t@Override\n \t\t\t\t\tpublic void run() {\n \t\t\t\t\t\t// Must use active shell as parent or icon is not correct on some platforms\n \t\t\t\t\t\t// and it appears in a different window with a different window manager bar.\n \t\t\t\t\t\tFitMenuDialog menu = new FitMenuDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(),\n \t\t\t\t\t\t\t\tpeaknames, algNames, selectedPeak, selectedAlg, accuracy);\n \t\t\t\t\t\tfinal boolean ok = menu.open();\n \t\t\t\t\t\tif (!ok) {\n \t\t\t\t\t\t\toverlaysVisible(false);\n \t\t\t\t\t\t\treturn;\n \t\t\t\t\t\t}\n \t\t\t\t\t\tfitPeakFromOverlay(startCoord[0], finalPos[0], menu.getFitData());\n \n \t\t\t\t\t}\n \t\t\t\t});\n \t\t\t\toverlaysVisible(true);\n \n \t\t\t}\n \t\t\toProvider.end(OverlayType.VECTOR2D);\n \t\t}\n \t}", "title": "" }, { "docid": "b08c9b9680e4a5c110d57b758cb9a947", "score": "0.52005625", "text": "public void initEuclidianViews(){\n \n \t\teuclidianController = new EuclidianController(kernel);\n \t\teuclidianView = new EuclidianView(euclidianController, showAxes,\n \t\t\t\tshowGrid);\n \t\teuclidianView.setAntialiasing(antialiasing);\n \t}", "title": "" }, { "docid": "b6e835d886a8d4f7706b8efbb11ccf27", "score": "0.5195994", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.endpage_zoom_menu, menu);\n return true;\n }", "title": "" }, { "docid": "2398a11a7a77a4f5a58b78cd52153dcf", "score": "0.5175336", "text": "public admin_page() {\n initComponents();\n Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();\n this.setLocation(dim.width/2-this.getSize().width/2, dim.height/2-this.getSize().height/2);\n }", "title": "" }, { "docid": "f89f080cd7bad47f9069a482ccc0309f", "score": "0.51740783", "text": "@Override\n\t\t\tpublic void mousePressed(MouseEvent arg0) {\n\t\t\t\tjl.setText(\"×ø±ê£ºX=\"+arg0.getX()+\",Y=\"+arg0.getY());\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "8c0f24c88f733db3cb495312a840c32a", "score": "0.51687205", "text": "@Override\n\t\t\tpublic void sizeChenged(DragImageView view, boolean canZoomIn,\n\t\t\t\t\tboolean canZoomOut) {\n\t\t\t\tif(mGalleryViewPager.getSelectedView() == view){\n\t\t\t\t\tsetZoomButton(view);\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "2a66643d29f90574d4971e1b5c40f97d", "score": "0.51659906", "text": "private void inicializeMap(){\n\n mapView.setBuiltInZoomControls(true); \n mapController = mapView.getController();\n mapController.setZoom(15); //the new zoom level, between 1 and 21 inclusive.\n mapView.setSatellite(true);\n mapController.animateTo(new GeoPoint(-2160624,-79921627));\n centerMyPosition(); \n\n}", "title": "" }, { "docid": "122bd8f86a5c06987c77b9c81bebe440", "score": "0.5163607", "text": "@Override\r\n\tpublic void onMapClick(LatLng arg0) {\n\t\tif (etZoomLevel.isFocused()) {\r\n\t\t\t//点击地图时,清除editZoomLevel焦点\r\n\t\t\tetZoomLevel.clearFocus();\r\n\t\t}\r\n\t\taddLogToView(\"Map Clicked\");\r\n\t}", "title": "" }, { "docid": "d62efac594a07a8da46002f4416e58a4", "score": "0.51632017", "text": "android.view.View showMiniMap();", "title": "" }, { "docid": "a2e464a6d367d3658caa0c89bbd43210", "score": "0.5153538", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tDragImageView view = null;\n\t\t\t\tif(v == mZoomIn){\n\t\t\t\t\tview = getCurrentImageView();\n\t\t\t\t\tif(view != null){\n\t\t\t\t\t\tview.zoomInBitmap();\n\t\t\t\t\t}\n\t\t\t\t}else if(v == mZoomOut){\n\t\t\t\t\tview = getCurrentImageView();\n\t\t\t\t\tif(view != null){\n\t\t\t\t\t\tview.zoomOutBitmap();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "ef65096b66c47783a789e3ff679d2744", "score": "0.51406884", "text": "private void zoomInMethod(Scene scene){\n scene.setOnMousePressed(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent event) {\n if(tools[zoomInInd])\n GUI.camera.translateZProperty().set(GUI.camera.getTranslateZ() + zoomFactor);\n }\n });\n }", "title": "" }, { "docid": "efd70a6d5f2da5e23e69f1bd7376fa87", "score": "0.5139249", "text": "public void draw(Graphics2D g, float zoom){\n radius = (selected) ? ((tol * 2) / (zoom)) : (tol / (zoom));\n \n Shape s = new Ellipse2D.Float(x-radius, y-radius, radius*2, radius*2);\n g.fill(s); \n }", "title": "" }, { "docid": "c99a03308e49643c9fa9ffa930aac88e", "score": "0.5130657", "text": "public void zoomIn(View view){\n \t\tfor (int i = 0; i < graphs.length; i++)\n \t\t\tgraphs[i].getGraphView().zoomIn(300); //TODO HARD CODE, fixed zoom\n \t}", "title": "" }, { "docid": "ac17a664bac2a9e797d60600ea6a3006", "score": "0.5130498", "text": "public void zoomTo(Point point) {\n\n\t\tint zoomPercent = getZoom();\n\n\t\tJViewport viewport = (JViewport) getParent();\t\t\n\n\t\tComponent[] children = getComponents();\n\n\t\t//Update elements in the view to zoom, i.e resize graphical elements and reposition them, all done in zoomUpdate.\n\t\tfor (int i = 0; i < children.length; i++) {\n\t\t\tif (children[i] instanceof Zoomable) {\n\t\t\t\t((Zoomable) children[i]).zoomUpdate(zoomPercent);\n\t\t\t}\n\t\t}\n\t\t\n\t\t// Calculate new position of the Drawing Surface.\n\t\tdouble newZoomedX = Zoomer.getZoomedValue(point.x, zoomPercent);\n\t\tdouble newZoomedY = Zoomer.getZoomedValue(point.y, zoomPercent);\n\n\t\tint newViewX = (int) (newZoomedX - (viewport.getWidth() * 0.5));\n\t\tif (newViewX < 0) {\n\t\t\tnewViewX = 0;\n\t\t}\n\n\t\tint newViewY = (int) (newZoomedY - (viewport.getHeight() * 0.5));\n\t\tif (newViewY < 0) {\n\t\t\tnewViewY = 0;\n\t\t}\n\n\t\t\n\t\tviewPosition.setLocation(newViewX, newViewY);\n\t\tviewport.setViewPosition(viewPosition);\n\n\t\tupdatePreferredSize();\n\t}", "title": "" }, { "docid": "06f41e2a3f457d67b3325eec15ba9ced", "score": "0.5128223", "text": "public ZoomWindow(String section){\n //Save section variable for use in action listener\n currentSection = section;\n\n //set basic functionality\n int width = 800, height = 723;\n Dimension min = new Dimension(width, height);\n setMinimumSize(min);\n setDefaultCloseOperation(DISPOSE_ON_CLOSE);\n\n //Stylize\n Color backgroundColor = new Color(153, 204, 255); //initialize main color\n Font mainFont = new Font(\"Serif\", Font.PLAIN, 20); //create main font for buttons\n setBackground(backgroundColor);\n\n //Layout\n setLayout(new GridBagLayout());\n GridBagConstraints c = new GridBagConstraints();\n setModal(true);\n\n try{\n //Add the map image\n fn = section + \"map.png\";\n BufferedImage myPicture = ImageIO.read(new File(\"/Users/brittanyregrut/Desktop/Cemetery_Management_Capstone/src/\"+fn));\n image = new JLabel(new ImageIcon(myPicture));\n c.gridx = 0;\n c.gridy = 0;\n add(image);\n }catch (IOException e){\n //Map file not found\n System.out.println(fn + \" not found\");\n System.exit(1);\n }\n\n //Add panel to search for a plot in this section\n searchPanel = new JPanel(new GridBagLayout());\n Dimension search = new Dimension(800, 100);\n searchPanel.setMaximumSize(search);\n\n //Initialize button/stylize\n submit = new JButton(\"Go!\");\n submit.addActionListener(new searchListener());\n submit.setFont(mainFont);\n plotLabel.setFont(mainFont);\n plotLabel.setHorizontalAlignment(SwingConstants.RIGHT);\n graveLabel.setFont(mainFont);\n graveLabel.setHorizontalAlignment(SwingConstants.RIGHT);\n plotInfo.setFont(mainFont);\n plot.setPreferredSize(new Dimension(80, 20));\n grave.setPreferredSize(new Dimension(80, 20));\n\n //Add components to panel. Add panel to window\n c.gridx = 0;\n c.gridy = 0;\n searchPanel.add(plotInfo, c);\n\n c.gridx = 2;\n searchPanel.add(plotLabel, c);\n\n c.gridx = 3;\n searchPanel.add(plot, c);\n\n c.gridx = 5;\n searchPanel.add(graveLabel, c);\n\n c.gridx = 6;\n searchPanel.add(grave, c);\n\n c.gridx = 8;\n searchPanel.add(submit);\n\n c.gridx = 0;\n c.gridy = 1;\n add(searchPanel, c);\n }", "title": "" }, { "docid": "14874babe642141d708016776b1ea973", "score": "0.51262915", "text": "public ViewPDV() {\n initComponents();\n setLocationRelativeTo(null);//centraliza a interface no meio da tela\n quantidade = 1;\n setarOperador();\n limparTela();\n }", "title": "" }, { "docid": "28b68e176a018b5d4f227530b1912432", "score": "0.5120199", "text": "public void setLocation(){\n x=400-(width/2); y=300-(height/2)-30;\r\n }", "title": "" }, { "docid": "812cfbe6db1b108549bcef017f8e3362", "score": "0.5119282", "text": "@Override\r\n\tpublic void actionPerformed(final ActionEvent evt) {\r\n\t\ttry {\r\n\t\t\tfinal String acmd = evt.getActionCommand();\r\n\t\t\t\r\n\t\t\tif (acmd.equals(ACTION_CMD_ZOOM_BOX)) {\r\n\t\t\t\tsetPanMode(false);\r\n\t\t\t} else\r\n\t\t\t\tif (acmd.equals(ACTION_CMD_PAN)) {\r\n\t\t\t\t\tsetPanMode(true);\r\n\t\t\t\t} else\r\n\t\t\t\t\tif (acmd.equals(ACTION_CMD_ZOOM_IN)) {\r\n\t\t\t\t\t\tfinal ChartRenderingInfo info = this.chartPanel.getChartRenderingInfo();\r\n\t\t\t\t\t\tfinal Rectangle2D rect = info.getPlotInfo().getDataArea();\r\n\t\t\t\t\t\tzoomBoth(rect.getCenterX(), rect.getCenterY(), ZOOM_FACTOR);\r\n\t\t\t\t\t} else\r\n\t\t\t\t\t\tif (acmd.equals(ACTION_CMD_ZOOM_OUT)) {\r\n\t\t\t\t\t\t\tfinal ChartRenderingInfo info = this.chartPanel.getChartRenderingInfo();\r\n\t\t\t\t\t\t\tfinal Rectangle2D rect = info.getPlotInfo().getDataArea();\r\n\t\t\t\t\t\t\tzoomBoth(rect.getCenterX(), rect.getCenterY(), 1 / ZOOM_FACTOR);\r\n\t\t\t\t\t\t} else\r\n\t\t\t\t\t\t\tif (acmd.equals(ACTION_CMD_ZOOM_TO_FIT)) {\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t// X-axis (has no fixed borders)\r\n\t\t\t\t\t\t\t\tthis.chartPanel.autoRangeHorizontal();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t// Y-Axes) (autoRangeVertical\r\n\t\t\t\t\t\t\t\t// not useful because of fixed borders\r\n\t\t\t\t\t\t\t\tfinal Plot plot = this.chartPanel.getChart().getPlot();\r\n\t\t\t\t\t\t\t\tif (plot instanceof ValueAxisPlot) {\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\tfinal XYPlot vvPlot = (XYPlot) plot;\r\n\t\t\t\t\t\t\t\t\tValueAxis axis = vvPlot.getRangeAxis();\r\n\t\t\t\t\t\t\t\t\tif (axis != null) {\r\n\t\t\t\t\t\t\t\t\t\taxis.setLowerBound(this.primYMinMax[0]);\r\n\t\t\t\t\t\t\t\t\t\taxis.setUpperBound(this.primYMinMax[1]);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif (plot instanceof XYPlot) {\r\n\t\t\t\t\t\t\t\t\t\tfinal XYPlot xyPlot = (XYPlot) plot;\r\n\t\t\t\t\t\t\t\t\t\taxis = xyPlot.getRangeAxis(1);\r\n\t\t\t\t\t\t\t\t\t\tif (axis != null) {\r\n\t\t\t\t\t\t\t\t\t\t\taxis.setLowerBound(this.secondYMinMax[0]);\r\n\t\t\t\t\t\t\t\t\t\t\taxis.setUpperBound(this.secondYMinMax[1]);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "182b6b408ab513b9c10eda76d9c1f801", "score": "0.51166767", "text": "@Override\n\tpublic void onUserCenterClick(SideMenuView view) {\n\n\t}", "title": "" }, { "docid": "a8ed4bb13143e6ad008de61643b903ae", "score": "0.5107867", "text": "@Override\n\t\t\tpublic void mousePressed(MouseEvent e) {\n\t\t\t\tPoint point = e.getPoint();\n\t\t\t\tPoint viewPosition = scrollPane.getViewport().getViewPosition();\n\t\t\t\tpoint.translate(viewPosition.x, viewPosition.y);\n\t\t\t\tComponent component = view.getComponentAt(point);\n\t\t\t\tif(component != null) {\n\t\t\t\t\tint idx = findComponentIndex(component);\n // select list row under the mouse\n\t\t\t\t\tif(idx >= 0 && e.getButton() == 1) {\n\t\t\t\t\t\t// select only on left button click\n\t\t\t\t\t\tsetSelectionInterval(idx, idx);\n\t\t\t\t\t}\n\t\t\t\t\t//else if(idx >= 0 && e.isPopupTrigger()){\t//FIXME: isPopupTrigger does nto work in mouse pressed\n\t\t\t\t\telse if(idx >= 0 && e.getButton() == 3){\n\t\t\t\t\t\t// show context menu on right button click\n\t\t\t\t\t\tJPopupMenu popMenu = MyList.this.getComponentPopupMenu();\n\t\t\t\t\t\tif(popMenu != null){\n\t\t\t\t\t\t\tboolean doShow = true;\n\t\t\t\t\t\t\tif(popMenu instanceof MyPopupMenu){\n\t\t\t\t\t\t\t\t((MyPopupMenu)popMenu).setListItemIndex(idx);\n\t\t\t\t\t\t\t\tdoShow = ((MyPopupMenu)popMenu).validateMenu(idx);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(doShow){\n\t\t\t\t\t\t\t\tpopMenu.show(e.getComponent(), e.getX(), e.getY());\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}", "title": "" }, { "docid": "0c6c6100f159c1d7d7b494980ff699c1", "score": "0.5106844", "text": "public void updateMenu()\n\t{\n\t\tint currZoomLevel = (int)(this.guiController.getCurrentStyleMapManager().getZoomFactor() * GUIUtility.SCALE_FACTOR); // to coordinate with %'s, also rounding to ints\n\t\t\n\t\tfor (int i = 0; i < GUIUtility.specificZoomLevels.length; i++)\n\t\t{\t\n\t\t\tif(currZoomLevel != GUIUtility.specificZoomLevels[i])\n\t\t\t{\n\t\t\t\tcheckItems[i].setSelected(false);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tcheckItems[i].setSelected(true);\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tupdateZoom(this.guiController.getCurrentStyleMapManager().getZoomFactor());\n\t}", "title": "" }, { "docid": "bf98cd1846698850658529bac6cc5657", "score": "0.51037437", "text": "public void show(myPoint P, String s, myVector D) {text(s, (float)(P.x+D.x), (float)(P.y+D.y), (float)(P.z+D.z)); }", "title": "" }, { "docid": "9d5223f7d11cd4e317b918a4e70bacfc", "score": "0.508793", "text": "@Override\n public void onMousePressed(MapMouseEvent ev) {\n startPosDevice.setLocation(ev.getPoint());\n startPosWorld.setLocation(ev.getWorldPos());\n }", "title": "" }, { "docid": "cf43d1689b4dae73f6f5fdbc4dc2a033", "score": "0.5083796", "text": "public void displayVentMapa(){\r\n\t\tgetContentPane().removeAll();\r\n\t\tvMapa = new VentMapa(nivel);\r\n\t\tadd(vMapa.getVentana());\r\n\t\trevalidate();\r\n\t\trepaint();\r\n\t}", "title": "" }, { "docid": "cb903a0a289566200f72e9a2c73327c4", "score": "0.508061", "text": "@Override\n public void updateMenus()\n {\n boolean selChanged = findSelectedVertices();\n if (selChanged)\n mapView.setDisplayedVertices(coord, selectedVertices);\n updateTextFields();\n }", "title": "" }, { "docid": "7623941fda6dd229423ad325fa4ca2b2", "score": "0.5075216", "text": "public void setSelectionPosition(int[] p){\r\n\tselectionPosition[0] =54+( p[0]*73);\r\n\tselectionPosition[1] =60+(p[1]*74);\r\n }", "title": "" }, { "docid": "87e9b8b5df52eef601afcb18738b7ef6", "score": "0.50737935", "text": "public void setZoom(int zoom) {\r\n this.zoom = zoom;\r\n }", "title": "" }, { "docid": "696f84765595f3681f4bc8217b460e5a", "score": "0.5059631", "text": "private void setLatLonTextFieldForCenterUsingGraphicsAreaCoordinates(ICustomProjectionService customProjectionService) {\n\t\tcenterLatText.setText(doubleValueFormater(customProjectionService.getCenterLat(), 3)); \n\t\tcenterLonText.setText(doubleValueFormater(customProjectionService.getCenterLon(), 3)); \n\t}", "title": "" }, { "docid": "d6fd6b070d4689d62746d4aeb15bdc8d", "score": "0.5059558", "text": "public RoverView(){\n\t\t\n\t\tthis.setSize(600,400);\n\t\tthis.setMinimumSize(new Dimension(500, 300));\n\t\tthis.setTitle(\"Control Devloper\");\n\t\tthis.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\n\n\t\tJPanel pane = new JPanel(new GridBagLayout());\n\t\tthis.add(pane);\n\t\tGridBagConstraints c = new GridBagConstraints();\n\t\t\n\t\tMenue menu = new Menue(this);\n\t \n\t \n\t //natural height, maximum width\n\t\tc.anchor = GridBagConstraints.PAGE_START;\n\t c.gridwidth = 2;\n\t c.fill = GridBagConstraints.HORIZONTAL;\n\t c.weightx = 1;\n\t c.weighty = 0;\n\t c.ipady = 30;\n\t c.gridx = 0;\n\t c.gridy = 0;\n\t pane.add(menu, c);\n\t \n\t \n\t c.gridwidth = 1;\n\t c.ipadx = 120;//make this component tall\n\t c.ipady = 60000;\n\t c.weightx = 0.0;\n\t c.weighty = 0.5;\n\t c.gridx = 0;\n\t c.gridy = 1;\n\t commandTypes = new CommandTypesTable();\n\t pane.add(commandTypes, c);\n\n\t \n\t c.weightx = 1;\n\t c.weighty = 0.5;\n\t c.gridx = 1;\n\t c.gridy = 1; \n\t commandList = new CommandListTable();\n\t pane.add(commandList, c);\n\t \n\n\t c.gridwidth = 2;\n\t c.weightx = 0.0;\n\t c.gridx = 0;\n\t c.gridy = 3;\n\t Konsole konsole = new Konsole();\n\t pane.add(konsole, c);\n\t \n\t \n\t //Buttons als eigenes Panel? -> Klasse Buttons\n\t Buttons buttonList = new Buttons();\n\t c.gridwidth = 2;\n\t c.weighty = 0.0;\n\t c.ipady = 10;\n\t c.gridx = 0;\n\t c.gridy = 2;\n\t pane.add(buttonList, c);\n\n\t\t\n\t}", "title": "" }, { "docid": "c864e26fac29127451070cdc5fef04cc", "score": "0.50499856", "text": "public static void main(String[] args) {\r\n HW03View view = new HW03View(700, 700);\r\n view.drawPoint(20, 30, 200);\r\n view.drawPoint(50, 50, 10);\r\n //view.drawPoint(100, 500, 10);\r\n //view.drawPoint(50, 50, 10);\r\n }", "title": "" }, { "docid": "4575434d5835ef0beba85214d8f6de53", "score": "0.5049646", "text": "private void startZoom (double newLevel) {\n\n DoubleProperty zoomProp = view.cameraZoomProperty();\n KeyValue keyValue = new KeyValue (zoomProp, newLevel, Interpolator.EASE_BOTH);\n KeyFrame frame = new KeyFrame (Duration.millis (CAMERA_ZOOM_DURATION), keyValue);\n zoomTimeline = new Timeline (frame);\n zoomTimeline.play();\n\n }", "title": "" }, { "docid": "d3b8e28f24667b1c047f710463018b55", "score": "0.504812", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\tFigureElement el = getElementForPosition(lastPopupPosition);\n\t\t\t\n\t\t\tif (el instanceof TreeElement) {\n\t\t\t\tDrawableTree tree = ((TreeElement)el).getTree();\n\t\t\t\t//DoubleRectangle origBounds = el.getBounds();\n\t\t\t\tif (e.getActionCommand().contains(\"Up\") ) {\n\t\t\t\t\ttree.setOrientation(Direction.UP);\n\t\t\t\t}\n\t\t\t\tif (e.getActionCommand().contains(\"Down\") ) {\n\t\t\t\t\ttree.setOrientation(Direction.DOWN);\n\t\t\t\t}\n\t\t\t\tif (e.getActionCommand().contains(\"Left\") ) {\n\t\t\t\t\ttree.setOrientation(Direction.LEFT);\n\t\t\t\t}\n\t\t\t\tif (e.getActionCommand().contains(\"Right\") ) {\n\t\t\t\t\ttree.setOrientation(Direction.RIGHT);\n\t\t\t\t}\n\t\t\t\t//el.setBounds(origBounds.x, origBounds.y, origBounds.width, origBounds.height); \n\t\t\t\trepaint();\n\t\t\t}\n\t\t}", "title": "" }, { "docid": "c0ed485dbc08fa18ac7a1362923e89d1", "score": "0.50439465", "text": "public void setZoomSpeed(float zoomSpeed);", "title": "" }, { "docid": "c241f7626fbddfaa9256df817eeb6c07", "score": "0.5043431", "text": "public void keyReleased()\n {\n switch (key)\n {\n case 'a':\n zoom *= 2.0f;\n println(zoom);\n if ( (int) (width / zoom) <= 1 )\n zoom /= 2.0f;\n break;\n case 'z':\n zoom /= 2.0f;\n if (zoom < 1.0f)\n zoom *= 2.0f;\n break;\n }\n }", "title": "" }, { "docid": "ae07f5cb7e11d4950cf68cfbf711b7f3", "score": "0.5042721", "text": "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n // Put overlay items first\n mMapView.getOverlayManager().onCreateOptionsMenu(menu, MENU_LAST_ID, mMapView);\n\n menu.add(0, MENU_ZOOMIN_ID, Menu.NONE, \"ZoomIn\");\n menu.add(0, MENU_ZOOMOUT_ID, Menu.NONE, \"ZoomOut\");\n menu.add(0, MENU_ZOOMOUT_ID, Menu.NONE, \"ZoomOut\");\n menu.add(0, MENU_ADDICONS_ID, Menu.NONE, \"AddIcons\");\n\n super.onCreateOptionsMenu(menu, inflater);\n }", "title": "" }, { "docid": "6b0fd64237d33cc397243ea48aa2f459", "score": "0.5039635", "text": "public Frame(int zoom) {\n // Set frame defaults.\n setLayout(new BorderLayout());\n setLocation(100, 100);\n animator = new Animator();\n zoomIndex = zoom;\n viewOptionsMap = new HashMap<>();\n\n // Set up menu\n menu = new JMenuBar();\n\n // Game menu - game-related functions.\n JMenu gameMenu = new JMenu(\"Game\");\n menu.add(gameMenu);\n\n JMenuItem newGameMenuItem = new JMenuItem(\"New Game...\");\n newGameMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_N, InputEvent.META_DOWN_MASK));\n newGameMenuItem.addActionListener(\n e -> {\n animator.setPaused(true);\n NewGameOptions newGameOptions = NewGameSelector.getNewGame(this);\n if (!newGameOptions.cancelled) {\n controller.loadAndKillThis(\n newGameOptions.boardFilepath,\n IntStream.range(0, newGameOptions.playerTypes.size())\n .mapToObj(\n i ->\n new CreatePlayerOptions(\n newGameOptions.playerTypes.get(i),\n newGameOptions.loadAIOptions.get(i).filename,\n newGameOptions.loadAIOptions.get(i).row))\n .collect(Collectors.toList()),\n newGameOptions.fogOfWar,\n newGameOptions.startingCommanderLevel);\n } else {\n animator.setPaused(false);\n }\n });\n gameMenu.add(newGameMenuItem);\n restartGameMenuItem = new JMenuItem(\"Restart Game\");\n restartGameMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_R, InputEvent.META_DOWN_MASK));\n restartGameMenuItem.addActionListener(e -> controller.restart());\n restartGameMenuItem.setEnabled(false);\n gameMenu.add(restartGameMenuItem);\n JMenuItem quitGameMenuItem = new JMenuItem(\"Quit\");\n quitGameMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_Q, InputEvent.META_DOWN_MASK));\n quitGameMenuItem.addActionListener(e -> System.exit(0));\n gameMenu.add(quitGameMenuItem);\n\n // Input menu - input control.\n JMenu inputMenu = new JMenu(\"Input\");\n menu.add(inputMenu);\n\n JCheckBoxMenuItem mouseControlInputMenuItem = new JCheckBoxMenuItem(\"Enable Mouse Input\");\n mouseControlInputMenuItem.setSelected(true);\n mouseControlInputMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_M, InputEvent.META_DOWN_MASK));\n mouseControlInputMenuItem.addActionListener(\n e -> {\n if (mouseControlInputMenuItem.isSelected()) {\n MouseListener.attachToFrame(Frame.this);\n } else {\n MouseListener.detachFromFrame(Frame.this);\n }\n });\n inputMenu.add(mouseControlInputMenuItem);\n\n // Window menu - visual functionality.\n JMenu windowMenu = new JMenu(\"Window\");\n menu.add(windowMenu);\n\n JMenuItem zoomInMenuItem = new JMenuItem(\"Zoom In\");\n zoomInMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, InputEvent.META_DOWN_MASK));\n zoomInMenuItem.addActionListener(\n e -> {\n double oldZoom = getZoom();\n zoomIndex += 1;\n zoomIndex = Math.min(zoomIndex, ZOOM.length - 1);\n double zoomRatio = getZoom() / oldZoom;\n createGamePanel(\n (int) (gamePanel.getShowedRows() / zoomRatio),\n (int) (gamePanel.getShowedCols() / zoomRatio));\n repaint();\n pack();\n });\n windowMenu.add(zoomInMenuItem);\n JMenuItem zoomOutMenuItem = new JMenuItem(\"Zoom Out\");\n zoomOutMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, InputEvent.META_DOWN_MASK));\n zoomOutMenuItem.addActionListener(\n e -> {\n double oldZoom = getZoom();\n zoomIndex -= 1;\n zoomIndex = Math.max(zoomIndex, 0);\n double zoomRatio = getZoom() / oldZoom;\n createGamePanel(\n (int) (gamePanel.getShowedRows() / zoomRatio),\n (int) (gamePanel.getShowedCols() / zoomRatio));\n repaint();\n pack();\n });\n windowMenu.add(zoomOutMenuItem);\n JMenuItem drawDebugInfoMenuItem = new JCheckBoxMenuItem(\"Draw Debug Info\");\n drawDebugInfoMenuItem.setAccelerator(\n KeyStroke.getKeyStroke(KeyEvent.VK_D, InputEvent.META_DOWN_MASK));\n drawDebugInfoMenuItem.addActionListener(\n e -> {\n DEBUG = !DEBUG;\n });\n windowMenu.add(drawDebugInfoMenuItem);\n\n // Sound menu\n JMenu soundMenu = new JMenu(\"Sound\");\n menu.add(soundMenu);\n\n JCheckBoxMenuItem muteMenuItem = new JCheckBoxMenuItem(\"Mute\");\n muteMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_M, InputEvent.META_DOWN_MASK));\n muteMenuItem.addActionListener(e -> AudioController.setMute(muteMenuItem.getState()));\n muteMenuItem.setState(AudioController.getMute());\n soundMenu.add(muteMenuItem);\n\n setJMenuBar(menu);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "221f8f1e4ecc31d6163990420dc77775", "score": "0.0", "text": "@Override\r\n\tprotected void onPostExecute(String result) {\n\t\tsuper.onPostExecute(result);\r\n\t\tdialog.dismiss();\r\n\t\tListener.ShowResponse(result);\r\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6676429", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "ffd8193c9cf73515d0f9301b9a7d8817", "score": "0.6485175", "text": "@Override\n\tpublic void morrer() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "27e4479db2c37a2e77fe796119b66d4b", "score": "0.61936283", "text": "@Override\r\n\t\t\tpublic void adelante() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0d3bf6f2ee77f787007ba6b4021b5721", "score": "0.6164056", "text": "protected void olha()\r\n\t{\r\n\t\t\r\n\t}", "title": "" }, { "docid": "e3a701d0fdb1fef5e0afd9dc7c345fcb", "score": "0.61634105", "text": "@Override\n\tprotected void generateData() {\n\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "4e49f5db36ca664153e54380025b85d4", "score": "0.6095768", "text": "protected boolean method_21825() {\n }", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.6074471", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "a613dcce17453a8e1eed3b984b6b35b1", "score": "0.6028443", "text": "@Override\n\tpublic void composant() {\n\t}", "title": "" }, { "docid": "6f653341cfc7d30c8418e4b72116f7e2", "score": "0.60278815", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "f2fe8a59406298fe7e97b543f2bf8186", "score": "0.60087883", "text": "@Override\r\n \tpublic void init() {\r\n \t}", "title": "" }, { "docid": "fa1a013b1df2f5f1062e1cc971135645", "score": "0.5988416", "text": "@Override\n\tpublic void mamar() {\n\t\t\n\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "f49ed6756be41155bd7261ea2ff6564b", "score": "0.59858125", "text": "@Override\n\t\t\t\tpublic void init() {\n\n\t\t\t\t}", "title": "" }, { "docid": "0ecc2b05fa1b3fe069983a07eba7914d", "score": "0.5978686", "text": "private void inicialitzarTaulell() {\r\n\t\t//PENDENT IMPLEMENTAR\r\n\t}", "title": "" }, { "docid": "9fe3f6ccb967a8bcee9106fbbd56b684", "score": "0.5974211", "text": "@Override\r\n\tpublic void properties() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b044552fe4d8d8225d09361b41fbea3a", "score": "0.59513867", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "fcfbf321ff3e4c56b4e383ce15e49dbb", "score": "0.59429646", "text": "@Override\r\n\tpublic void obtersaida()\r\n\t{\n\t}", "title": "" }, { "docid": "482b1825ec60700f97ed42e420d69d99", "score": "0.59383935", "text": "@Override\n\tpublic void valide() {\n\t}", "title": "" }, { "docid": "b2775812be4cd009dca27a30c5ce78fa", "score": "0.59383595", "text": "@Override\n\tprotected void fouseChange() {\n\n\t}", "title": "" }, { "docid": "4b7e3f693781babf82ed11447db2a554", "score": "0.5929242", "text": "@Override\n\tpublic void concentrarse() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "41e50fb9a0b417818374927eb02c67f1", "score": "0.59280443", "text": "protected void mo5608a() {\n }", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "21caf865e426ec5feea3bed303161112", "score": "0.59228885", "text": "@Override\r\n\t\t\t\t\tpublic void funktionMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "9a0f5a503f38cb7c40d13ecc89073bd8", "score": "0.58973867", "text": "@Override\r\n\tpublic void getDuriation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "9781c90863e9dc9781fafcc4dc828136", "score": "0.58739185", "text": "public void mo7839l() {\n }", "title": "" }, { "docid": "32d0d506f2de2532fe4789f006c84da0", "score": "0.5863205", "text": "@Override\n\tpublic void bicar() {\n\t\t\n\t}", "title": "" }, { "docid": "02699a98134693036160a045239bddba", "score": "0.58500654", "text": "@Override\r\n\tpublic void zwroc() {\n\r\n\t}", "title": "" }, { "docid": "46569800c9d73cd59bcbec066cdb5304", "score": "0.58491904", "text": "private void lidoInf() {\n\n\n }", "title": "" }, { "docid": "b8d886581a76c72e11ab317e6cb6e2a8", "score": "0.58308905", "text": "@Override\r\n public void rechercher() {\n }", "title": "" }, { "docid": "80b5722cdc9efe11a305e92ea813ac0f", "score": "0.5827698", "text": "@Override\r\n\tpublic void inter() {\n\t\t\r\n\t}", "title": "" }, { "docid": "947b4ee184fe32ab14b8c244b9461c7d", "score": "0.5807026", "text": "@Override\n\tpublic void vida() {\n\n\t}", "title": "" }, { "docid": "9d2f44c3ebe1fb8de1ac4ae677e2d851", "score": "0.58069414", "text": "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c86f446a8bd6af19f88cc011fdf2ffd4", "score": "0.5802792", "text": "public void asustar() {\n // TODO implement here\n \n }", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "c8f75a8f93bc20d4e8695ba99b470e1d", "score": "0.580217", "text": "public void mo1684e() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "19b30f4f881d8f7b600c7c12f1c30963", "score": "0.57979786", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "bb30a482e2236eb664f8d8fc23724b59", "score": "0.57915", "text": "@Override\n\tprotected void initActb() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "7846476d210d55d45e5540a9c92b1ce3", "score": "0.57903147", "text": "@Override\n\tpublic void chocar() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "0cc40600dd2e7cb9f56bd77995e01fc3", "score": "0.5780891", "text": "@Override\n\tpublic void Miow() {\n\t\t\n\t}", "title": "" }, { "docid": "a5600ed00582d8ca8d293829dcfd6c38", "score": "0.57797045", "text": "private void Syso() {\n\r\n\t}", "title": "" }, { "docid": "0a14b2c4ac9647e6bc7077e1e653d540", "score": "0.57781726", "text": "@Override\n \tprotected int getSize() {\n \t\treturn 0;\n \t}", "title": "" }, { "docid": "7d110d5ea1b4795727b052c3f897a146", "score": "0.5776224", "text": "public void ligar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "e022c47f335a39c6bdb94a0f49a4e940", "score": "0.5767807", "text": "@Override\r\n\tpublic void parar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "900d30c04323cde584c73c5ffa48d9cf", "score": "0.5757801", "text": "@Override\n\t\tpublic void visitEnd() {\n\n\t\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "0adb5f1f1c75684eab047201533dcfe7", "score": "0.57495934", "text": "protected void mo5609b() {\n }", "title": "" }, { "docid": "c16c8d1ea4a8c8572e4aa91460503742", "score": "0.57494617", "text": "private void Initalization() {\n\t\t\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b938c58260ac0b899b5e73492c412a69", "score": "0.57377213", "text": "@Override\r\n\t\t\t\t\t\r\n\t\t\t\t\tpublic void leerMarkiert() {\n\t\t\t\t\t\t\r\n\t\t\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "734b1972ec29b58535c294e3962d017d", "score": "0.5732932", "text": "@Override\n\tpublic void generar() {\n\t\t\n\t}", "title": "" }, { "docid": "4da4d5cf96c032296a894fc6e8d76283", "score": "0.5718805", "text": "@Override\n\tpublic void beCagey() {\n\t\t\n\t}", "title": "" }, { "docid": "a8f4d3149e0f7a43b23b53ce69363fd6", "score": "0.57184815", "text": "public void mo5202b() {\n }", "title": "" }, { "docid": "c2a6308317d4e5fc230ea7d2fb55fc1b", "score": "0.5715011", "text": "@Override\n\tpublic void update() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" } ]
5c2d710fd1d4c37171e62e5102e1452e
This method was generated by MyBatis Generator. This method corresponds to the database table xxd_power_group
[ { "docid": "1b1fd21bf98ceea45ac054f510877818", "score": "0.49126518", "text": "@UpdateProvider(type=XxdPowerGroupSqlProvider.class, method=\"updateByPrimaryKeySelective\")\n int updateByPrimaryKeySelective(XxdPowerGroup record);", "title": "" } ]
[ { "docid": "7cd13e7f1febbf2e934fdf8d9712d446", "score": "0.73799676", "text": "@Select({\n \"select\",\n \"id, name, is_abled, powers, create_uid, create_time\",\n \"from xxd_power_group\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"id\", property=\"id\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"name\", property=\"name\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"is_abled\", property=\"isAbled\", jdbcType=JdbcType.SMALLINT),\n @Result(column=\"powers\", property=\"powers\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"create_uid\", property=\"createUid\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"create_time\", property=\"createTime\", jdbcType=JdbcType.VARCHAR)\n })\n XxdPowerGroup selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "980f58b752df7cb1f7f51d5ae679b4be", "score": "0.61022246", "text": "@Insert({\n \"insert into xxd_power_group (id, name, \",\n \"is_abled, powers, \",\n \"create_uid, create_time)\",\n \"values (#{id,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, \",\n \"#{isAbled,jdbcType=SMALLINT}, #{powers,jdbcType=VARCHAR}, \",\n \"#{createUid,jdbcType=INTEGER}, #{createTime,jdbcType=VARCHAR})\"\n })\n int insert(XxdPowerGroup record);", "title": "" }, { "docid": "50c726506a0ea5af3b760d4b5a094cd6", "score": "0.5940337", "text": "@Update({\n \"update xxd_power_group\",\n \"set name = #{name,jdbcType=VARCHAR},\",\n \"is_abled = #{isAbled,jdbcType=SMALLINT},\",\n \"powers = #{powers,jdbcType=VARCHAR},\",\n \"create_uid = #{createUid,jdbcType=INTEGER},\",\n \"create_time = #{createTime,jdbcType=VARCHAR}\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(XxdPowerGroup record);", "title": "" }, { "docid": "ede6000764e0119781d7c675cdec169b", "score": "0.589107", "text": "@Select({\n \"select\",\n \"group_id, group_name, tenant_id, ku8_parttion_ids\",\n \"from user_group\",\n \"where group_id = #{groupId,jdbcType=INTEGER}\"\n })\n @Results({\n @Result(column=\"group_id\", property=\"groupId\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"group_name\", property=\"groupName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tenant_id\", property=\"tenantId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"ku8_parttion_ids\", property=\"ku8ParttionIds\", jdbcType=JdbcType.VARCHAR)\n })\n UserGroup selectByPrimaryKey(Integer groupId);", "title": "" }, { "docid": "a5b187d08bfe073b43b24a8dfa6cbb63", "score": "0.57466686", "text": "@Select({\n \"select\",\n \"group_id, group_name, tenant_id, ku8_parttion_ids\",\n \"from user_group\"\n })\n @Results({\n @Result(column=\"group_id\", property=\"groupId\", jdbcType=JdbcType.INTEGER, id=true),\n @Result(column=\"group_name\", property=\"groupName\", jdbcType=JdbcType.VARCHAR),\n @Result(column=\"tenant_id\", property=\"tenantId\", jdbcType=JdbcType.INTEGER),\n @Result(column=\"ku8_parttion_ids\", property=\"ku8ParttionIds\", jdbcType=JdbcType.VARCHAR)\n })\n List<UserGroup> selectAll();", "title": "" }, { "docid": "8ab3009e977b62369bdca43d404ebca6", "score": "0.5543855", "text": "@Insert({\n \"insert into user_group (group_id, group_name, \",\n \"tenant_id, ku8_parttion_ids)\",\n \"values (#{groupId,jdbcType=INTEGER}, #{groupName,jdbcType=VARCHAR}, \",\n \"#{tenantId,jdbcType=INTEGER}, #{ku8ParttionIds,jdbcType=VARCHAR})\"\n })\n int insert(UserGroup record);", "title": "" }, { "docid": "05a07e842e4b1c3325a28d5b291f4952", "score": "0.54487973", "text": "@Repository\npublic interface GroupDao extends tk.mybatis.mapper.common.Mapper<Group> {\n\n\n}", "title": "" }, { "docid": "f1e26768ca7bcd82790f7a98b0bafb51", "score": "0.5412361", "text": "@Override\n public String getEntityName() {\n return \"Group\";\n }", "title": "" }, { "docid": "97a239a6c448f510cde19cd7e34ff9d1", "score": "0.5361388", "text": "@Override\n\tpublic CustomerReport findGroups(String sql) throws DataAccessException {\n\t\tCustomerReport customerReport =new CustomerReport();\n\t\tSession session=sessionAnnotationFactory.getCurrentSession();\n\t\tQuery query=session.createSQLQuery(\"SELECT * FROM \"+ServiceConstant.SCHEMA+\".MISS_ACCOUNT_GROUP \");\n\t\t//Query query =session.createSQLQuery(sb.toString()); \n\t\t@SuppressWarnings(\"unchecked\")\n\t\tList<Object[]> list=query.list();\n\t\tList<List<String>> results=new ArrayList<List<String>>(list.size());\n\ttry{\n\t\tfor (Object[] objects : list) {\n\t\t\tList<String> strings =new ArrayList<String>(objects.length);\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\t if(objects[i] instanceof java.lang.String){ \n\t\t\t\t\tstrings.add((String)objects[i]);\n\t\t\t\t } else if(objects[i] instanceof java.lang.Integer){ \n\t\t\t\t\t\tstrings.add((java.lang.Integer)objects[i]+\"\");\n\t\t\t\t}else if(objects[i] instanceof java.math.BigInteger){ \n\t\t\t\t\t\tstrings.add((java.math.BigInteger)objects[i]+\"\");\n\t\t\t\t} else if(objects[i] instanceof java.math.BigDecimal){ \n\t\t\t\t\tstrings.add(((java.math.BigDecimal)objects[i]+\"\"));\n\t\t\t\t}\t\t\t\t\t\n\t\t\t}\n\t\t results.add(strings);\n\t\t}\n\t\tcustomerReport.setGroupList(results);\n\t}catch (Exception e) {\n\t\t// TODO: handle exception\n\t\te.printStackTrace();\n\t}finally {\n\t\t\tif (session != null) {\n\t\t\t\tsession = null;\n\t\t\t} \n\t} \n\treturn customerReport;\n\t}", "title": "" }, { "docid": "a3467d1f49ed5dc4db77d3c1090df396", "score": "0.5351141", "text": "@Override\n\tpublic List<Object> findGroup() {\n\t\tString sql = \" select a.id grp_id , a.name grp_name ,b.id MemberId, b.username userid,c.name cn_name ,c.username cn_username from t_group a JOIN t_group_member b on a.id = b.group_id JOIN sys_user c on c.username = b.username where b.username in (select ff.user_name from t_last_location ff )ORDER BY a.`name`\";\n\t\tList list = this.jdbcTemplate.queryForList(sql);\n\t\treturn list;\n\t}", "title": "" }, { "docid": "22b7ef37e2f5cdb45e8b7ef30051595a", "score": "0.52787524", "text": "public ScGridColumn<AcBatchItem> newGroupCodeColumn()\n {\n return newGroupCodeColumn(\"Group Code\");\n }", "title": "" }, { "docid": "e8de781d092e25ac6cc34843dd3c4859", "score": "0.5276345", "text": "public final void rule__PowerExpr__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18206:1: ( rule__PowerExpr__Group__1__Impl )\n // InternalAgreeParser.g:18207:2: rule__PowerExpr__Group__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "a91fc16d70611388ac21cca18e268a7f", "score": "0.5194159", "text": "public final void rule__PowerExpr__Group_1_0__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18310:1: ( ( ( rule__PowerExpr__Group_1_0_0__0 ) ) )\n // InternalAgreeParser.g:18311:1: ( ( rule__PowerExpr__Group_1_0_0__0 ) )\n {\n // InternalAgreeParser.g:18311:1: ( ( rule__PowerExpr__Group_1_0_0__0 ) )\n // InternalAgreeParser.g:18312:1: ( rule__PowerExpr__Group_1_0_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPowerExprAccess().getGroup_1_0_0()); \n }\n // InternalAgreeParser.g:18313:1: ( rule__PowerExpr__Group_1_0_0__0 )\n // InternalAgreeParser.g:18313:2: rule__PowerExpr__Group_1_0_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1_0_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPowerExprAccess().getGroup_1_0_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "842e698852cc195d8bbd32841d2dad6e", "score": "0.518936", "text": "public final void rule__PowerExpr__Group_1__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18267:1: ( rule__PowerExpr__Group_1__1__Impl )\n // InternalAgreeParser.g:18268:2: rule__PowerExpr__Group_1__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "5f53198833b29d75aff87b9b8ace2d00", "score": "0.5187136", "text": "@Override\r\n\tpublic int add(SqlGroupByDefined sqlDefined) {\n\r\n\t\treturn super.saveEntity(sqlDefined);\r\n\t}", "title": "" }, { "docid": "41df23a3fa8599d1b038133197d00f7d", "score": "0.51747316", "text": "PriceChangeRuleSeasonGroup selectByPrimaryKey(Integer priceChangeRuleSeasonGroupId);", "title": "" }, { "docid": "e506a2bf1a9d9b7609bbe65f86d0f1a7", "score": "0.5173215", "text": "public final void rule__PowerExpr__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18177:1: ( rule__PowerExpr__Group__0__Impl rule__PowerExpr__Group__1 )\n // InternalAgreeParser.g:18178:2: rule__PowerExpr__Group__0__Impl rule__PowerExpr__Group__1\n {\n pushFollow(FollowSets000.FOLLOW_90);\n rule__PowerExpr__Group__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "72cf5ad8ba7e7487a9a7aeef3cfbf067", "score": "0.5170364", "text": "@Override\n public String getGroupNameColumn()\n {\n return nameField;\n }", "title": "" }, { "docid": "d3c115ce61c7440f66883bc3772cc74a", "score": "0.5160893", "text": "tbl_userpower selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "183e0a32a354ced4adb85fbe02c80600", "score": "0.51596797", "text": "@Override\r\n\tpublic SqlGroupByDefined getSqlDefined(Map<String, Object> map) {\n\t\tString sql = \"select * from t_sql_group_by_clause a where 1=1 \";\r\n\t\tSet<String> keySet = map.keySet();\r\n\t\tfor (String key : keySet) {\r\n\t\t\tsql += \" and a.\" + key + \" = \" + map.get(key);\r\n\t\t}\r\n\t\treturn this.jdbcTemplate.queryForObject(sql, SqlGroupByDefined.class);\r\n\t}", "title": "" }, { "docid": "e9763cc2a7e871ba0d0aad8e04cb9ecb", "score": "0.515613", "text": "public final void rulePowerExpr() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:1322:5: ( ( ( rule__PowerExpr__Group__0 ) ) )\n // InternalAgreeParser.g:1323:1: ( ( rule__PowerExpr__Group__0 ) )\n {\n // InternalAgreeParser.g:1323:1: ( ( rule__PowerExpr__Group__0 ) )\n // InternalAgreeParser.g:1324:1: ( rule__PowerExpr__Group__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPowerExprAccess().getGroup()); \n }\n // InternalAgreeParser.g:1325:1: ( rule__PowerExpr__Group__0 )\n // InternalAgreeParser.g:1325:2: rule__PowerExpr__Group__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPowerExprAccess().getGroup()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "0eb845b9f4c1e53ea16dd55d337c9735", "score": "0.5153139", "text": "public final void rule__PowerExpr__Group_1_0_0__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18360:1: ( rule__PowerExpr__Group_1_0_0__1__Impl )\n // InternalAgreeParser.g:18361:2: rule__PowerExpr__Group_1_0_0__1__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1_0_0__1__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "02c78740e2b1908c88ea37d00d1c8b9f", "score": "0.51517045", "text": "@InsertProvider(type=XxdPowerGroupSqlProvider.class, method=\"insertSelective\")\n int insertSelective(XxdPowerGroup record);", "title": "" }, { "docid": "7eb84b6bfe0ee40e0cf6b728aa8a9d9b", "score": "0.5141853", "text": "public final void rule__PowerExpr__Group_1_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18299:1: ( rule__PowerExpr__Group_1_0__0__Impl )\n // InternalAgreeParser.g:18300:2: rule__PowerExpr__Group_1_0__0__Impl\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "ddfb9fe544fc13aeee51f250d8ce7cde", "score": "0.512752", "text": "public void setGroup(int groupingOrder)\n {\n this.group = groupingOrder;\n }", "title": "" }, { "docid": "ad91f231112a4ea1cf723c12198d04da", "score": "0.51113546", "text": "public final void rule__PowerExpr__Group_1__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18250:1: ( ( ( rule__PowerExpr__Group_1_0__0 ) ) )\n // InternalAgreeParser.g:18251:1: ( ( rule__PowerExpr__Group_1_0__0 ) )\n {\n // InternalAgreeParser.g:18251:1: ( ( rule__PowerExpr__Group_1_0__0 ) )\n // InternalAgreeParser.g:18252:1: ( rule__PowerExpr__Group_1_0__0 )\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPowerExprAccess().getGroup_1_0()); \n }\n // InternalAgreeParser.g:18253:1: ( rule__PowerExpr__Group_1_0__0 )\n // InternalAgreeParser.g:18253:2: rule__PowerExpr__Group_1_0__0\n {\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1_0__0();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPowerExprAccess().getGroup_1_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2286415e80a5b78075f673c250b83e0d", "score": "0.50656235", "text": "@Override\n\tpublic List<Power> selePower() {\n\t\tList<Power> list = new ArrayList<Power>();\n\t\tString sql = \"SELECT * FROM `power`\";\n\t\tconn = getconnection();\n\t\ttry {\n\t\t\tpre = conn.prepareStatement(sql);\n\t\t\trs = pre.executeQuery();\n\t\t\twhile(rs.next()) {\n\t\t\t\tPower qx=new Power();\n\t\t\t\tqx.setId(rs.getInt(1));\n\t\t\t\tqx.setQxname(rs.getString(2));\n\t\t\t\tqx.setBtn(rs.getString(3));\n\t\t\t\tqx.setFatherid(rs.getInt(4));\n\t\t\t\tqx.setUrl(rs.getString(5));\n\t\t\t\tqx.setType(rs.getInt(6));\n\t\t\t\tqx.setFunction(rs.getString(7));\n\t\t\t\tlist.add(qx);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} \n\t\t\n\t\treturn list;\t\n\t}", "title": "" }, { "docid": "ea33f1cfd38b97ecd0c9df38b7632ad6", "score": "0.50614685", "text": "public void setGroup(String group) {\n \n }", "title": "" }, { "docid": "2f52b61c3dd3f3d7a2df569386693281", "score": "0.5058634", "text": "public final void rule__PowerExpr__Group_1__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18238:1: ( rule__PowerExpr__Group_1__0__Impl rule__PowerExpr__Group_1__1 )\n // InternalAgreeParser.g:18239:2: rule__PowerExpr__Group_1__0__Impl rule__PowerExpr__Group_1__1\n {\n pushFollow(FollowSets000.FOLLOW_14);\n rule__PowerExpr__Group_1__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "2414e9e17da9acbe94bd5c094c3d0f0a", "score": "0.50366145", "text": "public final void rule__PowerExpr__Group_1_0_0__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18329:1: ( rule__PowerExpr__Group_1_0_0__0__Impl rule__PowerExpr__Group_1_0_0__1 )\n // InternalAgreeParser.g:18330:2: rule__PowerExpr__Group_1_0_0__0__Impl rule__PowerExpr__Group_1_0_0__1\n {\n pushFollow(FollowSets000.FOLLOW_90);\n rule__PowerExpr__Group_1_0_0__0__Impl();\n\n state._fsp--;\n if (state.failed) return ;\n pushFollow(FollowSets000.FOLLOW_2);\n rule__PowerExpr__Group_1_0_0__1();\n\n state._fsp--;\n if (state.failed) return ;\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "8c39c059781a7d263d5843995de9c685", "score": "0.5026102", "text": "public void setGroupId(long groupId);", "title": "" }, { "docid": "e857f11583f80860ad5e86ff20272136", "score": "0.50111526", "text": "public Group getGroup_11() { return cGroup_11; }", "title": "" }, { "docid": "e857f11583f80860ad5e86ff20272136", "score": "0.50111526", "text": "public Group getGroup_11() { return cGroup_11; }", "title": "" }, { "docid": "e857f11583f80860ad5e86ff20272136", "score": "0.50111526", "text": "public Group getGroup_11() { return cGroup_11; }", "title": "" }, { "docid": "e857f11583f80860ad5e86ff20272136", "score": "0.50111526", "text": "public Group getGroup_11() { return cGroup_11; }", "title": "" }, { "docid": "45b14d62cd10c8a289dfd02a01042da1", "score": "0.5007858", "text": "private void setGroupId() {\n }", "title": "" }, { "docid": "5c1f697fd3e5d7d76820c0b1356eadc5", "score": "0.49724025", "text": "@Override\r\n\tprotected String getSqlString() {\n\t\treturn \" select sreg.*, d.value dkindserv, sgr.servcode, sgr.name from servgroup sgr \\n\"+\r\n\t\t\t\t\" join servicereg sreg on sgr.servgroup_id = sreg.servgroup_id\\n\"+\r\n\t\t\t\t\" join decode d on d.code = sreg.kindserv and lower(d.columnname) = 'kind_serv'\\n\";\r\n\r\n\t}", "title": "" }, { "docid": "bda6e31b7b4636bbd71eca61874157bb", "score": "0.4970143", "text": "@Override\n\t\tpublic Table apply(Group group) {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "b6d8b41e57ec97c9d4dcc8fa604e3612", "score": "0.4949003", "text": "public int getGroup() { return group; }", "title": "" }, { "docid": "911da02301b970054062b681f8b0f564", "score": "0.49361974", "text": "BaseGroup selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "ff44f0cbb22b99f9e542343f174ec141", "score": "0.49280146", "text": "public void setGroup(String group){\n this.group = group;\n }", "title": "" }, { "docid": "f5cde61775ac0874c466acd397bd5f34", "score": "0.4922608", "text": "List<AlertGroup> queryAllGroupList();", "title": "" }, { "docid": "677e61a48929e3153d0896f629d0e84c", "score": "0.4921636", "text": "@Delete({\n \"delete from xxd_power_group\",\n \"where id = #{id,jdbcType=INTEGER}\"\n })\n int deleteByPrimaryKey(Integer id);", "title": "" }, { "docid": "6d2cc4adb4877a548b5d21d7ced218b6", "score": "0.4904329", "text": "public String createGroup()\r\n\t{\r\n\t\tString grpId = SplitWise.generateNewGroupID();\r\n\t\tGroup grp = new Group(grpId);\r\n\t\taddNewGroupToDb(grpId,grp);\r\n\t\treturn grpId;\r\n\t}", "title": "" }, { "docid": "b0b65864b0ad66a2c0fb236c95408948", "score": "0.49007747", "text": "public interface GroupDAO extends JpaRepository<GroupBean, Integer> {\n\n\n GroupBean findByHospitalId(@Param(\"id\") Integer id);\n\n\n @Query(\"from LastAccessGroupBean where userId = :id\")\n LastAccessGroupBean getLastAccessGroupIdByUser(@Param(\"id\") Integer id);\n\n @Query(value = \"select g.group_id as groupId, g.group_name as groupName from group_tbl g\" +\n \" inner join group_user_map ug on ug.group_id = g.group_id and ug.user_id = :id \",\n nativeQuery = true)\n public List<GroupBean> getGroupByUserForAction(@Param(\"id\") Integer id);\n\n @Query(\" from GroupBean where trialFlag = -1 and isActive = 1\")\n public List<GroupBean> fetchCommonGroup();\n\n\n GroupBean findByGroupName(String groupName);\n\n\n}", "title": "" }, { "docid": "cff75e6be7931d668953fb50b174e48f", "score": "0.48967993", "text": "@Update({\n \"update user_group\",\n \"set group_name = #{groupName,jdbcType=VARCHAR},\",\n \"tenant_id = #{tenantId,jdbcType=INTEGER},\",\n \"ku8_parttion_ids = #{ku8ParttionIds,jdbcType=VARCHAR}\",\n \"where group_id = #{groupId,jdbcType=INTEGER}\"\n })\n int updateByPrimaryKey(UserGroup record);", "title": "" }, { "docid": "d2bd191c50e6811652ddb5611dec3af1", "score": "0.48965752", "text": "java.util.List<mrtech.smarthome.rpc.Models.Group> \n getResultList();", "title": "" }, { "docid": "b6fa9ddd5729e78f2d1434633b143ddd", "score": "0.48913455", "text": "public String getTableDbName() {\r\n return \"t_secgroup\";\r\n }", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "75f4e0d6e28e2bb26c7a551a516742f7", "score": "0.4889894", "text": "public long getGroupId();", "title": "" }, { "docid": "de991d42a19529c108a8b2deb5b86b7d", "score": "0.48795536", "text": "public Group getGroupOfPersonByGroupName(int personFk ,String groupName);", "title": "" }, { "docid": "3066446536777f6a1418be3d6628fb40", "score": "0.48772433", "text": "@SelectProvider(type = FlowGroupMapperProvider.class, method = \"getFlowGroupListByFkGroupId\")\n @Results({\n @Result(id = true, column = \"id\", property = \"id\"),\n @Result(column = \"id\", property = \"mxGraphModel\", one = @One(select = \"cn.cnic.component.mxGraph.mapper.MxGraphModelMapper.getMxGraphModelByFlowGroupId\", fetchType = FetchType.LAZY)),\n @Result(column = \"id\", property = \"flowList\", many = @Many(select = \"cn.cnic.component.flow.mapper.FlowMapper.getFlowListGroupId\", fetchType = FetchType.LAZY)),\n @Result(column = \"id\", property = \"flowGroupList\", many = @Many(select = \"cn.cnic.component.flow.mapper.FlowGroupMapper.getFlowGroupListByFkGroupId\", fetchType = FetchType.LAZY)),\n @Result(column = \"id\", property = \"flowGroupPathsList\", many = @Many(select = \"cn.cnic.component.flow.mapper.FlowGroupPathsMapper.getFlowGroupPathsByFlowGroupId\", fetchType = FetchType.LAZY))\n })\n public List<FlowGroup> getFlowGroupListByFkGroupId(String fkFlowGroupId);", "title": "" }, { "docid": "d7f48ec47184246c19c5eac1836113cc", "score": "0.48726225", "text": "public void setGroupId(String groupId);", "title": "" }, { "docid": "4417d929ae10fec916116fd3646e9c8a", "score": "0.48723033", "text": "public int getGroup()\n {\n return this.group;\n }", "title": "" }, { "docid": "bcf3336164f47082823da6a3e0153cbe", "score": "0.48658532", "text": "GoodsGroup selectByPrimaryKey(Integer id);", "title": "" }, { "docid": "e7dfb5a402269de5440240a6601c464b", "score": "0.48645067", "text": "private Group mapGroup(ResultSet rset) throws Exception\n\t{\n\t\tGroup g=new Group();\n\t\tg.setId(rset.getInt(1));\n\t\tg.setName(rset.getString(2));\n\t\tg.setDescription(rset.getString(3));\n\t\treturn g;\n\t}", "title": "" }, { "docid": "6e84947534ac93f1c30bc817d3c6c305", "score": "0.48497158", "text": "@Test\n public void testListGroup() {\n GroupDAO instance = new GroupDAO();\n Group[] result = instance.listGroup();\n assertEquals(5, result.length);\n assertEquals(1, result[0].getGroupID());\n assertEquals(\"INT1416\", result[0].getSubject().getSubjectID());\n assertEquals(3, result[0].getRoom().getRoomID());\n assertEquals(\"Thứ 2\", result[0].getDay());\n assertEquals(\"7:00-9:00\", result[0].getHour1());\n assertEquals(\"12:00-14:00\", result[0].getHour2());\n assertEquals(\"123456789101112131415-1234567\", result[0].getWeek());\n return;\n }", "title": "" }, { "docid": "df2902a54e8ec14383a45cab13190b5c", "score": "0.48475963", "text": "@Override\n\tpublic void buildGroupBy() throws Exception{\n\t\t\n\t}", "title": "" }, { "docid": "df5ee85f4592edd53cd92befdecd29d7", "score": "0.48466495", "text": "public Group getGroup_7() { return cGroup_7; }", "title": "" }, { "docid": "df5ee85f4592edd53cd92befdecd29d7", "score": "0.48466495", "text": "public Group getGroup_7() { return cGroup_7; }", "title": "" }, { "docid": "df5ee85f4592edd53cd92befdecd29d7", "score": "0.48466495", "text": "public Group getGroup_7() { return cGroup_7; }", "title": "" }, { "docid": "35f0c54cda26e9b78a60d83a735dddf1", "score": "0.4844855", "text": "public UserGroupDao() {\n super(UserGroup.USER_GROUP, com.jic.tnw.db.mysql.tables.pojos.UserGroup.class);\n }", "title": "" }, { "docid": "d9237bd961d77b9699c4e72e08a685d6", "score": "0.4824101", "text": "public Group getGroup_7_1() { return cGroup_7_1; }", "title": "" }, { "docid": "b4bc67982fe81ec7a6e18a0826d5f4e4", "score": "0.48154187", "text": "@SqlMapper\npublic interface PortalSysAppIconsListMapper {\n Integer add(PortalSysAppIconsListCondition condition);\n Integer getPageCount(PortalSysAppIconsListCondition condition);\n Integer update(PortalSysAppIconsListCondition condition);\n Integer delete(PortalSysAppIconsListCondition condition);\n List<PortalSysAppIconsList> getPageList(PortalSysAppIconsListCondition condition);\n List<PortalSysAppIconsList> getList(PortalSysAppIconsListCondition condition);\n Integer getCountByPackage(PortalSysAppIconsListCondition condition);\n}", "title": "" }, { "docid": "83a32d807edf8b03d73caf902f440391", "score": "0.4810908", "text": "mrtech.smarthome.rpc.Models.Group getResult(int index);", "title": "" }, { "docid": "1ecfed66e7ee93f63b0dd167e151211d", "score": "0.4802463", "text": "public Group getGroup_9() { return cGroup_9; }", "title": "" }, { "docid": "74ebc6e40377a0f0b6834386ea8fc228", "score": "0.48010665", "text": "@Override\n\tpublic void setGroupId(long groupId);", "title": "" }, { "docid": "74ebc6e40377a0f0b6834386ea8fc228", "score": "0.48010665", "text": "@Override\n\tpublic void setGroupId(long groupId);", "title": "" }, { "docid": "a919bdecdd1357d20d531af64725edf5", "score": "0.4800593", "text": "List<AlertGroup> queryByGroupName(@Param(\"groupName\") String groupName);", "title": "" }, { "docid": "c04128dca0477aa2a623b536b219e61d", "score": "0.4799988", "text": "public final void rule__PowerExpr__Group__1__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:18217:1: ( ( ( rule__PowerExpr__Group_1__0 )* ) )\n // InternalAgreeParser.g:18218:1: ( ( rule__PowerExpr__Group_1__0 )* )\n {\n // InternalAgreeParser.g:18218:1: ( ( rule__PowerExpr__Group_1__0 )* )\n // InternalAgreeParser.g:18219:1: ( rule__PowerExpr__Group_1__0 )*\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getPowerExprAccess().getGroup_1()); \n }\n // InternalAgreeParser.g:18220:1: ( rule__PowerExpr__Group_1__0 )*\n loop90:\n do {\n int alt90=2;\n int LA90_0 = input.LA(1);\n\n if ( (LA90_0==CircumflexAccent) ) {\n int LA90_2 = input.LA(2);\n\n if ( (synpred163_InternalAgreeParser()) ) {\n alt90=1;\n }\n\n\n }\n\n\n switch (alt90) {\n \tcase 1 :\n \t // InternalAgreeParser.g:18220:2: rule__PowerExpr__Group_1__0\n \t {\n \t pushFollow(FollowSets000.FOLLOW_91);\n \t rule__PowerExpr__Group_1__0();\n\n \t state._fsp--;\n \t if (state.failed) return ;\n\n \t }\n \t break;\n\n \tdefault :\n \t break loop90;\n }\n } while (true);\n\n if ( state.backtracking==0 ) {\n after(grammarAccess.getPowerExprAccess().getGroup_1()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e04ad016770b7075d60f0262d5311e39", "score": "0.4795373", "text": "int getGroupId();", "title": "" }, { "docid": "e04ad016770b7075d60f0262d5311e39", "score": "0.4795373", "text": "int getGroupId();", "title": "" }, { "docid": "c34b57d0a9e729b3245d5fbf5838fae8", "score": "0.4795003", "text": "public final void rule__MultDivExpr__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // InternalAgreeParser.g:17974:1: ( ( rulePowerExpr ) )\n // InternalAgreeParser.g:17975:1: ( rulePowerExpr )\n {\n // InternalAgreeParser.g:17975:1: ( rulePowerExpr )\n // InternalAgreeParser.g:17976:1: rulePowerExpr\n {\n if ( state.backtracking==0 ) {\n before(grammarAccess.getMultDivExprAccess().getPowerExprParserRuleCall_0()); \n }\n pushFollow(FollowSets000.FOLLOW_2);\n rulePowerExpr();\n\n state._fsp--;\n if (state.failed) return ;\n if ( state.backtracking==0 ) {\n after(grammarAccess.getMultDivExprAccess().getPowerExprParserRuleCall_0()); \n }\n\n }\n\n\n }\n\n }\n catch (RecognitionException re) {\n reportError(re);\n recover(input,re);\n }\n finally {\n\n \trestoreStackSize(stackSize);\n\n }\n return ;\n }", "title": "" }, { "docid": "e2f0bb90d3692bbfed0c415ef234c82f", "score": "0.4779661", "text": "@Override\n\tpublic long getGroupId();", "title": "" }, { "docid": "e2f0bb90d3692bbfed0c415ef234c82f", "score": "0.4779661", "text": "@Override\n\tpublic long getGroupId();", "title": "" }, { "docid": "ab47d321888a49c7326fc80b567dc316", "score": "0.47781888", "text": "public String getGroup(){\n return group;\n }", "title": "" }, { "docid": "b1228f1524b0b1a838fecda8ab6dd92f", "score": "0.47763124", "text": "private void addGroup(DeviceId deviceId, GroupOperation groupOp) {\n\n PiActionGroupId piActionGroupId = PiActionGroupId.of(groupOp.groupId().id());\n\n PiActionGroup.Builder piActionGroupBuilder = PiActionGroup.builder()\n .withId(piActionGroupId)\n .withType(PiActionGroup.Type.SELECT);\n\n if (groupOp.groupType() != GroupDescription.Type.SELECT) {\n // log error\n }\n\n int bucketIdx = 0;\n for (GroupBucket bucket : groupOp.buckets().buckets()) {\n /*\n Problem:\n In P4Runtime action group members, i.e. action buckets, are associated to a numeric ID chosen\n at member insertion time. This ID must be unique for the whole action profile (i.e. the group table in\n OpenFlow). In ONOS, GroupBucket doesn't specify any ID.\n\n Solutions:\n - Change GroupBucket API to force application wanting to perform group operations to specify a member id.\n - Maintain state to dynamically allocate/deallocate member IDs, e.g. in a dedicated service, or in a\n P4Runtime Group Provider.\n\n Hack:\n Statically derive member ID by combining groupId and position of the bucket in the list.\n */\n int memberId = ByteBuffer.allocate(4)\n .putShort((short) (piActionGroupId.id() % 2 ^ 16))\n .putShort((short) (bucketIdx % 2 ^ 16))\n .getInt();\n\n // Need an interpreter to map the bucket treatment to a PI action\n\n if (!device.is(PiPipelineInterpreter.class)) {\n // log error\n }\n\n PiPipelineInterpreter interpreter = device.as(PiPipelineInterpreter.class);\n\n /*\n Problem:\n In P4Runtime, action profiles (i.e. group tables) are specific to one or more tables.\n Mapping of treatments depends on the target table. How do we derive the target table from here?\n\n Solution:\n - Change GroupDescription to allow applications to specify a table where this group will be called from.\n\n Hack:\n Assume we support pipelines with only one action profile associated to only one table, i.e. derive the\n table ID by looking at the P4Info.\n */\n\n PiTableId piTableId = PiTableId.of(\"derive from P4Info\");\n\n\n PiAction action = null;\n try {\n action = interpreter.mapTreatment(bucket.treatment(), piTableId);\n } catch (PiPipelineInterpreter.PiInterpreterException e) {\n // log error\n }\n\n PiActionGroupMember member = PiActionGroupMember.builder()\n .withId(PiActionGroupMemberId.of(memberId))\n .withAction(action)\n .withWeight(bucket.weight())\n .build();\n\n piActionGroupBuilder.addMember(member);\n\n // Use P4RuntimeClient to install member;\n // TODO: implement P4RuntimeClient method.\n }\n\n PiActionGroup piActionGroup = piActionGroupBuilder.build();\n\n // Use P4RuntimeClient to insert group.\n // TODO: implement P4RuntimeClient method.\n }", "title": "" }, { "docid": "dafc719f89b00930129da5a94b408e27", "score": "0.47707012", "text": "public int getIdGroup() {\n return idGroup;\n }", "title": "" }, { "docid": "cf9feb74d3a9091d42a02ea1bdef69ee", "score": "0.476993", "text": "protected String addGroupByElement(String groupBy, Var outVar) {\n\t\tif (!outVar.isGrouping && outVar.model.isFromDatabase()) {\n\t\t\tgroupBy += (groupBy.isEmpty() ? \"\" : \",\")\n\t\t\t\t\t+ outVar.tableId\n\t\t\t\t\t+ (outVar.model.getMemory() != Memory.SQL ? \".\" : \"_\")\n\t\t\t\t\t+ outVar.model.getSqlName();\n\t\t}\n\t\treturn groupBy;\n\t}", "title": "" }, { "docid": "2390e6a0813cb43f583a5576da32b922", "score": "0.4764172", "text": "@Override\r\n \tpublic void editProductGroup() {\r\n \t\tProductGroup pg = (ProductGroup) originalData.getTag();\r\n \t\tStorageUnit root;\r\n \t\twhile (pg.getContainer() instanceof ProductGroup) {\r\n \t\t\tpg = (ProductGroup) pg.getContainer();\r\n \t\t}\r\n \t\troot = (StorageUnit) pg.getContainer();\r\n \t\tString newName = getView().getProductGroupName();\r\n \t\tfloat tmsQuantity = Float.parseFloat(getView().getSupplyValue());\r\n \t\tUnit tmsUnit = Unit.convertToUnit(getView().getSupplyUnit().toString());\r\n \t\tProductQuantity newTMS = new ProductQuantity(tmsQuantity, tmsUnit);\r\n \t\tProductContainerManager manager = getView().getProductContainerManager();\r\n \t\tmanager.editProductGroup(root, originalData.getName(), newName, newTMS);\r\n \t}", "title": "" }, { "docid": "428d794eea6df841c1a2b745073ace20", "score": "0.47572997", "text": "public Long getGroupId() {\n return this.groupId;\n }", "title": "" }, { "docid": "01434f1d18b353fc069d119e47a08c00", "score": "0.47519073", "text": "@Override\n\tpublic long getGroupid() {\n\t\treturn model.getGroupid();\n\t}", "title": "" }, { "docid": "abd874c7ffb9778a0cb1fa93dda49d74", "score": "0.47519034", "text": "public Long getGroupId() {\r\n return groupId;\r\n }", "title": "" }, { "docid": "65849f6c385525b77ced2b45a4bb787a", "score": "0.47504243", "text": "public int getGrpNum() {return grpNum;}", "title": "" }, { "docid": "58539ead96e01c4127ebc20ac904c07d", "score": "0.47364622", "text": "public int getGroup_id() {\n return group_id;\n }", "title": "" }, { "docid": "9e45c18ff09bc22af7f9e971f107689a", "score": "0.47336593", "text": "@Select(\"SELECT name FROM flow_group WHERE enable_flag=1 AND fk_flow_group_id IS NULL AND is_example=0 AND name=#{flowGroupName} \")\n public String getFlowGroupName(@Param(\"flowGroupName\") String flowGroupName);", "title": "" }, { "docid": "5bf4430e2163e7105e4f26fe08b0d88f", "score": "0.4732586", "text": "mrtech.smarthome.rpc.Models.AccountGroup getGroup();", "title": "" }, { "docid": "5bf4430e2163e7105e4f26fe08b0d88f", "score": "0.4732586", "text": "mrtech.smarthome.rpc.Models.AccountGroup getGroup();", "title": "" }, { "docid": "6eb1feacd480cfcb16236ea3c9897c64", "score": "0.47278398", "text": "@Test\n public void testGroupingQuery() throws Exception {\n this.batchExecuteQuery(getQueryFolderPrefix() + \"src/test/resources/query/sql_grouping\");\n }", "title": "" }, { "docid": "5ea4a090f68a92e95f27b52fc754c54b", "score": "0.4723494", "text": "public String getGroupId() {\n return this.GroupId;\n }", "title": "" }, { "docid": "ec16c11a6a2f42f5c0b01fd7c68ba503", "score": "0.47213215", "text": "ZBlogGroup selectByPrimaryKey(Long gId);", "title": "" } ]
3e3b3d9aa2e11f9bac18047fefda9605
Log error here since request failed
[ { "docid": "de165274849d72f45312d788edd4fe2c", "score": "0.0", "text": "@Override\n public void onFailure(Call<TransactionResponse> call, Throwable t) {\n mListener.onTransactionPost(false, CONNECTIVITY_ERROR, sellingTransaction);\n }", "title": "" } ]
[ { "docid": "6e74eabd9c1be6ea76b1a6f096399249", "score": "0.74736977", "text": "@Override\r\n\tpublic void requestFailure(HttpRequest paramHttpRequest, Error paramError) {\n\t\tlogger.info(paramError.getJson());\r\n\t}", "title": "" }, { "docid": "b8dd6414951adcf46864a15d298d926f", "score": "0.7268388", "text": "@Override\n public void onFail(Request request, IOException exception) {\n }", "title": "" }, { "docid": "78905312e2237b49201e94e6b9f8d53f", "score": "0.72516435", "text": "public void logError(String what, String url, long start) {\n long now = SystemClock.elapsedRealtime();\n VolleyLog.v(\"HTTP ERROR(%s) %d ms to fetch %s\", what, Long.valueOf(now - start), url);\n }", "title": "" }, { "docid": "d1e8f9eeae0e7342a75fa4db0c8530b2", "score": "0.68976855", "text": "public void onHttpFailure(int error) {\n\t\t\n\t}", "title": "" }, { "docid": "bd5cf416f6c3c3b735c53cf487704327", "score": "0.6893599", "text": "@Override\n\tpublic void requestError(String result) {\n\t\t\n\t}", "title": "" }, { "docid": "a45eb949cb4f580a5b435c9c24ce002f", "score": "0.6867632", "text": "@Override\r\n\tpublic void onFailure(HttpRequest reqeust, StringBuilder sResult) {\n\t\tlogger.info(sResult.toString());\r\n\t}", "title": "" }, { "docid": "5b067a93f191bf489c5901ea8373b615", "score": "0.68309826", "text": "private void print_error_log(String functionName, Response response) {\n Log.i(TAG, functionName + \" request failed\");\n Log.i(TAG, functionName + \" request error code: \" + response.code());\n Log.i(TAG, functionName + \" request error message: \" + response.message());\n }", "title": "" }, { "docid": "dac5885f2d72efb1f61d32bce4ca74cc", "score": "0.6830383", "text": "@Override\n public void onRequestFailed() {\n runScript(\"addFileProgress('\" + loc + \"','error');\");\n\n taskCallback.onComplete();\n }", "title": "" }, { "docid": "39dc90757880a271182cd92192819c09", "score": "0.6749478", "text": "public void onFailure(HttpRequestException requestException);", "title": "" }, { "docid": "38e1a7c5eec0d4b41c01e920bff82143", "score": "0.6706255", "text": "void OnFailure(RequestCode requestCode, String error);", "title": "" }, { "docid": "b50ef56eb5fd7a89f8ef11bd2c54c904", "score": "0.66973567", "text": "private void action_error(HttpServletRequest request, HttpServletResponse response) {\n if (request.getAttribute(\"exception\") != null) {\n (new FailureResult(getServletContext())).activate((Exception) request.getAttribute(\"exception\"), request, response);\n } else {\n (new FailureResult(getServletContext())).activate((String) request.getAttribute(\"message\"), request, response);\n }\n }", "title": "" }, { "docid": "eece7d3ebed18daa50f70df57dd2a754", "score": "0.6678329", "text": "void onClientError(ClientError error);", "title": "" }, { "docid": "d426e77de2625aed6941797b3ed705d6", "score": "0.6673162", "text": "@Override\n\t\t\t\t\tpublic void onNetworkError(Request request, IOException e) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "76deb70506b51c1a740b80032147df4e", "score": "0.66293925", "text": "@Override\n\t\t\t\t\tpublic void onError(Request request, Exception e) {\n\t\t\t\t\t\tLogUtil.d(TAG, \"error e=\" + e.getMessage());\n\t\t\t\t\t}", "title": "" }, { "docid": "f78158c0a03a003d9c10483d68570377", "score": "0.66057515", "text": "void error(RESTException e);", "title": "" }, { "docid": "eca016c56ce76a3d5b7fbb058dba6089", "score": "0.65965205", "text": "@Override\n\tpublic void requestError(int errorResource) {\n\t\t\n\t}", "title": "" }, { "docid": "58a71339d47e6a77ca56388af8eba9e4", "score": "0.6577871", "text": "public void error() {\r\n try {\r\n runFilters(\"error\");\r\n } catch (Throwable e) {\r\n logger.error(e.getMessage(), e);\r\n }\r\n }", "title": "" }, { "docid": "4ec509efd1dc16cae1e12522ad1c477f", "score": "0.6573175", "text": "JobErrorDetails error();", "title": "" }, { "docid": "3e0fd38e7f11bc939168cb1daae5cb1b", "score": "0.6547637", "text": "private void logWithFailureInformation(CountryResponseDto failedIpResponse) {\n log.error(\"Query: \" + failedIpResponse.getQuery() + \" failed with message: \" + failedIpResponse.getMessage());\n }", "title": "" }, { "docid": "7dd8899bcfa07a1f137b57d0803ee1a4", "score": "0.6462732", "text": "public static void atError()\n {\n // your code goes here\n\n }", "title": "" }, { "docid": "7dd8899bcfa07a1f137b57d0803ee1a4", "score": "0.6462732", "text": "public static void atError()\n {\n // your code goes here\n\n }", "title": "" }, { "docid": "f96e8b2a8f0b351ebf57a9462efdab85", "score": "0.64402235", "text": "@Override\n\t\t\tpublic void onNetworkError(Request request, IOException e) {\n\n\t\t\t}", "title": "" }, { "docid": "00465cd78c88acf97732ca5ea15af721", "score": "0.6436301", "text": "protected static void error() {\n request.format = \"json\";\n Error error1 = new Error();\n error1.setCodeWithDefaultMsg(ErrorCode.SERVER_INTERNAL_ERROR);\n error(error1);\n }", "title": "" }, { "docid": "b37f9cae71a19d29d3e77f1cb8800169", "score": "0.6427565", "text": "@Override\n\tpublic void onRequestTemporaryError(MegaApiJava api, MegaRequest request,\n\t\t\tMegaError e) {\n\t\t\n\t}", "title": "" }, { "docid": "58d6cd3d7f8da39ae8725847cadeeb3a", "score": "0.64210534", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Log.i(\"ErrorMessage\", error.toString());\n //This code is executed if there is an error.\n }", "title": "" }, { "docid": "9ec4b35853dca6943166cb6cc38e0a16", "score": "0.63476986", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n LogToastUtility.LI(TAG, \"GetUrl:\" + pid + \":error:\" + error.toString());\n listener.onRequestCompletionError(pid, error.toString());\n\n }", "title": "" }, { "docid": "6557f3f1e1c27600768ab83522fd1f7e", "score": "0.63469684", "text": "@Override public void onError() {\n System.err.println(\"Failed\");\n \n }", "title": "" }, { "docid": "09675effba9108c6fdba9f3018cb3e97", "score": "0.6341539", "text": "@Override\n\t\t\t\t\tpublic void onFailed(ErrorInfor error) {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "44c40fd6582113c0f4c127153b675031", "score": "0.63374585", "text": "public abstract void onRequestFailure(int responseCode, String responseMsg);", "title": "" }, { "docid": "ae676c9fb128af6e6def41b811d37453", "score": "0.63353014", "text": "void logfailed(Context context, String url) throws SQLException;", "title": "" }, { "docid": "0a2a3a02a933359fa12a5bfcfdfb883f", "score": "0.6324265", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Log.d(\"LoginActivity\", \"ERROR.._---\" + error.getCause());\n }", "title": "" }, { "docid": "bef335ddf40ba1d92d751b119c3af379", "score": "0.6323821", "text": "@Override\n\t\t\t\t\t\tpublic void error() {\n\t\t\t\t\t\t}", "title": "" }, { "docid": "0ba9cbc08b366caa87f5f45aa0b1c48c", "score": "0.63140553", "text": "public void onError(Request request, Throwable exception) {\n\t\t\t\t\tWindow.alert(exception.toString());\n\t\t\t }", "title": "" }, { "docid": "01e9248fa7040872261b66b6098a4c02", "score": "0.6312719", "text": "@Override\n public void onError(Throwable e) {\n Log.e(\"REPSONSE ERROR\", e.getMessage());\n }", "title": "" }, { "docid": "01e9248fa7040872261b66b6098a4c02", "score": "0.6312719", "text": "@Override\n public void onError(Throwable e) {\n Log.e(\"REPSONSE ERROR\", e.getMessage());\n }", "title": "" }, { "docid": "1809b2d6b88b3309b96f990070d30dcc", "score": "0.6309728", "text": "@Override\n public void onFailure(int statusCode, Header[] headers, String res, Throwable t) {\n log.e(\"error\", String.valueOf(t));\n }", "title": "" }, { "docid": "4f32954646bada07651dbfb836a806aa", "score": "0.6299538", "text": "public void onFailure(HttpContext context, Throwable error) {\n callBack.onFailure(context, error);\r\n }", "title": "" }, { "docid": "4f32954646bada07651dbfb836a806aa", "score": "0.6299538", "text": "public void onFailure(HttpContext context, Throwable error) {\n callBack.onFailure(context, error);\r\n }", "title": "" }, { "docid": "4f32954646bada07651dbfb836a806aa", "score": "0.6299538", "text": "public void onFailure(HttpContext context, Throwable error) {\n callBack.onFailure(context, error);\r\n }", "title": "" }, { "docid": "4f32954646bada07651dbfb836a806aa", "score": "0.6299538", "text": "public void onFailure(HttpContext context, Throwable error) {\n callBack.onFailure(context, error);\r\n }", "title": "" }, { "docid": "3bc4f97ea88f9aa78922feb419676c41", "score": "0.62959605", "text": "@Override\n\t\t\t\t\t\t\tpublic void onFailed(ErrorInfor error) {\n\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "7c93e4a8603cd8e04a722baf456859c9", "score": "0.62862027", "text": "public void logError() {\n\t\tSystem.out.println(\"Une erreur est survenue...\\n\");\n\t}", "title": "" }, { "docid": "fae461c97d2199f63e38ae5aa7d3bc10", "score": "0.6273209", "text": "public void failure(RetrofitError arg0) {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "c301ad8f44c9c705f906a52df8f8b1ef", "score": "0.62714386", "text": "@Override\n public void onHttpNetFailEvent(int errorCode, String errorMsg) {\n }", "title": "" }, { "docid": "ebd55bfa458f1ce96f801c11c977beee", "score": "0.6270495", "text": "@Override\n public void call(@NotNull Error error) {\n Log.e(\"www\", error.getThrowable().getMessage());\n }", "title": "" }, { "docid": "b214d8461a8fdb67607c07ac9272b9a7", "score": "0.6270129", "text": "@Override\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\tscase.append(\"Fehlerausgabe \" + caught.getMessage());\n\t\t\t}", "title": "" }, { "docid": "4597bdd399c13ad96c714c7b160d31da", "score": "0.6265756", "text": "public void onError(Request request, Throwable exception) {\n com.google.gwt.user.client.Window.alert(\"error 1002\");\n Utils.setErrorPrincipal(\"Ocurrio un error al conectar con el servidor\", \"error\");\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "b432d3ae04c271de61a3063489d3d4b7", "score": "0.6261592", "text": "@Override\n public void onError(Status status) {\n }", "title": "" }, { "docid": "7ff7879a3e65b266f785b4b6745fb466", "score": "0.62588406", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n error.printStackTrace();\n }", "title": "" }, { "docid": "7ff7879a3e65b266f785b4b6745fb466", "score": "0.62588406", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n error.printStackTrace();\n }", "title": "" }, { "docid": "b5f19a0470336d9798ae7d8700f5f7b0", "score": "0.6256917", "text": "public void onError(Request request, Throwable exception) {\n Utils.setErrorPrincipal(\"Ocurrio un error al conectar con el servidor\", \"error\");\n }", "title": "" }, { "docid": "b5f19a0470336d9798ae7d8700f5f7b0", "score": "0.6256917", "text": "public void onError(Request request, Throwable exception) {\n Utils.setErrorPrincipal(\"Ocurrio un error al conectar con el servidor\", \"error\");\n }", "title": "" }, { "docid": "4ab05c8216df28d0aea89dea7b09bdfe", "score": "0.6254604", "text": "@Override\n\t\t\tpublic void failure(RetrofitError arg0) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f372bcd2247e85c625025cdec36a38bd", "score": "0.6250891", "text": "@Override\r\n\t\t\tpublic void onFailure(Throwable t, String strMsg) {\n\t\t\t\tsuper.onFailure(t, strMsg);\r\n\t\t\t\tMyLog.v(\"error\",strMsg);\r\n\t\t\t\theadBack.setProgressVisible(false);\r\n\t\t\t\tNetUtil.requestError(appContext, null);\r\n\t\t\t}", "title": "" }, { "docid": "d67a84ed247baddbb0e457d681e35ebf", "score": "0.6246218", "text": "public abstract void error(@NonNull NetworkError error);", "title": "" }, { "docid": "4878b200f6b2fcc1a6d225b8018d0dd7", "score": "0.6244648", "text": "@Override\n public void onFailure(Call<String> call, Throwable t) {\n // Log error here since request failed\n SecurityLayer.Log(\"throwable error\", t.toString());\n\n\n Toast.makeText(\n getActivity(),\n \"There was an error on your request\",\n Toast.LENGTH_LONG).show();\n\n\n prgDialog2.dismiss();\n ((FMobActivity) getActivity()).SetForceOutDialog(getString(R.string.forceout), getString(R.string.forceouterr), getActivity());\n }", "title": "" }, { "docid": "f1bb0f11b7c41ec8c547e0fe747cbc1f", "score": "0.6244327", "text": "@Override\n public void error(Exception ex) {\n }", "title": "" }, { "docid": "6a9f9ae814ebecca6cdd5fb1b553b302", "score": "0.62373304", "text": "public void authenticationFailed(StringBuilder sb, HttpResponse response);", "title": "" }, { "docid": "7cb16a80a54c5167a99e4acd4d8ef947", "score": "0.6229673", "text": "@Override\n public void onFailure(Request request, IOException e) {\n\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n toggleRefresh();\n }\n });\n alertUserAboutError();\n }", "title": "" }, { "docid": "07d270099e620ee296278ca940fadbdb", "score": "0.6224815", "text": "@Override\n\t\t\t\t\tpublic void httpFail(String response) {\n\t\t\t\t\t}", "title": "" }, { "docid": "07d270099e620ee296278ca940fadbdb", "score": "0.6224815", "text": "@Override\n\t\t\t\t\tpublic void httpFail(String response) {\n\t\t\t\t\t}", "title": "" }, { "docid": "07d270099e620ee296278ca940fadbdb", "score": "0.6224815", "text": "@Override\n\t\t\t\t\tpublic void httpFail(String response) {\n\t\t\t\t\t}", "title": "" }, { "docid": "07d270099e620ee296278ca940fadbdb", "score": "0.6224815", "text": "@Override\n\t\t\t\t\tpublic void httpFail(String response) {\n\t\t\t\t\t}", "title": "" }, { "docid": "6cad7fc3fb013dad1d84b82a02a8091c", "score": "0.6212121", "text": "@Override\n\tpublic void errorHandel() {\n\t\t\n\t}", "title": "" }, { "docid": "3e667aa4ae00dc4fccc4638d63c2a3ed", "score": "0.6210899", "text": "@Override\n\t\t\t\t\t\t\tpublic void onFail() {\n\t\t\t\t\t\t\t\tToast.makeText(UploadMistakeActivity.this,\n\t\t\t\t\t\t\t\t\t\t\"提交失败,请检查网络~\", 1000).show();\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "19f8fdc036b3fc0618241e4c282794f5", "score": "0.6198158", "text": "@Override\r\n\tpublic void onException(HttpRequest reqeust, Exception e) {\n\t\te.printStackTrace();\r\n\t}", "title": "" }, { "docid": "868aa6ec3d05a002d7559f024a3ba68d", "score": "0.6198147", "text": "public void onFailure(IRequest<List<Device>> request, Exception e) {\n\t\tlog.error(\"Received an OnFailure from the server when requesting devices\", e);\n\t}", "title": "" }, { "docid": "8db783ce0d23b33d4ef0196366c4ec13", "score": "0.6193379", "text": "@Override\n\t\t\t\t\t\tpublic void onFailure(HttpException exception,\n\t\t\t\t\t\t\t\tString info) {\n\t\t\t\t\t\t\tSystem.out.println(\"再次提交司机状态失败:\"\n\t\t\t\t\t\t\t\t\t+ exception.getMessage());\n\t\t\t\t\t\t}", "title": "" }, { "docid": "b200ae037ed9ec2d24d1e39bde57cdcf", "score": "0.61930597", "text": "@Override\n\t\t\t\t\t\t\t\tpublic void failure(RetrofitError arg0) {\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "12dd16db936c91afad57dda66bd36734", "score": "0.6189527", "text": "@Override\n\t\t\tpublic void requestFailure(String s) {\n\t\t\t\tshowToast(s);\n\t\t\t}", "title": "" }, { "docid": "3d59f0876f8f5d09f8de6539c79d24ee", "score": "0.61872023", "text": "@Override\r\n public void onErrorResponse(VolleyError error) {\n Log.i(\"test\", error.getMessage());\r\n\r\n }", "title": "" }, { "docid": "b248db096bd09d442e83f4275d7355db", "score": "0.61822903", "text": "@Override\n\t\t\t\t\tpublic void onMyError(VolleyError error) {\n\t\t\t\t\t}", "title": "" }, { "docid": "812c526ec9ea1ec2a48eb1a251fc5f13", "score": "0.618121", "text": "@Override public void onError() {\n System.err.println(\"Failed\");\n\n }", "title": "" }, { "docid": "812c526ec9ea1ec2a48eb1a251fc5f13", "score": "0.618121", "text": "@Override public void onError() {\n System.err.println(\"Failed\");\n\n }", "title": "" }, { "docid": "6e246b2bc10c8cda9ed960693bde1ef3", "score": "0.61727405", "text": "public void logFailedRecord () {\n failCtrl.saveFailedRecord(this);\n }", "title": "" }, { "docid": "e6d6c787e0aad8834c4c71b1c83f7030", "score": "0.6170866", "text": "@Override\r\n public void onFailure(@NonNull Exception e) {\n Log.e(\"Error\", e.toString());\r\n\r\n }", "title": "" }, { "docid": "9af7d8a655590e099123fb9e44f236f1", "score": "0.616362", "text": "public void error(Exception e);", "title": "" }, { "docid": "1babd23ff9981046515150207f2c85ca", "score": "0.61581945", "text": "@Override\n public void onFailure(Call call, IOException e) {\n MessagerHandler.sendMessage(1, \"failure\");\n result[0] = Result.FAILURE;\n startSignal.countDown();\n }", "title": "" }, { "docid": "5fe66d1c2b346296bb4cd6d58dc5e205", "score": "0.6150639", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n error.printStackTrace();\n Log.e(Tag, error.getMessage());\n Log.e(Tag, \"网络请求故障\");\n cb.onFailure(\"\", -2);\n }", "title": "" }, { "docid": "5fe66d1c2b346296bb4cd6d58dc5e205", "score": "0.6150639", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n error.printStackTrace();\n Log.e(Tag, error.getMessage());\n Log.e(Tag, \"网络请求故障\");\n cb.onFailure(\"\", -2);\n }", "title": "" }, { "docid": "c60b2fb53a59e030835272160ac3cbe2", "score": "0.61488307", "text": "public void onError(Request request, Throwable exception) {\n Utils.setErrorPrincipal(\"Ocurrio un error al conectar con el servidor\", \"error\");\n }", "title": "" }, { "docid": "10c5364ab9301f09548b5536f01485a6", "score": "0.61446947", "text": "private void logError(HttpTransportSE androidHttpTransport, Exception e) {\r\n\t\t// give a null pointer exception if debug is off in transport\r\n\t\tif (WS_DEBUG) {\r\n\t\t\tLog.e(TAG, androidHttpTransport.requestDump.toString());\r\n\t\t\tLog.e(TAG, \"lng=\"\r\n\t\t\t\t\t+ (androidHttpTransport.requestDump.toString().length()));\r\n\t\t\tLog.e(TAG, androidHttpTransport.responseDump.toString());\r\n\t\t\tLog.e(TAG, \"lng=\"\r\n\t\t\t\t\t+ (androidHttpTransport.responseDump.toString().length()));\r\n\t\t}\r\n\t\te.printStackTrace();\r\n\r\n\t}", "title": "" }, { "docid": "05519d243515d2cc522c890129dcf558", "score": "0.6143007", "text": "@Override\r\n public void onFailureRedirection(String errorMessage) {\r\n\r\n }", "title": "" }, { "docid": "43c6388f87f93aac173e78334b792af0", "score": "0.6140678", "text": "@Override\n\tpublic void onResponseFailure() {\n\n\t}", "title": "" }, { "docid": "b4647430e11769abc0f42760cdc574a4", "score": "0.6138037", "text": "@Override\n public void onFailure(int statusCode, Header[] headers, byte[] errorResponse, Throwable e) {\n Log.d(TAG,\"ERROR FAILED GET: \" + e.getMessage());\n }", "title": "" }, { "docid": "ff73981d5e0192906bae92f396643c5f", "score": "0.6127615", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n Log.d(TAG, error.toString());\n }", "title": "" }, { "docid": "9b25f5c95285f6be5165916760e8fadb", "score": "0.61258435", "text": "@Override\n public void failure(RetrofitError error) {\n }", "title": "" }, { "docid": "2baadbaaa4bf080cb5d49f0715c073d5", "score": "0.61189544", "text": "@Override\n\t\t\tpublic void onErrorResponse(VolleyError error) {\n\t\t\t\tLog.d(\"\",error.toString());\n\t\t\t}", "title": "" }, { "docid": "15e2b2666f8c68cb293e5f96bbb60617", "score": "0.611585", "text": "private void handleErrorToken(Throwable error) {\n\n if (error instanceof HttpException) {\n\n Gson gson = new GsonBuilder().create();\n\n try {\n\n String errorBody = ((HttpException) error).response().errorBody().string();\n Response response = gson.fromJson(errorBody,Response.class);\n showMessage(response.getMessage());\n new Handler().postDelayed(() -> startActivity(new Intent(getApplicationContext(), LoginActivity.class)), 3000);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n } else {\n\n try {\n new Handler().postDelayed(() -> startActivity(new Intent(getApplicationContext(), LoginActivity.class)), 3000);\n }\n catch(Exception e)\n {\n showMessage(\"Error de conexion!\");\n }\n }\n }", "title": "" }, { "docid": "c643e30f319a2a21414dd1401a53e787", "score": "0.6108972", "text": "@Override\n\t\t\tpublic void onFailure(Exception error) {\n\t\t\t\terror.printStackTrace();\n\t\t\t}", "title": "" }, { "docid": "8fb79d36d87b8aab2bf4cd8c966880c0", "score": "0.6104567", "text": "@Override\n\tprotected void onResponseFailure(ReqTag tag, MamaHaoServerError error,\n\t\t\tMamaHaoError clientError) {\n\t\tsuper.onResponseFailure(tag, error, clientError);\n\t}", "title": "" }, { "docid": "9216d0cbc98e2fd45331d0faf9d2d262", "score": "0.6103354", "text": "@Override\n public void onFailure(Request request, IOException e) {\n runOnUiThread(new Runnable() {\n @Override\n public void run() {\n toggleRefresh();\n }\n });\n alertUserAboutError();\n }", "title": "" }, { "docid": "ed829dae8245fd0902dc8b417c33852f", "score": "0.6101396", "text": "@Override\n\t\t\tpublic void onError(int httpcode) {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "7130f74490c6f213972ba1efe7958dd5", "score": "0.6101022", "text": "@Override\n public void failure(RetrofitError error) {\n\n }", "title": "" }, { "docid": "4e020bf3830ca153e693b038d49e079c", "score": "0.6099666", "text": "private void handleError(Throwable error) {\n\n mProgressbar.setVisibility(View.INVISIBLE);\n if (error instanceof HttpException) {\n\n Gson gson = new GsonBuilder().create();\n\n try {\n\n String errorBody = ((HttpException) error).response().errorBody().string();\n Response response = gson.fromJson(errorBody,Response.class);\n showMessage(response.getMessage());\n\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n } else {\n\n showMessage(\"Error de conexion !\");\n }\n }", "title": "" }, { "docid": "e05151f0e01f5323783c2bfa2284e88d", "score": "0.60954356", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n //This code is executed if there is an error.\n }", "title": "" } ]
22025410e8fcefd2976c7f9a1f753ada
Configuration and resource allocation for a MongoDB 4.2 cluster. .yandex.cloud.mdb.mongodb.v1.Mongodb4_2 mongodb_4_2 = 7 [json_name = "mongodb_4_2"];
[ { "docid": "0ca6ed9f4188ed1bd0a7bb9787f2adb5", "score": "0.0", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2 getMongodb42() {\n if (mongodb42Builder_ == null) {\n if (mongodbCase_ == 7) {\n return (yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2) mongodb_;\n }\n return yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.getDefaultInstance();\n } else {\n if (mongodbCase_ == 7) {\n return mongodb42Builder_.getMessage();\n }\n return yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.getDefaultInstance();\n }\n }", "title": "" } ]
[ { "docid": "ff548296d1d0fbdbb082996ecc5244d4", "score": "0.72971845", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0 getMongodb40();", "title": "" }, { "docid": "bca2cf70eadd0db68db8eb33283f819f", "score": "0.70476484", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4 getMongodb44();", "title": "" }, { "docid": "9f4f4cc34a919bca6108fcfae3e8eb94", "score": "0.7016078", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2 getMongodb42();", "title": "" }, { "docid": "d06cd246d9fbc66ff03681a1f9d85a72", "score": "0.68672174", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0 getMongodb50();", "title": "" }, { "docid": "4b50b6209b5d266d28e54358576b25b3", "score": "0.68486273", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0 getMongodb60();", "title": "" }, { "docid": "9f5d1f7c287ebb7e6f96f77209bb810b", "score": "0.6654859", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6 getMongodb36();", "title": "" }, { "docid": "9bba0415852d5ac6bcc64eebfcdae15e", "score": "0.65661806", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.MongoCfg getMongocfg();", "title": "" }, { "docid": "eff577fd0682691e7d64191a9b918c6c", "score": "0.65498626", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongos getMongos();", "title": "" }, { "docid": "5100c4f0ddb44547f9b75e1da42b0c64", "score": "0.6534684", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.MongoCfg getMongocfg();", "title": "" }, { "docid": "f73b92ff0193fae37612c8490dda95bd", "score": "0.65280706", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongod getMongod();", "title": "" }, { "docid": "07ff6c3cda304be27519e9dbd0bd62e1", "score": "0.6525871", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongosConfigSet4_4 getConfigMongos();", "title": "" }, { "docid": "eb6ca1c3bf6f00a658fcad3709a8befd", "score": "0.652522", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getConfigMongos();", "title": "" }, { "docid": "547e22388d1b34c431c4aa93e42ba8bb", "score": "0.6512633", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongos getMongos();", "title": "" }, { "docid": "16b4fdc9ac2b77da14ba6562e05f28cd", "score": "0.6508505", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.MongoCfg getMongocfg();", "title": "" }, { "docid": "ce5fc5d54be2a2be6e9f1cbd251162aa", "score": "0.6503613", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongos getMongos();", "title": "" }, { "docid": "78a38040274321d0536915be39265f25", "score": "0.64946514", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongosConfigSet4_0 getConfigMongos();", "title": "" }, { "docid": "94bc54e675154ad23f4544bf0bc0b3b4", "score": "0.6481803", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.Mongod getMongod();", "title": "" }, { "docid": "4df42cb8333bcdda8ba64aff4b09c806", "score": "0.64797497", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.Mongod getMongod();", "title": "" }, { "docid": "cded3f2ced08e46478fd09d7f2c78b3d", "score": "0.64637405", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongos getMongos();", "title": "" }, { "docid": "61516c7d7bfea8549a569e40334a9744", "score": "0.6451565", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongod getMongod();", "title": "" }, { "docid": "88b05e0bcbf5d9cda949f24950b2f0cd", "score": "0.64390695", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.ClusterConfig getConfig();", "title": "" }, { "docid": "2f2fa97b08d362e995e4f1f7db384280", "score": "0.6428383", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.Mongod getMongod();", "title": "" }, { "docid": "697c765759097e376c5dd0e5f32328c8", "score": "0.6423704", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 getConfigMongocfg();", "title": "" }, { "docid": "889621ade6fd393559d18944e27326e5", "score": "0.6416148", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.Mongod getMongod();", "title": "" }, { "docid": "a8b24b225d03adae053f0ab588381ee0", "score": "0.64137113", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.MongoCfg getMongocfg();", "title": "" }, { "docid": "8551404cac463f862d6250459c278a10", "score": "0.6398925", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise getMongodb44Enterprise();", "title": "" }, { "docid": "5240d6dd4de52536067dfb2003f2ec04", "score": "0.63987935", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.Mongos getMongos();", "title": "" }, { "docid": "dccf1b1d776401035c0c311d3ffb36da", "score": "0.6397698", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongod getMongod();", "title": "" }, { "docid": "99702b7ac162c3b95b1e34738cc0965f", "score": "0.639382", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.Mongod getMongod();", "title": "" }, { "docid": "f1b558723fe35cb8c2dd1ec9a715369c", "score": "0.6387513", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44Enterprise.MongosConfigSet4_4_enterprise getConfigMongos();", "title": "" }, { "docid": "4876faf683e97e7e95a8198db3fa2f9a", "score": "0.63758063", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.Mongos getMongos();", "title": "" }, { "docid": "34166f33f8b55424a9340e80a66ebdd1", "score": "0.63710994", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.Mongos getMongos();", "title": "" }, { "docid": "3e3fa4f55bd3ef7155aecf4ad720e7ff", "score": "0.6358685", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.MongoCfg getMongocfg();", "title": "" }, { "docid": "47e32df405d73ecd4e12bb2e3509018e", "score": "0.6349308", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongod getMongod();", "title": "" }, { "docid": "db734d1c540dc049677b14c95b04e209", "score": "0.634094", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongoCfgConfigSet4_0 getConfigMongocfg();", "title": "" }, { "docid": "ecfc67957386fbb25377d982868f0590", "score": "0.63375264", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.Mongos getMongos();", "title": "" }, { "docid": "40e59e653c1d0cd9bfca2559035f8b1c", "score": "0.63283795", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.Mongos getMongos();", "title": "" }, { "docid": "4753bd679a17f2779bfad7395f18e0aa", "score": "0.63276815", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongoCfgConfigSet4_4 getConfigMongocfg();", "title": "" }, { "docid": "0eee2dbe10fa23b775389022b0344e4c", "score": "0.63115484", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0.MongoCfg getMongocfg();", "title": "" }, { "docid": "3062da05cb1b564357dd97e8c2b57f85", "score": "0.6308135", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.MongoCfg getMongocfg();", "title": "" }, { "docid": "e0231c1336e2721c6891692d64539060", "score": "0.63067794", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44Enterprise.MongoCfgConfigSet4_4_enterprise getConfigMongocfg();", "title": "" }, { "docid": "8b4f9782cb5a9f33ff797217ac452f48", "score": "0.6253096", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.MongoCfg getMongocfg();", "title": "" }, { "docid": "359fd0caa816d512e3d13f001b06e07f", "score": "0.6225899", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0.MongoCfg getMongocfg();", "title": "" }, { "docid": "f240be6ffc3cc071c68b47c35a55fe3c", "score": "0.6220446", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 getConfig();", "title": "" }, { "docid": "754ebfc4b2665d8ca059b157c8d5f2d7", "score": "0.62006694", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongodConfigSet4_4 getConfig();", "title": "" }, { "docid": "95318ec1055bc22ebcfbc629047837d0", "score": "0.619669", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise getMongodb50Enterprise();", "title": "" }, { "docid": "6e2d93d5f129061a3bf9e5e760bf2084", "score": "0.61784303", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44Enterprise.MongodConfigSet4_4_enterprise getConfig();", "title": "" }, { "docid": "f451033f11e28b9faa20b668382b9523", "score": "0.61720055", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb36.MongosConfigSet3_6 getConfigMongos();", "title": "" }, { "docid": "610e1d1d4f61eb00cd4360058a12b0c2", "score": "0.6170715", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.MongoInfra getMongoinfra();", "title": "" }, { "docid": "6d071a9c92cfbd2b7a267c52065d2f0d", "score": "0.6150249", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4_enterprise.MongoInfra getMongoinfra();", "title": "" }, { "docid": "f376bf3d738aead293f8e58dab441a9d", "score": "0.61441654", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongodConfigSet4_0 getConfig();", "title": "" }, { "docid": "b62d77b00d960c9a0d3d53ed29a47406", "score": "0.6128516", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.MongoInfra getMongoinfra();", "title": "" }, { "docid": "3c581e1a2081298c1f336341b515931a", "score": "0.61243844", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise getMongodb60Enterprise();", "title": "" }, { "docid": "bb80079a4627084e7c76becd4637a1a8", "score": "0.61178726", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getConfig();", "title": "" }, { "docid": "affe64af1eae00157fb98fb528e4a278", "score": "0.61048424", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44.MongosConfigSet4_4 getConfig();", "title": "" }, { "docid": "905a497ee0586e0822e3aea5de63b3cd", "score": "0.60776716", "text": "@java.lang.Override\n public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2 getMongodb42() {\n if (mongodbCase_ == 7) {\n return (yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2) mongodb_;\n }\n return yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_2.getDefaultInstance();\n }", "title": "" }, { "docid": "9e87719ad9fc02ab7f017ac5861023f6", "score": "0.6075735", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb44Enterprise.MongosConfigSet4_4_enterprise getConfig();", "title": "" }, { "docid": "73d0296d86a6215b8646f191e3b48ef9", "score": "0.6057094", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0.MongoInfra getMongoinfra();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.60524225", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.60524225", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.60524225", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.60524225", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.60524225", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6051625", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6051625", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6051625", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6051625", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6051625", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "9fb93f1c3cba3e5720617dbf6b44f2f5", "score": "0.6050927", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Resources getResources();", "title": "" }, { "docid": "29d9618bc19cc0d7c35e5391b4db483b", "score": "0.60397565", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb36.MongoCfgConfigSet3_6 getConfigMongocfg();", "title": "" }, { "docid": "2ea378410ec45bb525a3fb12a5704795", "score": "0.60308963", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb40.MongosConfigSet4_0 getConfig();", "title": "" }, { "docid": "6b7b90c50f136099beb0d26723dd447d", "score": "0.60229325", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb3_6.MongoInfra getMongoinfra();", "title": "" }, { "docid": "96289f70a8726b74e844149328e8018a", "score": "0.6018401", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb5_0_enterprise.MongoInfra getMongoinfra();", "title": "" }, { "docid": "de65eea7d609052797c6b4690b436538", "score": "0.6005978", "text": "yandex.cloud.api.mdb.mongodb.v1.config.Mongodb50.MongosConfigSet5_0 getConfigMongos();", "title": "" }, { "docid": "3cc3c0327934479eb2ecfc6c04cc48b4", "score": "0.6002331", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb6_0_enterprise.MongoInfra getMongoinfra();", "title": "" } ]
7de4f532d6f2bbbb5dd21b5834a52437
Write your code here.
[ { "docid": "1be90d414f0375652f4ff2e42a40363b", "score": "0.0", "text": "public static void findSums(BinaryTree root, int sum, List<Integer> result) {\n if(root==null) {\n return;\n }\n sum += root.value;\n if(root.left==null && root.right==null) {\n result.add(sum);\n return;\n }\n findSums(root.left, sum, result);\n findSums(root.right, sum, result);\n }", "title": "" } ]
[ { "docid": "f3cfb95cfb17fcd88ce2871511ceb2a6", "score": "0.6692841", "text": "private static void masterCode() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "fc7bd0f673b6dc458ca933b0fabf22ab", "score": "0.6234055", "text": "public void writeCode() {\n System.out.println(\"Developer is writing code...\");\n }", "title": "" }, { "docid": "18593091750e42f268fe6eeac3c48f57", "score": "0.61349076", "text": "private static final void function()\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "5d259e9a9ed31ac29902b25db191acd1", "score": "0.6113597", "text": "@Override\n\tpublic void bewegen() {\n\t\t\n\t}", "title": "" }, { "docid": "84c0f055b676c3c4118b1db0f9b51c6b", "score": "0.6088287", "text": "private void inizia() {\n }", "title": "" }, { "docid": "9144a32a2cd5a72f1d1380aa1f1d5f09", "score": "0.6036039", "text": "public void mo5774g() {\n }", "title": "" }, { "docid": "27a85771ae53af768cd7bcd56e4cc96c", "score": "0.6035756", "text": "public void metodo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.5965552", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "5c8e848472fb111129ff96ea7e3eea3d", "score": "0.5965552", "text": "@Override\n public void pintar() {\n \n }", "title": "" }, { "docid": "99bd004e44dd7019c8ef01a44a9b3eab", "score": "0.59651417", "text": "@Override\r\n\tpublic void breah() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.5943475", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "86b8454e58fecd21bfdb286692ce183a", "score": "0.590121", "text": "public void function() {\n\t\t\n\t}", "title": "" }, { "docid": "b637eb64e798b6b2e76dc34f9df57a89", "score": "0.5901108", "text": "@Override\n\tvoid mobile_dancing() {\n\t\t\n\t}", "title": "" }, { "docid": "9f5441edc172276803ac2fc0db07c470", "score": "0.58880424", "text": "public void metodo2() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.58717775", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "e90bb5928accbf89387d2613629ce52f", "score": "0.58717775", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "dce6bc292f4aafd4ebc9e9db4d083c6b", "score": "0.58715904", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5849771", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "f5a32bcc258723c66b024ca08e01604f", "score": "0.58388656", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "f5a32bcc258723c66b024ca08e01604f", "score": "0.58388656", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ed62c43e45ed48639ea30391420aaf94", "score": "0.5821765", "text": "private void mian() {\n\r\n\t}", "title": "" }, { "docid": "db1df23a1dd6753a6267bb04b332bf85", "score": "0.58134013", "text": "public void mo12026a() {\n }", "title": "" }, { "docid": "e04f934fbe00df663fa9d5d545a1a729", "score": "0.5771951", "text": "@Override\n public void sporcuPuaniGoster() {\n\n }", "title": "" }, { "docid": "1d0911119790df3ba7c5c355d32a1022", "score": "0.5758823", "text": "public void codifica() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9b8a44f27329437a5b3f89427b894c91", "score": "0.5750833", "text": "public void mo36058a() {\n }", "title": "" }, { "docid": "f8d38a86c8f977797af06eeb9902423c", "score": "0.5728743", "text": "private static void exSimpleOne() {\n }", "title": "" }, { "docid": "c35ca194b4c3db9ec44cd5a0b1e82120", "score": "0.57181656", "text": "static void task7()\r\n\t{\r\n\t\t//add your code here\r\n\t\tSystem.out.println(\"end of task7---------------------------------------------------------\");\r\n\t}", "title": "" }, { "docid": "2b4e5aa4cbc9cfc04f6caa615f2c42d1", "score": "0.57106936", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\n\t\t\t\t\t}", "title": "" }, { "docid": "67e1a422c8d1e74f6601c8a6d1aaa237", "score": "0.5701057", "text": "@Override\n\tpublic void apagar() {\n\n\t}", "title": "" }, { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.57000697", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "061b3b6e0dca7401d6dba55feb640729", "score": "0.5685868", "text": "public void Pohyb () {\n\t\t\n\t}", "title": "" }, { "docid": "a287e36778d432d6f582d9ae0d7b50a2", "score": "0.5682793", "text": "private static void xuLyLuu() {\n\t\t\n\t}", "title": "" }, { "docid": "48c2a03332300a7bba8160f726bd52b5", "score": "0.5677306", "text": "@Override\r\n\tpublic void body() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0db52aaf6ab115d13bfdb157c49f358b", "score": "0.56747353", "text": "private void loaddatatable() {\n\n }", "title": "" }, { "docid": "83e13e8cb96306c14781eb2d0caf7f2a", "score": "0.5667306", "text": "public void mo5371h() {\n }", "title": "" }, { "docid": "e46610ee0bd6f029738af766fdc21054", "score": "0.56655914", "text": "@Override\r\n\tpublic void vender() {\n\r\n\t}", "title": "" }, { "docid": "faf0058c55116bb45ab2a6bf968ab8c7", "score": "0.56634533", "text": "@Override\r\n\t\t\tpublic void run() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "dbc7e8dc1cc7bc170d88ac9b43133241", "score": "0.56608033", "text": "@Override \n\t\tpublic void moverse(){\n\t\t\tSystem.out.println( \"Volando muy rapido!!\");\n\t\t}", "title": "" }, { "docid": "50333072804c6592cf2a1d5a4ea1f792", "score": "0.5659785", "text": "@override\n public void basicMethod() {\n // write code here\n }", "title": "" }, { "docid": "3d736f33095c64258b5e6246d8ddc067", "score": "0.5648815", "text": "@Override\n\tpublic void demo() {\n\t\t\n\t}", "title": "" }, { "docid": "e16f9d98e55a9a119febc130781b2bca", "score": "0.5631811", "text": "public void comer() {\r\n }", "title": "" }, { "docid": "e781f16e5db21a05c46f55bc0797da71", "score": "0.5627356", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "ad7fe50be28bd3c3d7952d71f935957c", "score": "0.5625636", "text": "@Override\n\t\t\tpublic void work() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ae67fa43805bbee6ca7bd18492b25e43", "score": "0.5620206", "text": "public final void mo58064j() {\n }", "title": "" }, { "docid": "c64411f2d7b4359b656294e598122466", "score": "0.5617058", "text": "public void mo1294d() {\n }", "title": "" }, { "docid": "c1e6f049bd0a6f8cdd055f88f3b45eaa", "score": "0.5614095", "text": "public void mo80311c() {\n }", "title": "" }, { "docid": "fb9a873c01eb354c85aac7a220fbaac2", "score": "0.561401", "text": "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6f22b550ba0e013c28ada36f27226ae5", "score": "0.5609918", "text": "public void jugar() {\r\n\t\tSystem.out.println(getClass()+\": Chaka Chaka... Ta chido tu Wii...\");\t\t\r\n\t}", "title": "" }, { "docid": "49f82de84791f2d90dd9ea5cce118bf5", "score": "0.56088006", "text": "@Override\r\n\tpublic void ader() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d0b7e3f5544447dc12bf9d1bad50a34b", "score": "0.5603306", "text": "public void mo40391a() {\n }", "title": "" }, { "docid": "1e0565c6785e6f048a3f0037dbc2d0f2", "score": "0.560153", "text": "@Override\n\t\t\tprotected void onPreExecute() {\n\t\t\t}", "title": "" }, { "docid": "49ee360fc309e05317b9ad3ab45ce282", "score": "0.55991966", "text": "@Override\n\tpublic void writeCode() {\n\t\t\n\t}", "title": "" }, { "docid": "02f74e9d02ce7106deef9d6995c2dba4", "score": "0.5598682", "text": "public static void Lcarcel() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "6db196fe12df2040e890be66656ff251", "score": "0.55920017", "text": "@Override\n\tprotected void execute() {\n\t\t\n\t}", "title": "" }, { "docid": "eaaf030851d7fa302a6d560c60c4d136", "score": "0.55900127", "text": "@Override\n\tpublic void view() {\n\t\t\n\t}", "title": "" }, { "docid": "15d6b98b279429b150a682bd6349a355", "score": "0.5589935", "text": "@Override\n\tpublic void fertilise() {\n\t\t\n\t}", "title": "" }, { "docid": "3b2bf26b4eb0717955fdd35991b8290d", "score": "0.55899155", "text": "@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "058b4c3294dac838f5e03d9973c9d9c4", "score": "0.5581042", "text": "@Override\n\tpublic void run() {\n\t\t\t\n\t}", "title": "" }, { "docid": "e9127e91c9d5a61f98c25c928ab51bda", "score": "0.5579224", "text": "@Override\n public void run() {\n \n }", "title": "" }, { "docid": "5ac5f0d279c2a9093439865ede4a0249", "score": "0.5578305", "text": "@Override\r\n\tpublic void writeCode() {\n System.out.println(this.name + \" is writing CPP code!\");\r\n\t}", "title": "" }, { "docid": "c4258dc3a6cfce845376794c0f3f1042", "score": "0.5578045", "text": "@Override\n\tpublic void outside() {\n\t\t\n\t}", "title": "" }, { "docid": "d69d82cd185340d978c1a70fb66c01db", "score": "0.55777633", "text": "public void mo5773f() {\n }", "title": "" }, { "docid": "bcd5f0b16beb225527894894dcaf774f", "score": "0.5566044", "text": "@Override\n\tprotected void update() {\n\t\t\n\t}", "title": "" }, { "docid": "3b4a1b8680f2061e6403550e9be09158", "score": "0.55640906", "text": "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "title": "" }, { "docid": "d462f20cffe1fa271fe5cb61b296e4a6", "score": "0.5560372", "text": "@Override\r\n\tprotected void onPreExecute() {\n\t}", "title": "" }, { "docid": "628e9bdd1797a5416ce746063e832976", "score": "0.5560348", "text": "@Override\n\tvoid mobile_cooking() {\n\t\t\n\t}", "title": "" }, { "docid": "ef66744c52931002e3bbe708797e7388", "score": "0.5560115", "text": "@Override\n\t\tprotected void onPreExecute() {\n\n\t\t}", "title": "" }, { "docid": "f7894e0e7b470bcab3e0e1ef03134f2e", "score": "0.5558564", "text": "@Override\r\n\t\tprotected void onPreExecute() {\r\n\t\t}", "title": "" }, { "docid": "903fc2bf2ce7fc1d4ce8140bd6e570ac", "score": "0.5557138", "text": "@Override\r\n\t\t\tprotected void onPreExecute() {\n\t\t \r\n\t\t\t}", "title": "" }, { "docid": "5d9f4634054e808deccea8846817de31", "score": "0.55555105", "text": "@Override\r\n\tpublic void vola() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7464123b5004e5355e0ce0496e1e9181", "score": "0.5551842", "text": "@Override\n protected void execute() {\n \n }", "title": "" }, { "docid": "164e9e0adbc05885cbd561fdd910e882", "score": "0.5551275", "text": "private static void Driver() {\n\t\t\n\t}", "title": "" }, { "docid": "bfa2ae158f177aafeb11af1c9f301fe6", "score": "0.5548258", "text": "public void qradeQuestion4 () {\n }", "title": "" }, { "docid": "f5c1dda9eb831c574ceb86d7f68bc102", "score": "0.55428535", "text": "public void run() {\n\t\t\t\t\t\t\t}", "title": "" }, { "docid": "f2dcb9fd927c0f35e2fcd09b6b39c16c", "score": "0.5540076", "text": "@Override\n\t\t\t\t\tpublic void run()\n\t\t\t\t\t{\n\t\t\t\t\t}", "title": "" }, { "docid": "a9f1645903b563b95a397d46ac36e151", "score": "0.5535674", "text": "private void output() {\n\n\t}", "title": "" }, { "docid": "a9f1645903b563b95a397d46ac36e151", "score": "0.5535674", "text": "private void output() {\n\n\t}", "title": "" }, { "docid": "4a0d7eb7a1d7d7d0e6b04be5e2d33a89", "score": "0.55273736", "text": "@Override\n\tpublic void Executar() {\n\n\t}", "title": "" }, { "docid": "120c16b639bd4daee254db6cba13ef9c", "score": "0.5523812", "text": "@Override\n\tpublic void run() {\n\n\t\t\n\t}", "title": "" }, { "docid": "4a335850ae243b968f18725e61f85396", "score": "0.55216646", "text": "@Override\r\n\t\tprotected void onPreExecute()\r\n\t\t{\r\n\t\t}", "title": "" }, { "docid": "df32d1cc90d216a671b6718f6ec67df7", "score": "0.55118006", "text": "@Override\n public void run() {\n\n }", "title": "" }, { "docid": "df32d1cc90d216a671b6718f6ec67df7", "score": "0.55118006", "text": "@Override\n public void run() {\n\n }", "title": "" }, { "docid": "df32d1cc90d216a671b6718f6ec67df7", "score": "0.55118006", "text": "@Override\n public void run() {\n\n }", "title": "" }, { "docid": "df32d1cc90d216a671b6718f6ec67df7", "score": "0.55118006", "text": "@Override\n public void run() {\n\n }", "title": "" }, { "docid": "e7c4da66b1981344f69103fcb0ecb6b7", "score": "0.5510168", "text": "@Override\r\n\tprotected void doF3() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5262660a9edcdf4c362ff4b7231a8c41", "score": "0.5502689", "text": "@Override\r\n\tpublic void dibujar() {\n\r\n\t}", "title": "" }, { "docid": "9ab48b7ecd1ad1dcc0755b6229542100", "score": "0.5500072", "text": "private void animalpCode() {\r\n\r\n // pCodeProp.set(AnimationPropertiesKeys.HIGHLIGHTCOLOR_PROPERTY,\r\n // Color.red);\r\n // pCodeProp.set(AnimationPropertiesKeys.CONTEXTCOLOR_PROPERTY,\r\n // Color.blue);\r\n\r\n sc = lang\r\n .newSourceCode(new Coordinates(20, 20), pCodeName, null, pCodeProp);\r\n for (int i = 0; i < pCode.length; i++) {\r\n sc.addCodeLine(pCode[i], \"\" + i, 0, null);\r\n }\r\n\r\n }", "title": "" }, { "docid": "f425de2864eea1df93fc8f891e62c300", "score": "0.54973114", "text": "public void Deneme(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "2e4fe2a81bd1f757d49c5d1f942d6097", "score": "0.5495842", "text": "@Override\n \tpublic void process_5() {\n \n \t}", "title": "" }, { "docid": "5732e469da9beed7ea87452bce40dc63", "score": "0.54946303", "text": "@Override\r\n\t\tpublic void run() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "a4dcc093d4ff3452de6ac444aececdf1", "score": "0.5492695", "text": "public void ausgabeZugFiguren() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "d29a027cc93fdf42445fadb149d49da1", "score": "0.5490783", "text": "public void mo1184a() {\n }", "title": "" }, { "docid": "78ac6aac73c15ec9fc5566bdb2c92930", "score": "0.54861814", "text": "@Override\n\t\t\tpublic void run() {\n\t\t\t\tSystem.out.println(\"code in executoe\");\n\t\t\t}", "title": "" }, { "docid": "4d1f08ec1666692865031a3d645ad684", "score": "0.54808295", "text": "public void mo228g() {\r\n }", "title": "" }, { "docid": "16ed3a2b6724d88fa2d91dfb15fcd36b", "score": "0.5480695", "text": "@Override\n\tpublic void run() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "c681d7d25fa8ff865467b059891b1b74", "score": "0.5479054", "text": "@Override\n public void run() {\n\n }", "title": "" }, { "docid": "ef815ccc144ce692211c8c366c9443dc", "score": "0.54788095", "text": "public void mo36513a() {\n }", "title": "" }, { "docid": "2cdd474b4125570edb178a0de976abec", "score": "0.5477253", "text": "@Override\r\n\t\t\tpublic void run() {\n\t\t\t}", "title": "" }, { "docid": "46ae77cd11967058ab7cdbed6fb7eae0", "score": "0.54751194", "text": "public static void main(String[] args) {\n\t// write your code here\n }", "title": "" }, { "docid": "5d42327da9091b960231044c1eb4ac71", "score": "0.5472492", "text": "public void run() {\n\t\t\t}", "title": "" }, { "docid": "268744c21350c16baf1289351cd929b2", "score": "0.5470909", "text": "@Override\r\n\tpublic void run() {\n\t\t\r\n\t}", "title": "" } ]
1c0c24ab4ede279297f7ec5e4132bddc
Gets the attribute value for Descriptionregions, using the alias name Descriptionregions.
[ { "docid": "f8d9f030c150572f0f1041cdf4b02d6a", "score": "0.75531226", "text": "public String getDescriptionregions() {\n return (String) getAttributeInternal(DESCRIPTIONREGIONS);\n }", "title": "" } ]
[ { "docid": "d9e5ee5d9862469eba64c88aafbda2f2", "score": "0.6049739", "text": "java.lang.String getRegion();", "title": "" }, { "docid": "50e862195b9bb58ee1f50f9d430ae8fa", "score": "0.6004291", "text": "String getRegionName();", "title": "" }, { "docid": "346aadb3545a74db86bc878d7d95d143", "score": "0.5964315", "text": "String getRegion();", "title": "" }, { "docid": "84e667887f4dd618ab78235fc5db2b9b", "score": "0.59470606", "text": "public String getRegionFieldvalueBasedOnLabel(){\r\n\t\tString xpath = CALENDER_REGION_CLASS + \"//input[contains(@class,'x-form-field x-trigger-noedit')]\";\r\n\t\treturn McsElement.getElementByXpath(driver, xpath).getAttribute(\"value\");\r\n\t}", "title": "" }, { "docid": "a26dff805eff5db68eccd62cd1109bb8", "score": "0.5929357", "text": "public String getAbreviationregion() {\n return (String) getAttributeInternal(ABREVIATIONREGION);\n }", "title": "" }, { "docid": "33b39ab9f160e7a1678d9a58e0f13bc0", "score": "0.5877255", "text": "protected String getAttributeValue(ITextRegion r, Iterator remainingRegions) {\n \t\tif (r.getType().equals(XMLRegionContext.XML_TAG_ATTRIBUTE_NAME)) {\n \t\t\tif (remainingRegions.hasNext() && (r = (ITextRegion) remainingRegions.next()) != null && r.getType() == XMLRegionContext.XML_TAG_ATTRIBUTE_EQUALS) {\n \t\t\t\tif (remainingRegions.hasNext() && (r = (ITextRegion) remainingRegions.next()) != null && r.getType() == XMLRegionContext.XML_TAG_ATTRIBUTE_VALUE) {\n \t\t\t\t\t// handle include for the filename\n \t\t\t\t\treturn StringUtils.stripQuotes(getCurrentNode().getText(r));\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t\treturn null;\n \t}", "title": "" }, { "docid": "648dca716453cbeb100530e957625414", "score": "0.58326507", "text": "public void setDescriptionregions(String value) {\n setAttributeInternal(DESCRIPTIONREGIONS, value);\n }", "title": "" }, { "docid": "9370c85c888734dc1aab54697c481527", "score": "0.5738821", "text": "String regionName();", "title": "" }, { "docid": "9370c85c888734dc1aab54697c481527", "score": "0.5738821", "text": "String regionName();", "title": "" }, { "docid": "9370c85c888734dc1aab54697c481527", "score": "0.5738821", "text": "String regionName();", "title": "" }, { "docid": "4fe484d3f1f2a1b6dc6d465349694c04", "score": "0.5710147", "text": "public RegionsImpl getRegions() {\r\n return (RegionsImpl)getAttributeInternal(REGIONS);\r\n }", "title": "" }, { "docid": "7a6d0b3be303c674e465f8887def648d", "score": "0.5705088", "text": "public Number getRegionId() {\r\n return (Number)getAttributeInternal(REGIONID);\r\n }", "title": "" }, { "docid": "4e49c7711135d131ac9012816d3cf558", "score": "0.56917113", "text": "public String obetener_region (){ return region; }", "title": "" }, { "docid": "96ebc89607bd2bfd94d3158f58f550c7", "score": "0.56375766", "text": "public String getSelectedRegion(){\n return selectedRegion;\n }", "title": "" }, { "docid": "7bf495030cfe20ddd06f6d2b62b76ef5", "score": "0.5593659", "text": "public BigDecimal getIdregions() {\n return (BigDecimal) getAttributeInternal(IDREGIONS);\n }", "title": "" }, { "docid": "7bf495030cfe20ddd06f6d2b62b76ef5", "score": "0.5593659", "text": "public BigDecimal getIdregions() {\n return (BigDecimal) getAttributeInternal(IDREGIONS);\n }", "title": "" }, { "docid": "76a01aa901cd1a5197775a25e208eadb", "score": "0.55763304", "text": "public String getNomregion() {\n return (String) getAttributeInternal(NOMREGION);\n }", "title": "" }, { "docid": "dc9773804ba12660d7c3138d4d049242", "score": "0.5571461", "text": "io.dstore.values.StringValue getRegion();", "title": "" }, { "docid": "711cd038aa623e15c9b4c6146f2afe47", "score": "0.5559349", "text": "public java.lang.CharSequence getRegion() {\n return region;\n }", "title": "" }, { "docid": "7ddd9302b031fe47e91eb9e6c57cee4b", "score": "0.55334526", "text": "public String getRegion() { return region; }", "title": "" }, { "docid": "51e6e05112298c7bf9c6c4eeb66f6777", "score": "0.5520802", "text": "public String getRegionName() {\n return this.regionName;\n }", "title": "" }, { "docid": "3235ae1dfe0ea58c39d7da97f22faab2", "score": "0.55016726", "text": "public java.lang.CharSequence getRegion() {\n return region;\n }", "title": "" }, { "docid": "8d0f4d3f25c706817d07bec0facf152d", "score": "0.5475864", "text": "public java.lang.String getRegion() {\n return region;\n }", "title": "" }, { "docid": "c8dcfb35ac38d2ef319903c357822b5e", "score": "0.54318005", "text": "public java.lang.String getRegion(){\n return localRegion;\n }", "title": "" }, { "docid": "c9b77507263a6ccd1f7ef0f2ab7c64ea", "score": "0.5415468", "text": "public String getSubRegionCode() {\n return subRegionCode;\n }", "title": "" }, { "docid": "c6474e6360a928cb464d582ac7c39c9f", "score": "0.5413474", "text": "public String getRegionInCalendarTab(){\r\n\t\t\r\n\t\treturn McsElement.getElementByXpath(driver, CALENDAR_REGION_XPATH+\"//input\").getAttribute(\"value\");\r\n\t}", "title": "" }, { "docid": "c64bbca32c2a51ff48c57a18cd8ae278", "score": "0.5396415", "text": "public String getRegion(){\n\t\treturn region;\n\t}", "title": "" }, { "docid": "b668dded31ef5c50bdbd9978127cd2b9", "score": "0.5385144", "text": "public String getRegion() {\r\n return region;\r\n }", "title": "" }, { "docid": "b668dded31ef5c50bdbd9978127cd2b9", "score": "0.5385144", "text": "public String getRegion() {\r\n return region;\r\n }", "title": "" }, { "docid": "b668dded31ef5c50bdbd9978127cd2b9", "score": "0.5385144", "text": "public String getRegion() {\r\n return region;\r\n }", "title": "" }, { "docid": "b668dded31ef5c50bdbd9978127cd2b9", "score": "0.5385144", "text": "public String getRegion() {\r\n return region;\r\n }", "title": "" }, { "docid": "d692dcd2e55c686fd9fd84260c955d89", "score": "0.53841966", "text": "public String getRegion() {\r\n return this.region;\r\n }", "title": "" }, { "docid": "b1daac7d0159c6d0e28eaaae54ef6261", "score": "0.5357424", "text": "public String getRegionName() {\n return _regionName;\n }", "title": "" }, { "docid": "b412cc861b3b030cf9c5a496d5c4ca7d", "score": "0.53495395", "text": "public java.lang.String getRegion() {\n return region;\n }", "title": "" }, { "docid": "a643e3c77bca738bd901f0d0171024e3", "score": "0.53111327", "text": "public String getSubRegion() {\n return subRegion;\n }", "title": "" }, { "docid": "c8da670e3193953c3a0f99f9a445c0f9", "score": "0.5298088", "text": "public String getRegion() {\n return region;\n }", "title": "" }, { "docid": "c8da670e3193953c3a0f99f9a445c0f9", "score": "0.5298088", "text": "public String getRegion() {\n return region;\n }", "title": "" }, { "docid": "c8da670e3193953c3a0f99f9a445c0f9", "score": "0.5298088", "text": "public String getRegion() {\n return region;\n }", "title": "" }, { "docid": "c8da670e3193953c3a0f99f9a445c0f9", "score": "0.5298088", "text": "public String getRegion() {\n return region;\n }", "title": "" }, { "docid": "03c57d316662a734c1ce3dbf6c18fa2a", "score": "0.5285434", "text": "public String getRegion() {\n return this.region;\n }", "title": "" }, { "docid": "c8b3746338a12b1839708db0850af5cf", "score": "0.5281353", "text": "public io.dstore.values.StringValue getRegion() {\n if (regionBuilder_ == null) {\n return region_ == null ? io.dstore.values.StringValue.getDefaultInstance() : region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "80791672f0fefd032cb7a72350e7586d", "score": "0.5278641", "text": "public String region() {\n return this.region;\n }", "title": "" }, { "docid": "77643454f1bb9696561c875d3f567307", "score": "0.52570677", "text": "public RegionEnum getRegion() {\r\n return this.region;\r\n }", "title": "" }, { "docid": "616920b9bb367b619219588eb02dfa5d", "score": "0.52419966", "text": "public java.lang.String getDEPRECATEDRegion() {\n java.lang.Object ref = dEPRECATEDRegion_;\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 dEPRECATEDRegion_ = s;\n }\n return s;\n }\n }", "title": "" }, { "docid": "fc77653b6c844d2a9a3284619afb6aba", "score": "0.5241582", "text": "public String getRegionCode() {\n return regionCode;\n }", "title": "" }, { "docid": "fc77653b6c844d2a9a3284619afb6aba", "score": "0.5241582", "text": "public String getRegionCode() {\n return regionCode;\n }", "title": "" }, { "docid": "45ff65ec320da8f83bf7c943288d42a4", "score": "0.5241304", "text": "public java.lang.String getDEPRECATEDRegion() {\n java.lang.Object ref = dEPRECATEDRegion_;\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 dEPRECATEDRegion_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "title": "" }, { "docid": "9df187a310131ec37d19bb3906109b5c", "score": "0.5210574", "text": "private Reader.Region cmdGetRegion()\n throws ReaderException\n {\n Message m;\n\n m = sendOpcode(MSG_OPCODE_GET_REGION);\n return codeToRegionMap.get(m.getu8());\n }", "title": "" }, { "docid": "f4fafe55850b5c5a175f012b2b4c5f2b", "score": "0.51947117", "text": "public io.dstore.values.StringValueOrBuilder getRegionOrBuilder() {\n return getRegion();\n }", "title": "" }, { "docid": "d0961b4936cdb87b3178fbc168154df1", "score": "0.5156358", "text": "io.dstore.values.StringValueOrBuilder getRegionOrBuilder();", "title": "" }, { "docid": "ae51f26fc1765740da120db0507b3c81", "score": "0.5152342", "text": "long getRegionId();", "title": "" }, { "docid": "2fa29346212491992fc84ef06cd0022e", "score": "0.51489085", "text": "public io.dstore.values.StringValueOrBuilder getRegionOrBuilder() {\n if (regionBuilder_ != null) {\n return regionBuilder_.getMessageOrBuilder();\n } else {\n return region_ == null ?\n io.dstore.values.StringValue.getDefaultInstance() : region_;\n }\n }", "title": "" }, { "docid": "b8c66244d6664f740df56ae3001f80df", "score": "0.5141269", "text": "public String getRegion() {\n\t\t\n\t\treturn region;\n\t}", "title": "" }, { "docid": "64e9ea8e46d67c09766b0afa74e2e03d", "score": "0.5134366", "text": "public Inventory getRegion(){\r\n\t\tInventoryRegion region = new InventoryRegion(riNameText.getText());\r\n\t\treturn region;\r\n\t}", "title": "" }, { "docid": "191f46ec84e94fc3bf61c0e75ca63fda", "score": "0.511165", "text": "public int getRegion() {\n\t\treturn RegionNo;\n\t}", "title": "" }, { "docid": "d1441cb19d51326f252f9e835f8e4285", "score": "0.51064694", "text": "public String getRegionName() {\n\t\treturn regionName;\n\t}", "title": "" }, { "docid": "04ed9fcb97f919eee1743271feb37287", "score": "0.5104268", "text": "public String getLocationName() {\n String marcEditorDataTag;\n String marcEditorDataFieldValue;\n String locationValue = \"\";\n if (dataFields != null && dataFields.get(0).getTag() != null) {\n for (int i = 0; i < dataFields.size(); i++) {\n marcEditorDataTag = dataFields.get(i).getTag();\n if (marcEditorDataTag.equalsIgnoreCase(\"852\")) {\n marcEditorDataFieldValue = dataFields.get(i).getValue();\n StringTokenizer str = new StringTokenizer(marcEditorDataFieldValue, \"|\");\n while (str.hasMoreTokens()) {\n String dataFieldTokenizedVal = str.nextToken();\n String code = Character.toString(dataFieldTokenizedVal.charAt(0));\n if (code.equals(\"a\") || code.equals(\"b\") || code.equals(\"c\")) {\n String value = dataFieldTokenizedVal.substring(1, dataFieldTokenizedVal.length());\n if (locationValue.equalsIgnoreCase(\"\")) {\n locationValue = value;\n } else {\n locationValue = locationValue + \"-\" + value;\n }\n }\n }\n locationName = locationValue;\n }\n }\n }\n return locationName;\n }", "title": "" }, { "docid": "984262949dd90e161b94bf5346281289", "score": "0.507583", "text": "public String getAbstarctDesc() {\n return (String)getAttributeInternal(ABSTARCTDESC);\n }", "title": "" }, { "docid": "a335f44624dc6afbc9c503072eea9f9a", "score": "0.50751317", "text": "public Integer getRegionHeight()\r\n {\r\n return regionHeight;\r\n }", "title": "" }, { "docid": "fbda54fde54c35882c5aa30b441d8089", "score": "0.5069966", "text": "public UUID getRegionID()\n\t{\n\t\treturn (UUID) get(\"RegionID\");\n\t}", "title": "" }, { "docid": "ef466da933b14ccdf15c24ba8f76d0c0", "score": "0.503217", "text": "public String getRegion() {\n\t\t\treturn region;\n\t\t}", "title": "" }, { "docid": "072c9c3032685e23da21889950ea2b1b", "score": "0.5031466", "text": "public int getRegionId() {\n return this.regionId;\n }", "title": "" }, { "docid": "6a6cf547e2c834ca75858703b19b418e", "score": "0.50248325", "text": "public String getRegionID() {\n\t return this.regionID;\n\t}", "title": "" }, { "docid": "b2994e41ffa0e9aeb98e98eb30e28eeb", "score": "0.50141203", "text": "java.lang.String getDEPRECATEDRegion();", "title": "" }, { "docid": "7aa740ceef30ecf6584fc7e3afbb2308", "score": "0.5010447", "text": "public int getRegionCode() {\n\t\treturn regionCode;\n\t}", "title": "" }, { "docid": "cd8c66107ff338826e5586d511f37a42", "score": "0.50077915", "text": "public String getUserRegion() {\r\n return this.userRegion;\r\n }", "title": "" }, { "docid": "145d009b7d294af9736b31c005f55fb9", "score": "0.50056565", "text": "ISourceRegion getSpan();", "title": "" }, { "docid": "88cb69e0dc777b0fcf30c7c9bd233c68", "score": "0.50018334", "text": "public String getCheflieuregion() {\n return (String) getAttributeInternal(CHEFLIEUREGION);\n }", "title": "" }, { "docid": "cc96d3ee80fa3bb516dd04ff95d496ce", "score": "0.4997939", "text": "public Region getApplicableRegion();", "title": "" }, { "docid": "2e7aa606f369122bd3c5e5f9436653bd", "score": "0.49647796", "text": "io.dstore.values.IntegerValue getRegionId();", "title": "" }, { "docid": "15760578efcb26cc883d22a3df0e7468", "score": "0.4948267", "text": "public List<String> getRegionMultiSelectDropDownvalues(){\r\n\t\tList<String> fieldValues = new ArrayList<String>();\r\n\t\tString xpath =\"//div[contains(@class,'x-combo-list') and contains(@style,'visibility: visible')]//div[contains(@class,'x-combo-list-inner')]//div[contains(@class,'x-combo-list-item')]\";\r\n\t\tList <WebElement> elements = driver.findElements(By.xpath(xpath));\r\n\t\tfor(WebElement ele : elements){\r\n\r\n\t\t\tfieldValues.add(ele.getText());\r\n\t\t}\r\n\r\n\t\treturn fieldValues;\r\n\t}", "title": "" }, { "docid": "a1fd4d646ab4a1d2069ad4e96d0bfaae", "score": "0.4945217", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionA() {\n if (regionABuilder_ == null) {\n return regionA_;\n } else {\n return regionABuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "e0d863d53cc10a729dd8f221e0af6ca6", "score": "0.49327126", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "ae66563af3c3d57457d3958464ff76a4", "score": "0.49269652", "text": "public String getValue() {\n if (attributeNameValPairs.isEmpty()) {\n return null;\n }\n \n if (attributeNameValPairs.size() > 1) {\n throw new IllegalAccessError(\"annotation contains multiple attributes\");\n }\n \n BValue literalVal = attributeNameValPairs.values().toArray(new AnnotationAttributeValue[0])[0]\n .getLiteralValue();\n if (literalVal != null) {\n return literalVal.stringValue();\n }\n \n return null;\n }", "title": "" }, { "docid": "dee1633b825ad1a3b2ca46829ad18881", "score": "0.49252808", "text": "public io.dstore.values.IntegerValue getRegionId() {\n if (regionIdBuilder_ == null) {\n return regionId_ == null ? io.dstore.values.IntegerValue.getDefaultInstance() : regionId_;\n } else {\n return regionIdBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "c9ba51e6a98e36eec6732c7f691e93ab", "score": "0.48937282", "text": "public String getRegion_district_name() {\n\t\treturn region_district_name;\n\t}", "title": "" }, { "docid": "bc80437f61c985c3f7d94e661714f2f0", "score": "0.48778436", "text": "public Long getRegionId() {\n return this.RegionId;\n }", "title": "" }, { "docid": "691569901b54e5ac83456313d833cf52", "score": "0.48762217", "text": "java.lang.String getServiceRegions(int index);", "title": "" }, { "docid": "397692b9cd033053f8c8278d4edaafb3", "score": "0.48582146", "text": "public long getRegionId() {\n return regionId_;\n }", "title": "" }, { "docid": "278556581643ffce5302d6c3e4b58889", "score": "0.48506144", "text": "public String getReferenceDescription() {\r\n return (String) getAttributeInternal(REFERENCEDESCRIPTION);\r\n }", "title": "" }, { "docid": "9bdb41ca55e44016cb2ee2bc39cc58eb", "score": "0.48146695", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionAOrBuilder() {\n if (regionABuilder_ != null) {\n return regionABuilder_.getMessageOrBuilder();\n } else {\n return regionA_;\n }\n }", "title": "" }, { "docid": "e838f9fa3472d43e1e85ba4db8b65210", "score": "0.4810507", "text": "public String getUserregion() {\r\n return userregion;\r\n }", "title": "" }, { "docid": "0faf67cf60364ea55e7da46928f68d3c", "score": "0.48089322", "text": "public io.dstore.values.StringValue getRegion() {\n return region_ == null ? io.dstore.values.StringValue.getDefaultInstance() : region_;\n }", "title": "" }, { "docid": "4ad2eb0758fbf04ea78d34af8f5a73e0", "score": "0.48086712", "text": "public String getSecondaryProvinceRegion() {\n return secondaryProvinceRegion;\n }", "title": "" }, { "docid": "96c87e297bb67c82322a61a5b7246b5d", "score": "0.48065305", "text": "public java.lang.String getAttributeDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ATTRIBUTEDESCRIPTION$0, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "title": "" }, { "docid": "b0fbbc82df490c20d8cc3b909314937c", "score": "0.48061076", "text": "public Region getRegion(String regionName) {\n return (Region) getFormat(regionName, FormatNamespace.REGION);\n }", "title": "" }, { "docid": "e60e4fd4a9290bf6883c886324b861be", "score": "0.4803754", "text": "public org.isotc211.x2005.gco.RecordTypePropertyType getAttributeDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.isotc211.x2005.gco.RecordTypePropertyType target = null;\n target = (org.isotc211.x2005.gco.RecordTypePropertyType)get_store().find_element_user(ATTRIBUTEDESCRIPTION$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "title": "" }, { "docid": "1f82f7522c76128bc0a70a2eb99a13ff", "score": "0.47976035", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "1f82f7522c76128bc0a70a2eb99a13ff", "score": "0.47976035", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo getRegion() {\n if (regionBuilder_ == null) {\n return region_;\n } else {\n return regionBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "d08b62537de4f438c2f27c917c06053c", "score": "0.47976008", "text": "public long getRegionId() {\n return regionId_;\n }", "title": "" }, { "docid": "bb80fc53507c64af7ca1c6e778a66805", "score": "0.47959062", "text": "public String getRegion_lab3_Reg() {\n\t\treturn region_lab3;\n\t}", "title": "" }, { "docid": "f828ef3978b0d35575888b7457427106", "score": "0.47909188", "text": "public java.lang.String getStd_Int_Region_Code() {\n return std_Int_Region_Code;\n }", "title": "" }, { "docid": "71da959d88a46b61889b017d2e516e53", "score": "0.4786797", "text": "Region getByID(int entityID);", "title": "" }, { "docid": "9c3969f8f051ea9f829448fbc99f35f1", "score": "0.47864056", "text": "public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier getRegionB() {\n if (regionBBuilder_ == null) {\n return regionB_;\n } else {\n return regionBBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "c0c55389c9d1a919c51cddd617664b8f", "score": "0.47852764", "text": "public abstract void getMagnificationRegion(int displayId, @NonNull Region magnificationRegion);", "title": "" } ]
a23167e08a48c651ad3cc5bad85978e1
Test case number: 152 / 10 covered goals: Goal 1. org.apache.commons.math.util.MathUtils.round(DI)D: rootBranch Goal 2. Branch org.apache.commons.math.util.MathUtils.round(DI)D: rootBranch in context: org.apache.commons.math.util.MathUtils:round(DI)D Goal 3. org.apache.commons.math.util.MathUtils.round(DI)D: Line 935 Goal 4. org.apache.commons.math.util.MathUtils.round(DII)D: Line 952 Goal 5. org.apache.commons.math.util.MathUtils.round(DII)D: Line 953 Goal 6. org.apache.commons.math.util.MathUtils.round(DII)D: Line 954 Goal 7. org.apache.commons.math.util.MathUtils.round(DII)D: Line 955 Goal 8. org.apache.commons.math.util.MathUtils.round(DI)D Goal 9. org.apache.commons.math.util.MathUtils.round(DI)D Goal 10. org.apache.commons.math.util.MathUtils.round(DI)D:zero
[ { "docid": "81eef6e836861d014088716b95fca8c0", "score": "0.5393215", "text": "@Test\n public void test152() throws Throwable {\n double double0 = MathUtils.round(2.2250738585072014E-308, 0);\n }", "title": "" } ]
[ { "docid": "1f12cd61c90f13a31f69739a09156bfb", "score": "0.60821414", "text": "@Test\n public void test008() throws Throwable {\n double double0 = MathUtils.round(195.965588, 13);\n }", "title": "" }, { "docid": "35144cdc862bcc5a65dea0c411a879de", "score": "0.58927506", "text": "@Test\n public void testCalCodeToBreak() {\n ErrorView.display(this.getClass().getName(),\"calCodeToBreak\");\n ErrorView.display(this.getClass().getName(),\"testcase1\");\n double height = 50.0;\n double base = 100.0;\n GateControl instance = new GateControl();\n double expResult = 2500.0;\n double result = instance.calCodeToBreak(height, base);\n assertEquals(expResult, result,.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase2\");\n double height2 = -1.0;\n double base2 = 100.0;\n GateControl instance2 = new GateControl();\n double expResult2 = -1.0;\n double result2 = instance2.calCodeToBreak(height2, base2);\n assertEquals(expResult2, result2, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase3\");\n double height3 = 200.0;\n double base3 = -2;\n GateControl instance3 = new GateControl();\n double expResult3 = -2;\n double result3 = instance3.calCodeToBreak(height3, base3);\n assertEquals(expResult3, result3, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase4\");\n double height4 = 2000.0;\n double base4 = 250000.0;\n GateControl instance4 = new GateControl();\n double expResult4 = -2;\n double result4 = instance4.calCodeToBreak(height4, base4);\n assertEquals(expResult4, result4, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase5\");\n double height5 = 300000.0;\n double base5 = 5000.0;\n GateControl instance5 = new GateControl();\n double expResult5 = -1.0;\n double result5 = instance5.calCodeToBreak(height5, base5);\n assertEquals(expResult5, result5, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase6\");\n double height6 = 1.0;\n double base6 = 12.0;\n GateControl instance6 = new GateControl();\n double expResult6 = 6.0;\n double result6 = instance6.calCodeToBreak(height6, base6);\n assertEquals(expResult6, result6, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase7\");\n double height7 = 24.0;\n double base7 = 1.0;\n GateControl instance7 = new GateControl();\n double expResult7 = 12.0;\n double result7 = instance2.calCodeToBreak(height7, base7);\n assertEquals(expResult7, result7, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase8\");\n double height8 = 10000.0;\n double base8 = 2.0;\n GateControl instance8 = new GateControl();\n double expResult8 = 10000.0;\n double result8 = instance8.calCodeToBreak(height8, base8);\n assertEquals(expResult8, result8, 0.0001);\n }", "title": "" }, { "docid": "e3dfc2c3dad3a2e4a370f1d1601c8399", "score": "0.58783907", "text": "public void testCoverage() {\r\n\t\tBowlingGame bowlingGame = new BowlingGame(\"[9,5][3,6][7,2][3,6][4,4][5,3][3,3][4,5][8,1][2,8][10]\");\r\n\t\tassertEquals(-1, bowlingGame.getScore());\r\n\t}", "title": "" }, { "docid": "05b85bb405546194b4e795bf32f2ae48", "score": "0.57648605", "text": "public static void main(String[] args) {\n\t\tdouble delta = 0;\n\t\tint scale = 1;\n\t\tassertEquals(-10.0, BDRound_Ceiling.round(-10.6, scale, RoundingMode.CEILING), delta);\n\t\tassertEquals(-10.0, BDRound_Ceiling.round(-10.5, scale, RoundingMode.CEILING), delta);\n\t\tassertEquals(-10.0, BDRound_Ceiling.round(-10.4, scale, RoundingMode.CEILING), delta);\n\t\t\n\t\tassertEquals(10.0, BDRound_Ceiling.round(10.4, scale, RoundingMode.CEILING), delta);\n\t\tassertEquals(10.0, BDRound_Ceiling.round(10.5, scale, RoundingMode.CEILING), delta);\n\t\tassertEquals(10.0, BDRound_Ceiling.round(10.6, scale, RoundingMode.CEILING), delta);\n\t}", "title": "" }, { "docid": "c36dfbe6eb5d37ad7cb0b261a04dd76a", "score": "0.571339", "text": "@Test\n public void test079() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.round((float) 3109, 0, (-102));\n } catch(IllegalArgumentException e) {\n //\n // Invalid rounding method.\n //\n assertThrownBy(\"org.apache.commons.math.util.MathUtils\", e);\n }\n }", "title": "" }, { "docid": "688f74be632b854ff75cc5b8ca41f86a", "score": "0.5632716", "text": "@Test\n public void test009() throws Throwable {\n double double0 = MathUtils.round((-2828.141431), 0);\n }", "title": "" }, { "docid": "4d2e15015b2b4fceb11ef6354444d25c", "score": "0.56299937", "text": "@Test\n public void test045() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.round((double) 7, (-1), 7);\n } catch(ArithmeticException e) {\n //\n // Rounding necessary\n //\n assertThrownBy(\"java.math.BigDecimal\", e);\n }\n }", "title": "" }, { "docid": "afbe22833c3491c0a9d553b36d614268", "score": "0.562468", "text": "@Test\r\n public void testBuildLightSaber() {\r\n console.println(\"buildLightSaber\");\r\n console.println(\"\\ttestCase1\");\r\n double hilt = 2.0;\r\n double blade = 1.0;\r\n mathControl instance = new mathControl();\r\n double expResult = 1.0;\r\n double result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n \r\n console.println(\"\\ttestCase2\");\r\n hilt = 1.0;\r\n blade = 1.5;\r\n expResult = -1.0;\r\n result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase3\");\r\n hilt = 3.0;\r\n blade = 2.5;\r\n expResult = -1.0;\r\n result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase4\");\r\n hilt = 1.5;\r\n blade = 1.75;\r\n expResult = -1.0;\r\n result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase5\");\r\n hilt = 1.0;\r\n blade = 0.5;\r\n expResult = 1.0;\r\n result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase6\");\r\n hilt = 2.5;\r\n blade = 2.0;\r\n expResult = 1.0;\r\n result = instance.buildLightSaber(hilt, blade);\r\n assertEquals(expResult, result, 0.0);\r\n }", "title": "" }, { "docid": "c18aecb00656b8a129afe38ad9c26fbc", "score": "0.56073904", "text": "@Test\n public void test007() throws Throwable {\n double double0 = MathUtils.round(222.43659052697, 0, 0);\n }", "title": "" }, { "docid": "08f21929117cd26cc4b1ed187c9f1e8d", "score": "0.5587481", "text": "@Test\n public void test083() throws Throwable {\n double double0 = MathUtils.round(Double.NEGATIVE_INFINITY, 17, 0);\n }", "title": "" }, { "docid": "069ea9eeabfd204299ba4b2d964d9ef1", "score": "0.55715084", "text": "@Test(timeout = 4000)\n public void test12() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n JRip.RipperRule jRip_RipperRule1 = (JRip.RipperRule)jRip_RipperRule0.copy();\n assertEquals(2, jRip0.getOptimizations());\n assertNotSame(jRip_RipperRule1, jRip_RipperRule0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals((-1.0), jRip_RipperRule1.getConsequent(), 0.01);\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "59a6be29ef0b12dec191a9f8e89d1745", "score": "0.5534566", "text": "@Test\n public void test100() throws Throwable {\n int int0 = MathUtils.indicator(0);\n }", "title": "" }, { "docid": "3c81e22d7c1474fe45b1ea8d40c82c29", "score": "0.55281126", "text": "@Test\n public void shouldSolveProblem55() {\n assertThat(solve()).isEqualTo(249);\n }", "title": "" }, { "docid": "b17a826e7d71a0101a4ad1c6a64250e0", "score": "0.5507381", "text": "int finishRound(double score);", "title": "" }, { "docid": "4f3453f8c02fa2c16ee439b233ef9bff", "score": "0.550361", "text": "public void test10() throws Exception {\n\t\ttest(-3.591793, 40.360755);\n\t}", "title": "" }, { "docid": "231acff727f5808de466eea68dcaa8f3", "score": "0.5454928", "text": "@Test(timeout = 4000)\n public void test13() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.checkErrorRateTipText();\n assertFalse(jRip0.getDebug());\n assertEquals(\"Whether check for error rate >= 1/2 is included in stopping criterion.\", string0);\n assertEquals(3, jRip0.getFolds());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n }", "title": "" }, { "docid": "364ab340a951d9d0da4a3c92d7dc47bd", "score": "0.5450966", "text": "public void testFinalRound() throws Throwable {\n ProcessorTestStatus.reset();\n TestFinalRoundProc.resetNumRounds();\n IJavaProject jproj = createJavaProject(_projectName);\n disableJava5Factories(jproj);\n IProject proj = jproj.getProject();\n IPath projPath = proj.getFullPath();\n IPath root = projPath.append(\"src\");\n // The @FinalRoundTestTrigger processor does not generate any files when it\n // first runs; but on its final round it then generates a new Java type\n // that is annotated with @FinalRoundTestTrigger.\n env.addClass(root, \"t\", \"Foo\", \"package t;\\n\" + \"import org.eclipse.jdt.apt.pluggable.tests.annotations.FinalRoundTestTrigger;\\n\" + \"@FinalRoundTestTrigger\\n\" + \"public class Foo {}\");\n AptConfig.setEnabled(jproj, true);\n fullBuild();\n expectingNoProblems();\n // Processor should have run total of two rounds; compiled classes\n // should include Foo and FinalRoundGen.\n assertEquals(2, TestFinalRoundProc.getNumRounds());\n expectingUniqueCompiledClasses(new String[] { \"t.Foo\", \"g.FinalRoundGen\" });\n }", "title": "" }, { "docid": "518865ad1eb833d8c08d79053c182996", "score": "0.5443942", "text": "@Test\n public void test114() throws Throwable {\n double double0 = MathUtils.factorialLog(0);\n }", "title": "" }, { "docid": "9d0c8e6545664423d2f2cf6b2492ce40", "score": "0.5439217", "text": "@Test\n public void test101() throws Throwable {\n int int0 = MathUtils.indicator((-558));\n }", "title": "" }, { "docid": "bdcc134c5acd25c3c81e9ab6f0655b2b", "score": "0.54366446", "text": "@Test\n public void calculateGpaForSemester() {\n double temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n java.math.BigDecimal bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==3.7);\n\n\n\n // ASSERTION 2\n\n // Semester has four courses, each with a grade of 50 which should amount to GPA of 2.0\n course1.setFinalGrade(50);\n course2.setFinalGrade(50);\n course3.setFinalGrade(50);\n course4.setFinalGrade(50);\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==2.0);\n\n\n\n // ASSERTION 3\n\n // Semester has four courses, each with a grade of 30 which should amount to GPA of 1.3\n course1.setFinalGrade(30);\n course2.setFinalGrade(30);\n course3.setFinalGrade(30);\n course4.setFinalGrade(30);\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue( temp==1.3);\n\n\n // ASSERTION 4\n\n // Courses are mixed and result in a GPA of 2.5\n course1.setFinalGrade(100); // 4.3\n course2.setFinalGrade(75); // 3.7\n course3.setFinalGrade(50); // 2.0\n course4.setFinalGrade(25); // 0\n\n // Recalculate GPA\n temp = swe2slayers.gpacalculationapplication.controllers.SemesterController.calculateGpaForSemester(semester);\n\n bd = new java.math.BigDecimal(Double.toString(temp));\n bd = bd.setScale(1, java.math.RoundingMode.HALF_UP);\n temp = bd.doubleValue();\n\n // Assert that the GPA is what it should be\n assertTrue(temp==2.5 );\n\n // Reset final grades\n course1.setFinalGrade(75);\n course2.setFinalGrade(75);\n course3.setFinalGrade(75);\n course4.setFinalGrade(75);\n\n }", "title": "" }, { "docid": "082aca81cbb5113350f845516240b9b9", "score": "0.5421409", "text": "private int therhold_target_goal(){\n return (int) (0.9*heuristic(now,end));\n }", "title": "" }, { "docid": "6d059a7f7f86bb9aec3fe35302d8d81f", "score": "0.5415384", "text": "@Test\n public void test4() { \n df.setRoundingMode(RoundingMode.FLOOR);\n double result = Double.parseDouble(df.format(output.squareRoot(-3)));\n Assert.assertEquals(1.732,result,0.0f);\n }", "title": "" }, { "docid": "87fef766322e11160af9c586454711e8", "score": "0.54143447", "text": "@Test\n void checkTotalOvertimeLargeProject(){\n assertEquals((10+11+9) * project3.getNumWorkingDays() - (8 * project3.getNumWorkingDays()), (project3.getCommittedHoursPerDay().values().stream().reduce(0, Integer::sum) * project3.getNumWorkingDays()) - (8 * project3.getNumWorkingDays()));\n }", "title": "" }, { "docid": "a4f0f16b3cb3cf0f9b37311fae24cd17", "score": "0.5411646", "text": "@Test\r\n public void testBossFight() {\r\n console.println(\"boss fight testing\");\r\n console.println(\"\\ttestCase1\");\r\n double input1 = 12;\r\n double input2 = 6;\r\n double input3 = 72;\r\n mathControl instance = new mathControl();\r\n double expResult = 1;\r\n double result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase2\");\r\n input1 = 8;\r\n input2 = 9;\r\n input3 = 72;\r\n \r\n expResult = 1;\r\n result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase3\");\r\n input1 = 1;\r\n input2 = 12;\r\n input3 = 72;\r\n \r\n expResult = 0;\r\n result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase4\");\r\n input1 = 8;\r\n input2 = 1;\r\n input3 = 72;\r\n \r\n expResult = 0;\r\n result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase5\");\r\n input1 = 100;\r\n input2 = 0;\r\n input3 = 72;\r\n \r\n expResult = -1;\r\n result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0);\r\n \r\n console.println(\"\\ttestCase6\");\r\n input1 = 0;\r\n input2 = 100;\r\n input3 = 72;\r\n \r\n expResult = -1;\r\n result = instance.bossFight(input1, input2, input3);\r\n assertEquals(expResult, result, 0.0); \r\n }", "title": "" }, { "docid": "f37af40bdb267666c2427129ea09009e", "score": "0.53995174", "text": "int getRoundResult();", "title": "" }, { "docid": "acec71903611099e69d5d7d59a34d64a", "score": "0.53956133", "text": "@Test(timeout = 4000)\n public void test11() throws Throwable {\n JRip jRip0 = new JRip();\n FileSystemHandling.shouldThrowIOException((EvoSuiteFile) null);\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.add(\"\\nNo pruning: growing a rule ...\");\n Attribute attribute0 = new Attribute(\"!<jJ:'Gy6kK2\", linkedList0, 102);\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>(102);\n attribute0.enumerateValues();\n Instances instances0 = new Instances(\"\", arrayList0, 0);\n CostMatrix costMatrix0 = new CostMatrix(1);\n Attribute attribute1 = new Attribute(\"VCJb&Rj:gpc+^HBo\", linkedList0, (-56));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n jRip_NominalAntd0.accu = 3.0;\n inputMappedClassifier0.getModelHeader(instances0);\n jRip_NominalAntd0.splitData(instances0, 4, 3);\n jRip_NominalAntd0.copy();\n assertEquals(3.0, jRip_NominalAntd0.getAccu(), 0.01);\n }", "title": "" }, { "docid": "606354e00d9e79049190917a4c2c52a1", "score": "0.5385721", "text": "@Test(timeout = 4000)\n public void test31() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setOptions((String[]) null);\n jRip0.setOptions((String[]) null);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.hasAntds();\n double double0 = (-2649.3489);\n CoverTree coverTree0 = new CoverTree();\n BallNode ballNode0 = new BallNode((-16), (-16), (-16), (Instance) null, (-2649.3489));\n DecisionTable decisionTable0 = new DecisionTable();\n Instances instances0 = decisionTable0.m_theInstances;\n try { \n BallNode.calcPivot(ballNode0, ballNode0, (Instances) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"weka.core.neighboursearch.balltrees.BallNode\", e);\n }\n }", "title": "" }, { "docid": "ab4f5fdd3a089eb6adda456ccb98dc61", "score": "0.5381945", "text": "@Test\n\tpublic void calculatorTest() {\n\t\tdouble total = test.calculate(); \n\t\tassertEquals(85.83,total,0.001);\t\n\t}", "title": "" }, { "docid": "7aadd686902caedae4d84f52c03b1054", "score": "0.5370179", "text": "@Test\n\tpublic void testScrapper()\n\t{\n\t\tassertEquals(0, _object.getLevelAdjustment(3, 0, 0, 0, 0.7, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials));\n\t\tassertEquals(0, _object.getLevelAdjustment(2, 0, 0, 0, 0.8, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials));\n\t\tassertEquals(0, _object.getLevelAdjustment(1, 0, 0, 0, 0.9, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials));\n\n\t\tdouble actual = _object.getLevelAdjustmentFine(3, 0, 0, 0, 0.7, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials);\n\t\tassertEquals(-0.1897, actual, DOUBLE_FUZZY_1E_3);\n\n\t\tactual = _object.getLevelAdjustmentFine(2, 0, 0, 0, 0.8, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials);\n\t\tassertEquals(-0.0968, actual, DOUBLE_FUZZY_1E_3);\n\n\t\tactual = _object.getLevelAdjustmentFine(1, 0, 0, 0, 0.9, 1.0, _emptyAttacks, _emptySpecials, _emptySpecials);\n\t\tassertEquals(-0.0358, actual, DOUBLE_FUZZY_1E_3);\n\t}", "title": "" }, { "docid": "aa300eb2b4f16b3e8acf5ac4400c30a5", "score": "0.5367738", "text": "@Test\n public void test157() throws Throwable {\n float float0 = MathUtils.round((float) 1, 0, 1);\n }", "title": "" }, { "docid": "fdc46ae832dfc3b3819f8fc8f3eb69e0", "score": "0.53530055", "text": "@Test\n public void test105() throws Throwable {\n double double0 = MathUtils.indicator(222.43659052697);\n }", "title": "" }, { "docid": "21ea89f9cc918c16aeb33205c05b082b", "score": "0.53500944", "text": "@Test\n public void testCoverageClassTestBC2Test2() {\n\n int a = -1;\n int b = -1;\n double r = 0.0;\n\n tcc = new TestCoverageClass();\n double result = tcc.testCoverageMethod2(a, b);\n assertEquals(\"Unexpected calculation result!\", r, result, 0.0);\n }", "title": "" }, { "docid": "a52abaa6d845c96d4b64dbde8dfd9b40", "score": "0.5344568", "text": "@Test(timeout = 4000)\n public void test41() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n boolean boolean0 = jRip_RipperRule0.covers((Instance) null);\n assertEquals(1L, jRip0.getSeed());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(boolean0);\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n }", "title": "" }, { "docid": "a99eb013e2a093acdf48b47f66342386", "score": "0.5343557", "text": "public static void main(String[] args)\r\n\t{\n\t\tBigInteger top = fact(number);\r\n\r\n\t\tBigInteger bottom = fact(n).pow(2);\r\n\r\n\t\tBigInteger path = (top.divide(bottom));\r\n\r\n\t\tSystem.out.println(path);\r\n\t}", "title": "" }, { "docid": "6df61e23ce62e4773a6c5025ecbf1b76", "score": "0.53414893", "text": "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint testCase=in.nextInt();\n\t\tfor(int i=0;i<testCase;i++){\n\t\t\tdouble ab=in.nextDouble();\n\t\t\tdouble bc=in.nextDouble();\n\t\t\tdouble cd=in.nextDouble();\n\t\t\t\n\t\t\tdouble sqrtAbBc=Math.sqrt((Math.pow(ab,2)) + (Math.pow(bc,2)));\n\t\t\tdouble roundOf= Math.round( (Math.sqrt( (Math.pow(cd,2)) + (Math.pow(sqrtAbBc,2)) ) ) * 100)/100.00;\n\t\t\t\n\t\t\tSystem.out.println(String.format(\"%.2f\" ,roundOf ));\n\t\t}\n\t}", "title": "" }, { "docid": "8431e8f031f8c021eb01638e46219b42", "score": "0.53370166", "text": "@Test\n public void test140() throws Throwable {\n long long0 = MathUtils.binomialCoefficient(2775, (-558));\n }", "title": "" }, { "docid": "1aba2dab5da577b473a088f989e10e75", "score": "0.533411", "text": "@Test\n public void test054() throws Throwable {\n int int0 = MathUtils.gcd(1, 145);\n }", "title": "" }, { "docid": "76ca4d65a2be956cab477ef9d52c485e", "score": "0.5329542", "text": "@Test\n public void shouldRunCorrectly()\n {\n\n double p_graph = .1;\n double p_malicious = .15;\n double p_txDistribution = .10;\n int numRounds = 20;\n\n Simulation.myrun(p_graph, p_malicious, p_txDistribution, numRounds);\n\n\n }", "title": "" }, { "docid": "ee994229df25282207436d373a71b2fa", "score": "0.532814", "text": "private static void runTests(String filename, boolean breakOnFail) {\n \n Scanner file = null;\n int points = 0;\n int total = 0;\n int subSectionPoints = 0;\n int subSectionTotal = 0;\n \n File f = null;\n try {\n // load the file of test cases\n f = new File(filename);\n file = new Scanner(f);\n \n while (file.hasNextLine()) {\n \n try {\n while (file.hasNextLine()) {\n String input = file.nextLine();\n if (input.equalsIgnoreCase(\"// subtotal\")) {\n // output the current sub total of points so far\n System.out.printf(\"\\tSection Sub-Total: %d / %d\\t\\tTOTAL: %d / %d\\n\", \n subSectionPoints, subSectionTotal, points, total);\n subSectionPoints = 0;\n subSectionTotal = 0;\n continue;\n } else if (input.startsWith(\"//\")) {\n // this line is a comment. Output the comment to the output stream.\n System.out.println(\"\\n\\t\"+ input.substring(3));\n continue;\n }\n if (!file.hasNextLine()) {\n System.out.println(\"ERROR in test file. Expected integer for count of lines.\");\n return;\n }\n \n // The answer is always 1 line\n // point value is always 1\n int pointsWorth = 1;\n if (!file.hasNextLine()) {\n System.out.println(\"ERROR in test file. Unexpected end of file.\");\n return;\n }\n String expected = file.nextLine();\n if (expected.length() == 0) {\n System.out.println(\"ERROR in test file. Unexpected empty answer.\");\n return;\n }\n \n total += pointsWorth;\n subSectionTotal += pointsWorth;\n \n System.out.print(\"Running Test [\" + input + \"]\");\n String actualFull = FracCalc.processCommand(input);\n \n if (goodMatch(actualFull, expected)) {\n System.out.printf(\" passed (+%d pts)\\n\", pointsWorth);\n points += pointsWorth;\n subSectionPoints += pointsWorth;\n } else if (breakOnFail) {\n // we have a failure. Just break out!\n System.out.println(\"Tests STOPPED (Set to break on fail)\");\n return;\n }\n }\n } \n catch (Exception e) {\n System.out.println(\" Failed with exception. Here are details:\");\n e.printStackTrace();\n System.out.println(e.getMessage());\n if (breakOnFail) {\n // we have a failure. Just break out!\n System.out.println(\"Tests STOPPED (Set to break on fail)\");\n return;\n }\n }\n }\n } \n catch (FileNotFoundException e) {\n System.out.println(\"Cannot find test file. Here are details:\");\n if (f != null) {\n System.out.println(\" path of file: \" + f.getAbsolutePath());\n }\n System.out.println(e.getMessage());\n } \n finally {\n System.out.printf(\"\\nPoints: %d / %d\\n\", points, total);\n if (file != null) {\n file.close();\n }\n }\n }", "title": "" }, { "docid": "0ffedf8518ccc721693d391e86db3712", "score": "0.5327167", "text": "@Test\n public void test035() throws Throwable {\n double double0 = MathUtils.factorialDouble(31);\n }", "title": "" }, { "docid": "43a4f4ac9a80ca21ef55c7af1bc296ac", "score": "0.53237194", "text": "@Test\n public void given_area_100_with_and_5_errors_5_failurs_10_skipped_success_80__all_100_testcases() {\n /* prepare */\n Area clientArea = new Area();\n clientArea.x = 0;\n clientArea.y = 0;\n clientArea.width = 100;\n clientArea.height = 20;\n\n JUnitModelStatistics statistics = new JUnitModelStatistics();\n statistics.testcases = 100;\n\n statistics.success = 80;\n statistics.failures = 5;\n statistics.errors = 5;\n statistics.skipped = 10;\n\n /* execute */\n JunitServerResultInfoAreaResult result = calculatorToTest.calculate(clientArea, statistics);\n\n assertEquals(0, result.red_error.x);\n assertEquals(0, result.red_error.y);\n assertEquals(5, result.red_error.width);\n assertEquals(20, result.red_error.height);\n\n assertEquals(5, result.blue_failed.x);\n assertEquals(0, result.blue_failed.y);\n assertEquals(5, result.blue_failed.width);\n assertEquals(20, result.blue_failed.height);\n\n assertEquals(10, result.white_ignored.x);\n assertEquals(0, result.white_ignored.y);\n assertEquals(10, result.white_ignored.width);\n assertEquals(20, result.white_ignored.height);\n\n assertEquals(20, result.green_ok.x);\n assertEquals(0, result.green_ok.y);\n assertEquals(80, result.green_ok.width);\n assertEquals(20, result.green_ok.height);\n\n }", "title": "" }, { "docid": "6293c45046ba3d39fff573100ee03c71", "score": "0.53074056", "text": "@Test\n public void test044() throws Throwable {\n // Undeclared exception!\n try { \n MathUtils.round((double) (short)380, (int) (short)380, (int) (short)380);\n } catch(IllegalArgumentException e) {\n //\n // Invalid rounding mode\n //\n assertThrownBy(\"java.math.BigDecimal\", e);\n }\n }", "title": "" }, { "docid": "623aff586293a124aa7950f36858ba67", "score": "0.5300391", "text": "@Test\n public void testCoverageClassTestBC2Test1() {\n\n int a = 5;\n int b = 5;\n double r = 2500.0;\n\n tcc = new TestCoverageClass();\n double result = tcc.testCoverageMethod2(a, b);\n assertEquals(\"Unexpected calculation result!\", r, result, 0.0);\n }", "title": "" }, { "docid": "9f0725d6c5888be4122f0d37e59c4813", "score": "0.5298759", "text": "@Test\n public void testCalcHistoryStatistics() throws Exception{\n\n databaseAccess.sqlMeta_Insertion(PRESENT_SCORE, 0); // RESET for TESTs\n databaseAccess.sqlMeta_Insertion(PRESENT_TALLY,0);\n\n int currentScore1 = 10;\n int numQuizQuestions1=10;\n int rightAns1 = (currentScore1*100)/numQuizQuestions1;\n\n int ansPercent = verbGame1.calcHistoryStatistics(PRESENT_SCORE, PRESENT_TALLY, currentScore1, numQuizQuestions1);\n\n assertEquals( rightAns1, ansPercent );\n\n int currentScore2 = 5;\n int numQuizQuestions2=10;\n int rightAns2 = ((currentScore1+currentScore2)*100)/(numQuizQuestions1+numQuizQuestions2);\n\n ansPercent = verbGame1.calcHistoryStatistics(PRESENT_SCORE, PRESENT_TALLY, currentScore2, numQuizQuestions2);\n\n assertEquals(rightAns2, ansPercent );\n\n }", "title": "" }, { "docid": "e91f72b4c0af313bb1e0b3d6e6f5f70d", "score": "0.5296073", "text": "public static void main(String[] args) {\n\t\tCircle c=new Circle((double) 5);\r\n\t\tdouble expectedRadius=5;\r\n\t\tdouble actualRadius=c.getRadius();\r\n\t\tif(expectedRadius==actualRadius)\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"R1:WORKING\");\r\n\t\t\tSystem.out.println(\"Expected Result\"+expectedRadius);\r\n\t\t\tSystem.out.println(\"Actual Result\"+actualRadius);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"R1: not WORKING\");\r\n\t\t}\r\n\t\r\n\t\t\r\n\t\t \r\n\t\t //r2: areas calculates properly\r\n\t\t\r\n\t\tdouble expectedArea=Math.PI*5*5;\r\n\t\tdouble actualArea=c.getArea();\r\n\t\tif(expectedArea==actualArea)\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"R2:WORKING\");\r\n\t\t\tSystem.out.println(\"Expected Area\"+expectedArea);\r\n\t\t\tSystem.out.println(\"Actual Area\"+actualArea);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"R2: not WORKING\");\r\n\t\t}\r\n\t\t //r3 circumference calculates properly\r\n\t\tdouble expectedCircum=Math.PI*2*5;\r\n\t\tdouble actuaCircum=c.getCircumFerence();\r\n\t\tif(expectedCircum==actuaCircum)\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"R3:WORKING\");\r\n\t\t\tSystem.out.println(\"Expected Circum\"+expectedCircum);\r\n\t\t\tSystem.out.println(\"Actual Circum\"+actuaCircum);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"R3: not WORKING\");\r\n\t\t}\r\n\t\t //r4 diameter calculates properly\r\n\t\tdouble expectedD=2*5;\r\n\t\tdouble actuaD=c.getDiameter();\r\n\t\tif( expectedD==actuaD)\r\n\t\t{\r\n\t\t\t\r\n\t\t\tSystem.out.println(\"R4:WORKING\");\r\n\t\t\tSystem.out.println(\"Expected d\"+expectedD);\r\n\t\t\tSystem.out.println(\"Actual d\"+actuaD);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tSystem.out.println(\"R4: not WORKING\");\r\n\t\t}\r\n\t\t//3make test cases\r\n\t\t//excepted result\r\n\t\t//actual result\r\n\t\t//4\r\n\t\t//5 debug\r\n\r\n\t}", "title": "" }, { "docid": "398b61f64e948d314705a013950a0d06", "score": "0.5291807", "text": "@Test\n public void test4Steps()\n {\n\tassertEquals(7, new NSteps().count(4));\n }", "title": "" }, { "docid": "e0c48a2806f4b96bb5e36defa057d798", "score": "0.52783245", "text": "@Test\n public void test057() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble(1393, 4);\n }", "title": "" }, { "docid": "8cdb0176d7891086563499f9773ffa7f", "score": "0.5270296", "text": "@Test(timeout = 4000)\n public void test18() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setDebug(false);\n jRip0.getDebug();\n Attribute attribute0 = new Attribute(\"rOEBC,|Nf0wG!I,GR\");\n attribute0.copy(\"\");\n int int0 = jRip0.getFolds();\n assertEquals(3, int0);\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "146e57199a6387072a9e3f2f858a9d25", "score": "0.52655435", "text": "@Test\n public void test041() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(1, Integer.MIN_VALUE);\n }", "title": "" }, { "docid": "7587661e398a3d92b3b56435d1f10c75", "score": "0.5259221", "text": "@Test\n public void test130() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(0, 0);\n }", "title": "" }, { "docid": "d9ba1584396e1079fab286cf8771e25b", "score": "0.5256066", "text": "@Test\n public void testMultipleTurnCosts() {\n GraphHopperStorage g = new GraphBuilder(manager).create();\n initGraph(g);\n\n int edge42 = getEdge(g, 4, 2).getEdge();\n int edge23 = getEdge(g, 2, 3).getEdge();\n int edge31 = getEdge(g, 3, 1).getEdge();\n int edge10 = getEdge(g, 1, 0).getEdge();\n int edge02 = getEdge(g, 0, 2).getEdge();\n int edge24 = getEdge(g, 2, 4).getEdge();\n\n setTurnCost(g, edge42, edge23, \"car\", 2, Double.POSITIVE_INFINITY);\n setTurnCost(g, edge42, edge23, \"bike\", 2, Double.POSITIVE_INFINITY);\n setTurnCost(g, edge23, edge31, \"car\", 3, Double.POSITIVE_INFINITY);\n setTurnCost(g, edge23, edge31, \"bike\", 3, 2.0);\n setTurnCost(g, edge31, edge10, \"car\", 1, 2.0);\n setTurnCost(g, edge31, edge10, \"bike\", 1, Double.POSITIVE_INFINITY);\n g.getTurnCostStorage().setOrMerge(EMPTY, edge02, 2, edge24, false);\n setTurnCost(g, edge02, edge24, \"bike\", 2, Double.POSITIVE_INFINITY);\n\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge42, edge23, \"car\", 2), 0);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge42, edge23, \"bike\", 2), 0);\n\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge23, edge31, \"car\", 3), 0);\n assertEquals(2.0, getTurnCost(g, edge23, edge31, \"bike\", 3), 0);\n\n assertEquals(2.0, getTurnCost(g, edge31, edge10, \"car\", 1), 0);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge31, edge10, \"bike\", 1), 0);\n\n assertEquals(0.0, getTurnCost(g, edge02, edge24, \"car\", 2), 0);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge02, edge24, \"bike\", 2), 0);\n\n // merge per default\n setTurnCost(g, edge02, edge23, \"car\", 2, Double.POSITIVE_INFINITY);\n setTurnCost(g, edge02, edge23, \"bike\", 2, Double.POSITIVE_INFINITY);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge02, edge23, \"car\", 2), 0);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge02, edge23, \"bike\", 2), 0);\n\n // overwrite unrelated turn cost value\n g.getTurnCostStorage().setOrMerge(EMPTY, edge02, 2, edge23, false);\n g.getTurnCostStorage().setOrMerge(EMPTY, edge02, 2, edge23, false);\n setTurnCost(g, edge02, edge23, \"bike\", 2, Double.POSITIVE_INFINITY);\n assertEquals(0, getTurnCost(g, edge02, edge23, \"car\", 2), 0);\n assertEquals(Double.POSITIVE_INFINITY, getTurnCost(g, edge02, edge23, \"bike\", 2), 0);\n\n // clear\n g.getTurnCostStorage().setOrMerge(EMPTY, edge02, 2, edge23, false);\n assertEquals(0, getTurnCost(g, edge02, edge23, \"car\", 2), 0);\n assertEquals(0, getTurnCost(g, edge02, edge23, \"bike\", 2), 0);\n }", "title": "" }, { "docid": "ddc835996844e24948575f4a4c37a851", "score": "0.5251607", "text": "public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int N = Integer.parseInt(line);\n for (int j = 0; j < N; j++) {\n //reading first test case condition\n\t\tint Q = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < Q; i++) {\n\t\t\tString currentNumber = br.readLine();\n \t\tint n = Integer.parseInt(currentNumber);\n\n\t\t\tif(specialCurrent(n)){\n\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tint specialLess=specialLess(n);\n\t\t\t\tint specialGreater=specialGreater(n);\n\t\t\t\n\t\t\t\tint absdiff1=Math.abs(n-specialLess);\n\t\t\t\tint absdiff2=Math.abs(n-specialGreater);\n\t\t\t\tif(absdiff1<absdiff2){\n\t\t\t\tSystem.out.println(absdiff1);\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\tSystem.out.println(absdiff2);\n\t\t\t\t}\n\t\t\t}\t\t\n\t\t\t\t\n\t\t}\n\t\t\n\n }\n\t\n\n }", "title": "" }, { "docid": "64eb42d70ebd21d6cd2b98072ff20eca", "score": "0.5249329", "text": "@Test\n public void test014() throws Throwable {\n double double0 = MathUtils.log(0.0, 1142.7285337751543);\n }", "title": "" }, { "docid": "93c3ef4813f999b4c029b01e92bae771", "score": "0.5241224", "text": "@Test\n public void test127() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(3513, 341);\n }", "title": "" }, { "docid": "8bbe1a7dce502d1c623233fa4f1ee8a9", "score": "0.52356106", "text": "@Test\n\tpublic void testCalculateGoGForConcentricCircles() throws Exception {\n\t\tassertComparisonBetweenConcentricCircles(100, 100, 1.0);\n\t\t\n\t\t// prediction smaller than the real perimeter\n\t\tassertComparisonBetweenConcentricCircles(100, 200, 0.25000000000031897);\n\t\tassertComparisonBetweenConcentricCircles(100, 300, 0.11111111111120561);\n\t\tassertComparisonBetweenConcentricCircles(100, 400, 0.06249999999997697);\n\t\tassertComparisonBetweenConcentricCircles(100, 500, 0.04000000000000573);\n\t\t\n\t\t// prediction larger than the real perimeter\n\t\tassertComparisonBetweenConcentricCircles(200, 100, 0.25000000000031897);\n\t\tassertComparisonBetweenConcentricCircles(300, 100, 0.11111111111120561);\n\t\tassertComparisonBetweenConcentricCircles(400, 100, 0.06249999999997697);\n\t\tassertComparisonBetweenConcentricCircles(500, 100, 0.04000000000000573);\n\n\t\t// prediction ranging from smaller to larger perimeters\n\t\tassertComparisonBetweenConcentricCircles(100, 1000, 0.010000000000003588);\n\t\tassertComparisonBetweenConcentricCircles(200, 1000, 0.039999999999963315);\n\t\tassertComparisonBetweenConcentricCircles(300, 1000, 0.08999999999995574);\n\t\tassertComparisonBetweenConcentricCircles(400, 1000, 0.16000000000011635);\n\t\tassertComparisonBetweenConcentricCircles(500, 1000, 0.25000000000005385);\n\t\tassertComparisonBetweenConcentricCircles(600, 1000, 0.3599999999998458);\n\t\tassertComparisonBetweenConcentricCircles(700, 1000, 0.49000000000009075);\n\t\tassertComparisonBetweenConcentricCircles(800, 1000, 0.6399999999999768);\n\t\tassertComparisonBetweenConcentricCircles(900, 1000, 0.8099999999996329);\n\t\tassertComparisonBetweenConcentricCircles(1000, 1000, 1.0);\n\t\tassertComparisonBetweenConcentricCircles(1100, 1000, 0.8264462809917268);\n\t\tassertComparisonBetweenConcentricCircles(1200, 1000, 0.6944444444443071);\n\t\tassertComparisonBetweenConcentricCircles(1300, 1000, 0.591715976331414);\n\t\tassertComparisonBetweenConcentricCircles(1400, 1000, 0.5102040816326825);\n\t\tassertComparisonBetweenConcentricCircles(1500, 1000, 0.44444444444441006);\n\t\tassertComparisonBetweenConcentricCircles(1600, 1000, 0.39062500000006534);\n\t\tassertComparisonBetweenConcentricCircles(1700, 1000, 0.3460207612456421);\n\t\tassertComparisonBetweenConcentricCircles(1800, 1000, 0.3086419753086454);\n\t\tassertComparisonBetweenConcentricCircles(1900, 1000, 0.2770083102493044);\n\t\tassertComparisonBetweenConcentricCircles(2000, 1000, 0.2499999999999984);\n\t\tassertComparisonBetweenConcentricCircles(3000, 1000, 0.11111111111111861);\n\t\tassertComparisonBetweenConcentricCircles(4000, 1000, 0.06250000000000197);\n\t\tassertComparisonBetweenConcentricCircles(5000, 1000, 0.04000000000000099);\n\t\t\n\t}", "title": "" }, { "docid": "18090ae2d6d3a6c89283325c714da1eb", "score": "0.52320933", "text": "@Test\n public void testDivision_inputTenAndTwoPointFive_outputFour(){\n // 1. Arrange\n double i = 10;\n double j = 2.5;\n\n // 2. Act\n double result = c.division(i, j);\n\n // 3. Assert\n assertEquals(4.0, result, 1);\n }", "title": "" }, { "docid": "c22f517e582cf69d3d95066dce88ce30", "score": "0.5231107", "text": "public static void main(String[] args){\n\n\t\tfor (int level = 1 ; level <= 9 ; level++){\n\t\t\tint mod = 5;\n\t\t\tmod-=(level-1);\n\t\t\tint bonus = (int)Math.ceil(mod/4.0);\n\t\t\tif (bonus<0)bonus = 0;\n\t\t\tSystem.out.println(level+\":\"+bonus);\n\t\t}\n\n\t}", "title": "" }, { "docid": "aae6db6fe0d26b239f0542855bf5b40f", "score": "0.5224832", "text": "@Test(timeout = 4000)\n public void test00() throws Throwable {\n JRip jRip0 = new JRip();\n jRip0.setFolds((-47));\n assertEquals((-47), jRip0.getFolds());\n }", "title": "" }, { "docid": "d47c2ccff20df385d2d1b91c13d1c513", "score": "0.52231175", "text": "public void ignoretestADGFromManual1(){\n\n long endDate = MyUtils.addDays(MyUtils.getTodayLong(), -1);\n long startDate = MyUtils.addDays(endDate, -6);\n double[] intakes = {2.25, 2.5, 2, 2.25, 1.75, 2, 2.75}; //Sum = 15.5, level 18.\n float recordedINR = 4;\n int expectedNewLevel = 17;\n int expectedLengthOfPlan = 7;//(should be 7 for 1 level decrease).\n float[] expectedNewIntakes = {2,2,2,2,2,2,2};//Level 17 by decrease has pattern 2,2,2,2.\n\n aidTestADGFromManual(startDate, endDate, intakes, recordedINR, expectedNewLevel,expectedLengthOfPlan, expectedNewIntakes);\n }", "title": "" }, { "docid": "b1266454faee5494f315b890e0175c04", "score": "0.52222943", "text": "@Test\n public void gateToOpen() {\n ErrorView.display(this.getClass().getName(),\"gateToOpen\");\n ErrorView.display(this.getClass().getName(),\"testcase1\");\n double resistance = 30.0;\n double current = 20.0;\n GateControl instance = new GateControl();\n double expResult = 600.0;\n double result = instance.gateToOpen(resistance, current);\n assertEquals(expResult, result,.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase2\");\n double resistance2 = 321.0;\n double current2 = -87.0;\n GateControl instance2 = new GateControl();\n double expResult2 = -4.0;\n double result2 = instance2.gateToOpen(resistance2, current2);\n assertEquals(expResult2, result2, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase3\");\n double resistance3 = 55;\n double current3 = 0;\n GateControl instance3 = new GateControl();\n double expResult3 = -4;\n double result3 = instance3.gateToOpen(resistance3, current3);\n assertEquals(expResult3, result3, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase4\");\n double resistance4 = 25678.0;\n double current4 = 3.0;\n GateControl instance4 = new GateControl();\n double expResult4 = -3;\n double result4 = instance4.gateToOpen(resistance4, current4);\n assertEquals(expResult4, result4, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase5\");\n double resistance5 = 3.0;\n double current5 = 53464.0;\n GateControl instance5 = new GateControl();\n double expResult5 = -4.0;\n double result5 = instance5.gateToOpen(resistance5, current5);\n assertEquals(expResult5, result5, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase6\");\n double resistance6 = 1000.0;\n double current6 = 1.0;\n GateControl instance6 = new GateControl();\n double expResult6 = 1000.0;\n double result6 = instance6.gateToOpen(resistance6, current6);\n assertEquals(expResult6, result6, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase7\");\n double resistance7 = 1.0;\n double current7 = 1000.0;\n GateControl instance7 = new GateControl();\n double expResult7 = 1000.0;\n double result7 = instance2.gateToOpen(resistance7, current7);\n assertEquals(expResult7, result7, 0.0001);\n \n ErrorView.display(this.getClass().getName(),\"testcase8\");\n double resistance8 = 999.0;\n double current8 = 1.0;\n GateControl instance8 = new GateControl();\n double expResult8 = 999.0;\n double result8 = instance8.gateToOpen(resistance8, current8);\n assertEquals(expResult8, result8, 0.0001);\n }", "title": "" }, { "docid": "9a6865e15d931b708decc9993d514cca", "score": "0.5217408", "text": "@Test\n public void test006() throws Throwable {\n double double0 = MathUtils.round((double) (byte)0, (int) (byte)0, (int) (byte)0);\n }", "title": "" }, { "docid": "593134f93fa4f38d9e0b01372aa455cb", "score": "0.521598", "text": "@Test\n public void test087() throws Throwable {\n float float0 = MathUtils.round(138.3F, 2605);\n }", "title": "" }, { "docid": "4bc825b4870e4a3cc9dfd3c7a094ed58", "score": "0.5213668", "text": "public void ROUND() {\n cur.stack[cur.stack_idx + 0] = cur.render_funcs.curr_round_func.round(cur.stack[cur.stack_idx + 0], cur.tt_metrics.getCompensations()[cur.opcode.getVal() - 0x68]);\n }", "title": "" }, { "docid": "703e1b3718c76323731d4cb797705b73", "score": "0.52058536", "text": "@Test(timeout = 4000)\n public void test45() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\" | Accuracy = \", arrayList0, 0);\n jRip_RipperRule0.prune(instances0, true);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals(1L, jRip0.getSeed());\n }", "title": "" }, { "docid": "74190ba5505a1e1d53a995c96b6ab8ba", "score": "0.5205713", "text": "@Test\n public void test154() throws Throwable {\n float float0 = MathUtils.round((float) (-3117L), 0);\n }", "title": "" }, { "docid": "f8996b6c6b83d229a14aeb143a711072", "score": "0.52008903", "text": "@Test\n public void testCalculateAttributeIdentityConfidenceScore() {\n\n // When all quality scores are 1.0,the output must be equal to the base score\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 1.00, 1.00), 0.75, 0.0000000001);\n\n // When any quality score is 0.0, the output must be 0.5\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 1.00, 0.00), 0.50, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.90, 0.00), 0.50, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.00, 0.00), 0.50, 0.0000000001);\n\n // The order of the quality scores must not matter\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.90, 0.80), 0.68, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.80, 0.90), 0.68, 0.0000000001);\n\n // Any null quality scores must be omitted\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.90, null), 0.725, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, null, 0.8), 0.70, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, null, null), 0.75, 0.0000000001);\n\n // When the base score is null, the output must be null\n Assert.assertNull(Job.calculateAttributeIdentityConfidenceScore(null, 0.9, 0.8));\n Assert.assertNull(Job.calculateAttributeIdentityConfidenceScore(null, 0.9, null));\n Assert.assertNull(Job.calculateAttributeIdentityConfidenceScore(null, null, 0.8));\n Assert.assertNull(Job.calculateAttributeIdentityConfidenceScore(null, null, null));\n\n // Various tests\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.75, 0.625, 0.99), 0.6546875, 0.0000000001);\n Assert.assertEquals(Job.calculateAttributeIdentityConfidenceScore(0.87, 0.817, 0.93), 0.7811297, 0.0000000001);\n }", "title": "" }, { "docid": "ec15fd205c93776139347d5ac7b10d7f", "score": "0.52004164", "text": "@Test(timeout = 4000)\n public void test20() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.optimizationsTipText();\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(\"The number of optimization runs.\", string0);\n }", "title": "" }, { "docid": "8d655b0bae39b5a50573453be9e66991", "score": "0.51997757", "text": "public void NROUND() {\n cur.stack[cur.stack_idx + 0] = cur.render_funcs.round_none.round(cur.stack[cur.stack_idx + 0], cur.tt_metrics.getCompensations()[cur.opcode.getVal() - 0x6C]);\n }", "title": "" }, { "docid": "94042f4928f04a085716509814dcc9d0", "score": "0.5198271", "text": "@Test\n public void test108() throws Throwable {\n int int0 = MathUtils.gcd((-2571), 0);\n }", "title": "" }, { "docid": "8626e480b092794c9622f5347daceafd", "score": "0.5192398", "text": "@Test\r\n @ScoringWeight(2)\r\n public void _78testCorrectness0() throws Throwable { checkCorrectness(0); }", "title": "" }, { "docid": "7473d066aa06d5cc50b8cbae06450059", "score": "0.51899093", "text": "@Test\n public void calculatePathsAndCyclesTest() {\n\n Assert.assertTrue(this.ag1.getNumberOfCycles() == 1);\n Assert.assertTrue(this.ag1.getNumberOfEvenPaths() == 2);\n Assert.assertTrue(this.ag1.getNumberOfOddPaths() == 2);\n Assert.assertTrue(this.ag2.getNumberOfCycles() == 3);\n Assert.assertTrue(this.ag2.getNumberOfOddPaths() == 6);\n Assert.assertTrue(this.ag2.getNumberOfEvenPaths() == 1);\n }", "title": "" }, { "docid": "475b2e4bda8cf3f57b8e6c4277bbe889", "score": "0.5186139", "text": "@Test\n public void test058() throws Throwable {\n long long0 = MathUtils.binomialCoefficient(0, (-95));\n }", "title": "" }, { "docid": "ee1d659aa4265ff82f155721cb34bb9c", "score": "0.5182949", "text": "public void calculateMoneyEarnedFromTrees() {\n\n\n\n\n }", "title": "" }, { "docid": "22e3f12fc8e86c277f172632c1beec3d", "score": "0.51807916", "text": "@Test\r\n\tpublic void testGoals() {\r\n\t\tGoal goal1=spePos.getGoal1();\r\n\t\tassertNotNull(goal1);\r\n\t\tassertEquals(6,goal1.getPositionX());\r\n\t\tassertEquals(47,goal1.getPositionY());\r\n\t\tassertEquals(55,goal1.getPosition2Y());\r\n\t\t\r\n\t\tGoal goal2=spePos.getGoal2();\r\n\t\tassertNotNull(goal2);\r\n\t\tassertEquals(132,goal2.getPositionX());\r\n\t\tassertEquals(47,goal2.getPositionY());\r\n\t\tassertEquals(55,goal2.getPosition2Y());\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "44f09034b13fec9d82f1b7ddae7ebae9", "score": "0.5179572", "text": "@Test\r\n\t@Category(SlowTests.class)\r\n\tpublic void simpleAlphaBetaAndMinimax() {\n\t\tcompareSimpleAlphaBetaToMinimax(\"3r2k1/1p5p/6p1/p2q1p2/P1Q5/1P5P/1P6/5RK1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"R7/P4k2/8/8/8/8/r7/6K1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/6pp/3q1p2/3n1k2/1P6/3NQ2P/5PP1/6K1 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"2r5/1r6/4pNpk/3pP1qp/8/2P1QP2/5PK1/R7 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/k1b5/P4p2/1Pp2p1p/K1P2P1P/8/3B4/8 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"1k6/5RP1/1P6/1K6/6r1/8/8/8 w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"6k1/5ppp/1q6/2b5/8/2R1pPP1/1P2Q2P/7K w - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/p7/1ppk1n2/5ppp/P1PP4/2P1K1P1/5N1P/8 b - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/p3k1p1/4r3/2ppNpp1/PP1P4/2P3KP/5P2/8 b - - 0 0\");\r\n\t\tcompareSimpleAlphaBetaToMinimax(\"8/k7/p7/3Qp2P/n1P5/3KP3/1q6/8 b - - 0 0\");\r\n\t\t\r\n// Long incomplete tests below this line\t\t\r\n//\t\ttestAgainstMinimax(\"r6k/p1Q4p/2p1b1rq/4p3/B3P3/4P3/PPP3P1/4RRK1 b - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"2k5/pppr4/4R3/4Q3/2pp2q1/8/PPP2PPP/6K1 w - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"r2k4/1pp2rpp/pn1b1p2/3n4/8/P4NB1/1PP3PP/2KRR3 w - - 0 0\");\r\n//\t\ttestAgainstMinimax(\"5r1k/4R3/p1pp4/3p1bQ1/3q1P2/7P/P2B2P1/7K w - - 0 0\");\r\n\t}", "title": "" }, { "docid": "94bf85b901bad0ec3aa68c3fcf390e77", "score": "0.517754", "text": "@Test(timeout = 4000)\n public void test33() throws Throwable {\n JRip jRip0 = new JRip();\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.size();\n assertEquals(1L, jRip0.getSeed());\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n }", "title": "" }, { "docid": "130ab3b4f15d2b6a9f42121848a1ed52", "score": "0.5175541", "text": "@Test\n public void test126() throws Throwable {\n double double0 = MathUtils.binomialCoefficientLog(2052, 1954);\n }", "title": "" }, { "docid": "a90936bc3b96f15bed8efa24935e96cd", "score": "0.51701194", "text": "@Test(timeout = 4000)\n public void test58() throws Throwable {\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>();\n Instances instances0 = new Instances(\"FyfPi~?m7-H\", arrayList0, 1);\n FileSystemHandling.shouldAllThrowIOExceptions();\n JRip jRip0 = new JRip();\n Utils.SMALL = (-1798.3428954705182);\n JRip.RipperRule jRip_RipperRule0 = jRip0.new RipperRule();\n jRip_RipperRule0.prune(instances0, true);\n jRip_RipperRule0.prune(instances0, true);\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(3, jRip0.getFolds());\n assertFalse(jRip0.getDebug());\n assertEquals((-1.0), jRip_RipperRule0.getConsequent(), 0.01);\n }", "title": "" }, { "docid": "5ad71cb061939035ab86efa8f02b306e", "score": "0.51672864", "text": "@Test\n public void test055() throws Throwable {\n double double0 = MathUtils.factorialLog(1123);\n }", "title": "" }, { "docid": "87e5e942902edd4bf95e5bcd69c89aa7", "score": "0.51646703", "text": "@Test(timeout = 4000)\n public void test21() throws Throwable {\n JRip jRip0 = new JRip();\n Attribute attribute0 = new Attribute(\"115-123\", 0);\n JRip.NumericAntd jRip_NumericAntd0 = jRip0.new NumericAntd(attribute0);\n double double0 = jRip_NumericAntd0.getSplitPoint();\n assertTrue(jRip0.getUsePruning());\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccu(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAccuRate(), 0.01);\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, double0, 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getAttrValue(), 0.01);\n assertEquals(Double.NaN, jRip_NumericAntd0.getCover(), 0.01);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n assertEquals(0.0, jRip_NumericAntd0.getMaxInfoGain(), 0.01);\n }", "title": "" }, { "docid": "9baf9e479aa57ef0d4745d02ea3249a9", "score": "0.5159823", "text": "@Test\n public void test036() throws Throwable {\n double double0 = MathUtils.factorialDouble(0);\n }", "title": "" }, { "docid": "bb571b91873d1e3cda1da32b013cc524", "score": "0.51573914", "text": "@Test\n public void testMatchCore() throws Exception {\n//TODO: com.pinnuli.leetcode.Test goes here...\n }", "title": "" }, { "docid": "ad60410ccbb928e2278bd010c4f1d403", "score": "0.51563823", "text": "@Test(timeout = 4000)\n public void test26() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.foldsTipText();\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(\"Determines the amount of data used for pruning. One fold is used for pruning, the rest for growing the rules.\", string0);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "00ce26938e388220053a4b90b45c00fc", "score": "0.51495475", "text": "public static void main(String args[])\n\t{\n System.out.println(\"Absolute value of int -1 : \"+Math.abs(-1)); \n System.out.println(\"Absolute value of int -2.5f : \"+Math.abs(-2.5f)); \n System.out.println(\"\"); \n\t\n // get the result of addExact method\n\tint a = 1, b = 8; \n int radd = Math.addExact(a,b); //method returns the sum of the passed arguments.\n System.out.println(\"Using addExact(1,8) : \"+radd); \n System.out.println(\"\"); \n\n // Use of cbrt() method \n double cbrtval = Math.cbrt(216); //method returns the cube root of the passed argument.\n System.out.println(\"cube root of 216 : \"+cbrtval);\n\tSystem.out.println(\"\");\n\t\n\t/* Use of floor method method returns the floor value of an argument.\n\ti.e. the closest integer value which is either less or equal to the the passed argument. \n\teg : 101.23 has floor value = 101 */\n double f1 = 30.56, f2 = -56.34; \n System.out.println(\"Floor value of 30.56 : \"+Math.floor(f1)); \n \n System.out.println(\"Floor value of -56.34 : \"+Math.floor(f2)); \n System.out.println(\"\"); \n\t\n\t//ceil function\n\tSystem.out.println(\"Ceil value of 30.56 : \"+Math.ceil(f1)); \n \n System.out.println(\"Ceil value of -56.34 : \"+Math.ceil(f2)); \n System.out.println(\"\");\n\t\n\t// Use of round() method \n System.out.println(\"Round off 30.56 = \" + Math.round(f1)); \n\t\n System.out.println(\"Round off -56.34 = \" + Math.round(f2)); \n System.out.println(\"\");\n \n // Use of log() method \n double l = 10; \n l = Math.log(l); // method returns the logarithmic value of the passed argument.\n System.out.println(\"Log value of 10 : \"+l);\n\tSystem.out.println(\"\");\n\t\n\t// Use of signum() method \n double x = 10.4556, y = -23.34789; \n double signm = Math.signum(x); \n System.out.println(\"Signum of 10.45 = \" + signm); \n \n signm = Math.signum(y); \n System.out.println(\"Signum of -23.34 = \" + signm); \n System.out.println(\"\"); \n \n // Use of max() method on r1 and r2 \n //double m = Math.max(r1, r2); \n //System.out.println(\"Max b/w r1 and r2 = \" + r2);\n\t\n\t\n\t\t\n\t}", "title": "" }, { "docid": "62758ea45d091f148680622f2a36f143", "score": "0.5148957", "text": "public int getStep() {\n writeline(\"/home/ubuntu/results/netbeans/coverage/netbeans.coverage\", \"82b900ce-3ff9-4122-8b9e-78c7014eaff6\");\n return step;\n }", "title": "" }, { "docid": "555dccecf2ad1acc94831bab294d4826", "score": "0.5142777", "text": "EvaluationRound createEvaluationRound(EvaluationRound evaluationRound);", "title": "" }, { "docid": "46ba39c36dcec7f449170e7420a3752a", "score": "0.5137059", "text": "@Test\n public void test082() throws Throwable {\n float float0 = MathUtils.round(Float.NaN, 0, 0);\n }", "title": "" }, { "docid": "cd0858d4d5900a04ca9aad06f262e64b", "score": "0.51365924", "text": "@Test\n public void test134() throws Throwable {\n double double0 = MathUtils.binomialCoefficientDouble(0, (-1));\n }", "title": "" }, { "docid": "a356732fd636a29c5368d3b5a436caec", "score": "0.51340294", "text": "@Test\n void testCalculations() {\n double resultAdd = calculator.add(2,5);\n double resultSub = calculator.sub(7,3);\n double resultMul = calculator.mul(2,7);\n double resultDiv = calculator.div(21,3);\n //Then\n Assertions.assertEquals(7, resultAdd);\n Assertions.assertEquals(4, resultSub);\n Assertions.assertEquals(14, resultMul);\n Assertions.assertEquals(7, resultDiv);\n }", "title": "" }, { "docid": "81dd3b70aedb69aa871cf56b3f4b7caf", "score": "0.5125353", "text": "public void testProcess() throws Exception {\n \n String fileName = \"house.gif\";\n \n String filePath = ResourceFinder.findFileInTestResources(fileName);\n \n GreyscaleImage img = ImageIOHelper.readImageAsGrayScaleG(filePath);\n \n CurvatureScaleSpaceCornerDetector detector = new\n CurvatureScaleSpaceCornerDetector(img);\n \n detector.findCorners();\n \n PairIntArray corners = detector.getCorners();\n \n PairIntArray expectedCorners = getExpectedHouseCorners();\n \n int foundExpectedCount = 0;\n for (int i = 0; i < expectedCorners.getN(); i++) {\n int x = expectedCorners.getX(i);\n int y = expectedCorners.getY(i);\n for (int j = 0; j < corners.getN(); j++) {\n int xx = corners.getX(j);\n int yy = corners.getY(j);\n int diffX = xx - x;\n int diffY = yy - y;\n if (diffX < 0) {\n diffX *= -1;\n }\n if (diffY < 0) {\n diffY *= -1;\n }\n if ((diffX <= 4) && (diffY <= 4)) {\n foundExpectedCount++;\n break;\n }\n }\n }\n \n Image image = ImageIOHelper.readImageAsGrayScale(filePath);\n List<PairIntArray> edges = detector.getEdgesInOriginalReferenceFrame();\n corners = detector.getCornersInOriginalReferenceFrame();\n ImageIOHelper.addAlternatingColorCurvesToImage(edges, image);\n ImageIOHelper.addCurveToImage(corners, image, 2, 2550, 0, 0);\n String dirPath = ResourceFinder.findDirectory(\"bin\");\n String sep = System.getProperty(\"file.separator\");\n ImageIOHelper.writeOutputImage(dirPath + sep + \"corners_house.png\", image);\n \n log.info(foundExpectedCount + \" out of \" + expectedCorners.getN() \n + \" expected\");\n \n log.info((corners.getN() - foundExpectedCount) \n + \" beyond expected found\");\n \n }", "title": "" }, { "docid": "ac90024a0a2b7a63bbacfb33fc725fd5", "score": "0.5122039", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n JRip jRip0 = new JRip();\n String string0 = jRip0.debugTipText();\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(\"Whether debug information is output to the console.\", string0);\n assertFalse(jRip0.getDebug());\n assertEquals(3, jRip0.getFolds());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertTrue(jRip0.getUsePruning());\n }", "title": "" }, { "docid": "5a31a1098682a1cd1adf0e7c9fd8ebc6", "score": "0.51051134", "text": "@Test\n public void test103() throws Throwable {\n double double0 = MathUtils.indicator((-1754.442910681378));\n }", "title": "" }, { "docid": "6d6494abf5472bb080e9fce66d1e509b", "score": "0.5103884", "text": "@Test(timeout = 4000)\n public void test09() throws Throwable {\n JRip jRip0 = new JRip();\n LinkedList<String> linkedList0 = new LinkedList<String>();\n linkedList0.add(\"\\nNo pruning: growing a rule ...\");\n Attribute attribute0 = new Attribute(\"!<jJ:'Gy6kK2\", linkedList0, 102);\n FileSystemHandling.appendStringToFile((EvoSuiteFile) null, \"tokenizer\");\n ArrayList<Attribute> arrayList0 = new ArrayList<Attribute>(102);\n attribute0.enumerateValues();\n Instances instances0 = new Instances(\"\", arrayList0, 0);\n CostMatrix costMatrix0 = new CostMatrix(1);\n Attribute attribute1 = new Attribute(\"VCJb&Rj:gpc+^HBo\", linkedList0, (-56));\n JRip.NominalAntd jRip_NominalAntd0 = jRip0.new NominalAntd(attribute1);\n InputMappedClassifier inputMappedClassifier0 = new InputMappedClassifier();\n inputMappedClassifier0.getModelHeader(instances0);\n Instances[] instancesArray0 = jRip_NominalAntd0.splitData(instances0, 4, 3);\n assertEquals(1, instancesArray0.length);\n \n String string0 = jRip_NominalAntd0.toString();\n assertEquals(Double.NaN, jRip_NominalAntd0.getCover(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAttrValue(), 0.01);\n assertEquals(\"VCJb&Rj:gpc+^HBo = \\nNo pruning: growing a rule ...\", string0);\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(2.0, jRip0.getMinNo(), 0.01);\n assertEquals(0.0, jRip_NominalAntd0.getMaxInfoGain(), 0.01);\n assertEquals(3, jRip0.getFolds());\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccuRate(), 0.01);\n assertEquals(Double.NaN, jRip_NominalAntd0.getAccu(), 0.01);\n assertTrue(jRip0.getCheckErrorRate());\n assertTrue(jRip0.getUsePruning());\n assertEquals(1L, jRip0.getSeed());\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "ad919bc6cd7865364be56053ec9f074d", "score": "0.5102488", "text": "public void testLabels() {\n guessStepLabelTester(0, 10, 2, new String[] { \"0\", \"10\" });\n guessStepLabelTester(0, 10, 5, new String[] { \"0\", \"5\", \"10\" });\n\n // test it chooses sensible start and end values. \n guessStepLabelTester(1.5, 10.5, 5, new String[] { \"2\", \"4\", \"6\", \"8\", \"10\" });\n guessStepLabelTester(0, -10, 5, new String[] { \"0\", \"-5\", \"-10\" });\n\n // test negative start value\n guessStepLabelTester(-21.5, 10.5, 10, new String[] { \"-20\", \"-15\", \"-10\", \"-5\", \"0\", \"5\", \"10\" });\n\n // test decreasing range \n guessStepLabelTester(0.2, -10.3, 5, new String[] { \"0\", \"-5\", \"-10\" });\n\n // test small numbers\n guessStepLabelTester(0, 0.001, 5, new String[] { \"0\", \"0.0005\", \"0.001\" });\n guessStepLabelTester(0, 0.00001, 7, new String[] { \"0\", \"0.000002\", \"0.000004\", \"0.000006\", \"0.000008\", \"0.00001\" });\n\n // test large numbers\n guessStepLabelTester(1000000, 1000005, 5, new String[] { \"1000000\", \"1000001\", \"1000002\", \"1000003\", \"1000004\",\n \"1000005\" });\n guessStepLabelTester(-1000000, 1000000, 5, new String[] { \"-1000000\", \"-500000\", \"0\", \"500000\", \"1000000\" });\n\n // test it handles same start and end\n guessStepLabelTester(0, 0, 5, new String[] { \"0\" });\n fixedStepLabelTester(1000000, 1000000, 0.1, new String[] { \"1000000\" });\n\n fixedStepLabelTester(0, 10, 2.0, new String[] { \"0\", \"2\", \"4\", \"6\", \"8\", \"10\" });\n }", "title": "" }, { "docid": "6b21171dac9479a7ad9f7c45bc2db71f", "score": "0.51019454", "text": "@Test\n public void test6(){\n int num = 5/0;\n }", "title": "" }, { "docid": "285a001efcf8fc826b79d7a64e62c33c", "score": "0.5099497", "text": "@Test\n public void reducingSate() {\n }", "title": "" }, { "docid": "51e61f7fcf8be2a0a97f3a4b106aa968", "score": "0.5089608", "text": "@Test\n public void testComputeIva() {\n System.out.println(\"computeIva\");\n float base = 1.0F;\n float expResult = 112F;\n float actResult = Math.round(Tax.computeIva(base)*100);\n assertEquals(expResult, actResult, 0.0);\n }", "title": "" }, { "docid": "0fba5a18fe06f262266319ac4664bdf0", "score": "0.5088635", "text": "public int test1()\n\t{\n\t\tTaskSet tm=TS1.tm3();\n\t\ttm.sort();\n\t\tint p=5;\n\t\tint p2=30;\n\t\ttm.prnInfo(3);\n\t\t{\n\t\t\tAnalRM a=new AnalRM();\n\t\t\ta.init(tm);\n\t\t\tdouble exec=a.getExec(p);\n\t\t\tString st=\"real exec:\"+exec;\n\t\t\tSLog.prn(3,st +\" \"+exec/p );\n\t\t}\n\t\t{\n\t\t\tAnalRM_int a=new AnalRM_int();\n\t\t\ta.init(tm);\n\t\t\tdouble exec=a.getExec(p);\n\t\t\tString st=\"iPRM exec:\"+exec;\n\t\t\tSLog.prn(3,st+\" \"+exec/p );\n\t\t}\n\t\t{\n\t\t\tAnalRM_dprm a=new AnalRM_dprm();\n\t\t\ta.init(tm);\n\t\t\tPRM r=new PRM(5,3);\n\t\t\tdouble exec=a.getExec(p2,r);\n\t\t\tString st=\"DPRM exec:\"+exec;\n\t\t\tSLog.prn(3,st+\" \"+(r.getUtil()+exec/p2) );\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "0fef316bc60c6d320ba26fa16b347853", "score": "0.50775844", "text": "@Test(timeout = 4000)\n public void test30() throws Throwable {\n JRip jRip0 = new JRip();\n double double0 = jRip0.getMinNo();\n assertEquals(2.0, double0, 0.01);\n \n boolean boolean0 = jRip0.getUsePruning();\n assertTrue(jRip0.getCheckErrorRate());\n assertEquals(1L, jRip0.getSeed());\n assertEquals(2, jRip0.getOptimizations());\n assertEquals(3, jRip0.getFolds());\n assertTrue(boolean0);\n assertFalse(jRip0.getDebug());\n }", "title": "" }, { "docid": "ef3fb267389aff02532b82939eaae372", "score": "0.5075788", "text": "@Test\n public void testId_BRF3(){\n BikeRentalSystem i = new BikeRentalSystem(30);\n int rentalvalue = i.bicycleRentalFee(2, 10, 35, 5);\n int valorCaculo = 10*30 + ((35-10)-10) * 30/2;\n assertEquals(rentalvalue, valorCaculo);\n }", "title": "" } ]
77acaf5d8df63b8dd9206cdd832cf45c
repeated double askPrice = 3;
[ { "docid": "c1e3ef3f462726f60109689ee5b79512", "score": "0.6237365", "text": "int getAskPriceCount();", "title": "" } ]
[ { "docid": "4de58ed4c99f13cba83fd3bef27ca879", "score": "0.6568177", "text": "double getAskPrice(int index);", "title": "" }, { "docid": "b555851f237469617ea1648b908e4047", "score": "0.64835477", "text": "public void setPrice(double d){ price = d;}", "title": "" }, { "docid": "ce9c63c5530982848fa17b972b9f9c89", "score": "0.64729434", "text": "void updatePrice(double price);", "title": "" }, { "docid": "57faffa6bfbeece4a376c784c9b52cf2", "score": "0.6458248", "text": "double price(double fiyat);", "title": "" }, { "docid": "39ac1c2910287ab73e321b1a076f40e4", "score": "0.6384338", "text": "private static double[] askUserForPrices(int howManyPrices) {\n\tdouble[] prices = new double[howManyPrices];\n\tScanner kbd = new Scanner(System.in);\n\tfor (int i = 0; i < prices.length; i++) {\n\t System.out.printf(\"Enter the price %s of product %d:%n\",\n\t\t\t \"(in pounds sterlings)\", i+1);\n\t prices[i] = kbd.nextDouble();\n\t}\n\treturn prices;\n }", "title": "" }, { "docid": "d9e790ece6b15d8efc9c6b99367fd98b", "score": "0.63255", "text": "private int calculatePrice(){\n return numberOfCoffees*5;\n }", "title": "" }, { "docid": "bd39a53b221b79a2dacd34ad53eee0f9", "score": "0.6100671", "text": "public static void main(String[] args) {\n\t\tdouble need = 0;\n Scanner in = new Scanner(System.in);\n System.out.println(\"What do you wanna buy?\");\n String item = in.nextLine();\n System.out.println(\"What is the price?\");\n double price = in.nextDouble();\n System.out.println(\"Please pay for it.\");\n double payment = in.nextDouble();\n for (double i = payment; i < price; i++) {\n need = price - payment;\n System.out.println(\"Sorry you need \" + need + \"$\");\n System.out.println(\"Add more cash please\");\n double more1 = in.nextDouble();\n payment += more1;\n if (payment == price) {\n break;\n }\n\n }\n System.out.println(\"Thank you for shopping!\");\n }", "title": "" }, { "docid": "902b9c9d4cb920bca3cfa768f4cfce68", "score": "0.6099629", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getAskPrice3();", "title": "" }, { "docid": "8e18909420ac900d10c80891c0edd762", "score": "0.6002966", "text": "public void calculatePrice(int numberOfDays) {\n }", "title": "" }, { "docid": "c38913713a0aac71203f07ef9197b3c9", "score": "0.5958079", "text": "public int computePrice(Order order);", "title": "" }, { "docid": "ff6d1459b9b8e149ea9cae3043d1fd08", "score": "0.59215397", "text": "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n System.out.println(\"What type of item are you buying?\");\n String item = scan.nextLine();\n System.out.println(\"How many are you buying?\");\n int amt = scan.nextInt();\n System.out.println(\"How much does each one cost?\");\n double cost = scan.nextDouble();\n \n double last = cost * amt;\n \n System.out.println(amt + \" \" + item + \" at $\" + cost + \" each \" + \"will cost you $\" + last);\n }", "title": "" }, { "docid": "c953c2fe9282e99e3254eb5cc2093515", "score": "0.5914846", "text": "double getPrice();", "title": "" }, { "docid": "c953c2fe9282e99e3254eb5cc2093515", "score": "0.5914846", "text": "double getPrice();", "title": "" }, { "docid": "afb41982db10b5634a6a954e115eaf47", "score": "0.5907616", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getAskPrice2();", "title": "" }, { "docid": "c6f9ec828089715e0f24fa457ac6b5c1", "score": "0.5877726", "text": "public void searchprice() {\r\n\t\t\tString s = input.getText();\r\n\r\n\t\t\tint k = 0;\r\n\t\t\tif (s.equals(\"wine\")) {\r\n\t\t\t\tk = 4;\r\n\t\t\t}\r\n\t\t\tif (s.equals(\"bread\")) {\r\n\t\t\t\tk = 2;\r\n\t\t\t}\r\n\t\t\tif (s.equals(\"oat\")) {\r\n\t\t\t\tk = 3;\r\n\t\t\t}\r\n\t\t\tif (s.equals(\"cookie\")) {\r\n\t\t\t\tk = 5;\r\n\t\t\t}\r\n\t\t\tif (s.equals(\"chocalate\")) {\r\n\t\t\t\tk = 6;\r\n\t\t\t}\r\n\r\n\t\t\toutput.setText(\"$\" + k);\r\n\r\n\t\t}", "title": "" }, { "docid": "eaf102b5450c27001274ec32319e2717", "score": "0.58768576", "text": "public static void main(String[] args) {\n double Eggs;\r\n final double Rate = 0.50 / 12;\r\n double Price;\r\n double Remain;\r\n double ExtraCost;\r\n\r\n Scanner UserPrompt = new Scanner (System.in);\r\n System.out.println (\"Please enter the amount of eggs purchased\");\r\n Eggs = UserPrompt.nextDouble();\r\n if (Eggs > 0 && Eggs < 47 || Eggs == 47){\r\n Remain = Eggs % 12;\r\n ExtraCost = Remain * Rate;\r\n Price = ExtraCost+0.50;\r\n Price = Math.round((Price * 100.0)) /100.0;\r\n System.out.println (\"The amount of eggs purchased is: \" +Price);\r\n\r\n }\r\n else if (Eggs == 48 || Eggs > 48 && Eggs < 71 || Eggs == 71){\r\n Remain = Eggs % 12;\r\n ExtraCost = Remain * Rate;\r\n Price = ExtraCost+0.45;\r\n Price = Math.round((Price * 100.0)) /100.0;\r\n System.out.println (\"The amount of eggs purchased is: \" +Price);\r\n }\r\n else if (Eggs == 72 || Eggs > 72 && Eggs < 131 || Eggs == 131){\r\n Remain = Eggs % 12;\r\n ExtraCost = Remain * Rate;\r\n Price = ExtraCost+0.40;\r\n Price = Math.round((Price * 100.0)) /100.0;\r\n System.out.println (\"The amount of eggs purchased is: \" +Price);\r\n }\r\n else if (Eggs == 132 || Eggs > 132){\r\n Remain = Eggs % 12;\r\n ExtraCost = Remain * Rate;\r\n Price = ExtraCost+0.35;\r\n Price = Math.round((Price * 100.0)) /100.0;\r\n System.out.println (\"The amount of eggs purchased is: \" +Price);\r\n }\r\n UserPrompt.close();\r\n }", "title": "" }, { "docid": "4614011aa14cd0e582c735430c7aa5e0", "score": "0.5862988", "text": "public double item_price( Random rand, Scanner keyIn)\r\n {\r\n // Declare Variable\r\n double price=0.0, price_total=0.0;\r\n String str = \"\",exitLoop=\"\";\r\n int consecutive=0;\r\n\r\n System.out.println (\"----- ITEM PRICES ----- \");\r\n\r\n // While for items\r\n do{\r\n consecutive++;\r\n str = \"\" + consecutive;\r\n price=rand.nextDouble()+rand.nextInt(99);\r\n System.out.printf(\"%n%s. Item Price : %.2f%n\",str,price);\r\n System.out.printf(\"Enter '0' to finish or ENTER next.\");\r\n \r\n exitLoop = keyIn.nextLine(); // validate key\r\n price_total += price; \r\n }while(!exitLoop.equals(\"0\"));\r\n System.out.printf(\"%n-->PRICE TOTAL : %.2f%n%n\", price_total);\r\n\r\n return price_total; //return total\r\n\r\n }", "title": "" }, { "docid": "6ee4ff49ce90efe1141a4855e9de9748", "score": "0.58613354", "text": "public double price(double price) {\n\t\treturn price;\r\n\t}", "title": "" }, { "docid": "022d8d3779e1823fdaed34c9a7cfa426", "score": "0.5848363", "text": "public void takeCandy() \n {\n myAmt = myAmt - 1;\n myNumTimes = myNumTimes + 1;\n }", "title": "" }, { "docid": "f96950ba3f83fa228ad0fa4daa88016b", "score": "0.58153605", "text": "public void setPrice(double price)\r\n {\r\n this.price = price;\r\n }", "title": "" }, { "docid": "90f57b0827bf0bb5a2140520be3ae6a1", "score": "0.5805512", "text": "private void setPopulationRate(){\n\t\tdouble populationRate = 0;\n\t\twhile(populationRate<=0){\n\t\t\t//Get only +ve value\n\t\t\tSystem.out.print(\"Enter the rate at which entry queue is populated : \");\n\t\t\tpopulationRate = input.nextDouble();\n\t\t}\n\t\tentry.setPopulationRate(new Double(populationRate));\n\t}", "title": "" }, { "docid": "945804deadabad90f925c4f1642390c0", "score": "0.5805268", "text": "public double getPriceAdjust();", "title": "" }, { "docid": "aa6839056b11b60bed79ea5313def95b", "score": "0.58042693", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getBidPrice3();", "title": "" }, { "docid": "ab240b0ac8a4bf1d63d1a45d2cdf399e", "score": "0.5794854", "text": "public double getDemand(double price);", "title": "" }, { "docid": "fcc05e6de5c291ec7071a897d1cd590d", "score": "0.5789423", "text": "int getQuantite();", "title": "" }, { "docid": "86d5cb2cce3d2fa13d352b0c4f132047", "score": "0.5780651", "text": "private int orderPrice() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "72c82a7183c2998ad9afd04a2044365f", "score": "0.57533014", "text": "@Field(0) \n\tpublic double AskPrice() {\n\t\treturn this.io.getDoubleField(this, 0);\n\t}", "title": "" }, { "docid": "86d0c37d05803b64e07592d1f43ae9b3", "score": "0.5752007", "text": "public double goalieMarketPrice();", "title": "" }, { "docid": "6e96c68ecbfccaf1cb5b12e75cf7ac4d", "score": "0.57506996", "text": "public void setPrice(double price)\n {\n this.price = price;\n }", "title": "" }, { "docid": "7dc8a5ff6d5f6361682883f0d5ba2054", "score": "0.5738659", "text": "public double calculatePrice()\r\n {\r\n // put your code here\r\n double price = 0;\r\n \r\n if( qty.equals(\"1/3lb.\") )\r\n price = price + 9.50;\r\n else if ( qty.equals(\"2/3lb.\") )\r\n price = price + 11.50;\r\n else if ( qty.equals(\"1lb.\") )\r\n price = price + 15.50;\r\n \r\n if ( bunOrBowl.equals(\"In A Bowl\") )\r\n price = price + 1;\r\n \r\n return price;\r\n }", "title": "" }, { "docid": "920c2f20eadeb7edd4ec14da3b48e2e3", "score": "0.5736122", "text": "public void payThePrice(int price) {\n\t\tthis.accumulatePrice += price;\n\t\t//this.bonusPoint =(int)(this.bonusPoint + this.bonusPoint * this.bonusRation);\n\t\tthis.bonusPoint += this.bonusPoint*this.bonusRation;\n\t\tthis.pricePaid = price;\n\t}", "title": "" }, { "docid": "2569e3778bb53b1c62100beb547903ab", "score": "0.5731734", "text": "boolean hasAskPrice3();", "title": "" }, { "docid": "e208b68306f45e0f07216147c2a00a96", "score": "0.57293636", "text": "private int calculatePrice() {\n int base_price = 5;\n if (isWhippedCreamAdded){\n base_price = base_price + 1;\n }\n if (isChocolateAdded) {\n base_price = base_price + 2;\n }\n int price = quantity * base_price;\n return price;\n }", "title": "" }, { "docid": "3da0a3a02ed77849f2dd52f54b71e387", "score": "0.56884676", "text": "private int calculatePrice() {\n int price = cost;\n if(hasWhippedCream){\n price +=1;\n }\n if(hasChocolate){\n price +=2;\n }\n return quantity * price;\n }", "title": "" }, { "docid": "f54ee8f8aa221e5984f883c808dd41f6", "score": "0.56795937", "text": "private int calculatePrice() {\n int price1;\n int topping=0;\n if(hasChocolate){\n topping+=15;\n }\n if(hasWhippedCream){\n topping+=20;\n }\n\n price1 = (quantity * (price + topping));\n\n //price= (quantity*(5+topping));\n\n return price1;\n }", "title": "" }, { "docid": "6098051ebdfc43620cddcb74df2605cf", "score": "0.5674267", "text": "public static void main(String[] args) {\n\n String salePrice = JOptionPane.showInputDialog(\"What is your sales price?\");\n String itemsBuying = JOptionPane.showInputDialog(\"How many items are you going to buy\");\n String discount = JOptionPane.showInputDialog(\"What is the discount\");\n String salesTax = JOptionPane.showInputDialog(\"what is your sales tax?\");\n\n\n String message = \"hi\";\n\n double salePrice2 = salePrice * itemsBuying;\n double discountPrice = salePrice2 * discount;\n String purchasePrice = discountPrice * 1 + salesTax;\n\n double firstPrice = salePrice2 - (salePrice2 * discount);\n double secondPrice = salePrice2 - firstPrice;\n double finalPrice = secondPrice * salesTax;\n\n System.out.println(message + \" Your sale price is \" + salePrice2);\n System.out.println(message + \" Your discount is \" + discount);\n System.out.println(message + \" Your tax is \" + salesTax);\n System.out.println(message + \" Your total price is \" + finalPrice);\n\n\n\n\n\n\n }", "title": "" }, { "docid": "49a78222e95ea8f85a4518ff34e21aa7", "score": "0.56652266", "text": "boolean hasAskPrice2();", "title": "" }, { "docid": "67812e8561a72316071219f0b67b6860", "score": "0.5661197", "text": "public double getFirstItemSale()\r\n{\r\n\r\nreturn firstItemSale;\r\n\r\n}", "title": "" }, { "docid": "be4d289c97d7817d48dc6f4cc59026ec", "score": "0.5657014", "text": "public double GetPrice(){\r\n\t\tIterator<State> x=sol.iterator();\r\n\t\treturn x.next().getCost();\r\n\t}", "title": "" }, { "docid": "f2953c8973dc8ee24658e55643fa5add", "score": "0.5652147", "text": "public void CreatePrice(){\n\t\t//delta is average movement\n\t\tdouble delta;\n\t\tdouble newprice = price;\n\t\tRandom random = new Random();\n\t\tfor(int i = 1; i <= 150; ++i){\n\t\t\t//different delta for every timestep(how much price moves or daily volatility)\n\t\t\t//50-50 for delta to be positive or negative (since normal distribution with mean=0 sd=1)\n\t\t\tdelta = random.nextGaussian();\n\n\t\t\t//If new price + delta is less than 50 and greater than zero, than add delta, else subtract \n\t\t\t\t//Corner cases for drawing window scale\n\t\t\tif(newprice + delta < 50 && newprice + delta > 0){\n\t\t\tnewprice += delta;\n\t\t\t}\n\t\t\telse{newprice -= delta;}\n\n\t\t\thistorical[i] = newprice;\n\t\t}\n\t}", "title": "" }, { "docid": "6f36272f3c2f73aa6ee19bd81bbae4d8", "score": "0.56452703", "text": "public void setPrice(Double price) {\r\n this.price = price;\r\n }", "title": "" }, { "docid": "e00137893d3bf30ebd524b31ada07e9c", "score": "0.56411856", "text": "public Necessity(double item){\n\t\tprice = item;\n\t}", "title": "" }, { "docid": "a6fd764cbf309c19fb2a7db6c46673c6", "score": "0.56394327", "text": "private void pertubePrice(int i, int type, long t) {\r\n\t\tdouble bound = random(-10, 30);\r\n\t\tdouble x = 10 + (t * 1.0 / gameLength) * (bound - 10);\r\n\t\tdouble y = 0;\r\n\r\n\t\tif (x > 0)\r\n\t\t\ty = random(-10, x);\r\n\t\telse if (x < 0)\r\n\t\t\ty = random(x, 10);\r\n\t\telse if (x == 0)\r\n\t\t\ty = random(-10, 10);\r\n\t\tif (type == 0)\r\n\t\t\tinFlightPrice[i] += y;\r\n\t\telse if (type == 1)\r\n\t\t\toutFlightPrice[i] += y;\r\n\t}", "title": "" }, { "docid": "ad815b26cd5c6fb731aece7de0a33d50", "score": "0.56365585", "text": "public double getPrice()\n{\n\treturn price;\n}", "title": "" }, { "docid": "e22bd17d68a916249ddf34ae64ab4c1b", "score": "0.5634231", "text": "private static void price()\n\t{\n\t\ttry {\n\t\t\tcombine();\n\t\t\t\n\t\t\tSystem.out.println(\"Enter id to modify\");\n\t\t\tsize=scan.nextInt();\n\t\t\t\n\t\t\tSystem.out.println(\"Enter the new price for item:\");\n\t\t\tprice=scan.nextInt();\n\t\t\t\n\t\t\tStatement st = con.createStatement();\n\t\t\tst.executeUpdate(\"update products set Pprice='\"+price+\"' where id='\"+size+\"'\");\n\t\t\t\n\t\t\tSystem.out.println(\"\\nThe item has been modified successfully\");\n\t\t\t\n\t\t\t\n\t\t} catch (ClassNotFoundException | SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "title": "" }, { "docid": "31a3b7b2b806fca9cfb0f9175af831db", "score": "0.56327057", "text": "@Override\n\tpublic double price() {\n\t\treturn 10.0;\n\t}", "title": "" }, { "docid": "54eb13b6c05904f739a2191b1e242abd", "score": "0.56315535", "text": "public synchronized void getPrice(){\r\n\t\tif(!get) {\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\tSystem.out.println(a1.get(modelname).getTotalPrice());\r\n\t\tget = false;\r\n\t\tnotifyAll();\r\n\t}", "title": "" }, { "docid": "d7c37b9f4c2ee6312591284d1b43f819", "score": "0.5631332", "text": "public double midfielderMarketPrice();", "title": "" }, { "docid": "82d344f5a23f023f756fdbfe213ef6ae", "score": "0.5622575", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getBidPrice2();", "title": "" }, { "docid": "a56f881a2b84bdeff396722ccc8b4ebc", "score": "0.5615766", "text": "public double getPrice()\r\n {\r\n return price;\r\n }", "title": "" }, { "docid": "7b4cd18260751b143325033f856ab33a", "score": "0.5607508", "text": "public double defenseMarketPrice();", "title": "" }, { "docid": "090f87838f3b3093c79814dbd1e9c9af", "score": "0.5607365", "text": "public double getPrice(){\r\n double price = 1.99;\r\n if(meat.equalsIgnoreCase(\"turkey\")){\r\n price += 2;\r\n } else if(meat.equalsIgnoreCase(\"ham\")){\r\n price += 1.5;\r\n } else if(meat.equalsIgnoreCase(\"roast beef\")){\r\n price += 3;\r\n } else if(meat.equalsIgnoreCase(\"pastrami\")){\r\n price += 3.5;\r\n } else{\r\n price += 2.5;\r\n }\r\n return price;\r\n }", "title": "" }, { "docid": "db491efc07c3a948b50fc687e63fc953", "score": "0.560372", "text": "public void setPrice(int price){\n this.price=price;\n }", "title": "" }, { "docid": "d89758a165985822c8446dcbac2b6c01", "score": "0.5598882", "text": "public void setPrice(double price) {\n this.price = price;\n }", "title": "" }, { "docid": "d89758a165985822c8446dcbac2b6c01", "score": "0.5598882", "text": "public void setPrice(double price) {\n this.price = price;\n }", "title": "" }, { "docid": "d89758a165985822c8446dcbac2b6c01", "score": "0.5598882", "text": "public void setPrice(double price) {\n this.price = price;\n }", "title": "" }, { "docid": "d89758a165985822c8446dcbac2b6c01", "score": "0.5598882", "text": "public void setPrice(double price) {\n this.price = price;\n }", "title": "" }, { "docid": "a5ce5c95449795fd5b8a8673851f7cc5", "score": "0.5595401", "text": "public double getPrice(){\n return this.price;\n }", "title": "" }, { "docid": "915419f19e3b4e74b4729e93b3a70016", "score": "0.5595326", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getLastPrice();", "title": "" }, { "docid": "8ee24b82b1ca6dc0cc6e4a5a05e88784", "score": "0.5593612", "text": "public double forwardMarketPrice();", "title": "" }, { "docid": "c81f654d45e1b1e6920a5770fbb83adf", "score": "0.5593106", "text": "public synchronized void setPrice(){\r\n\t\tif(get) {\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\ta1.get(modelname).setBasePrice(a1.get(modelname).getBasePrice() + 10);\r\n\t\t/*try {\r\n\t\t\tThread.currentThread().sleep(3000);\r\n\t\t} catch(InterruptedException e) {\r\n\t\t\tSystem.out.println(\"Interrupted!\");\r\n\t\t}*/\r\n\t\tget = true;\r\n\t\tnotifyAll();\r\n\t}", "title": "" }, { "docid": "201f5899ea3e05dce2814615608d6466", "score": "0.5590801", "text": "double nextDouble();", "title": "" }, { "docid": "fabb3e71ae231d6b757cd1c8cea92290", "score": "0.5581319", "text": "public double calPrice(){\n int totalNumberOfTopping=numberCheeseTopping+numberPepperoniTopping;\n double totalPriceOfTopping=totalNumberOfTopping*2;\n double totalPrice=0;\n if(size.equalsIgnoreCase(\"small\")){\n totalPrice+=10;\n }else if(size.equalsIgnoreCase(\"medium\")){\n totalPrice+=12;\n }else{\n totalPrice+=14;\n }\n return totalPrice;\n }", "title": "" }, { "docid": "74324331454555de51ece7ac654525d2", "score": "0.55765915", "text": "public void setPrice(Double price) {\n this.price = price;\n }", "title": "" }, { "docid": "74324331454555de51ece7ac654525d2", "score": "0.55765915", "text": "public void setPrice(Double price) {\n this.price = price;\n }", "title": "" }, { "docid": "74324331454555de51ece7ac654525d2", "score": "0.55765915", "text": "public void setPrice(Double price) {\n this.price = price;\n }", "title": "" }, { "docid": "5efe9ba5c448a8066617b2d6c127ae44", "score": "0.5575175", "text": "public double getQuotePriceAdjust();", "title": "" }, { "docid": "3ff257702bab0938f6438795771bc355", "score": "0.556639", "text": "double payOff(double fixing);", "title": "" }, { "docid": "de77bf6b47d1b0e6f5ca2f39f428db5a", "score": "0.5561674", "text": "public float getPrice()\n {\n return (price);\n }", "title": "" }, { "docid": "bdc90c2d26ebc4ae5578ebe4e4277789", "score": "0.5555774", "text": "java.util.List<java.lang.Double> getAskPriceList();", "title": "" }, { "docid": "ef2df1f976f4335f1190b1bdd7aeda04", "score": "0.5551755", "text": "public double pay(){\n return 0;\n }", "title": "" }, { "docid": "70419b9836516b8dd832f61e0500d386", "score": "0.5547722", "text": "double getRateExchange();", "title": "" }, { "docid": "7d1713bb7cb779a6edf8aaabcae89622", "score": "0.5546956", "text": "abstract double priceOfVehicle();", "title": "" }, { "docid": "3bc00173ca22e56ae31cc8c63142edcf", "score": "0.5544376", "text": "long getQuant();", "title": "" }, { "docid": "3bc00173ca22e56ae31cc8c63142edcf", "score": "0.5544376", "text": "long getQuant();", "title": "" }, { "docid": "3bc00173ca22e56ae31cc8c63142edcf", "score": "0.5544376", "text": "long getQuant();", "title": "" }, { "docid": "5835bdbc747af083743de1b7a1c97153", "score": "0.554352", "text": "Price getInitialRate();", "title": "" }, { "docid": "bf30b0d2f8b3fb5d396175ba5b9b3be5", "score": "0.5533618", "text": "public double getPrice() {\n return price;\n }", "title": "" }, { "docid": "bf30b0d2f8b3fb5d396175ba5b9b3be5", "score": "0.5533618", "text": "public double getPrice() {\n return price;\n }", "title": "" }, { "docid": "d78c206b50cea41d57d91820f3a55276", "score": "0.55319124", "text": "private void setStoredPrices(){\n\n\n }", "title": "" }, { "docid": "8bcdf08f54c3faa31350ed3d13b9b201", "score": "0.5530138", "text": "public abstract void discount(int qty, double productPrice);", "title": "" }, { "docid": "6362ecabd11cc28c5c87467b3b7ffe3a", "score": "0.5529046", "text": "public double getPrice()\n {\n return price;\n }", "title": "" }, { "docid": "79f4aa60bda3d4c7f7e157eb46d3069d", "score": "0.55215806", "text": "public double getPrice(){\n\t\treturn _price;\n\t}", "title": "" }, { "docid": "2fcff0eaa11f8dd853b9e919cfd8252a", "score": "0.5521265", "text": "double calculatePay();", "title": "" }, { "docid": "5c3919015f0e3542e5b63ae2491992a7", "score": "0.55202776", "text": "public void update(double price) {\n if (open == 0)\n open = price;\n\n this.latest = price;\n }", "title": "" }, { "docid": "210cd9e474d4e05b5b72bd3decf4233f", "score": "0.55190414", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getOpenPrice();", "title": "" }, { "docid": "4584709451daac5b721a8d4f626c703d", "score": "0.55168784", "text": "public double getAskPrice(int index) {\n return askPrice_.get(index);\n }", "title": "" }, { "docid": "a9af6ad42d3cf9d43a63435e05d94c5e", "score": "0.5513715", "text": "public double getPrice()\n { \n return this.price;\n }", "title": "" }, { "docid": "9c708e9a922713ad67974db1e1d74e0f", "score": "0.5512672", "text": "public double getPrice()\n {\n return price;\n }", "title": "" }, { "docid": "446a6bdf39d85f057feb6c06544ab0b2", "score": "0.55114317", "text": "double getBidPrice(int index);", "title": "" }, { "docid": "fab0b1a1bf8aecd3554f4046a3dbe553", "score": "0.55079323", "text": "static double tradingShoe(double shoeBuy, double orignalPrice ){\n double newPrice = shoeBuy - orignalPrice;\n return newPrice;}", "title": "" }, { "docid": "47397cba0b2f2669aefaeccfc3553c3c", "score": "0.5501421", "text": "public void setPrice(int newPrice){\n price = newPrice;\n }", "title": "" }, { "docid": "78592a3a0733fd9046d2fba235209052", "score": "0.54986405", "text": "double getLastPrice();", "title": "" }, { "docid": "d742ce4c076adcd2347f06676a0044ea", "score": "0.5498264", "text": "datayes.mdl.mdl_swg_pbmsg.MDLSWGMsg.float_3 getPreCloPrice();", "title": "" }, { "docid": "54a7d44b3869ab4d1082f8a4ec0b07c7", "score": "0.5497117", "text": "protected double getHiPrice()\n {\n return hiPrice;\n }", "title": "" }, { "docid": "8a7ee2cb1ad6a4b36ea3fbe685ab91ef", "score": "0.54957426", "text": "public static void main(String[] args) {\n System.out.println(CountPrice(0));\n System.out.println(CountPrice(15));\n System.out.println(CountPrice(20));\n\t}", "title": "" }, { "docid": "7adaa2d5f0e770e5e20dfb983f19e733", "score": "0.5491548", "text": "public double getPrice() {\n\treturn 50.0;\n }", "title": "" }, { "docid": "25f3a8ad5e0719b0a3ad5bfc82a005b3", "score": "0.548065", "text": "public int getPrice();", "title": "" }, { "docid": "23c6fd2163bb5f95472da72cfb514d1c", "score": "0.548038", "text": "public float discountedprice(float price2) {\n\t\tScanner in = new Scanner(System.in); \n\t\tSystem.out.print(\"Enter Discount percentage % \"); \n\t\tfloat discnt = in.nextFloat(); \n\t\tin.close(); \n\t\tprice2-=price2*(discnt/100); \n\t\treturn price2; \n\t}", "title": "" }, { "docid": "5411082eda15267faf8212b1cfbf4501", "score": "0.5478116", "text": "public void increasePrice(double percent)\n{\n\tdouble amountToIncrease = price * percent/100;\n\tprice = price + amountToIncrease;\t\t\n}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "313b434341da43e5ddf7ce39e125f641", "score": "0.0", "text": "@Override\r\n\tpublic List<Candidate> toModels(List<InsertCandidateRequest> objects) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.65706384", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4faa810505ebcb260aff0793654a731e", "score": "0.64830863", "text": "@Override\n\tpublic void refuel() {\n\t\t\n\t}", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "b62a7c8e0bb1090171742c543bf4b253", "score": "0.6373858", "text": "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "title": "" }, { "docid": "c63a11bb1bf0acb98a99c66ee94527a7", "score": "0.63142073", "text": "@Override\r\n\tpublic void ispeci() {\n\r\n\t}", "title": "" }, { "docid": "ccde520bca72caa0d77ef1b117291759", "score": "0.6233861", "text": "@Override\r\n\tpublic void osmossis() {\n\r\n\t}", "title": "" }, { "docid": "b941b399a338e8c204f1063e54a94824", "score": "0.6224095", "text": "public void mo7103g() {\n }", "title": "" }, { "docid": "9b8d94120800074e25f9674e2e960bd0", "score": "0.62156105", "text": "@Override\n public void curar() {\n\n }", "title": "" }, { "docid": "73d2e78e03547e3a30a40b196bae2c7d", "score": "0.61959624", "text": "@Override\r\n\tpublic void calificar() {\n\r\n\t}", "title": "" }, { "docid": "74a1be816f56189120d6d74f61abd8f9", "score": "0.6177264", "text": "@Override\n\tpublic void apagate() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9674eaf92d88fa5ee1741a3c135f859c", "score": "0.609503", "text": "@Override\n\tpublic void Resert() {\n\n\t}", "title": "" }, { "docid": "c04e1693c791e5601b6d72a13641e7b1", "score": "0.60708153", "text": "@Override\n\tpublic void angriff() {\n\n\t}", "title": "" }, { "docid": "cce15f647f795017e06f2ca544477ccd", "score": "0.60667324", "text": "@Override\n\tpublic void chamCong() {\n\n\t}", "title": "" }, { "docid": "4a4d6ca4f76cf550f30a1b3469c5c600", "score": "0.6050197", "text": "@Override\n\tpublic void heilen() {\n\n\t}", "title": "" }, { "docid": "7aa6963c647c1b2028e2058b152485e1", "score": "0.60484", "text": "@Override\n\tpublic void generate() {\n\t\t\n\t}", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.60398114", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "588ab475e29950e8a1944c4a28fe2189", "score": "0.6027122", "text": "public void mo7036d() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "1f6ca7603428a226b143ebf504f69fdb", "score": "0.600875", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "06b59299a5db6a0902fdbf88e7826cfa", "score": "0.599773", "text": "private void naceSer() {\n\n\t}", "title": "" }, { "docid": "2ccd2a90144fab8b5fa71c58ca003352", "score": "0.5978821", "text": "@Override\n\tpublic void falar() {\n\t\t\n\t}", "title": "" }, { "docid": "0f6e1929716bfb216fb0d53f4c72c746", "score": "0.5975817", "text": "@Override\n\tpublic void hesapla() {\n\t\t\n\t}", "title": "" }, { "docid": "16a4669a2213802ac94829fc8d9946ff", "score": "0.5935147", "text": "@Override\n\t\tpublic void init() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "fede515c585b365b04aace2b909737cf", "score": "0.59062445", "text": "@Override\r\n\tvoid dibujar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "8a51433116320d5ea7de338cae668e7e", "score": "0.5878679", "text": "@Override\n\tpublic void competir() {\n\t\t\n\t}", "title": "" }, { "docid": "69b1247a4afd513b9853da385d6f2d24", "score": "0.5865623", "text": "@Override\n\tpublic void resta() {\n\t\t\n\t}", "title": "" }, { "docid": "b8693030a2b5a0ed9423a2578e5d2a26", "score": "0.58643967", "text": "@Override\n\tpublic void toto() {\n\t\t\n\t}", "title": "" }, { "docid": "f3d9d337b86266fa06b6c124066ba10f", "score": "0.5853753", "text": "@Override\n\tpublic void suivant() {\n\n\t}", "title": "" }, { "docid": "ab2f45ed8ffa08a06ff449780f0ea9da", "score": "0.5835419", "text": "@Override\r\n\tpublic void ha() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9293596216c60e2004e0a8cfb950ad0f", "score": "0.5823172", "text": "@Override\r\n\tpublic void pripremi() {\n\r\n\t}", "title": "" }, { "docid": "1c223692b2a2bdbc36ebfa379064d28d", "score": "0.5800657", "text": "public void mo7102f() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "8a33b8de7a2fdf8b7088903dc4a4cf5f", "score": "0.5779682", "text": "@Override\n\tpublic void affiche() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "c19a49911957739008b73b032429cb01", "score": "0.57708335", "text": "public void initalize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1717024d52ad1ad5517c9f135ea71904", "score": "0.57634485", "text": "@Override\r\n\tprotected void initValue()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "598681cc815af7b9f96d5d7ce97e7b20", "score": "0.5756299", "text": "public void mo5669b() {\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c13e6a1b7c130afa9fb0f34225bea4ef", "score": "0.5737521", "text": "protected void mo1555b() {\n }", "title": "" }, { "docid": "dbccea21c95a2d676935a3ea758b163e", "score": "0.57351506", "text": "@Override\r\n\tpublic void limpiar() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "94b0ced5bfd6c8796dfd708a164694df", "score": "0.5717778", "text": "@Override\n public void desplazarse() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "a1a79ff63f3eb784a0134fc70f7de913", "score": "0.57160354", "text": "@Override\n\tpublic void initdata() {\n\n\t}", "title": "" }, { "docid": "27e436f0a0c9200a542c73eabe9c3662", "score": "0.57140064", "text": "private void Met4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c823d8b0c4f55d3f03359daefc39a00", "score": "0.5712678", "text": "@Override\n\tpublic void lanzar() {\n\n\t}", "title": "" }, { "docid": "15823e29a9b2fc554cc535992e0eacee", "score": "0.5709881", "text": "@Override\r\n\tpublic void initData() {\n\r\n\r\n\t}", "title": "" }, { "docid": "0694b71fd24e10a480fa3f3dcd28b3ca", "score": "0.570341", "text": "public void mo7243j() {\n }", "title": "" }, { "docid": "9b197585ec90d98a2e41d154a1678e4a", "score": "0.57023877", "text": "@Override\n protected void refreshInit() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "a3060192856bd2663b96bd0ef31d99fd", "score": "0.56853366", "text": "@Override\n\t\t\t\tpublic void refresh() {\n\t\t\t\t\t\n\t\t\t\t}", "title": "" }, { "docid": "c13ae19df69e3abfecf963fdcf9a29ee", "score": "0.568208", "text": "@Override\n\tpublic void c12() {\n\t\t\n\t}", "title": "" }, { "docid": "3207dcaa6322a2a59b6687b951ef91d7", "score": "0.5679023", "text": "@Override\n\tpublic void Damege() {\n\t\t\n\t}", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "5d97082ad890b2df7c126438819d2c54", "score": "0.5665557", "text": "private void envejecer() {\n\t\t\n\t}", "title": "" }, { "docid": "8c203fbc4b35fbc9b64bf6b47d67d29a", "score": "0.56584716", "text": "@Override\n\tpublic void freshStart() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "4dc967945b63b3f9ccc200b50799205b", "score": "0.56479424", "text": "@Override\n\tprotected Item func_149866_i() {\n return null;\n }", "title": "" }, { "docid": "4701bace660096d78c2bf92bfe4b6dd4", "score": "0.5643848", "text": "@Override\n\t\t\t\t\tpublic Sequence sequence() {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}", "title": "" }, { "docid": "8ce70d18e04299fa79dc9066550f3a42", "score": "0.56376165", "text": "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f2b0e20cc959024f21173c16e77430c4", "score": "0.5629117", "text": "@Override\n\tpublic void deneme() {\n\t\t\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.5628332", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "892e81ba33fe99f590f49f4fd7ed10a8", "score": "0.5621647", "text": "private void init() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "412e5d9d9ceed77a8c31cb9312e427b3", "score": "0.5617086", "text": "public final void mo63019a() {\n }", "title": "" }, { "docid": "1e530a3abecfdbdcf6f7ca4bd7294921", "score": "0.56150234", "text": "@Override\n\tpublic void andar() {\n\t\t\n\t}", "title": "" } ]
099d4b157c39b3dba2b818a55942b913
Checks whether the device currently has a network connection.
[ { "docid": "54fea8bbefa3c440e015696adb0d2683", "score": "0.0", "text": "public static boolean isDeviceOnline(Context ctx) {\n ConnectivityManager connMgr =\n (ConnectivityManager) ctx.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" } ]
[ { "docid": "6bcc8f2bc812fa8f651e42cd7dc44dd7", "score": "0.8192676", "text": "private boolean networkConnected() {\n ConnectivityManager cManager = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo nInfo = cManager.getActiveNetworkInfo();\n return nInfo != null && nInfo.isConnected();\n }", "title": "" }, { "docid": "1b390e4d429bfd59734511e68bb2321c", "score": "0.8176197", "text": "private boolean isNetworkConnected() {\n ConnectivityManager connMgr = (ConnectivityManager)\n getSystemService(Context.CONNECTIVITY_SERVICE); // 1\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); // 2\n return networkInfo != null && networkInfo.isConnected(); // 3\n }", "title": "" }, { "docid": "44cb7edb9d5bb3670723d44b7dfe5f4c", "score": "0.81555873", "text": "public static boolean isNetworkConnected() {\n\t\tboolean available = false;\n\t\tContext context = App.getContext();\n\t\tConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tNetworkInfo info = cm.getActiveNetworkInfo();\n\t\tavailable = info != null && info.isConnected();\n\t\treturn available;\n\t}", "title": "" }, { "docid": "063d58a398aefa533eab80305c5b5451", "score": "0.8042607", "text": "private boolean doNetworkkCheck() {\n ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);\n NetworkInfo netinfo = connectivityManager.getActiveNetworkInfo();\n if (netinfo != null && netinfo.isConnectedOrConnecting()) {\n isConnect = true;\n } else {\n isConnect = false;\n }\n return isConnect;\n }", "title": "" }, { "docid": "e913383b8210db7c6cef6f57661128ea", "score": "0.80175847", "text": "public boolean isNetworkConnected() {\n\t\tConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tNetworkInfo activeNetworkInfo = connectivityManager\n\t\t\t\t.getActiveNetworkInfo();\n\t\treturn activeNetworkInfo != null && activeNetworkInfo.isConnected();\n\t}", "title": "" }, { "docid": "04a97f24277d60f451cb3775578bb5db", "score": "0.7999403", "text": "public boolean isNetworkConnected() {\n ConnectivityManager cm =\n (ConnectivityManager) main.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo netInfo = cm.getActiveNetworkInfo();\n if (netInfo != null && netInfo.isConnected()) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "761f1f8a94c893dfbd3cf8b6a43caa87", "score": "0.79495835", "text": "private boolean isNetworkAvailable() {\n\t\tConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tNetworkInfo activeNetworkInfo = connectivityManager\n\t\t\t\t.getActiveNetworkInfo();\n\t\treturn activeNetworkInfo != null;\n\t}", "title": "" }, { "docid": "a574b95689e3406090b0a0ee16a79707", "score": "0.79400617", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "097444ee2925f54e0e44774c0ec58fc9", "score": "0.79394734", "text": "public boolean isConnected() {\r\n Log.d(TAG, \"Check connection to network.\");\r\n\r\n NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo();\r\n\r\n boolean connected = checkConnected(activeNetwork);\r\n\r\n return connected;\r\n }", "title": "" }, { "docid": "90fc4894da7b3e86c411a7747ac7b6f0", "score": "0.7938671", "text": "private boolean netIsUp() {\n\t\tConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\t// getActiveNetworkInfo() each time as the network may swap as the\n\t\t// device moves\n\t\tNetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\t\t// ALWAYS check isConnected() before initiating network traffic\n\t\tif (networkInfo != null)\n\t\t\treturn networkInfo.isConnected();\n\t\telse\n\t\t\treturn false;\n\t}", "title": "" }, { "docid": "e371caa803adad108843c2f694b36185", "score": "0.79284155", "text": "private boolean isNetworkAvailable() {\r\n\r\n\t\tConnectivityManager manager = (ConnectivityManager) context\r\n\t\t\t\t.getSystemService(Context.CONNECTIVITY_SERVICE);\r\n\t\tif (manager == null) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tNetworkInfo net = manager.getActiveNetworkInfo();\r\n\t\tif (net != null) {\r\n\t\t\tif (net.isConnected()) {\r\n\t\t\t\treturn true;\r\n\t\t\t} else {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2fe801248c9fb80379b10d883052685b", "score": "0.7919175", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager connectivityManager\n = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "85594573abe7ae60948577f8d23ff8b6", "score": "0.79091156", "text": "private boolean isNetworkAvailable(){\n ConnectivityManager manager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo info = manager.getActiveNetworkInfo();\n return info != null && info.isConnected();\n }", "title": "" }, { "docid": "33d4a498fa4f4ffa176fb311ecf88e8b", "score": "0.7905538", "text": "private boolean isNetworkAvailable() {\n\t ConnectivityManager connectivityManager \n\t = (ConnectivityManager) getSystemService(mainmenu2.CONNECTIVITY_SERVICE);\n\t NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n\t return activeNetworkInfo != null;\n\t}", "title": "" }, { "docid": "176dd6a1fa7287cfb5f73968cee283b2", "score": "0.7900237", "text": "private boolean haveNetworkConnection() {\n boolean haveConnectedWifi = false;\n boolean haveConnectedMobile = false;\n\n ConnectivityManager cm = (ConnectivityManager) this\n .getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo[] netInfo = cm.getAllNetworkInfo();\n for (NetworkInfo ni : netInfo) {\n if (ni.getTypeName().equalsIgnoreCase(\"WIFI\"))\n if (ni.isConnected())\n haveConnectedWifi = true;\n if (ni.getTypeName().equalsIgnoreCase(\"MOBILE\"))\n if (ni.isConnected())\n haveConnectedMobile = true;\n }\n return haveConnectedWifi || haveConnectedMobile;\n }", "title": "" }, { "docid": "f29e83f771cd07307469c46820b33907", "score": "0.7892011", "text": "public boolean isNetworkAvailable() {\n ConnectivityManager connectivityManager\n = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "b1f5522a1ac55343890eef70951e063d", "score": "0.78776526", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager cm =\n (ConnectivityManager) tapglue.getContext().getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo netInfo = cm.getActiveNetworkInfo();\n return netInfo != null && netInfo.isConnected();\n\n }", "title": "" }, { "docid": "68a0c359bc986cd4b6329df015005e78", "score": "0.7861258", "text": "private boolean isNetworkConnected() {\r\n\t\t ConnectivityManager cm =\r\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\r\n\t\t NetworkInfo ni = cm.getActiveNetworkInfo();\r\n if (ni == null) {\r\n // There are no active networks.\r\n return false;\r\n } else {\r\n // there are active networks\r\n return true;\r\n }\r\n\r\n }", "title": "" }, { "docid": "e06a2f84222f70c5be9f5e8ddb0460a8", "score": "0.78584814", "text": "public boolean isNetworkAvailable()\r\n {\r\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\r\n\r\n NetworkInfo networkInfo = cm.getActiveNetworkInfo();\r\n // if no network is available networkInfo will be null\r\n // otherwise check if we are connected\r\n if (networkInfo != null && networkInfo.isConnected())\r\n {\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "726c26b51a811de8fb1e2c22220badf5", "score": "0.784426", "text": "public boolean isNetworkConnected() {\n ConnectivityManager connectivityManager = this.mConnectivityManager;\n if (connectivityManager == null) {\n Slog.e(TAG, \"isNetworkConnected mConnectivityManager is null!\");\n return false;\n }\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n if (networkInfo == null || !networkInfo.isConnected()) {\n return false;\n }\n return true;\n }", "title": "" }, { "docid": "e2ef8650fbec0badedc4e6db92246c32", "score": "0.78415895", "text": "private boolean haveNetworkConnection() {\n boolean haveConnectedWifi = false;\n boolean haveConnectedMobile = false;\n\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo[] netInfo = cm.getAllNetworkInfo();\n for (NetworkInfo ni : netInfo) {\n if (ni.getTypeName().equalsIgnoreCase(\"WIFI\"))\n if (ni.isConnected())\n haveConnectedWifi = true;\n if (ni.getTypeName().equalsIgnoreCase(\"MOBILE\"))\n if (ni.isConnected())\n haveConnectedMobile = true;\n }\n return haveConnectedWifi || haveConnectedMobile;\n }", "title": "" }, { "docid": "548d89f0485a6ed5622780c5d90e3dd3", "score": "0.78409374", "text": "public static boolean hasNetworkConnection(Context context) {\n try {\n ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo netInfo = cm.getActiveNetworkInfo();\n if (netInfo != null && netInfo.isConnected()) {\n System.out.println(\"internet available\");\n return true;\n }\n } catch (Exception e) {\n return false;\n }\n return false;\n }", "title": "" }, { "docid": "815e152dcbdef5fbb9ee9cf23394995b", "score": "0.78348935", "text": "private Boolean checkNetwork(){\n mConnectivityManager =\n (ConnectivityManager)this.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n mActiveNetwork = mConnectivityManager.getActiveNetworkInfo();\n\n return mActiveNetwork != null && mActiveNetwork.isConnected();\n\n }", "title": "" }, { "docid": "40e62b27fdea8a0ca73df3cf89b29d3c", "score": "0.7825655", "text": "public boolean haveNetworkConnection() {\n boolean haveConnectedWifi = false;\n boolean haveConnectedMobile = false;\n\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo[] netInfo = cm.getAllNetworkInfo();\n for (NetworkInfo ni : netInfo) {\n System.out.println(\"============== INFO ============\"+ni.getTypeName());\n if (ni.getTypeName().equalsIgnoreCase(\"WIFI\"))\n if (ni.isConnected())\n haveConnectedWifi = true;\n if (ni.getTypeName().equalsIgnoreCase(\"MOBILE\"))\n if (ni.isConnected())\n haveConnectedMobile = true;\n }\n return haveConnectedWifi || haveConnectedMobile;\n }", "title": "" }, { "docid": "0ffbc718ba38772380b201997a792121", "score": "0.7785414", "text": "public static boolean haveNetworkConnection(Context con) {\n ConnectivityManager cm = (ConnectivityManager) con.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo netInfo = cm.getActiveNetworkInfo();\n if (netInfo != null && netInfo.isConnectedOrConnecting()) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "1b18e4c04f9a2b22824675fd02423d37", "score": "0.7768932", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager connectionManager = (ConnectivityManager) getActivity().getSystemService(\n Context.CONNECTIVITY_SERVICE);\n NetworkInfo ntwkInfo = connectionManager.getActiveNetworkInfo();\n return ((ntwkInfo != null) && ntwkInfo.isConnected());\n }", "title": "" }, { "docid": "e9386eee310f46ed80f9dd5b576bba63", "score": "0.7760741", "text": "private boolean isConnected() {\n // Get the Connectivity system service\n ConnectivityManager connectivityManager = (ConnectivityManager)\n this.getSystemService(CONNECTIVITY_SERVICE);\n\n // Get the network info from the Connectivity Manager\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n\n // Return true if the network info is not null and if the network is connected\n // or is attempting to connect to the internet\n return networkInfo != null && networkInfo.isConnectedOrConnecting();\n }", "title": "" }, { "docid": "9cae69a85b90ba7bbed0c6717bfccf19", "score": "0.77039903", "text": "private boolean isNetworkAvailable() {\n NetworkInfo activeNetworkInfo = null;\n ConnectivityManager connectivityManager\n = (ConnectivityManager) this.getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager!=null){\n activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n }\n\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "d2dbb560a72e4b76b48ae5bcf4043597", "score": "0.76976377", "text": "private boolean checkInternetConnection() {\n ConnectivityManager connectivityManager\n = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "28ee3ff86040b077c288a19fcba27c81", "score": "0.7691743", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager connectivityManager\n = (ConnectivityManager) getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "bd70eb59af370f8f12254724bd3c3a54", "score": "0.76762706", "text": "private boolean isNetworkAvailable() {\n ConnectivityManager manager = (ConnectivityManager)\n getSystemService(Context.CONNECTIVITY_SERVICE);\n\n // This method requires the caller to hold the permission ACCESS_NETWORK_STATE. (manifest)\n NetworkInfo networkInfo = manager.getActiveNetworkInfo();\n boolean isAvailable = false;\n if(networkInfo !=null && networkInfo.isConnected()){\n isAvailable=true;\n }\n return isAvailable;\n }", "title": "" }, { "docid": "d684fd05151c7288596e40d954508131", "score": "0.7667514", "text": "private boolean haveNetworkConnection() {\r\n boolean haveConnectedWifi = false;\r\n boolean haveConnectedMobile = false;\r\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\r\n NetworkInfo[] netInfo = cm.getAllNetworkInfo();\r\n for (NetworkInfo ni : netInfo) {\r\n if (ni.getTypeName().equalsIgnoreCase(\"WIFI\"))\r\n if (ni.isConnected())\r\n haveConnectedWifi = true;\r\n if (ni.getTypeName().equalsIgnoreCase(\"MOBILE\"))\r\n if (ni.isConnected())\r\n haveConnectedMobile = true;\r\n }\r\n return haveConnectedWifi || haveConnectedMobile;\r\n }", "title": "" }, { "docid": "d9abdebcd93a9385084f198829956f82", "score": "0.7654893", "text": "private boolean isNetworkConnected(Context context) {\n PackageManager pm = context.getPackageManager();\n int hasPerm = pm.checkPermission(ACCESS_NETWORK_STATE, context.getPackageName());\n if (hasPerm != PackageManager.PERMISSION_GRANTED) {\n //we do not know so return true\n DebugLogger.d(\"There is no connectivity permission.\");\n return true;\n }\n\n ConnectivityManager cm = (ConnectivityManager) context.getSystemService(CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n return activeNetwork != null && activeNetwork.isConnectedOrConnecting();\n }", "title": "" }, { "docid": "901bd6a2ff198a361ec5e7b31d5cae53", "score": "0.7648999", "text": "public static boolean isNetworkAvailable() {\n \t\t\t//gives the application's context\n\t\t\tContext context = RandomFunTime.showContext();\n \t\t\t\n \t\t\t//magical connectivity genie\n \t\t\tConnectivityManager connectivityManager \n \t\t = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n \t\t NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n \t\t return activeNetworkInfo != null && activeNetworkInfo.isConnectedOrConnecting();\n \t\t}", "title": "" }, { "docid": "df520957edfa3e34ba84039b459b0884", "score": "0.7622207", "text": "private boolean isNetworkAvailable() {\n\n /* boolean isAvailable = false;\n ConnectivityManager manager = (ConnectivityManager) mcontext.getSystemService(Context.CONNECTIVITY_SERVICE);\n assert manager != null;\n NetworkInfo networkInfo = manager.getActiveNetworkInfo();\n\n if (networkInfo != null && networkInfo.isConnected()) {\n isAvailable = true;\n }*/\n return true;\n }", "title": "" }, { "docid": "d5155685ec8ffe8604e70cb16324c719", "score": "0.7621184", "text": "private boolean connectionAvailable() {\n boolean connected = false;\n\n ConnectivityManager connectivityManager = (ConnectivityManager) getApplicationContext().getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo();\n if (activeNetwork != null) {\n if (activeNetwork.getType() == ConnectivityManager.TYPE_WIFI) {\n connected = true;\n } else if (activeNetwork.getType() == ConnectivityManager.TYPE_MOBILE) {\n connected = true;\n }\n } else {\n connected = false;\n }\n return connected;\n }", "title": "" }, { "docid": "682205fb6abab287feac2055f32de6c5", "score": "0.76160955", "text": "public boolean checkInternetConnection() {\n\t\tboolean connected = false;\n\n\t\tConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tif (connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE)\n\t\t\t\t.getState() == NetworkInfo.State.CONNECTED\n\t\t\t\t|| connectivityManager.getNetworkInfo(\n\t\t\t\t\t\tConnectivityManager.TYPE_WIFI).getState() == NetworkInfo.State.CONNECTED) {\n\t\t\tconnected = true;\n\t\t} else\n\t\t\tconnected = false;\n\t\treturn connected;\n\t}", "title": "" }, { "docid": "842f9c5948ce06b3769a359dfff66fa7", "score": "0.76157546", "text": "public static boolean isNetAvailable(Context context){\n\t\t \n\t\t ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\t NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n\t\t return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n\t}", "title": "" }, { "docid": "0f01b3e8ab41d7f6c49a404e1ee74f9f", "score": "0.76115394", "text": "private boolean isNetworkStatusAvialable () {\n ConnectivityManager connectivityManager = (ConnectivityManager) ctx.getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager != null)\n {\n NetworkInfo netInfos = connectivityManager.getActiveNetworkInfo();\n if(netInfos != null)\n if(netInfos.isConnected())\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "06657181f782c1efb1f5b872d78df352", "score": "0.75973845", "text": "private boolean isNetworkReachable(Context context) {\n try {\n // Obtain Connectivity Service from Context\n ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n // Get the NetworkInfo and check for connectivity\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n return networkInfo.isConnected();\n\n } catch (Exception e) {\n return false;\n }\n }", "title": "" }, { "docid": "99579723f1d46d4d20ea19bea2598cb2", "score": "0.75833225", "text": "private void checkconnection() {\n ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n if(networkInfo != null && networkInfo.isConnected()){\n\n //we have a connection\n tvnetwork.setText(\"Network Available\");\n\n\n }\n }", "title": "" }, { "docid": "7f7cbfb15ce01aa441f6204b3ba41e54", "score": "0.7572525", "text": "private boolean checkInternetConnection() {\n ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager.getActiveNetworkInfo() != null &&connectivityManager.getActiveNetworkInfo().isAvailable() && connectivityManager.getActiveNetworkInfo().isConnected()) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "caefca63dfd5437a17b0b11f6a485403", "score": "0.7569904", "text": "private boolean checkConnected(NetworkInfo network) {\r\n boolean connected = network != null && network.isConnected();\r\n\r\n if (connected) {\r\n String name = network.getTypeName();\r\n Log.d(TAG, format(\"Device connected to {0} network.\", name));\r\n } else {\r\n Log.d(TAG, \"Device is not connected to network.\");\r\n }\r\n\r\n return connected;\r\n }", "title": "" }, { "docid": "f2a32c70842eaa4c62d4796c768ab1b2", "score": "0.75497484", "text": "public Boolean hasConnection(){\n\t\t Boolean isconn=false;\n\t\t @SuppressWarnings(\"static-access\")\n\t\t ConnectivityManager connMgr = (ConnectivityManager) \n\t\t context.getSystemService(context.CONNECTIVITY_SERVICE);\n\t\t NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\t\t if (networkInfo != null && networkInfo.isConnected()) {\n\t\t\t // fetch data\n\t\t\t isconn=true;\n\t\t } else {\n\t\t\t // display error\n\t\t\t isconn=false;\n\t\t }\n\t\t return isconn;\n\n\t }", "title": "" }, { "docid": "33cb46fbc1e322dcf8f566fee19f0b64", "score": "0.7512752", "text": "public static boolean checkNetworkAvailable(Context context) {\n\t\tConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n\t\tif (connectivityManager == null) {\n\t\t\treturn false;\n\t\t}\n\n\t\tNetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n\t\tif (activeNetworkInfo == null) {\n\t\t\treturn false;\n\t\t}\n\t\treturn activeNetworkInfo.isConnectedOrConnecting();\n\t}", "title": "" }, { "docid": "1407dfc4950062ae29dc2650988ec670", "score": "0.7505365", "text": "public boolean isConnected() {\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n if (activeNetwork != null && activeNetwork.isConnectedOrConnecting() == true) {\n return true;\n } else {\n return false;\n }\n }", "title": "" }, { "docid": "452ca48017dacb9ee82fa5d6f0ddca90", "score": "0.7479742", "text": "private boolean isThereInternetConnection() {\n boolean isConnected;\n\n ConnectivityManager connectivityManager =\n (ConnectivityManager) this.context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n isConnected = (networkInfo != null && networkInfo.isConnectedOrConnecting());\n\n return isConnected;\n }", "title": "" }, { "docid": "36687dc829e5cec64f73e9596f2828f1", "score": "0.7461454", "text": "public static boolean checkAndToast() {\n\t\tboolean isConnected = isNetworkConnected();\n\t\tif (!isConnected) {\n\t\t\tToastUtil.showToast(R.string.info_network_not_connected);\n\t\t}\n\t\treturn isConnected;\n\t}", "title": "" }, { "docid": "c4fec08090d673cbfb3b841cda2b0494", "score": "0.74579096", "text": "private static boolean isNetworkAvailable(Context context)\n {\n ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n\n return (networkInfo != null) && (networkInfo.isConnectedOrConnecting());\n }", "title": "" }, { "docid": "18f0c320643300212f2c7fdf151cb05b", "score": "0.74568063", "text": "private boolean isThereInternetConnection() {\n boolean isConnected;\n\n ConnectivityManager connectivityManager =\n (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n isConnected = (networkInfo != null && networkInfo.isConnectedOrConnecting());\n\n return isConnected;\n }", "title": "" }, { "docid": "e786c1e55ee8b2960cbda2c6f9624e9c", "score": "0.74541503", "text": "public static boolean isConnected(Context context) {\n if (ActivityCompat.checkSelfPermission(context,\n Manifest.permission.ACCESS_NETWORK_STATE) != PackageManager.PERMISSION_GRANTED) {\n return false;\n }\n ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n return connectivityManager.getActiveNetworkInfo() != null;\n }", "title": "" }, { "docid": "eee3fb09558febdbba62dd5f6fa9ddf7", "score": "0.74409086", "text": "public boolean isNetworkAvailable(Context context) {\n final ConnectivityManager connectivityManager = ((ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE));\n return connectivityManager.getActiveNetworkInfo() != null && connectivityManager.getActiveNetworkInfo().isConnected();\n }", "title": "" }, { "docid": "d7268de1d71400ceec7e0c458edaac56", "score": "0.7438994", "text": "public boolean ConnectionCheck(){\n ConnectivityManager cm =\n (ConnectivityManager)getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);\n\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n isConnected = activeNetwork != null &&\n activeNetwork.isConnectedOrConnecting();\n return isConnected;\n }", "title": "" }, { "docid": "df5ef98bc2256ac353662100b4d88464", "score": "0.7426174", "text": "public static boolean isNetworkOn(Context context) {\n ConnectivityManager connMgr =\n (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "5034b1749d4b71fa8095306c96e6cf34", "score": "0.74247026", "text": "private boolean isThereInternetConnection() {\n boolean isConnected;\n\n ConnectivityManager connectivityManager =\n (ConnectivityManager) this.context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n isConnected = (networkInfo != null && networkInfo.isConnectedOrConnecting());\n\n return isConnected;\n }", "title": "" }, { "docid": "c01a510e6e06e283da858689b5e680e9", "score": "0.7422229", "text": "private boolean isThereInternetConnection() {\n boolean isConnected;\n\n ConnectivityManager connectivityManager =\n (ConnectivityManager) this.context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n isConnected = (networkInfo != null && networkInfo.isConnectedOrConnecting());\n return isConnected;\n }", "title": "" }, { "docid": "e8950163da484f09e3edaba2701938e7", "score": "0.74216723", "text": "public static boolean isNetworkConnected(Context context) {\n ConnectivityManager connectivityManager = (ConnectivityManager) context\n .getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager == null) {\n return false;\n }\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "8ad04f518bd6116d44ba8dbb8294eb34", "score": "0.74207014", "text": "private boolean isConnected() {\n Context appContext = getContext().getApplicationContext();\n ConnectivityManager connectivityManager = (ConnectivityManager) appContext.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = connectivityManager.getActiveNetworkInfo();\n return (activeNetwork != null) && activeNetwork.isConnectedOrConnecting();\n }", "title": "" }, { "docid": "37b942755cf6964403d0e437e54a5a10", "score": "0.74195987", "text": "public boolean isConnected(){\n boolean status = false;\n ConnectivityManager cm = (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n\n if(activeNetwork != null && activeNetwork.isConnectedOrConnecting()){\n status = true;\n }\n\n return status;\n }", "title": "" }, { "docid": "7e62aa1838c2598ebf89835cd8a71c13", "score": "0.74194247", "text": "public static boolean isNetworkAvailable(Context context)\n {\n if (context != null)\n {\n ConnectivityManager mConnectivityManager = (ConnectivityManager) context.\n getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo mNetworkInfo = mConnectivityManager.getActiveNetworkInfo();\n\n if (mNetworkInfo != null)\n return mNetworkInfo.isAvailable();\n }\n return false;\n }", "title": "" }, { "docid": "0e644486ddd26511680296ceeadd727a", "score": "0.7418297", "text": "public boolean checkInternetConenction() {\n ConnectivityManager CM= (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = CM.getActiveNetworkInfo();\n return (activeNetwork != null) ;\n }", "title": "" }, { "docid": "e113591203eb075208bc3acc928dfc7e", "score": "0.74153954", "text": "public static boolean isNetworkAvailable (Context context){\n boolean isAvailable = false;\n ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\n if (networkInfo != null && networkInfo.isConnected())\n isAvailable = true;\n\n return isAvailable;\n }", "title": "" }, { "docid": "46860ba7b2f3d0f12b0f10abb2e8bd76", "score": "0.7409493", "text": "private boolean canConnectNetwork() {\n return !mAccessPoint.isActive();\n }", "title": "" }, { "docid": "c64e38b6813571ce9fcdee0520dbd10c", "score": "0.74027497", "text": "public static boolean isNetworkAvailable(Context context) {\n ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo();\n return activeNetworkInfo != null && activeNetworkInfo.isConnected();\n }", "title": "" }, { "docid": "499320fd3db5c5a49dc697c8fd141107", "score": "0.74006397", "text": "public boolean isConnectedToNetwork(){\n ConnectivityManager connectivityManager\n = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {\n // if version is equal or bigger than marshmallow\n if (connectivityManager != null && connectivityManager.getActiveNetwork() != null) {\n Log.d(\"InternetStatus\", \"Disconnected\");\n return true;\n }else {\n Log.d(\"InternetStatus\", \"Connected\");\n return false;\n }\n }else {\n // if version is lower than marshmallow\n if (connectivityManager != null && connectivityManager.getActiveNetworkInfo() != null){\n Log.d(\"InternetStatus\", \"Disconnected\");\n return true;\n }else {\n Log.d(\"InternetStatus\", \"Connected\");\n return false;\n }\n }\n }", "title": "" }, { "docid": "bd172f0389fc1a8771e5ff3d9f248881", "score": "0.7385398", "text": "@RequiresPermission(Manifest.permission.ACCESS_NETWORK_STATE)\n public static boolean isConnected(@NonNull Context context) {\n return networkCapabilitiesCompat(context).isConnected();\n }", "title": "" }, { "docid": "6c54f59109ebe3a7838153c27aefa93c", "score": "0.73774314", "text": "public boolean isConnected() {\n Runtime runtime = Runtime.getRuntime();\n try {\n Process ipProcess = runtime.exec(\"/system/bin/ping -c 1 8.8.8.8\");\n int exitValue = ipProcess.waitFor();\n return (exitValue == 0);\n } catch (Exception e) {\n e.printStackTrace();\n }\n return false;\n }", "title": "" }, { "docid": "4c27bd36c1c4897149d0dd60f44517af", "score": "0.7375696", "text": "public boolean checkWifiConnection() {\n\n\t\tConnectivityManager conman = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tif (conman.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected()) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\tLog.d(TAG, \"Wifi connection not present\");\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "83c0e632a6946338105985ca98b227e5", "score": "0.73643905", "text": "private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }", "title": "" }, { "docid": "83c0e632a6946338105985ca98b227e5", "score": "0.73643905", "text": "private boolean checkConnection() {\n return isConnected = ConnectionReceiver.isConnected();\n }", "title": "" }, { "docid": "43d7aece205cbec1e9a9b5d8677ab069", "score": "0.735209", "text": "private boolean isNetworkStatusAvialable(Context applicationContext) {\n ConnectivityManager connectivityManager = (ConnectivityManager) getBaseContext().getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager != null) {\n NetworkInfo netInfos = connectivityManager.getActiveNetworkInfo();\n if (netInfos != null)\n if (netInfos.isConnected())\n\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "7bca5f8db28948d135623cc9fbc741e1", "score": "0.73508376", "text": "private boolean NetWorkAvailable() {\n\t ConnectivityManager cm =(ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\t NetworkInfo netInfo = cm.getActiveNetworkInfo();\n\t\t if (netInfo != null && netInfo.isConnectedOrConnecting()) {\n\t\t \treturn true;\t\t \n\t\t }else{ \n\t\t \t// TODO Auto-generated method stub\n\t\t\t\tToast.makeText(ForgotActivity.this, R.string.internet, Toast.LENGTH_SHORT).show();\t\t\t\t\t\n\t\t }\n\t\t return false;\n\t}", "title": "" }, { "docid": "965863c1b4a2273d74c963b8955e1b94", "score": "0.7341191", "text": "public static boolean isNetworkConnected(Context context) {\n ConnectivityManager connectivityManager = (ConnectivityManager) context\n .getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetworkInfo = connectivityManager\n .getActiveNetworkInfo();\n if (activeNetworkInfo != null) {\n return activeNetworkInfo.isConnected();\n }\n return false;\n }", "title": "" }, { "docid": "86933bd073b85db9d5a71390a9950a41", "score": "0.7340258", "text": "private boolean isConnected() {\n ConnectivityManager connectivityManager = (ConnectivityManager) activity.getSystemService(Context.CONNECTIVITY_SERVICE);\n if (connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState() == NetworkInfo.State.CONNECTED ||\n connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI).getState() == NetworkInfo.State.CONNECTED) {\n //we are connected to a network\n return true;\n } else\n return false;\n }", "title": "" }, { "docid": "96bb7db6ce9caaf9e91ccbaf1c76abaf", "score": "0.73255295", "text": "public static boolean haveNetworkConnection(Context context) {\r\n\t\tboolean haveConnectedWifi = false;\r\n\t\tboolean haveConnectedMobile = false;\r\n\r\n\t\tConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\r\n\t\tNetworkInfo[] netInfo = cm.getAllNetworkInfo();\r\n\t\tfor (NetworkInfo ni : netInfo) {\r\n\t\t\tif (ni.getTypeName().equalsIgnoreCase(\"WIFI\"))\r\n\t\t\t\tif (ni.isConnected())\r\n\t\t\t\t\thaveConnectedWifi = true;\r\n\t\t\tif (ni.getTypeName().equalsIgnoreCase(\"MOBILE\"))\r\n\t\t\t\tif (ni.isConnected())\r\n\t\t\t\t\thaveConnectedMobile = true;\r\n\t\t}\r\n\t\treturn haveConnectedWifi || haveConnectedMobile;\r\n\t}", "title": "" }, { "docid": "f4a0d7bd15120ad75e4b2ea1b3cc7445", "score": "0.7323575", "text": "public boolean isConnected() {\n ConnectivityManager connMgr = (ConnectivityManager) getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\n return networkInfo != null && networkInfo.isConnected();\n }", "title": "" }, { "docid": "4ce122a6876283dba7a6310d8e73e5a7", "score": "0.73075336", "text": "public boolean isConnected() {\n\t\ttry{\n\t\t\tConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\t\tNetworkInfo wifi = cm.getNetworkInfo(ConnectivityManager.TYPE_WIFI);\n\t\t\tNetworkInfo mobile = cm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);\n\t\t\tif ((wifi != null && wifi.isConnectedOrConnecting()) || (mobile != null && mobile.isConnectedOrConnecting())) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tToast toast = Toast.makeText(this, \"No hay conexión a internet\", Toast.LENGTH_LONG);\n\t\t\t\ttoast.show();\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t\tLog.d(\"error\",e + \"\");\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "7de78979d9880ec5d076206dcd64ef2a", "score": "0.730299", "text": "private boolean isConnected() {\n if (getActivity() == null) {\n return false;\n }\n // Get a reference to the ConnectivityManager to check state of network connectivity\n ConnectivityManager cm = (ConnectivityManager) getActivity().getSystemService(Context.CONNECTIVITY_SERVICE);\n\n // Get details on the currently active default data network\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n // boolean to check if there is a network connection\n return activeNetwork != null &&\n activeNetwork.isConnectedOrConnecting();\n }", "title": "" }, { "docid": "92ae378409514f2bbe2dbc5d47e73d8e", "score": "0.7287122", "text": "public boolean deviceConnectedToInternet() {\n ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n return (activeNetwork != null && activeNetwork.isConnectedOrConnecting());\n }", "title": "" }, { "docid": "3e1982714b0c891652186a14d4e0d704", "score": "0.7281041", "text": "public boolean netIsAvailable() {\n\t\ttry {\n\t\t\tWorkflowPrefManager wpm = WorkflowPrefManager.getInstance();\n\t\t\tfinal URL url = new URL(wpm.getPckManagerUri());\n\t\t\tfinal URLConnection conn = url.openConnection();\n\t\t\tconn.setConnectTimeout(3000);\n\t\t\tconn.connect();\n\t\t\treturn true;\n\t\t} catch (MalformedURLException e) {\n\t\t\tthrow new RuntimeException(e);\n\t\t} catch (IOException e) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "70d25fbf3a63ad92145589bb24f242d7", "score": "0.7278794", "text": "private boolean isConnected(){\n return getLocalIpAddress() != null;\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "103e5d7fef66cfd04081d369b4aec52e", "score": "0.72772884", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "a7b7406a7d621dcb7918fac6291267bb", "score": "0.7276884", "text": "public boolean checkNetwork()\n {\n WifiManager wifiManager = (WifiManager) getApplicationContext().getSystemService(WIFI_SERVICE);\n boolean networkEnabled = false;\n\n if(wifiManager != null)\n if(wifiManager.isWifiEnabled())\n networkEnabled = true;\n\n try {\n if(!networkEnabled){\n ConnectivityManager connectivityManager =\n (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);\n if(connectivityManager != null)\n {\n NetworkInfo mobileInfo =\n connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);\n\n networkEnabled = mobileInfo.getState() == NetworkInfo.State.CONNECTED;\n\n Log.d(\"Wifi\", mobileInfo.getState().toString());\n }\n }\n\n } catch(Exception ex) {\n networkEnabled = false;\n }\n\n return networkEnabled;\n }", "title": "" }, { "docid": "c51f2f70770c71897e43da678c7c02c7", "score": "0.7274233", "text": "public static boolean isNetworkAvailable(Context context) {\n\t\tConnectivityManager connectivity = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\t\tif (connectivity != null) {\n\t\t\tNetworkInfo[] info = connectivity.getAllNetworkInfo();\n\t\t\tif (info != null) {\n\t\t\t\tfor (int i = 0; i < info.length; i++) {\n\t\t\t\t\tLog.w(\"INTERNET:\", String.valueOf(i));\n\t\t\t\t\tif (info[i].getState() == NetworkInfo.State.CONNECTED) {\n\t\t\t\t\t\tLog.w(\"INTERNET:\", \"connected!\");\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "891c9bbdf4c31946c3f380b48870a6a6", "score": "0.7274015", "text": "private boolean isOnline() {\n ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n\n return networkInfo != null && networkInfo.isConnected();\n }", "title": "" }, { "docid": "f0730b3f31f3fc763394a5ab77479cac", "score": "0.72712976", "text": "private boolean isIntenetConnected() {\r\n\r\n //initialising status of the device whether is connected to internet or not\r\n boolean isConnected = false;\r\n\r\n //creating connectivityManager object to check connection status\r\n ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE);\r\n\r\n //getting network information\r\n NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();\r\n\r\n //if connected to internet then changing its value\r\n if (networkInfo != null) {\r\n isConnected = true;\r\n }\r\n\r\n //returning connection status\r\n return isConnected;\r\n }", "title": "" }, { "docid": "bf6c5a8cded1ad428a6bfb6842f48e99", "score": "0.7268525", "text": "private boolean isDeviceOnline() {\n \n ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = null;\n if (connMgr != null) {\n networkInfo = connMgr.getActiveNetworkInfo();\n }\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "1bc94dc708055bfdfc79d6e962ad6d64", "score": "0.72518057", "text": "private boolean checkInternetConnection() {\n ConnectivityManager cm =\n (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);\n\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n boolean isConnected = activeNetwork != null &&\n activeNetwork.isConnectedOrConnecting();\n\n // Check for network connections\n if (isConnected) {\n return true;\n } else {\n Toast.makeText(this, \" No Internet Connection available \", Toast.LENGTH_LONG).show();\n return false;\n }\n\n }", "title": "" }, { "docid": "dc2ac1b0e5883aa2af2c1bb4015a151c", "score": "0.7247687", "text": "public static boolean isOnline(){\n \n boolean isNetwork = false;\n isNetwork = DeviceManagerFactory.getDeviceManager().isDeviceOnline();\n return isNetwork;\n }", "title": "" }, { "docid": "7355b3b735de0c7e6655878b6e6ef0f3", "score": "0.7245617", "text": "private static boolean internetAvalible() {\r\n\t\tConnectivityManager connectManager = (ConnectivityManager) hostContext\r\n\t\t\t\t.getSystemService(Context.CONNECTIVITY_SERVICE);\r\n\t\tNetworkInfo netInfo = null;\r\n\r\n\t\tif (connectManager != null)\r\n\t\t\tnetInfo = connectManager.getActiveNetworkInfo();\r\n\r\n\t\treturn netInfo != null && netInfo.isConnected();\r\n\t}", "title": "" }, { "docid": "ec2df6eebf2eac20d18a1bc17e5cc956", "score": "0.72421396", "text": "public static boolean isNetworkAvailable(Context context){\n ConnectivityManager connectivityManager = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n if(connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()== NetworkInfo.State.CONNECTED ||\n connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI).getState()==NetworkInfo.State.CONNECTED){\n return true;\n }\n else\n return false;\n }", "title": "" }, { "docid": "fcfd6395503b62e27adea4ced23e2588", "score": "0.72297996", "text": "public boolean isConnected() {\n return getManagedConnectivity();\n }", "title": "" }, { "docid": "7020a1f25a2a29ed1121baa0377c1116", "score": "0.7221653", "text": "private boolean isDeviceOnline() {\n ConnectivityManager connMgr = (ConnectivityManager) getSystemService(getApplicationContext().CONNECTIVITY_SERVICE);\n NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();\n return (networkInfo != null && networkInfo.isConnected());\n }", "title": "" }, { "docid": "59e0b830fcb07e4dc0d6b4848a68c89c", "score": "0.72080964", "text": "static public boolean isNetworkAvailable(Context c){\n ConnectivityManager cm = (ConnectivityManager)c.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n return activeNetwork !=null && activeNetwork.isConnectedOrConnecting();\n }", "title": "" }, { "docid": "98b91535c20152a758de2256355e1354", "score": "0.7202068", "text": "public boolean isNetworkON(Context context){\n ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n NetworkInfo ni = cm.getActiveNetworkInfo();\n if(ni != null && ni.isConnectedOrConnecting()){\n return true;\n }else {\n return false;\n }\n }", "title": "" }, { "docid": "a432c5d790ad2bdb6ad29542a9a4f529", "score": "0.7168241", "text": "static public boolean isNetworkAvailable(Context c) {\n ConnectivityManager cm =\n (ConnectivityManager)c.getSystemService(Context.CONNECTIVITY_SERVICE);\n\n NetworkInfo activeNetwork = cm.getActiveNetworkInfo();\n return activeNetwork != null &&\n activeNetwork.isConnectedOrConnecting();\n }", "title": "" } ]
0e90f5a9a61b9c5aca54fd26a815dc5d
repeated .br.com.zup.edu.ListaChavesPixResponse.ChavePix chaves = 2;
[ { "docid": "d725b3bea15264ba53c5409e5b5c6c8e", "score": "0.6278921", "text": "@java.lang.Override\n public java.util.List<? extends br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder> \n getChavesOrBuilderList() {\n return chaves_;\n }", "title": "" } ]
[ { "docid": "218e0c54f4cecf9bd8d674744c900630", "score": "0.6078204", "text": "@java.lang.Override\n public br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder getChavesOrBuilder(\n int index) {\n return chaves_.get(index);\n }", "title": "" }, { "docid": "770841f61ef8322c1e6b1c2b3763980e", "score": "0.5978041", "text": "private ListaChavesPixResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "3fd7d4cac3b4566f0e0abda629eb6753", "score": "0.58744806", "text": "public br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder getChavesOrBuilder(\n int index) {\n if (chavesBuilder_ == null) {\n return chaves_.get(index); } else {\n return chavesBuilder_.getMessageOrBuilder(index);\n }\n }", "title": "" }, { "docid": "033d31079895df5aefbfa324c7e69da8", "score": "0.5781025", "text": "public java.util.List<? extends br.com.zup.edu.ListaChavesPixResponse.ChavePixOrBuilder> \n getChavesOrBuilderList() {\n if (chavesBuilder_ != null) {\n return chavesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(chaves_);\n }\n }", "title": "" }, { "docid": "1e0b88da2cace550e8d7abe500919fda", "score": "0.5755739", "text": "@java.lang.Override\n public java.util.List<br.com.zup.edu.ListaChavesPixResponse.ChavePix> getChavesList() {\n return chaves_;\n }", "title": "" }, { "docid": "d08cf2d476b6812c7572740f574fa99c", "score": "0.56212026", "text": "public br.com.zup.edu.ListaChavesPixResponse.ChavePix.Builder addChavesBuilder() {\n return getChavesFieldBuilder().addBuilder(\n br.com.zup.edu.ListaChavesPixResponse.ChavePix.getDefaultInstance());\n }", "title": "" }, { "docid": "2b44261eb97f74b7e140acb4a4b726cf", "score": "0.56020856", "text": "@java.lang.Override\n public br.com.zup.edu.ListaChavesPixResponse.ChavePix getChaves(int index) {\n return chaves_.get(index);\n }", "title": "" }, { "docid": "bdf768af0ba0463cc2c399c747d84f4b", "score": "0.53050977", "text": "public br.com.zup.edu.ListaChavesPixResponse.ChavePix getChaves(int index) {\n if (chavesBuilder_ == null) {\n return chaves_.get(index);\n } else {\n return chavesBuilder_.getMessage(index);\n }\n }", "title": "" }, { "docid": "ec986451bd0badc3bc7a34a61e387224", "score": "0.52932173", "text": "@Test\r\n public void testRetrecir() {\r\n System.out.println(\"retrecir\");\r\n int rapport = 2;\r\n ImagePGM instance = new ImagePGM(4,4);\r\n instance.getImage().set(0, new Integer(0));\r\n instance.getImage().set(1, new Integer(0));\r\n instance.getImage().set(2, new Integer(100));\r\n instance.getImage().set(3, new Integer(100));\r\n instance.getImage().set(4, new Integer(0));\r\n instance.getImage().set(5, new Integer(0));\r\n instance.getImage().set(6, new Integer(100));\r\n instance.getImage().set(7, new Integer(100));\r\n instance.getImage().set(8, new Integer(50));\r\n instance.getImage().set(9, new Integer(100));\r\n instance.getImage().set(10, new Integer(255));\r\n instance.getImage().set(11, new Integer(255));\r\n instance.getImage().set(12, new Integer(100));\r\n instance.getImage().set(13, new Integer(150));\r\n instance.getImage().set(14, new Integer(255));\r\n instance.getImage().set(15, new Integer(255));\r\n \r\n ImagePGM result = instance.retrecir(rapport);\r\n \r\n assertTrue(result.getImage().get(0).intValue() == 0);\r\n assertTrue(result.getImage().get(1).intValue() == 100);\r\n assertTrue(result.getImage().get(2).intValue() == 100);\r\n assertTrue(result.getImage().get(3).intValue() == 255);\r\n \r\n }", "title": "" }, { "docid": "d82c7d6309e1ceddc8967361de622d47", "score": "0.5235232", "text": "public java.util.List<br.com.zup.edu.ListaChavesPixResponse.ChavePix> getChavesList() {\n if (chavesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(chaves_);\n } else {\n return chavesBuilder_.getMessageList();\n }\n }", "title": "" }, { "docid": "c4bb30ac2bc07a3b71d46d0269ec76db", "score": "0.51748186", "text": "com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.FrameVoProto getPhotoFrames(int index);", "title": "" }, { "docid": "33f33aa99f30e9f24d2c39801dfbdb57", "score": "0.5150562", "text": "public Builder addChaves(br.com.zup.edu.ListaChavesPixResponse.ChavePix value) {\n if (chavesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureChavesIsMutable();\n chaves_.add(value);\n onChanged();\n } else {\n chavesBuilder_.addMessage(value);\n }\n return this;\n }", "title": "" }, { "docid": "f4588bf984ac2cdc10639fa13136e7db", "score": "0.51302683", "text": "public int getFace(){\n return face;\n }", "title": "" }, { "docid": "361b64431b1b649cd1f8a840e9bffda6", "score": "0.508016", "text": "public interface Constatns {\n\n int frameSize = 4096;\n int notesCount = 12;\n int octavesCount = 8;\n int allNotesCount = notesCount * octavesCount;\n int phasesCount = 360;\n\n}", "title": "" }, { "docid": "af11a4148c1a3c6e1fd4bb127e17d84c", "score": "0.50545305", "text": "public void update2(PicModel pc) {\n\tSystem.out.println(\"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\");\r\n\tpm.update2(pc);\r\n}", "title": "" }, { "docid": "089c2a9ced2f83c03140c8d9f132f58c", "score": "0.50345", "text": "public byte[] getCover(\tArrayList<Frame> frames){\n \t\tfor(Frame f : frames)\n \t\t{\n \t\t\tif(f.getID().equals(\"APIC\"))\n \t\t\t\treturn f.getBody();\n \t\t}\n \n \t\t// we dont have the frame so we have to create it\n \t\t\n \t\tFrame f = new Frame();\n \t\tf.setFlags((short)0);\n \t\tf.setEncodingflag((byte) 1);\n \t\tf.setImageDescription(\"\".getBytes());\n \t\tf.setMIMEType(\"image/jpg\".getBytes());\n \t\tf.setID(\"APIC\");\n \t\tframes.add(f);\n \t\treturn f.getBody();\n \t}", "title": "" }, { "docid": "631d9d33dc3f9b2a86cac9cab86d7b02", "score": "0.50322217", "text": "public int getFace(){\r\n return this.face;\r\n }", "title": "" }, { "docid": "3b07b2aa5c8977182fbe38806250bef1", "score": "0.4949995", "text": "public DadoBatista(){\r\n this.face = 0;\r\n }", "title": "" }, { "docid": "1ec99a12bda0f804b2f1f81843cd32dd", "score": "0.4925883", "text": "public void picParam() {\n\t\t\t\tPIC_FRAME_COLS = 10;\n\t\t\t\tPIC_FRAME_ROWS = 10;\n\t\t\t\t//count idle sprites\n\t\t\t\tSTAY_FRAME_COL = 0;\n\t\t\t\tSTAY_FRAME_COLS = 10;\t\n\t\t\t\tSTAY_FRAME_ROW = 0;\n\t\t\t\tSTAY_FRAME_ROWS = 1;\n\t\t\t\t//count move sprites\n\t\t\t\tMOVE_FRAME_COL = 0;\n\t\t\t\tMOVE_FRAME_COLS = 10;\n\t\t\t\tMOVE_FRAME_ROW = 2;\n\t\t\t\tMOVE_FRAME_ROWS = 1;\n\t\t\t\t//count attack1 sprites\n\t\t\t\tATTACK1_FRAME_COL = 0;\n\t\t\t\tATTACK1_FRAME_COLS = 10;\n\t\t\t\tATTACK1_FRAME_ROW = 3;\n\t\t\t\tATTACK1_FRAME_ROWS = 1;\n\t\t\t\t//for death\n\t\t\t\tDEATH_FRAME_COL = 0;\n\t\t\t\tDEATH_FRAME_COLS = 10;\n\t\t\t\tDEATH_FRAME_ROW = 4;\n\t\t\t\tDEATH_FRAME_ROWS = 1;\n\t}", "title": "" }, { "docid": "1b545fd5e220d446e898975388dab63e", "score": "0.49176493", "text": "public abstract int getChave();", "title": "" }, { "docid": "f59bd32615c103a3a716710721e13846", "score": "0.48915628", "text": "int getOneof1080();", "title": "" }, { "docid": "cec3268e92fdf432290bb7f7c1663a82", "score": "0.48731965", "text": "protected int unknown(){return this.unknownCards.size();}", "title": "" }, { "docid": "63e568c53cd0f65d65e93eb8f927a0d0", "score": "0.48725843", "text": "public Builder addAllChaves(\n java.lang.Iterable<? extends br.com.zup.edu.ListaChavesPixResponse.ChavePix> values) {\n if (chavesBuilder_ == null) {\n ensureChavesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, chaves_);\n onChanged();\n } else {\n chavesBuilder_.addAllMessages(values);\n }\n return this;\n }", "title": "" }, { "docid": "822f638562fd5fd458b115a1617d66fa", "score": "0.48652604", "text": "public NganhNgheKinhDoanhSoap[] getDanhSachNganhNgheKinhDoanh(long cap) throws Exception ;", "title": "" }, { "docid": "eba4fcb5dc9a4e77b53397cbe594f178", "score": "0.4863555", "text": "public void bite() {\n bites++;\n }", "title": "" }, { "docid": "4d3b93a8ed3dd2d3bd6c8e32b80d9e26", "score": "0.48582017", "text": "public int getGrabBlueAmmos(){\n return grabBlueAmmos;\n }", "title": "" }, { "docid": "64b4369cd7c498482b06b3aca1a0423c", "score": "0.48579267", "text": "int getFramesCount();", "title": "" }, { "docid": "99c58482e608b6d259e8319813809631", "score": "0.48535302", "text": "public int getExposure() { return exposure; }", "title": "" }, { "docid": "32e9446745d2c0f5d37171e3f212f098", "score": "0.48428226", "text": "public int getGrabRedAmmos(){\n return grabRedAmmos;\n }", "title": "" }, { "docid": "713f13b94f1d9f244731b5c2eedea242", "score": "0.4841247", "text": "int getPhotoFramesCount();", "title": "" }, { "docid": "3a71020cb09169b1cdbaf2455b5c4527", "score": "0.4827313", "text": "int countByExample(CgchuliExample example);", "title": "" }, { "docid": "32518da57a93fe92aaa90260125cdd6e", "score": "0.4817487", "text": "@NotNull\n/* */ public NoiseGenerator[] getOctaves() {\n/* 94 */ return (NoiseGenerator[])this.octaves.clone();\n/* */ }", "title": "" }, { "docid": "c59a41871dae77923dfc43b8398e373e", "score": "0.48163792", "text": "int getMissileCount();", "title": "" }, { "docid": "59b977139ba6b991db8b19eb0a4bae89", "score": "0.48055908", "text": "long getShot();", "title": "" }, { "docid": "22742adf617cd16739e096b99f59ef07", "score": "0.48010552", "text": "int countByExample(CarMakeExample_bg example);", "title": "" }, { "docid": "9433dd731c732b3ded67da926522df8e", "score": "0.48005718", "text": "@java.lang.Override\n public int getChavesCount() {\n return chaves_.size();\n }", "title": "" }, { "docid": "1686ba2fcfbbbc9c3f0f07ef029225a4", "score": "0.4794744", "text": "int getNoOfFrames();", "title": "" }, { "docid": "b48286ada2f4d847e7e1ce284fc6c35a", "score": "0.47894365", "text": "public int getFrameCount ()\n {\n return frameCount;\n }", "title": "" }, { "docid": "62afd63007c29675af4291cad26d91d2", "score": "0.47893825", "text": "@Field(45)\n public Pointer<Pixa> pixadb_ave() {\n return this.io.getPointerField(this, 45);\n }", "title": "" }, { "docid": "1f34cfc6f2372fe61dc0b13a68f7b7b6", "score": "0.47861224", "text": "interface C0838b {\n int getSampleCount();\n\n /* renamed from: rg */\n int mo2546rg();\n\n /* renamed from: rh */\n boolean mo2547rh();\n }", "title": "" }, { "docid": "c643bd5c5cb638079196ade3fc3d87e1", "score": "0.47737676", "text": "public br.com.zup.edu.ListaChavesPixResponse.ChavePix.Builder addChavesBuilder(\n int index) {\n return getChavesFieldBuilder().addBuilder(\n index, br.com.zup.edu.ListaChavesPixResponse.ChavePix.getDefaultInstance());\n }", "title": "" }, { "docid": "b6e140e22131f9c301dff36e58ef306e", "score": "0.47496143", "text": "public int update(PicModel pc) {\n\tpm.update(pc);\r\n\tint a = pm.selectAll(pc).size();\r\n\tif(a>0) {\r\n\t\ta=1;\r\n\t}\r\n\tif(a==0) {\r\n\t\ta=2;\r\n\t}\r\n\treturn a;\r\n}", "title": "" }, { "docid": "a099a91be57975f0bd6d64763d0c8b90", "score": "0.47487468", "text": "public int getNumCards() {\n return this.numCards; \n }", "title": "" }, { "docid": "0384c7c455b3f39ccde1edd52a0f6035", "score": "0.4748519", "text": "@Test\r\n public void testAgrandir() {\r\n System.out.println(\"agrandir\");\r\n int rapport = 2;\r\n ImagePGM instance = new ImagePGM(2,2);\r\n instance.getImage().set(0, new Integer(0));\r\n instance.getImage().set(1, new Integer(100));\r\n instance.getImage().set(2, new Integer(200));\r\n instance.getImage().set(3, new Integer(255));\r\n \r\n ImagePGM result = instance.agrandir(rapport);\r\n \r\n assertTrue(result.getImage().get(0).intValue() == instance.getImage().get(0).intValue());\r\n assertTrue(result.getImage().get(1).intValue() == instance.getImage().get(0).intValue());\r\n assertTrue(result.getImage().get(2).intValue() == instance.getImage().get(1).intValue());\r\n assertTrue(result.getImage().get(3).intValue() == instance.getImage().get(1).intValue());\r\n assertTrue(result.getImage().get(4).intValue() == instance.getImage().get(0).intValue());\r\n assertTrue(result.getImage().get(5).intValue() == instance.getImage().get(0).intValue());\r\n assertTrue(result.getImage().get(6).intValue() == instance.getImage().get(1).intValue());\r\n assertTrue(result.getImage().get(7).intValue() == instance.getImage().get(1).intValue());\r\n assertTrue(result.getImage().get(8).intValue() == instance.getImage().get(2).intValue());\r\n assertTrue(result.getImage().get(9).intValue() == instance.getImage().get(2).intValue());\r\n assertTrue(result.getImage().get(10).intValue() == instance.getImage().get(3).intValue());\r\n assertTrue(result.getImage().get(11).intValue() == instance.getImage().get(3).intValue());\r\n assertTrue(result.getImage().get(12).intValue() == instance.getImage().get(2).intValue());\r\n assertTrue(result.getImage().get(13).intValue() == instance.getImage().get(2).intValue());\r\n assertTrue(result.getImage().get(14).intValue() == instance.getImage().get(3).intValue());\r\n assertTrue(result.getImage().get(15).intValue() == instance.getImage().get(3).intValue());\r\n \r\n \r\n }", "title": "" }, { "docid": "565c3a97099d273c7f9b4e818063d21e", "score": "0.47434363", "text": "public static void firstScoutShots(){}", "title": "" }, { "docid": "771a9d6d8172efdf02351f313664ed9d", "score": "0.47407174", "text": "public int getCodice() {\n return codCamera;\n }", "title": "" }, { "docid": "4d86b6b7dc47166108ec265f6b5534f1", "score": "0.4739186", "text": "public Builder addChaves(\n int index, br.com.zup.edu.ListaChavesPixResponse.ChavePix value) {\n if (chavesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureChavesIsMutable();\n chaves_.add(index, value);\n onChanged();\n } else {\n chavesBuilder_.addMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "b48f74eb5cd639f93920a82013e0ca34", "score": "0.47329906", "text": "public Builder setChaves(\n int index, br.com.zup.edu.ListaChavesPixResponse.ChavePix value) {\n if (chavesBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureChavesIsMutable();\n chaves_.set(index, value);\n onChanged();\n } else {\n chavesBuilder_.setMessage(index, value);\n }\n return this;\n }", "title": "" }, { "docid": "d505de9ef74108973ab36c4dfc9bb174", "score": "0.47316137", "text": "void getFaceupCards();", "title": "" }, { "docid": "6d202705d5221f03cbe7cd145efb7cd1", "score": "0.47240636", "text": "private TheaterAndMovieShowtimesProto() {}", "title": "" }, { "docid": "6d4c32fcb164d09b83e950df80c43f4c", "score": "0.47227368", "text": "@Override\n\tprotected int getFiguras() {\n\t\t int cont = 0;\n\t for (Figura figura : FiguresSave.getArrayFiguras()) {\n\t if (figura instanceof Circulo) {\n\t cont++;\n\t }\n\t }\n\t return cont;\n\t}", "title": "" }, { "docid": "4b74d19479952e05b3d790ef00179ace", "score": "0.47119242", "text": "public void addGamesDrawn(){\r\n\t\tdraw++;\r\n\t}", "title": "" }, { "docid": "5cfb0f3bda958df5968a40a3a1355b7e", "score": "0.47114775", "text": "public List<String> getPicturesFromPixabay(){\n List<String> pictures = new ArrayList<>();\n List<String> keywords = new ArrayList<>();\n Collections.addAll(keywords, \"yellow+flower\", \"red+car\", \"jungle\", \"fruits\", \"butterfly\", \"mushroom\",\n \"palm+tree\", \"bike\", \"farm\", \"safari\", \"balloon\", \"rainbow\", \"book+shelf\", \"traffic\", \"sunrise\", \"swan\",\n \"computer\", \"calculator\", \"coffee\", \"chocolate\", \"swiss+alps\", \"sandcastle\", \"frog\", \"waterfall\",\n \"hot+dog\", \"cat\", \"snowman\", \"waffle\", \"sunglasses\", \"surfboard\", \"jellyfish\", \"horse\", \"pyramids\",\n \"flame\", \"cow\", \"guitar\", \"piano\", \"clock\", \"storm\", \"umbrella\", \"baseball\", \"mailbox\", \"toast\",\n \"reef\", \"hill\", \"police\", \"subway\", \"tent\", \"skyscraper\", \"tower+bridge\", \"parachute\", \"space+shuttle\");\n\n //choose 16 random keywords of the list\n List<String> selected = new ArrayList<>();\n int keywordNo = keywords.size();\n while(selected.size() < 16){\n int randomIndex = rand.nextInt(keywordNo);\n if(!selected.contains(keywords.get(randomIndex))){\n selected.add(keywords.get(randomIndex));\n }\n }\n\n //get one base64 encoded picture for each keyword\n for (String k:selected) {\n String responseBody = sendGetRequest(k);\n String encodedPicture = getEncodedPictureFromResponse(responseBody);\n\n //check if this picture duplicated, get another one till not a duplicate\n while(pictures.contains(encodedPicture)){\n encodedPicture = getEncodedPictureFromResponse(responseBody);\n }\n pictures.add(encodedPicture);\n }\n return pictures;\n }", "title": "" }, { "docid": "380f2a8a17be25368e16e7efe08e2104", "score": "0.47024652", "text": "public int getFace()\n {\n return face;\n }", "title": "" }, { "docid": "152437f13a7b3aa50cac0722618307bc", "score": "0.46971008", "text": "public void postaviSedmiRed(){\n for (int i = 0; i < 4 ; i++){\n listeLevo.get(6).get(i).setIcon(listaIkonica.get((igra1.glavniNiz[i]) - 1));\n }\n}", "title": "" }, { "docid": "017199d876da36f0f176b1cc91eba009", "score": "0.46949568", "text": "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "title": "" }, { "docid": "017199d876da36f0f176b1cc91eba009", "score": "0.46949568", "text": "@Override\n protected int getNumRepetitions() {\n return 1;\n }", "title": "" }, { "docid": "feee43e6ad23bbfd5713595f373680e4", "score": "0.46933803", "text": "public interface C3787e {\n void mo4313a(Bitmap bitmap, int i);\n}", "title": "" }, { "docid": "c08491b52b646379291901115551f2dd", "score": "0.46753517", "text": "public interface C34922a {\n\n /* renamed from: com.tencent.mm.plugin.sight.encode.a.a$a */\n public enum C21852a {\n WaitStart,\n Start,\n PrepareStop,\n WaitStop,\n Stop,\n WaitSend,\n Sent,\n Error,\n Initialized,\n Pause;\n\n static {\n AppMethodBeat.m2505o(25033);\n }\n }\n\n /* renamed from: Cw */\n boolean mo55517Cw();\n\n C21852a clA();\n\n PreviewCallback clB();\n\n long clz();\n\n int getDuration();\n\n String getRecordPath();\n}", "title": "" }, { "docid": "f01e0cedd9880ded7b9bd8b312ed838e", "score": "0.46716997", "text": "private MovieAndShowtimesProto() {}", "title": "" }, { "docid": "ad5360070a22fdb3f85cde7c9f966f99", "score": "0.46680775", "text": "Player(Image _car, int test){\r\n moves = 0;\r\n car = _car;\r\n currRow = 6;\r\n currCol = 17;\r\n money = 10000;\r\n status = CAREER;\r\n }", "title": "" }, { "docid": "9c7e7544f0f0d267be9e8b6d137a5935", "score": "0.46637675", "text": "public void increaseCavesReach() {\n\t\tcavesReach++;\n\t}", "title": "" }, { "docid": "f2bc5c36b3b3194eed2fe9cbd76ccbd5", "score": "0.46570334", "text": "public int getFaceValue(){\n return faceValue;\n }", "title": "" }, { "docid": "18e466e3bd78bdf69d27d026f9f8f476", "score": "0.4651275", "text": "@Override\n public void update() {\n Map<String, Vec> veci;\n veci = hra.getBatoh().getZoznamVeci();\n data.clear();\n \n for (Vec vec : hra.getBatoh().getZoznamVeci().values())\n {\n ImageView obrazok = new ImageView(new Image(Main.class.getResourceAsStream(\"/zdroje/\"+vec.getObrazok()), 80,80, false, false)); \n data.add(obrazok); \n } \n }", "title": "" }, { "docid": "b16385aec09f295d729f5dbc8451bf7f", "score": "0.4644445", "text": "int getSurfaceInfosCount();", "title": "" }, { "docid": "d26927bb7761e9c3385ae9597f9b0644", "score": "0.4623674", "text": "Effect nextEffect(SwccgGame game);", "title": "" }, { "docid": "e4b2aa0188fc76c94398a0c0c4001272", "score": "0.46220428", "text": "public ArrayList<PixyBlock> read() // return ArrayList of type PixtBlock \n\t{\n\t\tpixyBlocks.clear(); // clears old data?\n\t\tpixyBlocks = new ArrayList<>(); //<> infers type PixyBlock\n\t\tbyte[] bytes = new byte[64]; //array \n\t\tport.read(0x54, 64, bytes); // read pixy data and assign to bytes.\n\t\tint index = 0;\n\t\t\n/*\t\t\n\t\tfor (; index < bytes.length - 1; ++index){ //test loop\n\t\t\tSmartDashboard.putNumber(\"Pixy data \", bytes[index]);\n\t\t\tSmartDashboard.putNumber(\"Index data \", index);\n\t\t\ttry {\n\t\t\t\tThread.sleep(2000, 0);\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t} */\n\t\t\n\t\t\n\t\t\n\t\t//for loop \n\t\tfor (; index < bytes.length - 1; ++index) //looking for start of a sinc word\n\t\t{\n\t\t\tint b1 = bytes[index]; // This converts bytes to signed int.\n\t\t\tif (b1 < 0)\t\t\t\t//check each value in the array to see if its negative \n\t\t\t\tb1 += 256; /// If < 0 add 256 to convert the magnitude to positive int.\n\t\t\t\t\t\t\t\t\t//if the value is negative, add 256 to guaruntee positive value \n\t\t\tint b2 = bytes[index + 1]; //check the value next to b1 to see if it is negative\n\t\t\tif (b2 < 0)\t\t\t\t\t//if not, make positive \n\t\t\t\tb2 += 256;\n\t\t\t\n\t\t\tif (b1 == PIXY_START_BYTE_1 && b2 == PIXY_START_BYTE_2) // Check if first 2 bytes equal a \"sync\n\t\t\t\t// word\", which indicates the start of a block of valid data. syncWord == 0xaa55\n\t\t\t\tbreak; // index = start of sync word.\n\n\t\t\t} //end of for loop \n\t\t\n\t\tif (index == 63) //no syncWord found - no data \n\t\t\treturn null;\n\t\telse if (index == 0) // syncWord found at beginning, omit first two bytes\n\t\t\tindex += 2;\n\t\t\n\t\t//new image frame is indicated by two sync words sent back-to-back. We just found the first from above.\n\t\t//Next we parse each object block using the sync words to indicate the start of the next object block.\n\t\t\n\t\tint byteOffset = index;\n\t\t\n\t\tfor (; byteOffset < bytes.length - BLOCK_SIZE - 1;)\n\t\t{\n\t\t\t// checking for sync block \n\t\t\tint b1 = bytes[byteOffset]; \n\t\t\tif (b1 < 0)\n\t\t\t\tb1 += 256;\n\t\t\n\t\t\tint b2 = bytes[byteOffset + 1]; \n\t\t\tif (b2 < 0)\n\t\t\t\tb2 += 256;\n\n\t\t\tif (b1 == PIXY_START_BYTE_1 && b2 == PIXY_START_BYTE_2){ // Check if first 2 bytes equal a \"syncword\"\n\t\t\t\n\t\t\t\n\t\t\t\t//syncword found - beginning of next block of data. copy block into temp buffer\n\t\t\t\tbyte[] temp = new byte[BLOCK_SIZE];\n\t\t\t\tStringBuilder sb = new StringBuilder(\"Data : \"); //StringBuilder appends data using a single buffer.\n\t\t\t\t\n\n\t\t\t\t//start another for loop \n\t\t\t\tfor (int tempOffset = 0; tempOffset < BLOCK_SIZE; ++tempOffset)\n\t\t\t\t{\n\t\t\t\t\ttemp[tempOffset] = bytes[byteOffset + tempOffset];\n\t\t\t\t\tsb.append(temp[tempOffset] + \", \");\n\t\t\t\t}\n\t\t\n\t\t\t\t//Declare block variable as PixyBlock. Send temp data to the method bytesToBlock \n\t\t\t\tPixyBlock block = bytesToBlock(temp); // make block = to method return.\n\t\t\t\t\n\t\t\t\t//Added so blocks are only added if their signature is 1 to remove noise from signal\n\t\t\t\tif (block.signature == 1)\n\t\t\t\t{\n\t\t\t\t\tpixyBlocks.add(block); //Store the whole block of data in pixyBlocks.\n\t\t\t\t\tbyteOffset += BLOCK_SIZE - 1; //syncword found subtract block size -1\n\t\t\t\t} else\n\t\t\t\t\t++byteOffset; //Found syncword but not for signature 1. add one try again.\n\t\t\t} else \n\t\t\t\t++byteOffset; //Did not find syncword try again.\n\t\t}\n\n\t\tif (pixyBlocks != null && pixyBlocks.size() > 0)\n\t\t{\n\t\t\tif (pixyBlocks.size() >= 2)\n\t\t\t{\n\t\t\t\tPixyBlock leftBlock;\n\t\t\t\tPixyBlock rightBlock;\n\t\t\t\tif (pixyBlocks.get(0).centerX > pixyBlocks.get(1).centerX)\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t{\n\t\t\t\t\tleftBlock = pixyBlocks.get(1);\n\t\t\t\t\trightBlock = pixyBlocks.get(0);\n\t\t\t\t} else\n\t\t\t\t{\n\t\t\t\t\tleftBlock = pixyBlocks.get(0);\n\t\t\t\t\trightBlock = pixyBlocks.get(1);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tdouble difference = (rightBlock.centerX + leftBlock.centerX) / 2;\n\t\t\t\t\n\t\t\t\tsetLastOffset(difference);\n\t\t\t\tdouble total = (rightBlock.centerX) - (leftBlock.centerX);\n\t\t\t\tgetDistance(total, difference);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tCenterX0 = pixyBlocks.get(0).centerX; \n\t\t\t\tCenterX1 = pixyBlocks.get(1).centerX;\n\t\t\t\tCenterY0 = pixyBlocks.get(0).centerY; \n\t\t\t\tCenterY1 = pixyBlocks.get(1).centerY;\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tSmartDashboard.putNumber(\"pixyCenterX0VisionBase\", CenterX0);\n\t\t\t\tSmartDashboard.putNumber(\"pixyCenterX1VisionBase \", CenterX1);\n\t\t\t\tSmartDashboard.putNumber(\"pixyCenterY0VisionBase\", CenterY0);\n\t\t\t\tSmartDashboard.putNumber(\"pixyCenterY1VisionBase\", CenterY1);\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\t//IMAGE_WIDTH = 320.0; 160 is the center of the image\n\t\t\t\tsetLastOffset(160); //Keeps robot going straight if nothing is picked up\n\t\t\t\t\n\t\t\t\t//Removed so pixy only outputs new offset if two blocks are found\n\t\t\t\t//setLastOffset(pixyBlocks.get(0).centerX);\n\t\t\t}\n\t\t} \n\t\telse\n\t\t{\n\t\t\tsetLastOffset(160); //Keeps robot going straight if nothing is picked up\n\t\t\tsetInRange(false);\n\t\t}\n\t\t\n\n\t\treturn pixyBlocks;\n\t}", "title": "" }, { "docid": "3440dd20dc85ec2926c5e14c077f8d50", "score": "0.4621042", "text": "int getBacktracksCount();", "title": "" }, { "docid": "1830bf76a46e89d6559c528fb6dcdb51", "score": "0.46182624", "text": "public void incrementShots() {\n\t\tshotsOnHole ++;\n\t}", "title": "" }, { "docid": "de64e6c3b556c96f82245202c6907009", "score": "0.46143824", "text": "@Override\r\n\tpublic int getImage() {\n\t\treturn Parametre.ARRIVE;\r\n\t}", "title": "" }, { "docid": "abb7e0e09cceb34e71cee8e096e9fe4c", "score": "0.46102074", "text": "public void getOccasionsStub(){\n //todo 1.3\n }", "title": "" }, { "docid": "4bf1f14fad8e575e9ed7a046cfa9ba96", "score": "0.45987254", "text": "public int getGrabYellowAmmos(){\n return grabYellowAmmos;\n }", "title": "" }, { "docid": "c1f533ac41b220017725844549d29401", "score": "0.45943305", "text": "public int getFace() {\n return _face;\n }", "title": "" }, { "docid": "555bccc1c0448d3e31d2ac4914e952de", "score": "0.4582437", "text": "public int getNumSheep(){\n return sheepArray.length;\n }", "title": "" }, { "docid": "1de46575af9e07fab86d66cfb981959a", "score": "0.45781192", "text": "public void fill_extra_deck_2(){\n vehics.add(new Vehicle(\"humanoid\", new CardEffect(0), new Texture(\"humanoid.jpg\"), 1, 0, 1000));\n vehics.add(new Vehicle(\"humanoid\", new CardEffect(0), new Texture(\"humanoid.jpg\"), 1, 0, 1000));\n vehics.add(new Vehicle(\"humanoid\", new CardEffect(0), new Texture(\"humanoid.jpg\"), 1, 0, 1000));\n }", "title": "" }, { "docid": "6a53cb2de60c7de0159f01c10902196a", "score": "0.4575948", "text": "private ArrayList<Integer> prepareSoundEffects(){\r\n ArrayList<Integer> _result = new ArrayList<Integer>();\r\n _result.add(R.raw.blop_new);\r\n _result.add(R.raw.bomb_exploding_new);\r\n _result.add(R.raw.woosh_new);\r\n return _result;\r\n }", "title": "" }, { "docid": "0e059b73916721568e24134d02058f21", "score": "0.45755008", "text": "long countByExample(CameraCatInfoExample example);", "title": "" }, { "docid": "a454cde7247dc20ba7c8fa62c538e514", "score": "0.45751363", "text": "@Field(47)\n public Pointer<Pix> pixdb_ave() {\n return this.io.getPointerField(this, 47);\n }", "title": "" }, { "docid": "f0c698d240f0ecc536f7cf46377dc26c", "score": "0.45713118", "text": "public void cameras() {\n\n }", "title": "" }, { "docid": "e806ce73651d9bc4980c0af200972d9c", "score": "0.45673007", "text": "public abstract long numSurface();", "title": "" }, { "docid": "e4e272e17ca5e2390ce565f7345729d2", "score": "0.45574042", "text": "public ArrayList<Frame> getFrames(ArrayList<Frame> frames){\n \t\treturn frames;\n \t}", "title": "" }, { "docid": "32b5543da50d2953a3d32223af07bce5", "score": "0.45524275", "text": "public void fill_extra_deck_1(){\n vehics.add(new Vehicle(\"warmotocycle\", new CardEffect(0), new Texture(\"warmotocycle.jpg\"), 1, 1, 1000));\n vehics.add(new Vehicle(\"armoredcar\", new CardEffect(0), new Texture(\"armoredcar.jpg\"), 2, 2, 2000));\n vehics.add(new Vehicle(\"lizardtank\", new CardEffect(0), new Texture(\"lizardtank.jpg\"), 3, 3, 3000));\n //vehics.add(new Vehicle(\"vehic4\", new CardEffect(0), new Texture(\"demominion2.jpg\"), 4, 4, 4000));\n }", "title": "" }, { "docid": "6e5508962350ff9424d637f979242fe8", "score": "0.45506257", "text": "public int getSamples();", "title": "" }, { "docid": "6b03fe48742e4c61e5506306a246e51c", "score": "0.4549103", "text": "public static void testZeroBlue()\r\n {\r\n Picture beach = new Picture(\"beach.jpg\");\r\n beach.explore();\r\n beach.zeroBlue();\r\n beach.explore();\r\n }", "title": "" }, { "docid": "a3d25dd3d4389077ccc6443f3762f4a6", "score": "0.454726", "text": "protected int known(){\n\treturn this.knownCards.size(); \n }", "title": "" }, { "docid": "2400a9a9ae547099d7c44f1641b2d573", "score": "0.4543431", "text": "public int getShot() {\n\t\t\n\t\treturn shot; \n\t\t\n\t}", "title": "" }, { "docid": "745d1db0de5ca128c5fd9ef85fd8f773", "score": "0.45412487", "text": "int sizeOfRespRateArray();", "title": "" }, { "docid": "f0a221f3a4aff14ac970b7c42b7243fc", "score": "0.45395732", "text": "java.util.List<com.funcy.g01.base.proto.bo.GlobalBoProtoBuffer.FrameVoProto> \n getPhotoFramesList();", "title": "" }, { "docid": "1fac0088ca4dc67de5f1df3bfc24486a", "score": "0.45371684", "text": "public Clip getClip(){\r\n return clip;\r\n }", "title": "" }, { "docid": "f072d03c128f2f96f4cc9a84621b9d20", "score": "0.45350993", "text": "public int getNumCards(){\n return numCards;\n }", "title": "" }, { "docid": "3b0dc51e5e7dabbd17963ecda8eeb751", "score": "0.45335147", "text": "int countByExample(ContentReplayExample example);", "title": "" }, { "docid": "21be10136675dc5d31af1cf41fd7ff99", "score": "0.45323586", "text": "public int getRepeticiones(){\n return repeticiones;\n }", "title": "" }, { "docid": "c7b4137262302e515d094864098decf0", "score": "0.45307338", "text": "int getSpectrumCount();", "title": "" }, { "docid": "b8e7decdf6111d9326d533a5ae0598b4", "score": "0.45303112", "text": "com.ljh.gamedemo.proto.protoc.GoodsProto.Goods getGoods(int index);", "title": "" }, { "docid": "eba4a0ff017ea39e79a60ebbc22210bb", "score": "0.45232382", "text": "public int getAnimFrames(){\n return animFrames;\n }", "title": "" }, { "docid": "23566afab6b91ee50ded91d9ad7ad0ff", "score": "0.45231906", "text": "public static int getShapes() {//method header\r\n\t\treturn numOfShapes;\r\n\t}", "title": "" }, { "docid": "0ce45385ee0039b05ae440426f78103f", "score": "0.45169744", "text": "public int getType () {return kMonochromeInput;}", "title": "" }, { "docid": "03bb5c4caefd2d20fcf7e30ec941f1fd", "score": "0.4515687", "text": "int countByExample(WxmpExample example);", "title": "" }, { "docid": "5f8b0ad755bc811bd472a5131f68c613", "score": "0.45141274", "text": "void imagesReceived(HashMap images);", "title": "" }, { "docid": "00a6d0873a2479dcb61995a181e132fb", "score": "0.45128852", "text": "Bitmap getg1hero(){\n return heroFront;\n }", "title": "" } ]
ef8a474544d8ab3276c7faeef9156ff2
A method that verifies a signature.
[ { "docid": "a3496fd2ffbbb9a3a4cbafdb2732bfba", "score": "0.7474153", "text": "@FunctionalInterface\npublic interface SignatureVerifier {\n\n /**\n * Check if a signature is valid.\n *\n * @param signature the signature to check\n * @param bytes the data that was signed\n * @param publicKey the public key corresponding to the private key that signed the data\n * @return true if the signature is valid, false otherwise\n */\n boolean verifySignature(@NonNull Signature signature, @NonNull byte[] bytes, @NonNull PublicKey publicKey);\n}", "title": "" } ]
[ { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "32108f50e8d6937c9bc2ae1e6db3c331", "score": "0.74085665", "text": "boolean hasSignature();", "title": "" }, { "docid": "20b968b52b56253c2e3f1ec0116ce513", "score": "0.713781", "text": "public boolean isSignatureOK();", "title": "" }, { "docid": "3645ca3cc2e62d4d95c15ca41be1e1eb", "score": "0.7029484", "text": "boolean verifySignature(@NonNull Signature signature, @NonNull byte[] bytes, @NonNull PublicKey publicKey);", "title": "" }, { "docid": "09c7c9098e3774cb65d2286017d692a0", "score": "0.6918203", "text": "boolean verify(T object, byte[] sigBytes) throws SignatureFaultException;", "title": "" }, { "docid": "83b814806b06c3c354856eba6de35eee", "score": "0.6713904", "text": "public boolean verifySignature(Axiom axiom){\r\n //use axiom to verify signature.\r\n verified = axiom.verifySignature(this);\r\n return verified;\r\n }", "title": "" }, { "docid": "d28566a275559431f7fa6bba8437a018", "score": "0.6630515", "text": "@Override\n public boolean verifySignature() {\n if (super.verifySignature())\n return true;\n\n // Revocation unused (see above)\n boolean signedByRevoker = DSAEngine.getInstance().verifySignature(_signature, getBytes(), _signingKey);\n return signedByRevoker;\n }", "title": "" }, { "docid": "04a575f2ebdfb3c26114ff27c854bb81", "score": "0.6623868", "text": "boolean hasYaraRuleSignature();", "title": "" }, { "docid": "9f71fc40bc1469612db84d875b8c004c", "score": "0.661708", "text": "public void testSuccessCase() {\n assertTrue(verifier.verifySignature(\"nb42cSRCYM7jf7ZRCrLZ6e9d8p4=\", \"Arbitrary String\"));\n }", "title": "" }, { "docid": "3e9c1750344482db05f208967d95aa26", "score": "0.6597978", "text": "public interface SignatureHelper<T> {\n\n /**\n * Returns an array of bytes representing the signature of an object\n *\n * @param object\n * @throws SignatureFaultException if any issue happens in generating the\n * signature\n */\n byte[] sign(T object) throws SignatureFaultException;\n\n /**\n * Verifies the integrity of the specified object using the given\n * signature.\n *\n * @param object\n * @param sigBytes signature to be verified\n * @return true if the signature was verified, false if not.\n * @throws SignatureFaultException f a configuration problem prevented\n * signature verification from being performed\n */\n boolean verify(T object, byte[] sigBytes) throws SignatureFaultException;\n}", "title": "" }, { "docid": "433e1b6cf4762e6de807f7f6c28149fd", "score": "0.6577532", "text": "private boolean verifyMethodSignature( final Element element ) {\n // Assume the method is a proper action method until proven not.\n final ExecutableType type = (ExecutableType) element.asType();\n\n // Check modifiers\n if (!element.getModifiers().containsAll( EXPECTED_METHOD_MODIFIERS )) {\n processingEnv.getMessager().printMessage( Diagnostic.Kind.ERROR,\n \"Signature error: @OpenwhiskAction annotation only applies to methods with modifiers: public static\",\n element );\n return false;\n }\n\n\n // Check return type\n if (!JSON_OBJECT.equals( type.getReturnType().toString() )) {\n processingEnv.getMessager().printMessage( Diagnostic.Kind.ERROR,\n \"Signature error: @OpenwhiskAction annotation only applies to methods returning a JsonObject\",\n element );\n return false;\n }\n\n // Check signature argument\n if (type.getParameterTypes().size() != 1) {\n processingEnv.getMessager().printMessage( Diagnostic.Kind.ERROR,\n \"Signature error: @OpenwhiskAction annotation only applies to methods with a single argument\",\n element );\n return false;\n }\n if (!JSON_OBJECT.equals( type.getParameterTypes().get( 0 ).toString() )) {\n processingEnv.getMessager().printMessage( Diagnostic.Kind.ERROR,\n \"Signature error: @OpenwhiskAction annotation only applies to methods with a single JsonObject argument\",\n element );\n return false;\n }\n\n return true;\n }", "title": "" }, { "docid": "6250bff525c545fe90bc3986f47bf040", "score": "0.6441404", "text": "public void verify(JSONSignatureTypes signatureType) throws IOException {\n verify(new JSONVerifier(signatureType) {\n private static final long serialVersionUID = 1L;\n\n @Override\n void verify(JSONSignatureDecoder signatureDecoder) throws IOException {\n }\n });\n }", "title": "" }, { "docid": "6097f4c4cf61022d1e8809e4ae85c692", "score": "0.6432805", "text": "boolean verify(String signedText, String plainText) throws NoSuchAlgorithmException, InvalidKeyException, SignatureException;", "title": "" }, { "docid": "08fb94d965647683f0973f473b928b41", "score": "0.62540877", "text": "private boolean verifySignature(byte[] data, byte[] signature, String keyFile) throws Exception {\n Signature sig = Signature.getInstance(\"SHA1withRSA\");\n sig.initVerify(getPublic(keyFile));\n sig.update(data);\n\n return sig.verify(signature);\n }", "title": "" }, { "docid": "986b56e2d31da21a1de01aeb2d7110d7", "score": "0.621192", "text": "void verify();", "title": "" }, { "docid": "b1f45dfa8b5599d8850ec186f62d26f3", "score": "0.6206384", "text": "Signature createSignature();", "title": "" }, { "docid": "b2e173ddb56b7520a1117f4d3e2e3d1f", "score": "0.6111426", "text": "protected boolean verifySignature(HttpServletRequest req) {\n return verifySignature(req, SignatureKeyType.INTERNAL_API);\n }", "title": "" }, { "docid": "b386d57f8d8d2ce3c328330c3e8b082c", "score": "0.6107187", "text": "private boolean trySignature(String buf, String headerSignature, SignatureKeyType type) {\n String signature = _keyGenerator.sign(buf.toString(), type);\n _log.debug(\"signature: \" + (signature != null ? signature : \"null\"));\n _log.debug(\"headerSignature: \" + (headerSignature != null ? headerSignature : \"null\"));\n if (StringUtils.isNotBlank(headerSignature) && StringUtils.isNotBlank(signature) &&\n headerSignature.equals(signature)) {\n return true;\n }\n return false;\n }", "title": "" }, { "docid": "5f11aead5c114912fb61783ae97a04b7", "score": "0.61037", "text": "private boolean isSignature(String line) {\n\t\treturn FR_SIG_PATTERN.matcher(line).find() || FR_SIG_PATTERN2.matcher(line).find()\n\t\t\t\t|| EN_SIG_PATTERN.matcher(line).find();\n\n\t}", "title": "" }, { "docid": "842587e9307389a1f6bf1f1bdb2274fa", "score": "0.6068306", "text": "public abstract boolean verify();", "title": "" }, { "docid": "d39d7d83d68070951e37b5d4fb8c94d2", "score": "0.60380423", "text": "public boolean verifiySignature() {\n\t\tString data = WalletUtility.getStringFromKey(sender) + WalletUtility.getStringFromKey(receiver) + ad;\n\t\treturn TransactionUtility.verifySignature(sender, data, signature);\n\t}", "title": "" }, { "docid": "f5f85f6d6c514a79cd41aac3f38d5d19", "score": "0.60343105", "text": "boolean hasServerSignature();", "title": "" }, { "docid": "d06236e6f09e8655a84af9e4eba1e6f7", "score": "0.603263", "text": "protected boolean verifySignature(HttpServletRequest req, SignatureKeyType type) {\n // To Do - add more fields to signature\n StringBuilder buf = new StringBuilder(req.getRequestURL().toString().toLowerCase());\n if (req.getQueryString() != null) {\n buf.append(\"?\" + req.getQueryString().toLowerCase());\n }\n String timestamp = req.getHeader(INTERNODE_TIMESTAMP);\n if (timestamp != null && !timestamp.isEmpty()) {\n buf.append(req.getHeader(INTERNODE_TIMESTAMP));\n } else {\n return false;\n }\n _log.debug(\"buf: \" + buf.toString());\n String headerSignature = req.getHeader(INTERNODE_HMAC);\n if (!trySignature(buf.toString(), headerSignature, type)) {\n _log.info(\"Failed with signature key type {}. Reloading cached keys and trying again\", type.toString());\n _keyGenerator.loadKeys();\n return trySignature(buf.toString(), headerSignature, type);\n }\n return true;\n }", "title": "" }, { "docid": "da4ada711f558ba9553627f40c70c7c8", "score": "0.6026718", "text": "public interface Signature {\n\n /**\n * Returns true if the signatures are equal, false otherwise.\n *\n * @param _o the signature to compare with\n * @return a boolean.\n */\n public boolean equals(Object _o);\n\n /**\n * Returns a short (perhaps compressed) JSON representation of the signature, to be uploaded to the central Vulas engine.\n * The reason to have a short representation is that we need to upload and store signatures for all applications and dependencies analyzed.\n * Moreover, it would be very good to create a representation that can be compared also on server-side, e.g., by means of SQL statements or stored procedures.\n *\n * @return a {@link java.lang.String} object.\n */\n public String toJson();\n\n /**\n * <p>toString.</p>\n *\n * @return String representation of signature\n */\n public String toString();\n}", "title": "" }, { "docid": "02333562a57a2032b7d8133bfc74f13f", "score": "0.60029745", "text": "boolean hasSenderSignature();", "title": "" }, { "docid": "02333562a57a2032b7d8133bfc74f13f", "score": "0.60029745", "text": "boolean hasSenderSignature();", "title": "" }, { "docid": "c74933b8ed46535f29e43801f57f704a", "score": "0.5997977", "text": "public static boolean verifySignature(byte[] data, byte[] signature, PublicKey key) throws Exception {\n Signature sig = Signature.getInstance(\"SHA1withRSA\");\n sig.initVerify(key);\n sig.update(data);\n return sig.verify(signature);\n }", "title": "" }, { "docid": "59aae51f7b9b522edebf9a1a9ca4dfb6", "score": "0.59656066", "text": "boolean verify();", "title": "" }, { "docid": "a97c742515b8e81aa12b9a2acbc12a85", "score": "0.59567195", "text": "private static boolean verifyMessage(byte[] publicKey, byte[] message, byte[] signature) {\n // mock functionality (first milestone) - third byte of signature must to be 11 to pass verification\n if (signature[2] == 11) {\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "07fe1df27afe416ed93cdb9539c290cd", "score": "0.59504", "text": "public boolean validate(byte data[], byte[] signature, String userId);", "title": "" }, { "docid": "a0e98a0cbffb798b33b0d9ab9146106e", "score": "0.5919803", "text": "public static boolean verifySignature (byte[] data, byte[] signature, PublicKey publicKey) {\n try {\n Signature verifier = Signature.getInstance(\"SHA256withRSA\", \"BC\");\n verifier.initVerify(publicKey);\n verifier.update(data);\n return verifier.verify(signature);\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n return false;\n }", "title": "" }, { "docid": "fcc1878d09ed48db14597ae14b92a457", "score": "0.5915722", "text": "public String getSignature();", "title": "" }, { "docid": "001fd3cef71f4a7098368f0feeb97db8", "score": "0.58683777", "text": "public boolean verifySignature(String signatureToBeVerified, String hashAlgorithm)\n\t\t\tthrows NoSuchAlgorithmException, SignatureGenerationException {\n\t\tString sourceSignature = this.generateSignature(hashAlgorithm);\n\t\tif (sourceSignature.equals(signatureToBeVerified)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "title": "" }, { "docid": "8f15c494a5098a63d1d4f83c008bf3ef", "score": "0.58371556", "text": "boolean hasHandshakeSignature();", "title": "" }, { "docid": "efddedba54350cddba7c3ac847080f14", "score": "0.58319277", "text": "public static Boolean verifySignatureOfDoc(Path path, PublicKey key, byte[] signature) {\n\t\tSystem.out.println(\"Verify the signature of the file:\");\n\t\ttry {\n\t\t\tbyte[] data = Files.readAllBytes(path);\n\t\t\t\n\t\t\tSignature ecdsaVerify = Signature.getInstance(\"ECDSA\");\n\t\t\tecdsaVerify.initVerify(key);\n\t\t\tecdsaVerify.update(data);\n\t\t\t\n\t\t\treturn ecdsaVerify.verify(signature);\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "87346efa5c9cebd080c037c430529dfe", "score": "0.5819982", "text": "public boolean isSignatureValid() {\n\t\treturn isTrusted() || signatureValid;\n\t}", "title": "" }, { "docid": "5afc9a4aaa4de463d103c654b4d0cd11", "score": "0.5768982", "text": "public void setSignatureOk(boolean a_ok);", "title": "" }, { "docid": "8858902237152e31de3b39f18cd2b99d", "score": "0.5727169", "text": "public boolean verifySignature() {\n\t\ttry {\n\t\t\treturn Resources.verifyDigitalSignature(this.signature, this.serialize(), this.senderCertificate.getPublicKey());\n\t\t} catch (Exception e) {\n\t\t\treturn false;\n\t\t} // message was not signed by sender\n\t}", "title": "" }, { "docid": "dc9e75aa27c70a2c6a1ee77828c66f2c", "score": "0.57246065", "text": "private Boolean verifySignature(PublicKey publicKey, String fileName, Properties prop){\n\t\ttry {\n\t\t\t//get the Signature from the properties object\n\t\t\tString hexSignature = prop.getProperty(\"signature\");\n\t\t\tbyte[] sig = hexStringToByteArray(hexSignature);\n\t\t\t\t\t\n\t\t\t// creating the Signature object\n\t\t\tSignature signature = Signature.getInstance(\"SHA256withRSA\");\n\t\t\t\n\t\t\t// Initializing the object with the public key\n\t\t\tsignature.initVerify(publicKey);\n\t\t\t\n\t\t\t// read the provided file in sessions \n\t\t\tFileInputStream fis = new FileInputStream(fileName);\n\t\t\tBufferedInputStream bufin = new BufferedInputStream(fis);\n\t\t\tbyte[] buffer = new byte[1024];\n\t\t\tint len;\n\t\t\t\n\t\t\t// verify the file and update with each session\n\t\t\twhile ((len = bufin.read(buffer)) >= 0) {\n\t\t\t\tsignature.update(buffer, 0, len);\n\t\t\t}\n\t\t\t\n\t\t\tbufin.close();\n\t\t\t\n\t\t\t// get the answer (true/false)\n\t\t\tboolean verifies = signature.verify(sig);\n\t\t\t\n\t\t\tSystem.out.println(\"\\nfile: \\\"\" + fileName + \"\\\" has went through signature verification\");\n\t\t\t\n\t\t\treturn verifies;\n\t\t\t\n\t\t} catch (NoSuchAlgorithmException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (InvalidKeyException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SignatureException e) {\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\n\t}", "title": "" }, { "docid": "a9ebe9531a209cd8ddcfb3f81e67ae93", "score": "0.57218534", "text": "NativeLong C_Verify\n (\n NativeLong hSession, /* the session's handle */\n byte[] pData, /* signed data */\n NativeLong ulDataLen, /* length of signed data */\n byte[] pSignature, /* signature */\n NativeLong ulSignatureLen /* signature length*/\n );", "title": "" }, { "docid": "5f5e481df04f04197c82f1a9ef3d16ed", "score": "0.5718457", "text": "public boolean verifyMessage(String responseBody, String signature) {\r\n\t\tString calculatedHash = HmacUtils.hmacSha1Hex(apikey, responseBody).toUpperCase();\r\n\t\treturn calculatedHash.equalsIgnoreCase(signature);\r\n\t}", "title": "" }, { "docid": "f9a3c1f7c2ba2e5a0201b53aab5852dc", "score": "0.5710535", "text": "private static void verifySignature(String fileName, InputStream in, InputStream keyIn) throws Exception {\n\t\tin = PGPUtil.getDecoderStream(in);\n\n\t\tPGPObjectFactory pgpFact = new PGPObjectFactory(in);\n\t\tPGPSignatureList p3 = null;\n\n\t\tObject o = pgpFact.nextObject();\n\t\tif (o instanceof PGPCompressedData) {\n\t\t\tPGPCompressedData c1 = (PGPCompressedData) o;\n\n\t\t\tpgpFact = new PGPObjectFactory(c1.getDataStream());\n\n\t\t\tp3 = (PGPSignatureList) pgpFact.nextObject();\n\t\t} else {\n\t\t\tp3 = (PGPSignatureList) o;\n\t\t}\n\n\t\tPGPPublicKeyRingCollection pgpPubRingCollection = new PGPPublicKeyRingCollection(\n\t\t\t\tPGPUtil.getDecoderStream(keyIn));\n\n\t\tInputStream dIn = new FileInputStream(fileName);\n\t\tint ch;\n\n\t\tPGPSignature sig = p3.get(0);\n\t\tPGPPublicKey key = pgpPubRingCollection.getPublicKey(sig.getKeyID());\n\n\t\tsig.initVerify(key, \"BC\");\n\n\t\twhile ((ch = dIn.read()) >= 0) {\n\t\t\tsig.update((byte) ch);\n\t\t}\n\n\t\tif (sig.verify()) {\n\t\t\tSystem.out.println(\"signature verified.\");\n\t\t} else {\n\t\t\tSystem.out.println(\"signature verification failed.\");\n\t\t}\n\t}", "title": "" }, { "docid": "6504db551d0073d06b30e54e2c2d9b9b", "score": "0.56966764", "text": "public static void verifySignature(VSignature sig, ECPublicKey key, byte[] message)\n throws VException {\n String vHashAlgorithm = sig.getHash().getValue();\n String verifyAlgorithm = CryptoUtil.javaSigningAlgorithm(vHashAlgorithm);\n try {\n message = CryptoUtil.messageDigest(vHashAlgorithm, message, sig.getPurpose(), key);\n byte[] jSig = CryptoUtil.javaSignature(sig);\n java.security.Signature verifier = java.security.Signature.getInstance(verifyAlgorithm);\n verifier.initVerify(key);\n verifier.update(message);\n if (!verifier.verify(jSig)) {\n throw new VException(\"Signature doesn't verify.\");\n }\n } catch (NoSuchAlgorithmException e) {\n throw new VException(\"Verifying algorithm \" + verifyAlgorithm +\n \" not supported by the runtime: \" + e.getMessage());\n } catch (InvalidKeyException e) {\n throw new VException(\"Invalid private key: \" + e.getMessage());\n } catch (SignatureException e) {\n throw new VException(\n \"Invalid signing data [ \" + Arrays.toString(message) + \" ]: \" + e.getMessage());\n }\n }", "title": "" }, { "docid": "fe6e76b840c6119c8e840a8af695b2f9", "score": "0.56630397", "text": "void verify(T actual);", "title": "" }, { "docid": "3742a8a6d12ff069e33eaf78cf60f261", "score": "0.56557363", "text": "private static boolean checkSignature(byte[] data, int offset, byte[] sig) {\n\t\ttry {\n\t\t\tfor (int i=offset; i< offset + sig.length; i++) {\n\t\t\t\tif (data[i] != sig[i-offset]) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} catch (NullPointerException e) {\n\t\t\treturn false;\n\t\t}\n\t}", "title": "" }, { "docid": "a28fa0a73d0b1e95f00f3c18ce82bb3d", "score": "0.5646518", "text": "public boolean validate(byte[] data, byte[] signature, byte[] userPKC);", "title": "" }, { "docid": "1b807a6fa839c4eeddf476e5725655c8", "score": "0.56267065", "text": "@Test\n public void testVerifySignature() throws IOException, URISyntaxException {\n String publicKeyPem = Utils.read(\"C:\\\\Users\\\\Duc\\\\OneDrive - ptit.edu.vn\\\\12_Thesis\\\\Openssl_Key\\\\publicKey.pem\");\n // openssl dgst -sha256 -sign privateKey.pem -out signature.binary message.txt\n ByteString signatureBin = new ByteString(Utils.readBytes(\"C:\\\\Users\\\\Duc\\\\OneDrive - ptit.edu.vn\\\\12_Thesis\\\\Openssl_Key\\\\signatureBinary.txt\"));\n\n String message = Utils.read(\"C:\\\\Users\\\\Duc\\\\OneDrive - ptit.edu.vn\\\\12_Thesis\\\\Openssl_Key\\\\Doc.txt\");\n\n PublicKey publicKey = PublicKey.fromPem(publicKeyPem);\n\n Signature signature = Signature.fromDer(signatureBin);\n\n assertTrue(Ecdsa.verify(message, signature, publicKey));\n }", "title": "" }, { "docid": "ab520d61897af058d64a8c59de15c0e7", "score": "0.5605739", "text": "@java.lang.Override\n public boolean hasYaraRuleSignature() {\n return signatureCase_ == 7;\n }", "title": "" }, { "docid": "5ac8f92754cc2d80b3ab959baefc2808", "score": "0.55956084", "text": "cn.bubi.blockchain.adapter3.Common.Signature getSignature();", "title": "" }, { "docid": "f89cec4b31d54135fa4d502d0080a870", "score": "0.5593764", "text": "public boolean verifySignature(String signedFilePath, String originalFilePath, PublicKey publicKey) throws Exception{\r\n boolean isVerified = false;\r\n Utils.encryptLogger.info(\"Reading signature as bytes from: \" + signedFilePath);\r\n byte[] data = Files.readAllBytes(Paths.get(signedFilePath));\r\n Utils.encryptLogger.info(\"Initializing signature instance with:\\n\" +\r\n \"Algorithm: \" + Utils.SIGNATURE_ALGORITHM +\r\n \"Public Key: \" + publicKey);\r\n Signature signature = Signature.getInstance(Utils.SIGNATURE_ALGORITHM);\r\n signature.initVerify(publicKey);\r\n signature.update(Files.readAllBytes(Paths.get(originalFilePath)));\r\n Utils.encryptLogger.info(\"Verifying signature...\");\r\n isVerified = signature.verify(data);\r\n Utils.encryptLogger.info(\"Signature verification result = \" + isVerified);\r\n\r\n return isVerified;\r\n }", "title": "" }, { "docid": "b3fab789ab91faceecf97fcefa7e6095", "score": "0.55795", "text": "boolean hasNodeSignature();", "title": "" }, { "docid": "e120ca40987b1740aefeeaf7a54e4020", "score": "0.5564558", "text": "cn.bubi.blockchain.adapter3.Common.SignatureOrBuilder getSignatureOrBuilder();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "7705cc12f5155aac3f80dcf2975433a1", "score": "0.55518013", "text": "com.google.protobuf.ByteString getSignature();", "title": "" }, { "docid": "9a10c7872871330a56786a27b9a0f110", "score": "0.5550842", "text": "@Override\n\tpublic boolean abilitySignature(Event ev) {\n\t\treturn true;\n\t\t\n\t}", "title": "" }, { "docid": "37abf1aa7ca3e85ec976382e30b35116", "score": "0.5528198", "text": "public interface ISignatureRequest {\n void requestSignatureToken(String grant_type, String client_id, String client_secret, Handler\n handler, int flag);\n\n void requestSignatureString(String access_token, String image, Handler\n handler, int flag);\n}", "title": "" }, { "docid": "8ee06dd5a799e1846b5254831dd52924", "score": "0.55229807", "text": "public boolean match(Signature signature){\n\t\t// if different length they don't match;\n\t\tif (signature == null || this.signatureBitmap.size() != signature.length())\n\t\t\treturn false;\n\n\t\t\n\t\treturn signature.equals(this);\n\t}", "title": "" }, { "docid": "3b76d83e9780999be847f27225559705", "score": "0.55218166", "text": "@java.lang.Override\n public boolean hasYaraRuleSignature() {\n return signatureCase_ == 7;\n }", "title": "" }, { "docid": "786a3181b6885aa037126ecf02ab96e7", "score": "0.5516003", "text": "@Override\r\n\tprotected boolean verify(String secretKey) {\n\t\treturn MD5Util.verify(this.json, getData(\"sign\"), secretKey, \"utf-8\");\r\n\t}", "title": "" }, { "docid": "0806d6dc35ac04b4b0814c5f612139a3", "score": "0.5483518", "text": "public boolean checkSignature(byte[] content, byte[] signature)\r\n\t\t\tthrows NoSuchAlgorithmException, PaddingException {\r\n\t\t// TODO: Implement me!\r\n\t\tMessageDigest md = MessageDigest.getInstance(\"SHA-256\");\r\n\t\tmd.update(content);\r\n\t\tbyte[] my_signature = md.digest();\r\n\t\r\n\t\tif (my_signature.length != signature.length)\r\n\t\t\treturn false;\r\n\r\n\t\tfor (int i = 0; i < signature.length; i++) {\r\n\t\t\tif (my_signature[i] != signature[i])\r\n\t\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "90b6e6c55b22e4c6ff470b4e63355c39", "score": "0.5474846", "text": "public void verify(byte[] data, byte[] signature) throws TokenException {\n pkcs11Module_.C_Verify(sessionHandle_, data, signature);\n }", "title": "" }, { "docid": "7b85f36cb04ce1bf2b9f3e31060e9632", "score": "0.54603904", "text": "java.lang.String getServerSignature();", "title": "" }, { "docid": "df9281c3ec201a5d31d77f2287b03ffd", "score": "0.5441178", "text": "boolean hasMemoryHashSignature();", "title": "" }, { "docid": "0ea37a1fb73afa8a0771612f9b9ac16a", "score": "0.5431795", "text": "@Deprecated\n public boolean verifySignature(SigningPublicKey signingKey) {\n if (super.verifySignature())\n return true;\n\n // Revocation unused (see above)\n boolean signedByRevoker = DSAEngine.getInstance().verifySignature(_signature, getBytes(), signingKey);\n return signedByRevoker;\n }", "title": "" }, { "docid": "4c2e5c613459230bf0e84db7d00d5ef7", "score": "0.5409495", "text": "boolean hasSignInfo();", "title": "" }, { "docid": "4c2e5c613459230bf0e84db7d00d5ef7", "score": "0.5409495", "text": "boolean hasSignInfo();", "title": "" }, { "docid": "4c2e5c613459230bf0e84db7d00d5ef7", "score": "0.5409495", "text": "boolean hasSignInfo();", "title": "" }, { "docid": "4c2e5c613459230bf0e84db7d00d5ef7", "score": "0.5409495", "text": "boolean hasSignInfo();", "title": "" }, { "docid": "4c2e5c613459230bf0e84db7d00d5ef7", "score": "0.5409495", "text": "boolean hasSignInfo();", "title": "" }, { "docid": "c9bcd07d9e39e175e581c6ee28e48b9b", "score": "0.540805", "text": "public boolean hasSignature() {\n return signature_ != null;\n }", "title": "" }, { "docid": "790edb93f5d2626a24a8ad0f74f09811", "score": "0.54002136", "text": "public boolean isSignatureValid(HashToPublicKeyTransaction tx){\n\t\treturn tx.signature!=null && tx.signature.getBytes().length!=0;\n\t}", "title": "" }, { "docid": "fdf26a57b21cf82d52cac03825600135", "score": "0.53754485", "text": "@Override\n\tpublic Boolean verify(byte[] message, byte[] signature) {\n\t\tbyte[] leftSide = toByteArray(publicKey.getG().modPow(toBigInt(hash(message)),publicKey.getP()));\n\t\t\n\t\t// filtering r and s out of the signature\n\t\tbyte[] p1=new byte[signature.length/2];\n\t\tbyte[] p2 =new byte[signature.length/2];\n\t\t\n\t\tSystem.arraycopy(signature, 0, p1, 0, p1.length);\n\t\tSystem.arraycopy(signature, p1.length, p2, 0, p2.length);\n\t\t\n\t\tBigInteger r,s;\n\t\tr=toBigInt(p1);\n\t\ts=toBigInt(p2);\n\t\t\n\t\t// if 0 < r < p is not given, then the signature gets rejected\n\t\tif(r.compareTo(ZERO)<=0||r.compareTo(publicKey.getP())>=0) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\t// if 0 < s < p-1 is not given, then the signature gets rejected\n\t\tif(s.compareTo(ZERO)<=0||s.compareTo(publicKey.getP().subtract(ONE))>=0) {\n\t\t\treturn false;\n\t\t}\n\t\t\n\t\tBigInteger yr, rs,yrrs;\n\t\t\n\t\t// yr = e^r (mod p)\n\t\tyr=publicKey.getE().modPow(r, publicKey.getP());\n\t\t\n\t\t// rs = r^s (mod p)\n\t\trs=r.modPow(s,publicKey.getP());\n\t\t\n\t\t// yrrs = e^r * r^s\n\t\tyrrs=yr.multiply(rs);\n\t\t\n\t\t// rightSide = yrrs\n\t\tbyte[] rightSide = toByteArray(yrrs.mod(publicKey.getP()));\n\n\t\t// if g^H(m) = e^r * r^s (mod p) is not given, then the signature gets rejected\n\t\treturn Arrays.equals(leftSide, rightSide);\n\t}", "title": "" }, { "docid": "8547c4ca9bd1b5103e399985ae8f6447", "score": "0.536592", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "8547c4ca9bd1b5103e399985ae8f6447", "score": "0.536592", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "8547c4ca9bd1b5103e399985ae8f6447", "score": "0.536592", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "a04a6bf814a0bf91b2afc39e153aa759", "score": "0.53630877", "text": "public interface AccessTokenVerifier {\n\n boolean isValid(AccessToken accessToken);\n}", "title": "" }, { "docid": "2b163f6650b421f5b7669b27e247ed58", "score": "0.5345185", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2b163f6650b421f5b7669b27e247ed58", "score": "0.5345185", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "2b163f6650b421f5b7669b27e247ed58", "score": "0.5345185", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "title": "" }, { "docid": "f79551c765cd6d15849527cdbf085839", "score": "0.5328566", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "2d2bfd3770ab2b639cbdbf3d9bc08d9a", "score": "0.5328441", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000008) != 0);\n }", "title": "" }, { "docid": "5f7da411f5c2878cdba8c2235bc2fede", "score": "0.5310784", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000008) != 0);\n }", "title": "" }, { "docid": "3f9965de087c07dca9bbe41baabffafd", "score": "0.5310094", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "773cadc61288be9cc86f042c9510b9f6", "score": "0.52966845", "text": "public boolean checkSignature(byte[] content, byte[] signature)\r\n\t\t\tthrows NoSuchAlgorithmException, PaddingException {\r\n\t\t//Generate a signature over the content and compare with the given one\r\n\t\tbyte[] newSignature = generateSignature(content);\r\n return Arrays.equals(newSignature, signature);\r\n\t}", "title": "" }, { "docid": "ef9da0ad13664d726fce218caee0cf1c", "score": "0.5287419", "text": "boolean hasNumenaRootSignature();", "title": "" }, { "docid": "2897f79153db84f22bddbf5c73fa3c3e", "score": "0.5276977", "text": "private boolean areSignaturesValid(Transaction tx) {\n\t\tbyte[] msg;\n\t\tbyte[] sig;\n\t\tboolean isValidSig;\n\t\tfor (int i = 0; i < tx.numInputs(); i++) {\n\t\t\t// get raw message(data)\n\t\t\tmsg = tx.getRawDataToSign(i);\n\n\t\t\t// get signature\n\t\t\tTransaction.Input in = tx.getInput(i);\n\t\t\tsig = in.signature;\n\n\t\t\t// get public key\n\t\t\tUTXO prevUTXO = new UTXO(in.prevTxHash, in.outputIndex);\n\t\t\tTransaction.Output prevTxOp = my_ledger.getTxOutput(prevUTXO);\n\t\t\tRSAKey pKey = prevTxOp.address;\n\n\t\t\t// validate the signature\n\t\t\tisValidSig = pKey.verifySignature(msg, sig);\n\t\t\tif (!isValidSig) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "d5669f3bf9a136573db6b37a50621aad", "score": "0.5273955", "text": "public boolean hasSignature() {\n return ((bitField0_ & 0x00000002) == 0x00000002);\n }", "title": "" }, { "docid": "673f67b1f9cc3cd3a56f065e5f14a093", "score": "0.5265642", "text": "@Override\r\n\t\t\t\tpublic void verify(String arg0, String[] arg1, String[] arg2) throws SSLException {\n\r\n\t\t\t\t}", "title": "" } ]
48a6dd3f288696be404795b2217b56e6
Constructor this runs first
[ { "docid": "56ea7df2b69bdc24c0411a02b09c5c3e", "score": "0.0", "text": "CharacterSelect() { \r\n super(\"Character Select\");\r\n this.thisFrame = this; \r\n \r\n //configure the window\r\n this.setSize(1800,900); \r\n this.setLocationRelativeTo(null); //start the frame in the center of the screen\r\n this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); \r\n this.setResizable (false);\r\n \r\n //Display the frame without border and invisible\r\n this.setUndecorated(true);\r\n setBackground(new Color(0,0,0,0));\r\n \r\n \r\n \r\n //Create a Panel for stuff\r\n JPanel decPanel = new DecoratedPanel();\r\n decPanel.setBorder(new EmptyBorder(0, 0, 1800, 0));\r\n\r\n \r\n JPanel mainPanel = new JPanel();\r\n mainPanel.setLayout(new BorderLayout());\r\n mainPanel.setBackground(new Color(0, 0, 0, 0));\r\n mainPanel.setPreferredSize(new Dimension(1800,900));\r\n \r\n \r\n //Create a JButton for the bottomPanel\r\n\r\n JButton knightButton = new JButton(new ImageIcon(\"KnightButton.png\"));\r\n knightButton.setBackground(new Color(0, 0, 0, 0));\r\n knightButton.setRolloverIcon(new ImageIcon(\"KnightButtonPressed.png\"));\r\n knightButton.setBorder(BorderFactory.createEmptyBorder());\r\n knightButton.setFocusPainted(false);\r\n knightButton.addActionListener(new KnightButtonListener());\r\n \r\n JButton rangerButton = new JButton(new ImageIcon(\"RangerButton.png\"));\r\n rangerButton.setBackground(new Color(0, 0, 0, 0));\r\n rangerButton.setRolloverIcon(new ImageIcon(\"RangerButtonPressed.png\"));\r\n rangerButton.setBorder(BorderFactory.createEmptyBorder());\r\n rangerButton.setFocusPainted(false);\r\n rangerButton.addActionListener(new RangerButtonListener());\r\n \r\n JButton mageButton = new JButton(new ImageIcon(\"MageButton.png\"));\r\n mageButton.setBackground(new Color(0, 0, 0, 0));\r\n mageButton.setRolloverIcon(new ImageIcon(\"MageButtonPressed.png\"));\r\n mageButton.setBorder(BorderFactory.createEmptyBorder());\r\n mageButton.setFocusPainted(false);\r\n mageButton.addActionListener(new MageButtonListener());\r\n \r\n JButton returnButton = new JButton(new ImageIcon(\"BackButton.png\"));\r\n returnButton.setBackground(new Color(0, 0, 0, 0));\r\n returnButton.setRolloverIcon(new ImageIcon(\"BackButtonPressed.png\"));\r\n returnButton.setBorder(BorderFactory.createEmptyBorder());\r\n returnButton.setFocusPainted(false);\r\n returnButton.addActionListener(new ReturnButtonListener());\r\n \r\n JPanel bottomPanel = new JPanel();\r\n bottomPanel.setBackground(new Color(0, 0, 0, 0));\r\n bottomPanel.add(knightButton);\r\n bottomPanel.add(rangerButton);\r\n bottomPanel.add(mageButton);\r\n bottomPanel.add(returnButton);\r\n \r\n \r\n //Add all panels to the mainPanel according to border layout\r\n mainPanel.add(bottomPanel, BorderLayout.SOUTH);\r\n \r\n //mainPanel.addKeyListener(keyListener);\r\n\r\n mainPanel.requestFocusInWindow(); //make sure the frame has focus \r\n \r\n decPanel.add(mainPanel);\r\n //add the main panel to the frame\r\n this.add(decPanel);\r\n \r\n \r\n //Start the app\r\n this.setVisible(true);\r\n \r\n }", "title": "" } ]
[ { "docid": "bde5f3a2215c80950a972a2c396ea45b", "score": "0.73564255", "text": "@Override void init() {\n }", "title": "" }, { "docid": "96950fcd6668067c4f88772215663192", "score": "0.72548103", "text": "private void init() {\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "3790da1f8b383e87646708f592639e00", "score": "0.7200463", "text": "public void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3790da1f8b383e87646708f592639e00", "score": "0.7200463", "text": "public void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3790da1f8b383e87646708f592639e00", "score": "0.7200463", "text": "public void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "3790da1f8b383e87646708f592639e00", "score": "0.7200463", "text": "public void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "daba94f504f92bd4e5e53ebdc78836b1", "score": "0.71575016", "text": "private void init() {\n\t\n }", "title": "" }, { "docid": "28fcdb48fa0b9890f9666ae29ef02f55", "score": "0.7079788", "text": "private void init() {\n\n\t}", "title": "" }, { "docid": "892215be92643b7e563925e454136d8c", "score": "0.70774263", "text": "protected void init(){}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.70486635", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.70486635", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.70486635", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.70355535", "text": "private void init() {\n }", "title": "" }, { "docid": "5d1cb708b3c10ba3e64caaaf3a68577a", "score": "0.70355535", "text": "private void init() {\n }", "title": "" }, { "docid": "4ae3cecccf060f8f8c8d0735ed41fe1d", "score": "0.7031181", "text": "public void init(){\n\t\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.7027079", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "0657a9679dea55add2d38e98776fca3d", "score": "0.7015362", "text": "public Jogo () {\n\t\t\n\t}", "title": "" }, { "docid": "f8cf6ec74ac0dd1713ac4ac58a8df2a0", "score": "0.69941616", "text": "@Override protected void init()\n {\n }", "title": "" }, { "docid": "f1be3defd1b6e608b8995eb6221bb211", "score": "0.69895744", "text": "public void init() {\n\t\t\n\t}", "title": "" }, { "docid": "f1dbb0cc3b2fee4357acda9e0ee6fbfc", "score": "0.69790554", "text": "public void init() {\r\n }", "title": "" }, { "docid": "b8a933b513450a6a7874821e414066eb", "score": "0.69754", "text": "private void init() {\n\t}", "title": "" }, { "docid": "5a9474de6c3494be4abc11f3a55feea9", "score": "0.6971058", "text": "public void init() {\r\n\t}", "title": "" }, { "docid": "bad997caa8f4c22e9de54306695ff98e", "score": "0.69611734", "text": "protected void initialize() {\n \n \n }", "title": "" }, { "docid": "6acd3ce7fb9daeadcf7766bf3960519d", "score": "0.6949321", "text": "private Main()\n\t{\n\t\tsuper();\n\t}", "title": "" }, { "docid": "3290aefece9917538086e0fcc1217ff3", "score": "0.6943882", "text": "public void initialize() {\n\t\t}", "title": "" }, { "docid": "fe155407156e47f0fbc8845839f1c3ae", "score": "0.6934205", "text": "public void init() {\n\n\t}", "title": "" }, { "docid": "fe155407156e47f0fbc8845839f1c3ae", "score": "0.6934205", "text": "public void init() {\n\n\t}", "title": "" }, { "docid": "296d9735cfb810561e2eb82c473c8eee", "score": "0.6920592", "text": "private void init(){ \n }", "title": "" }, { "docid": "06a350a19ce38e9ac9df13928f724265", "score": "0.6915847", "text": "public Tris () {\n\t\t\n\t}", "title": "" }, { "docid": "60db8628ee77bb4215fd1990c5215fc9", "score": "0.6909926", "text": "public Autor() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "db094043e361fc5292d35e272addc279", "score": "0.6891817", "text": "protected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "e0f729328fd258821b24508a3ef1a130", "score": "0.6884434", "text": "protected void initialize() {}", "title": "" }, { "docid": "e71e10f1169dc532ef516195192d3ba6", "score": "0.6879525", "text": "private void initialize() {\n }", "title": "" }, { "docid": "2249064df0004ef5ed0a24d731aef2a9", "score": "0.68751097", "text": "private void initialize() {\r\n \r\n }", "title": "" }, { "docid": "b2a793cd2e6ec37a2fdb27c90d87a493", "score": "0.6872992", "text": "@Override\r\n\tprotected void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a98657850413791c642d0c18799a6325", "score": "0.6865805", "text": "@Override\r\n\tpublic void initialize() {\n\t\t\r\n\t}", "title": "" }, { "docid": "367ae34f97cb6fa47f58c50b9f543754", "score": "0.6857558", "text": "public Cerveja() {\r\n\r\n\t}", "title": "" }, { "docid": "1f39d757c7dfc4fd550767f13dbf0f0b", "score": "0.68476903", "text": "public Fastener() \n\t{\n\t\tsuper();\n\t}", "title": "" }, { "docid": "c54df76b32c9ed90efddc6fd149a38c7", "score": "0.68451345", "text": "@Override\n protected void init() {\n }", "title": "" }, { "docid": "fef0a6f4ec7187d8422132a59c5c3727", "score": "0.6842698", "text": "protected void _init() {}", "title": "" }, { "docid": "65b1b2739beb9bf313308ae199e0d344", "score": "0.6832053", "text": "public void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "997b61d66dec7aa4bd25b32abb3c5486", "score": "0.6815481", "text": "public static void init () {\r\n\r\n }", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.68134403", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.68077284", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.68077284", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "08c6d62200e5eee4b99e7fe5a43b2598", "score": "0.68077284", "text": "@Override\n public void init() {\n }", "title": "" }, { "docid": "7b2ed9aa1a6f17d265f092b245f8c4c3", "score": "0.68048114", "text": "public void init() {\n\t}", "title": "" }, { "docid": "7b2ed9aa1a6f17d265f092b245f8c4c3", "score": "0.68048114", "text": "public void init() {\n\t}", "title": "" }, { "docid": "547c78689e54ebf8a887c5f60840ef15", "score": "0.6800907", "text": "public static void initate() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6800229", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "1f12316d235bc69b4f9ff83694ca3878", "score": "0.67931724", "text": "private void initialize() \n\t{\n\t}", "title": "" }, { "docid": "efab32c3d8a51dd5b6fe839424fad61d", "score": "0.6789247", "text": "public Minutely()\n {\n }", "title": "" }, { "docid": "98b97bb7232de5154ba0dd568423bfec", "score": "0.67843425", "text": "private void initialize() {\n\n }", "title": "" }, { "docid": "ec60096cfa751a98af2f072cc8de6d43", "score": "0.67841625", "text": "protected Bicycle() {\n \t//default constructor\n \tthis(1, 0.0);\n }", "title": "" }, { "docid": "d5a5f6880111fc45567b6dc027b83d60", "score": "0.6781006", "text": "@Override\r\n protected void initialize() {\r\n }", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.6775725", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.6775725", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.6775725", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.6775725", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "8eba516e4a5c601beee9691aa679ec0e", "score": "0.67756605", "text": "public void init() {\n }", "title": "" }, { "docid": "09579e543452e5e8a32eac4379ef585e", "score": "0.6773725", "text": "public void init()\n\t{\n\t}", "title": "" }, { "docid": "5e4626626c766f2aa22ff1a19dd6ea65", "score": "0.67656815", "text": "public void init() {\n\r\n\t}", "title": "" }, { "docid": "9cee6e60fac7ba9a00b37f73cd934aa1", "score": "0.676278", "text": "public void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "bbaecaba22850c713495e839cc204515", "score": "0.6762114", "text": "public Saco(){\n\n\t}", "title": "" }, { "docid": "f9c0a6df2a42ed935c849cc0a83f7644", "score": "0.6748068", "text": "public Sos()\n\t{\n\t}", "title": "" }, { "docid": "971e39fecad08a9c93dd0a450741e75b", "score": "0.6742054", "text": "@Override\n\tpublic final void init() {\n\t}", "title": "" }, { "docid": "ca451a4104dd9021f1dd2fcc823c432a", "score": "0.67309564", "text": "@Override\n\t\tpublic void initialise() {\n\t\t}", "title": "" }, { "docid": "576b6469c5b9516fc2ad89faa86a6841", "score": "0.67281306", "text": "@Override\r\n\tpublic void construct() {\n\r\n\t}", "title": "" }, { "docid": "777057818e7ea634d7a59a28bf6e6fc6", "score": "0.672584", "text": "public Curso()\n {\n // initialise without anything\n }", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.6723653", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.6723653", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "da4fa7e263bb2e6d703854259aaf6363", "score": "0.6723653", "text": "@Override\n\tprotected void initialize() \n\t{\n\t\t\n\t}", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "daaa7dbce2489b500b0a1cecf85d309e", "score": "0.6710538", "text": "protected void initialize() {\r\n }", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.67102325", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.67102325", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "0775348f5137e8e113c89423ef5aea0e", "score": "0.6706042", "text": "public Initialization()\r\n {\r\n// // Create the registries, scheduler, and command parser\r\n// _rf = new RegistryFactory();\r\n// _rf.initRegistries();\r\n// _skedder = new Scheduler();\r\n \r\n// _cmdFac = new CommandFactory();\r\n// _cmdFac.initMap();\r\n// _parser = new CommandParser(_skedder, _cmdFac);\r\n }", "title": "" }, { "docid": "59e1ce9f581667be727d30d070c7886b", "score": "0.67054695", "text": "@Override\n\tpublic void init( ) {\n\t}", "title": "" }, { "docid": "37c3040b96bf6887e24ec5f4ece3ef49", "score": "0.66986686", "text": "protected void initialize() {\r\n \r\n }", "title": "" }, { "docid": "4ec8e37b8233d45db4f0f810b253713b", "score": "0.669413", "text": "public Rubrica() {\n }", "title": "" } ]
079a940755074ad511c68febb28bf081
Represents the configuration of a single message.
[ { "docid": "89135c60b50ae3faf605e5807e7be66e", "score": "0.4931268", "text": "public interface Message {\n\n\t/**\n\t * Represents the text of the message.\n\t */\n\tString getText();\n\n\t/**\n\t * Represents the kind of message. It could be useful for presentation\n\t * layer.\n\t */\n\tSeverityType getSeverity();\n\n}", "title": "" } ]
[ { "docid": "127cc030b81199ed18622e6bb9f5ec8f", "score": "0.63738465", "text": "public static String getConfigMessage() {\n\t return getConfig() + \"/message\";\n }", "title": "" }, { "docid": "36d3f93d2d8e9c44a36a7262504b0edd", "score": "0.61476505", "text": "public void config(String message);", "title": "" }, { "docid": "aedec14d7b3bfddd6d7bc3eefdc77950", "score": "0.61365867", "text": "protocol.Message.DevConf getConf();", "title": "" }, { "docid": "1202cd56938b259cc29e8ae3e32febd9", "score": "0.60691327", "text": "public ConfigureMessage(String nickname, MatchConfiguration config){\n super(nickname);\n this.config = config;\n }", "title": "" }, { "docid": "f1b83e947e6c1df393a5bbbbe250bc04", "score": "0.60353345", "text": "void config(String message);", "title": "" }, { "docid": "a11bec55b7ece3f56a7a390044b6dc88", "score": "0.59946746", "text": "public MessageServiceConfiguration getMessageServiceConfiguration() {\r\n return messageServiceConfiguration;\r\n }", "title": "" }, { "docid": "c229d06fc5049005a83ce5d03e9936fc", "score": "0.5762086", "text": "public protocol.Message.DevConf getConf() {\n if (confBuilder_ == null) {\n return conf_ == null ? protocol.Message.DevConf.getDefaultInstance() : conf_;\n } else {\n return confBuilder_.getMessage();\n }\n }", "title": "" }, { "docid": "f716754f4f4114a93607f54f0995bdf0", "score": "0.5594993", "text": "@Override\n\tpublic void config(String msg) {\n\t\tsuper.config(msg);\n\t}", "title": "" }, { "docid": "a3525dac007789515e02687a9a9e0345", "score": "0.54600257", "text": "public void config(String msg){\n\t\t\n\t }", "title": "" }, { "docid": "4890428caead4689e9951613c881d98e", "score": "0.54532677", "text": "public ConfigurationDisplayPanel(String message) {\n\t\tsuper();\n\t\tthis.message = message;\n\t\tinitialize();\n\n\t}", "title": "" }, { "docid": "171dc9cccfe28684499ea5c78e3383ad", "score": "0.5439103", "text": "public Configuration()\r\n {\r\n channels.add(new Channel(1));\r\n channels.add(new Channel(2));\r\n channels.add(new Channel(3));\r\n channels.add(new Channel(4));\r\n }", "title": "" }, { "docid": "863ea0673f554b770e81a5608c677945", "score": "0.5421248", "text": "public interface CDMConfig {\n\tpublic String ID = \"id\";\n\tpublic String PUBLISHER = \"publisher\";\n\tpublic String TIMESTAMP = \"timestamp\";\n\tpublic String CDM_VERSION = \"cdmVersion\";\n\tpublic String REFERENCE = \"ref\";\n\tpublic String MODEL_VERSION = \"modelVersion\";\n}", "title": "" }, { "docid": "480505a2bea9573b10c231a2a285f0e2", "score": "0.53922695", "text": "public abstract Config config();", "title": "" }, { "docid": "24f65be2c2f061870e148c4312254f85", "score": "0.5355822", "text": "private SetConfigMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "19fc25c6a3164d55d11ec0b41b3e85b3", "score": "0.5342845", "text": "public Message() {\n\t\tthis.name = \"\";\n\t\tparams = new HashMap<String, Object>();\n\t}", "title": "" }, { "docid": "76fb70fd8d57a05352a990dac1790951", "score": "0.53307265", "text": "protocol.Message.DevConfOrBuilder getConfOrBuilder();", "title": "" }, { "docid": "d189fbd71f7b3b94a6fd3cca8398ae79", "score": "0.527022", "text": "public ConfigurationException(String message) {\n super(message);\n }", "title": "" }, { "docid": "1aa9701f806ae9886f45690cd57cd02f", "score": "0.5263328", "text": "Configuration config();", "title": "" }, { "docid": "545a94dd47dc0d875e6a64232d0bf983", "score": "0.52410126", "text": "private void loadMessageSettings(){\r\n \t\tthis.messages = new HashMap<String, String>();\r\n File f = new File(\"plugins/Jobs/messageConfig.yml\");\r\n Configuration conf;\r\n if(!f.exists()) {\r\n System.err.println(\"[Jobs] - configuration file messageConfig.yml does not exist, using default messages.\");\r\n return;\r\n }\r\n conf = new Configuration(f);\r\n conf.load();\r\n List<String> configKeys = conf.getKeys(\"\");\r\n if (configKeys == null) {\r\n return;\r\n }\r\n for(String key : configKeys) {\r\n String value = JobsConfiguration.parseColors(conf.getString(key));\r\n this.messages.put(key, value);\r\n } \r\n \t}", "title": "" }, { "docid": "93aeb5aaa109dfc5c96def92ce000ee7", "score": "0.5240635", "text": "public ConfigException(String message) {\r\n super(message);\r\n }", "title": "" }, { "docid": "cbe1673c57117daebc26716157f67ace", "score": "0.52272016", "text": "public static void config(Object msg) {\n\t\tlog(Level.CONFIG, String.valueOf(msg));\n\t}", "title": "" }, { "docid": "8ca7517a6885a4ce70259f487252498a", "score": "0.5216535", "text": "@Override\n public String toString() {\n return message;\n }", "title": "" }, { "docid": "fcf29fdd6137f02fca0039dbdb3a712f", "score": "0.52113444", "text": "@Override\n public String toString() {\n return mConfig.toString();\n }", "title": "" }, { "docid": "4e6508f4ee18a2762f1b3eec295951d7", "score": "0.5202063", "text": "private boolean quorumConfigurationMessageEquals(Object o) {\n if (this == o) {\n return true;\n }\n if (o == null || getClass() != o.getClass()) {\n return false;\n }\n\n QuorumConfigurationMessage thisMessage = QuorumConfigurationMessage.class.cast(message);\n QuorumConfigurationMessage thatMessage = QuorumConfigurationMessage.class.cast(((OLogProtostuffContent) o).message);\n\n return QuorumConfiguration.fromProtostuff(thisMessage).equals(\n QuorumConfiguration.fromProtostuff(thatMessage)\n );\n }", "title": "" }, { "docid": "fea53c0030bcc327153a746ab2c3154e", "score": "0.51987463", "text": "public String getConfig() {\n return config;\n }", "title": "" }, { "docid": "40f4220aade603a49220ff87e5b782f6", "score": "0.51966465", "text": "private EmojiConfiguration ConfigurationEntityToModel(EmojiConfigEntity entity) {\n return new EmojiConfiguration(\n entity.getID(),\n entity.getChannelId(),\n this.getAllEmojisAvailables().getOrDefault(\n entity.getEmojiShortcut(), this.emoticonService.getEmoticons().get(\"question\")\n ),\n entity.getRepositoryId()\n );\n }", "title": "" }, { "docid": "9cc3264c71d0245230cfdf6b05bab535", "score": "0.5181767", "text": "@Override\n\tpublic Configuration configuration() {\n\t\treturn configuration;\n\t}", "title": "" }, { "docid": "6ccfa043544ad59b03f1212d6088cd1d", "score": "0.51810855", "text": "public final ServerConfig getServerConfig(Message message){\r\n\t\tif(message.getServer().isPresent()) {\r\n\t\t\treturn KHUxBot.getServerConfig(message.getServer().get());\r\n\t\t}else return KHUxBot.getServerConfig(message.getUserAuthor().get());\r\n\t}", "title": "" }, { "docid": "f07f9aa380168b4876a5191243884a73", "score": "0.5180851", "text": "Configuration getConfigurationModel();", "title": "" }, { "docid": "1205ff041e73fd5ec63e391fc4da4378", "score": "0.51710254", "text": "String getConfiguration();", "title": "" }, { "docid": "b426b5fa41c6261d3409733e1301844f", "score": "0.51647645", "text": "Configuration getConfiguration();", "title": "" }, { "docid": "b426b5fa41c6261d3409733e1301844f", "score": "0.51647645", "text": "Configuration getConfiguration();", "title": "" }, { "docid": "b426b5fa41c6261d3409733e1301844f", "score": "0.51647645", "text": "Configuration getConfiguration();", "title": "" }, { "docid": "b426b5fa41c6261d3409733e1301844f", "score": "0.51647645", "text": "Configuration getConfiguration();", "title": "" }, { "docid": "42f6cfbe92ac03c8b08f1650dbe6dd51", "score": "0.5157571", "text": "public FixedWidthConfiguration getConfiguration() {\n return _configuration;\n }", "title": "" }, { "docid": "578e98a3e09162be821d2fb64733c4d0", "score": "0.51526284", "text": "@Override\n public Configuration getConf() {\n return configuration;\n }", "title": "" }, { "docid": "3a8cbbcb58cdc021dc25d10d4c655731", "score": "0.51470155", "text": "public JsonObject config() {\n JsonObject config = definition.getObject(\"config\");\n if (config == null) {\n config = new JsonObject();\n }\n return config;\n }", "title": "" }, { "docid": "0c58cbf2e0498fb87c710db0df9f0cb5", "score": "0.5143141", "text": "private float getMessageSize() {\n\t\treturn messageSize;\n\t}", "title": "" }, { "docid": "eb3bdce76106683997e9fc5261248639", "score": "0.51373327", "text": "public Bead getMessage() {\n\t\treturn message;\n\t}", "title": "" }, { "docid": "c76b7b698751d56f41360a6bf96a09e3", "score": "0.5133845", "text": "public ChatRoomConfigurationForm getChatConfigurationForm()\n throws OperationFailedException, InterruptedException\n {\n return chatRoomWrapper.getChatRoom().getConfigurationForm();\n }", "title": "" }, { "docid": "27343c2a8f175e5384dd35467d1df7c7", "score": "0.5130026", "text": "public Object getMessage() {\n return message;\n }", "title": "" }, { "docid": "15214e98ad860ec3729c60d643193c9a", "score": "0.512957", "text": "public ConfigException(String message)\n {\n super(message);\n }", "title": "" }, { "docid": "247ef83eaa5a4d1cc8428aea42098dd5", "score": "0.5122187", "text": "public NetworkConfiguration getConfiguration() {\r\n\t\t\r\n\t\treturn new NetworkConfiguration(Integer.parseInt(inputNeuronsField.getText()),\r\n\t\t\t\tInteger.parseInt(hiddenNeuronsField.getText()), Integer.parseInt(outputNeuronsField.getText()), Integer.parseInt(inputWindowField.getText()),\r\n\t\t\t\telmanCheckbox.isSelected(), jordanCheckbox.isSelected(), ctrnnCheckbox.isSelected(), Double.parseDouble(scalingFactorField.getText()),\r\n\t\t\t\tDouble.parseDouble(shiftingFactorField.getText()));\r\n\t}", "title": "" }, { "docid": "d1152bfc15848b4d488ee78f0c0425ea", "score": "0.5111669", "text": "protected ConnectionConfiguration getConfiguration() {\n\t\treturn config;\n\t}", "title": "" }, { "docid": "2113fcae9c128fe114e7c241afba6fad", "score": "0.51113385", "text": "public Configuration getConfiguration() {\r\n return config;\r\n }", "title": "" }, { "docid": "2113fcae9c128fe114e7c241afba6fad", "score": "0.51113385", "text": "public Configuration getConfiguration() {\r\n return config;\r\n }", "title": "" }, { "docid": "1b1a786fc9956a5aa79173758ec6e0c2", "score": "0.5104851", "text": "public Configuration configuration() {\n return configuration;\n }", "title": "" }, { "docid": "70a24a3915aa9aecb28fef7eca4bed19", "score": "0.5077405", "text": "public MVizMsg() {\n super(DEFAULT_MESSAGE_SIZE);\n amTypeSet(AM_TYPE);\n }", "title": "" }, { "docid": "a2e8a780a1253e88bb93a868e7ed3ec0", "score": "0.5065365", "text": "public InputMessage getMessage() {\n return message;\n }", "title": "" }, { "docid": "58d6fa2f4f19b5684fb3678515165d9d", "score": "0.50631547", "text": "T readConfiguration(byte[] serializedConfiguration);", "title": "" }, { "docid": "770089b1ed76d253dfc1f154da9e0f39", "score": "0.5054283", "text": "public String getConfig() {\n\t\treturn this.config;\n\t}", "title": "" }, { "docid": "5779c20e94f0121053089a98d3b1858f", "score": "0.50400853", "text": "public interface INotificationConfig {\r\n int MODE_NONE = 0;\r\n int MODE_MUTED = 1;\r\n int MODE_SOUND = 2;\r\n\r\n Integer getMode();\r\n\r\n Uri getSoundUri();\r\n\r\n long[] getVibrationPattern();\r\n\r\n Boolean isShowIcon();\r\n\r\n Boolean isShowButton();\r\n\r\n @DrawableRes\r\n Integer getBackgroundRes();\r\n\r\n @DrawableRes\r\n Integer getIconRes();\r\n\r\n String getTitle();\r\n\r\n Integer getTitleColor();\r\n\r\n String getContent();\r\n\r\n Integer getContentColor();\r\n\r\n @DrawableRes\r\n Integer getButtonRes();\r\n\r\n /**\r\n * 如果不需要button就返回null\r\n *\r\n * @return\r\n */\r\n String getButtonText();\r\n\r\n Integer getButtonTextColor();\r\n}", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "2e91d7f236b6f3c018ad6df7749ae627", "score": "0.5037761", "text": "public String message() {\n return this.message;\n }", "title": "" }, { "docid": "5c326fc6d5fb0bfe4180b7eed29f9017", "score": "0.50327015", "text": "public String getMessage() { return this.message; }", "title": "" }, { "docid": "fa04e03b01eef7a0eac2a47843f173a6", "score": "0.50247943", "text": "public OPSMessage()\r\n {\r\n super();\r\n appendType(\"ops.protocol.OPSMessage\");\r\n }", "title": "" }, { "docid": "5b0c7faf865b986eec62def297cad6d9", "score": "0.50213", "text": "public SingleMessage() {\n\n }", "title": "" }, { "docid": "d16efdd05a816becd726f71a340132e2", "score": "0.5017671", "text": "@GET\n\t@Path(\"config\")\n\t@Produces(MediaType.TEXT_PLAIN)\n\tpublic String config() throws IOException {\n\t\tif (config.isPresent()) {\n\t\t\treturn \"Configuration param1: \" + config.get().getParameter1();\n\t\t}\n\t\treturn \"Unknown Configuration!\";\n\t}", "title": "" }, { "docid": "aa652a5a2f0e3f32dfe007adc3519a62", "score": "0.5014534", "text": "static ProtocolHandlerConfigP.Builder createConfig() {\n // Allow at most 1 message every 1000 msec.\n int window0Ms = 1000;\n int numMessagesPerWindow0 = 1;\n\n // Allow at most 6 messages every minute.\n int window1Ms = 60 * 1000;\n int numMessagesPerWindow1 = 6;\n\n return ProtocolHandlerConfigP.newBuilder()\n .addRateLimit(CommonProtos2.newRateLimitP(window0Ms, numMessagesPerWindow0))\n .addRateLimit(CommonProtos2.newRateLimitP(window1Ms, numMessagesPerWindow1));\n }", "title": "" }, { "docid": "8906dc694ff5807e1b86f7f196a184b6", "score": "0.5008411", "text": "@Override\n protected Configuration getDefaultConfiguration() {\n Configuration configuration = new Configuration();\n\n // These are common configuration examples\n configuration.put(\"maxRounds\", 100);\n configuration.put(\"seed\", UUID.randomUUID().toString());\n\n return configuration;\n }", "title": "" }, { "docid": "4ed73e880904a0278482a5686c59199a", "score": "0.5006901", "text": "public String getMessage() { return message; }", "title": "" }, { "docid": "3c61b6a7113acd19c08df40f3c493c04", "score": "0.5005268", "text": "public Configuration() {}", "title": "" }, { "docid": "c2ff453c5e8c9e56997cf9028d329e46", "score": "0.49987608", "text": "public String toString() {\n return this.message;\n }", "title": "" }, { "docid": "48684831d90a060f923e7c2de19e2139", "score": "0.4991606", "text": "public String message() {\n\t\tparse();\n\t\treturn message;\n\t}", "title": "" }, { "docid": "eae086f9ce068fd2e35c7c2ba2483d63", "score": "0.4988659", "text": "public String message() {\n return _message;\n }", "title": "" }, { "docid": "8ae2c8e8c2c2da27096a20e8205b79da", "score": "0.49853975", "text": "public JsonObject getConfig() {\n return config;\n }", "title": "" }, { "docid": "a346eb50c7cb077f26c0662385aa4c8d", "score": "0.49844888", "text": "public abstract BaseConfiguration configuration();", "title": "" }, { "docid": "117e17fe1305697be34520c0bb6ef681", "score": "0.49770948", "text": "public final String message() {\n return this.message;\n }", "title": "" }, { "docid": "ce4eeb430a68990af517e1affa1d0c49", "score": "0.49696925", "text": "public String getMessageFormat() {\n return this.messageFormat;\n }", "title": "" }, { "docid": "d212b623093fa582c05d20e2ed8f8ccc", "score": "0.49632198", "text": "@Field(1) \n\tpublic UA_ConnectionConfig localConf() {\n\t\treturn this.io.getNativeObjectField(this, 1);\n\t}", "title": "" }, { "docid": "9f7c35cd03838a2028f693b20de565f2", "score": "0.49621502", "text": "public Config() {\n\t\n\t}", "title": "" }, { "docid": "cc6219fda5d599744ef1460ccd75dbfa", "score": "0.49597675", "text": "public Config getConfig();", "title": "" }, { "docid": "d8e5e57401614ba3044997d12a2f8fed", "score": "0.49574694", "text": "public GameConfiguration getConfig() {\n\t\treturn config;\n\t}", "title": "" }, { "docid": "907f127979ed0050907a1646ebe2030e", "score": "0.4957429", "text": "public String getMessageContent() {\r\n\t\treturn messageContent;\r\n\t}", "title": "" }, { "docid": "54b40238269a5cc292a66270bdef7518", "score": "0.49548465", "text": "public interface InMessageAttributes\n{\n /**\n * Get character encoding.\n * \n * @return message body character encoding, or <code>null</code> if not known\n */\n String getCharacterEncoding();\n\n /**\n * Get content type.\n * \n * @return message body content type, or <code>null</code> if none known\n */\n String getContentType();\n\n /**\n * Get operation name.\n * \n * @return name of operation used to submit message, or <code>null</code> if no operations defined by transport\n */\n String getOperationName();\n\n /**\n * Get apparent message origin. The format of the origin is determined by the transport, but should be a unique\n * identifier within that transport.\n * \n * @return message origin, or <code>null</code> if not known\n */\n String getOrigin();\n\n /**\n * Get message destination. The format of the destination is determined by the transport, but should be a unique\n * identifier within that transport.\n * \n * @return message destination, or <code>null</code> if not known\n */\n String getDestination();\n\n /**\n * Get message ID. The format of the ID is determined by the transport, but should be a unique identifier within\n * that transport and origin.\n * \n * @return message ID, or <code>null</code> if not known\n */\n String getId();\n}", "title": "" }, { "docid": "7f661dfb86f700245fff8a4e1106c035", "score": "0.49510062", "text": "public final TransmissionConfigurationEntry getTransmissionConfiguration()\r\n {\r\n return transmissionConfiguration;\r\n }", "title": "" }, { "docid": "d03bd84e37a08e0797ee1ca61bf45fa9", "score": "0.49507117", "text": "public MessageInfo getMessageInfo() {\n return messageInfo;\n }", "title": "" }, { "docid": "4e9c78ebc74dd6b8e0f6f0b5ad8b2d66", "score": "0.49468383", "text": "private Config(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "7906c3d83f824d4cd933987acd268cb8", "score": "0.4943136", "text": "public IMessage getMessage() {\n\t\treturn new KQMLMessage();\n\t}", "title": "" }, { "docid": "a7434da98986be40f240444788eae407", "score": "0.4942939", "text": "public void config(String msg) {\n log(Level.CONFIG, msg);\n }", "title": "" }, { "docid": "c70ed9bb1aa423000f080dd0a9f01339", "score": "0.4940705", "text": "@JsonProperty(\"message\")\r\n public String getMessage() {\r\n return message;\r\n }", "title": "" }, { "docid": "23983992b742188fe6201ff3daeab3dd", "score": "0.4939423", "text": "public Message(String message) {\n this.message = message;\n command = CommandList.MESSAGE;//message as default\n }", "title": "" }, { "docid": "b5125b1718135492be2704fc707e5601", "score": "0.49373275", "text": "@DISPID(12)\n\t// = 0xc. The runtime will prefer the VTID if present\n\t@VTID(21)\n\t@ReturnValue(type = NativeType.Dispatch)\n\tcom4j.Com4jObject configuration();", "title": "" }, { "docid": "f823ecbd5ee301df89c044b298d73b26", "score": "0.49371094", "text": "public AttachmentConfiguration() {\n super();\n Jams.getGeneralEventBroadcast().registerListeners(this, true);\n }", "title": "" }, { "docid": "38797ac593ffca76c7465629cb7a3a0d", "score": "0.4935272", "text": "public Map<String, Object> getConfiguration() {\n return this.configuration;\n }", "title": "" }, { "docid": "1d57a958de98e90147c831f391ea4ee3", "score": "0.49280116", "text": "com.google.protobuf.ByteString getJobConfig();", "title": "" }, { "docid": "ce019867ba35465e809898c06a90bc35", "score": "0.4927268", "text": "public Message(){}", "title": "" }, { "docid": "fe733defc8ba7395fce875999492ec9c", "score": "0.49262398", "text": "private Configuration() {}", "title": "" }, { "docid": "fe733defc8ba7395fce875999492ec9c", "score": "0.49262398", "text": "private Configuration() {}", "title": "" }, { "docid": "92c0a3016d3213bcab7dec2c53004fc0", "score": "0.4922508", "text": "C getConfiguration();", "title": "" }, { "docid": "bc931938a760fe71eb8dcb41f607a576", "score": "0.49195802", "text": "public TransmissionProtocolConfigurationEntry getLogTransferConfiguration()\r\n {\r\n return logTransferConfiguration;\r\n }", "title": "" }, { "docid": "430fc476dbc11db3fc7d9821e459c5c2", "score": "0.49161652", "text": "public int getMessageTypeValue() {\n return messageType_;\n }", "title": "" }, { "docid": "55104af6eccc209d83eb665f95a612f4", "score": "0.49084228", "text": "public C resolvedConfiguration() {\n return resolvedConfiguration;\n }", "title": "" }, { "docid": "471e86e3605c299232412602cb570d9a", "score": "0.49069437", "text": "public String getMessageParams() {\n return messageParams;\n }", "title": "" }, { "docid": "5367ed1fef3683a6d27dd11c4d90c433", "score": "0.49028847", "text": "public String getMessage() {\r\n return message;\r\n }", "title": "" } ]
801ae9a24c789ae789ee889e2cae8342
main method to start java application
[ { "docid": "37cd06eabbb6ab3ba5135f47684dd475", "score": "0.0", "text": "public static void main(String[] args) throws Exception {\r\n\t\t\r\n\t\t//validate argument\r\n\t\tif (args.length != 1){\r\n\t\t\tSystem.out.println(\"Usage: java ServerGUI <server port>\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\tint port = 0;\r\n\t\ttry{\r\n\t\t\tport = Integer.parseInt(args[0]);\r\n\t\t}catch(Exception e){\r\n\t\t\tSystem.out.println(\"Port is invalid. Usage: java ServerGUI <server port>\");\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t//create ServerGUI object\r\n\t\tServerGUI server = new ServerGUI(port);\r\n\t\tserver.setVisible(true);\r\n\t}", "title": "" } ]
[ { "docid": "28b10a83103acb544a19549571ca5003", "score": "0.7517752", "text": "public static void main(String[] args) {\n\t\t\r\n\t\tStartApp();\r\n\t\t\t\r\n\t}", "title": "" }, { "docid": "dfed6b0616bc419c7050fdc08532065d", "score": "0.7484647", "text": "public static void main(String[] args){launch(args);}", "title": "" }, { "docid": "9f8eea624886dd420be9807beb0cb422", "score": "0.7462817", "text": "public static void main( String[] args )\n {\n \tAppManager manager = new AppManager();\n \tmanager.startApp();\n }", "title": "" }, { "docid": "2f5f7a3a6af8b99854808574b7b56e68", "score": "0.74528646", "text": "public static void main(String[] args){\n launch(args);\n }", "title": "" }, { "docid": "6f4382d53d5feaa009924145291ec80a", "score": "0.74459267", "text": "public static void main(String[] args) throws IOException, ClassNotFoundException {\n\t\t\n\t\tlaunch(args);\n\t}", "title": "" }, { "docid": "4764d9c14f813e250545e3646439dfd3", "score": "0.74254835", "text": "public static void main(String[] args) {\n\t launch(args);\n\t}", "title": "" }, { "docid": "38d719fc6a4fe0da25813fe3a7f48bb5", "score": "0.7425104", "text": "public static void main(String[] args) throws IOException {\n Application.launch(args);\n }", "title": "" }, { "docid": "7e307c2dffb5abeaae13305821df6d95", "score": "0.74216765", "text": "public static void main(String[] args) {\n applications.add(new TestApp());\n \n new OS().run();\n }", "title": "" }, { "docid": "9848a7ab902a84eca05102549e5981dd", "score": "0.74125576", "text": "public static void main(String[] args) {\n\t\t\t\t\n\t\t// Calls the start method\n\t\tlaunch(args);\n\t}", "title": "" }, { "docid": "9e59e71782543e4d0eccbc29cb3e8b8a", "score": "0.74118865", "text": "public static void main( String args[] )\n {\n launch(args);\n }", "title": "" }, { "docid": "4f5d572fac21d60b7a872afa8a70eb40", "score": "0.7409539", "text": "public static void main(String args[]) {\n Application a = new Application(); //create new application instance\n a.app(); //run app method\n }", "title": "" }, { "docid": "36a79c796102aed6b01f4dd39b64a698", "score": "0.7391784", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "e3bd303202d253122c585454e516c5a8", "score": "0.73853564", "text": "public static void main(String[] args) \n {\n launch(args);\n }", "title": "" }, { "docid": "c9e1a6587a88cdf2c8e5d4a12abab3ca", "score": "0.7373323", "text": "public static void main(String[] args) { // main\n\t\tlaunch(args);\n\t}", "title": "" }, { "docid": "99e1358335ac7fe9c9458168488f3880", "score": "0.73674136", "text": "public static void main(String[] args) {\n new Application();\n }", "title": "" }, { "docid": "1881f78c9de53a8ee641ad4c9f8a10dd", "score": "0.7366586", "text": "public static void main(String[] args) {\r\n\t\t launch(args);\r\n\t\t }", "title": "" }, { "docid": "f970a6ae9c416d91c4c635d5bf0b5435", "score": "0.73459226", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "f970a6ae9c416d91c4c635d5bf0b5435", "score": "0.73459226", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "f970a6ae9c416d91c4c635d5bf0b5435", "score": "0.73459226", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "f970a6ae9c416d91c4c635d5bf0b5435", "score": "0.73459226", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "f970a6ae9c416d91c4c635d5bf0b5435", "score": "0.73459226", "text": "public static void main(String[] args) {\r\n launch(args);\r\n }", "title": "" }, { "docid": "7d21aca364ac6cfc6010604764e8d8be", "score": "0.7344938", "text": "public static void main(String[] args) {\n start();\n }", "title": "" }, { "docid": "3725059819a82d44c6281bc2decc1692", "score": "0.7338666", "text": "public static void main(String[] args)\n {\n launch(args);\n }", "title": "" }, { "docid": "ff404756945ca2e405c4a0d7216a7bc8", "score": "0.7336077", "text": "public static void main(String[] args) \r\n {\r\n launch(args);\r\n }", "title": "" }, { "docid": "a359d1df175978d5e1ee9d03433d6aeb", "score": "0.7332687", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a618dcdd57986b931bf9ee286b918bd6", "score": "0.7326613", "text": "public static void main(String[] args)\r\n {\r\n\t launch(args);\r\n }", "title": "" }, { "docid": "352e74fe9be7236a67e8703f282c8a70", "score": "0.7317252", "text": "public static void main() {\n\n\t}", "title": "" }, { "docid": "1184178a4c4e4984f866e8eac091dc30", "score": "0.73137975", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "1184178a4c4e4984f866e8eac091dc30", "score": "0.73137975", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "54fbeb32b86d576282c6ac9473b6e9a5", "score": "0.73113644", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "a06a19834110a3c9a2dd161a287a977f", "score": "0.7310489", "text": "public static void main(String[] args) {\n launch(args);\n }", "title": "" }, { "docid": "600280f50b18917bdc5398168e7debf4", "score": "0.7298071", "text": "public static void main(String[] args) {\n launch(MainApp.class);\n }", "title": "" }, { "docid": "b7e82dec7f28f4c0c49e7878e0d8d80b", "score": "0.7292378", "text": "public static void main(String[] args) throws IOException {\n new Launcher().launch();\n }", "title": "" }, { "docid": "5afb88eeb675ac3a0b73c35b2640933f", "score": "0.7282141", "text": "public static void main( String[] args )\r\n {\n\t\t\r\n\t\tlaunch(args);\r\n }", "title": "" }, { "docid": "08c9defb354727ae107d35ecd5cf940e", "score": "0.7279138", "text": "public static void main(String[] args) {\nlaunch(args);\n\n\n\n\t}", "title": "" }, { "docid": "b0c7703490b6831377ef70a4801777d4", "score": "0.72753173", "text": "public static void main(String args[]) {\n launch(args);\n }", "title": "" }, { "docid": "b0c7703490b6831377ef70a4801777d4", "score": "0.72753173", "text": "public static void main(String args[]) {\n launch(args);\n }", "title": "" }, { "docid": "3b24c0eae3a14b606b986fb0f1b646c6", "score": "0.7272475", "text": "public static void main(String [] args) {\n\n launch(args);\n\n }", "title": "" }, { "docid": "95fdb162febdbafc700121932ec9748b", "score": "0.72710764", "text": "public static void main(String[] args)\n {\n\tlaunch(args);\n\n }", "title": "" }, { "docid": "789677ce24a1722dcf5d8b24e4726c6f", "score": "0.7264293", "text": "public static void main (String[] args){\n Application sim = new Application(args);\n sim.run();\n }", "title": "" }, { "docid": "5141e8be60e8e12707adec9913504830", "score": "0.72607166", "text": "public static void main(String[] args) {\r\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "5141e8be60e8e12707adec9913504830", "score": "0.72607166", "text": "public static void main(String[] args) {\r\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "a6885b7b853e3884056be74c0519a02b", "score": "0.7258137", "text": "public static void main(String[] args) {\n launch();\n }", "title": "" }, { "docid": "a6885b7b853e3884056be74c0519a02b", "score": "0.7258137", "text": "public static void main(String[] args) {\n launch();\n }", "title": "" }, { "docid": "cb9d9d97289518d5a36621d44a15d667", "score": "0.72549057", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\r\n\t}", "title": "" }, { "docid": "198bd3445e7af0965f3bbb8d4bd8856e", "score": "0.72486246", "text": "public static void main(String[] args) {\n\t\t\t\tlaunch(args);\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "2fb6660d188744004a53cdfe5a337045", "score": "0.72259694", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "3aa5486e5b1c7e7c3b99d8a4a2f9d6fa", "score": "0.71957463", "text": "public static void main(String[] args) {\n launch(args);\n\t// write your code here\n }", "title": "" }, { "docid": "c3501698bd452fa965e8ed4e07a5970d", "score": "0.71887666", "text": "public static void main(String[] args) {\n\t\tlaunch(args);\n\n\t}", "title": "" }, { "docid": "53940b0ea37b931ca7734a13e72f6cb2", "score": "0.71838707", "text": "public static void main(String[] args) {\n\t\tSystem.out.println(\"Adrian Application\");\r\n\t}", "title": "" }, { "docid": "b0169fc71dd5f45ed0fd9625881bde60", "score": "0.7169303", "text": "public static void main(String[] args){\n new Main(args);\n }", "title": "" }, { "docid": "bff202e2174848dc4afec2ac74a0674f", "score": "0.7148536", "text": "public static void main(String[] args) {\n\t\tnew Main().progStartPoint();\n\n\t}", "title": "" }, { "docid": "cf541eb64aeae3c473b76c001b9f003b", "score": "0.714728", "text": "public static void main(String[] args) {\n\t\t\tApplication.launch(args);\n\t}", "title": "" }, { "docid": "14a32f9f1fbb5a0f5bd76266c0c1d482", "score": "0.714652", "text": "public static void main(String[] args) {\n new Main().run();\n }", "title": "" }, { "docid": "cc625b57839254440248679a3405812f", "score": "0.71458244", "text": "public static void main(String[] args) {\n Application.launch(args);\n }", "title": "" }, { "docid": "56e90e1e83210dc4be4ee205b7d3384f", "score": "0.7145492", "text": "public static void main(String[] args) {\n\t\t\n\t\tjava();\n\n\t}", "title": "" }, { "docid": "21878c1c899cebdd5620991be1176d96", "score": "0.7140453", "text": "public static void main(String[] args) {\n\t\tApplication.launch(args);\n\t}", "title": "" } ]
fe15917634ec951649328c130cd2598d
TODO: This may need to be richer so we keep the context path
[ { "docid": "c9830829c844d6f3aaae254a53c0cbf4", "score": "0.0", "text": "@InputFiles\n\tpublic abstract ConfigurableFileCollection getSources();", "title": "" } ]
[ { "docid": "84a6c652ecac988c92cff35a4c7134b8", "score": "0.75380933", "text": "String getContextPath();", "title": "" }, { "docid": "38a600a33fa3b7ffd59316a9e89dbfd1", "score": "0.72840524", "text": "@Override\n\t\tpublic String getContextPath() {\n\t\t\treturn null;\n\t\t}", "title": "" }, { "docid": "5b4a24163815f3d43e4d93a49f5d16d1", "score": "0.7263084", "text": "@Override\n public String getContextPath()\n {\n return serverData.getContextPath();\n }", "title": "" }, { "docid": "8475021fef7b294cd55ec77a551559be", "score": "0.7167146", "text": "@Override\n public String getContextPath()\n {\n return null;\n }", "title": "" }, { "docid": "c4f1dcaa9c0251dd882f7c290472bf0b", "score": "0.71665186", "text": "@Override\n public String getContextPath() {\n String contextPath = super.getContextPath();\n if (contextPath.equals(\"/\")) {\n contextPath = \"\";\n }\n return contextPath + \"/module/\" + moduleName;\n }", "title": "" }, { "docid": "4efc1689f6ba545ac335f73bef2a2e04", "score": "0.7126667", "text": "public abstract String getContext();", "title": "" }, { "docid": "6b951dbac5fb38d2c07c41b89ebd146a", "score": "0.7025957", "text": "@Override\n\tpublic String getContextPath() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "752a6413ee73059e0de1b364af25013c", "score": "0.6916576", "text": "String getContext();", "title": "" }, { "docid": "752a6413ee73059e0de1b364af25013c", "score": "0.6916576", "text": "String getContext();", "title": "" }, { "docid": "0ca0bdc6c21518ba7a89105dfc35df0f", "score": "0.6723456", "text": "public String getContextPath() {\n return super.request.getContextPath();\n }", "title": "" }, { "docid": "cc5d98aeb5c64365ffcdb4668c4fb956", "score": "0.6658172", "text": "public String getContexto(HttpServletRequest rqt) {\n\t\treturn rqt.getContextPath().equals(\"/\") ? \"\" : rqt.getContextPath();\n\t}", "title": "" }, { "docid": "603b14d17dc1a7c0ef7ebadd16aa8a58", "score": "0.65970975", "text": "public java.lang.String getContext() {\n\treturn context;\n}", "title": "" }, { "docid": "c3f9b62d1ea65bdedb8801d107f6eccb", "score": "0.65643585", "text": "public String getContextPath() {\n\t\treturn contextPath;\n\t}", "title": "" }, { "docid": "634d515743ca8df0661170ced18c9083", "score": "0.6553408", "text": "Variable getContext();", "title": "" }, { "docid": "cacc1396dcf0bd3b615d1f9ab2f05991", "score": "0.6502792", "text": "public interface Context extends ContextHandlerContext\r\n {\r\n /**\r\n * Get the http context resource base. The value may contain symbolic\r\n * property references and should resolve to a local directory.\r\n *\r\n * @return the resource base\r\n */\r\n String getResourceBase();\r\n }", "title": "" }, { "docid": "53f8b436291baae2da1f3eb64a23ac2d", "score": "0.64243966", "text": "@Override\r\n\tpublic String getContext()\r\n\t{\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "dcd991d56824029528287b284de4cf77", "score": "0.6385638", "text": "Object getContext();", "title": "" }, { "docid": "75b7955c313941ab76647568b69de42c", "score": "0.6365377", "text": "public static String getLocalContextPath() {\n String localContextPath = \"\";\n\n try {\n // Get get the request initial\n HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();\n\n if (request != null) {\n // We get the url\n localContextPath = ServletUriComponentsBuilder.fromServletMapping(request).path(request.getServletPath()).toUriString();\n }\n\n } catch (Exception e) {\n log.warn(\"There isnt a context path to recover, ¿Is this method being called from a web context?\");\n }\n return localContextPath;\n }", "title": "" }, { "docid": "7f4ac4c0782b3651328a5d83bdde3be6", "score": "0.63616776", "text": "Context context();", "title": "" }, { "docid": "fa888395a6bc7fd0f8fe496444733b11", "score": "0.6358226", "text": "Map<String, String> getContext();", "title": "" }, { "docid": "65872012c9119533d788a3f38508eb4b", "score": "0.63415194", "text": "private static String getContext(String context)\n {\n if (context == null)\n {\n context = \"org.andromda.cartridges.angularjs.metafacades.AngAction\";\n }\n return context;\n }", "title": "" }, { "docid": "919f2d3c2f3e85bcf437fba3c79744c3", "score": "0.629744", "text": "private void setupContext() {\r\n server.createContext(\"/\", serverHandler);\r\n }", "title": "" }, { "docid": "29b1821a023f555c234ee164d01d0091", "score": "0.6241786", "text": "private void getActionContext(ServletRequest req, ActionLogDTO log) {\n HttpServletRequest httpReq = ((HttpServletRequest) req);\n String contextPath = httpReq.getContextPath();\n if (contextPath.equals(\"\")) { // FIXME heuristic\n contextPath = \"parade2\";\n } else {\n contextPath = contextPath.substring(1);\n }\n \n log.setContext(contextPath);\n log.setDate(new Date());\n String pathInfo = httpReq.getPathInfo();\n log.setUrl(httpReq.getServletPath() + (pathInfo == null ? \"\" : pathInfo));\n log.setQueryString(httpReq.getQueryString());\n \n }", "title": "" }, { "docid": "42c938db0d8e55ed3773de718516e9ba", "score": "0.6217035", "text": "String getContextRoot();", "title": "" }, { "docid": "a482d4d4ede0ee3fb1068ccfc8d3afaa", "score": "0.61837244", "text": "Context getContext();", "title": "" }, { "docid": "a482d4d4ede0ee3fb1068ccfc8d3afaa", "score": "0.61837244", "text": "Context getContext();", "title": "" }, { "docid": "a482d4d4ede0ee3fb1068ccfc8d3afaa", "score": "0.61837244", "text": "Context getContext();", "title": "" }, { "docid": "a482d4d4ede0ee3fb1068ccfc8d3afaa", "score": "0.61837244", "text": "Context getContext();", "title": "" }, { "docid": "a5b05675191f3ee38e56f42694b92646", "score": "0.6179412", "text": "public abstract int getContext();", "title": "" }, { "docid": "3f41e08905ffee914747134d521f5280", "score": "0.6157819", "text": "private static String getContextInformation()\n {\n return CONTEXT_INFO.getStringValue();\n }", "title": "" }, { "docid": "77f555646964b6d5d81c3d75b63246a0", "score": "0.6152817", "text": "public String getContext() {\n return context;\n }", "title": "" }, { "docid": "15ef04f2b442ae24a9af2e1b1b2948ef", "score": "0.61526644", "text": "Map<String, Object> getContext();", "title": "" }, { "docid": "50cb460b9acdc06b5ff5bbbc527dd330", "score": "0.6146105", "text": "private static String createContextPath(String... contexts) {\n\n StringBuffer resultContext = new StringBuffer();\n\n for (String context : contexts) {\n\n if (!(context == null || context.isEmpty())) {\n if (!context.startsWith(\"/\")) {\n resultContext.append(\"/\");\n }\n\n if (context.endsWith(\"/\")) {\n resultContext.append(context.substring(0, context.length() - 2));\n } else {\n resultContext.append(context);\n }\n }\n }\n\n return resultContext.toString();\n }", "title": "" }, { "docid": "cbbff6ee9875167d34e9cb3e8738c2da", "score": "0.60530907", "text": "protected void getContextAndScript(StringBuilder sb)\n {\n String context = getContextPath();\n\n if(StringUtils.isNotEmpty(context))\n {\n if(context.charAt(0) != '/')\n {\n sb.append('/');\n }\n sb.append (context);\n }\n\n // /servlet/turbine\n String script = getScriptName();\n\n if(StringUtils.isNotEmpty(script))\n {\n if(script.charAt(0) != '/')\n {\n sb.append('/');\n }\n sb.append (script);\n }\n }", "title": "" }, { "docid": "f35a32f85440756d532e8bcde085af8f", "score": "0.6022349", "text": "public URL getContextURL() {\r\n return contextURL; \r\n }", "title": "" }, { "docid": "9b1298d792c9cd6a283fa1b32fed87df", "score": "0.6002518", "text": "private Context getContext(){\n return context;\n }", "title": "" }, { "docid": "62bc258d0456a96a17a3b7926477553f", "score": "0.5980778", "text": "Context getCurrentContext();", "title": "" }, { "docid": "a6a9e158db8a8fda9592b0f4c6155f0d", "score": "0.5977445", "text": "private String getContextRoot()\n {\n String contextRoot = getOption(CONTEXT_ROOT_OPTION);\n return contextRoot;\n }", "title": "" }, { "docid": "504725809dc21766b0511492ce1df41c", "score": "0.5934901", "text": "long getContext();", "title": "" }, { "docid": "504725809dc21766b0511492ce1df41c", "score": "0.5934901", "text": "long getContext();", "title": "" }, { "docid": "6f4269d7671fc40a5954026387d0cc53", "score": "0.5933453", "text": "private static String getPath(TestCaseRunContext context) {\n\t\tif (context.getTestCase().getTestStepByName(getStepName(context)) instanceof HttpTestRequestStepInterface){\n\t\t\tString path = ((HttpTestRequestStepInterface)context.getTestCase().getTestStepByName(getStepName(context))).getTestRequest().getPath();\n\t\t\treturn expandProperties(context, path);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "fe264485b9ec690c40d6db483b139ea3", "score": "0.59331876", "text": "@Override\n public String getContextName() {\n String contextName = \"\";\n\n AditoLibraryQuery.Packet packet = new AditoLibraryQuery().getPacket(element.getFileObject());\n if (packet != null) {\n contextName = packet.getName();\n if (packet.getType() == AditoLibraryQuery.EPacketType.PROCESS) {\n FileObject contextRoot = NbAditoInterface.lookup(IEditorContextInfo.class).getEditorContextRoot(getFileObject());\n if (contextRoot != null)\n contextName = contextRoot.getNameExt() + \" -> \" + contextName ;\n }\n }\n String fqn = element.getIn() != null ? element.getIn() + \".\" + element.getName() : element.getName();\n if (!element.getName().equals(fqn)) {\n contextName += (contextName.isEmpty() ? \"\" : \" \") + \"[\" +fqn + \"]\";\n }\n return contextName;\n }", "title": "" }, { "docid": "560689ce1ef891898036ae34a3486eff", "score": "0.592748", "text": "public Context getContext();", "title": "" }, { "docid": "f7b63dc8bfa705e385b6ca289b76db0b", "score": "0.5916726", "text": "Context() {\n\n }", "title": "" }, { "docid": "38a92ea08ceaa15aaff78998202cd6ee", "score": "0.590482", "text": "public static String getContext() {\r\n\t\t/* PROTECTED REGION ID(java.implementation._17_0_1_8e00291_1324555491460_805001_3927) ENABLED START */\r\n\t\treturn getInstance().getNamingContext();\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "title": "" }, { "docid": "63af307ac222be16141894f0eff73b47", "score": "0.5900138", "text": "public static Context Get_context() {\n return context;\n }", "title": "" }, { "docid": "7f80a3353c35c144a9a6f0d0bc449b4b", "score": "0.58661205", "text": "@Override\n public String getServerContext() {\n return projectProperties.get(SERVER_CONTEXT_KEY);\n }", "title": "" }, { "docid": "3fad57368427051c1b1596a1efd071f4", "score": "0.5865175", "text": "@Override\n\tpublic String toString() {\n\t\treturn context;\n\t}", "title": "" }, { "docid": "47172ddf36f63aa0282be6a675bbc7eb", "score": "0.58576596", "text": "protected String getContextRoot() {\n String url = TestConfig.getControllerHttpUrl();\n int pos = url.length();\n for (int i = 0; i < 2; i++) {\n pos = url.lastIndexOf('/', pos - 1);\n }\n return url.substring(0, pos + 1);\n }", "title": "" }, { "docid": "a0c574d747761bd21e65278adfdb5332", "score": "0.58255786", "text": "@Override\n\tpublic String getServiceContextPath() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "2d3355f21407419b7b7222f866eaffb9", "score": "0.5822973", "text": "private String getStorePath(RoutingContext context) {\n String path = context.normalisedPath();\n String routePath = context.mountPoint();\n String result = null;\n if (routePath.length() < path.length()) {\n result = path.substring(routePath.length());\n }\n if (result == null || result.isEmpty()) {\n return \"/\";\n }\n if (result.charAt(0) != '/') {\n result = \"/\" + result;\n }\n return result;\n }", "title": "" }, { "docid": "21c90da88a5a183d0c56ca40d2821f5a", "score": "0.5807858", "text": "int contextArg() {\n return 0;\n }", "title": "" }, { "docid": "2b67852708c9cc07882f04cfc18a1d52", "score": "0.5784382", "text": "CallerContext getCurrentContext();", "title": "" }, { "docid": "842be8b30b69eb024f99aee91bde16ae", "score": "0.57810074", "text": "static String getContextPath(Class<?>... classes) {\n if (classes == null || classes.length == 0) {\n throw new IllegalArgumentException(\"Empty package list.\");\n }\n StringBuilder contextPath = new StringBuilder();\n for (Class<?> clazz : classes) {\n contextPath\n .append(clazz.getPackage().getName())\n .append(':');\n }\n contextPath.deleteCharAt(contextPath.length() - 1);\n return contextPath.toString();\n }", "title": "" }, { "docid": "b941a769001660ad7069f9c1e1154e78", "score": "0.5774576", "text": "@Override\r\n\t\tpublic Context getContext() {\n\t\t\treturn this;\r\n\t\t}", "title": "" }, { "docid": "aba780f3f61f2dcb826dd78f0bbc86bc", "score": "0.5768108", "text": "public static void setPathContext (VelocityContext context, String pkgPathCtxNm, String propertyNm ) {\r\n\t\tString pkg = (String)Velocity.getProperty(propertyNm);\r\n\t\tString pkgPath = pkg.replaceAll(\"\\\\.\", \"\\\\/\") + \"/\";\r\n\t\tcontext.put(pkgPathCtxNm, pkgPath);\r\n\t}", "title": "" }, { "docid": "4c49bd1a52a619879672bd11fc2d2e1e", "score": "0.5728358", "text": "public static Context getCurrentContext(){\r\n\r\n\t\tContext ctx = PIMContextFactory.getCurrentContext();\r\n\t\t//TODO: to be commented out during deployment\r\n\t\t/*Context ctx = null;\r\n\t\ttry {\r\n\t\t\tctx = PIMContextFactory.getContext(\"Admin\",\"trinitron\",\"W2DEV\");\r\n\t\t}\r\n\t\tcatch (Exception e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\tSystem.out.println(\"exception is caught...\");\r\n\t\t\te.printStackTrace();\r\n\t\t\tif (ctx != null) {\r\n\t\t\t\tctx.cleanUp();\r\n\t\t\t}\r\n\t\t}*/\r\n\t\treturn ctx;\r\n\t}", "title": "" }, { "docid": "d9626d80c496fb8d0521104f9cb24bf7", "score": "0.5727107", "text": "public void setContextPath(String contextPath) {\n this.contextPath = contextPath;\n }", "title": "" }, { "docid": "eef5632b1564e3e4194747f044906007", "score": "0.57028383", "text": "@Basic\n\t@Column(name = \"CONTEXT\")\n\tpublic String getContext() {\n\t\treturn this.context;\n\t}", "title": "" }, { "docid": "b665c0cfb662a727b06026e4fcc92fcd", "score": "0.56960744", "text": "@Override\n\t\tpublic Context getContext() {\n\t\t\treturn mBase.getContext();\n\t\t}", "title": "" }, { "docid": "71100061ee49aae6f7ae282dd0b37954", "score": "0.5684648", "text": "@Override\n public String context(){\n return String.format(\"\",\n Integer.toString((int) new Date().getTime()));\n }", "title": "" }, { "docid": "a2393f83d1b5b001fde99f2fac901a94", "score": "0.5679922", "text": "protected String build_candidate_path_saved_context (\tVelocityPortlet portlet,\n\t\t\t\t\t\t\t\tContext context,\n\t\t\t\t\t\t\t\tRunData data,\n\t\t\t\t\t\t\t\tSessionState state)\n\t{\n\t\treturn TEMPLATE_CANDIDATE_PATH_SAVED;\n\n\t}", "title": "" }, { "docid": "0885d82d045cf1c21d1440fc384e5130", "score": "0.567789", "text": "RuntimeContext getContext();", "title": "" }, { "docid": "538287bc843a6e8a86b30e27b58ebb68", "score": "0.5646008", "text": "String getDetails( String accession, String contextPath ) throws IOException;", "title": "" }, { "docid": "d4bec23834fea62c9cb2c30c8e252638", "score": "0.56267107", "text": "public ServletContext getContext(String uripath) {\n return null;\n }", "title": "" }, { "docid": "d5195072cf72e54687aceaefffd05e09", "score": "0.56117374", "text": "protected ApplicationContext getContext() {\n\t return context;\r\n\t }", "title": "" }, { "docid": "73d1cc89b1ef349f9aa4498c819a71a5", "score": "0.5603718", "text": "protected String build_admin_view_candidate_path_context (\tVelocityPortlet portlet,\n\t\t\t\t\t\t\t\t\tContext context,\n\t\t\t\t\t\t\t\t\tRunData data,\n\t\t\t\t\t\t\t\t\tSessionState state)\n\t{\n\t\tboolean dean = ((String)state.getAttribute(STATE_USER_ROLE)).equals(DEAN_ROLE) ? true : false ;\n\t\t\n\t\tBoolean hasSteps = null;\n\t\tTemplateStep[] steps = (TemplateStep[])state.getAttribute(STATE_CANDIDATE_PATH_TEMPLATE_STEPS);\n\t\tif(steps != null && steps.length > 0) {\n\t\t\thasSteps = new Boolean(true);\n\t\t}\n\t\telse {\n\t\t\thasSteps = new Boolean(false);\n\t\t\taddAlert(state, \"There was a problem: The requested candidate path is missing its steps.\");\n\t\t}\n\t\t\n\t\tcontext.put(CONTEXT_SELECTED_CANDIDATE_DISPLAY_NAME, (String)state.getAttribute(STATE_SELECTED_CANDIDATE_NAME));\n\t\tcontext.put(CONTEXT_SELECTED_CANDIDATE_EMPLID, (String)state.getAttribute(STATE_SELECTED_CANDIDATE_EMPLID));\n\t\tcontext.put(\"program\", (String)state.getAttribute(STATE_SELECTED_CANDIDATE_GROUP_DISPLAY_NAME));\n\t\tcontext.put(\"hassteps\", hasSteps);\n\t\tcontext.put(\"steps\", steps);\n\t\tcontext.put(\"sections\",(Vector)dissertationService.getSectionHeads());\n\t\t\n\t\t//DEANS MAY LOOK BUT NOT TOUCH\n\t\tMenu menu = new MenuImpl (portlet, data, \"DissertationAction\");\n\t\tif(!dean)\n\t\t{\n\t\t\tmenu.add ( new MenuEntry (\"Mark as Done\", null, true, MenuItem.CHECKED_NA, \"doConfirm_admin_update_candidate_path\", \"adminViewPath\") );\n\t\t}\n\t\tmenu.add ( new MenuEntry (\"Back to List of Students\", null, true, MenuItem.CHECKED_NA, \"doView_candidates_list\", \"adminViewPath\") );\n\t\t\n\t\tcontext.put(\"dean\", new Boolean(dean));\n\t\tcontext.put(Menu.CONTEXT_MENU, menu);\n\t\tcontext.put(Menu.CONTEXT_ACTION, \"DissertationAction\");\n\t\treturn TEMPLATE_ADMIN_VIEW_CANDIDATE_PATH;\n\n\t}", "title": "" }, { "docid": "e1f918012112fd19697b001fc25a2c1b", "score": "0.56006956", "text": "private Context createContext() {\n TestContext ctx = new TestContext();\n ctx.setFunctionName(\"Chatter File API handler\");\n return ctx;\n }", "title": "" }, { "docid": "d459e84b2bf8c39ef15e466e3d6e54db", "score": "0.55756134", "text": "public String getRequestContextPath() {\r\n return this.requestContextPath;\r\n }", "title": "" }, { "docid": "f310e8dd33042cb67d685c6697996e20", "score": "0.557501", "text": "public abstract void buildContext();", "title": "" }, { "docid": "48e0e070108f1e0a93445fd62ef106df", "score": "0.5572303", "text": "private RequestContext getContext() {\n\t\t\tcontext = context != null ? context\n\t\t\t\t\t: new RequestContext(ostream, params, permParams, outputCookies, tempParams, this, SID);\n\t\t\treturn context;\n\t\t}", "title": "" }, { "docid": "dc2c48a569b6e8cfe58651de4db9594d", "score": "0.5564581", "text": "public interface Context {\n\n\t\n\t\n}", "title": "" }, { "docid": "1fe4b67b1c4bb79bfcb55432ad8719d9", "score": "0.5556594", "text": "public abstract Context ctx();", "title": "" }, { "docid": "370520749da545c54eff1749ecf7b118", "score": "0.5542461", "text": "protected String build_multiple_candidate_paths_context (\tVelocityPortlet portlet, \n\t\t\tContext context, \n\t\t\tRunData data, \n\t\t\tSessionState state)\n\t{\n\t\tcontext.put(\"candidatename\", (String)state.getAttribute(STATE_SELECTED_CANDIDATE_ID));\n\t\treturn TEMPLATE_MULTIPLE_CANDIDATE_PATHS;\n\t}", "title": "" }, { "docid": "a919a969e77fc3d445350dad2ee175cc", "score": "0.5534101", "text": "public void setContextPath(String contextPath)\n {\n serverData.setContextPath(contextPath);\n }", "title": "" }, { "docid": "e2c2cc786594f5d366ee5159ca268ef0", "score": "0.5525087", "text": "protected ContextIn() {\n }", "title": "" }, { "docid": "9363434368c90da6b6bce5ec35bb2eee", "score": "0.55249417", "text": "String resolveBasePathFromSfContextUrl() {\n\t\tfinal String baseUrl = storefrontContextUrl;\n\t\tif (StringUtils.isBlank(baseUrl)) {\n\t\t\treturn BASE_URL_FOR_NO_SF_CONTEXT_PATH;\n\t\t}\n\t\treturn resolveUrlTerminator(baseUrl);\n\t}", "title": "" }, { "docid": "05903779920a2cbf66df2816a9950ef9", "score": "0.55222046", "text": "@Override\n public Context Context() {\n return this;\n }", "title": "" }, { "docid": "4d9b682f92a70917df15474f642e6fc8", "score": "0.5522095", "text": "public abstract void mo90449a(Context context);", "title": "" }, { "docid": "5cf2329bac0b6e58da405b6195f474a0", "score": "0.551065", "text": "public static void setContextInformation(Context context)\n {\n final StringBuilder buffer = new StringBuilder();\n\n final Session session = context.getSession(false);\n buffer.append(StringHelper.truncateAtEnd((session == null ? \"none\" : session.getId()), 4));\n buffer.append(\" \");\n \n if (context.getRequestNumber() > 0) // Means we are counting requests.\n {\n buffer.append(\"- \");\n buffer.append(context.getRequestNumber());\n buffer.append(\" \");\n }\n\n final PyxisSecurity security = context.getApplication().getSecurity();\n PyxisUser user = null;\n \n if (security != null)\n {\n user = security.getUser(context);\n }\n if (user != null)\n {\n buffer.append(user.getId());\n buffer.append(\" \");\n }\n else\n {\n buffer.append(\"- \");\n }\n\n CONTEXT_INFO.setStringValue(buffer.toString());\n }", "title": "" }, { "docid": "4a7a48ca92d6e277ee56ab14f67d05a1", "score": "0.5510275", "text": "public void contextInitialized(ServletContextEvent servletContextEvent) {\n \tString contextConfigLocation = servletContextEvent.getServletContext().getInitParameter(\"contextConfigLocation\");\r\n \tSystem.out.println(contextConfigLocation);\r\n }", "title": "" }, { "docid": "031283ac60f0f40b83bf8060fef60323", "score": "0.5509283", "text": "protected String build_candidate_view_path_context (\tVelocityPortlet portlet,\n\t\t\t\t\t\t\t\tContext context,\n\t\t\t\t\t\t\t\tRunData data,\n\t\t\t\t\t\t\t\tSessionState state)\n\t{\n\t\tBoolean hasSteps = null;\n\t\tTemplateStep[] templateSteps = (TemplateStep[])state.getAttribute(STATE_CANDIDATE_PATH_TEMPLATE_STEPS);\n\t\tif(templateSteps.length > 0)\n\t\t\thasSteps = new Boolean(true);\n\t\telse\n\t\t\thasSteps = new Boolean(false);\n\n\t\tcontext.put(\"showcompleted\", (Boolean)state.getAttribute(STATE_SHOW_COMPLETED_STEPS));\n\t\tcontext.put(\"displayname\", (String)state.getAttribute(STATE_USER_DISPLAY_NAME));\n\t\tcontext.put(\"steps\", templateSteps);\n\t\tcontext.put(\"hassteps\", hasSteps);\n\t\tcontext.put(\"sections\",(Vector)dissertationService.getSectionHeads());\n\n\t\tMenu menu = new MenuImpl (portlet, data, \"DissertationAction\");\n\t\tmenu.add ( new MenuEntry (\"New\", null, true, MenuItem.CHECKED_NA, \"doAdd_stepstatus\", \"candidateViewPath\") );\n\t\tmenu.add ( new MenuEntry (\"Delete\", null, true, MenuItem.CHECKED_NA, \"doConfirm_delete_stepstatus\", \"candidateViewPath\") );\n\t\tmenu.add ( new MenuEntry (\"Revise\", null, true, MenuItem.CHECKED_NA, \"doEdit_stepstatus\", \"candidateViewPath\") );\n\t\tmenu.add ( new MenuEntry (\"Move\", null, true, MenuItem.CHECKED_NA, \"doMove_stepstatus\", \"candidateViewPath\") );\n\t\tmenu.add ( new MenuEntry (\"Mark as Done\", null, true, MenuItem.CHECKED_NA, \"doConfirm_candidate_update_candidate_path\", \"candidateViewPath\") );\n\t\n\t\tBoolean showdone = (Boolean)state.getAttribute(STATE_SHOW_COMPLETED_STEPS);\n\t\tif(showdone.booleanValue())\n\t\t\tmenu.add ( new MenuEntry (\"Hide Done\", null, true, MenuItem.CHECKED_NA, \"doToggle_candidate_path_display_status\", \"candidateViewPath\") );\n\t\telse\n\t\t\tmenu.add ( new MenuEntry (\"Show Done\", null, true, MenuItem.CHECKED_NA, \"doToggle_candidate_path_display_status\", \"candidateViewPath\") );\n\n\t\tcontext.put(Menu.CONTEXT_MENU, menu);\n\t\tcontext.put(Menu.CONTEXT_ACTION, \"DissertationAction\");\n\t\treturn TEMPLATE_CANDIDATE_VIEW_PATH;\n\n\t}", "title": "" }, { "docid": "08e6bd6e446e8e0b365e50dbb280e759", "score": "0.55082583", "text": "private String getPath()\n\t{\n\t\treturn context.getRealPath(\"WEB-INF/ConnectionData\");\n\t}", "title": "" }, { "docid": "22920fe03abe34d8bee32f9c9f96c85d", "score": "0.55008817", "text": "@Override\n\tpublic boolean isContextBased() {\n\t\treturn true;\n\t}", "title": "" }, { "docid": "7de654621a9abdf7fb6fe89b56c0d52d", "score": "0.55007523", "text": "protected boolean contextDependent() {\n return true;\n }", "title": "" }, { "docid": "4aecebbc8365ecac09bbef2be5be7274", "score": "0.550023", "text": "public CustomContextResourceHandler(String context, Boolean isDirectoryListed){\n initHandler(context, isDirectoryListed);\n }", "title": "" }, { "docid": "330178c6313fb78ce45c1bf2d17370dd", "score": "0.5495048", "text": "public int contextMap(Request request);", "title": "" }, { "docid": "43579ebc16cadc71f8183140b7c054a0", "score": "0.5494092", "text": "@Override\r\n\tpublic String getContext()\r\n\t{\n\t\treturn \"Cloud\";\r\n\t}", "title": "" }, { "docid": "8caeaba79a1be52fd304f707dc81974d", "score": "0.54920197", "text": "void setContext(String context);", "title": "" }, { "docid": "7783d6a798f5853611ee41165a52b187", "score": "0.5481925", "text": "public Object getContext() {\n\t\treturn context;\n\t}", "title": "" }, { "docid": "4138624b403313c5f82f3f9175e0d431", "score": "0.5475588", "text": "public static MockContext initContext() {\n return initContext(\"/mock.htm\");\n }", "title": "" }, { "docid": "2b8139cb6c08fda9ee014da4ffa1b059", "score": "0.54720545", "text": "protected String build_no_candidate_path_context (\tVelocityPortlet portlet,\n\t\t\t\t\t\t\t\tContext context,\n\t\t\t\t\t\t\t\tRunData data,\n\t\t\t\t\t\t\t\tSessionState state)\n\t{\n\t\tcontext.put(\"candidatename\", (String)state.getAttribute(STATE_SELECTED_CANDIDATE_ID));\n\t\treturn TEMPLATE_NO_CANDIDATE_PATH;\n\t}", "title": "" }, { "docid": "4d278a29fbd385d413ccd8e1fe74e303", "score": "0.5470709", "text": "Context getGlobalContext();", "title": "" }, { "docid": "b2139def0ea87e1023ae77d3c018bdaf", "score": "0.5465931", "text": "public long getContext() {\n return context_;\n }", "title": "" }, { "docid": "b2139def0ea87e1023ae77d3c018bdaf", "score": "0.5465931", "text": "public long getContext() {\n return context_;\n }", "title": "" }, { "docid": "a1ba7da23f8bf17fb0079e1cb927a5c0", "score": "0.54632133", "text": "public HttpContext addContext(HttpContext context)\n {\n if (context.getContextPath()==null ||\n context.getContextPath().length()==0)\n throw new IllegalArgumentException(\"No Context Path Set\");\n boolean existing=removeMappings(context);\n if (!existing)\n {\n context.setHttpServer(this);\n addComponent(context);\n }\n addMappings(context);\n return context;\n }", "title": "" }, { "docid": "26aa8891e0801ae2e86c76197c3305bc", "score": "0.5453509", "text": "private String getPath() {\n\t\treturn context.getRealPath(\"WEB-INF/ConnectionData\");\n\t}", "title": "" }, { "docid": "26aa8891e0801ae2e86c76197c3305bc", "score": "0.5453509", "text": "private String getPath() {\n\t\treturn context.getRealPath(\"WEB-INF/ConnectionData\");\n\t}", "title": "" }, { "docid": "21b436a79c83975d9b794984154bb6c1", "score": "0.54349035", "text": "private Context getContext() {\n return this.getApplicationContext();\n }", "title": "" }, { "docid": "f1fbbc52c0fc0afd04f54cb8b0dd8f7d", "score": "0.5431627", "text": "static void checkContext(Context context) {\n \tgetContextMap().checkContext(context);\n }", "title": "" }, { "docid": "5b1f71c1ad1c5ca692ee4c554c992e57", "score": "0.54217803", "text": "public interface Context {\n\n }", "title": "" } ]
69bd7fbaa38ed22ae5b199ff7891b3d8
Get the provisioningState value.
[ { "docid": "9dd6b54e3e5248358ebd7c9c99ce782c", "score": "0.82280445", "text": "public String provisioningState() {\n return this.provisioningState;\n }", "title": "" } ]
[ { "docid": "6791d1b2a2253b0cd5e0c87c7ca84e80", "score": "0.8168732", "text": "public String provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "6791d1b2a2253b0cd5e0c87c7ca84e80", "score": "0.8168732", "text": "public String provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "6791d1b2a2253b0cd5e0c87c7ca84e80", "score": "0.8168732", "text": "public String provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "3ec5341a5d394dac31ca48311e13b9d1", "score": "0.8047338", "text": "public ProvisioningState provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "3ec5341a5d394dac31ca48311e13b9d1", "score": "0.8047338", "text": "public ProvisioningState provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "3ec5341a5d394dac31ca48311e13b9d1", "score": "0.8047338", "text": "public ProvisioningState provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "3ec5341a5d394dac31ca48311e13b9d1", "score": "0.8047338", "text": "public ProvisioningState provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "35da80205e6766d68dfdebfde58bba78", "score": "0.803433", "text": "public ProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "7bddcb7bf4d44cfbe38295cdcf7409be", "score": "0.7964961", "text": "public ProvisioningStatus provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "902ea7e2b71e3f1dff83600b7322687e", "score": "0.7747912", "text": "public GatewayProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "7ec85ebb017acc03c9a34ba7b57c3704", "score": "0.75520843", "text": "String provisioningState();", "title": "" }, { "docid": "7ec85ebb017acc03c9a34ba7b57c3704", "score": "0.75520843", "text": "String provisioningState();", "title": "" }, { "docid": "df518ccef254eab5f7a4f633cd277d30", "score": "0.75094366", "text": "public ScriptExecutionProvisioningState provisioningState() {\n return this.innerProperties() == null ? null : this.innerProperties().provisioningState();\n }", "title": "" }, { "docid": "e37197bb2986047b4ac0820a64dba617", "score": "0.7507223", "text": "public PrivateCloudProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "11452ac758286ea7020c0a7f1c5bc6bf", "score": "0.7346278", "text": "ProvisioningState provisioningState();", "title": "" }, { "docid": "11452ac758286ea7020c0a7f1c5bc6bf", "score": "0.7346278", "text": "ProvisioningState provisioningState();", "title": "" }, { "docid": "c55f238708a67445741264d51698dccb", "score": "0.72848743", "text": "public ExpressRouteAuthorizationProvisioningState provisioningState() {\n return this.provisioningState;\n }", "title": "" }, { "docid": "f2c2ca560e8d9c8a60609496d4c1c093", "score": "0.7159289", "text": "public String provisioningStatus() {\n return this.provisioningStatus;\n }", "title": "" }, { "docid": "161d48846deb3df966a9a82679c8e867", "score": "0.6872224", "text": "public VendorProvisioningState vendorProvisioningState() {\n return this.vendorProvisioningState;\n }", "title": "" }, { "docid": "3a450fb9de379bb14133ec1f7082d9ea", "score": "0.68435204", "text": "public ProvisioningStatus provisioningStatus() {\n return this.provisioningStatus;\n }", "title": "" }, { "docid": "89110849947b50905c6f640e60ae8359", "score": "0.6833817", "text": "RackSkuProvisioningState provisioningState();", "title": "" }, { "docid": "67e3f3b6b04f9ee4a72e5a9c3f25b908", "score": "0.6821048", "text": "RunbookProvisioningState provisioningState();", "title": "" }, { "docid": "dfbdd3ed4ebf03056e442f789993a87d", "score": "0.6526272", "text": "public String getState() {\n\t\treturn get(\"state\");\n\t}", "title": "" }, { "docid": "11a314356c7a6a7ddee4dbfe214b21da", "score": "0.62199724", "text": "@Override\n\tSubscriptionProvisioningStatus get();", "title": "" }, { "docid": "a615474f0b03885869784a86c1a17142", "score": "0.6121625", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "a615474f0b03885869784a86c1a17142", "score": "0.6121625", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "a615474f0b03885869784a86c1a17142", "score": "0.6121625", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "443d866904b4057a772c90996b8e0c54", "score": "0.6115538", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "280095023c2a16d1a2c5861cd2801058", "score": "0.61081344", "text": "public String getState() {\n return (String)getAttributeInternal(STATE);\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "f8021e476fe5f33a2124594c7d2a1d87", "score": "0.61010027", "text": "public String getState() {\n return state;\n }", "title": "" }, { "docid": "7c18786e9d7c2244260d1b39d8624f19", "score": "0.60946", "text": "public NestedResourceProvisioningState nestedResourceProvisioningState() {\n return this.nestedResourceProvisioningState;\n }", "title": "" }, { "docid": "873a8d155363cab93e6cd06de5ad8fdf", "score": "0.60887194", "text": "public String getState() {\r\n return state;\r\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.6070738", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.6070738", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "37e8498879b08d8011d3b07669ce713d", "score": "0.6070738", "text": "public String getState() {\n return this.state;\n }", "title": "" }, { "docid": "e0a6b656cb374e832980b214e2bba5ac", "score": "0.6070534", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "e0a6b656cb374e832980b214e2bba5ac", "score": "0.6070534", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "e0a6b656cb374e832980b214e2bba5ac", "score": "0.6070534", "text": "public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "3f029643535737a6b9917f28019acf80", "score": "0.6068399", "text": "public DeploymentState getState()\r\n {\r\n return state;\r\n }", "title": "" }, { "docid": "16ea709e7ae95bc9efaafcc5c2bee295", "score": "0.60594356", "text": "public String getState()\n {\n return state;\n }", "title": "" }, { "docid": "990ff8242c0ff85760520171b0df5994", "score": "0.6051552", "text": "public String getState() {\r\n return this.state;\r\n }", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.6029391", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "3f88bc51eef179763c01e9206ee93230", "score": "0.6029391", "text": "public String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "8e9e09064d8e01eddb6da57d8ed8413d", "score": "0.60266167", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "0974c4e803731f866ea8daf271673991", "score": "0.6014261", "text": "public String getState()\r\n\t{\r\n\t\treturn this.state;\r\n\t}", "title": "" }, { "docid": "556c9a2e10fb2380170301e2712011d5", "score": "0.59946245", "text": "public Status getState() {\n return state;\n }", "title": "" }, { "docid": "1275a2f1a1ff2221a060c2202ad507e1", "score": "0.59854525", "text": "@java.lang.Override public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "498a31a7b40188d04da62ad88a760d9b", "score": "0.59849954", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "498a31a7b40188d04da62ad88a760d9b", "score": "0.59848475", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.5975143", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.5975143", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.5975143", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.5975143", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "faa256a94ecc17235cf4e3992e623549", "score": "0.5975143", "text": "public java.lang.String getState() {\n return state;\n }", "title": "" }, { "docid": "5e030e46943e7773350e8f62e958bca3", "score": "0.5973144", "text": "public String getState() {\n return this.State;\n }", "title": "" }, { "docid": "379586b77680bfe9739fcaf80e47ee4c", "score": "0.5968578", "text": "public String getState()\n\t{\n\t\treturn state;\n\t}", "title": "" }, { "docid": "ac218b20fc3b1efd3381bfc5eb26b73b", "score": "0.5958196", "text": "String getState() {\n\t\treturn state;\n\t}", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.5944644", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.5944644", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "78bcd691b155ac8401a51b668fccecd4", "score": "0.5944644", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "3e28217f485729ebde995644f513e1fd", "score": "0.5930599", "text": "public Integer getState() {\n return state;\n }", "title": "" }, { "docid": "7c8c792d87a8a67a60136fc61569c2a0", "score": "0.59201264", "text": "public State getState() {\n State result = State.valueOf(state_);\n return result == null ? State.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "62e7bd02bd0b4eeff2a9865286b13a9b", "score": "0.591982", "text": "@java.lang.Override\n public int getStateValue() {\n return state_;\n }", "title": "" }, { "docid": "956d1b2c45588188b5fead289c784628", "score": "0.590452", "text": "public Integer getPaystate() {\n return paystate;\n }", "title": "" }, { "docid": "d6b370d5f04d5d3f5b5aa82b86843f0e", "score": "0.58760744", "text": "public Integer getState() {\r\n\t\treturn state;\r\n\t}", "title": "" }, { "docid": "53d6724951c49bf998152b5f0ef67e8c", "score": "0.58732486", "text": "public State getState() {\n State result = State.valueOf(state_);\n return result == null ? State.UNRECOGNIZED : result;\n }", "title": "" }, { "docid": "26f0629ce421c59eaf1f067d1b1da3cd", "score": "0.5870357", "text": "@Override\n public ProvisioningState provisioningState() {\n return null;\n }", "title": "" }, { "docid": "bc65d84829233888798b106369bc3f9f", "score": "0.5864419", "text": "@java.lang.Override\n public com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State getState() {\n com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State result =\n com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.forNumber(state_);\n return result == null\n ? com.google.cloud.osconfig.v1.PatchJobs.PatchJob.State.UNRECOGNIZED\n : result;\n }", "title": "" }, { "docid": "3ae5e095597556ff78a626d0d4450cd0", "score": "0.58561116", "text": "public Object getState() {\n return this.state;\n }", "title": "" }, { "docid": "f193e7426fc620f2d3bcdfa49ce042cc", "score": "0.585322", "text": "public String getBillstate() {\r\n return (String) getAttributeInternal(BILLSTATE);\r\n }", "title": "" }, { "docid": "42ed790df5e729089c38e6580acffb57", "score": "0.58468664", "text": "public java.lang.String getState() {\n\treturn state;\n}", "title": "" }, { "docid": "42ed790df5e729089c38e6580acffb57", "score": "0.58468664", "text": "public java.lang.String getState() {\n\treturn state;\n}", "title": "" } ]
caa7c6c6562517640b1de476b6fc1549
Method returns list of before sketch object
[ { "docid": "4ded258838eabbaadcc71ac915e95075", "score": "0.0", "text": "public List<Object> getBeforeSketchListMax(String function, String jobLevel, int recordIndex) throws DAOException;", "title": "" } ]
[ { "docid": "7d16066e52cc282a268e9605bea57a7d", "score": "0.66637784", "text": "private ArrayList<EffectItem> getSketch() {\n ArrayList<EffectItem> arrayList = new ArrayList<EffectTypeResource.EffectItem>();\n// int[] effects = {62, 61, 60, /* 7 */ 30, 31, 32, 33, 34, 35, 36, 37};\n// for(int index = 0; index < effects.length; index++) {\n// arrayList.add(new EffectItem(effects[index], \"Sketch\" + (index + 1)));\n// }\n\n return arrayList;\n }", "title": "" }, { "docid": "81f8d27dd4274a98c459b1c3b1225be6", "score": "0.61436176", "text": "public List<Object> getBeforeSketchList(String function, String jobLevel, int recordIndex, int status, int softDelete) throws DAOException;", "title": "" }, { "docid": "bda68cfe0c00bbb700bf35e78b4c868a", "score": "0.58640814", "text": "private ArrayList<Integer> preOrder() {\n // get elements preorder\n ArrayList<TElement> elements = this.mainStage.getTree().getElementsPreOrder();\n ArrayList<Integer> elementsData = new ArrayList<>();\n\n // iterate through elements to collect elements data\n for (TElement e : elements) {\n elementsData.add(e.getData());\n }\n\n return elementsData;\n }", "title": "" }, { "docid": "c43fb4c32c90f9b009824e35039eb62e", "score": "0.5697454", "text": "public List<Object> getBeforeSketchListForExcel(String occupation, int status, int softDel) throws DAOException;", "title": "" }, { "docid": "d9414016cef4542c148ba6dc6b096d24", "score": "0.5510057", "text": "public List<Turtle> getStamps() {\n\treturn new ArrayList<Turtle>(stamps);\n }", "title": "" }, { "docid": "81a7cef8726eb1a568849f50052a81c7", "score": "0.54208374", "text": "private ArrayList<Particle> initialize () {\n ArrayList<Particle> newParticles = new ArrayList<>();\n for (int i = 0; i < numOfParticles; i++) {\n Particle particle = new Particle(beginRange, endRange, dimentions, null);\n newParticles.add(particle);\n updateGlobalBest(particle);\n }\n return newParticles;\n }", "title": "" }, { "docid": "b5b1c53b13fbbb3b36e6e7cf8f2b2683", "score": "0.5355674", "text": "public PreDataVo getPreData() {\n\t\tPreDataVo vo = new PreDataVo();\n\t\tvo.setPaperLst(paperService.getAllPaper());\n\t\tvo.setBndLst(bindService.getAll());\n\t\tvo.setPrintLst(printService.getAll());\t\n\t\treturn vo;\n\t}", "title": "" }, { "docid": "c5338635c598e94ad03312710cce05b7", "score": "0.52983034", "text": "public ArrayList<Aluno> positionsPre(){\n ArrayList<Aluno> lst = new ArrayList<>();\n positionsPreAux(root, lst);\n return lst;\n }", "title": "" }, { "docid": "df0badff9ce3f5ef1594cfe1169598e3", "score": "0.52874374", "text": "java.util.List<org.landxml.schema.landXML11.ProfSurfDocument.ProfSurf> getProfSurfList();", "title": "" }, { "docid": "92b709427a46c7831367cb358bb45a04", "score": "0.5243531", "text": "public List<Position<E>> preOrder() {\n\t\t//Create a single container for references.\n\t\tList<Position<E>> snapshot = new ArrayList<Position<E>>();\n\t\t//if this is tree is non-empty\n\t\tif(!(isEmpty())){\n\t\t\tsnapshot = preOrderHelper(root(),snapshot);\n\t\t}\n\t\treturn snapshot;\n\t}", "title": "" }, { "docid": "8b01e27665a15096fb91564b992c6eda", "score": "0.52434075", "text": "public ArrayList<Rectangle3D> getCheckpoints () \n {\n return mCheckPoints;\n }", "title": "" }, { "docid": "0d9683e4765595200645f636230b9d5c", "score": "0.5231871", "text": "private LinkedList getControlPatch(DrawWFPanel canvas) {\n\t\tLinkedList shapes = new LinkedList();\n\t\tPoint3d lp = null;\n\t\t// draw the control point patch\n\t\tfor (int i = 0; i < order + 1; i++) {\n\t\t\tfor (int j = 0; j < order + 1; j++) {\n\t\t\t\t// row wise segments\n\t\t\t\tif (j > 0) {\n\t\t\t\t\tLineSegment l = new LineSegment(lp, controlPoints[i][j]);\n\t\t\t\t\tl.settColor(Color.lightGray);\n\t\t\t\t\tshapes.addAll(l.geetShapeList(canvas));\n\t\t\t\t}\n\t\t\t\t//columnwise segment\n\t\t\t\tif (i > 0) {\n\t\t\t\t\tLineSegment l = new LineSegment(controlPoints[i - 1][j], controlPoints[i][j]);\n\t\t\t\t\tl.settColor(Color.lightGray);\n\t\t\t\t\tshapes.addAll(l.geetShapeList(canvas));\n\t\t\t\t}\n\t\t\t\tlp = controlPoints[i][j];\n\t\t\t}\n\t\t}\n\t\treturn shapes;\n\t}", "title": "" }, { "docid": "db9a6aa1fd3dbe7d1d909c7a23342f02", "score": "0.52114016", "text": "private List<Prestamo> copiaProfundaPrestamos() {\n\t\tArrayList<Prestamo> copiaPrestamos = new ArrayList<>();\n\n\t\tfor (int i = 0; i < getTamano(); i++) {\n\t\t\tPrestamo prestamo = coleccionPrestamos.get(i);\n\t\t\tcopiaPrestamos.add(new Prestamo(prestamo));\n\t\t}\n\t\treturn copiaPrestamos;\n\t}", "title": "" }, { "docid": "3fa0dc363ba4f7d5f593fa28a74dfd62", "score": "0.5192602", "text": "public ArrayList<IDrawable> drawInitialComponents()\n {\n ArrayList<IDrawable> fullTrackDrawable = new ArrayList<>();\n\n gcDraw.setFill(Color.BLACK);\n gcDraw.setFont(new Font(\"Arial\", 12));\n\n // trackLines is each row of components, each trackLine is down in height\n for (int i = 0; i < trackLines.size(); ++i)\n {\n ArrayList<IDrawable> currentTrack = trackLines.get(i).getDrawableList();\n fullTrackDrawable.addAll(currentTrack);\n // currentTrack is a list of lists of drawables, i.e. a list of components within a row\n for (int j = 0; j < currentTrack.size(); ++j)\n {\n currentTrack.get(j).draw();\n }\n }\n\n return fullTrackDrawable;\n }", "title": "" }, { "docid": "ee13697af25d93c2adb6d0aa29ba5477", "score": "0.5186008", "text": "ArrayList<Integer> getPredecessor() {\n return pred;\n }", "title": "" }, { "docid": "cfafe108609fdca7b02b8be30839cc26", "score": "0.51770914", "text": "java.util.List<proio.model.Promc.Particle> \n getEntriesList();", "title": "" }, { "docid": "d94f942f91c7546bd055151f8252d92e", "score": "0.5176932", "text": "private List<Pick> generatePicks() {\n List<Pick> picks = new ArrayList<Pick>(this.pickCount);\n\n for (JobItem ji : this.jobItems) {\n for (int i = 0; i < ji.getCount(); i++) {\n picks.add(new Pick(this, ji.getItem()));\n }\n }\n\n return picks;\n }", "title": "" }, { "docid": "d2044c26efe2f8c9783bdb820f2de23c", "score": "0.51555675", "text": "public static List<PointType> getStartionLocationList(){\n List<PointType> stationLocations = new ArrayList<>();\n\n stationLocations.add(PointType.init(810000.803000000,818963.741000000,0));\n stationLocations.add(PointType.init(820779.176000000,806953.069000000,0));\n stationLocations.add(PointType.init(835988.994000000,818111.059000000,0));\n stationLocations.add(PointType.init(816377.449000000,836610.563000000,0));\n stationLocations.add(PointType.init(822506.571000000,816917.513000000,0));\n stationLocations.add(PointType.init(839678.888000000,829246.465000000,0));\n stationLocations.add(PointType.init(826781.530000000,832970.960000000,0));\n stationLocations.add(PointType.init(829501.293000000,840259.703000000,0));\n stationLocations.add(PointType.init(834189.125000000,843211.354000000,0));\n stationLocations.add(PointType.init(836475.365000000,834075.415000000,0));\n stationLocations.add(PointType.init(849309.699000000,804859.219000000,0));\n stationLocations.add(PointType.init(818978.754000000,836361.347000000,0));\n List<Double> webInfoList = getInfoFromWeb(\"http://www.weather.gov.hk/wxinfo/ts/text_readings_e.htm\",\"1234\");\n for (int i = 0; i < webInfoList.size();i++){\n double tempPressure = webInfoList.get(i);\n stationLocations.set(i,PointType.init(stationLocations.get(i).getX(),stationLocations.get(i).getY(),tempPressure));\n }\n return stationLocations;\n }", "title": "" }, { "docid": "e80e1b0359f6f032a2595fd038adf60a", "score": "0.5140872", "text": "private List<PointOfInterest> getListPointOfInterest(){return listPointOfInterest;}", "title": "" }, { "docid": "5b3d8369cbf9fb087ab4f818e87fc6b9", "score": "0.51236665", "text": "public List<Predecessor> getPredecessors(final String ouId) throws TripleStoreSystemException {\r\n final List<Predecessor> predecessors = new ArrayList<Predecessor>();\r\n // collect affiliations\r\n List<String> pred = this.tripleStoreUtility.executeQueryId(ouId, false, Constants.PREDECESSOR_AFFILIATION);\r\n Iterator<String> it = pred.iterator();\r\n while (it.hasNext()) {\r\n predecessors.add(new Predecessor(it.next(), PredecessorForm.AFFILIATION));\r\n }\r\n \r\n // collect fusion\r\n pred = this.tripleStoreUtility.executeQueryId(ouId, false, Constants.PREDECESSOR_FUSION);\r\n it = pred.iterator();\r\n while (it.hasNext()) {\r\n predecessors.add(new Predecessor(it.next(), PredecessorForm.FUSION));\r\n }\r\n \r\n // collect replacement\r\n pred = this.tripleStoreUtility.executeQueryId(ouId, false, Constants.PREDECESSOR_REPLACEMENT);\r\n it = pred.iterator();\r\n while (it.hasNext()) {\r\n predecessors.add(new Predecessor(it.next(), PredecessorForm.REPLACEMENT));\r\n }\r\n \r\n // collect spin-off\r\n pred = this.tripleStoreUtility.executeQueryId(ouId, false, Constants.PREDECESSOR_SPIN_OFF);\r\n it = pred.iterator();\r\n while (it.hasNext()) {\r\n predecessors.add(new Predecessor(it.next(), PredecessorForm.SPIN_OFF));\r\n }\r\n \r\n // collect splitting\r\n pred = this.tripleStoreUtility.executeQueryId(ouId, false, Constants.PREDECESSOR_SPLITTING);\r\n it = pred.iterator();\r\n while (it.hasNext()) {\r\n predecessors.add(new Predecessor(it.next(), PredecessorForm.SPLITTING));\r\n }\r\n return predecessors;\r\n }", "title": "" }, { "docid": "a86ef12ed69b0d5f6d05c3c66d6686a1", "score": "0.5115289", "text": "public List<Predecessor> getPredecessors() {\r\n return this.predecessors;\r\n }", "title": "" }, { "docid": "f06d77dc66abec93547235b9da89062d", "score": "0.5106197", "text": "public ArrayList<Lineup> getLineups(){\n\t\treturn lineups;\n\t}", "title": "" }, { "docid": "6830d96cd324944185e1e81e62cbf01b", "score": "0.50996816", "text": "public Set<FMNode> getStartNodes() {\n\t\tHashSet<FMNode> startNodes = new HashSet<FMNode>();\n\t\tfor (FMNode node : primitives) {\n\t\t\tSet<FMNode> nodePredecessors = node.getPredecessors();\n\t\t\tif (nodePredecessors.contains(this)) {\n\t\t\t\tnodePredecessors.remove(this);\n\t\t\t}\n\t\t\t//if this primitive node has predecessor nodes \n\t\t\t//and not all of them are also primitive nodes in this cluster,\n\t\t\t//then this primitive node is the start node inside this cluster node\n\t\t\tif (!nodePredecessors.isEmpty() && !primitives.containsAll(nodePredecessors)) {\n\t\t\t\tstartNodes.add(node);\n\t\t\t}\n\t\t}\n\t\treturn startNodes;\n\t}", "title": "" }, { "docid": "1d90a8b45662b16690b34589e00ad7a9", "score": "0.50643015", "text": "private ArrayList getPreconditions(Object ontModel){\n Model model = (Model)ontModel;\n return getIOPEs(\n model, \n ServiceMatchingQueryConstants\n .HAS_PRECONDITION_QUERY, \"precondition\");\n }", "title": "" }, { "docid": "4aa69e4c1ba631cd2f97c0603c12e6d4", "score": "0.5062545", "text": "public static ArrayList<String> getPredecessorlist(Vertex a) {\n\n ArrayList<String> pList = new ArrayList<String>();\n pList.add(a.getName());\n if (a.predecessor != null)\n pList.addAll(getPredecessorlist(a.predecessor));\n return pList;\n }", "title": "" }, { "docid": "163c9ec95a34546531d937313f465632", "score": "0.50507385", "text": "public final synchronized List<Position> getStartPoints() {\n return startPoints;\n }", "title": "" }, { "docid": "de1d0b9e6e3486b562b9c9c22eb11dbd", "score": "0.50416994", "text": "List<Shape> getShapes();", "title": "" }, { "docid": "de243d4d6e79747d1be7fd51f950cda0", "score": "0.50412625", "text": "default List<Object> aroundItems(boolean before) {\n return Collections.emptyList();\n }", "title": "" }, { "docid": "eb90163a36db5d79d108cf4206b49f85", "score": "0.50335824", "text": "public Iterator<tfnode> iterator_predecessors() {\r\n \treturn predecessors.iterator();\r\n }", "title": "" }, { "docid": "d0f6bc6271bc9fe03a9c3a8326ca4530", "score": "0.5032973", "text": "public List<IPart> getParts();", "title": "" }, { "docid": "e4997efe2b98769c269c77d0d76bb8af", "score": "0.5017196", "text": "public Patch[] getPatchList(){\n return new Patch[0];\n }", "title": "" }, { "docid": "bb8bde94c25ea4d8d5cbc9f05f8874ee", "score": "0.5013236", "text": "public Node getBefore() {\n return this.before;\n }", "title": "" }, { "docid": "c69237a12c4807a037b84e0b76d25524", "score": "0.50008464", "text": "public ArrayList<TesterinaFunction> getBeforeTestFunctions() {\n return this.beforeTestFunctions;\n }", "title": "" }, { "docid": "23374a31847fb1611de3ae82f68da0b8", "score": "0.49980217", "text": "public List<Point> pointList () {\n return pointList;\n }", "title": "" }, { "docid": "3bd56d35a279afdbedfc1f75cf8d2f0f", "score": "0.4992061", "text": "public static List<NodeInterface> getPredecessors(AbstractModelAdapter model,NodeInterface node) {\n\t\tArrayList<NodeInterface> _result = new ArrayList<NodeInterface>();\n\t\tfor(EdgeInterface e:model.getEdges()) {\n\t\t\tif(e.getTarget().equals(node)) {\n\t\t\t\t_result.add((NodeInterface) e.getSource());\n\t\t\t}\n\t\t}\n\t\treturn _result;\n\t}", "title": "" }, { "docid": "7e8d6da065cb34ef0338653d2a7a8b89", "score": "0.49854282", "text": "protected void initializeProcessedPointLists() {\n \n // Initialize processed datapoint arraylist to size of number of unique classes\n processedPointsList.clear();\n for (int addedLists = 0; addedLists < classCounter; addedLists++) {\n ArrayList<DataPoint> listToAdd = new ArrayList<>();\n processedPointsList.add(listToAdd);\n }\n }", "title": "" }, { "docid": "062dc2361a49b3bd696a36c06b35c2df", "score": "0.49802503", "text": "public List<T> preorderTraverse()\n {\n List<T> list = new ArrayList<T>();\n preorderTraverse(root, list);\n return list;\n }", "title": "" }, { "docid": "802d9e790c643f597f1e2e97909f7fbe", "score": "0.49758494", "text": "public ArrayList<Map.Point> getFrontier()\n\t{\n\t\treturn new ArrayList<Map.Point>();\n\t}", "title": "" }, { "docid": "ab6938ecca97e5c0e236f57a7eac859e", "score": "0.49724466", "text": "private static Lik[] preberiLike(Scanner sc) {\n int stLikov = sc.nextInt();\n\n Lik[] liki = new Lik[stLikov];\n for (int i = 0; i < liki.length; i++) {\n int vrsta = sc.nextInt();\n switch (vrsta) {\n case 1:\n liki[i] = new Pravokotnik(sc.nextInt(), sc.nextInt());\n break;\n\n case 2:\n liki[i] = new Kvadrat(sc.nextInt());\n break;\n\n case 3:\n liki[i] = new Krog(sc.nextInt());\n break;\n }\n }\n return liki;\n }", "title": "" }, { "docid": "8bd34394720e8a6f39ba93f3cbdc2c2d", "score": "0.49655426", "text": "List<Effect> effects();", "title": "" }, { "docid": "f2521e40b8ab3a568fb80738dcf84c3f", "score": "0.49629888", "text": "public List getCrossedElements()\n\t{\n\t\tDot intersects[];\n\t\tSelectedElement selEl, otherSelEl;\n\t\tList selElements = new LinkedList();\n\t\tList readyElements;\n\t\t\n\t\tList<Element> allElements = measure.getMeshPanel().getMesh().getElements();\n\t\tint i, l;\n\t\tElement element;\n\t\tl=allElements.size();\n\t\tfor(i=0; i<l; i++)\n\t\t{\n\t\t\telement = (Element)allElements.get(i);\n\t\t\tintersects = intersections(element);\n\t\t\tdouble distance;\n\t\t\tselEl=null;\n\t\t\tif(intersects==null) continue;\n\t\t\tif(intersects.length==2)\n\t\t\t\t{\n\t\t\t\t\tdistance=begin.distance( (intersects[0].getX()+intersects[1].getX())/2,\n\t\t\t\t\t\t\t\t(intersects[0].getY()+intersects[1].getY())/2 );\n\t\t\t\t\tselEl = new SelectedElement(element, distance);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tif(intersects.length==1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(element.isInside(begin)) distance=0;\n\t\t\t\t\t\t\t\telse distance=begin.distance(end);\n\t\t\t\t\t\t\tselEl = new SelectedElement(element, distance);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\tif(selEl!=null) //if we've got selected element, insert it into selElements, in distance ascending order\n\t\t\t{\n\t\t\t\tListIterator elIterator, insIterator;\n\t\t\t\tSelectedElement elToCheck;\n\t\t\t\tboolean inserted=false;\n\t\t\t\t\n\t\t\t\tfor(elIterator=selElements.listIterator(); elIterator.hasNext(); )\n\t\t\t\t{\n\t\t\t\t\telToCheck=(SelectedElement)elIterator.next();\n\t\t\t\t\t//insert selEl at insIterator if found more distant element\n\t\t\t\t\tif( elToCheck.distance>selEl.distance )\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\telIterator.previous();\n\t\t\t\t\t\t\telIterator.add(selEl); inserted=true; \n\t\t\t\t\t\t\tbreak; \n\t\t\t\t\t\t\t}\n\t\t\t\t}//end for all selElements\n\t\t\t\tif(!inserted)\n\t\t\t\t\t{selElements.add(selEl); inserted=true;}\n\n\t\t\t}//end if selEl!=null\n\t\t}//end for all elements of mesh\n\t\t\n\t\treadyElements=new ArrayList(selElements.size());\n\t\tfor(ListIterator li=selElements.listIterator(); li.hasNext(); )\n\t\t{\n\t\t\tselEl = (SelectedElement)li.next();\n\t\t\tint num=0;\n//\t\t\tnum=measure.getMeshPanel().getMesh().getElements().indexOf(selEl.element);\n//\t\t\tnum=selEl.element.getIndex();\n//\t\t\tSystem.out.println(\"Element #\"+num+\" distance=\"+selEl.distance);\n\t\t\treadyElements.add(selEl.element);\n\t\t}\n\t\t\n\t\treturn readyElements;\n\t}", "title": "" }, { "docid": "aa0dd3db861f697fbdd72e6fc66d65bc", "score": "0.4957121", "text": "public List<Step> prerequisites() { return prerequisites; }", "title": "" }, { "docid": "e0ca7da3f2d48f695225be1c889b74a5", "score": "0.4952624", "text": "private static List<Joint> preOrderJoints(Armature skeleton) {\r\n int numBones = skeleton.getJointCount();\r\n List<Joint> result = new ArrayList<>(numBones);\r\n Joint[] rootBones = skeleton.getRoots();\r\n for (Joint rootBone : rootBones) {\r\n addPreOrderJoints(rootBone, result);\r\n }\r\n\r\n assert result.size() == numBones : result.size();\r\n return result;\r\n }", "title": "" }, { "docid": "bfe8f3c4dc5ed580a67d7fb3d7f9d1c9", "score": "0.494711", "text": "public ArrayList<Fragment> getPrimaryFragments (RunConfig config) {\n// if (toString().contentEquals(\"MoxAK\")) {\n// System.err.println(\"found it\");\n// }\n// if (m_Fragments == null) {\n\n ArrayList<Fragment> f = new ArrayList<Fragment>(getLength() * 2);\n f = Fragment.fragment(this, config, false);\n// for (int i = 1; i < m_length; i++) {\n// f.add(new YIon(this, i));\n// f.add(new BIon(this, i));\n// }\n//\n// f.add(new PeptideIon(this));\n\n return f;\n// } else\n// return m_Fragments;\n }", "title": "" }, { "docid": "f31bf75274cc537de9ef7ee92f4482e0", "score": "0.4932235", "text": "public String[] PreorderStart(){\r\n\t\tString[] keys=new String[this.Size];//create a array of the node values\r\n\t\tint[] index={0}; //hold the index of next insertion\r\n\t\tPreorder(this.Root,keys,index);\r\n\t\treturn keys;\r\n\t}", "title": "" }, { "docid": "9a44fd7ba094dd6477acfc54f5462b7b", "score": "0.49295008", "text": "public ArrayList<Segment> getSegmentsAfterInitialisation(){\n\t\tDistributionUtility distributionUtility = new DistributionUtility();\n\t\tArrayList<Segment> s1 = new ArrayList<Segment>();\n\t\tfor (int i=1; i<10; i++){\n\t\t\tSegment segment = new Segment();\n\t\t\tsegment.setSegId(i);\n\t\t\tsegment.setAverageNoOfObjects(distributionUtility.getAvgNumberOfObjectsPerSegment());\n\t\t\ts1.add(segment);\n\t\t}\t\n\t\treturn s1;\n\t}", "title": "" }, { "docid": "6fc3d0e304fb32dcf71bd45c745988e9", "score": "0.49215317", "text": "private List<ProgrammingCard> getCards() {\n List<ProgrammingCard> program = new ArrayList<>();\n chosenCards.forEach((cardRectangle -> program.add(cardRectangle.card)));\n return program;\n }", "title": "" }, { "docid": "ca8c7c5766413f0f7d6b43a8560b835e", "score": "0.4908277", "text": "public List<Predecessor> getSuccessors() throws TripleStoreSystemException {\r\n if (this.successors == null) {\r\n this.successors = getSuccessors(getId());\r\n }\r\n return this.successors;\r\n }", "title": "" }, { "docid": "6a9135e874561788c7a40e5e58c3e1e4", "score": "0.49034855", "text": "java.util.List<com.hello.suripu.api.audio.AudioClassificationProtos.audio_class_result.audio_class> getClassesList();", "title": "" }, { "docid": "79c5a71319fddb1480acb44823396654", "score": "0.49001518", "text": "public List <Pair> getPointL() // initial point for L figure\n\t{\n\t\tList <Pair> listL = new ArrayList<Pair>();\n\t\tPair point1 = new Pair(0,0);\n\t\tPair point2 = new Pair(1,0);\n\t\tPair point3 = new Pair(2,0);\n\t\tPair point4 = new Pair(2,1);\n\t\tlistL.add(point1);\n\t\tlistL.add(point2);\n\t\tlistL.add(point3);\n\t\tlistL.add(point4);\n\t\treturn listL;\n\t}", "title": "" }, { "docid": "5479c21d1c549710c9ee5e27da58c686", "score": "0.48795208", "text": "@Override\n protected ParkingSpot[] parkingSpots() {\n return new ParkingSpot[] {\n new ParkingSpot(this, new Vector3f(10.0f, 0.0f, 0.0f),m_platformid,SimulationItemType.PARKINGSPOT_TRAIN, 6, 7, false)\n };\n }", "title": "" }, { "docid": "9d4a00ed5e3908db6a908f50494ab8df", "score": "0.48696983", "text": "public List <Pair> getPointSimple1() // initial point for simple figure 1\n\t{\n\t\tList <Pair> listSimple1 = new ArrayList<Pair>();\n\t\tPair point1 = new Pair(0,0);\n\t\tPair point2 = new Pair(0,1);\n\t\tPair point3 = new Pair(0,2);\n\t\tPair point4 = new Pair(0,3);\n\t\tlistSimple1.add(point1);\n\t\tlistSimple1.add(point2);\n\t\tlistSimple1.add(point3);\n\t\tlistSimple1.add(point4);\n\t\treturn listSimple1;\n\t}", "title": "" }, { "docid": "4363f9a35b6af65d63da3bdb92da5529", "score": "0.4865929", "text": "public ArrayList<Fragment> getPrimaryFragments () {\n\n// if (m_Fragments == null) {\n\n ArrayList<Fragment> f = new ArrayList<Fragment>(getLength() * 2);\n f = Fragment.fragment(this, false);\n// for (int i = 1; i < m_length; i++) {\n// f.add(new YIon(this, i));\n// f.add(new BIon(this, i));\n// }\n//\n// f.add(new PeptideIon(this));\n\n return f;\n// } else\n// return m_Fragments;\n }", "title": "" }, { "docid": "24413742bc672c668e007c2dfddd522e", "score": "0.4864385", "text": "ArrayList<Photo> getPreviousList();", "title": "" }, { "docid": "aee707ecd7dd6085c779f213f01d3d93", "score": "0.48608842", "text": "private List<Operation> getInitialOperations() {\n return aeroplaneChessLogic.getInitialOperations(rId);\n }", "title": "" }, { "docid": "0c37ffd24a85d8c4190f1e9e8c2cd316", "score": "0.486028", "text": "public abstract ArrayList<State> getInitialStates();", "title": "" }, { "docid": "8c34059402f08a6700dcf31d16b65a36", "score": "0.48579258", "text": "public List <Pair> getPointPlane() // initial point for plane figure\n\t{\n\t\tList <Pair> listPlane = new ArrayList<Pair>();\n\t\tPair point1 = new Pair(0,1);\n\t\tPair point2 = new Pair(1,0);\n\t\tPair point3 = new Pair(1,1);\n\t\tPair point4 = new Pair(1,2);\n\t\tPair point5 = new Pair(2,1);\n\t\tlistPlane.add(point1);\n\t\tlistPlane.add(point2);\n\t\tlistPlane.add(point3);\n\t\tlistPlane.add(point4);\n\t\tlistPlane.add(point5);\n\t\treturn listPlane;\n\t}", "title": "" }, { "docid": "1a92ff917ddb280a18f6c45a45295c73", "score": "0.4857895", "text": "public String[] makeSmartPredictions(String prefix)\n\t{\n\t\tString endfix=\"\"; boolean worked=true; boolean pri=true;\n\t\tString[] output=new String[5]; Smart spot; Integer freq=0; \n\t\tPriorityQueue<Smart> priority=new PriorityQueue<Smart>(6, new WordComparator());\n\t\twhile(worked && pri && priority.size()<5 && tail!=null){\n\t\t\tif((Integer)tail.getFreq()==null){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfreq=tail.getFreq(); endfix=makeString();\n\t\t\tif(endfix==null){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tpri=priority.add(new Smart((prefix+endfix), freq));\n\t\t\t\tworked=removeToNextSib();\n\t\t\t}\n\t\t}\n\n\t\tSmart[] priorityPredict=priority.toArray(new Smart[5]);\n\t\tfor(int i=0; i<priorityPredict.length && priorityPredict[i]!=null; i++){\n\t\t\toutput[i]=priorityPredict[i].getWord();\n\t\t}\n\t\treturn output;\n\t}", "title": "" }, { "docid": "5fb08e8206d2861b4abe4456974afc42", "score": "0.48524737", "text": "List<K> getPreOrderTraversal();", "title": "" }, { "docid": "4ad80bd9941d139b9d8183bd5bc141ea", "score": "0.48501098", "text": "protected List<Coordinates> extractPoints() {\n List<Coordinates> points = new ArrayList<>();\n\n for (MirrorLine line : synchroniser.mirrorLines()) {\n for (Coordinates point : line.bendsAndExtremities()) {\n if (intervalOfInterest.contains(synchroniser.spaceToTime(point.z()))) {\n points.add(transform(point));\n }\n }\n }\n for (MirrorConnection connection : synchroniser.mirrorConnections()) {\n MirrorLine source = connection.sourceMirrorLine();\n MirrorLine target = connection.targetMirrorLine();\n Interval mirrorInterval = connection.mirrorInterval();\n for (Coordinates point : sampleConnection(source, mirrorInterval, edgeSampling)) {\n if (intervalOfInterest.contains(synchroniser.spaceToTime(point.z()))) {\n points.add(transform(point));\n }\n }\n for (Coordinates point : sampleConnection(target, mirrorInterval, edgeSampling)) {\n if (intervalOfInterest.contains(synchroniser.spaceToTime(point.z()))) {\n points.add(transform(point));\n }\n }\n }\n return points;\n }", "title": "" }, { "docid": "c9f0935948e11b01537b72a93bbff622", "score": "0.48425466", "text": "public Collection getShapes()\r\n/* 58: */ {\r\n/* 59: 82 */ return this.shapeList;\r\n/* 60: */ }", "title": "" }, { "docid": "7ef04503eabe7a39127fef0c1f512241", "score": "0.48419988", "text": "public java.util.List<Tape> getTapes() {\n if (tapes == null) {\n tapes = new com.amazonaws.internal.ListWithAutoConstructFlag<Tape>();\n tapes.setAutoConstruct(true);\n }\n return tapes;\n }", "title": "" }, { "docid": "fe052c3a830953f9b047ddf61a6ce542", "score": "0.48411208", "text": "private void createNewPreys() {\n // check if this reproducing season\n if (numberOfIteration % Prey.YEAR_LENGTH > Prey.REPRODUCE_SEASON_LENGTH || preys.size() == 0)\n return;\n int one = (random.nextFloat() < newPreyPerIterationFloat) ? 1 : 0;\n ArrayList<Position> positions = getRandomPositions(newPreyPerIterationInt + one, mapWidth, mapHeight);\n for (Position position : positions)\n preys.add(new Prey(position));\n }", "title": "" }, { "docid": "a3fd9555845d98036ba40fd554f68666", "score": "0.48330295", "text": "public List<String> onSample() {\n ArrayList arrayList = new ArrayList();\n List<RenderMetaData> list = this.mEffects;\n if (list != null && !list.isEmpty()) {\n for (RenderMetaData renderMetaData : this.mEffects) {\n arrayList.add(\"V9-\" + renderMetaData.name);\n }\n }\n return arrayList;\n }", "title": "" }, { "docid": "6b62ca8d93c0debea07c5f2455eee945", "score": "0.48317719", "text": "PreallocatedList<? extends QuadrupedTimedStep> getSteps();", "title": "" }, { "docid": "56aff6803d961d0e604058f715d7a158", "score": "0.48305038", "text": "public ArrayList<BodyPart> getList() {\n return snake;\n }", "title": "" }, { "docid": "90f822da1a2c8abaed3156e703eee48c", "score": "0.48221773", "text": "private List<T> preorder(AVLNode<T> node) {\n List<T> preList = new ArrayList<>();\n\n if (node == null) {\n return preList;\n }\n\n List<T> left = preorder(node.getLeft());\n List<T> right = preorder(node.getRight());\n\n preList.add(node.getData());\n preList.addAll(left);\n preList.addAll(right);\n\n return preList;\n }", "title": "" }, { "docid": "387643fbfd1a2f0135c4f1b39843ebc7", "score": "0.48202094", "text": "public List<Object> getBeforeSketchListForExcelMax(String function, String jobLevel) throws DAOException;", "title": "" }, { "docid": "9f5594abfe85d5e5e20753e835557db4", "score": "0.48160288", "text": "private ParamList getList(Preprocessor p) {\n\t\tif (p.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\tParamList root;\n\t\ttry{\n\t\t\tInterpreter interpreter = new Interpreter();\n\t\t\tStringBuilder functionCall = new StringBuilder();\n\t\t\tfunctionCall.append(p.functionName + \"(0, -1\");\n\t\t\tfor (int i = 0; i < args.length; i++) {\n\t\t\t\tfunctionCall.append(\", \" + args[i]);\n\t\t\t}\n\t\t\tfunctionCall.append(\")\");\n\t\t\t// Initialize the ParamList that can store parameters of each depth\n\t\t\tinterpreter.eval(BUILDLIST);\n\t\t\t// Initialize a pointer that points to the front of the list\n\t\t\tinterpreter.eval(BUILDPOINTER);\n\t\t\t// Execute the modified code and it will update the paramlist \n\t\t\tinterpreter.eval(p.modifiedCode);\n\t\t\tinterpreter.eval(functionCall.toString());\n\t\t\troot = (ParamList) interpreter.get(\"begin\");\n\t\t\treturn root.next;\n\t\t} catch(Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "04453717caef02e6b39d4abcf114c546", "score": "0.48148385", "text": "public static List<TrainCard> getListInstance() {\n return faceUpDeckList;\n }", "title": "" }, { "docid": "10474285922d900fa92907e32c6d5491", "score": "0.4808895", "text": "public Sketch() {\n\t\t map = new TreeMap<Integer, Shape>();\n\t\t lastID = 0;\n\t}", "title": "" }, { "docid": "a6f4a3f98b9d9cccf5266af14e451e4d", "score": "0.48024812", "text": "public List getCurrentPosition()\n\t{\n\t\tList ret = new ArrayList();\n\t\tfor(int y=0; y<5; y++)\n\t\t{\n\t\t\tfor(int x=0; x<5; x++)\n\t\t\t{\n\t\t\t\tret.add(getPiece(new Position(x, y)));\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}", "title": "" }, { "docid": "d45c2f491dba5eecf9d5cabadf339c82", "score": "0.4796425", "text": "private void resetList() {\n shapeList.clear();\n for (Shape s : restartShape) {\n Shape temp = new Shape(s.getNameOfShape(), s.getShapeType(), s.getReference()\n , s.getColor(), s.getWidth(), s.getHeight(), s.getAppears(), s.getDisappears());\n shapeList.add(temp);\n }\n }", "title": "" }, { "docid": "357266a4ae0f71b66865d55be12d2734", "score": "0.47916895", "text": "@Override\n\tpublic void setup() {\n\t\tsmooth();\n\n\t\t/* Create the list of MyProcessingClass items */\n\t\titems = new ArrayList<MyProcessingClass>(); \n\t\t//Generics only allowing object of MyProcessingClass in the list example here:\n\t\t//http://tutorials.jenkov.com/java-generics/index.html\n\t}", "title": "" }, { "docid": "fa79d6b56c4c577d7f32fecc575b64eb", "score": "0.47899306", "text": "@Override\n public PApplet createSketch() {\n PApplet sketch = new Sketch(); \n return sketch;\n }", "title": "" }, { "docid": "b6a74b50f40d6a4529e2c362e01e6206", "score": "0.47887555", "text": "private List<QueryTrainInfoArguments> getQueryTrainInfoArgumentsList(){\n List<StatusInformationTable> statusInformationTableList = database.query().getStatusInformationTableListByUnfinished();\n if (statusInformationTableList.size() <= 0){\n return null;\n }\n List<QueryTrainInfoArguments> queryTrainInfoArgumentsList = new ArrayList<>();\n for (StatusInformationTable statusInformationTable: statusInformationTableList){\n QueryTrainInfoArguments queryTrainInfoArguments = makeQueryTrainInfoArguments(statusInformationTable);\n if (queryTrainInfoArguments != null){\n queryTrainInfoArgumentsList.add(queryTrainInfoArguments);\n }\n }\n if (queryTrainInfoArgumentsList.size() <= 0){\n return null;\n }\n return queryTrainInfoArgumentsList;\n }", "title": "" }, { "docid": "08823c209928a6d9c17822c052ac4c51", "score": "0.47845906", "text": "java.util.List<com.fruit.core.msg.prize.PrizeMessage.PrizeInfo> \n getPrizeInfosList();", "title": "" }, { "docid": "4e4952746b5bc5639f9f697cbb155f94", "score": "0.47826755", "text": "public StepDetector(){\n newAccelerationDataList = new ArrayList<>();\n calculatedList = new ArrayList<>();\n }", "title": "" }, { "docid": "a2cc7ee261f37de982fa655a134f913d", "score": "0.47813424", "text": "static ArrayList<Pair> surround(Pair start) {\n\t\tArrayList<Pair> prlist = new ArrayList<Pair>();\n\t\tfor (int i=0; i<4; i++) {\n\t\t\tPair tmp0 = new Pair(start);\n\t\t\tPair tmp;\n\t\t\tif (i==0) {\n\t\t\t\tif (start.x>0) {\n\t\t\t\t\ttmp = new Pair(tmp0.x-1,tmp0.y);\n\t\t\t\t\tprlist.add(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (i==1) {\n\t\t\t\tif (start.x<size-1) {\n\t\t\t\t\ttmp = new Pair(tmp0.x+1,tmp0.y);\n\t\t\t\t\tprlist.add(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (i==2) {\n\t\t\t\tif (start.y>0) {\n\t\t\t\t\ttmp = new Pair(tmp0.x, tmp0.y-1);\n\t\t\t\t\tprlist.add(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (i==3) {\n\t\t\t\tif (start.y<size-1) {\n\t\t\t\t\ttmp = new Pair(tmp0.x, tmp0.y+1);\n\t\t\t\t\tprlist.add(tmp);\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\n\t\treturn prlist;\n\t}", "title": "" }, { "docid": "5f70d6b26142cdba28a9ca07ee0991c6", "score": "0.47751686", "text": "protected List<PipelineComponent> createComponents() {\n return\n Arrays.asList(\n new PipelineComponent[]{\n// new SentenceDetector(), // sentences provided in the original data\n new P2Chunker(), //parses provided, only chunks needed\n new MorphoAnalyser(),\n new NER(),\n new Merger(),\n\n\n// new CoordinationIdentifier(), //from \"A and B\" adds \"A\", \"B\" as markables\n// new CompoundIdentifier(), //from \"N1 N2\" adds N1 as markable -- think twoce before using this!\n new PossessiveIdentifier() //from \"his A\" adds \"his\" as markable\n\n }\n );\n }", "title": "" }, { "docid": "633036bc042c2e93e82da355104fb9f8", "score": "0.47691888", "text": "List<Effect> avaliableEffects();", "title": "" }, { "docid": "a3f8596411b297e62a0976ab1296e276", "score": "0.47682527", "text": "public List splitBefore (Handle h)\n {\n \tList l = new List();\n \tHandle h1 = h.prev();\n \th.myHead = l.header;\n \th.myNode.prev = l.header;\n \tl.header.next = h.myNode;\n \tthis.header.prev.next = l.header;\n \tl.header.prev = this.header.prev;\n \th1.myNode.next = this.header;\n \tthis.header.prev = h1.myNode;\n \treturn l;\n }", "title": "" }, { "docid": "1cdfe5cb83c319471216d41e75e34622", "score": "0.47673732", "text": "public List<Target<E>> getHeadList() {\r\n\r\n\t\tList<Target<E>> targets = new ArrayList<Target<E>>();\r\n\r\n\t\tif ( this.isEmpty() ) {\r\n\t\t\treturn targets;\r\n\t\t}\r\n\r\n\t\tint firstOrderNum = this.getFirst().getOrderNum();\r\n\t\tfor ( Preference<E> p : this ) {\r\n\t\t\tif ( p.getOrderNum() > firstOrderNum ) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t\ttargets.add( p.getTarget() );\r\n\t\t}\r\n\r\n\t\treturn targets;\r\n\t}", "title": "" }, { "docid": "c0addebfd168ec38e22a0f76ba1557a1", "score": "0.47639334", "text": "@Override\n\tfinal public TreeSet<GeoElement> getAllIndependentPredecessors() {\n // return predecessors of any output, i.e. the inputs of this algo\n TreeSet<GeoElement> set = new TreeSet<GeoElement>();\n addPredecessorsToSet(set, true);\n return set;\n }", "title": "" }, { "docid": "190695f09cf9e8c769de9d16498ac76e", "score": "0.47621763", "text": "java.util.List<Long> getShapeList();", "title": "" }, { "docid": "190695f09cf9e8c769de9d16498ac76e", "score": "0.47621763", "text": "java.util.List<Long> getShapeList();", "title": "" }, { "docid": "190695f09cf9e8c769de9d16498ac76e", "score": "0.47621763", "text": "java.util.List<Long> getShapeList();", "title": "" }, { "docid": "980f02c3cdba1381ce7b371c1cd0a76b", "score": "0.4758729", "text": "List<Clue> getClues();", "title": "" }, { "docid": "b23167a72e1a8b472097dc42caa87cb9", "score": "0.47554696", "text": "static ArrayList<Pair> surround(Pair start) {\n \tArrayList<Pair> prlist = new ArrayList<Pair>();\n \tfor (int i=0; i<4; i++) {\n \t\tPair tmp0 = new Pair(start);\n \t\tPair tmp;\n \t\tif (i==0) {\n \t\t\tif (start.x>0) {\n \t\t\ttmp = new Pair(tmp0.x-1,tmp0.y);\n \t\t\tprlist.add(tmp);\n \t\t\t}\n \t\t}\n \t\tif (i==1) {\n \t\t\tif (start.x<size-1) {\n \t\t\ttmp = new Pair(tmp0.x+1,tmp0.y);\n \t\t\tprlist.add(tmp);\n \t\t\t}\n \t\t}\n \t\tif (i==2) {\n \t\t\tif (start.y>0) {\n \t\t\ttmp = new Pair(tmp0.x, tmp0.y-1);\n \t\t\tprlist.add(tmp);\n \t\t\t}\n \t\t}\n \t\tif (i==3) {\n \t\t\tif (start.y<size-1) {\n \t\t\ttmp = new Pair(tmp0.x, tmp0.y+1);\n \t\t\tprlist.add(tmp);\n \t\t\t}\n \t\t}\n \t\t\n \t}\n \t\n \treturn prlist;\n }", "title": "" }, { "docid": "356dd370880654c6efdfc7ae587a6600", "score": "0.47541255", "text": "private ArrayList<EffectItem> getSkin() {\n ArrayList<EffectItem> arrayList = new ArrayList<EffectTypeResource.EffectItem>();\n// int[] effects = {200, 201, 202, 203, 204, 205};\n// for(int index = 0; index < effects.length; index++) {\n// arrayList.add(new EffectItem(effects[index], \"Skin\" + (index + 1)));\n// }\n\n return arrayList;\n }", "title": "" }, { "docid": "56144610d846e09d0bb6683e137817d2", "score": "0.47490898", "text": "LinkedList<PCB> getQueue()\n {\n return preProcessCreationQueue;\n }", "title": "" }, { "docid": "b3bfb8cb0156a327478bcdc15958b391", "score": "0.4748348", "text": "public ArrayList<String> getEventDeck()\n\t{\n\t\tArrayList<String> values = new ArrayList<>(prototypes.keySet());\n\t\treturn values;\n\t}", "title": "" }, { "docid": "8e880f67f0614544f9164d2cbc58b701", "score": "0.47478935", "text": "public ArrayList<E> getPreorderTraversal() {\n\t\tStack<Node<E>> stack = new Stack<Node<E>>();\n\t\tArrayList<E> list = new ArrayList<E>();\n\t\tNode<E> tmp = root;\n\t\tstack.push(tmp);\n\t\twhile (!stack.isEmpty()) {\n\t\t\ttmp = stack.pop();\n\t\t\twhile (tmp != null) {\n\t\t\t\tlist.add(tmp.getData());\n\t\t\t\tif (tmp.getRight() != null)\n\t\t\t\t\tstack.push(tmp.getRight());\n\t\t\t\ttmp = tmp.getLeft();\n\t\t\t}\n\t\t}\n\t\treturn list;\n\t}", "title": "" }, { "docid": "46eb9646b414b4f43292efdce2281b2f", "score": "0.4747462", "text": "public ArrayList<FigureHead> retrieveAllFigureHeads() {\r\n\t\treturn figureHeadList;\r\n\t}", "title": "" }, { "docid": "272c5fee69afa0207dce78c75c8fecaf", "score": "0.47449875", "text": "List<T> train();", "title": "" }, { "docid": "e0652bbf30acf76d0ff61b059a8d5548", "score": "0.47406834", "text": "public List<V> getOrderedVertexList(PriorityBean<V,E> pb);", "title": "" }, { "docid": "6c4508ccb2453b25c0e8865ce0779f92", "score": "0.47348523", "text": "ArrayList<Debate> getPrelims (Entry entry)\n\t{\n\t\tArrayList<Debate> debates = new ArrayList<Debate>();\n\t\t\n\t\tfor (PrelimRound round : getPrelims())\n\t\t{\n\t\t\tfor (Debate debate : round.getDebates())\n\t\t\t{\n\t\t\t\tif (debate.hasEntry (entry))\n\t\t\t\t{\n\t\t\t\t\tdebates.add(debate);\n\t\t\t\t\tbreak; //advance to next round \n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn debates; \n\t}", "title": "" }, { "docid": "81204dbe1ecec87ec20e51e1afa54768", "score": "0.47283754", "text": "static Parte[] criaPartes(){\n\t\tParte[] res = new Parte[8];\n\t\tres[0] = new Motor(112,\"motor m112\",\"motor de avanco do cabecote\",100.0f,1.2f,1.1f,1250);\n\t\tres[1] = new Motor(114,\"motor m114\",\"motor auxiliar\",60.0f,0.6f,0.8f,1250);\n\t\tres[2] = new Motor(111,\"motor m111\",\"motor de ventilador\",70.0f,1.0f,1.0f,3000);\n\t\tres[3] = new Motor(110,\"motor m110\",\"motor principal\",120.0f,1.8f,1.5f,1250);\n\t\tres[4] = new Parafuso(231,\"parafuso p1\",\"parafuso de fixacao do cabecote\",2.5f,100.0f,8.0f);\n\t\tres[5] = new Parafuso(232,\"parafuso p2\",\"parafuso de fixacao do motor\",2.5f,80.0f,6.0f);\n\t\tres[6] = new Parafuso(233,\"parafuso p3\",\"parafuso de fixacao do ventilador\",2.0f,60.0f,6.0f);\n\t\tres[7] = new Parafuso(234,\"parafuso p4\",\"parafuso de uso geral\",3.0f,120.0f,12.0f);\n\t\treturn res;\n\t}", "title": "" }, { "docid": "91f3f745b36c1806afd0e49524d838c5", "score": "0.47276238", "text": "private List<Prato> getPratos() {\n\n List<Prato> pratos = new ArrayList<>();\n\n for (Prato linhaPrato : restaurante.getListaPratosPrincipais()) {\n pratos.add(linhaPrato);\n }\n\n return pratos;\n }", "title": "" }, { "docid": "ba0e02540e0ff080aa2bff08146dd5b5", "score": "0.47237316", "text": "public double [] getClassPriors() {\n return m_ClassPriors;\n}", "title": "" }, { "docid": "19482db4f546387f4ca0eeb9f678a05b", "score": "0.4719324", "text": "public CompositeElement getIgnoreList() {\n return preview.getIgnoreList();\n }", "title": "" } ]
e6fe302b83d4e42d63e7467643aa390b
Return an AmusingPreciseNumber that is the absolute value of numb and leave numb unchanged.
[ { "docid": "53d1f77a628b2357d61a10789ff000f8", "score": "0.8576158", "text": "public static AmusingPreciseNumber abs(AmusingPreciseNumber numb)\r\n\t{\r\n\t\tAmusingPreciseNumber absolute = new AmusingPreciseNumber(numb);\r\n\t\tabsolute.abs();\r\n\t\treturn absolute;\r\n\t}", "title": "" } ]
[ { "docid": "ca3064f0ba203f6f6e6aa3ce9be1bc2c", "score": "0.72675794", "text": "public static AmusingPreciseNumber negate(AmusingPreciseNumber numb)\r\n\t{\r\n\t\tAmusingPreciseNumber negated = new AmusingPreciseNumber(numb);\r\n\t\tnegated.negate();\r\n\t\treturn negated;\r\n\t}", "title": "" }, { "docid": "5ab4d48217ef8575157b42638e6ca213", "score": "0.68161935", "text": "public AmusingPreciseNumber(AmusingPreciseNumber numb)\r\n\t{\r\n//\t\tAmusingPreciseNumber copyNumb = new AmusingPreciseNumber(numb);\r\n\t\tfhalf = new LinkedList<>(numb.getFhalf());\t\r\n\t\tshalf = new LinkedList<>(numb.getShalf());\r\n\t\tsign = numb.getSign();\r\n\t}", "title": "" }, { "docid": "09311765f02243de83a3a9027352d643", "score": "0.6672443", "text": "public void subtract(AmusingPreciseNumber numb )\r\n\t{\r\n\t\tAmusingPreciseNumber temp = subtract(this, numb);\r\n\t\tfhalf = new LinkedList<>(temp.getFhalf());\r\n\t\tshalf = new LinkedList<>(temp.getShalf());\r\n\t\tsign = temp.getSign();\r\n\t}", "title": "" }, { "docid": "3736bfb4ab0b3afbc79463d0239f5eba", "score": "0.6605012", "text": "public AmusingPreciseNumber(int numb)\r\n\t{\r\n\t\tString input = String.valueOf(numb);\r\n\t\tchar [] charArr = input.toCharArray();\r\n\t\tArrayList<Character> charList = new ArrayList<>();\r\n\t\tfor(int i = 0; i < charArr.length; i++)\r\n\t\t{\r\n\t\t\tcharList.add(charArr[i]);\r\n\t\t}\r\n\t\t\r\n\t\tif(charList.get(0) == '-')\r\n\t\t{\r\n\t\t\tsign = 0;\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\tsign = 1;\r\n\t\t}\r\n\t\tfor(int i = 0; i < charList.size(); i++)\r\n\t\t{\r\n\t\t\tif(Character.isDigit(charList.get(i)))//takes care of the sign at the beginning of the string if there is any\r\n\t\t\t{\r\n\t\t\t\tfhalf.add(Character.getNumericValue(charList.get(i)));\r\n\t\t\t}\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f8fb3242a111990fa1f32d265bca519d", "score": "0.6101661", "text": "private static double absolute(double a){\n return (a <= 0) ? 0 - a : a;\n }", "title": "" }, { "docid": "de9b6d324bff32aedebde7d294ca48c7", "score": "0.59650576", "text": "public static int getAbsValue(int a) {\n\n if (a > 0) {\n return a;\n } else {\n return -a;\n }\n\n }", "title": "" }, { "docid": "130c4f1543a1d105c3f69fe3d4cf52e5", "score": "0.5854243", "text": "private int abs(int a) {\n if (a >= 0) return a;\n else return -a;\n }", "title": "" }, { "docid": "69e02af6e75990ee8dcecb40bbdaf171", "score": "0.5788068", "text": "public AmusingPreciseNumber(String numb)\r\n\t{\r\n\t\tchar [] charArr = numb.toCharArray();\r\n\t\tArrayList<Character> charList = new ArrayList<>();\r\n\t\tfor(int i = 0; i < charArr.length; i++)\r\n\t\t{\r\n\t\t\tcharList.add(charArr[i]);\r\n\t\t}\r\n\t\r\n\t\thelpSet(charList);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9b9479beb5d69b991aec51a6a5497044", "score": "0.57601875", "text": "@NotNull Number abs();", "title": "" }, { "docid": "2b36118ce259652bdfaae77f5e653d09", "score": "0.57116127", "text": "public static double absValue(double a) {\r\n\t\tif (a>=0) {\r\n\t\t\treturn a;\r\n\t\t}else{\r\n\t\t\treturn a*-1;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "2f8e5b7f9d29cb8b1724aaa337437d11", "score": "0.5698908", "text": "@Override\n public Int negative(Int b) {\n return new Int(- b.value);\n }", "title": "" }, { "docid": "1cff082f7d0c230a4d8e33ecb7590ad5", "score": "0.5695871", "text": "public static int absValue(int num) {\n\t\tint answer = 0;\n\t\tif(num < 0) {\n\t\t\tanswer= -num;\n\t\t\t}else answer= num;{\n\t\t\t}\n\t\treturn answer;\n\t}", "title": "" }, { "docid": "5382c8b1ce3d77720f552990fc22d038", "score": "0.56580776", "text": "public void add(AmusingPreciseNumber numb )\r\n\t{\r\n\t\tAmusingPreciseNumber temp = add(this, numb);\r\n\t\tfhalf = new LinkedList<>(temp.getFhalf());\r\n\t\tshalf = new LinkedList<>(temp.getShalf());\r\n\t\tsign = temp.getSign();\r\n\t}", "title": "" }, { "docid": "ab934f9e5752ce6899fcc47348c4a18f", "score": "0.5518021", "text": "public MoneyCalc abs() {\n\t\tamount = amount.abs();\n\t\treturn this;\n\t}", "title": "" }, { "docid": "4ed9699a79a4a415beb8782ee4e627be", "score": "0.5437888", "text": "public int valorAbsoluto(int num) {\n\t\tif (num < 0){\n\t\t\treturn (num * -1);\n\t\t}\n\t\treturn num;\n\t}", "title": "" }, { "docid": "73c7b8f3efe492cdfa089533203157a9", "score": "0.53578985", "text": "private static int abs(int n) {\n return (n == Integer.MIN_VALUE) ? 0 : Math.abs(n);\n }", "title": "" }, { "docid": "31eb92d88c6365de4fe9335890b97723", "score": "0.52838063", "text": "public static AmusingPreciseNumber subtract(AmusingPreciseNumber num1, AmusingPreciseNumber num2)\r\n\t{\r\n\t\tAmusingPreciseNumber numb1 = new AmusingPreciseNumber(num1);\r\n\t\tAmusingPreciseNumber numb2 = new AmusingPreciseNumber(num2);\r\n\t\tAmusingPreciseNumber ansNumber = null;\r\n\t\taddZeros(numb1,numb2);\r\n\t\t\r\n\t\tif(numb1.getSign() != numb2.getSign())\r\n\t\t{\r\n\t\t\tif(numb1.getSign() == 1)\r\n\t\t\t{\r\n\t\t\t\tnumb2.abs();\r\n\t\t\t\treturn add(numb1,numb2);\r\n\t\t\t}\r\n\t\t\telse if(numb1.getSign() == 0)\r\n\t\t\t{\r\n\t\t\t\tnumb2.negate();\r\n\t\t\t\treturn add(numb1,numb2);\r\n\t\t\t}\r\n\t\t}\r\n\t\tArrayList<Character> charList = new ArrayList<Character>();\r\n\t\tfor(int i = numb2.getShalf().size()-1; i >= 0; i--)\r\n\t\t{\t\r\n\t\t\tint lender = numb1.getShalf().get(i);\r\n\t\t\tint x = lender - numb2.getShalf().get(i);\r\n\t\t\tif(x < 0)\r\n\t\t\t{\r\n\t\t\t\tx = (lender + 10) - numb2.getShalf().get(i);\r\n\t\t\t\tif(i != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tint j;\r\n\t\t\t\t\tfor(j = i-1; (j >= 0) && numb1.getShalf().get(j) == 0; j--)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnumb1.getShalf().set(j, 9);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(j < 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tint k;\r\n\t\t\t\t\t\tfor(k = numb1.getFhalf().size()-1; numb1.getFhalf().get(k) == 0; k--)\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tnumb1.getFhalf().set(k, 9);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tnumb1.getFhalf().set(k,numb1.getFhalf().get(k)-1);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnumb1.getShalf().set(j,numb1.getShalf().get(j)-1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse//Therefore your at the beginning of the second half list... entering the end of the first half.\r\n\t\t\t\t{\r\n\t\t\t\t\tint j;\r\n\t\t\t\t\tfor(j = numb1.getFhalf().size()-1; (j >= 0) && numb1.getFhalf().get(j) == 0; j--)//We can't get to the end of this loop because if we get to this point it means numb1 > numb2\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnumb1.getFhalf().set(j, 9);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tnumb1.getFhalf().set(j,numb1.getFhalf().get(j)-1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {}\r\n\t\t\tcharList.add((char) (x+48));\r\n\t\t}\r\n\t\tcharList.add('.');\r\n\t\tfor(int i = numb2.getFhalf().size()-1; i >= 0; i--)\r\n\t\t{\r\n\t\t\tint lender = numb1.getFhalf().get(i);\r\n\t\t\tint x = lender - numb2.getFhalf().get(i);\r\n\t\t\tif(x < 0)\r\n\t\t\t{\r\n\t\t\t\tx = (lender + 10) - numb2.getFhalf().get(i);\r\n\t\t\t\tif(i != 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tint k;\r\n\t\t\t\t\tfor(k = i - 1; numb1.getFhalf().get(k) == 0 && k > 0; k--)//We can't get to the end of this loop because if we get to this point it means numb1 > numb2;\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tnumb1.getFhalf().set(k, 9);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tnumb1.getFhalf().set(k,numb1.getFhalf().get(k)-1);\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t{\r\n\t\t\t\t\tansNumber = subtract(num2,num1);\r\n\t\t\t\t\tif(numb1.getSign() == 0 && numb1.getSign()== 0)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tansNumber.abs();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tansNumber.negate();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tremoveZeros(ansNumber);\r\n\t\t\t\t\treturn ansNumber;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {}\r\n\t\t\tcharList.add((char) (x+48));\r\n\t\t}\r\n\t\tcharList.add('+');\r\n\t\tString ansString = \"\";\r\n\t\tfor(int i = charList.size()-1; i >= 0; i--)\r\n\t\t{\r\n\t\t\tansString += charList.get(i);\r\n\t\t}\r\n\t\tansNumber = new AmusingPreciseNumber(ansString);\r\n\t\t\r\n\t\tif(numb1.getSign() == numb2.getSign())\r\n\t\t{\r\n\t\t\tif(numb1.getSign() == 0)\r\n\t\t\t{\r\n\t\t\t\tansNumber.negate();\r\n\t\t\t}\r\n\t\t\telse {}\r\n\t\t}\r\n\t\tremoveZeros(ansNumber);\r\n\t\treturn ansNumber;\r\n\t}", "title": "" }, { "docid": "4110b287e6e2a01ca68b0d0e7cdf47bb", "score": "0.52005297", "text": "public static Num subtract(Num a, Num b) {\n Num answer = new Num();\n\n // When a is neg and b is pos\n if (a.isNegative && !b.isNegative) {\n answer = answer.normalAdd(a, b);\n answer.isNegative = true;\n }\n // a is pos and b is neg\n else if (!a.isNegative && b.isNegative) {\n answer = answer.normalAdd(a, b);\n answer.isNegative = false;\n }\n // When both a and b are of same sign\n else {\n // a < b\n if (a.compareTo(b) < 0) {\n answer = answer.normalSubtract(b, a); // find the difference\n answer.isNegative = !b.isNegative;\n } else {\n answer = answer.normalSubtract(a, b);\n answer.isNegative = a.isNegative;\n }\n }\n return answer;\n }", "title": "" }, { "docid": "8065108b95a67555a4634233c6bd0dfd", "score": "0.519123", "text": "public static Expression abs(Number value) {\n return abs(x(value));\n }", "title": "" }, { "docid": "19337625e78834a8996f43c8971fc8e2", "score": "0.51704353", "text": "@Override\n public double abs() {\n return super.abs();\n }", "title": "" }, { "docid": "774d5bdcce8b895628e44c8011f37d58", "score": "0.50501686", "text": "@Override\n public Double absoluteValue() {\n return super.abs();\n }", "title": "" }, { "docid": "27db2b2b6ccdbda9aa6da73e9b59016b", "score": "0.50247437", "text": "public Fraction absVal() throws Exception{\n\t\t\t return new Fraction(this.numerator.abs(), this.denominator);\n\t\t\t}", "title": "" }, { "docid": "53ac9fc16948fa7e34a7320e2ea329be", "score": "0.5003506", "text": "public String absolute(String number) {\n return new BigDecimal(number).abs(new MathContext(this.precision))\n .setScale(this.precision, RoundingMode.HALF_EVEN).toPlainString();\n }", "title": "" }, { "docid": "1853550c342a15131d65fe9f6e04f38e", "score": "0.49665487", "text": "public GenPolynomial<C> abs() {\n if (leadingBaseCoefficient().signum() < 0) {\n return this.negate();\n }\n return this;\n }", "title": "" }, { "docid": "d86ae2360e0913c8145d7e93881a19df", "score": "0.49594545", "text": "static Num subtract(Num a, Num b) {\n\t\tNum outNum = new Num();\n\t\toutNum.setBase(a.base());\n\t\t//Checks if either of a and b is positive and the other is negative \n\t\tif (a.getIsNegative() ^ b.getIsNegative()) {\t\n\t\t\t//Case if a is negative and b is positive\n\t\t\tif (a.getIsNegative()) {\n\t\t\t\tNum temp = new Num(a);\n\t\t\t\ttemp.setIsNegative(false);\n\t\t\t\toutNum = add(temp, b);\n\t\t\t\toutNum.setIsNegative(true);\n\t\t\t\treturn outNum;\n\t\t\t} \n\t\t\t//Case if a is positive and b is negative\n\t\t\telse {\n\t\t\t\tNum temp = new Num(b);\n\t\t\t\ttemp.setIsNegative(false);\n\t\t\t\treturn add(a, temp);\n\t\t\t}\n\t\t} \n\t\t//Case if both a and b are negative\n\t\telse if (a.getIsNegative() && b.getIsNegative()) {\t\t\n\t\t\tNum temp1 = new Num(a);\n\t\t\ttemp1.setIsNegative(false);\n\t\t\tNum temp2 = new Num(b);\n\t\t\ttemp2.setIsNegative(false);\t\n\t\t\t//Checks if |a| is greater or lesser than |b| and subtracts the lesser one from larger\n\t\t\tif(temp1.compareTo(temp2)<=0)\n\t\t\t{\n\t\t\t\toutNum=subtract(temp2,temp1);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\toutNum=subtract(temp1,temp2);\n\t\t\t\toutNum.setIsNegative(true);\n\t\t\t}\n\t\t\treturn outNum;\n\t\t}\n\t\t\n\t\tlong borrow = 0;\n\t\tif (a.compareTo(b) < 0) {\n\t\t\toutNum = subtract(b, a);\n\t\t\toutNum.setIsNegative(true);\n\t\t\treturn outNum;\n\t\t}\n\t\tIterator<Long> iteratorA = a.iterator();\n\t\tIterator<Long> iteratorB = b.iterator();\n\t\tlong operand1 = getValueSub(iteratorA);\n\t\tlong operand2 = getValueSub(iteratorB);\n\t\tlong subtract = 0;\n\t\twhile (operand1 != -1) {\n\t\t\tif (operand2 == -1) {\n\t\t\t\toperand2 = 0;\n\t\t\t}\n\t\t\toperand1 -= borrow;\n\t\t\tif (operand1 < operand2) {\n\t\t\t\tsubtract = operand1 + a.base() - operand2;\n\t\t\t\tborrow = 1;\n\t\t\t} else {\n\t\t\t\tsubtract = operand1 - operand2;\n\t\t\t\tborrow = 0;\n\t\t\t}\n\t\t\toutNum.list.add(subtract);\n\t\t\toperand1 = getValueSub(iteratorA);\n\t\t\toperand2 = getValueSub(iteratorB);\n\t\t}\n\t\toutNum.trimZeros();\n\t\treturn outNum;\n\t}", "title": "" }, { "docid": "392e08727953b1a33b1ed3a45e5921b5", "score": "0.49213177", "text": "public double getExtremeValue(){\n double aos = (-b/(2 * a));\n return ((a * Math.pow(aos, 2)) + (b * aos) + c);\n }", "title": "" }, { "docid": "698e96ee0af631d5367ab37588712b9a", "score": "0.49109003", "text": "private int normalize(int a) {\n int retVal = a % p;\n if (retVal < 0) retVal += p;\n \n return retVal;\n }", "title": "" }, { "docid": "2e4ccefb41869922632683a794531fbb", "score": "0.49094146", "text": "private int negate (int a) {\n return plusOne(~a);\n }", "title": "" }, { "docid": "9b88158e01b389ed0587a9871d8874e3", "score": "0.4908398", "text": "public void ABS() {\n cur.stack[cur.stack_idx + 0] = (int)(FTCalc.FT_ABS(cur.stack[cur.stack_idx + 0]) & 0xFFFF);\n }", "title": "" }, { "docid": "6891591660e80d06552e88d340662b58", "score": "0.4891662", "text": "BigInteger getANonNegativeInteger();", "title": "" }, { "docid": "2e9a11f7c74e46570e0ea8cbd2c14d3b", "score": "0.48724368", "text": "public void testAbs02() {\n\t\tRational s = new Rational(-4, -7);\n\t\tRational result = s.abs();\n\t\tassertEquals(result, new Rational(4, 7));\n\t}", "title": "" }, { "docid": "b562355132caf9985a28fc745c145a21", "score": "0.48396602", "text": "public void abs()\r\n\t{\r\n\t\tsign = 1;\r\n\t}", "title": "" }, { "docid": "b265bc51c0a5fa66e3a3321fa69b95b2", "score": "0.48300478", "text": "public Duration abs() {\n return new Duration(Math.abs(this.intValue()));\n }", "title": "" }, { "docid": "30834b159ad79e7bf51ec313c02f120d", "score": "0.48223874", "text": "public static int abs(final int e) {\n\t\treturn (Math.abs(e));\n\t}", "title": "" }, { "docid": "adbfedda8ea830b5fa6004adb5671afa", "score": "0.4821158", "text": "public static void main(String[] args) {\n int a=-100,absolute;\n double b=-5,Absolute;\n absolute=Math.abs(a);\n Absolute=Math.abs(b);\n System.out.println(\"Absolute Value of a is : \"+absolute);\n System.out.println(\"Absolute Value of b is : \"+Absolute);\n \n }", "title": "" }, { "docid": "9d1019c56b9d2c76df88b172f677b416", "score": "0.48069274", "text": "public static Query getAbs(Query q) {\n if (q instanceof BoostQuery) {\n BoostQuery bq = (BoostQuery) q;\n Query subQ = bq.getQuery();\n Query absSubQ = getAbs(subQ);\n if (absSubQ == subQ) return q;\n return new BoostQuery(absSubQ, bq.getBoost());\n }\n\n if (q instanceof WrappedQuery) {\n Query subQ = ((WrappedQuery)q).getWrappedQuery();\n Query absSubQ = getAbs(subQ);\n if (absSubQ == subQ) return q;\n return new WrappedQuery(absSubQ);\n }\n\n if (!(q instanceof BooleanQuery)) return q;\n BooleanQuery bq = (BooleanQuery)q;\n\n Collection<BooleanClause> clauses = bq.clauses();\n if (clauses.size()==0) return q;\n\n\n for (BooleanClause clause : clauses) {\n if (!clause.isProhibited()) return q;\n }\n\n if (clauses.size()==1) {\n // if only one clause, dispense with the wrapping BooleanQuery\n Query negClause = clauses.iterator().next().getQuery();\n // we shouldn't need to worry about adjusting the boosts since the negative\n // clause would have never been selected in a positive query, and hence would\n // not contribute to a score.\n return negClause;\n } else {\n BooleanQuery.Builder newBqB = new BooleanQuery.Builder();\n // ignore minNrShouldMatch... it doesn't make sense for a negative query\n\n // the inverse of -a -b is a OR b\n for (BooleanClause clause : clauses) {\n newBqB.add(clause.getQuery(), BooleanClause.Occur.SHOULD);\n }\n return newBqB.build();\n }\n }", "title": "" }, { "docid": "802888da59daa93e8cc5ffe674c2da51", "score": "0.4789162", "text": "public static int isign(int a1, int a2) {\n return (a2 >= 0) ? Math.abs(a1) : -Math.abs(a1);\n }", "title": "" }, { "docid": "3a4556fa6a5dec8f511182642f233398", "score": "0.47840518", "text": "public void testAbs01() {\n\t\tRational s = new Rational(4, 7);\n\t\tRational result = s.abs();\n\t\tassertEquals(result, new Rational(4, 7));\n\t}", "title": "" }, { "docid": "dc68a960d894a3a3edf68788b37f5438", "score": "0.4758814", "text": "public void calculate_abs(View view) {\n\n if (!isScreenEmpty()) {\n String tmp = screenData.toString().replaceAll(\"[\\\\p{Ps}\\\\p{Pe}]\", \"\");\n\n double d = Double.parseDouble(tmp);\n double res = Math.abs(d);\n\n formatNumberDisplay(res);\n formatNumberDisplayHistory(res,true);\n\n }\n }", "title": "" }, { "docid": "278a310417eed7b46f649bcd9b113bf2", "score": "0.4749433", "text": "public BigInt negCopy() {\n int thisValue = 0;\n for (int i = 0; i < this.value.size(); i++) {\n thisValue += this.value.get(i) * IntHelper.intPow(10, i);\n }\n if (this.positive) return new BigInt(thisValue * -1);\n else return new BigInt(thisValue);\n }", "title": "" }, { "docid": "978783b3b2c16df7578ce3e091f1b439", "score": "0.47472706", "text": "public static int negative(int b) {\n return (b >> 8) & 1;\n }", "title": "" }, { "docid": "ade98ef8a623867c8fa06b852ee60bab", "score": "0.47456297", "text": "public static int positiveDifference(int a, int b){\n return Math.abs(a)- Math.abs(b);\n }", "title": "" }, { "docid": "e41473ddd0e95a4cb3e5bcd68b57baaf", "score": "0.47408402", "text": "public int resta(int a, int b) {\n\t\treturn a-b;\r\n\t}", "title": "" }, { "docid": "4961b734b7b90af50d05477d4d9d0306", "score": "0.47171715", "text": "public void setAbdominal(float abdominal) {\r\n this.abdominal = abdominal;\r\n }", "title": "" }, { "docid": "c25e8cae2a33619012f59d664b7ef404", "score": "0.46895882", "text": "protected double abs(double value) {\n\t\tif (value < 0) return -1.0;\n\t\tif (value > 0) return 1.0;\n\t\telse return 0;\n\t}", "title": "" }, { "docid": "3933d0478dfbc659be439f2051fcf236", "score": "0.4683837", "text": "public static String toMixedNum(int a, int b){\r\n\t\tint whole=(a-a%b)/b;\r\n\t\tint num=a%b;\r\n\t\tint den=b;\r\n\t\treturn (whole+\"_\"+num+\"/\"+den);\r\n\t}", "title": "" }, { "docid": "69dfbc60bfcbb68f68c201e573124deb", "score": "0.4675013", "text": "public int mm(int a) {\n\t\treturn --a;\n\t}", "title": "" }, { "docid": "92b5b7a1c9890546c4e4627126c4a2cb", "score": "0.464417", "text": "public float positive(float a) { if(a<0) return a+TWO_PI; else return a;}", "title": "" }, { "docid": "f013706ec0d69f747c524ee153ecef43", "score": "0.46391264", "text": "public static void main(String[] args) {\nint n=-50;\r\nint a;\r\nif(n<0) {\r\n\ta= -(n);\r\n\tSystem.out.println(\"The number \" +n +\" is converted to \" +a);\r\n}\r\n\t}", "title": "" }, { "docid": "f27f1ed77ca68992dbe8a54659243b0d", "score": "0.46224302", "text": "static int abs(int d)\r\n\t{\r\n\t return d < 0 ? -1 * d : d;\r\n\t}", "title": "" }, { "docid": "45fb4880410133af2900fc6030ff56b4", "score": "0.4614786", "text": "private static int toPositive(int number) {\n return number & 0x7fffffff; \n }", "title": "" }, { "docid": "3afbe0ed55fe15fe62691b9a2cd282a2", "score": "0.45938542", "text": "public float getAbdominal() {\r\n return abdominal;\r\n }", "title": "" }, { "docid": "b837ca3ff4680e1025911905f648f301", "score": "0.4588252", "text": "private static void removeZeros(AmusingPreciseNumber numb)\r\n\t{\r\n//\t\tremoves leading zeroes\r\n\t\tif(numb.getFhalf().size() > 1)\r\n\t\t{\r\n\t\t\twhile(numb.getFhalf().peekFirst() == 0)\r\n\t\t\t{\r\n\t\t\t\tnumb.getFhalf().remove();\r\n\t\t\t\tif(numb.getFhalf().size() == 1)\r\n\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\telse {}\r\n//\t\tremoves trailing zeroes\r\n\t\tif(!numb.getShalf().isEmpty())\r\n\t\t{\r\n\t\t\twhile(numb.getShalf().peekLast() == 0)\r\n\t\t\t{\r\n\t\t\t\tnumb.getShalf().removeLast();\r\n\t\t\t\tif(numb.getShalf().isEmpty())\r\n\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\telse {}\r\n\t}", "title": "" }, { "docid": "372e412e4f4f22fd3f0820203af47b9b", "score": "0.45718414", "text": "public static int addDigit(int a, int b){\n int remainder=a;\n int i=1;\n while(remainder!=0){ //determines the lenth of the original int to determine the power of 10 that the added digit must be\n remainder=(int)(remainder/10);\n i*=10; //the power of ten multiplier\n }\n// String test=\"\"+b+a;\n// int answer=(int)test;\n// System.out.println(test);\n int add=b*i;\n if(a<0 ^ b<0){ //maintains negative or positive values (somewhat unclear if this is what was desired)\n add*=-1;\n }\n else if(a<0 && b<0){\n add*=-1;\n a*=-1;\n }\n int output=add+a;\n return output;\n }", "title": "" }, { "docid": "093300917bfdd918cd28a421ca5274e4", "score": "0.45679098", "text": "public void toMixedNum() {\n\t\tint mixedNumer = numer % denom;\n\t\tint mixedWhole = (numer - absValue(mixedNumer))/ denom;\n\t\t\n\t\tthis.whole = mixedWhole;\n\t\tthis.numer = mixedNumer;\n\t}", "title": "" }, { "docid": "0164a702dab8353f739cf2e9897ec432", "score": "0.45639607", "text": "default double getABSquared()\n {\n return getA().distanceSquared(getB());\n }", "title": "" }, { "docid": "f24820b4f1ea6a13fb8b558809a32c6e", "score": "0.45556867", "text": "public static Num add(Num a, Num b) {\n Num answer = new Num();\n\n // when both numbers are negative\n if (a.isNegative && b.isNegative) {\n answer = answer.normalAdd(a, b);\n answer.isNegative = true;\n }\n // when both are positive\n else if (!a.isNegative && !b.isNegative) {\n answer = answer.normalAdd(a, b);\n answer.isNegative = false;\n }\n // when one is negative\n else {\n // find difference and assign sign\n if (a.compareTo(b) < 0) {\n answer = answer.normalSubtract(b, a);\n answer.isNegative = b.isNegative;\n } else {\n answer = answer.normalSubtract(a, b);\n answer.isNegative = a.isNegative;\n }\n }\n return answer;\n }", "title": "" }, { "docid": "fb885f26a63198c59fd5e73b246b22ca", "score": "0.45547992", "text": "public static String convert(int num, int b) {\n int quotient; // the quotient when num is divided by base b\n int remainder; // the remainder when num is divided by base b\n\n quotient = num / b;\n remainder = num % b;\n\n String remain;\n if (remainder > 9) {\n remain = EXTRA_DIGITS[remainder - 10];\n } else {\n remain = \"\" + remainder;\n }\n\n if (quotient == 0) {\n return remain;\n } else {\n return convert(quotient, b) + remain;\n }\n\n }", "title": "" }, { "docid": "57ed0a4086b7eb7af8e102094fd472f6", "score": "0.45447582", "text": "public boolean isApply_absolute_value() {\n return apply_absolute_value;\n }", "title": "" }, { "docid": "7b7f6fd5b35ddaee9ada5fba5e2d7dee", "score": "0.45376882", "text": "public Float plusAssign(SGLInteger b) {\r\n return assign(plus(b).floatValue());\r\n }", "title": "" }, { "docid": "93eb424cc2427e27dbffea263716063f", "score": "0.45157582", "text": "public double falseAlarmRate(int outputNum) {\n assertIndex(outputNum);\n\n return (falsePositiveRate(outputNum) + falseNegativeRate(outputNum)) / 2.0;\n }", "title": "" }, { "docid": "e52e6dfb36ec5a10d023a43e8bba3495", "score": "0.45029548", "text": "public double getAbsMax() {\n if (hasMax)\n return get(VALUE_MAX);\n if (hasHigh)\n return get(VALUE_HIGH);\n return get(VALUE_MAIN);\n }", "title": "" }, { "docid": "9b6452b03cb4087d73e1ecfe0d614fd6", "score": "0.4488284", "text": "static Num add(Num a, Num b) {\n\t\t//Checking the cases of a and b both not being positive and negative\n\t\tif (!((a.getIsNegative() && b.getIsNegative()) || (!a.getIsNegative() && !b.getIsNegative()))) {\n\t\t\t//Case if a is negative and b is positive\n\t\t\tif (a.isNegative) {\n\t\t\t\tNum temp = new Num(a);\n\t\t\t\ttemp.setIsNegative(false);\n\t\t\t\treturn subtract(b, temp);\n\t\t\t} \n\t\t\t//case if a is positive and b is negative\n\t\t\telse {\n\t\t\t\tNum temp = new Num(b);\n\t\t\t\ttemp.setIsNegative(false);\n\t\t\t\treturn subtract(a, temp);\n\t\t\t}\n\t\t}\n\t\tNum outNum = new Num();\n\t\toutNum.setIsNegative(a.getIsNegative());\n\t\toutNum.setBase(a.base());\n\t\tlong carry = 0;\n\t\tIterator<Long> runner1 = a.iterator();\n\t\tIterator<Long> runner2 = b.iterator();\n\t\twhile (carry != 0 || runner1.hasNext() || runner2.hasNext()) {\n\t\t\tlong itr1Val = getValue(runner1);\n\t\t\tlong itr2Val = getValue(runner2);\n\t\t\tlong sum = itr1Val + itr2Val + carry;\n\t\t\toutNum.list.add(sum % a.base());\n\t\t\tcarry = sum / a.base();\n\t\t}\n\t\treturn outNum;\n\t}", "title": "" }, { "docid": "40d6349791ec2611485faa0b3a97e5f1", "score": "0.44859514", "text": "public static Expression abs(Expression expression) {\n return x(\"ABS(\" + expression.toString() + \")\");\n }", "title": "" }, { "docid": "19a2307288ba7a5adcd2d231eb0e30f4", "score": "0.44834504", "text": "@Override\n public Int times(Int b) {\n return new Int(value * b.value);\n }", "title": "" }, { "docid": "3219b3c137da390a26907a2a5092a00c", "score": "0.4459706", "text": "public int close10(int a, int b) {\n if (Math.abs(10 - a) < Math.abs(10 - b)) return a;\n else if (Math.abs(10 - a) > Math.abs(10 - b)) return b;\n return 0;\n}", "title": "" }, { "docid": "af4451dfb59b683358a0cda32902cca6", "score": "0.44549134", "text": "private void normalize(){\n\t\tif(getDnm() < 0){\n\t\t\tif(getNum() < 0){\n\t\t\t\tsetNum(Math.abs(getNum()));\n\t\t\t\tsetDnm(Math.abs(getDnm()));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsetNum(0 - getNum());\n\t\t\t\tsetDnm(Math.abs(getDnm()));\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "0b27bed96e28827300bb91fde525a430", "score": "0.44545674", "text": "public boolean isPrimeDeclarativeNegativeNumbCheck(final int number) {\n return number >= 0 && IntStream.rangeClosed(2, number / 2).noneMatch(curNumb -> number % curNumb == 0);\n }", "title": "" }, { "docid": "20e1e41ff3f5f7ea067764317d397c7f", "score": "0.44450524", "text": "public static float abs(float x) {\n\t\treturn (x >= 0 ? x : -x);\n\t}", "title": "" }, { "docid": "7b5eb764332c2ec81e93ab3c61faed46", "score": "0.4436732", "text": "public int close10(int a, int b) {\r\n\t if (Math.abs(a-10) < Math.abs(b-10)) {\r\n\t return a;\r\n\t } else if (Math.abs(a-10) > Math.abs(b-10)) {\r\n\t return b;\r\n\t } else {\r\n\t return 0;\r\n\t }\r\n\t}", "title": "" }, { "docid": "741c80a41f0a6e08549305d50697a598", "score": "0.44364998", "text": "public Complex minus (Complex b)\r\n {\r\n Complex a = this;\r\n double real = a.real - b.real;\r\n double imag = a.imaginary - b.imaginary;\r\n return new Complex(real, imag);\r\n }", "title": "" }, { "docid": "90d09d8f10e375c8b37e4a96f9cbe354", "score": "0.443583", "text": "@Override\n\tpublic double getResult() {\n\t\treturn numberA - numberB;\n\t}", "title": "" }, { "docid": "e8cfd6262ff16666ff704537bacbedc1", "score": "0.44351384", "text": "public void abs() {\n if (isComplex) {\n if (useApache) {\n makeReal();\n for (int i = 0; i < size; ++i) {\n rvec[i] = cvec[i].abs();\n }\n } else {\n makeReal();\n for (int i = 0; i < size; i++) {\n double real = rvec[i];\n double imaginary = ivec[i];\n double result;\n if (FastMath.abs(real) < FastMath.abs(imaginary)) {\n if (imaginary == 0.0) {\n result = FastMath.abs(real);\n } else {\n double q = real / imaginary;\n result = FastMath.abs(imaginary) * FastMath.sqrt(1 + q * q);\n }\n } else if (real == 0.0) {\n result = FastMath.abs(imaginary);\n } else {\n double q = imaginary / real;\n result = FastMath.abs(real) * FastMath.sqrt(1 + q * q);\n }\n rvec[i] = result;\n }\n\n }\n } else {\n for (int i = 0; i < size; ++i) {\n rvec[i] = FastMath.abs(rvec[i]);\n }\n\n }\n }", "title": "" }, { "docid": "0618bc18960e2c04e2e39d1da5b1e6c2", "score": "0.44347763", "text": "public BigFraction subtract(BigFraction bf){\n return new BigFraction(this.numerator.multiply(bf.denominator).subtract(bf.numerator.multiply(this.denominator)), this.denominator.multiply(bf.denominator));\n }", "title": "" }, { "docid": "bda4050085ec8de204d916c4d93e0859", "score": "0.44095474", "text": "public int findPower(int numb) {\n \n int ans;\n \n if (numb >= 1 && numb <=13) {\n ans = numb;\n }\n else if (numb >= 14 && numb <= 26) {\n ans = numb - 13;\n }\n else if (numb >= 27 && numb <= 39) {\n ans = numb - 26;\n }\n else if (numb >= 40 && numb <= 52) {\n ans = numb - 39;\n }\n else {\n ans = -1;\n }\n return ans;\n }", "title": "" }, { "docid": "d095c83e315f6a60690d32bef067b9be", "score": "0.4377146", "text": "public double subtract(double a,double b)\n {\n return (a - b);\n }", "title": "" }, { "docid": "9cdcaceaf8ac5d3aaa8382e9b844b2d9", "score": "0.43750826", "text": "public int aplusb(int a, int b) {\n // write your code here, try to do it without arithmetic operators.\n if(b==0)return a;\n return aplusb(a^b,(a&b)<<1);\n }", "title": "" }, { "docid": "6ce46f53ac267cd8129c74c6549731a0", "score": "0.43685877", "text": "public void amstrongNumber(int n) {\n\t\tint a,sum=0,temp=n;\n\t\twhile(n>0) {\n\t\t\ta=n%10;\n\t\t\tn=n/10;\n\t\t\tsum+=(a*a*a);\n\t\t}\n\t\tif(temp==sum)\n\t\t\tSystem.out.println(temp +\" is Amstrong number\");\n\t\telse\n\t\t\tSystem.out.println(temp +\" is NOT Amstrong number\");\n\t}", "title": "" }, { "docid": "59ff831b5bacf56b80355ffd01a7fa23", "score": "0.43562162", "text": "apint multiplication(apint z) {\n\t\tapint a = this;\n\t\tapint result = new apint(0);\n\t\tif (is_zero(this) || is_zero(z)) {\n\t\t\treturn new apint(0);\n\t\t}\n\t\tif (a.length == 1 && z.length == 1) {\n\t\t\t// single digit number;\n\t\t\treturn new apint(a.digits[a.length - 1] * z.digits[z.length - 1]);\n\t\t}\n\n\t\tif (a.digits[a.length - 1] % 2 != 0) {\n\t\t\tresult = result.add(z);\n\t\t}\n\n\t\twhile (is_one(a) == false) {\n\t\t\ta = half(a);\n\t\t\tz = doubling(z);\n\t\t\tif (a.digits[a.length - 1] % 2 != 0) {\n\t\t\t\tresult = result.add(z);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "title": "" }, { "docid": "963ddd76c887b2e04cb17af4c9df6ff6", "score": "0.4342525", "text": "Fraction negative() \r\n{\t\r\n Fraction neg = new Fraction(-num, denom);\r\n \r\n return neg;\r\n}", "title": "" }, { "docid": "021dd0d54583dd4a621dc4b92f734867", "score": "0.43405685", "text": "public Complex sub(Complex b)\n {\n return new Complex(this.re - b.re, this.im - b.im);\n }", "title": "" }, { "docid": "82558c26a7baee8948986a4000bd9b61", "score": "0.4340177", "text": "public BigInteger handleNegative(BigInteger m) {\n if (negThreshold != null && m.compareTo(negThreshold) >= 0)\n m = m.subtract(n);\n return m;\n }", "title": "" }, { "docid": "a42df19522fe70033e4c0a229e245e3d", "score": "0.4338588", "text": "public void subtract(Number operand) {\n/* 168 */ this.value = (short)(this.value - operand.shortValue());\n/* */ }", "title": "" }, { "docid": "6c0303dd78735ac806dea86604b1c56c", "score": "0.4336985", "text": "static Num mod(Num a, Num b) throws Exception {\n\t\treturn subtract(a, product(divide(a, b), b));\n\t}", "title": "" }, { "docid": "3049bf723eddf59538a5cfe06f943482", "score": "0.4327404", "text": "public void calcularRetiro(double b){\r\n if (b <= saldoInicial){\r\n saldoInicial = saldoInicial - b;\r\n }\r\n }", "title": "" }, { "docid": "082391ee88eddae931afbb33b8990dca", "score": "0.43224287", "text": "public static BIG neg(BIG value) {\n FP fp = new FP(value);\n fp.neg();\n return fp.redc();\n }", "title": "" }, { "docid": "797056b04bdcf5fd49888f87ba06d35b", "score": "0.43212634", "text": "public static String toImproperFrac(int a, int b, int c){\r\n\t\tint num=(a*c+b);\r\n\t\tint den=c;\r\n\t\treturn (num+\"/\"+den);\r\n\t}", "title": "" }, { "docid": "9865a59dafb92b01c78723ff74e8e92e", "score": "0.4319965", "text": "public static void denormalisiere(Gleitpunktzahl a, Gleitpunktzahl b) {\n\t\tint compareResult = a.compareAbsTo(b);\n Gleitpunktzahl big = compareResult >= 0 ? a : b;\n Gleitpunktzahl small = compareResult >= 0 ? b : a;\n while (small.exponent < big.exponent) {\n big.exponent--;\n big.mantisse *= 2;\n }\n\t}", "title": "" }, { "docid": "a33a9e04c0eb8371c9f76e8cc496fab4", "score": "0.43155462", "text": "private static double fabs(double d){ \n if(Math.abs(d)<EPS) return 0; \n else return d > 0 ? 1 : -1; \n }", "title": "" }, { "docid": "b2dcb785da930a43b6c13487579d27f3", "score": "0.43093234", "text": "public double abs()\n {\n final double absRe = Math.abs(this.re);\n final double absIm = Math.abs(this.im);\n\n if (absRe == 0 && absIm == 0) return 0;\n else if (absRe > absIm)\n {\n final double temp = absIm / absRe;\n return absRe * Math.sqrt(1 + temp * temp);\n }\n else\n {\n final double temp = absRe / absIm;\n return absIm * Math.sqrt(1 + temp * temp);\n }\n }", "title": "" }, { "docid": "20650865f8f66d8050d65a26fd7dd11f", "score": "0.4299028", "text": "public int compareAbsVal(Num other) {\n\t\tNum temp = new Num(other);\n\t\ttemp.setIsNegative(false);\n\t\tNum temp1 = new Num(this);\n\t\ttemp1.setIsNegative(false);\n\t\treturn temp1.compareTo(temp);\n\t}", "title": "" }, { "docid": "dc829750cab15414204a4acb4ba7a896", "score": "0.4298746", "text": "public static MScalar subtract(MScalar a, MScalar b) {\r\n\t\tif(a.hasError())\r\n\t\t\treturn a.copy().subtract(b);\r\n\t\tif(b.hasError())\r\n\t\t\treturn b.copy().subtract(a).negate();\r\n\t\tif(a.isFraction())\r\n\t\t\treturn a.copy().subtract(b);\r\n\t\tif(b.isFraction())\r\n\t\t\treturn b.copy().subtract(a).negate();\r\n\t\tif(!a.isComplex())\r\n\t\t\treturn a.copy().subtract(b);\r\n\t\tif(!b.isComplex())\r\n\t\t\treturn b.copy().subtract(a).negate();\r\n\t\treturn a.copy().subtract(b);\r\n\t}", "title": "" }, { "docid": "05eae68555bc82740e21fa4cef2c3200", "score": "0.42939505", "text": "BigInteger getANonPositiveInteger();", "title": "" }, { "docid": "8e903b5932758ba2d32587b59ec4a093", "score": "0.4283413", "text": "private static void findNumberMax(int a, int b){\n\t\t\n\t\ttry{\n\t\t\tint sum = (a/b) / (a/b);\n\t\t\tSystem.out.println(a);\n\t\t}catch(java.lang.ArithmeticException ex){\n\t\t\t//ex.printStackTrace();\n\t\t\tSystem.out.println(b);\n\t\t}\n\t}", "title": "" }, { "docid": "0290d7efee95ec07d7f34ef6c5fcf59b", "score": "0.42830527", "text": "private BigDecimal getSignedAmount(ATAccount account, BigDecimal amount) {\n return amount.negate();\n }", "title": "" }, { "docid": "ad5d5617b58c3c31f3144fd38176648a", "score": "0.42813152", "text": "public Fraccion multiplicar(Fraccion b) {\n\t\treturn new Fraccion(numerador * b.getNumerador(), denominador * b.getDenominador());\n\t}", "title": "" }, { "docid": "5e92f9d2a83bbc9c417c921070441351", "score": "0.42690787", "text": "private BigDecimal backspaceNumber(BigDecimal number) {\n String newNumber = number.toString().substring(0, number.toString().length() - 1);\n System.out.println(newNumber);\n if (newNumber.length() > 0 && !newNumber.equals(\"-\")) {\n return new BigDecimal(newNumber);\n }\n return null;\n }", "title": "" }, { "docid": "f63ddfc284a1f9bd971b3925c512758b", "score": "0.42684194", "text": "public Decimal adjust(Decimal n) {\n return adjust(n, false);\n }", "title": "" }, { "docid": "28bd0e54f099bf6ede178f8c77a3ff22", "score": "0.4263567", "text": "@Override\n\tpublic int destory(int a) {\n\t\tSupplyDepotNum -= a;\n\t\tif(SupplyDepotNum <= 0) {\n\t\t\tSystem.out.println(\"서플라이 디팟의 개수가 0이하 입니다. \");\n\t\t\treturn 0;\n\t\t}\n\t\telse\n\t\t\treturn SupplyDepotNum;\n\t}", "title": "" }, { "docid": "d9908813e9006871008a3b9ce95ccd84", "score": "0.42605677", "text": "public long negate() {\r\n\tsynchronized (this.lock_) {\r\n\t this.value_ = -this.value_;\r\n\t return this.value_;\r\n\t}\r\n }", "title": "" } ]
54e9f5bc4f3c489e2c086f7198fb989f
Stores all information about the entry type in preferences, with the tag given by number.
[ { "docid": "9b29a0781f3448b733e195bb912019f0", "score": "0.63928276", "text": "public void storeCustomEntryType(CustomEntryType tp, int number) {\n\t\tString nr = \"\" + number;\n\t\tput(JabRefPreferences.CUSTOM_TYPE_NAME + nr, tp.getName());\n\t\tput(JabRefPreferences.CUSTOM_TYPE_REQ + nr, tp.getRequiredFieldsString());\n\t\tputStringArray(JabRefPreferences.CUSTOM_TYPE_OPT + nr, tp.getOptionalFields());\n\t\tputStringArray(JabRefPreferences.CUSTOM_TYPE_PRIOPT + nr, tp.getPrimaryOptionalFields());\n\t}", "title": "" } ]
[ { "docid": "14e84e7390edffb2ba4b58ba4dfe2ca1", "score": "0.57063496", "text": "public void storePreferences(){\n prefs.putInt(prefsKey(),getBitValue());\n setModified(false);\n }", "title": "" }, { "docid": "b9e8683a08ff4b79f37134eccb541188", "score": "0.5556908", "text": "private void saveCardTypeToPref() {\n SharedPreferences pref = mContext.getSharedPreferences(\n PREF_NAME_AP_IRAT, 0);\n Editor editor = pref.edit();\n editor.putInt(PREF_KEY_CARD_TYPE, mCardType.ordinal());\n editor.commit();\n log(\"saveCardTypeToPref: mCardType = \" + mCardType + \", index = \"\n + mCardType.ordinal());\n }", "title": "" }, { "docid": "1cd90d6f186afdec2dcba060ed76690c", "score": "0.545985", "text": "private void storeValues() {\n IPreferenceStore store = getPreferenceStore();\n\n store.setValue(LSPCheckerFrameworkConstants.TYPE_CHECKER, textFieldTypeChecker.getText());\n store.setValue(LSPCheckerFrameworkConstants.CHECKER_PATH, textFieldCheckerPath.getText());\n store.setValue(\n LSPCheckerFrameworkConstants.COMMAND_OPTIONS, textFieldCommandLineOptions.getText());\n }", "title": "" }, { "docid": "f618aedca3dbccc56b9c18543c99f66d", "score": "0.545892", "text": "@SuppressWarnings(\"unchecked\")//$NON-NLS-1$\r\n protected void doStore() {\r\n EventList<Map.Entry<String, String>> items = (EventList<Map.Entry<String, String>>) tableViewer\r\n .getInput();\r\n String s = createMap(items);\r\n if (s != null) {\r\n getPreferenceStore().setValue(getPreferenceName(), s);\r\n }\r\n }", "title": "" }, { "docid": "ed8df091301428579d5008bf67861b60", "score": "0.5432743", "text": "private static void put(SharedPreferences.Editor editor, String key, Object value) {\n if (value instanceof String) {\n editor.putString(key, (String) value);\n } else if (value instanceof Boolean) {\n editor.putBoolean(key, (Boolean) value);\n } else if (value instanceof Long) {\n editor.putLong(key, (Long) value);\n } else if (value instanceof Integer) {\n editor.putInt(key, (Integer) value);\n } else if (value instanceof Float) {\n editor.putFloat(key, (Float) value);\n }\n }", "title": "" }, { "docid": "fc28ce1f65b0caca5fa65760fc9bf190", "score": "0.5207395", "text": "private void saveDataToSharedPreference() {\n MyInfoPreference.setStoredIncomeYear(LoveInformationActivity.this, mIncomeYearPosition);\n MyInfoPreference.setStoredEduOversea(LoveInformationActivity.this, mEduOverseaPosition);\n }", "title": "" }, { "docid": "8e25f8c2a5113bb6801ddf431619b25c", "score": "0.51997185", "text": "private void writeToPreferenceStore(Profile profile, IScopeContext context) {\n final Map<String, String> profileOptions = profile.getSettings();\n for (int i = 0; i < fKeySets.length; i++) {\n updatePreferences(context.getNode(fKeySets[i].getNodeName()), fKeySets[i].getKeys(), profileOptions);\n }\n final IEclipsePreferences uiPrefs = context.getNode(JavaUI.ID_PLUGIN);\n if (uiPrefs.getInt(fProfileVersionKey, 0) != fProfileVersioner.getCurrentVersion()) {\n uiPrefs.putInt(fProfileVersionKey, fProfileVersioner.getCurrentVersion());\n }\n if (context.getName() == InstanceScope.SCOPE) {\n uiPrefs.put(fProfileKey, profile.getID());\n } else if (context.getName() == ProjectScope.SCOPE && !profile.isSharedProfile()) {\n uiPrefs.put(fProfileKey, profile.getID());\n }\n }", "title": "" }, { "docid": "a5369e07b3d70bbe4f9059e501530fa1", "score": "0.5135231", "text": "public void setEntryTrack(String entryTrack);", "title": "" }, { "docid": "d12ccab383f41ccfe78a2f71acc05e10", "score": "0.5087869", "text": "void saveSharedPreferenceInfo(float rating, int position){\n //1. Refer to the SharedPreference Object.\n // (Private means no other Apps can access this.)\n SharedPreferences ratingsPreferences = context.getSharedPreferences(\"RatingsPreferences\", Context.MODE_PRIVATE);\n\n //2. Create an Shared Preferences Editor for Editing Shared Preferences.\n SharedPreferences.Editor editor = ratingsPreferences.edit();\n\n // create variably to hold the string for the key for the key, value pair\n String key = \"\";\n\n // depending on which rating (value) was changed, choose the appropriate key\n switch (position) {\n case 0:\n key = \"rbRatings0\";\n break;\n case 1:\n key = \"rbRatings1\";\n break;\n case 2:\n key = \"rbRatings2\";\n break;\n case 3:\n key = \"rbRatings3\";\n break;\n case 4:\n key = \"rbRatings4\";\n break;\n case 5:\n key = \"rbRatings5\";\n break;\n case 6:\n key = \"rbRatings6\";\n break;\n }\n\n //3. Store what's important! (Key, Value Pair)\n editor.putFloat(key, rating);\n\n //4. Save your information.\n editor.apply();\n }", "title": "" }, { "docid": "54244ecc6474664e98369a9354adaf79", "score": "0.5071355", "text": "public void save(Preferences preferences)\n\t{\n\t\tif (playerClass != null)\n\t\t\tpreferences.putInt(\"player_class_ordinal\", playerClass.ordinal());\n\t\tpreferences.putLong(\"player_experience\", playerExperience);\n\t}", "title": "" }, { "docid": "37bb13587c4dd02b9edd24e3889ce057", "score": "0.5060899", "text": "public void setEntry(String entry) {\n this.entry = entry;\n }", "title": "" }, { "docid": "2889e249e725a706e7dcaf5a7f0706a8", "score": "0.5028081", "text": "private void savePreferences(String key, String value){\r\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this);\r\n SharedPreferences.Editor editor = preferences.edit();\r\n editor.putString(key, value);\r\n editor.commit();\r\n }", "title": "" }, { "docid": "669d9942704aee825759f794cf422eda", "score": "0.49594378", "text": "public static void putInt(String key, int value) {\n\n Context context = getContext();\n\n SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = preferences.edit();\n editor.putInt(key, value);\n editor.apply();\n }", "title": "" }, { "docid": "37fb8f80f0b86d64de63f3f0df076455", "score": "0.49463695", "text": "public void write(String key, String value){\n SharedPreferences.Editor editor = preferences.edit();\n editor.putString(key, value);\n editor.commit();\n }", "title": "" }, { "docid": "2b3ecf4ca11b61142bf52ba5e52ebdf2", "score": "0.49433023", "text": "public void savePrefs(View view) {\n\t\tboolean haveSufficientInfo = true;\n\t\tworkerVal = workerET.getText().toString();\n\t\tContext context = getApplicationContext();\n\t\tint duration = Toast.LENGTH_LONG;\n\t\tif (workerVal.length() == 0) {\n\t\t\tString msg = getResources().getString(R.string.please_add_worker);\n\t\t\tToast toast = Toast.makeText(context, msg, duration);\n\t\t\ttoast.show();\n\t\t\thaveSufficientInfo = false;\n\t\t}\n\t\tstationVal = stationET.getText().toString();\n\t\tif (stationVal.length() == 0) {\n\t\t\tString msg = getResources().getString(R.string.please_add_station);\n\t\t\tToast toast = Toast.makeText(context, msg, duration);\n\t\t\ttoast.show();\n\t\t\thaveSufficientInfo = false;\n\t\t}\n\t\tfacilityVal = facilityET.getText().toString();\n\t\tif (facilityVal.length() == 0) {\n\t\t\tString msg = getResources().getString(R.string.please_add_facility);\n\t\t\tToast toast = Toast.makeText(context, msg, duration);\n\t\t\ttoast.show();\n\t\t\thaveSufficientInfo = false;\n\t\t}\t\n\n\t\tif (haveSufficientInfo) {\n\t\t\teditor.putString(\"WORKER_ID\", workerVal);\n\t\t\teditor.putString(\"STATION_ID\", stationVal);\n\t\t\teditor.putString(\"FACILITY_ID\", facilityVal);\t\n\n\t\t\tlangSpinner = (Spinner)findViewById(R.id.spinner1);\n\t\t\t\n\t\t\tString langToSet = langSpinner.getSelectedItem().toString();\t\n\t\t\teditor.putString(\"LANG_PREF\", langToSet);\n\t\t\teditor.commit();\n\t\t\n\t\t\tLocale appLoc = null;\n\t\t\tif (new String(\"English\").equals(langToSet)) {\n\t\t\t\tappLoc = new Locale(\"en\");\n\t\t\t} else if (new String(\"Française\").equals(langToSet)) {\n\t\t\t\tappLoc = new Locale(\"fr\");\n\t\t\t} else if (new String(\"Kreyòl\").equals(langToSet)) {\n\t\t\t\tappLoc = new Locale(\"ht\");\n\t\t\t}\n\t\t\t\n\t\t\tLocale.setDefault(appLoc);\n\t\t\tConfiguration appConfig = new Configuration();\n\t\t\tappConfig.locale = appLoc;\n\t\t\tgetBaseContext().getResources().updateConfiguration(appConfig,\n\t\t\t getBaseContext().getResources().getDisplayMetrics());\n\t\t\t \n\t\t\t\n\t\t\tString msg = getResources().getString(R.string.prefs_saved);\n\t\t\tToast toast = Toast.makeText(context, msg, duration);\n\t\t\ttoast.show();\n\t\t\tfinish();\n\t\t}\n\t}", "title": "" }, { "docid": "789cff0708da30d01b4baa1814315375", "score": "0.49342868", "text": "private void saveOrder(){\n\t\tSharedPreferences favPrefs = getSharedPreferences(\"favPref\", MODE_PRIVATE);\n\t\tEditor edt = favPrefs.edit();\n\t\tedt.putBoolean(\"cheese\", chkCheese.isChecked());\n\t\tedt.putBoolean(\"pepperoni\", chkPepperoni.isChecked());\n\t\tedt.putBoolean(\"sausage\", chkSausage.isChecked());\n\t\tedt.putBoolean(\"greenPepper\", chkGreenPepper.isChecked());\n\t\tedt.putBoolean(\"bacon\", chkBacon.isChecked());\n\t\t\n\n\t\tif (grpSizes.getCheckedRadioButtonId() == R.id.rdbSmall) {\n\t\t\tedt.putString(\"size\", \"small\");\n\t\t} else if (grpSizes.getCheckedRadioButtonId() == R.id.rdbMedium) {\n\n\t\t\tedt.putString(\"size\", \"medium\");\n\t\t} else {\n\n\t\t\tedt.putString(\"size\", \"large\");\n\t\t}\n\t\tedt.commit();\n\t}", "title": "" }, { "docid": "5d6aa3bb065f95f9980929f693dff6e3", "score": "0.49340826", "text": "@Override\n\tpublic void saveNBTData(NBTTagCompound compound) {\n\t\tNBTTagCompound rbt = new NBTTagCompound();\n\t\t\n\t\trbt.setInteger(\"alertLvl\", this.alertLevel);\n\t\trbt.setInteger(\"stealTicks\", this.stealCoolDown);\n\t\trbt.setInteger(\"alertTicks\", this.alertTimer);\n\t\t\n\t\tString dialogueString = dialogueTree.store();\n\t\t//System.out.println(\"store() output:\\n\" + dialogueString);\n\t\trbt.setString(\"dialogueInfo\", dialogueString);\n\t\t\n\t\tcompound.setTag(IDENTIFIER, rbt);\n\t\n\t}", "title": "" }, { "docid": "a17c9e682f2886024f99e28e5e4c9083", "score": "0.4932599", "text": "@Override\r\n\tprotected void onSaveInstanceState(Bundle outState) {\n\t\tsuper.onSaveInstanceState(outState);\r\n\t\toutState.putInt(\"type\", type);\r\n\t\toutState.putString(\"userid\", userid);\r\n\t}", "title": "" }, { "docid": "29377e8fb77acc1fb23cd2197a78bdc0", "score": "0.4928471", "text": "public abstract void createNewOrUpdatePreference(String userId, String applicationName, String instanceId, String key, String value, String description);", "title": "" }, { "docid": "1097665ad765a6bdbcada2b04ea65d3f", "score": "0.4909897", "text": "public void put(Object value) {\n Pref.put(code, type, value);\n }", "title": "" }, { "docid": "1d70a90f8d8ffffc1cc2bdb4214a52db", "score": "0.4909413", "text": "public void saveIntValue(String key, int value) {\n android.content.SharedPreferences.Editor prefsEditor = sharedPreferences.edit();\n prefsEditor.putInt(key, value);\n prefsEditor.apply();\n }", "title": "" }, { "docid": "6699749a1f3e351b0a4bd37715c93a25", "score": "0.49056113", "text": "protected void savePreferences()\n {\n }", "title": "" }, { "docid": "343da43f4cb9026007e38c8485a05a0a", "score": "0.48835474", "text": "public void setPreferencetypeid(int newVal) {\n setPreferencetypeid(new Integer(newVal));\n }", "title": "" }, { "docid": "0d4f5722693a7e70d628ca24e5f85769", "score": "0.48736602", "text": "public void saveData() {\n SharedPreferences sharedPreferences = getSharedPreferences(SHARED_PREFERENCES, MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n editor.putString(LANG_CODE, langText.getText().toString());\n editor.putString(AUTHOR, authorText.getText().toString());\n editor.putInt(AUTHOR_RATING, authorUserRanking.getProgress());\n editor.putBoolean(SHORT_LENGTH, shortButton.isChecked());\n editor.putBoolean(MEDIUM_LENGTH, mediumButton.isChecked());\n editor.putBoolean(LONG_LENGTH, longButton.isChecked());\n editor.putInt(LENGTH_RATING, lengthUserRanking.getProgress());\n editor.putBoolean(DATE_EARLY_1900s, dateEarly1900sButton.isChecked());\n editor.putBoolean(DATE_LATE_1900s, dateLate1900sButton.isChecked());\n editor.putBoolean(DATE_2000s, date2000sButton.isChecked());\n editor.putInt(DATE_RATING, pubDateRanking.getProgress());\n editor.putInt(AVG_RATING, avgRatingUserRanking.getProgress());\n editor.putInt(POPULARITY_RATING, popRanking.getProgress());\n editor.putBoolean(SAVE_DATA_TOGGLE, saveDataToggleButton.isChecked());\n\n editor.apply();\n }", "title": "" }, { "docid": "7843f99678f7bfb6d09cfbc867d21e8f", "score": "0.48735434", "text": "private void addPreferencesInfo(long id, UserProfileDTO profile) {\n PlayerPreferencesInfo prefsInfoPlayer = new PlayerPreferencesInfo(id);\n prefsInfoPlayer.setSoundOption(118);\n prefsInfoPlayer.setGeneralNotificationsOptIn(true);\n profile.put(UserProfileDTO.PREFERENCES_INFO_KEY, prefsInfoPlayer);\n }", "title": "" }, { "docid": "240d8f32bb63a9dbb54a7a30abe5bce0", "score": "0.4859107", "text": "void setEntry(FileEntryInfo entry);", "title": "" }, { "docid": "df3da209ee336abcc9c689bd3ebf8ea2", "score": "0.48331422", "text": "public void setFieldInfo(HashMap<String,String> info) {\n\n\t\tif ( info.containsKey(FIELD_TYPE_KEY) ) {\n\t\t\tint index = Integer.parseInt( info.get(FIELD_TYPE_KEY) );\n\t\t\tint i;\n\t\t\tfor ( i = typeValues.length - 1; i >= 0; --i ) {\n\t\t\t\tif ( index == typeValues[i] )\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( i >= 0 ) {\n\t\t\t\tspinnerType.setSelection(i);\n\t\t\t\t\n\t\t\t\tif ( info.containsKey(FIELD_VALUE_KEY) )\n\t\t\t\t\teditTextText.setText( info.get(FIELD_VALUE_KEY) );\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "title": "" }, { "docid": "b34ae4a29cee8f59b13ea5a820c8df6c", "score": "0.48316175", "text": "public void\naddListItemType( int thePartNumber,\n SoType typeToAdd )\n//\n////////////////////////////////////////////////////////////////////////\n{\n // add typeToAdd to the entry's listItemTypes, if you can find\n // the entry...\n if ( thePartNumber >= 0 && thePartNumber < numEntries )\n entries[thePartNumber].addListItemType( typeToAdd );\n}", "title": "" }, { "docid": "65e3f050bedb0e91cb92e3493b1aca5a", "score": "0.483146", "text": "public void store(PortletPreferences preferences) throws ReadOnlyException, ValidatorException,\n IOException {\n parseAndFixUrls();\n\n preferences.setValue(NUMBER_OF_ITEM_1, numberOfItems1);\n preferences.setValue(NUMBER_OF_ITEM_2, numberOfItems2);\n preferences.setValue(NUMBER_OF_ITEM_3, numberOfItems3);\n preferences.setValue(NUMBER_OF_ITEM_4, numberOfItems4);\n preferences.setValue(RSS_FEED_LINK_1, rssFeedLink1);\n preferences.setValue(RSS_FEED_LINK_2, rssFeedLink2);\n preferences.setValue(RSS_FEED_LINK_3, rssFeedLink3);\n preferences.setValue(RSS_FEED_LINK_4, rssFeedLink4);\n preferences.setValue(RSS_FEED_TITLE_1, rssFeedTitle1);\n preferences.setValue(RSS_FEED_TITLE_2, rssFeedTitle2);\n preferences.setValue(RSS_FEED_TITLE_3, rssFeedTitle3);\n preferences.setValue(RSS_FEED_TITLE_4, rssFeedTitle4);\n\n preferences.setValue(RSS_STD_CLIENT_LINK, rssStandardClientPortletLink);\n preferences.store();\n }", "title": "" }, { "docid": "1c7187e29d06abe715c0b1363979c6a4", "score": "0.4830206", "text": "@Override\n public boolean onPreferenceChange(Preference preference, Object o) {\n if (preference instanceof EditTextPreference) {\n changeTextPreference(preference.getKey(), o.toString());\n } else {\n if (preference.getKey().equals(\"list\")) {\n Log.d(TAG, \"sharing changed\");\n ListPreference pref = (ListPreference) findPreference(\"list\");\n int index = Integer.parseInt(o.toString());\n String entry = pref.getEntries()[index].toString();\n pref.setSummary(entry);\n Log.d(TAG, \"sharing is now \" + entry);\n HeliosUserData.getInstance().setValue(getString(R.string.setting_sharing), \"\" + index);\n }\n if (preference.getKey().equals(\"picture\")) {\n Log.d(TAG, \"picture invoked\");\n }\n if (preference.getKey().equals(\"location_setting\")) {\n Log.d(TAG, \"location_setting\");\n ListPreference pref = (ListPreference) findPreference(\"location_setting\");\n int index = Integer.parseInt(o.toString());\n String entry = pref.getEntries()[index].toString();\n pref.setSummary(entry);\n Log.d(TAG, \"location_setting is now \" + entry);\n HeliosUserData.getInstance().setValue(getString(R.string.setting_location), \"\" + index);\n }\n if (preference.getKey().equals(\"tag_setting\")) {\n Log.d(TAG, \"tag_setting\");\n ListPreference pref = (ListPreference) findPreference(\"tag_setting\");\n int index = Integer.parseInt(o.toString());\n String entry = pref.getEntries()[index].toString();\n pref.setSummary(entry);\n Log.d(TAG, \"tag_setting is now \" + entry);\n HeliosUserData.getInstance().setValue(getString(R.string.setting_tag), \"\" + index);\n }\n }\n // Accept change, should validate it.\n return true;\n }", "title": "" }, { "docid": "731512be0b47bc1bd05baf4b94d81a19", "score": "0.48244858", "text": "public void setEntry( IEntry entry )\n {\n _entry = entry;\n }", "title": "" }, { "docid": "f2022ae7253db6d0193c4f6a74fb22df", "score": "0.4797486", "text": "@Override\n public void savePreferences() {\n }", "title": "" }, { "docid": "6bb9bb9e424ed2ba877f6758e26294eb", "score": "0.47901523", "text": "void save(Board board, TranspositionTableEntry entry);", "title": "" }, { "docid": "8bb56ae1c00bd4eff989e1a50d4ec56a", "score": "0.47879505", "text": "public void savePrefs()\r\n\t{\r\n\t}", "title": "" }, { "docid": "bac232352c994320ca947df9d6419917", "score": "0.47766942", "text": "protected void storeValue() {\n IDialogSettings workbenchSettings = TaskList.getPlugin().getDialogSettings();\n //$NON-NLS-1$\n IDialogSettings settings = workbenchSettings.getSection(\"TaskAction\");\n if (settings == null) {\n //$NON-NLS-1$\n settings = workbenchSettings.addNewSection(\"TaskAction\");\n }\n settings.put(getId(), isChecked());\n }", "title": "" }, { "docid": "1a43ab14331843c864d9f2e4a550a666", "score": "0.47732347", "text": "public static void storeAddress(EntryData entries) {\n\t}", "title": "" }, { "docid": "487fc53b8f34dd5405c38f528f4eda2a", "score": "0.4760154", "text": "public void addEntry(PropertyKey listKey, Object value);", "title": "" }, { "docid": "61bf58147e07b1d7d7931e1c45776568", "score": "0.475725", "text": "public synchronized void saveTagMap() {\n String json = new Gson().toJson((Object) this.mTaggerData);\n Log.i(TAG, \"saveTagMap\");\n this.mSecurityManager.putSystemDataStringFile(PKG_TO_TAG_MAP_FILE_PATH, json);\n }", "title": "" }, { "docid": "0a0d675735ce9b9f944077efa9c2aefb", "score": "0.47529846", "text": "public void SavePref(){\n\t\tSharedPreferences SharePref = ParentActivity.getSharedPreferences(\"Home\", 0);\n\t\tSharedPreferences.Editor edit = SharePref.edit();\n\t\tedit.putInt(\"LanguageIndex\", LanguageIndex);\n\t\tedit.commit();\n\t\tLog.d(TAG,\"SavePref\");\n\t}", "title": "" }, { "docid": "e027853ac0f9adcf3f49ce1ac38a1c40", "score": "0.47490337", "text": "public void put(String key, String value) {\n // YOUR CODE HERE\n int index = key.charAt(0) - 'A';\n if (index > 25) {\n return;\n } else {\n this.entries[index].key = key;\n this.entries[index].value = value;\n this.size += 1;\n return;\n }\n }", "title": "" }, { "docid": "5d225e22ee4857341c3965cb27dd3b22", "score": "0.47433296", "text": "public void add(int number) {\n dict.add(number);\n }", "title": "" }, { "docid": "9d9bbdda1d5cc9a69988d3ca7582413c", "score": "0.4742427", "text": "public void writeStoredIntToNBT(ItemStack stack, int value)\n {\n CompoundNBT compound = new CompoundNBT();\n if(stack.hasTag())\n {\n compound = stack.getTag();\n }\n\n compound.putInt(\"storedint\",value);\n stack.setTag(compound);\n }", "title": "" }, { "docid": "5cc482bb8d35844f00f924c4f8c83e8a", "score": "0.47420993", "text": "private void savePreferences(String key, String value)\n {\n Editor edit = sharedPref.edit();\n edit.putString(key, value);\n edit.commit();\n }", "title": "" }, { "docid": "3e682b779ef3a3c4eb8edc751e471df4", "score": "0.47383377", "text": "private void putDiscountsPreferences()\n\t\t {\n\t\t SharedPreferences state = getSharedPreferences(PREFS_NAME, MODE_PRIVATE);\t \n\n\t\t // Get a SharedPreferences editor\n\t\t SharedPreferences.Editor editor = state.edit();\t \n\n\t\t // Load the editor with the discount results\n\t\t editor.putInt(getPackageName() + \".numDiscounts\", discounts.size());\n\t\t int i = 0;\n\t\t for (Iterator<Discount> it = discounts.iterator(); it.hasNext();) {\n\t\t \t Discount tmp = it.next();\n\t\t editor.putInt(getPackageName() + \".originalPrice\" + i,(int)tmp.getOriginalPrice());\n\t\t editor.putInt(getPackageName() + \".firstDiscount\" + i,(int)tmp.getFirst_discount());\n\t\t editor.putInt(getPackageName() + \".secondDiscount\" + i,(int)tmp.getSecond_discount());\n\t\t editor.putInt(getPackageName() + \".taxAmount\" + i,(int)tmp.getTax());\n\t\t editor.putInt(getPackageName()+\".finalPrice\"+i, (int)tmp.getFinalPrice());\n\t\t editor.putInt(getPackageName()+\".savedPrice\"+i, (int)tmp.getSavedPrice());\n\t\t ++i;\n\t\t }\n\t\t // Commit the editor additions\n\t\t editor.commit();\n\t\t }", "title": "" }, { "docid": "c77dcdbc3a388a2011a1d00add434c24", "score": "0.47228372", "text": "public void storePreferences()\n {\n //Store preferences\n SharedPreferences.Editor editor = getSharedPreferences(PREFS_NAME, MODE_PRIVATE).edit();\n editor.putString(\"username\", User.getUsername());\n editor.putString(\"password\", User.getPassword());\n editor.commit();\n }", "title": "" }, { "docid": "86d9a7b1b37f911906966ecebaf160e8", "score": "0.4720827", "text": "public static void saveDeviceConfig(Activity a, int param, String type, String pref) {\n SharedPreferences sharedPref = a.getSharedPreferences(pref, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putInt(type, param);\n editor.apply();\n }", "title": "" }, { "docid": "dce83175d8af6702b1781892b97e5512", "score": "0.47152013", "text": "public void saveInfo (View view) {\n SharedPreferences sharedPref = getSharedPreferences(\"userInfo\", Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(\"username\", name.getText().toString());\n editor.putString(\"password\", password.getText().toString());\n\n editor.apply();\n Toast.makeText(this, \"Saved!\", Toast.LENGTH_LONG).show();\n }", "title": "" }, { "docid": "99c2892f450b6b22d780675de17634f2", "score": "0.4715073", "text": "private void saveSettings() {\n ThunderBoardPreferences prefs = prefsManager.getPreferences();\n\n prefs.userName = nameEditText.getText().toString();\n prefs.userTitle = titleEditText.getText().toString();\n prefs.userEmail = emailEditText.getText().toString();\n prefs.userPhone = phoneEditText.getText().toString();\n\n prefs.userCCSelf = ccSwitch.isChecked();\n\n prefs.measureUnitType = (measurementSpinner.getSelectedItemPosition() == 0)\n ? ThunderBoardPreferences.UNIT_METRIC : ThunderBoardPreferences.UNIT_US;\n\n prefs.temperatureType = (temperatureSpinner.getSelectedItemPosition() == 0)\n ? ThunderBoardPreferences.TEMP_CELSIUS : ThunderBoardPreferences.TEMP_FAHRENHEIT;\n\n prefs.modelType = (modelTypeSpinner.getSelectedItemPosition() == 0)\n ? ThunderBoardPreferences.MODEL_TYPE_BOARD : ThunderBoardPreferences.MODEL_TYPE_CAR;\n\n prefsManager.setPreferences(prefs);\n }", "title": "" }, { "docid": "1494b2c39c868b3ea8b1cbc7bb349b1f", "score": "0.47104663", "text": "public void save(View view){\n SharedPreferences.Editor editor = getSharedPreferences(\"details\", MODE_PRIVATE).edit();\n\n // grab the values in the fields and create a new variable to contain these values\n EditText fullname = (EditText) findViewById(R.id.name);\n String entered_name = fullname.getText().toString();\n\n EditText number = (EditText) findViewById(R.id.number);\n String entered_number = number.getText().toString();\n\n Spinner age = (Spinner)findViewById(R.id.age);\n int selected_age = age.getSelectedItemPosition();\n\n // provisionally put the values into the shared preferences\n editor.putString(\"name\", entered_name);\n editor.putString(\"number\", entered_number);\n editor.putInt(\"age\", selected_age);\n\n // apply the changes\n editor.apply();\n\n // close the activity\n finish();\n\n }", "title": "" }, { "docid": "8a6d9413e90be6628641cd07a43f2e3d", "score": "0.4701565", "text": "private void save_difficulty(int difficulty){\n SharedPreferences pref = getSharedPreferences(\"AppData\", MODE_PRIVATE);\n SharedPreferences.Editor editor = pref.edit();\n editor.remove(\"difficulty\");\n editor.putInt(\"difficulty\", difficulty);\n editor.commit();\n }", "title": "" }, { "docid": "4fb7f16faaf45f455e40d4af879df232", "score": "0.4701306", "text": "private void addEntries(\n int index, com.android.contacts.common.widget.SelectPhoneAccountDialogOptions.Entry value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntriesIsMutable();\n entries_.add(index, value);\n }", "title": "" }, { "docid": "e3651a0618553756145628444056a1ac", "score": "0.47012228", "text": "public void storeGame (Map.Entry<Map<String, Team>, Map.Entry<List<GameHistory>, Game>> game_data){\n String filepath = getFilepath(); // Gets filepath to store the game state to\n if (!filepath.equals(\"0\")){\n try {\n LoadStore.storeState(filepath, game_data);\n } catch (NullPointerException | IOException e) {\n this.view.fileNotFound();\n }\n }\n }", "title": "" }, { "docid": "ced58995024eb0954556a7cc61d26001", "score": "0.46950486", "text": "public void savePreferences(String key, String value)\n {\n SharedPreferences sharedPreferences = getPreferences();\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(key, value);\n editor.commit();\n }", "title": "" }, { "docid": "ae697262a54869584087abafa57896de", "score": "0.4693877", "text": "public void purgeCustomEntryTypes(int number) {\n\t\tpurgeSeries(JabRefPreferences.CUSTOM_TYPE_NAME, number);\n\t\tpurgeSeries(JabRefPreferences.CUSTOM_TYPE_REQ, number);\n\t\tpurgeSeries(JabRefPreferences.CUSTOM_TYPE_OPT, number);\n\t\tpurgeSeries(JabRefPreferences.CUSTOM_TYPE_PRIOPT, number);\n\t}", "title": "" }, { "docid": "922718df4ace65cf15f8c4644f469dc9", "score": "0.4692017", "text": "public void saveData(String key, String value) {\n android.content.SharedPreferences.Editor prefsEditor = sharedPreferences.edit();\n prefsEditor.putString(key, value);\n prefsEditor.apply();\n }", "title": "" }, { "docid": "b6877349f5dda9aba18f3e46b1946866", "score": "0.46812233", "text": "private void saveUserPin(String pin) {\n try {\n String masterKeyAlias = MasterKeys.getOrCreate(MasterKeys.AES256_GCM_SPEC);\n\n // Storing data into EncryptedSharedPreferences\n SharedPreferences sharedPreferences = EncryptedSharedPreferences.create(\n \"secret_pin\",\n masterKeyAlias,\n getApplicationContext(),\n EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,\n EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM\n );\n // Creating an Editor object to edit(write to the file)\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n // Storing the key and its value as the data fetched from edittext\n editor.putString(\"secretPin\", pin);\n editor.apply();\n } catch (GeneralSecurityException | IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "88964e6f05c691591f64cdb0a8371fa3", "score": "0.4681048", "text": "protected abstract void save(CompoundTag tag);", "title": "" }, { "docid": "fdab6a5578a8223f4982acc896c04619", "score": "0.46808895", "text": "public void saveData() {\n SharedPreferences sharedPreferences = getSharedPreferences(SHARED_PREF, MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n\n editor.putString(TREASURE_HUNT_NAME, treasureHuntName.getText().toString());\n editor.putString(TREASURE_HUNT_HERO_NAME, bHeroName.getText().toString());\n editor.putString(TREASURE_HUNT_HERO_EMAIL, bHeroEmail.getText().toString());\n editor.apply();\n }", "title": "" }, { "docid": "c0a386edb82d134ee90a67ff0bf87e3a", "score": "0.46779385", "text": "void store() {\n Preferences pref = NbPreferences.forModule(LatizPaletteOptionsPanelController.class);\n pref.putFloat(\"lineWidth\", (Float) lineSpinner.getValue());\n pref.put(\"lineColor\", \"#\" + Integer.toHexString(lineColor.getRGB()).substring(1));\n }", "title": "" }, { "docid": "94034d7ada152fbe6eede482473f7317", "score": "0.46769726", "text": "public static void storeUserPreferences(Context context,String key,String value)\n {\n SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(context).edit();\n editor.putString(key, value);\n editor.commit();\n }", "title": "" }, { "docid": "f7fc64c5222872b034d1b6e21f86214c", "score": "0.46696612", "text": "private void addEntries(com.android.contacts.common.widget.SelectPhoneAccountDialogOptions.Entry value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntriesIsMutable();\n entries_.add(value);\n }", "title": "" }, { "docid": "890114e651afa7cab7f2af36feee86ea", "score": "0.4666699", "text": "public void setEntryType(@Nonnull Type type) {\n this.type = Preconditions.checkNotNull(type, \"type\");\n }", "title": "" }, { "docid": "474616bc82a0da8dd46b35c3aa997dc6", "score": "0.46562812", "text": "public void storeItem(ItemInfo item);", "title": "" }, { "docid": "8d6351e81a1c468a1e7b9c36275cae01", "score": "0.46517637", "text": "@Override\n public void storeCurrentView(int tagId) {\n switch (tagId) {\n case R.string.fragment_battery_detail:\n case R.string.fragment_battery_edit:\n tagId = R.string.fragment_battery_list;\n break;\n }\n SharedPreferences prefs = mContext.getSharedPreferences(\n PREF_FILENAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = prefs.edit();\n editor.putInt(PREF_CURRENT_VIEW, tagId);\n editor.apply();\n }", "title": "" }, { "docid": "26464b05cbe5aaaa4e07d453c33d3cfd", "score": "0.4648263", "text": "private void saveDataToStoreInfo() {\n storeInfo.setTelephone(tel.getText().toString());\n formatString(location.getText().toString()); //保存省市区数据\n storeInfo.setAddress(address.getText().toString());\n storeInfo.setSynopsis(description.getText().toString());\n }", "title": "" }, { "docid": "da1c1fec4353e3ca5e822f96d916de14", "score": "0.46463516", "text": "private void saveEntry(LogEntry ent) {\n\t\teventQueue.add(ent);\n\t}", "title": "" }, { "docid": "feb9e013c7e8dda513bb7443d025cbbe", "score": "0.46181142", "text": "private void setEntries(\n int index, com.android.contacts.common.widget.SelectPhoneAccountDialogOptions.Entry value) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureEntriesIsMutable();\n entries_.set(index, value);\n }", "title": "" }, { "docid": "aa605a7f729e4ab5108b4175165a478f", "score": "0.46155974", "text": "private void saveInSharedPreferences(String phoneNumber) {\n SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(\"PHONE_NUMBER\", phoneNumber);\n editor.apply();\n }", "title": "" }, { "docid": "821c91f7cb92b6ccec0ef5e3eba11456", "score": "0.46118522", "text": "public void savePreferences(){\n\n\t\t\teditor = sharedPreferences.edit();\n\n\t\t\teditor.putString(getKeyString(CONTENT_FONT_KEY),contentFont);\n\t\t\teditor.putString(getKeyString(HEADING_FONT_KEY),headingFont);\n\t\t\teditor.putString(getKeyString(TITLE_FONT_KEY), titleFont);\n\n\t\t\teditor.putInt(getKeyString(CONTENT_TEXT_SIZE_KEY), contentTextSize);\n\t\t\teditor.putInt(getKeyString(HEADING_TEXT_SIZE_KEY), headingTextSize);\n\t\t\teditor.putInt(getKeyString(TITLE_TEXT_SIZE_KEY), titleTextSize);\n\n\t\t\teditor.putBoolean(getKeyString(SHOW_TITLE_KEY), showTitle);\n\t\t\teditor.putBoolean(getKeyString(SHOW_IMAGE_KEY), showImage);\n\n\t\t\teditor.commit();\n\n\t\t}", "title": "" }, { "docid": "16f96ebf0ea01277d65671ed75d8351f", "score": "0.46036914", "text": "public void setEntryExperimentInfo(String experimentInfo)\n\t{\n\t\tinfo.put(INFO, experimentInfo);\n\t}", "title": "" }, { "docid": "df14eb0588fa1239127cc00a3105a575", "score": "0.46007752", "text": "public void storeSettings(I18nWizardDescriptor.Settings settings) {\n }", "title": "" }, { "docid": "23f97ba1b38490a8e68bade802af1dda", "score": "0.4593417", "text": "private void saveEntry() {\n // validate the input and store them in variables\n String name = Utils.validateTextInput(this, layoutBinding.editorEdtName);\n String brand = Utils.validateTextInput(this, layoutBinding.editorEdtBrand);\n String supplierName = Utils.validateTextInput(this, layoutBinding.editorEdtSuppName);\n\n float regularPrice = Utils.validatePriceInput(this, layoutBinding.editorEdtPrice);\n int stockQuantity = Utils.validateStockInput(this, layoutBinding.editorEdtStock);\n\n String supplierMail = Utils.validateMailInput(this, layoutBinding.editorEdtSuppMail);\n\n String supplierPhone = Utils.validatePhoneInput(this, layoutBinding.editorEdtSuppPhone);\n\n int discount = 0;\n\n /* check for invalid input and return early when at least one needed entry was invalid/missing */\n\n // Text Verification\n if (name == null ||\n brand == null ||\n supplierName == null ||\n supplierMail == null ||\n supplierPhone == null)\n return;\n\n // Numbers Verification\n if (regularPrice == -1 || stockQuantity == -1)\n return;\n\n // Image Verification\n if (selectedImg == null) {\n Toast.makeText(this, R.string.editor_edt_empty_img, Toast.LENGTH_SHORT).show();\n layoutBinding.editorEmptyPicText.setVisibility(View.VISIBLE);\n return;\n } else\n layoutBinding.editorEmptyPicText.setVisibility(View.GONE);\n\n // if discount has been selected, check it's value and assign it to the var\n if (layoutBinding.editorCbDiscount.isChecked()) {\n try {\n discount = Integer.parseInt(layoutBinding.editorSpinnerDiscount.getSelectedItem().toString().replace(\"%\", \"\"));\n } catch (NumberFormatException nfe) {\n System.out.println(LogMsgLib.EDITOR_PARSE_DISCOUNT + nfe);\n }\n }\n\n /* if all inputs are valid, create a key-value par for the db with them as the values */\n ContentValues values = new ContentValues();\n values.put(ProductEntry.COLUMN_NAME, name);\n values.put(ProductEntry.COLUMN_BRAND, brand);\n values.put(ProductEntry.COLUMN_PRICE, regularPrice);\n values.put(ProductEntry.COLUMN_DISCOUNT, discount);\n values.put(ProductEntry.COLUMN_STOCK, stockQuantity);\n values.put(ProductEntry.COLUMN_IMAGE, selectedImg.toString());\n values.put(ProductEntry.COLUMN_SUPPLIER_NAME, supplierName);\n values.put(ProductEntry.COLUMN_SUPPLIER_EMAIL, supplierMail);\n values.put(ProductEntry.COLUMN_SUPPLIER_PHONE, supplierPhone);\n\n // check if we are creating or updating\n if (currentlySelectedUri == null)\n // insert new data and inform the user about the result\n {\n Uri uri = getContentResolver().insert(ProductEntry.CONTENT_URI, values);\n if (uri != null) {\n Toast.makeText(this, getString(R.string.editor_save_succeeded_toast), Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(this, getString(R.string.editor_save_failed_toast), Toast.LENGTH_SHORT).show();\n }\n } else\n // update data and inform the user about the result\n {\n int numRows = getContentResolver().update(currentlySelectedUri, values, null, null);\n\n if (numRows > 0) {\n Toast.makeText(this, getString(R.string.editor_update_succeeded_toast), Toast.LENGTH_SHORT).show();\n } else {\n Toast.makeText(this, getString(R.string.editor_update_failed_toast), Toast.LENGTH_SHORT).show();\n }\n }\n // Exit activity\n finish();\n }", "title": "" }, { "docid": "65cf8a773f3f0ef01d767bfaf2dbc245", "score": "0.45830077", "text": "void createEntry(int hash, int key, VALUE value, int bucketIndex) {\n\t\ttable[bucketIndex] = new IntEntry<>(hash, key, value, table[bucketIndex]);\n\t\tsize++;\n\t}", "title": "" }, { "docid": "bfbe5cf6db6fae4e343d33b44e568804", "score": "0.4582719", "text": "public void setEntry(ParseTree node, ParserRuleContext entry) {\n\t\tthis.entries.put(node, entry);\n\t}", "title": "" }, { "docid": "55cd51d667a295cb9ef00bb934a3d825", "score": "0.45826715", "text": "public void setTag(String t) { tag = t; }", "title": "" }, { "docid": "cc5b27c25a1d48d9720ada86ef0787b0", "score": "0.45729718", "text": "@Override\r\n\tpublic void add(TypeBucket typebucket) {\n\t\tsession.getCurrentSession().save(typebucket);\r\n\t}", "title": "" }, { "docid": "4b4fae1e878ddcd221313b2f470fd9fb", "score": "0.45712987", "text": "public abstract void updatePreference(String id, String userId, String applicationName, String instanceId, String key, String value, String description);", "title": "" }, { "docid": "17ccad2189ec0794b595c07b1b3f985d", "score": "0.45694467", "text": "public void add(T newEntry);", "title": "" }, { "docid": "17ccad2189ec0794b595c07b1b3f985d", "score": "0.45694467", "text": "public void add(T newEntry);", "title": "" }, { "docid": "c41ee6e6c9034166c3b747297a542ec4", "score": "0.45620224", "text": "public static void storeLotteryKind(String count) {\n lotteryKind = count;\n }", "title": "" }, { "docid": "ba1ed6c7b01b9c62e45f180fc1f51fbd", "score": "0.45558798", "text": "void putStorage(byte[] address, byte[] key, byte[] value);", "title": "" }, { "docid": "4283fe647c82a2efae0405f6b864ff1c", "score": "0.4554561", "text": "protected void index(Persisting entry) {\n\t\tIndex index = indexes.get(Index.getIndexName(entry));\n\n\t\t// Add this entry to that index...\n\t\tif (index != null) {\n\t\t\tRegistrationNumbers snl = index.get(entry.getValue());\n\t\t\tsnl.add(entry.getRegistrationNumber());\n\t\t}\n\t}", "title": "" }, { "docid": "d6f3a5973681c626397736c5457a9904", "score": "0.45512843", "text": "public void setPreferencetypeid(Integer newVal) {\n if ((newVal != null && this.preferencetypeid != null && (newVal.compareTo(this.preferencetypeid) == 0)) || \n (newVal == null && this.preferencetypeid == null && preferencetypeid_is_initialized)) {\n return; \n } \n this.preferencetypeid = newVal; \n preferencetypeid_is_modified = true; \n preferencetypeid_is_initialized = true; \n }", "title": "" }, { "docid": "2f523149b6dcff200173276b970e1af3", "score": "0.45495135", "text": "public void addEntry(String entry)\n\t{\n\t\tthis.entries.add(entry);\n\t}", "title": "" }, { "docid": "4a179dbe5fb5ec75ab38b24fe3281ea8", "score": "0.4546449", "text": "private void saveEntry(WifiState state, String ssid, long timestamp) {\n }", "title": "" }, { "docid": "2d763004064592b81ceab76f2bec6521", "score": "0.45454007", "text": "public boolean saveValue(String TAG , String value){\n SharedPreferences sharedPreferences = mCtx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPreferences.edit();\n editor.putString(TAG, value);\n editor.apply();\n return true;\n }", "title": "" }, { "docid": "561a8bb1046e61ac53d02a67dc9b9327", "score": "0.453857", "text": "@java.lang.Override\n public int getTypeValue() {\n if (entryTypeCase_ == 2) {\n return ((java.lang.Integer) entryType_).intValue();\n }\n return 0;\n }", "title": "" }, { "docid": "745e96e78301d9d27d4e150276b23540", "score": "0.4535839", "text": "void storeProfile(Layout rootLayout, String layoutKey);", "title": "" }, { "docid": "5f9043ec991d8ed82b7b9b5133a95c27", "score": "0.45312822", "text": "public static void putData(){\n Dropper.putData();\n SmartDashboard.putNumber(\"INTAKE STATUS\", getIntake());\n }", "title": "" }, { "docid": "001adab025f0917fa1f134e987499915", "score": "0.4528642", "text": "public void updateSharedPreferences(String tag, String newValue){\n SharedPreferences sharedPref = this.Activity.getPreferences(Context.MODE_PRIVATE);\n SharedPreferences.Editor editor = sharedPref.edit();\n editor.putString(tag, newValue);\n editor.commit();\n }", "title": "" }, { "docid": "2bf3124f8fab4b9d6e1e14477ef5fe7c", "score": "0.45248947", "text": "@JavascriptInterface\r\n public void localStorage_put(String key, String value) {\r\n Editor e = getPrivatePreference().edit();\r\n e.putString(key, value);\r\n e.commit();\r\n }", "title": "" }, { "docid": "bf5bfd2ca7cd5fd4f6f9a0d5dc1abefc", "score": "0.4524338", "text": "public void storeContactNumbers(View view) {\n String number1 = etNumber1.getText().toString();\n // String number2 = etNumber2.getText().toString();\n if(number1.length()<10)\n Toast.makeText(getApplicationContext(),\"Please enter valid number!!\",Toast.LENGTH_SHORT).show();\n\n else {\n SharedPreferences.Editor prefEdit = sharedPreferences.edit();\n prefEdit.putString(\"Number1\", number1);\n // prefEdit.putString(\"Number2\", number2);\n //etSavedNumber.setText(number1);\n prefEdit.commit();\n Toast.makeText(getApplicationContext(), \"Number saved successfully\", Toast.LENGTH_SHORT).show();\n }\n\n }", "title": "" }, { "docid": "a0ef073a60cbb97ac31b39dff3b83d97", "score": "0.45035747", "text": "private void syncWithCloud() {\n\t\tParseUser curUser = ParseUser.getCurrentUser();\n\t\t\n\t\tif (curUser != null){\n\t\t\tLog.i(\"\", curUser.getUsername());\n\t\t\t\n\t\t\tMap<String, ?> settingMap = pref.getAll();\n\t\t\t\n\t\t\tfor (String key: settingMap.keySet()){\n\t\t\t\t// table name\n\t\t\t\tParseObject po = new ParseObject(\"AppSetting\");\n\t\t\t\t\n\t\t\t\tLog.i(key, settingMap.get(key) + \"\");\n\t\t\t\t\n\t\t\t\t// column name\n\t\t\t\tpo.add(\"appName\", key);\n\t\t\t\tpo.add(\"number\", settingMap.get(key));\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\t//TODO handle duplicates\n\t\t\t\t\tpo.save();\n\t\t\t\t} catch (ParseException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tstartActivity(new Intent(mContext, Account.class));\n\t\t}\n\t}", "title": "" }, { "docid": "e9ff5fff83feec2cf4c1b1bf53844960", "score": "0.44927028", "text": "protected String prefsKey(){\n return \"Pot.\"+name;\n }", "title": "" }, { "docid": "ca7081a6829fe48a8be8b9558d9b13c5", "score": "0.4491539", "text": "private void storeAlert(CAPStructure alertEntry) {\n\t\tbyte[] bOut = CAPStructure.serializeCAP(alertEntry);\n\t\tif (capDB == null)\n\t\t\tcapDB.open();\n\t\t// FIXME: See if there's one there already first...\n\t\tif (capDB.getCAPIndexForID(alertEntry.getNWSID()) > 0) {\n\t\t\tlogger.debug(\"Object is already in database.\");\n\t\t} else {\n\t\t\tcapDB.putCAPSerialized(bOut, alertEntry.getNWSID());\n\t\t\tlogger.debug(\"Wrote object to database.\");\n\t\t}\n\t}", "title": "" }, { "docid": "0e5fad2f57fb33aeecb2e8ce8273d26c", "score": "0.44804984", "text": "public Builder setTypeValue(int value) {\n entryTypeCase_ = 2;\n entryType_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "9bd2599af9e5d62aa1ecf0387be339f9", "score": "0.4476643", "text": "private void saveEntry(WifiState state, long timestamp) {\n }", "title": "" }, { "docid": "09beee787a8f4b392038ec79deffc69c", "score": "0.44753796", "text": "public void storeEntry(\n\t\t\tByteArrayId secondaryIndexId,\n\t\t\tByteArrayId indexedAttributeValue,\n\t\t\tByteArrayId adapterId,\n\t\t\tByteArrayId indexedAttributeFieldId,\n\t\t\tByteArrayId dataId,\n\t\t\tByteArrayId attributeVisibility,\n\t\t\tList<FieldInfo<?>> attributes );", "title": "" }, { "docid": "626202b30037bd6492fa852ffcf635ae", "score": "0.44740358", "text": "public void setTagType(Object handle, String tagType) {\n }", "title": "" }, { "docid": "b02361f2a208774db71245c09de2858f", "score": "0.4470265", "text": "public Integer getPreferencetypeid()\n {\n return preferencetypeid; \n }", "title": "" } ]
16fae05e2d278d19e72d42f5c0e21aca
id = usernameTextField.getText(), pw = passwordTextField.getText()
[ { "docid": "44b8899f11afe87541595e581c298c02", "score": "0.0", "text": "public Boolean CheckCredentials(String id, String pw){\n \n readFile(\"Accounts.txt\");\n for(int i=0; i<tableRows.length; i++){ //for each row...\n String row = tableRows[i].toString().trim();\n String[] collectedRow = row.split(\"/\"); //... split each datum into another array, splitting them at \"/\"\n for(int j=0; j<collectedRow.length; j++){ //for each string in row i...\n if (collectedRow[j].equals(id) && collectedRow[j+1].equals(pw)){ //if one string = id AND the one after it = pw...\n //System.out.println(\"Success\");\n userType = collectedRow[0]; //...select the current row and save it for later\n return true;\n }\n else{\n }\n }\n }\n return false;\n }", "title": "" } ]
[ { "docid": "002f109195353e6b506c7808109a2861", "score": "0.7116491", "text": "@Override\r\n public void onClick(View v) {\n if (!validatePassword() | !validateUsername()) {\r\n return;\r\n }\r\n\r\n //get all the values\r\n // String username = username.getEditText().getText().toString();\r\n //String Password = password.getEditText().getText().toString();\r\n }", "title": "" }, { "docid": "e1df529fc7dc767231fc221ef6fb192a", "score": "0.6745001", "text": "@Override\r\n public void actionPerformed(ActionEvent e) {\r\n String user = userText.getText();\r\n String password = passwordText.getText();\r\n System.out.println(user + \" \" + password);\r\n\r\n //I have limited my input to user:Moh and Password:moh\r\n if (user.equals(\"Moh\") && password.equals(\"moh\")){\r\n success.setText(\"Login successful\");\r\n }\r\n\r\n }", "title": "" }, { "docid": "52bf078a543e744c15c40edd85d7d688", "score": "0.65617794", "text": "private void retrieveFields() {\n mUnameView = findViewById(R.id.username);\n mPasswordView = findViewById(R.id.password);\n }", "title": "" }, { "docid": "d5f53d5cb7299fbe0d2420b3acaefa32", "score": "0.6552567", "text": "public String get_pass(){\n return this.pass.getText();\n }", "title": "" }, { "docid": "0884d49c61e019d35df445aeed75a8c1", "score": "0.63825953", "text": "void checkIDandPSW(){\r\n\t\tqmid = LogInField1.getText();\r\n\t\ta.QMID = qmid;\r\n\t\tFile file = new File(\"D:/\"+qmid+\".txt\");\r\n\t\tif(file.exists()) {//check the password\r\n\t\t\ta.readUserInfo(a);\r\n\t\t\tString psw = LogInField2.getText();\r\n\t\t\tif(a.Password.equals(psw)) {\r\n\t\t\t\tnew UserMainArea().setArea(a.QMID);//user log in seccess\r\n\t\t\t\tUserLogInFrame.dispose();\r\n\t\t\t}else {\r\n\t\t\t\tnew FeedBack().WrongPIN();\r\n\t\t\t}\r\n\t\t}else {\r\n\t\t\tnew FeedBack().unExistScanID();\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4d1105484eb1726d6706903eff3f20f3", "score": "0.63137716", "text": "@When(\"^User enters username and password$\")\n\tpublic void user_enters_username_and_password() {\n\t\tWebElement signupLink = driver.findElement(By.id(\"comp-iiqg1vggactionTitle\"));\n\t\tsignupLink.click();\n\t\tWebElement loginLink = driver.findElement(By.id(\"signUpDialogswitchDialogLink\"));\n\t\tloginLink.click();\n\t\tWebElement useridInput = driver.findElement(By.xpath(\".//div[@id='memberLoginDialogemail']//input\"));\n\t\tuseridInput.sendKeys(\"test@email.com\");\n\t\tWebElement useridPassword = driver.findElement(By.xpath(\".//div[@id='memberLoginDialogpassword']//input\"));\n\t\tuseridPassword.sendKeys(\"abcabc\");\n\t}", "title": "" }, { "docid": "e63c69c1202574cc444473253ad4aaf6", "score": "0.63108325", "text": "private void btnloginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnloginActionPerformed\n try {\n sql = \"SELECT * FROM admin WHERE user='\"+txtuser.getText()+\"' AND password='\"+txtpassword.getText()+\"'\";\n Statement statement = (Statement) conek.GetConnection().createStatement();\n rs = statement.executeQuery(sql);\n if(rs.next()){\n if(txtuser.getText().equals(rs.getString(\"user\")) && txtpassword.getText().equals(rs.getString(\"password\"))){\n JOptionPane.showMessageDialog(rootPane, \"LOGIN BERHASIL\");\n username();\n this.dispose();\n\n }\n }else{\n JOptionPane.showMessageDialog(rootPane, \"Username atau Password Salah\");\n bersih();\n txtuser.requestFocus();\n\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(rootPane, \"GAGAL LOGIN\");\n bersih();\n }\n }", "title": "" }, { "docid": "63524f1d549f8b63608c9408ea82d6ea", "score": "0.6286737", "text": "@Override\n public void onClick(View v) {\n String input_name = name.getText().toString().trim();\n String input_password = pass_word.getText().toString().trim();\n check(input_name,input_password);\n }", "title": "" }, { "docid": "f85a3777a33ebacd066189e916069b03", "score": "0.6278339", "text": "@Override\n public void onClick(View view) {\n String fullnames = fullNames.getText().toString();\n String pass = password.getText().toString();\n Log.d(TAG, \"onClick: \"+fullnames + pass);\n }", "title": "" }, { "docid": "ee21e0359a7521b5bcf3046bee278369", "score": "0.6247827", "text": "public void actionPerformed(ActionEvent e)\r\n{\nString str1 = nameField.getText();\r\nString str2 = passField.getText();\r\n// some validation code\r\nif(str1.equals(\"snrao\") && str2.equals(\"java\"))\r\n{\r\nresultField.setText(\"VALID\");\r\n}\r\nelse\r\n{\r\nresultField.setText(\"INVALID, TRY AGAIN\");\r\n}\r\n}", "title": "" }, { "docid": "1d6da4b7884a2f208363de1b8e7161e8", "score": "0.62345123", "text": "public void loginButton(View view){\r\n EditText password = (EditText) findViewById(R.id.login_password);\r\n EditText email = (EditText) findViewById(R.id.login_email);\r\n\r\n String parse = password.getText().toString();\r\n /*\r\n String hashed;\r\n hashed = BCrypt.hashpw(parse, BCrypt.gensalt(10));\r\n\r\n postUserLogin(email.getText().toString(), hashed);\r\n */\r\n\r\n //check that the input fields contain valid strings\r\n if(validLoginInput(email,password)) {\r\n postUserLogin(email.getText().toString(), parse);\r\n }\r\n\r\n\r\n }", "title": "" }, { "docid": "7f346425d7432ef0f83c3665c8c78d52", "score": "0.62109065", "text": "@Override\n public void onClick(View v) {\n username = edUsername.getText().toString();\n password = edPassword.getText().toString();\n phone = edPhone.getText().toString();\n\n Log.d(\"trace_me\", \"asdadsa\");\n Log.d(\"trace_me\", phone == null ? \"phonul\" : phone);\n Log.d(\"trace_me\", password == null ? \"passnull\" : password);\n Log.d(\"trace_me\", username == null ? \"usernull\" : username);\n\n prefsConf.putString(Param.KEY_USERNAME,username);\n prefsConf.putString(Param.KEY_PASSWORD,password);\n prefsConf.putString(Param.KEY_PHONE,phone);\n }", "title": "" }, { "docid": "8f4f5a357f2a476f4737258f4a724a8a", "score": "0.6203708", "text": "public Login() {\n initComponents();\n usrGeslo.setText(\"\");\n usrName.setText(\"\");\n }", "title": "" }, { "docid": "eb60ca9e10d0c3977b9206f6dd622b27", "score": "0.62002516", "text": "public Loginusuario() {\n initComponents();\n PlaceHolder holder = new PlaceHolder(txtUsuario, \"Ingrese Usuario\");\n PlaceHolder holderpass = new PlaceHolder(txtPassword, \"Ingrese Contraseña\");\n \n\n }", "title": "" }, { "docid": "9887a4bab9be9a8a65a084e0e6b9e5c7", "score": "0.61934835", "text": "@And(\"^I enter username \\\"([^\\\"]*)\\\" and password \\\"([^\\\"]*)\\\"$\")\n public void iEnterUsernameAndPassword(String usernme, String password) throws Throwable {\n System.out.println(\"\\n\"+\" Username is \"+ usernme);\n System.out.println(\"Password is \" +password);\n\n }", "title": "" }, { "docid": "73f7fc98a0c683c3e43ee1ea11d1df6d", "score": "0.61850137", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\tString names=name.getText().toString();\n\t\t\t\t\tString pass=password.getText().toString();\t\n\t\t\t\t\tif(names.trim().equals(\"\")){\n\t\t\t\t\t\tsoft(name);\n\t\t\t\t\t\tToastManager.getInstance(context).showimgToast(\"请输入帐号!\");\n//\t\t\t\t\t\tname.setError(\"请输入用户名!\");\n//\t\t\t\t\t\tpassword.setError(\"\")\n\t\t\t\t\t}else if(pass.trim().equals(\"\")){\n\t\t\t\t\t\tsoft(password);\n\t\t\t\t\t\tToastManager.getInstance(context).showimgToast(\"请输入密码!\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tdialog.showWaitingDialog(Login.this, \"正在登录...\", false);\n\t\t\t\t\t\tlogin(names,pass);\n\t\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "ed1b4168183a8acc935726c1f79657d8", "score": "0.6169394", "text": "public void actionPerformed(ActionEvent e) {\n String name = txtname.getText();\n String pass = txtpass.getText();\n // 需要创建用户表 字段自己编写\n // 如果用户名为空 请输入用户名\n if(name.trim().isEmpty()) {\n JOptionPane.showMessageDialog(null, \"用户名不能为空\");\n }\n else if(pass.trim().isEmpty()) {\n JOptionPane.showMessageDialog(null, \"密码不能为空\");\n }else {\n \t boolean queryUserByNameAndPsw = queryUserByNameAndPaw(name, pass);\n \t if(queryUserByNameAndPsw==false) {\n \t\t JOptionPane.showMessageDialog(null, \"用户名或密码有误\");\n \t }else {\n \t\t JOptionPane.showMessageDialog(null, \"登录成功\");\n \t }\n }\n // 如果密码为空 请输入密码密码不能为空\n \n // 如果用户名和密码不为空需要去数据库查询对应的用户 如果没有查到提示用户名或密码错误\n \n // 否则弹出登录成功\n \n //JOptionPane.showMessageDialog(null, \"登陆成功\");\n \n }", "title": "" }, { "docid": "cd055b544427633a05fa94f3613354be", "score": "0.61591804", "text": "void passwordSbagliata();", "title": "" }, { "docid": "67da834492a5c9fb854702af2d9ef380", "score": "0.61165136", "text": "public void onClick() {\n final String userId = view.getUserid();\n final String password = view.getPassword();\n final String name = view.getName();\n final String email = view.getEmail();\n String text = \"\"; // NOPMD by hailin on 3/29/14 1:06 AM\n\t\t\n if (userId.equals(\"\") || password.equals(\"\") || name.equals(\"\") || email.equals(\"\")) { // NOPMD by hailin on 3/29/14 1:06 AM\n text = \"Please fill out all fields!\";\n } else if (!view.findUser(userId).equals(User.NULL_USER)) { // NOPMD by hailin on 3/29/14 1:07 AM\n text = \"The username already exsit, please try another one!\";\n } else {\n final User newUser = new User(userId, password, name, email);\n view.addUser(newUser);\n view.goLoginPage();\n }\n view.setRegisterText(text);\n }", "title": "" }, { "docid": "4e89eb605719535cfd392a0c151be8df", "score": "0.6097015", "text": "public void Limpiar(){\n txt_user.setText(\"\");\n txt_password.setText(\"\");\n }", "title": "" }, { "docid": "e53e7ff32076c52ff33cbf1a813d7a50", "score": "0.60964304", "text": "String getUserPassword();", "title": "" }, { "docid": "270703addd1231dbef882f57dc3cf422", "score": "0.6092567", "text": "public void authUser() {\r\n Scanner in = new Scanner (System.in); \r\n System.out.print(\"Please enter your username for mysql connection \\n\"); \r\n username = in.nextLine(); \r\n System.out.print(\"Please enter your password \\n\"); \r\n password = in.nextLine();\r\n in.close();\r\n }", "title": "" }, { "docid": "51ee7d64dd4e69977ba7fd0069e9a03b", "score": "0.6081292", "text": "@Override\n public void onClick(View v) {\n hash_pass[0] = Password_Hashing.md5(password.getText().toString());\n //checking the username field for errors\n log.username_Check(username, username_error);\n //checking the password field for errors\n log.password_Check(password, password_error);\n //if both checks return true, call the login function\n if(log.username_Check(username, username_error) && log.password_Check(password, password_error)){\n login(username.getText().toString(), hash_pass[0]);\n }\n }", "title": "" }, { "docid": "63b2999d806ddd258f16cf02211bd8c5", "score": "0.6060831", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t\tString ID = id.getText();\r\n\t\t\t\tString password = new String(Tpassword.getPassword());\r\n\t\t\t\tString repassword = new String(Trepassword.getPassword());\r\n\t\t\t\tif(ID.equals(\"\")||password.equals(\"\")||repassword.equals(\"\"))\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"输入信息不完整!\",\"提示\",JOptionPane.WARNING_MESSAGE);\r\n\t\t\t\telse{\r\n\t\t\t\t\tString sql = \"insert into user values('\"+ID+\"','\"+password+\"','\"+Sid+\"')\";\r\n\t\t\t\t\tSystem.out.println(sql);\r\n\t\t\t\t\tnew QueryUpdate().executeUpdate(sql);\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"注册成功\\n点击回到登录界面\");\r\n\t\t\t\t\tnew Login();\r\n\t\t\t\t\tdispose();\r\n\t\t\t\t}\r\n\r\n\t\t\t}", "title": "" }, { "docid": "887a29c2e94b79a193cc1015a1b5d03e", "score": "0.60573334", "text": "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSystem.out.println(M_id_tf.getText());\r\n\t\t\t\tSystem.out.println(M_pw_tf.getText());\r\n\r\n\t\t\t\tif (M_id_tf.getText().equals(\"\") || M_pw_tf.getText().equals(\"\")) {\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"아이디 또는 비밀번호를 입력하세요\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tM_id_tf.setText(M_id_tf.getText());\r\n\t\t\t\t\t\r\n\t\t\t\t\tArrayList<MemberVo> list_7 = dao.list_7(M_id_tf.getText());\r\n\t\t\t\t\t\r\n\t\t\t\t\tif (list_7.size() == 0) {\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"잘못된 아이디 혹은 비밀번호 입니다.\");\r\n\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"로그인에 성공하였습니다.\");\r\n\t\t\t\t\t\t// M_id_tf.setText(M_id_tf.getText());\r\n\t\t\t\t\t\tManagerLogInPanel.setVisible(false);\r\n\r\n\t\t\t\t\t\tManager();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "d1f488957b3bef52569047ca841d1956", "score": "0.6033948", "text": "public void butLogin(View view){\n Spinner UserName = (Spinner)findViewById(R.id.UserName_spinner);\n TextView Password = (TextView)findViewById(R.id.Password);\n\n findViewById(R.id.UserName_spinner);\n\n if (myLocalDB.ValidateUser(UserName.toString(), Password.toString()) == true)\n {\n //go to next screen\n\n }\n else{\n Toast.makeText(this, \"Authentication Error: Please check your UserName and Password\", Toast.LENGTH_LONG).show();\n }\n\n\n }", "title": "" }, { "docid": "eb264870130ee6ef2f110cca92cbf073", "score": "0.6029137", "text": "String getPassword (int user_id);", "title": "" }, { "docid": "7705784b25d9b1448d8ea8dd7568e5ff", "score": "0.60200846", "text": "private void txtPasswordActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" }, { "docid": "99f44c5adaf42f4b1518270b1ffb1b2a", "score": "0.6011629", "text": "private void validateCredentials() {\n String user = \"\" + etUsername.getText();\n String pass = \"\" + etPassword.getText();\n if (user.isEmpty()) {\n Snackbar.make(parent, getString(R.string.empty_username), Snackbar.LENGTH_LONG).show();\n } else if (pass.isEmpty()) {\n Snackbar.make(parent, getString(R.string.empty_password), Snackbar.LENGTH_LONG).show();\n } else if ((!user.equals(username)) || (!pass.equals(password))) {\n Snackbar.make(parent, getString(R.string.no_credentials), Snackbar.LENGTH_LONG).show();\n } else {\n login();\n startActivity(new Intent(LoginActivity.this, MainActivity.class));\n finish();\n }\n loading.setVisibility(View.GONE);\n }", "title": "" }, { "docid": "cf1d2cb20e7daa1f88356f85d446af7a", "score": "0.601041", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n buttonOK = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n textUsername = new javax.swing.JTextField();\n textPassword = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n buttonOK.setFont(new java.awt.Font(\"Tahoma\", 1, 11)); // NOI18N\n buttonOK.setText(\"OK\");\n buttonOK.addActionListener(new java.awt.event.ActionListener()\n {\n public void actionPerformed(java.awt.event.ActionEvent evt)\n {\n buttonOKActionPerformed(evt);\n }\n });\n\n jLabel3.setText(\"Username:\");\n\n jLabel4.setText(\"Password:\");\n\n textUsername.setText(\"mika\");\n textUsername.setToolTipText(\"\");\n\n textPassword.setText(\"1234\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(buttonOK, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel4)\n .addComponent(jLabel3))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(textPassword, javax.swing.GroupLayout.DEFAULT_SIZE, 125, Short.MAX_VALUE)\n .addComponent(textUsername))))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(textUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel4)\n .addComponent(textPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(buttonOK)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "f56d871316eded71445ccc97c50cda67", "score": "0.599178", "text": "public static void changeYourPassword(TextField inEmailClientTxt, TextField inPasswordClientTxt) {\n Dialog<Pair<String, String>> dialog = new Dialog<>();\n dialog.setTitle(\"Change password\");\n dialog.setHeaderText(\"The user with the given password does not exist.\");\n ImageView image = new ImageView(\"user.jpeg\");\n image.setFitHeight(50);\n image.setFitWidth(50);\n dialog.setGraphic(image);\n\n ButtonType loginButtonType = new ButtonType(\"Confirm\", ButtonBar.ButtonData.OK_DONE);\n dialog.getDialogPane().getButtonTypes().addAll(loginButtonType, ButtonType.CANCEL);\n\n GridPane grid = new GridPane();\n grid.setHgap(10);\n grid.setVgap(10);\n grid.setPadding(new Insets(20, 150, 10, 10));\n\n TextField password = new PasswordField();\n password.setPromptText(\"Password\");\n PasswordField confirmPassword = new PasswordField();\n confirmPassword.setPromptText(\"Confirm password:\");\n\n grid.add(new Label(\"Password:\"), 0, 0);\n grid.add(password, 1, 0);\n grid.add(new Label(\"Confirm Password:\"), 0, 1);\n grid.add(confirmPassword, 1, 1);\n\n Node loginButton = dialog.getDialogPane().lookupButton(loginButtonType);\n loginButton.setDisable(true);\n\n password.textProperty().addListener((observable, oldValue, newValue) -> {\n loginButton.setDisable(newValue.trim().isEmpty());\n });\n\n dialog.getDialogPane().setContent(grid);\n\n dialog.setResultConverter(dialogButton -> {\n if (dialogButton == loginButtonType) {\n return new Pair<>(password.getText(), confirmPassword.getText());\n }\n return null;\n });\n\n Optional<Pair<String, String>> result = dialog.showAndWait();\n\n result.ifPresent(usernamePassword -> {\n Optional<Client> userFromDB = session.createQuery(\"FROM Client WHERE email = '\" + inEmailClientTxt.getText() + \"'\").uniqueResultOptional();\n\n if (userFromDB.isEmpty()) {\n Alert alert = new Alert(Alert.AlertType.ERROR);\n\n preparingDialogPane(\"ERROR\", alert);\n\n alert.setContentText(\"The user with the given e-mail \\\"\" + inEmailClientTxt.getText() + \"\\\" does not exist or the wrong password was given.\");\n alert.show();\n } else if (!password.getText().equals(confirmPassword.getText())) {\n Alert alert = new Alert(Alert.AlertType.ERROR);\n\n preparingDialogPane(\"ERROR\", alert);\n\n alert.setContentText(\"The password and confirm password fields are not the same.\");\n alert.show();\n\n alert.setOnHidden(dialogEvent -> changeYourPassword(inEmailClientTxt, inPasswordClientTxt));\n } else {\n userFromDB.get().setPassword(password.getText());\n session.beginTransaction().commit();\n clearGivenData(inPasswordClientTxt);\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n\n preparingDialogPane(\"INFORMATION\", alert);\n\n alert.setContentText(\"The password changed successfully.\");\n alert.show();\n }\n });\n }", "title": "" }, { "docid": "f0f747651e8f8ccd949e04c746367dce", "score": "0.5991702", "text": "private void btnLoginActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLoginActionPerformed\n // TODO add your handling code here:\n String username = txtUsername.getText();\n String password = new String(txPassword.getPassword());\n\n StringBuilder sb = new StringBuilder();\n\n if (username.equals(\"\")) {\n sb.append(\"Vui lòng nhập Username!\\n\");\n }\n if (password.equals(\"\")) {\n sb.append(\"Vui lòng nhập Password!\");\n }\n if (sb.length() > 0) {\n JOptionPane.showMessageDialog(this, sb.toString(), \"Invalidation\", JOptionPane.ERROR_MESSAGE);\n return;\n } else {\n Client.clientCtr.senderClient.sendInformation(username, password);\n }\n\n // Sửa chỗ trong ngoặc nhé\n JOptionPane.showMessageDialog(this, \"Thêm cái cách để gọi tin nhắn từ server ở đây, mà tôi tìm trong cái\"\n + \" ReceiveClient của bạn mà không thấy có hàm đó\");\n\n\n }", "title": "" }, { "docid": "30d854b81f1a59c8454dfe443b66ea9f", "score": "0.5990073", "text": "@When(\"^The enters username and password$\")\n\tpublic void the_enters_username_and_password(){\n\t\ttuitionMain.username.sendKeys(\"user6\");\n\t\ttuitionMain.password.sendKeys(\"pass\");\n\t\t\n\t\ttuitionMain.loginBtn.click();\n\t\ttry {\n\t\t\tThread.sleep(1000);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\ttuitionMain.myRequestBtn.click();\n\t\ttuitionMain.getRequests.click();\n\t\ttry {\n\t\t\tThread.sleep(3500);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ae5d29afde666a0e9755d5fb0690048d", "score": "0.5989225", "text": "public void collectUserIds()\r\n {\r\n etUemail = (EditText) findViewById(R.id.etEmail);\r\n etUpassword = (EditText) findViewById(R.id.etPassword);\r\n btnSignUp = (Button) findViewById(R.id.btnSignUp);\r\n tvAlreadyRegistered = (TextView) findViewById(R.id.tvAlready_registered);\r\n\r\n\r\n }", "title": "" }, { "docid": "3b115b34a48f1ddd3e12ccfb2f27d32b", "score": "0.5988317", "text": "public void setUname() {\n uname = cp5.get(Textfield.class, \"Username\").getText();\n preftime = cp5.get(Textfield.class, \"prefertime\").getText();\n\n // if the text field is empty, random Id!\n if (uname.isEmpty()) {\n uname = \"rand\" + round(random(1000, 20000));\n username.setText(uname);\n }\n if (preftime.isEmpty()) {\n preftime = \"0\";\n prefertime.setText(preftime);\n }\n}", "title": "" }, { "docid": "64e6e769f24f2794b1c507b1b2f96e58", "score": "0.59882486", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\tid = textField.getText();\n\t\tpw = passwordField.getText();\n\t\tJOptionPane success = new JOptionPane();\n\t\tsuccess.setBackground(Color.WHITE);\n\t\tSystem.out.println(id + \", \" + pw);\n\t\tif(SystemMain.db.login(id, pw)) {\n\t\t\t\n\t\t\tString username = UserStatus.getUserName();\n\t\t\tsuccess.showMessageDialog(this, username + \" 님! 반갑습니다!\", \"환영\", JOptionPane.PLAIN_MESSAGE);\n\t\t\t\n\t\t\tthis.setVisible(false);\n\t\t\tnew LibrarySystemGUI();\n\t\t} else {\n\t\t\tJOptionPane.showMessageDialog(this, \"아이디나 비밀번호가 일치하지 않습니다!\", \"경고\", JOptionPane.WARNING_MESSAGE);\n\t\t}\n\t}", "title": "" }, { "docid": "82ee4987253ea211efefe3b39d7293a0", "score": "0.5987595", "text": "private UserCredentials askLogin()\r\n {\r\n System.out.print(\"Username: \");\r\n String username = UserInput.readString();\r\n String password;\r\n\r\n if (username.isEmpty()) {\r\n System.out.println(\"Invalid username.\");\r\n return null;\r\n }\r\n\r\n switch (authType) {\r\n case 1: // Se for autenticação BASIC pede a password ao utilizador\r\n System.out.print(\"Password: \");\r\n password = UserInput.readString(); // InputPassword.readPassword();\r\n break;\r\n default: // Se for autenticação OAUTH pede o pincode gerado pelo twitter\r\n ((OAuthConnection) conn).requestPinCode();\r\n System.out.print(\"Pin code: \");\r\n password = UserInput.readString();\r\n }\r\n\r\n if (password.isEmpty()) {\r\n System.out.println(\"Invalid input.\");\r\n return null;\r\n }\r\n else return new UserCredentials(username, password);\r\n }", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.59713817", "text": "String getPassword();", "title": "" }, { "docid": "6cf6c326bd68b0af19fd70f43c604b62", "score": "0.5968292", "text": "private void login() {\n String user = userName.getText();\n char[] pass = password.getPassword();\n //May need to factor for password encryption\n try {\n if (user != null && pass != null) {\n String passwd =String.valueOf(pass);\n connObj = DriverManager.getConnection(\"jdbc:mysql://localhost:3306/kbellfire?useSSL=false\", \"admin\", \"1qaz2wsx\");\n stateObj = connObj.createStatement();\n String query = \"Select username,password from user WHERE username=? and password=?\";\n PreparedStatement ps;\n ps = connObj.prepareStatement(query);\n ps.setString(1,user);\n ps.setString(2,passwd);\n resultObj = ps.executeQuery();\n \n if (!resultObj.next()) {\n JOptionPane.showMessageDialog(this, \"Invalid login information provided.\");\n password.setText((\"\"));\n }\n else{\n resultObj = stateObj.executeQuery(\"Select userid, name from user WHERE username like '%\"+user+\"%';\");\n while (resultObj.next()){\n userid = resultObj.getInt(\"userid\");\n Login.user=resultObj.getString(\"name\");\n }\n connObj.close();\n this.dispose();\n MainPage main = new MainPage();\n main.setVisible(true);\n }\n }\n \n\n } catch (SQLException err) {\n JOptionPane.showMessageDialog(this, err.getMessage());\n }\n }", "title": "" }, { "docid": "b571d3e86bb6e2babea5645b1451661f", "score": "0.596669", "text": "void initial(){\n setUserNameJTextField(\"\");\n setjPasswordField(\"\");\n }", "title": "" }, { "docid": "3a4d1e263a56b15b8ec13bb548b1c862", "score": "0.59466594", "text": "private void loginUser()\n {\n\n String phone = InputPhoneNumber.getText().toString();\n String password = InputPassword.getText().toString();\n\n // Check either the fields are empty or not (Validate)\n\n if (TextUtils.isEmpty(phone))\n {\n Toast.makeText(this, \"Phone number not specified\", Toast.LENGTH_SHORT).show();\n\n }\n\n else if (TextUtils.isEmpty(password))\n {\n Toast.makeText(this, \"Please enter a 6-digit password\", Toast.LENGTH_SHORT).show();\n\n }\n else\n {\n AllowAccessToAccount(phone,password);\n }\n\n }", "title": "" }, { "docid": "c4280f45668a8cac1c0f966acb05264d", "score": "0.5936098", "text": "public void actionPerformed(ActionEvent ae)\r\n {\r\n //checks if the button clicked\r\n if(ae.getSource()==LogIn)\r\n {\r\n char[] temp_pwd=passwordField.getPassword();\r\n String pwd=null;\r\n pwd=String.copyValueOf(temp_pwd);\r\n System.out.println(\"Username,Pwd:\"+textField.getText()+\",\"+pwd);\r\n \r\n //The entered username and password are sent via \"checkLogin()\" which return boolean\r\n if(db.checkLogin(textField.getText(), pwd))\r\n {\r\n //a pop-up box\r\n JOptionPane.showMessageDialog(null, \"WELCOME!!\",\"로그인 성공\",\r\n JOptionPane.INFORMATION_MESSAGE);\r\n dispose();\r\n MainMenu mainmenu = new MainMenu();\r\n Dimension frameSize = mainmenu.getSize();\r\n \t\t\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); \r\n \t\t\t\tmainmenu.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);\r\n mainmenu.setVisible(true);\r\n user_id=textField.getText();\r\n }\r\n else\r\n {\r\n //a pop-up box\r\n JOptionPane.showMessageDialog(null, \"TRY AGAIN!!\",\"로그인 실패\",\r\n JOptionPane.ERROR_MESSAGE);\r\n }\r\n }//if\r\n else if(ae.getSource()==SignIn) {\r\n \tSignIn frame = new SignIn();\r\n \t\tDimension frameSize = frame.getSize();\r\n \t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\r\n \t\tframe.setLocation((screenSize.width - frameSize.width) / 2,\r\n \t\t\t\t(screenSize.height - frameSize.height) / 2);\r\n \tframe.setVisible(true);\r\n \t\r\n }\r\n }", "title": "" }, { "docid": "19d1c1e0d2c53f2cb44bccab39b64a6a", "score": "0.59346414", "text": "public void loginWindowLoginButton(JPasswordField password, JTextField name) {\r\n //match given credentials to our list of acceptable credentials\r\n //if not matching, tell user, return to login\r\n\r\n //conver text fields to strings\r\n String nameString = name.getText();\r\n String passString = password.getText();\r\n if (true) {//DataLists.isValidEmployee(nameString, passString)) {\r\n //close current window\r\n frame.dispose();\r\n //go to next window\r\n //Staff info = new Staff();\r\n //info.main(null);\r\n\r\n Staff.createStaff();\r\n\r\n } else {\r\n JOptionPane.showMessageDialog(null, \"Invalid name or password\", \"Login Error\", JOptionPane.ERROR_MESSAGE);\r\n }\r\n //else, tell user to change info\r\n }", "title": "" }, { "docid": "8e84a112fe4fa13dad6ae64cfe57cff9", "score": "0.5925148", "text": "void setPassword (int user_id, String password);", "title": "" }, { "docid": "a3e8e01cf686ebcdb993bca0ef11ba59", "score": "0.59131426", "text": "@Override\n\tprotected void findViewById() {\n\t\tusername = (EditText)findViewById(R.id.register_username);\n\t\tpassword = (EditText)findViewById(R.id.register_pwd);\n\t\tpasswordAgain = (EditText)findViewById(R.id.register_pwd_again);\n\t\tregisterBtn = (Button)findViewById(R.id.registerBtn);\n\t}", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5904836", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "bb60db04d9e8bb0fa1d1dacd590e66c7", "score": "0.5904551", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n jTextField_ID = new javax.swing.JTextField();\n jTextField_Name = new javax.swing.JTextField();\n jTextField_Username = new javax.swing.JTextField();\n jTextField_Email = new javax.swing.JTextField();\n password = new javax.swing.JPasswordField();\n jButton1 = new javax.swing.JButton();\n jLabel6 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jPanel1 = new javax.swing.JPanel();\n jLabel7 = new javax.swing.JLabel();\n jLabel8 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setPreferredSize(new java.awt.Dimension(635, 410));\n setResizable(false);\n getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jLabel1.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 12)); // NOI18N\n jLabel1.setText(\"ID\");\n getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 100, -1, -1));\n\n jLabel2.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 12)); // NOI18N\n jLabel2.setText(\"Name\");\n getContentPane().add(jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 130, -1, -1));\n\n jLabel3.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 12)); // NOI18N\n jLabel3.setText(\"Username\");\n getContentPane().add(jLabel3, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 160, -1, -1));\n\n jLabel4.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 12)); // NOI18N\n jLabel4.setText(\"Password\");\n getContentPane().add(jLabel4, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 190, -1, -1));\n\n jLabel5.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 12)); // NOI18N\n jLabel5.setText(\"Email\");\n getContentPane().add(jLabel5, new org.netbeans.lib.awtextra.AbsoluteConstraints(400, 220, -1, -1));\n\n jTextField_ID.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 102)));\n jTextField_ID.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField_IDActionPerformed(evt);\n }\n });\n getContentPane().add(jTextField_ID, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 100, 130, 24));\n\n jTextField_Name.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 102)));\n getContentPane().add(jTextField_Name, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 130, 130, 24));\n\n jTextField_Username.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 102)));\n getContentPane().add(jTextField_Username, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 160, 130, 24));\n\n jTextField_Email.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 102)));\n getContentPane().add(jTextField_Email, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 220, 130, 24));\n\n password.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 102)));\n password.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n passwordActionPerformed(evt);\n }\n });\n getContentPane().add(password, new org.netbeans.lib.awtextra.AbsoluteConstraints(470, 190, 130, 24));\n\n jButton1.setFont(new java.awt.Font(\"HelveticaNeue\", 1, 12)); // NOI18N\n jButton1.setText(\"Sign Up\");\n jButton1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 102, 51)));\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 280, 69, 28));\n\n jLabel6.setFont(new java.awt.Font(\"HelveticaNeue\", 1, 18)); // NOI18N\n jLabel6.setText(\"SIGN UP\");\n getContentPane().add(jLabel6, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 20, 85, 69));\n\n jButton2.setFont(new java.awt.Font(\"HelveticaNeue\", 1, 12)); // NOI18N\n jButton2.setText(\"Back\");\n jButton2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 102, 51)));\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(490, 320, 69, 27));\n\n jPanel1.setBackground(new java.awt.Color(214, 74, 42));\n jPanel1.setMaximumSize(new java.awt.Dimension(2147483647, 2147483647));\n jPanel1.setPreferredSize(new java.awt.Dimension(327, 411));\n jPanel1.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());\n\n jLabel7.setIcon(new javax.swing.ImageIcon(\"C:\\\\Users\\\\Ginel\\\\Documents\\\\NetBeansProjects\\\\Modules\\\\src\\\\Untitled-3.png\")); // NOI18N\n jPanel1.add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 130, -1, -1));\n\n jLabel8.setBackground(new java.awt.Color(255, 255, 255));\n jLabel8.setFont(new java.awt.Font(\"HelveticaNeue\", 0, 14)); // NOI18N\n jLabel8.setForeground(new java.awt.Color(255, 255, 255));\n jLabel8.setText(\"for Skin Disease Classification\");\n jPanel1.add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(90, 240, -1, 34));\n\n getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 389, -1));\n\n pack();\n }", "title": "" }, { "docid": "0b2d6f82662ad7bf7abd783a35a70d5d", "score": "0.58996296", "text": "public void actionPerformed(ActionEvent e) {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\ttry{\n\t\t\t\t\tconnection =sqlConnection.loginconnector();\n\t\t\t\t\t{\n\t\t\t\t\t\tString Query = \"Select * From LoginData Where username=?\"; // creating the sql query thats going to be used in the prepared statement \n\t\t\t\t\t\tPreparedStatement pst = connection.prepareStatement(Query);\t\t\t\t \t\t\n\t\t\t\t\t\tpst.setString(1,UNtxtField.getText());\t\t\t\t\t\t\t// This query gets the values for Username \t\n\t\t\t\t\t\tResultSet rs = pst.executeQuery();\t\t\t\t\t\t\t\t// this sets the Varribles 'rs' resultset to equals the value from the result of the query executed \n\t\t\t\t\t\t\n\t\t\t\t\t\tint count = 0;\n\t\t\t\t\t\t\n\t\t\t\t\t\twhile(rs.next()){ // this loops through all the data in the database until it reaches the end then the while statement is satisfied\n\t\t\t\t\t\t\tcount++; // increments the variable count by 1\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(count == 1) \t{\t\t\t// if the count value is 1 this means, the username value already exists in the database, show it shows an error messagelabel on the screen.\n\t\t\t\t\t\t\tUNcheck.show();\n\t\t\t\t\t\t\tvalidcheck.hide();\n\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\t\t\t\t\t\t// otherwise it means the username does not exists in the databse therefore, the user is able to use that username and it runs the rest of the code\n\t\t\t\t\t\t\tUNcheck.hide();\n\t\t\t\t\t\t\tif(passField.getText().equals(conpassField.getText())) // it check if the both the passwords match within the fields given\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\ttry\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tString Query2 = \"Insert into LoginData (Name,Surname,Age,username,password) values (?,?,?,?,?)\"; // \"values (????)\" means the value is going be entered at a later stage\n\t\t\t\t\t\t\t\tPreparedStatement pst2 = connection.prepareStatement(Query2); // created a variable called pst and made it equals the Pre-defined statement (prepared Statement)\n\t\t\t\t\t\t\t\tpst2.setString(1,nameTxtfield.getText()); \n\t\t\t\t\t\t\t\tpst2.setString(2,surnametxtField.getText() ); // sets the values within the query\n\t\t\t\t\t\t\t\tpst2.setString(3,agetxtField.getText() );\n\t\t\t\t\t\t\t\tpst2.setString(4,UNtxtField.getText() );\n\t\t\t\t\t\t\t\tpst2.setString(5,passField.getText());\n\t\n\t\t\t\t\t\t\t\tpst2.execute(); // this executes the prepared statement\n\t\t\t\t\t\t\t\tpst2.close();\t// this closes the connection\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tdispose(); // this closes the dialogbox\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Registered\"); // shows a dialog box indicating the successful registration\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t catch(Exception e1) // any errors while executing the function with pop uo a dialog box showing the error.\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, e1);\n\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tvalidcheck.hide();\n\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tvalidcheck.show(); // if statement not satisfied then it means the passwords doesn't match and there for shows the error message within the dialog box\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\t}catch(Exception e2)\n\t\t\t\t\n\t\t\t\t{\n\t\t\t\t\t\n\t\t\t\t\tJOptionPane.showMessageDialog(null, e2);\n\t\t\t\t}\t\t\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" }, { "docid": "d6455659b8802fb0c322e7a1232c69b6", "score": "0.58821887", "text": "@Override\n public void onClick(View v) {\n getUsername();\n getPassword();\n register();\n\n }", "title": "" }, { "docid": "ae8afb8efc3db7ea3f9d576558b575e5", "score": "0.5882151", "text": "public String getPassword() ;", "title": "" }, { "docid": "0817150f1a53b27765cba083087007ba", "score": "0.587898", "text": "private void pfPasswordActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_pfPasswordActionPerformed\n loginUser();\n }", "title": "" }, { "docid": "7cc44e7d7174f52995529fa509863e20", "score": "0.5876264", "text": "private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {\n String username = jTextField4.getText();\n String password = jTextField5.getText();\n String contact = jTextField6.getText();\n String address = jTextField1.getText();\n String fullName = jTextField7.getText();\n String power = (String) jComboBox1.getSelectedItem();\n int checkForm = this.checkForm(username, password, contact, address, fullName);\n if (checkForm != 1) {\n int result = checkUsername(username);\n if (result == 0) {\n this.editUser(username, password, power, contact, address, fullName);\n JOptionPane.showMessageDialog(this, \"Chỉnh sửa tài khoản thành công !!\");\n }\n\n }\n }", "title": "" }, { "docid": "e32ed067389678dd1fcf8e6b081da504", "score": "0.5857795", "text": "public void sendpasswd(View view) {\n\n\n EditText account_to_login = (EditText) findViewById(R.id.account_to_login);\n String vault_name = account_to_login.getText().toString();\n\n EditText passwd_to_login = (EditText) findViewById(R.id.passwd_to_login);\n String vault_passwd = passwd_to_login.getText().toString();\n\n if (!babak.validate_vault_passwd(vault_passwd) || !babak.validate_vault_name(vault_name)) {\n Toast.makeText(firstpage.this, R.string.Vault_Name_or_Password_cant_be_empty, Toast.LENGTH_LONG).show();\n } else {\n\n\n Context context_checkifusercanlogin = getApplicationContext();\n String checkvalidlogin=babak.checkifusercanlogin(context_checkifusercanlogin, vault_passwd, vault_name);\n if (checkvalidlogin.equals(\"yes\")) {\n\n Intent myIntent56a = new Intent(getBaseContext(), login_succes.class);\n startActivity(myIntent56a);\n\n\n } else {\n // Be really, really sad\n Toast.makeText(this, R.string.Wrong_credentials, Toast.LENGTH_LONG).show();\n\n }\n\n\n\n\n\n }\n\n }", "title": "" }, { "docid": "ec9dfbbe61ca9ee641c43bb721a90da2", "score": "0.5850405", "text": "public String validateUserAndPassword()\r\n\t{\r\n\t\t\r\n\t\tboolean valid = DatabaseValidation.check(this.username, this.password);\r\n\t\tif(valid)\r\n\t\t{\r\n\t\t\treturn \"success\";\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\treturn \"failure\";\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "4bdf9b37f11d96bb1cf235ed428f2ef8", "score": "0.58435273", "text": "@Override\n public void onClick(View v) {\n EditText usernameField = (EditText) findViewById(R.id.username);\n EditText passwordField = (EditText) findViewById(R.id.password);\n String usernameString = usernameField.getText().toString();\n String passwordString = passwordField.getText().toString();\n\n SharedPreferences prefs = getSharedPreferences(\"marcus.meetapp\", Context.MODE_PRIVATE);\n String passwordValue = prefs.getString(usernameString + \"login\", null);\n\n if(passwordValue == null) {\n SharedPreferences.Editor editor = prefs.edit();\n editor.putString(usernameString + \"login\", passwordString);\n editor.commit();\n } else if(passwordString.equals(passwordValue)){\n Intent i = new Intent(getApplicationContext(), MainActivity.class);\n EditText username = (EditText) findViewById(R.id.username);\n i.putExtra(\"username\", username.getText().toString());\n startActivity(i);\n } else {\n Context context = getApplicationContext();\n CharSequence text = \"Wrong password to that user!\";\n int duration = Toast.LENGTH_SHORT;\n Toast toast = Toast.makeText(context, text, duration);\n toast.show();\n }\n }", "title": "" }, { "docid": "12be71d1985c14cf9a31565e7c046ed9", "score": "0.5835917", "text": "public void onClick(View arg0) {\n\t\t\t\tString USERNAME_PATTERN = \"^[a-z0-9_]{4,12}$\";\n\t\t\t\tString EMAIL_PATTERN =\"^[_A-Za-z0-9-\\\\+]+(\\\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\\\.[A-Za-z0-9]+)*(\\\\.[A-Za-z]{2,})$\";\n\t\t\t\tString PASSWORD_PATTERN = \"((?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])[?=.*[@#$%]]*.{6,20})\";\n\t\t\t\t//Matcher matcher;\n\t\t\tfinal String usernametxt = username.getText().toString();\n\t\t\t// Force user to fill up the form\n\t\t\tfinal String emailtxt = email.getText().toString();\n\t\t\tfinal String passwordtxt = pass.getText().toString();\n\t\t\t// Force user to fill up the form\n\t\t\t\n\t\t\tif (usernametxt.equals(\"\") || emailtxt.equals(\"\") || \n\t\t\t\t\tpasswordtxt.equals(\"\") || \n\t\t\t\t\tusernametxt.contains(\" \") ||\n\t\t\t\t\tPattern.compile(USERNAME_PATTERN).matcher(usernametxt).matches() == false ||\n\t\t\t\t\tPattern.compile(EMAIL_PATTERN).matcher(emailtxt).matches() == false ||\n\t\t\t\t\tPattern.compile(PASSWORD_PATTERN).matcher(passwordtxt).matches() == false ||\n\t\t\t\t\tpasswordtxt.length()<6 || passwordtxt.length()>20 ||\n\t\t\t\t\tpasswordtxt.contains(\"*\")\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t/////////////||emailtxt.contains(\"^[A-Za-z0-9_-.]@(yahoo|gmail|live).(com|net)\")\n\t\t\t\t\t){\n\t\t\t\n\t\t\t\t\n\t\t\tif(usernametxt.equals(\"\")){ username.setError(\"Empty\");}\n\t\t\telse if (usernametxt.contains(\" \"))\n\t\t\t{username.setError(\"Username Must doesn't Contain space\");}\n\t\t\t\n\t\t\telse if (Pattern.compile(USERNAME_PATTERN).matcher(usernametxt).matches()== false)\n\t\t\t{username.setError(\"Available Character A-z,a-z,0-9,_ and more than 3 Character\");}\n\t\t \n\t\t\t\n\t\t\tif (emailtxt.equals(\"\")){ email.setError(\"Empty\"); }\n\t\t\telse if (emailtxt.contains(\" \"))\n\t\t\t{email.setError(\"Email Must doesn't Contain space\");}\n\t\t\telse if (Pattern.compile(EMAIL_PATTERN).matcher(emailtxt).matches() == false)\n\t\t\t{email.setError(\"Please Enter Valid Email\");}\n\t\t \n\t\t\t//else if (emailtxt.contains(\"^[A-Za-z0-9_-.]@(yahoo|gmail|live).(com|net)\"))\n\t\t\t//\t{email.setError(\"Please Enter Valid Email\");}\n\t\t\t\n\t\t\tif (passwordtxt.equals(\"\")) { pass.setError(\"Empty\");}\n\t\t\telse if (passwordtxt.length()<6 || passwordtxt.length()>20) { pass.setError(\"The Password length is between 6 and 20\");}\n\t\t\telse if (passwordtxt.contains(\"*\")){pass.setError(\"Password must doesn't Contain “*” \");}\n\t\t\telse if (Pattern.compile(PASSWORD_PATTERN).matcher(passwordtxt).matches() == false)\n\t\t\t{pass.setError(\"The password Must Contain numbers ,Uppercase and Lowercase letters\");}\n\t\t\t\n\t\t\t\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\n\t\t\t\t\n\t\t\t\tBitmap bitmap = BitmapFactory.decodeFile(picturePath);//////////\n\t\t\t\tif(bitmap!=null){\n\t\t\t\tBitmap prsImgScaled = Bitmap.createScaledBitmap(bitmap, 110, 110* bitmap.getHeight() / bitmap.getWidth(), false);\n\t\t Matrix matrix = new Matrix();\n\t\t Bitmap prsImgScaledRotated = Bitmap.createBitmap(prsImgScaled, 0,\n\t\t\t\t\t\t\t0, prsImgScaled.getWidth(), prsImgScaled.getHeight(),\n\t\t\t\t\t\t\tmatrix, true);\n\t\t ByteArrayOutputStream bos = new ByteArrayOutputStream();//\n\t\t prsImgScaledRotated.compress(Bitmap.CompressFormat.JPEG, 100, bos);\n\t\t\t\t\tbyte[] scaledData = bos.toByteArray();\n\t\t\t\t\tfinal ParseFile prsFile = new ParseFile(usernametxt+\".jpg\", scaledData);\n\t\t\t\t\tprsFile.saveInBackground(new SaveCallback() {\n\t\t\t\t\t @Override\n\t\t\t\t\t public void done(ParseException e) {\n\t\t\t\t\t if(e!=null){\n\t\t\t\t\t \tToast.makeText(getApplicationContext(), \"ERROR in Save File!\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t }\n\t\t\t\t\t else\n\t\t\t\t\t {\n\t\t\t\t\t \t//Toast.makeText(getApplicationContext(), \"DONE!\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t }\n\t\t\t\t\t }\n\t\t\t\t\t},new ProgressCallback() {\n\t\t\t\t\t @Override\n\t\t\t\t\t public void done(Integer integer) {\n\t\t\t\t\t \n\t\t\t\t\t \tParseUser user = new ParseUser();\n\t\t\t\t\t \t\n\t\t\t\t\t \t\n\t\t\t\tuser.setUsername(usernametxt);\n\t\t\t\tuser.setEmail(emailtxt);\n\t\t\t\tuser.setPassword(passwordtxt);\n\t\t\t\tuser.put(\"Description\",\"\");\n\t\t\t\tuser.put(\"ProfilePic\", prsFile);\n\t\t\t\t//Toast.makeText(getApplicationContext(), \"Hi\", Toast.LENGTH_SHORT).show();\n\t\t\t\t\n\t\t\t\tuser.signUpInBackground(new SignUpCallback() {\n\t\t\t\t\t//public void done(ParseException e){\n\t\t\t\t\t\tpublic void done(ParseException e) {\n\t\t\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\"Successfully Signed up, please log in.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t\t\t\t\t\t//Intent intent = new Intent(SignUp.this, Ma.class);\n\t\t\t\t\t\t\t\t\t\t\t//startActivity(intent);\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\t\t\t\t\t\te.toString()+\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t});\n\t\t\t\t\t }\n\t\t\t\t\t});\n\t\t\t\t\n\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tParseUser user = new ParseUser();\n\t\t\t \t\n\t\t\t \t\n\t\t\t\t\tuser.setUsername(usernametxt);\n\t\t\t\t\tuser.setEmail(emailtxt);\n\t\t\t\t\tuser.setPassword(passwordtxt);\n\t\t\t\t\tuser.signUpInBackground(new SignUpCallback() {\n\t\t\t\t\t\t//public void done(ParseException e){\n\t\t\t\t\t\t\tpublic void done(ParseException e) {\n\t\t\t\t\t\t\t\tif (e == null) {\n\t\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"Successfully Signed up, please log in.\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tfinish();\n\t\t\t\t\t\t\t\t\t\t\t\t//Intent intent = new Intent(SignUp.this, ParseStarterProjectActivity.class);\n\t\t\t\t\t\t\t\t\t\t\t\t//startActivity(intent);\n\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\te.toString()+\"\",\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tToast.LENGTH_LONG).show();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ecec53398e8d5eaf0dec7f64401bdd04", "score": "0.5831192", "text": "public void changePasswordButton() throws SQLException {\n\n //if pswd field is not empty and matches pswd2.\n if (!(pswd.getText().trim().isEmpty()) && pswd.getText().equals(pswd2.getText())) {\n\n //returns true if email field is formatted correctly.\n Boolean resultPassword = passwordValidator.validate(pswd.getText());\n\n Boolean userPressedok = checkInput(resultPassword, \"You Want to Change Your Password?\",\n \"Password Successfully Changed\", pswd,\n \"Incorrect Password Format\", \"password must \"\n + \"contain at least one capital letter, one number \"\n + \"and be between 6-20 characters long\");\n\n if (userPressedok) {\n\n user.setPassword(pswd.getText());\n updateDatabase(user);\n }\n //if pswd field is empty.\n } else if (pswd.getText().trim().isEmpty()) {\n\n Validator.errorBox(\"Blank Field Detected\",\n \"Password Field Is Blank, Please Enter A Password If You Would Like\"\n + \"To Change Your Password\");\n } else {\n\n Validator.errorBox(\"Passwords Do Not Match\",\n \"The Passwords Do Not Match, Please Re Enter The Password\");\n }\n }", "title": "" }, { "docid": "c2029a1f95a4ad9a7bf5f7cadfdca08d", "score": "0.5824973", "text": "public void login(View v) {\n if(TextUtils.isEmpty(userName.getText()) || TextUtils.isEmpty(password.getText())){ // one is empty\n\n Toast.makeText(this, \"Missing credential(s), please enter value(s)!\", Toast.LENGTH_SHORT).show();\n }\n else {\n\n LoginTask loginTask = new LoginTask(this, userName.getText().toString().trim(), password.getText().toString().trim());\n loginTask.execute();\n }\n }", "title": "" }, { "docid": "d495841e4cf47c86aefc0fd662367f5e", "score": "0.58234817", "text": "public String passworduser(String id){//put username in arg\n\t\tConnection c = null;\n\t Statement stmt = null;\n\t String user;\n\t try {\n\t Class.forName(\"org.sqlite.JDBC\");\n\t c = DriverManager.getConnection(\"jdbc:sqlite:test.db\");\n\t c.setAutoCommit(false);\n\t //System.out.println(\"Opened database successfully\");\n\t\n\t stmt = c.createStatement();\n\t ResultSet rs = stmt.executeQuery( \"SELECT password FROM user WHERE username='\"+id+\"';\" );\n\t //while ( rs.next() ) {\n\t user = rs.getString(\"password\");\n\t //System.out.println( \"ID = \" + id );\n\t //}\n\t rs.close();\n\t stmt.close();\n\t c.close();\n\t return user;\n\t }\n\t catch ( Exception e ) {\n\t System.err.println( e.getClass().getName() + \": \" + e.getMessage() );\n\t System.exit(0);\n\t }\n\t //System.out.println(\"Operation done successfully\");\n\t return \"nil\";\n}", "title": "" }, { "docid": "4be1aa89de8f1112dae72577937db5fc", "score": "0.5822613", "text": "private java.awt.TextField getPwdTF() {\n\tif (ivjPwdTF == null) {\n\t\ttry {\n\t\t\tivjPwdTF = new java.awt.TextField();\n\t\t\tivjPwdTF.setName(\"PwdTF\");\n\t\t\tivjPwdTF.setEchoChar('*');\n\t\t\tivjPwdTF.addActionListener(new java.awt.event.ActionListener() { \n\t\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) { \n\t\t\t\t\ttry {\n\t\t\t\t\t\tsetAuth(e);\n\t\t\t\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t\t\t\thandleException(ivjExc);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tivjPwdTF.addTextListener(new java.awt.event.TextListener() { \n\t\t\t\tpublic void textValueChanged(java.awt.event.TextEvent e) { \n\t\t\t\t\ttry {\n\t\t\t\t\t\ttextChg();\n\t\t\t\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\t\t\t\thandleException(ivjExc);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t} catch (java.lang.Throwable ivjExc) {\n\t\t\thandleException(ivjExc);\n\t\t}\n\t}\n\treturn ivjPwdTF;\n}", "title": "" }, { "docid": "d0350caaebb6258ebaa6a8b23be2ca89", "score": "0.5820822", "text": "private void cypeLoinSumitButtonHandler()\n\t{\n\t\tsubmit.setOnClickListener(new OnClickListener(){\n\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) { \n\t\t\t\t\n\t\t\t\t String email = username.getText().toString(); \n\t\t\t\t String pword = password.getText().toString();\n\t\t\t\t \n\t\t\t\t loginHandle.setEmail(username);\n\t\t\t\t loginHandle.setPassword(password);\n\t\n\t\t\t\t //validate email and password here\n\t\t\t\t loginHandle.loginWithCype();\n\t\t\t\t \n\t }});//submit onclick listener ends here\n\t}", "title": "" }, { "docid": "5a7e5dfe4b3a739eecdbed880e6d1109", "score": "0.58185375", "text": "@Override\r\n public void onClick(View view) {\n username = inputUsername.getText().toString();\r\n name = inputName.getText().toString();\r\n email = inputEmail.getText().toString();\r\n password = inputDesc.getText().toString();\r\n phone = inputPhone.getText().toString();\r\n new CreateProfil().execute();\r\n }", "title": "" }, { "docid": "f91c2dfbb433f2a9d048b552442f0793", "score": "0.5804957", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\"> \n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel8 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n search_memidlbl = new javax.swing.JLabel();\n t1 = new javax.swing.JTextField();\n search_memidlbl2 = new javax.swing.JLabel();\n p1 = new javax.swing.JPasswordField();\n search_memidlbl1 = new javax.swing.JLabel();\n p2 = new javax.swing.JPasswordField();\n regbtn = new javax.swing.JButton();\n mnubtn = new javax.swing.JButton();\n exitbtn = new javax.swing.JButton();\n Front = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"REGISTER NEW USER\");\n setResizable(false);\n\n jPanel1.setLayout(null);\n\n jLabel8.setFont(new java.awt.Font(\"MRT_Naskhi\", 3, 48)); // NOI18N\n jLabel8.setForeground(new java.awt.Color(255, 204, 0));\n jLabel8.setText(\"REGISTER NEW\");\n jPanel1.add(jLabel8);\n jLabel8.setBounds(110, 30, 420, 50);\n\n jLabel7.setFont(new java.awt.Font(\"MRT_Naskhi\", 3, 48)); // NOI18N\n jLabel7.setForeground(new java.awt.Color(255, 204, 0));\n jLabel7.setText(\"USER\");\n jPanel1.add(jLabel7);\n jLabel7.setBounds(250, 90, 160, 50);\n\n search_memidlbl.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n search_memidlbl.setForeground(new java.awt.Color(153, 255, 51));\n search_memidlbl.setText(\"User Name\");\n jPanel1.add(search_memidlbl);\n search_memidlbl.setBounds(50, 220, 100, 30);\n\n t1.setBackground(new java.awt.Color(204, 255, 255));\n t1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n t1ActionPerformed(evt);\n }\n });\n jPanel1.add(t1);\n t1.setBounds(240, 220, 180, 30);\n\n search_memidlbl2.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n search_memidlbl2.setForeground(new java.awt.Color(153, 255, 51));\n search_memidlbl2.setText(\"Password\");\n jPanel1.add(search_memidlbl2);\n search_memidlbl2.setBounds(50, 280, 140, 30);\n\n p1.setBackground(new java.awt.Color(204, 255, 255));\n p1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n p1ActionPerformed(evt);\n }\n });\n jPanel1.add(p1);\n p1.setBounds(240, 280, 180, 28);\n\n search_memidlbl1.setFont(new java.awt.Font(\"Arial\", 1, 18)); // NOI18N\n search_memidlbl1.setForeground(new java.awt.Color(153, 255, 51));\n search_memidlbl1.setText(\"Confirm Password\");\n jPanel1.add(search_memidlbl1);\n search_memidlbl1.setBounds(50, 340, 180, 30);\n\n p2.setBackground(new java.awt.Color(204, 255, 255));\n p2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n p2ActionPerformed(evt);\n }\n });\n jPanel1.add(p2);\n p2.setBounds(240, 340, 180, 28);\n\n regbtn.setBackground(new java.awt.Color(0, 153, 204));\n regbtn.setFont(new java.awt.Font(\"Arial\", 3, 18)); // NOI18N\n regbtn.setForeground(new java.awt.Color(153, 0, 0));\n regbtn.setText(\"REGISTER\");\n regbtn.setToolTipText(\"ENTER TO BACK MAIN MENU\");\n regbtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n regbtnActionPerformed(evt);\n }\n });\n jPanel1.add(regbtn);\n regbtn.setBounds(240, 410, 140, 30);\n\n mnubtn.setBackground(new java.awt.Color(0, 153, 204));\n mnubtn.setFont(new java.awt.Font(\"Arial\", 3, 18)); // NOI18N\n mnubtn.setForeground(new java.awt.Color(153, 0, 0));\n mnubtn.setText(\"MAIN MENU\");\n mnubtn.setToolTipText(\"ENTER TO BACK MAIN MENU\");\n mnubtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n mnubtnActionPerformed(evt);\n }\n });\n jPanel1.add(mnubtn);\n mnubtn.setBounds(50, 480, 140, 30);\n\n exitbtn.setBackground(new java.awt.Color(0, 153, 204));\n exitbtn.setFont(new java.awt.Font(\"Arial\", 3, 18)); // NOI18N\n exitbtn.setForeground(new java.awt.Color(153, 0, 0));\n exitbtn.setText(\"EXIT\");\n exitbtn.setToolTipText(\"ENTER TO BACK MAIN MENU\");\n exitbtn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n exitbtnActionPerformed(evt);\n }\n });\n jPanel1.add(exitbtn);\n exitbtn.setBounds(450, 480, 80, 30);\n\n Front.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/projectw/Awesome-media-gamescenes.jpg\"))); // NOI18N\n jPanel1.add(Front);\n Front.setBounds(-600, -30, 1920, 1090);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, 593, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 547, Short.MAX_VALUE)\n );\n\n pack();\n }", "title": "" }, { "docid": "747f8b10dd8ebca254c8602c6f4c9503", "score": "0.58025616", "text": "public Changepassword() {\n initComponents();\n\n uid.setText(String.valueOf(LoginClass.uId).toString());\n\n }", "title": "" }, { "docid": "d3b4187cd8e2d2554740d4266cb1c89c", "score": "0.5801783", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField1 = new javax.swing.JTextField();\n jTextField2 = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jTextField1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jTextField1ActionPerformed(evt);\n }\n });\n\n jButton1.setText(\"Log IN\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setText(\"New Account\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel1.setText(\"User Name\");\n\n jLabel2.setFont(new java.awt.Font(\"Tahoma\", 1, 14)); // NOI18N\n jLabel2.setText(\"Password\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(32, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 193, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(52, 52, 52)\n .addComponent(jLabel2)\n .addGap(263, 263, 263))\n .addGroup(layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(34, 34, 34)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 38, Short.MAX_VALUE)\n .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(33, 33, 33))))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addComponent(jButton2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addContainerGap(46, Short.MAX_VALUE))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.5796023", "text": "public String getPassword();", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.5796023", "text": "public String getPassword();", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.5796023", "text": "public String getPassword();", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.5796023", "text": "public String getPassword();", "title": "" }, { "docid": "eafd92e722fbf0b9e2b36b87c5659023", "score": "0.5796023", "text": "public String getPassword();", "title": "" }, { "docid": "df881e83bc5323e66914e8fa7707a63d", "score": "0.579388", "text": "void authenticateUser (String password);", "title": "" }, { "docid": "87ac4f879eede09097daa6ff8afaa6d5", "score": "0.57937384", "text": "@FXML\r\n\tpublic void loginButtonOnCLick() throws SQLException {\r\n\tPersonDAO.loginBD(userText.getText(),passText.getText());\r\n\r\n\t}", "title": "" }, { "docid": "aa560fe67e2af6c83a41aab6336f4c29", "score": "0.57795525", "text": "public void loginUser(View view){\n // Get Email Edit View Value\n String email = emailEditText.getText().toString();\n // Get Password Edit View Value\n String password = pwdEditText.getText().toString();\n\n if(Utility.isNotNull(email) && Utility.isNotNull(password)) {\n prgDialog.show();\n FBUtility.getInstance().authWithPassword(email, password,\n new AuthResultHandler(\"password\"));\n\n } else{\n Utility.beep();\n errorMsgTextView.setText(\"Please provide email and password\");\n }\n }", "title": "" }, { "docid": "496da711592f736b9964271a7cb2c685", "score": "0.57749134", "text": "void autoLogin(String username, String password);", "title": "" }, { "docid": "4b2dc3732e690108bf439b63602616a8", "score": "0.57747865", "text": "public void loginUser(View view){\n String name = etName.getText().toString();\n // Get Password Edit View Value\n String email = etEmail.getText().toString();\n // Instantiate Http Request Param Object\n RequestParams params = new RequestParams();\n\n // When Email Edit View and Password Edit View have values other than Null\n if(Utility.isNotNull(name) && Utility.isNotNull(email)){\n // When Email entered is Valid\n if(Utility.validate(email)){\n // Put Http parameter username with value of Email Edit View control\n params.put(\"name\", name);\n // Put Http parameter password with value of Password Edit Value control\n params.put(\"email\", email);\n // Invoke RESTful Web Service with Http parameters\n\n invokeWS(params);\n }\n // When Email is invalid\n else{\n Toast.makeText(getApplicationContext(), \"Please enter valid email\", Toast.LENGTH_LONG).show();\n }\n } else{\n Toast.makeText(getApplicationContext(), \"Please fill the form, don't leave any field blank\", Toast.LENGTH_LONG).show();\n }\n\n }", "title": "" }, { "docid": "209bea3860e4821a4aeb5be5549eaca2", "score": "0.57741034", "text": "void login(String uid, String password);", "title": "" }, { "docid": "d958d86937a32ceca9e2a3c933f1160b", "score": "0.57740396", "text": "String getBindPassword();", "title": "" }, { "docid": "88e5609d2e8728d1589210b57db9a5d3", "score": "0.57722545", "text": "private String getEnteredPassword() {\n return ((EditText) findViewById(R.id.passwordField)).getText().toString();\n }", "title": "" }, { "docid": "8b25a75215bd0639cc507c030f94624f", "score": "0.5772203", "text": "@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tname = name_edit_text.getText().toString().trim();\n\t\t\t\t\tusername = username_edit_text.getText().toString().trim();\n\t\t\t\t\tpassword = password_edit_text.getText().toString().trim();\n\t\t\t\t\tpasswordLength = password.length();\n\t\t\t\t\t// Check if password entry and password verify match\n\t\t\t\t\tif (!password.equals(verify_password_edit_text.getText()\n\t\t\t\t\t\t\t.toString().trim())) {\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Passwords do not match!\", Toast.LENGTH_SHORT)\n\t\t\t\t\t\t\t.show();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// Password must be > 6 characters long\n\t\t\t\t\tif (passwordLength < 6) {\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Password must be at least 6 characters!\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// Password must not be only all numbers\n\t\t\t\t\tif (password.matches(\"[0-9]+\")) {\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Password must contain at least 1 letter!\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// Password must not be only all letters\n\t\t\t\t\tif (password.matches(\"[a-zA-Z]+\")) {\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Password must contain at least 1 number!\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// Email must be a valid email or Parse -> error\n\t\t\t\t\temail = email_edit_text.getText().toString().trim();\n\t\t\t\t\tif ( !email.contains(\"@\") ) {\n\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Invalid Email!\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\t// If any fields are empty, reject\n\t\t\t\t\tif (name.equals(\"\") || username.equals(\"\")\n\t\t\t\t\t\t|| password.equals(\"\") || email.equals(\"\")) {\n\t\t\t\t\t\tToast.makeText(getApplicationContext(),\n\t\t\t\t\t\t\t\"Please Fill Up All Information!\",\n\t\t\t\t\t\t\tToast.LENGTH_SHORT).show();\n\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\t// Sign up for a teller with provided info\n\t\t\t\t\tTeller teller = new Teller();\n\t\t\t\t\tteller.signup( username, password, email);\n\t\t\t\t\t\n\t\t\t\t\t// Bundle Teller object to send to Teller Home Page view\n\t\t\t\t\tBundle userBundleOut = new Bundle();\n\t\t\t\t\tuserBundleOut.putParcelable(\"user\", teller);\n\t\t\t\t\tintentTellerHomePage.putExtra(\"user\", teller);\n\t\t\t\t\tstartActivity(intentTellerHomePage);\n\t\t\t\t}", "title": "" }, { "docid": "cfa96049a10446733098958009f6241f", "score": "0.5761359", "text": "private void jPasswordField1KeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jPasswordField1KeyPressed\n if (evt.getKeyCode() == KeyEvent.VK_ENTER) {\n String userName = userNameField.getText();\n String password = jPasswordField1.getText();\n\n loginStatus = getLoginStatus(userName, password);\n if (loginStatus == 1) {\n JOptionPane.showMessageDialog(this, userName + \" already connected!\");\n return;\n } else {\n String sql = \"select UserName,Password,UserId,LogInStatus from tblusers as a where a.`UserName`='\" + userName + \"'and a.`Password`='\" + password + \"'and a.`LogInStatus`='\" + 0 + \"'\";\n try {\n PreparedStatement pstatment = Connect_db.getConnection().prepareStatement(sql);\n ResultSet resultSet = pstatment.executeQuery();\n\n resultSet = pstatment.executeQuery();\n PreparedStatement ps = Connect_db.getConnection().prepareStatement(\"UPDATE tblusers SET LogInStatus = ? WHERE UserId = ?\");\n while (resultSet.next()) {\n this.currentPlayer = new User(resultSet.getString(\"UserName\"), resultSet.getString(\"Password\"), resultSet.getInt(\"UserID\"));\n this.dispose();\n ps.setInt(1, 1);\n ps.setInt(2, currentPlayer.getUserID());\n int res = ps.executeUpdate();\n if (res > 0) {\n SelectGame selectGame = new SelectGame(currentPlayer);\n selectGame.setVisible(true);\n this.dispose();\n return;\n }\n }\n JOptionPane.showMessageDialog(this, \"name or password inncorrect please try agian\");\n resultSet.close();\t\t// close resultSet\n pstatment.close();\t\t// close statement and resultSet\n ps.close();\n // Connect_db.getConnection().close();\t\t// close connection, statement and resultSet \t\n } catch (SQLException sqle) {\n System.out.println(\"SQLException: \" + sqle.getMessage());\n System.out.println(\"Vendor Error: \" + sqle.getErrorCode());\n }\n }\n }\n /*\n String userName = userNameField.getText();\n String password = jPasswordField1.getText();\n\n // PreparedStatement statement;\n String sql = \"select UserName,Password,UserId from tblusers as a where a.`UserName`='\" + userName + \"'and a.`Password`='\" + password + \"'\";\n try {\n PreparedStatement pstatment = Connect_db.getConnection().prepareStatement(sql);\n ResultSet resultSet = pstatment.executeQuery();\n resultSet = pstatment.executeQuery();\n while (resultSet.next()) {\n this.currentPlayer = new User(resultSet.getString(\"UserName\"), resultSet.getString(\"Password\"), resultSet.getInt(\"UserID\"));\n this.dispose();\n SelectGame selectGame = new SelectGame(currentPlayer);\n selectGame.setVisible(true);\n this.dispose();\n return;\n }\n JOptionPane.showMessageDialog(this, \"User name or password inncorrect please try agian\");\n resultSet.close();\t\t// close resultSet\n pstatment.close();\t\t// close statement and resultSet\n //Connect_db.getConnection().close();\t\t// close connection, statement and resultSet \t\n } catch (SQLException sqle) {\n System.out.println(\"SQLException: \" + sqle.getMessage());\n System.out.println(\"Vendor Error: \" + sqle.getErrorCode());\n }\n */\n }", "title": "" }, { "docid": "327298d1e76655743e1ad830a571886c", "score": "0.575225", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n tf_uname = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n btn_login_ca = new javax.swing.JButton();\n btn_login_al = new javax.swing.JButton();\n tf_password = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Ubuntu\", 1, 24)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(128, 0, 128));\n jLabel1.setText(\"USER LOGIN\");\n\n jLabel2.setFont(new java.awt.Font(\"Ubuntu\", 1, 14)); // NOI18N\n jLabel2.setText(\"USER NAME\");\n\n jLabel3.setFont(new java.awt.Font(\"Ubuntu\", 1, 14)); // NOI18N\n jLabel3.setText(\"PASSWORD\");\n\n tf_uname.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tf_unameActionPerformed(evt);\n }\n });\n\n jButton1.setFont(new java.awt.Font(\"Ubuntu\", 1, 14)); // NOI18N\n jButton1.setForeground(new java.awt.Color(128, 0, 128));\n jButton1.setText(\"LOGIN\");\n jButton1.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseClicked(java.awt.event.MouseEvent evt) {\n jButton1MouseClicked(evt);\n }\n });\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n jButton2.setFont(new java.awt.Font(\"Ubuntu\", 1, 14)); // NOI18N\n jButton2.setForeground(new java.awt.Color(128, 0, 128));\n jButton2.setText(\"RESET\");\n\n btn_login_ca.setFont(new java.awt.Font(\"Ubuntu\", 1, 12)); // NOI18N\n btn_login_ca.setText(\"CREATE ACCOUNT\");\n btn_login_ca.setActionCommand(\"CREATE ACCOUNT\");\n btn_login_ca.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btn_login_caActionPerformed(evt);\n }\n });\n\n btn_login_al.setFont(new java.awt.Font(\"Ubuntu\", 1, 14)); // NOI18N\n btn_login_al.setText(\"Admin Login\");\n btn_login_al.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btn_login_alActionPerformed(evt);\n }\n });\n\n tf_password.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n tf_passwordActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addGap(215, 215, 215)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(tf_uname, javax.swing.GroupLayout.DEFAULT_SIZE, 182, Short.MAX_VALUE)\n .addComponent(tf_password)))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(139, 139, 139)))\n .addGroup(layout.createSequentialGroup()\n .addGap(201, 201, 201)\n .addComponent(btn_login_ca, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(124, 124, 124)\n .addComponent(btn_login_al, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(143, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(42, 42, 42)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(54, 54, 54)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(tf_uname, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(36, 36, 36)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(tf_password, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(btn_login_ca)\n .addComponent(btn_login_al))\n .addContainerGap(57, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "d316873e2ff1fd933bbdb346533f4c8c", "score": "0.575066", "text": "Login()\n {\n SC_Model = new Model();\n\n label = new JLabel();\n label.setText(\"Name:\");\n text = new JTextField(20);\n\n label1 = new JLabel();\n label1.setText(\"Pin:\");\n text1 = new JPasswordField(20);\n\n Submit = new JButton(\"Submit\");\n\n panel = new JPanel(new GridLayout(3,1));\n panel.add(label);\n panel.add(text);\n panel.add(label1);\n panel.add(text1);\n panel.add(Submit);\n add(panel);\n Submit.addActionListener(this);\n setTitle(\"Saving Cents\");\n setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\n }", "title": "" }, { "docid": "2aa2e02bc05d8c2a2a8b8ab94dc29f71", "score": "0.57489294", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n btnPass = new javax.swing.JLabel();\n txtUsername = new javax.swing.JTextField();\n lblUsername = new javax.swing.JLabel();\n txtPass = new javax.swing.JPasswordField();\n btnLogin = new javax.swing.JButton();\n btnFogot = new javax.swing.JButton();\n jButton2 = new javax.swing.JButton();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel1 = new javax.swing.JLabel();\n jButton1 = new javax.swing.JButton();\n btnInfo = new javax.swing.JButton();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"UAP Library Management by Shibli\");\n setBackground(new java.awt.Color(102, 102, 102));\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowOpened(java.awt.event.WindowEvent evt) {\n formWindowOpened(evt);\n }\n });\n\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, \"Admin Login\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Agency FB\", 1, 18), new java.awt.Color(0, 0, 204))); // NOI18N\n\n btnPass.setText(\"Password\");\n\n txtUsername.setBackground(new java.awt.Color(102, 102, 102));\n txtUsername.setForeground(new java.awt.Color(255, 255, 255));\n txtUsername.setToolTipText(\"username\");\n txtUsername.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtUsernameActionPerformed(evt);\n }\n });\n txtUsername.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtUsernameKeyPressed(evt);\n }\n });\n\n lblUsername.setText(\"Username\");\n\n txtPass.setBackground(new java.awt.Color(102, 102, 102));\n txtPass.setForeground(new java.awt.Color(255, 255, 255));\n txtPass.setToolTipText(\"passwor(min. 8 characters)\");\n txtPass.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtPassActionPerformed(evt);\n }\n });\n txtPass.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtPassKeyPressed(evt);\n }\n });\n\n btnLogin.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/sign-check-icon.png\"))); // NOI18N\n btnLogin.setText(\"Login\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n btnFogot.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/secrecy-icon.png\"))); // NOI18N\n btnFogot.setText(\"Forgot Login?\");\n btnFogot.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnFogotActionPerformed(evt);\n }\n });\n\n jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/sign-up-icon.png\"))); // NOI18N\n jButton2.setText(\"Sign Up\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(35, 35, 35)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(lblUsername)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(btnPass)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtPass)))\n .addContainerGap(26, Short.MAX_VALUE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnLogin, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGap(64, 64, 64))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addComponent(btnFogot)\n .addGap(48, 48, 48))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(27, 27, 27)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(lblUsername)\n .addComponent(txtUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtPass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnPass))\n .addGap(18, 18, 18)\n .addComponent(btnLogin)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButton2)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnFogot)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n jLabel3.setFont(new java.awt.Font(\"Franklin Gothic Demi\", 1, 18)); // NOI18N\n jLabel3.setForeground(new java.awt.Color(204, 0, 204));\n jLabel3.setText(\"UAP Library Management System\");\n\n jLabel4.setText(\"© Sabbir Ahmed Shibli - All Rights Reserved\");\n\n jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/logo2.JPG\"))); // NOI18N\n\n jButton1.setBackground(new java.awt.Color(102, 102, 102));\n jButton1.setFont(new java.awt.Font(\"Dialog\", 1, 11)); // NOI18N\n jButton1.setForeground(new java.awt.Color(0, 0, 0));\n jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/delete-icon.png\"))); // NOI18N\n jButton1.setText(\"Exit\");\n jButton1.setToolTipText(\"Exit from the application\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n\n btnInfo.setIcon(new javax.swing.ImageIcon(getClass().getResource(\"/lmsfinal/data-info-icon.png\"))); // NOI18N\n btnInfo.setToolTipText(\"Info\");\n btnInfo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnInfoActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGap(25, 25, 25)\n .addComponent(btnInfo, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jLabel3)\n .addGap(149, 149, 149))\n .addGroup(layout.createSequentialGroup()\n .addGap(190, 190, 190)\n .addComponent(jLabel4)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(74, Short.MAX_VALUE)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jLabel1)\n .addGap(52, 52, 52))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(91, 91, 91)))\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(64, 64, 64))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap(43, Short.MAX_VALUE)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18))\n .addGroup(layout.createSequentialGroup()\n .addGap(21, 21, 21)\n .addComponent(btnInfo)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(33, 33, 33)\n .addComponent(jLabel1)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jButton1))\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 17, Short.MAX_VALUE)\n .addComponent(jLabel4)\n .addGap(40, 40, 40))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "20a0399394a3323bb2fb48ac15b1f04b", "score": "0.57446826", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField2 = new javax.swing.JTextField();\n jPanel1 = new javax.swing.JPanel();\n jLabel2 = new javax.swing.JLabel();\n jTextField1 = new javax.swing.JTextField();\n jButton1 = new javax.swing.JButton();\n jLabel1 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jButton2 = new javax.swing.JButton();\n jButton3 = new javax.swing.JButton();\n jPasswordField1 = new javax.swing.JPasswordField();\n jLabel5 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n\n jTextField2.setToolTipText(\"\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n jPanel1.setBackground(new java.awt.Color(204, 255, 255));\n jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(null, \"LOGIN\", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font(\"Engravers MT\", 0, 24), new java.awt.Color(255, 0, 0))); // NOI18N\n jPanel1.setLayout(null);\n\n jLabel2.setText(\"Password\");\n jLabel2.setToolTipText(\"\");\n jLabel2.setOpaque(true);\n jPanel1.add(jLabel2);\n jLabel2.setBounds(18, 68, 79, 14);\n\n jTextField1.setToolTipText(\"\");\n jPanel1.add(jTextField1);\n jTextField1.setBounds(135, 42, 130, 20);\n\n jButton1.setText(\"login\");\n jButton1.setToolTipText(\"\");\n jButton1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton1ActionPerformed(evt);\n }\n });\n jPanel1.add(jButton1);\n jButton1.setBounds(135, 121, 55, 23);\n\n jLabel1.setText(\"Username\");\n jLabel1.setToolTipText(\"\");\n jLabel1.setOpaque(true);\n jPanel1.add(jLabel1);\n jLabel1.setBounds(19, 45, 78, 14);\n\n jLabel3.setText(\"Forgot password\");\n jLabel3.setToolTipText(\"\");\n jLabel3.setOpaque(true);\n jPanel1.add(jLabel3);\n jLabel3.setBounds(16, 183, 100, 14);\n\n jButton2.setText(\"Signup\");\n jButton2.setToolTipText(\"\");\n jButton2.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton2ActionPerformed(evt);\n }\n });\n jPanel1.add(jButton2);\n jButton2.setBounds(215, 121, 65, 23);\n\n jButton3.setText(\"Forgot password\");\n jButton3.setToolTipText(\"\");\n jButton3.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButton3ActionPerformed(evt);\n }\n });\n jPanel1.add(jButton3);\n jButton3.setBounds(163, 179, 140, 23);\n jPanel1.add(jPasswordField1);\n jPasswordField1.setBounds(135, 68, 130, 20);\n\n jLabel5.setIcon(new javax.swing.ImageIcon(\"C:\\\\Users\\\\sudhanshu kumar\\\\Pictures\\\\x3.jpg\")); // NOI18N\n jLabel5.setText(\"jLabel5\");\n jPanel1.add(jLabel5);\n jLabel5.setBounds(-6, -6, 450, 330);\n\n getContentPane().add(jPanel1);\n jPanel1.setBounds(350, 90, 440, 310);\n\n jLabel4.setIcon(new javax.swing.ImageIcon(\"C:\\\\Users\\\\sudhanshu kumar\\\\Pictures\\\\x3.jpg\")); // NOI18N\n jLabel4.setText(\"jLabel4\");\n getContentPane().add(jLabel4);\n jLabel4.setBounds(0, 0, 1310, 550);\n\n pack();\n }", "title": "" }, { "docid": "9a7c9f226e24513f44608ccc4e3a75b6", "score": "0.5743832", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField1 = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n UserNameField = new javax.swing.JTextField();\n LogInButton = new javax.swing.JButton();\n StatusLabel = new javax.swing.JLabel();\n PasswordField = new javax.swing.JPasswordField();\n\n jTextField1.setText(\"jTextField1\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setText(\"UserName:\");\n\n jLabel2.setText(\"Password:\");\n\n LogInButton.setText(\"Log In\");\n LogInButton.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n LogInButtonActionPerformed(evt);\n }\n });\n\n StatusLabel.setText(\" \");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(LogInButton)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel1)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(PasswordField)\n .addComponent(UserNameField, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)))\n .addComponent(StatusLabel, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 106, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(UserNameField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel2)\n .addComponent(PasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(LogInButton)\n .addComponent(StatusLabel))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "98d779a6388a7f9e8c4bfb479cef91a6", "score": "0.5742767", "text": "Login()\r\n\t{\r\n//\t\tsuper(dialog, title, modal);\r\n\t\tsuper();\r\n\t\t\r\n\t\tsetModal(false);\r\n\t\tsetTitle(\"Login\");\r\n\t\tsetVisible(true);\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\r\n\t\t} catch(ClassNotFoundException e)\r\n\t\t{\r\n\t\t\tSystem.out.println(\"ClassNotFoundException: \" + e.getMessage());\r\n\t\t}\r\n\t\t\r\n\t\ttry\r\n\t\t{\r\n\t\t\tconn = DriverManager.getConnection(jdbc_url, \"scott\", \"tiger\");\r\n\t\t\tstmt = conn.createStatement();\r\n\t\t\tsql = \"select password from userdata\";\r\n\t\t\trs = stmt.executeQuery(sql);\r\n\t\t\t\r\n\t\t\tif(rs.next())\r\n\t\t\t{\r\n\t\t\t\tpassword = rs.getString(\"password\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t} catch(SQLException e)\r\n\t\t{\r\n\t\t\tSystem.err.println(\"SQLException: \" + e.getMessage());\r\n\t\t}\r\n\t\t\r\n\t\tlabel = new JLabel(password.equals(\"\") ? \"비밀번호를 등록해주세요.\" : \"비밀번호를 입력해주세요.\");\r\n\t\ttf = new JPasswordField(8);\r\n\t\tok = new JButton(\"확인\");\r\n\t\tcancel = new JButton(\"취소\");\r\n\t\t\r\n\t\tsetBounds(MainFrame.center().width/2 - 150, MainFrame.center().height/2 - 60, 300,120);\r\n\t\tsetLayout(new FlowLayout());\r\n\t\tsetResizable(false);\r\n\t\t\r\n\t\tHandler handler = new Handler();\r\n\t\tok.addActionListener(handler);\r\n\t\tcancel.addActionListener(handler);\r\n\t\ttf.addActionListener(handler);\r\n\t\t\r\n\t\taddWindowListener(new WindowAdapter()\r\n\t\t\t\t{\r\n\t\t\t\t\tpublic void windowClosing(WindowEvent e)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.exit(0);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\r\n\t\tadd(label);\r\n\t\tadd(tf);\r\n\t\tadd(ok);\r\n\t\tadd(cancel);\r\n\t}", "title": "" }, { "docid": "85a93ea5656bfc87278917e596f03563", "score": "0.57419634", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n txtUserName = new javax.swing.JTextField();\n cancelBt = new javax.swing.JButton();\n btmupdate = new javax.swing.JButton();\n jLabel4 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n txtAddress = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n txtTPNO = new javax.swing.JTextField();\n txtPasswordOld = new javax.swing.JPasswordField();\n txtPassword1 = new javax.swing.JPasswordField();\n txtName = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n txtPassword = new javax.swing.JPasswordField();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel1.setText(\"Name :\");\n\n jLabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel2.setText(\"Re Enter Password:\");\n\n txtUserName.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 12)); // NOI18N\n txtUserName.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtUserNameActionPerformed(evt);\n }\n });\n txtUserName.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtUserNameKeyReleased(evt);\n }\n });\n\n cancelBt.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n cancelBt.setText(\"Cancel\");\n cancelBt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n cancelBtActionPerformed(evt);\n }\n });\n\n btmupdate.setFont(new java.awt.Font(\"Tahoma\", 1, 12)); // NOI18N\n btmupdate.setText(\"Update\");\n btmupdate.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btmupdateActionPerformed(evt);\n }\n });\n\n jLabel4.setFont(new java.awt.Font(\"Droid Sans\", 0, 18)); // NOI18N\n jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel4.setText(\"Update User\");\n jLabel4.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);\n\n jLabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel3.setText(\"Address :\");\n\n txtAddress.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 12)); // NOI18N\n txtAddress.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtAddressActionPerformed(evt);\n }\n });\n txtAddress.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtAddressKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtAddressKeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n txtAddressKeyTyped(evt);\n }\n });\n\n jLabel5.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel5.setText(\"TP No :\");\n\n jLabel6.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel6.setText(\"User Name :\");\n\n jLabel7.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel7.setText(\"Old Password :\");\n\n txtTPNO.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 12)); // NOI18N\n txtTPNO.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtTPNOActionPerformed(evt);\n }\n });\n txtTPNO.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtTPNOKeyReleased(evt);\n }\n });\n\n txtPasswordOld.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtPasswordOldActionPerformed(evt);\n }\n });\n txtPasswordOld.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtPasswordOldKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtPasswordOldKeyReleased(evt);\n }\n });\n\n txtPassword1.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtPassword1ActionPerformed(evt);\n }\n });\n txtPassword1.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtPassword1KeyReleased(evt);\n }\n });\n\n txtName.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 12)); // NOI18N\n txtName.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtNameActionPerformed(evt);\n }\n });\n txtName.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtNameKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtNameKeyReleased(evt);\n }\n public void keyTyped(java.awt.event.KeyEvent evt) {\n txtNameKeyTyped(evt);\n }\n });\n\n jLabel8.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n jLabel8.setText(\"New Password :\");\n\n txtPassword.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtPasswordActionPerformed(evt);\n }\n });\n txtPassword.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n txtPasswordKeyPressed(evt);\n }\n public void keyReleased(java.awt.event.KeyEvent evt) {\n txtPasswordKeyReleased(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtAddress, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtPasswordOld, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtPassword1, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtName, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtUserName, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtPassword, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(txtTPNO, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(185, 185, 185)\n .addComponent(btmupdate, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(cancelBt, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(54, 54, 54)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 256, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(30, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(6, 6, 6)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1)\n .addComponent(txtName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel3)\n .addComponent(txtAddress, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel5)\n .addComponent(txtTPNO, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel6)\n .addComponent(txtUserName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel7)\n .addComponent(txtPasswordOld, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(txtPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(11, 11, 11)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtPassword1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addGap(18, 18, 18)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btmupdate, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(cancelBt, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(16, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "6e61214c0f78dc1d6ce438e1f3517746", "score": "0.57408464", "text": "public void buttonChangePassword()\n {\n\n }", "title": "" }, { "docid": "dc858753901715748d575dc9666ce806", "score": "0.5740633", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField1 = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n FieldUsername = new javax.swing.JTextField();\n FieldPassword = new javax.swing.JPasswordField();\n btnLogin = new javax.swing.JButton();\n btnExit = new javax.swing.JButton();\n btnCancel = new javax.swing.JButton();\n\n jTextField1.setText(\"jTextField1\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel1.setFont(new java.awt.Font(\"Arial Rounded MT Bold\", 1, 24)); // NOI18N\n jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);\n jLabel1.setText(\"PLEASE LOGIN\");\n jLabel1.setToolTipText(\"\");\n\n jLabel2.setText(\"Username\");\n\n jLabel3.setText(\"Password\");\n\n FieldUsername.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n FieldUsernameActionPerformed(evt);\n }\n });\n\n btnLogin.setText(\"Login\");\n btnLogin.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnLoginActionPerformed(evt);\n }\n });\n\n btnExit.setText(\"Exit \");\n btnExit.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnExitActionPerformed(evt);\n }\n });\n\n btnCancel.setText(\"Cancel\");\n btnCancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCancelActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(36, 36, 36)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 498, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(layout.createSequentialGroup()\n .addGap(126, 126, 126)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel2)\n .addComponent(jLabel3))\n .addGap(33, 33, 33)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(layout.createSequentialGroup()\n .addComponent(btnLogin)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(btnExit)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(btnCancel))\n .addComponent(FieldPassword, javax.swing.GroupLayout.DEFAULT_SIZE, 206, Short.MAX_VALUE)\n .addComponent(FieldUsername))))\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 63, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(FieldUsername, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(FieldPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel3))\n .addGap(31, 31, 31)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnLogin)\n .addComponent(btnExit)\n .addComponent(btnCancel))\n .addGap(0, 58, Short.MAX_VALUE))\n );\n\n pack();\n }", "title": "" }, { "docid": "1e653833917d1dd754065f65761a059d", "score": "0.5739212", "text": "private void onOK() {\r\n\r\n if (userNameField.getText().length() <= 0) {\r\n JOptionPane.showMessageDialog(this, \"Il nome utente non può essere vuoto\", \"Errore\", JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n if (passwordField.getPassword().length <= 0) {\r\n JOptionPane.showMessageDialog(this, \"La password non può essere vuota\", \"Errore\", JOptionPane.ERROR_MESSAGE);\r\n return;\r\n }\r\n\r\n user = Database.getUsersDatabase().authenticateUser(userNameField.getText(), new String(passwordField.getPassword()));\r\n if (user == null)\r\n JOptionPane.showMessageDialog(this, \"Username o password errati\", \"Errore\", JOptionPane.ERROR_MESSAGE);\r\n else\r\n dispose();\r\n }", "title": "" } ]
2866df71421903b4a062cdde7502bd8f
Gets the new pass.
[ { "docid": "6a45dd314d0916c5a8f3adaef9072e3b", "score": "0.85145557", "text": "public String getNewPass() {\n return this.newPass;\n }", "title": "" } ]
[ { "docid": "bc3f342e4c950b69553db31923470878", "score": "0.7585089", "text": "public String getOldPass() {\n return this.oldPass;\n }", "title": "" }, { "docid": "543af1f882ffa605df82b99b3ea822e8", "score": "0.7549144", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "543af1f882ffa605df82b99b3ea822e8", "score": "0.7549144", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "543af1f882ffa605df82b99b3ea822e8", "score": "0.7549144", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "543af1f882ffa605df82b99b3ea822e8", "score": "0.7549144", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "e90aca8d55e663ee5095637c922c4f4c", "score": "0.753026", "text": "public PassData getPass() {\n return pass;\n }", "title": "" }, { "docid": "7f73ec92bece98b0d4e685de7d9da7c4", "score": "0.7523064", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "7f73ec92bece98b0d4e685de7d9da7c4", "score": "0.7523064", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "7f73ec92bece98b0d4e685de7d9da7c4", "score": "0.7523064", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "7f73ec92bece98b0d4e685de7d9da7c4", "score": "0.7523064", "text": "public int getPass() {\n return pass_;\n }", "title": "" }, { "docid": "0b24f5fb3671e208b8e9ccbb9669058c", "score": "0.74722695", "text": "public String getPass() {\n\t\treturn pass;\n\t}", "title": "" }, { "docid": "0167bf199692e901df93886de6f7b686", "score": "0.72838324", "text": "int getPass();", "title": "" }, { "docid": "0167bf199692e901df93886de6f7b686", "score": "0.72838324", "text": "int getPass();", "title": "" }, { "docid": "0167bf199692e901df93886de6f7b686", "score": "0.72838324", "text": "int getPass();", "title": "" }, { "docid": "0167bf199692e901df93886de6f7b686", "score": "0.72838324", "text": "int getPass();", "title": "" }, { "docid": "542e931aa09fc6bb9808a61efb06c536", "score": "0.67876434", "text": "public void setNewPass(final String newPass) {\n this.newPass = newPass;\n }", "title": "" }, { "docid": "c971c2cc40839e34868c0f891530b20d", "score": "0.6756658", "text": "public Integer getPassHash() {\n return passHash;\n }", "title": "" }, { "docid": "0d8814c02ba8c16efcdbd36552561413", "score": "0.67020285", "text": "public static String getPassWord() {\n\t\treturn passWord;\n\t}", "title": "" }, { "docid": "16baef8ee12cd848519e34171f4bed36", "score": "0.6652507", "text": "public final String getNewPassword() {\r\n\t\treturn newPassword;\r\n\t}", "title": "" }, { "docid": "4bf2804b58045141c968be26136d2ed7", "score": "0.65972936", "text": "public Long getPassTime() {\n return passTime;\n }", "title": "" }, { "docid": "9a33c1b3cc4a9cefd0b04368fb9686ff", "score": "0.65650105", "text": "public String getPassWord() {\r\n return passWord;\r\n }", "title": "" }, { "docid": "dc29659c742bc23737f75aaad7958d03", "score": "0.65589374", "text": "public String getPass2() {\n\t\treturn pass2;\n\t}", "title": "" }, { "docid": "474ee4063da3a7068b87275db3a85a08", "score": "0.65487975", "text": "public String getPassName() {\n return this.passName;\n }", "title": "" }, { "docid": "ff40c8f3708dd09cc203a81534e02fc5", "score": "0.6514955", "text": "public String getNewPassword() {\n return newPassword;\n }", "title": "" }, { "docid": "b1f33c83cdbafd22dee6081436b4087d", "score": "0.6504844", "text": "@Override\r\n\tString getpassWord() {\n\t\treturn passWord;\r\n\t}", "title": "" }, { "docid": "4b70a4c3fdeccf8e9fd215883fcfcd67", "score": "0.6495263", "text": "public String consigaPass(){\n \treturn pass;\n }", "title": "" }, { "docid": "56a051cfaeacb964ee6c838b19449178", "score": "0.6433451", "text": "public TDoubleArrayList getPass()\n\t{\n return pass;\n\t}", "title": "" }, { "docid": "0df11b362ed6589007bd8ddf7ad9e099", "score": "0.61920625", "text": "public byte[] getPassWord() {\n return this.passWord;\n }", "title": "" }, { "docid": "5d2675dfa06e4f80be1d80769247c392", "score": "0.59321105", "text": "public void setOldPass(final String oldPass) {\n this.oldPass = oldPass;\n }", "title": "" }, { "docid": "d21e158c338dd87821142528cd8ba9a6", "score": "0.5911499", "text": "public String getPass()\n {\n String data = \"\";\n Cursor res = db.getPassword();\n\n StringBuffer stringBuffer = new StringBuffer();\n while(res.moveToNext())\n {\n data = res.getString(0);\n }\n return data;\n }", "title": "" }, { "docid": "09323067339316ce05ce05512357c9af", "score": "0.5901736", "text": "@Override\n public String getPassword() {\n return passWord;\n }", "title": "" }, { "docid": "5a97ef1afaafa600084327bcfa5d9906", "score": "0.58594227", "text": "@Override\n public String whichPlayerPassed() { return playerPass; }", "title": "" }, { "docid": "01dff3baf9ae1775c6ceedefb347683b", "score": "0.58280134", "text": "public static int getTotalPass() {\n return totalPass;\n }", "title": "" }, { "docid": "04d3b36138dfbcfa8578d3578d0b4def", "score": "0.57982993", "text": "public final String getNewPasswordRepeat() {\r\n\t\treturn newPasswordRepeat;\r\n\t}", "title": "" }, { "docid": "a8d4cf641c5fe502874aed02f5788f57", "score": "0.57718265", "text": "public void setPass(String pass) {\n this.pass = pass;\n }", "title": "" }, { "docid": "96b2fcc4d20f25ab1f4909a3c9ba2889", "score": "0.5729906", "text": "public String getPass(int i) {\n return getStringProperty(\"conn.pass\" + i);\n }", "title": "" }, { "docid": "d6d49504a73c6eb6b4116030eaa41f97", "score": "0.5722285", "text": "public String getConfirmPass() {\n return this.confirmPass;\n }", "title": "" }, { "docid": "77be455925472775e79f18bc7ef7a56d", "score": "0.57204664", "text": "public String getPassword() {\n\t\treturn \"hardcodedpass\";\n\t}", "title": "" }, { "docid": "c4d7208dd903d1d4d446a86e6af6ada3", "score": "0.5706229", "text": "public Date getStartPass(){\r\n\t\treturn startPass;\r\n\t}", "title": "" }, { "docid": "2784dc5710b31cc3cc8d859cf003e3c2", "score": "0.56808245", "text": "public final String getCurrentPassword() {\r\n\t\treturn currentPassword;\r\n\t}", "title": "" }, { "docid": "ff26954da351038a7b597253cc3f7734", "score": "0.56403846", "text": "public JPasswordField getPwdEnterPass() {\n\t\treturn this.pwdEnterPass;\n\t}", "title": "" }, { "docid": "62273cd7924baa3e48929f074b3b6bc1", "score": "0.56234485", "text": "private String getPreviousPassword() {\r\n // When need to restore the saved password, return password character string\r\n // For the case password is not saved, return null\r\n return \"hirake5ma\";\r\n }", "title": "" }, { "docid": "7ff600df65618b4dca026f21a4602bd6", "score": "0.56220907", "text": "public String getPassword() {\n\t\tprogrammerLog.trace(\"Entered: getPassword()\");\n\t\treturn this.password;\n\t\t\n\t}", "title": "" }, { "docid": "28de6f85dd59fc0108600d13fe7a5ce3", "score": "0.5599842", "text": "public String getPassword() {\n //password = lPassword.getPassword().toString();\n password = String.valueOf(lPassword.getPassword());\n //password = lPassword.getText();\n return password;\n }", "title": "" }, { "docid": "6a5a2f29f10a9980e67dc283544b1078", "score": "0.5599817", "text": "public String getOldPassword() {\n\t\treturn oldPassword;\n\t}", "title": "" }, { "docid": "3a2038acaaa36aac3f635f2d7f0b14f8", "score": "0.5545364", "text": "public Builder setPass(int value) {\n bitField0_ |= 0x00000001;\n pass_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3a2038acaaa36aac3f635f2d7f0b14f8", "score": "0.5545364", "text": "public Builder setPass(int value) {\n bitField0_ |= 0x00000001;\n pass_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3a2038acaaa36aac3f635f2d7f0b14f8", "score": "0.5545364", "text": "public Builder setPass(int value) {\n bitField0_ |= 0x00000001;\n pass_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "3a2038acaaa36aac3f635f2d7f0b14f8", "score": "0.5545364", "text": "public Builder setPass(int value) {\n bitField0_ |= 0x00000001;\n pass_ = value;\n onChanged();\n return this;\n }", "title": "" }, { "docid": "544a1a7893c92f8fd234ea42c90d563b", "score": "0.55229074", "text": "public void setPassTime(Long passTime) {\n this.passTime = passTime;\n }", "title": "" }, { "docid": "6cdd5832befc741adb51ff40f71ba15b", "score": "0.5486997", "text": "public Date getEndPass(){\r\n\t\treturn endPass;\r\n\t}", "title": "" }, { "docid": "ae627118f953aec49dbd7de3b473be4d", "score": "0.54847205", "text": "public String getPassword()\n /*\n ------------------------------------------------------------------------\n d1 21-Oct-2003 Martin Wilson\t\tCreated from Img Mangr.\n ------------------------------------------------------------------------\n */\n {\n return (m_sPassword);\n }", "title": "" }, { "docid": "5051b257a83f3f126d30c08e47c28cd3", "score": "0.5467695", "text": "public StringBuffer getPassword() {\n return strPassword;\n }", "title": "" }, { "docid": "74005597a748358e3771f9476d97463d", "score": "0.5461737", "text": "public int getChange_password() {\n return change_password;\n }", "title": "" }, { "docid": "ab309773ba3eb9a56de0ad5415541756", "score": "0.5458111", "text": "public String getPassword() {\n\t\treturn String.valueOf(jerpfPassword.getPassword());\n\t}", "title": "" }, { "docid": "0769160a8117daab7d51013d45e8a2c7", "score": "0.54560167", "text": "@Override\n\tpublic String getPassword() {\n\t\treturn student.getPassword();\n\t}", "title": "" }, { "docid": "2885a63556d27a4918f154bfc0fc2518", "score": "0.5448583", "text": "public io.bloombox.schema.identity.ids.PassportID.Passport getPassport() {\n if (documentCase_ == 21) {\n return (io.bloombox.schema.identity.ids.PassportID.Passport) document_;\n }\n return io.bloombox.schema.identity.ids.PassportID.Passport.getDefaultInstance();\n }", "title": "" }, { "docid": "e8628a5b56e8d40b9ef156c324f24a99", "score": "0.5441109", "text": "public String GetPassword() {\n\t\treturn Password;\n\t}", "title": "" }, { "docid": "13af4d39118ca2d8c10959d81ea5aca5", "score": "0.5437151", "text": "public java.lang.String getPassword() {\n\t\tif (this.password != null) {\n\t\t\treturn this.password;\n\t\t} else {\n\t\t\treturn (java.lang.String) this.getContext().getVariable(\n\t\t\t\t\tthis.passwordLoc);\n\t\t}\n\t}", "title": "" }, { "docid": "631906a4c1fe44f931982cee4b7890f3", "score": "0.54304636", "text": "public io.bloombox.schema.identity.ids.PassportID.Passport getPassport() {\n if (passportBuilder_ == null) {\n if (documentCase_ == 21) {\n return (io.bloombox.schema.identity.ids.PassportID.Passport) document_;\n }\n return io.bloombox.schema.identity.ids.PassportID.Passport.getDefaultInstance();\n } else {\n if (documentCase_ == 21) {\n return passportBuilder_.getMessage();\n }\n return io.bloombox.schema.identity.ids.PassportID.Passport.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "cba2adc0489702d7738e9f545d10e6e9", "score": "0.5418423", "text": "protected byte[] getCurrentPassword() {\n return mCurrentPassword;\n }", "title": "" }, { "docid": "8b8fcd79b15d62f9f18dee25e24de24e", "score": "0.541617", "text": "public final String getConfirmNewPassword() { return confirmNewPassword; }", "title": "" }, { "docid": "3626f429464b6b268a72453f827e7fc4", "score": "0.5414559", "text": "public String getLoginPass() {\n return loginPass;\n }", "title": "" }, { "docid": "a077ac72c36ceb9ac8634dcb99f29277", "score": "0.5405201", "text": "public String getPassSeria();", "title": "" }, { "docid": "e920e0ba8cba94db51e7e02f85ecf8b9", "score": "0.5388592", "text": "public io.bloombox.schema.identity.ids.PassportID.PassportReference getPassport() {\n if (passportBuilder_ == null) {\n if (documentCase_ == 21) {\n return (io.bloombox.schema.identity.ids.PassportID.PassportReference) document_;\n }\n return io.bloombox.schema.identity.ids.PassportID.PassportReference.getDefaultInstance();\n } else {\n if (documentCase_ == 21) {\n return passportBuilder_.getMessage();\n }\n return io.bloombox.schema.identity.ids.PassportID.PassportReference.getDefaultInstance();\n }\n }", "title": "" }, { "docid": "d0103cb0fe25448be36f5709b2e57537", "score": "0.53733087", "text": "@Override\n public void onClickPassChange(String newpass) {\n\n }", "title": "" }, { "docid": "75cf097cf71f8adcbe3bd207431869cb", "score": "0.5372839", "text": "public void setPassWord(String passWord) {\r\n this.passWord = passWord;\r\n }", "title": "" }, { "docid": "bd96fa566ace1142a7ba92391fd4aa9d", "score": "0.53678346", "text": "public boolean getDoingPass() {\n\t\treturn doingPass;\n\t}", "title": "" }, { "docid": "55323707ea68b554937ac30f9427b284", "score": "0.53592765", "text": "public String getPassword() {\r\n\t\treturn password.getText();\r\n\t}", "title": "" }, { "docid": "f9493671257c30e0da80c47fe7b71d55", "score": "0.53586334", "text": "public int generateNewPassengers() {\n // returning number of passengers added by generator\n return this.generator.generatePassengers();\n }", "title": "" }, { "docid": "670f9b3ca98bc368eb133e29dc6aaba2", "score": "0.53513074", "text": "public String getPassword() \n\t{\n\t\treturn desencriptar(Password);\n\t}", "title": "" }, { "docid": "4b91bb197cabb5e43b68b218740ac355", "score": "0.5348552", "text": "public io.bloombox.schema.identity.ids.PassportID.PassportReference getPassport() {\n if (documentCase_ == 21) {\n return (io.bloombox.schema.identity.ids.PassportID.PassportReference) document_;\n }\n return io.bloombox.schema.identity.ids.PassportID.PassportReference.getDefaultInstance();\n }", "title": "" }, { "docid": "abb53fb32dbe0aa661d661f1d2d03c84", "score": "0.5338535", "text": "String getPassword_ST();", "title": "" }, { "docid": "6b12a8603b2589bdb7f9b90108d4db32", "score": "0.53372484", "text": "public String getConfirmNewPassword() {\n return confirmNewPassword;\n }", "title": "" }, { "docid": "91a89de4c5583a27aea92221de80721c", "score": "0.53358126", "text": "public String getPassword() {\n return (String) get(2);\n }", "title": "" }, { "docid": "ad1c1ef44bd4be0624ef345dca092c82", "score": "0.5306331", "text": "@ApiModelProperty(value = \"The user's new password.\")\n public String getNewPassword() {\n return newPassword;\n }", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.52951425", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "173b271ef9646ab2c67a963946272705", "score": "0.5288916", "text": "public String getPassword() {\n\t\treturn selectedPassword;\n\t}", "title": "" }, { "docid": "f2a94a2819e7aac7679aeefd12efff2a", "score": "0.5283005", "text": "public int getLayer_pass() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readInt(__io__address + 264);\n\t\t} else {\n\t\t\treturn __io__block.readInt(__io__address + 248);\n\t\t}\n\t}", "title": "" }, { "docid": "0c194eb854bb12fb1ffd769b2a7cabe3", "score": "0.5281561", "text": "public JPasswordField getPwdValidatePass() {\n\t\treturn this.pwdValidatePass;\n\t}", "title": "" }, { "docid": "021a4924da9cc83c4d64d00d45554642", "score": "0.52723557", "text": "public String getPasword() {\r\n return password;\r\n }", "title": "" }, { "docid": "ed6e1679ad4d2a2089419a1d306ead7a", "score": "0.52707636", "text": "public Long getSequentialPassIndex() {\r\n return this.attribute(TwoFactorUserAttrName.sequential_pass_index, true).getAttributeValueInteger();\r\n }", "title": "" }, { "docid": "5bc7e58bc3bcc57945ca97dc7680fdcf", "score": "0.52588755", "text": "private String Getpassword() {\r\n return this.password;\r\n\t}", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5251327", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "6e0fe0e34c9f7356f343102b74a7f64f", "score": "0.5251327", "text": "public java.lang.String getPassword(){\r\n return localPassword;\r\n }", "title": "" }, { "docid": "5b381fb769fe7bd89860cea6e6b499f4", "score": "0.5245046", "text": "public String getPassword()\n\t{\n\t\treturn getPassword( getSession().getSessionContext() );\n\t}", "title": "" }, { "docid": "9262fc79eb84cfd609ac98b302bc115a", "score": "0.52264744", "text": "public char[] getPassword(){\n return this.pass;\n }", "title": "" }, { "docid": "41f6141ccb6197f35702b5d67f87a7a4", "score": "0.52257746", "text": "public String getPassword() {\r\n /*Return password*/\r\n return password;\r\n }", "title": "" }, { "docid": "405cbfb966152bcb3d3383b7951b07d1", "score": "0.520832", "text": "public Forget_pass() {\n initComponents();\n \n }", "title": "" }, { "docid": "c645eb05f49f153df04a2cd6534e67fe", "score": "0.52037615", "text": "public String getPassword()\n \t{\n \t\treturn this.password;\n \t}", "title": "" }, { "docid": "155feddadb52f1afd96492cadf7b6d56", "score": "0.519715", "text": "@java.lang.Override\n public java.lang.String getPassword() {\n return instance.getPassword();\n }", "title": "" }, { "docid": "573f3862e0b5e52c6fefdd01332617fb", "score": "0.5196978", "text": "public String getPassword() {\n\t\treturn super.password;\n\t}", "title": "" }, { "docid": "c9e7b42a5ea2388873a068e5d67233a2", "score": "0.51957905", "text": "String getPassword() {\n\t\treturn this.password;\r\n\t}", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.51912", "text": "String getPassword();", "title": "" }, { "docid": "31a7bd1bbe41565b3c245d20358d6ccb", "score": "0.51912", "text": "String getPassword();", "title": "" } ]
1ac6c9ecc05973946c69c2617d3a8af3
Creates new form searchbycoveringpurity
[ { "docid": "2e97e8ff60d4338656325be7d2d9c784", "score": "0.5249219", "text": "public searchbycoveringpurity() {\r\n \tsetTitle(\"ITEMIZATION - Search By Purity (Covering)\");\r\n \tsetIconImage(Toolkit.getDefaultToolkit().getImage(searchbycoveringpurity.class.getResource(\"/images/itemization_logo.png\")));\r\n \tgetContentPane().setBackground(new Color(175, 238, 238));\r\n initComponents();\r\n }", "title": "" } ]
[ { "docid": "6d781e46f35717035c0e894b47148cc7", "score": "0.61698955", "text": "void searchPatient() {\n \t_searchViewStage = new Stage();\n \t\n\t\tSearchViewController<Patient> patientSearchViewController = new SearchViewController<Patient>(Patient.class);\n\t\tpatientSearchViewController.addConsumer(new Consumer<String>() {\n\t\t\t@Override\n\t\t\tpublic void accept(String id) {\n\t\t\t\tcreateForm(id);\n\t\t\t}\n\t\t});\n\t\t\n\t\tGUIUtil.showView(patientSearchViewController, View.SEARCHVIEW, _searchViewStage);\n\t\tpatientSearchViewController.setCriteria(_searchPanelController.getCriteria());\n\t\tpatientSearchViewController.search();\n\t}", "title": "" }, { "docid": "3f86e35eacaf5f8c25ac2afd5148b9f8", "score": "0.5984757", "text": "@Override\n\tprotected BaseSearchForm devuelveFormBusqueda() throws Exception {\n\t\tMantenimientoCOMOrdenEstadisticoSearchForm form = new MantenimientoCOMOrdenEstadisticoSearchForm();\n\t\treturn form;\n\t}", "title": "" }, { "docid": "f785c5622d42a97a02d89a62a4304be5", "score": "0.59828746", "text": "public void search() {\r\n\t\tSearchCard search = new SearchCard();\r\n\t\tsearch.constructGUI();\r\n\t}", "title": "" }, { "docid": "1b340a017a53f6c0af8d0a8c4e4bc53b", "score": "0.5972267", "text": "public void fillSearchCreativeForm(DataTable creativeDetails){\n\t\tMap<String,String> creativeMap =creativeDetails.asMap(String.class, String.class);\n\t\tString mediaType=creativeMap.get(\"Media Type\");\n\t\tString product=creativeMap.get(\"Product\");\n\t\tString show = creativeMap.get(\"Show\");\n\t\tString region = creativeMap.get(\"Region\");\n\t\tboolean active = Boolean.valueOf(creativeMap.get(\"Active\"));\n\t\tString version = creativeMap.get(\"Version\");\n\t\tRandom random = new Random();\n\t\tint randomVersion = random.nextInt(999);\n\t\t// Media Type\n\t\tif(mediaType!=null){\n\t\t\tutility.enterDropDownID(\"mediaType\", mediaType);\n\t\t}\n\t\t// Product\n\t\tif(product!=null){\n\t\t\tutility.enterTextBoxID(\"product\", product);\n\t\t}\n\t\t// Show\n\t\tif(show!=null){\n\t\t\tutility.enterTextBoxID(\"show\", show);\n\t\t}\n\t\t// Region\n\t\tif(region!=null){\n\t\t\tutility.enterDropDownID(\"region\", region);\n\t\t}\n\t\tif(active){\n\t\t\tutility.clickElement(locatorTypeObj.id, \"active\");\n\t\t}\n\t\tif(version!=null){\n\t\t\tif(version.equalsIgnoreCase(\"Random\")){\n\t\t\t\tutility.enterTextBoxID(\"creativeVersion\",String.valueOf(randomVersion));\n\t\t\t\tProperty.creativeVersion = randomVersion;\n\t\t\t}else if(version.equalsIgnoreCase(\"Property\")){\n\t\t\t\tutility.enterTextBoxID(\"creativeVersion\",String.valueOf(Property.creativeVersion));\n\t\t\t}else {\n\t\t\t\tutility.enterTextBoxID(\"creativeVersion\",version);\n\t\t\t\tProperty.creativeVersion = Integer.parseInt(version);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "033691dfed07b9d847bf1ef0b5d3a3e2", "score": "0.59691143", "text": "public SearchPage toSelectNewStatusRecords()\r\n{\n\t\r\n\tdriver.findElementByXPath(\"//input[@placeholder=\\\"Search\\\" and @class=\\\"form-control\\\"]\").sendKeys(\"New\");\r\n\t\r\n\tdriver.findElementByXPath(\"//input[@placeholder=\\\"Search\\\" and @class=\\\"form-control\\\"]\").sendKeys(Keys.ENTER);\r\n\treturn this;\r\n}", "title": "" }, { "docid": "2e71c3d7104ce243c2381a27a8134d3e", "score": "0.58309525", "text": "@Override\n\tprotected BaseSearchForm devuelveFormBusqueda() throws Exception {\n\t\tMantenimientoIMPEtiquetasSearchForm formSearch = new MantenimientoIMPEtiquetasSearchForm();\n\t\treturn formSearch;\n\n\t}", "title": "" }, { "docid": "47dc3ec3991a7be8be0432d7f11b5631", "score": "0.58279276", "text": "@Override\n\tprotected BaseSearchForm devuelveFormBusqueda() throws Exception {\n\t\tMantenimientoPEDResultadoChequeoSearchForm objForm = new MantenimientoPEDResultadoChequeoSearchForm();\n\t\treturn objForm;\n\t}", "title": "" }, { "docid": "c0c420eb8cfed3d325cf78a9d813a741", "score": "0.5803144", "text": "@Override\r\n\t\t\tpublic void onClick(ClickEvent event) {\r\n\t\t\t\tFeasibilitySearch feasibilitySearch = new FeasibilitySearch();\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * If the field in the request form is not empty so we set the\r\n\t\t\t\t * attribute to the FeasibilitySearch object. Moreover,\r\n\t\t\t\t * registration of the parameter key for the request url in the\r\n\t\t\t\t * map attribute \"parameter\" of the FeasibilitySearch object\r\n\t\t\t\t */\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_ambiguityLevel.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setMaxAmbiguityLevel(String\r\n\t\t\t\t\t\t\t.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_ambiguityLevel.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:validationParametersSARMaxAmbiguityLevel\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_ambiguityLevel.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_azimuthMax.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_azimuthMin.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setAzimuth(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_azimuthMin\r\n\t\t\t\t\t\t\t.getValue())\r\n\t\t\t\t\t\t\t+ \",\"\r\n\t\t\t\t\t\t\t+ String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_azimuthMax.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionAngleIncidenceAzimuth\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_azimuthMin.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_cloud.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setCloudCover(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_cloud.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:cloudCover\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_cloud.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_compositeType.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_compositeType.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setCompositeType(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_compositeType\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_compositeType.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:compositeType\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_compositeType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_coverageType.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_coverageType.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setCoverageType(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_coverageType\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_coverageType.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:coverageType\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_coverageType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_dateend.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setEnd(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_dateend.getValue());\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"time:end\", mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_dateend.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_datestart.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setStart(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_datestart.getValue());\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"time:start\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_datestart.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_elevationMax.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_elevationMin.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setElevation(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_elevationMin\r\n\t\t\t\t\t\t\t.getValue())\r\n\t\t\t\t\t\t\t+ \",\"\r\n\t\t\t\t\t\t\t+ String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_elevationMax.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionAngleIncidenceElevation\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_elevationMin.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_haze.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_haze.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setHaze(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_haze\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_haze.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:validationParametersOPTHazeAccepted\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_haze.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_instrument.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_instrument.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setInstrument(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_instrument\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_instrument.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:instrument\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_instrument.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_minLuminosity.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setMinLuminosity(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_minLuminosity\r\n\t\t\t\t\t\t\t.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionParametersOPTMinimumLuminosity\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_minLuminosity.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_noiseLevel.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setMaxNoiseLevel(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_noiseLevel\r\n\t\t\t\t\t\t\t.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:validationParametersSARMaximumNoiseLevel\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_noiseLevel.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\t/*\r\n\t\t\t\t * AOI definition\r\n\t\t\t\t */\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_nwlat.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_nwlon.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_selat.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_selon.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setNwlat(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_nwlat.getValue());\r\n\t\t\t\t\tfeasibilitySearch.setNwlon(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_nwlon.getValue());\r\n\t\t\t\t\tfeasibilitySearch.setSelat(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_selat.getValue());\r\n\t\t\t\t\tfeasibilitySearch.setSelon(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_selon.getValue());\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"geo:box\", mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_nwlat.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_platform.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_platform.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setPlatform(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_platform\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_platform.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:platform\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_platform.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_polarization.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_polarization.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setPolMode(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_polarization\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_polarization.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionParametersSARPolarizationMode\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_polarization.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_resolution.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_resolution.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setResolution(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_resolution\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_resolution.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:resolution\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_resolution.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sandwind.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sandwind.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setSandWind(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sandwind\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sandwind.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:validationParametersOPTSandWindAccepted\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sandwind.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorMode.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorMode.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setSensorMode(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorMode\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorMode.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:sensorMode\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorMode.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorType.getValue(\r\n\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorType.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setSensorType(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorType\r\n\t\t\t\t\t\t\t.getValue(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorType.getSelectedIndex()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:sensorType\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sensorType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_snow.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setSnowCover(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_snow.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:snowCover\", mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_snow.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setMaxSunGlint(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint\r\n\t\t\t\t\t\t\t.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eo:snowCover\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setMaxSunGlint(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint\r\n\t\t\t\t\t\t\t.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:validationParametersOPTmaxSunGlint\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_sunglint.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackacrossMax.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackacrossMin.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setTrackAcross(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackacrossMin\r\n\t\t\t\t\t\t\t.getValue())\r\n\t\t\t\t\t\t\t+ \",\"\r\n\t\t\t\t\t\t\t+ String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackacrossMax.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionAnglePointingRangeAcrossTrack\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackacrossMax.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackalongMax.getValue() != null\r\n\t\t\t\t\t\t&& mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackalongMin.getValue() != null) {\r\n\r\n\t\t\t\t\tfeasibilitySearch.setTrackAlong(String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackalongMin\r\n\t\t\t\t\t\t\t.getValue())\r\n\t\t\t\t\t\t\t+ \",\"\r\n\t\t\t\t\t\t\t+ String.valueOf(mainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackalongMax.getValue()));\r\n\r\n\t\t\t\t\tfeasibilitySearch.parameters.put(\"eosp:acquisitionAnglePointingRangeAlongTrack\",\r\n\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.feasibility_search_panel_trackalongMin.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * Feasibility service call -> get the results of the\r\n\t\t\t\t * Feasibility tasking request\r\n\t\t\t\t */\r\n\t\t\t\tmainPanel.feasibilityPanel.feasibilitySearchPanel.getFeasibilityService().getResults(feasibilitySearch,\r\n\t\t\t\t\t\tnew AsyncCallback<Map<String, FeasibilityResult>>() {\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"fail Feasibility Tasking\");\r\n\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\tpublic void onSuccess(final Map<String, FeasibilityResult> feasibilityResult) {\r\n\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\tSystem.out.println(\"success\");\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * We go on the results Panel and disable the\r\n\t\t\t\t\t\t\t\t * search Panel\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibility_panel_tab.getTabBar().setTabEnabled(1, true);\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibility_panel_tab.getTabBar().setTabEnabled(2, true);\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * Select the result tab\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibility_panel_tab.getTabBar().selectTab(1);\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibility_panel_tab.getTabBar().setTabEnabled(0, false);\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * We can get the XMl returned from the server\r\n\t\t\t\t\t\t\t\t * by clicking on the \"See XML file\" button\r\n\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\tif (feasibilityResult.get(\"0\") == null) {\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * There is no result\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_show_xml_button.setEnabled(false);\r\n\t\t\t\t\t\t\t\t\tWindow.alert(\"no result found corresponding to your request\");\r\n\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * We have to have at least one result in\r\n\t\t\t\t\t\t\t\t\t * the response to show the XML file\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_show_xml_button.setEnabled(true);\r\n\t\t\t\t\t\t\t\t\tfinal String xml = feasibilityResult.get(\"0\").getXml();\r\n\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_show_xml_button\r\n\t\t\t\t\t\t\t\t\t\t\t.addClickHandler(new ClickHandler() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(ClickEvent event) {\r\n\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 * Show XML file in an other\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * window\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\tWindow.open(xml, \"show xml\", xml);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_see_request_button\r\n\t\t\t\t\t\t\t\t\t\t\t.addClickHandler(new ClickHandler() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(ClickEvent event) {\r\n\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 * Show search request url\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * in an other window\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tWindow.alert(xml);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * ***************** Display the Feasibility\r\n\t\t\t\t\t\t\t\t * result in a table in the\r\n\t\t\t\t\t\t\t\t * FeasiblityResultPanel ****************\r\n\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * List of the results - FeasibilityResult - to\r\n\t\t\t\t\t\t\t\t * place in the table\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tfinal ArrayList<FeasibilityResult> result_list = new ArrayList<FeasibilityResult>();\r\n\r\n\t\t\t\t\t\t\t\tAsyncDataProvider<FeasibilityResult> provider = new AsyncDataProvider<FeasibilityResult>() {\r\n\t\t\t\t\t\t\t\t\t@SuppressWarnings(\"unchecked\")\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\tprotected void onRangeChanged(HasData<FeasibilityResult> display) {\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * Get start and end of the list to\r\n\t\t\t\t\t\t\t\t\t\t * display in the table\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tint start = display.getVisibleRange().getStart();\r\n\t\t\t\t\t\t\t\t\t\tint end = start + display.getVisibleRange().getLength();\r\n\t\t\t\t\t\t\t\t\t\tend = end >= feasibilityResult.size() ? feasibilityResult.size() : end;\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * Iterator on the server response : we\r\n\t\t\t\t\t\t\t\t\t\t * want to put all the objects contained\r\n\t\t\t\t\t\t\t\t\t\t * in feasibilityResult in the list\r\n\t\t\t\t\t\t\t\t\t\t * result_list\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tIterator<String> iterator = feasibilityResult.keySet().iterator();\r\n\r\n\t\t\t\t\t\t\t\t\t\twhile (iterator.hasNext()) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tString key = (String) iterator.next();\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Get each object of the response\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tFeasibilityResult value = (FeasibilityResult) feasibilityResult.get(key);\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Put them in the result_list list\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tresult_list.add(value);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Display the mesh(s) for each\r\n\t\t\t\t\t\t\t\t\t\t\t * result on the map\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tVector polygon_layer = new Vector(\"polygon_layer\" + value.identifier);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (value.upperLeft != null && value.lowerLeft != null && value.lowerRight != null && value.upperRight != null) {\r\n\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 * There can be several segment\r\n\t\t\t\t\t\t\t\t\t\t\t\t * for one result\r\n\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\tfor (int i = 0; i < value.upperLeft.size(); i++) {\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 * Points creation to build\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * the mesh polygon\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\tPoint p1 = new Point(value.upperLeft.get(i).longitude, value.upperLeft.get(i).latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p2 = new Point(value.lowerLeft.get(i).longitude, value.lowerLeft.get(i).latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p3 = new Point(value.lowerRight.get(i).longitude, value.lowerRight.get(i).latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p4 = new Point(value.upperRight.get(i).longitude, value.upperRight.get(i).latitude);\r\n\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 * The points have to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * respect the default\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * project of the map\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\tp1.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp2.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp3.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp4.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint[] points = { p1, p2, p3, p4 };\r\n\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 * Polygon feature building\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * thanks to the points\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * defined above\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\tLinearRing linear_ring = new LinearRing(points);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tVectorFeature polygon = new VectorFeature(linear_ring);\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 * Add the feature to the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * vector layer\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\tpolygon_layer.addFeature(polygon);\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 * Make it visible\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\tpolygon_layer.setIsVisible(true);\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 * Add the layer to the map\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((org.gwtopenmaps.openlayers.client.Map) map).addLayer(polygon_layer);\r\n\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 * Zoom and center on the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * last feature built\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\tLonLat center = new LonLat(value.upperLeft.get(i).longitude, value.upperLeft.get(i).latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tcenter.transform(\"EPSG:4326\", map.getProjection());\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tmap.setCenter(center, 6);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Remove current object\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\titerator.remove();\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tupdateRowData(start, result_list);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * Display the list in the cell table in the\r\n\t\t\t\t\t\t\t\t * FeasibilityResult panel\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tprovider.addDataDisplay(mainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_cellTable);\r\n\t\t\t\t\t\t\t\tprovider.updateRowCount(result_list.size(), true);\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * Display or not the mesh on the map ->\r\n\t\t\t\t\t\t\t\t * FieldUpdater\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_showColumn\r\n\t\t\t\t\t\t\t\t\t\t.setFieldUpdater(new FieldUpdater<FeasibilityResult, String>() {\r\n\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\tpublic void update(int index, FeasibilityResult object, String value) {\r\n\r\n\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 * if the button value is Hide\r\n\t\t\t\t\t\t\t\t\t\t\t\t * when the user click on it,\r\n\t\t\t\t\t\t\t\t\t\t\t\t * the mesh disappear from the\r\n\t\t\t\t\t\t\t\t\t\t\t\t * map\r\n\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\tif (value.equals(\"Hide\")) {\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 * Get the good layer thanks\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * to the object identifier\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\tLayer vector = map.getLayerByName(\"polygon_layer\" + object.identifier);\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 * The layer become\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * invisible\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\tvector.setIsVisible(false);\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 * We change the value of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * the button by setting the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * boolean\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"hideButtonClicked\" to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * true -> the value become\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"show\"\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\tmainPanel.feasibilityPanel.feasibilityResultPanel.hideButtonClicked = true;\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 * Redraw the row with the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * new Button value\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\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_cellTable.redrawRow(index);\r\n\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 * if the button value is\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * Show when the user click\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * on it, the mesh is\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * displayed on the map\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} else if (value.equals(\"Show\")) {\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 * Get the good layer thanks\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * to the object identifier\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\tLayer vector = map.getLayerByName(\"polygon_layer\" + object.identifier);\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 * The layer become visible\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\tvector.setIsVisible(true);\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 * We change the value of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * the button by setting the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * boolean\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"hideButtonClicked\" to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * false -> the value become\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * \"hide\"\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\tmainPanel.feasibilityPanel.feasibilityResultPanel.hideButtonClicked = false;\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 * Redraw the row with the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * new Button value\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\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_cellTable.redrawRow(index);\r\n\r\n\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}\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * ********** Details displayed according to the\r\n\t\t\t\t\t\t\t\t * selected product -> FeasibilityDetailsPanel\r\n\t\t\t\t\t\t\t\t * **********\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tHandler tableHandler = new SelectionChangeEvent.Handler() {\r\n\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * According to the selection, the details\r\n\t\t\t\t\t\t\t\t\t * panel change\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tpublic void onSelectionChange(SelectionChangeEvent event) {\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * Get the selected object\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tFeasibilityResult selectedScene = mainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_selectionModelDetails\r\n\t\t\t\t\t\t\t\t\t\t\t\t.getLastSelectedObject();\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * Fill all the panel informations with\r\n\t\t\t\t\t\t\t\t\t\t * the object attributes, if there are\r\n\t\t\t\t\t\t\t\t\t\t * no null\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_id.setText(selectedScene.identifier);\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.acquisitionDate != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_acquisitionDate\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.acquisitionDate);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_acquisitionDate\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.acrossTrack != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_accrossTrack\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.acrossTrack);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_accrossTrack.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.alongTrack != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_alongTrack\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.alongTrack);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_alongTrack.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.azimuth != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_azimuth.setText(selectedScene.azimuth);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_azimuth.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.cloudCover != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_cloud\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.cloudCover);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_cloud.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.compositeType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_compositeType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.compositeType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_compositeType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.elevation != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_elevation\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.elevation);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_elevation.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.haze != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_haze.setText(selectedScene.haze);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_haze.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.instrument != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_instrument\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.instrument);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_instrument.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.instrumentMode != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sensorMode\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.instrumentMode);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sensorMode.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.maxNoiseLevel != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_noiseLevel\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.maxNoiseLevel);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_noiseLevel.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.maxSunGlint != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sunGlint\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.maxSunGlint);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sunGlint.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.minLuminosity != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_minLuminosity\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.minLuminosity);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_minLuminosity.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.orbitType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_orbitType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.orbitType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_orbitType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.platform != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_platform\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.platform);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_platform.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.polarizationMode != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_polarisationMode\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.polarizationMode);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_polarisationMode\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.resolution != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_resolution\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.resolution);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_resolution.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.sandWind != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sandWind\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.sandWind);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sandWind.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.sensor != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sensorType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.sensor);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_sensorType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif (selectedScene.snowCover != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_snow.setText(selectedScene.snowCover);\r\n\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityDetailsPanel.feasibility_details_panel_snow.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * Add the handler to the selection model\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_selectionModelDetails\r\n\t\t\t\t\t\t\t\t\t\t.addSelectionChangeHandler(tableHandler);\r\n\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t * Add the selection model to the table\r\n\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\tmainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_cellTable\r\n\t\t\t\t\t\t\t\t\t\t.setSelectionModel(mainPanel.feasibilityPanel.feasibilityResultPanel.feasibility_result_panel_selectionModelDetails);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t}", "title": "" }, { "docid": "4d773c3614a61ff2ece31a1bbc07e2e5", "score": "0.5568447", "text": "@Override\r\n\t\t\tpublic void onClick(ClickEvent event) {\r\n\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_celltable.setRowCount(0);\r\n\t\t\t\t/*\r\n\t\t\t\t * TODO remove old meshs when new search\r\n\t\t\t\t */\r\n\t\t\t\t// mapPanel.buildMap();\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * Search object building\r\n\t\t\t\t */\r\n\t\t\t\tCatalogueSearch catalogueSearch = new CatalogueSearch();\r\n\r\n\t\t\t\t/*\r\n\t\t\t\t * If the field in the request form is not empty so we set the\r\n\t\t\t\t * attribute to the CatalogueSearch object Moreover,\r\n\t\t\t\t * registration of the parameter key for the request url in the\r\n\t\t\t\t * map attribute \"parameter\" of the CatalogueSearch object\r\n\t\t\t\t */\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_begin.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tString start = mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_begin.getValue();\r\n\t\t\t\t\tcatalogueSearch.setStart(start);\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"time:start\", \"start\");\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_end.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tString stop = mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_end.getValue();\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"time:end\", \"stop\");\r\n\t\t\t\t\tcatalogueSearch.setStop(stop);\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionStation.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setAcquisitionStation(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionStation.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:acquisitionStation\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionStation.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionType.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setAcquisitionType(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionType.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:acquisitionType\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_acquisitionType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_archivingCenter.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setArchivingCenter(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_archivingCenter.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:archivingCenter\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_archivingCenter.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_cloud.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setCloudCover(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_cloud.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:cloudCover\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_cloud.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_compositeType.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setCompositeType(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_compositeType.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:compositeType\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_compositeType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_contents.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setContents(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_contents.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:contents\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_contents.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_entryType.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setEntryType(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_entryType.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:type\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_entryType.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame1.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setFrame_min(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame1.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:frame\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame1.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame2.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setFrame_max(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame2.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:frame\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_frame2.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_identifier.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setIdentifier(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_identifier.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:identifier\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_identifier.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMax.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setOrbitNumber_max(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMax.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:orbitNumber\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMax.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMin.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setOrbitNumber_min(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMin.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:orbitNumber\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitMin.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitType.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitType.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\tcatalogueSearch.setOrbitType(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitType\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitType.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:orbitType\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitType.getName());\r\n\t\t\t\t}\r\n\t\t\t\tif (!mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitDirection.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitDirection.getSelectedIndex()).equals(\"Select...\")) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setOrbitDirection(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitDirection\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitDirection.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:orbitDirection\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_orbitDirection.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_platform.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_platform.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setPlatform(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_platform\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_platform.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:platform\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_platform.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingCenter.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingCenter.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setProcessingCenter(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingCenter\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingCenter.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:ProcessingCenter\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingCenter.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate1.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setProcessingDate_start(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate1.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:ProcessingDate\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate1.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate2.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setProcessingDate_stop(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate2.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:ProcessingDate\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingDate2.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingLevel.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setProcessingLevel(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingLevel.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:ProcessingLevel\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingLevel.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingSoftware.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setProcessingSoftware(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingSoftware.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:ProcessingSoftware\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_processingSoftware.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMax.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setResolution_max(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMax.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:resolution\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMax.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMin.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setResolution_min(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMin.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:resolution\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_resolutionMin.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensor.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensor.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setInstrument(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensor\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensor.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:instrument\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensor.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensorMode.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setSensorMode(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensorMode.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:sensorMode\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensorMode.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensortype.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensortype.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setSensorType(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensortype\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensortype.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:sensorType\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_sensortype.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_snow.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setSnowCover(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_snow.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:snowCover\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_snow.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_spectralRange.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_spectralRange.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setSpectralRange(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_spectralRange\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_spectralRange.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:spectralRange\",\r\n\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_spectralRange.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_status.getValue(\r\n\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_status.getSelectedIndex()).equals(\"Select...\")) {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t} else {\r\n\r\n\t\t\t\t\tcatalogueSearch.setStatus(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_status\r\n\t\t\t\t\t\t\t.getValue(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_status.getSelectedIndex()));\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:status\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_status.getName());\r\n\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_swathId.getValue().length() > 0) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setSwathId(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_swathId.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:swathId\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_swathId.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAccross.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setTrack_across(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAccross.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:track\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAccross.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAlong.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setTrack_along(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAlong.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:track\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_trackAlong.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght1.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setWaveLenght_min(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght1.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:wavelength\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght1.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght2.getValue() != null) {\r\n\r\n\t\t\t\t\tcatalogueSearch.setWaveLenght_max(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght2.getValue());\r\n\t\t\t\t\tcatalogueSearch.parameters.put(\"eo:wavelength\", mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_waveLenght2.getName());\r\n\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// empty\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_nwlat.getValue() == null\r\n\t\t\t\t\t\t|| mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_nwlon.getValue() == null\r\n\t\t\t\t\t\t|| mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_selat.getValue() == null\r\n\t\t\t\t\t\t|| mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_selon.getValue() == null) {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * The AOI has to be filled\r\n\t\t\t\t\t */\r\n\t\t\t\t\tWindow.alert(\"You have to fill an AOI\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * AOI setting\r\n\t\t\t\t\t */\r\n\t\t\t\t\tcatalogueSearch.setNwlat(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_nwlat.getValue());\r\n\t\t\t\t\tcatalogueSearch.setNwlon(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_nwlon.getValue());\r\n\t\t\t\t\tcatalogueSearch.setSelat(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_selat.getValue());\r\n\t\t\t\t\tcatalogueSearch.setSelon(mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_selon.getValue());\r\n\r\n\t\t\t\t\t// mainPanel.cataloguePanel.catalogueSearchPanel.catalogue_search_panel_send_request_button\r\n\t\t\t\t\t// .setEnabled(false);\r\n\r\n\t\t\t\t\t/*\r\n\t\t\t\t\t * Catalogue service call -> get the results of the\r\n\t\t\t\t\t * Catalogue Search\r\n\t\t\t\t\t */\r\n\t\t\t\t\tmainPanel.cataloguePanel.catalogueSearchPanel.getCatalogueService().getResults(catalogueSearch,\r\n\t\t\t\t\t\t\tnew AsyncCallback<Map<String, CatalogueResult>>() {\r\n\r\n\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method\r\n\t\t\t\t\t\t\t\t\t// stub\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"fail Catalogue Search!\");\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\tpublic void onSuccess(final Map<String, CatalogueResult> catalogueResult) {\r\n\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"success\");\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * We go on the results Panel and disable\r\n\t\t\t\t\t\t\t\t\t * the search Panel\r\n\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogue_panel_tab.getTabBar().setTabEnabled(1, true);\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogue_panel_tab.getTabBar().setTabEnabled(2, true);\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Select the result tab\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogue_panel_tab.getTabBar().selectTab(1);\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogue_panel_tab.getTabBar().setTabEnabled(0, false);\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * We can get the XMl returned from the\r\n\t\t\t\t\t\t\t\t\t * server by clicking on the \"See XML file\"\r\n\t\t\t\t\t\t\t\t\t * button\r\n\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\tif (catalogueResult.get(\"0\") != null) {\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * We have to have at least one result\r\n\t\t\t\t\t\t\t\t\t\t * in the response\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_xml_show_button.setEnabled(true);\r\n\t\t\t\t\t\t\t\t\t\tfinal String xml = catalogueResult.get(\"0\").getXml();\r\n\r\n\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_xml_show_button\r\n\t\t\t\t\t\t\t\t\t\t\t\t.addClickHandler(new ClickHandler() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(ClickEvent event) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// TODO\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Auto-generated\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// method stub\r\n\t\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\t * Show XML file in an\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * other window\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tWindow.open(xml, \"show xml\", xml);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_see_request_button\r\n\t\t\t\t\t\t\t\t\t\t\t\t.addClickHandler(new ClickHandler() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onClick(ClickEvent event) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// TODO\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Auto-generated\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// method stub\r\n\t\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\t * Show search request\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * url in an other\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * window\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tWindow.alert(xml);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * There is no result\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tWindow.alert(\"no result found corresponding to your request\");\r\n\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_xml_show_button.setEnabled(false);\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Add the selected product to the shopcart\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_add_to_shopcart.addClickHandler(new ClickHandler() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\tpublic void onClick(ClickEvent event) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * ********************* Call to the\r\n\t\t\t\t\t\t\t\t\t\t\t * shopcart service\r\n\t\t\t\t\t\t\t\t\t\t\t * **********************\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.getShopcartService().getShopcart(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.selected, new AsyncCallback<Map<String, EOProduct>>() {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onFailure(Throwable caught) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"Fail add to shopcart!\");\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcaught.printStackTrace();\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpublic void onSuccess(final Map<String, EOProduct> shop_result) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSystem.out.println(\"success!\");\r\n\t\t\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\t\t * Select the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * shopcart tab\r\n\t\t\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\t\tmainPanel.mainTab.getTabBar().selectTab(2);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.shopcartPanel.shopcart_panel_tab.getTabBar().selectTab(0);\r\n\t\t\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\t\t * List of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * products -\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * DownloadProduct -\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * to place in the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * shopcart\r\n\t\t\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\t\tfinal ArrayList<EOProduct> shopcart_list = new ArrayList<EOProduct>();\r\n\r\n\t\t\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\t\t * Displays the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * products in a\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * table\r\n\t\t\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\t\tAsyncDataProvider<EOProduct> provider = new AsyncDataProvider<EOProduct>() {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tprotected void onRangeChanged(HasData<EOProduct> display) {\r\n\t\t\t\t\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\t\t\t\t * Get start\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * and end\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * list to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * display\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * table\r\n\t\t\t\t\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\t\t\t\tint start = display.getVisibleRange().getStart();\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tint end = start + display.getVisibleRange().getLength();\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tend = end >= shop_result.size() ? shop_result.size() : end;\r\n\t\t\t\t\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\t\t\t\t * Iterator\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * on the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * server\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * response\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * : we want\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * to put\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * all the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * objects\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * contained\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * shop_result\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * list\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * shopcart_list\r\n\t\t\t\t\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\t\t\t\tIterator<String> iterator = shop_result.keySet().iterator();\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twhile (iterator.hasNext()) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tString key = (String) iterator.next();\r\n\t\t\t\t\t\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\t\t\t\t\t * Get\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * each\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * object\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * of\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * response\r\n\t\t\t\t\t\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\t\t\t\t\tEOProduct value = (EOProduct) shop_result.get(key);\r\n\t\t\t\t\t\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\t\t\t\t\t * Put\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * them\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * shopcart_list\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * list\r\n\t\t\t\t\t\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\t\t\t\t\tshopcart_list.add(value);\r\n\r\n\t\t\t\t\t\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\t\t\t\t\t * Destroy\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * current\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * element\r\n\t\t\t\t\t\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\t\t\t\t\titerator.remove();\r\n\t\t\t\t\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\t\t\t\tupdateRowData(start, shopcart_list);\r\n\t\t\t\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\t\t};\r\n\t\t\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\t\t * Display the list\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in the cell table\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * in the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * ShopcartList\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t * panel\r\n\t\t\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\t\tprovider.addDataDisplay(mainPanel.shopcartPanel.shopcartListPanel.shopcart_list_panel_cellTable);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tprovider.updateRowCount(shopcart_list.size(), true);\r\n\r\n\t\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\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * ***************** Display the Catalogue\r\n\t\t\t\t\t\t\t\t\t * result in a table in the\r\n\t\t\t\t\t\t\t\t\t * CatalogueResultPanel ****************\r\n\t\t\t\t\t\t\t\t\t */\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * List of the results - CatalogueResult -\r\n\t\t\t\t\t\t\t\t\t * to place in the table\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tfinal ArrayList<CatalogueResult> result_list = new ArrayList<CatalogueResult>();\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Displays the products in a table\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tAsyncDataProvider<CatalogueResult> provider = new AsyncDataProvider<CatalogueResult>() {\r\n\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\tprotected void onRangeChanged(HasData<CatalogueResult> display) {\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Get start and end of the list to\r\n\t\t\t\t\t\t\t\t\t\t\t * display in the table\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tint start = display.getVisibleRange().getStart();\r\n\t\t\t\t\t\t\t\t\t\t\tint end = start + display.getVisibleRange().getLength();\r\n\t\t\t\t\t\t\t\t\t\t\tend = end >= catalogueResult.size() ? catalogueResult.size() : end;\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Iterator on the server response :\r\n\t\t\t\t\t\t\t\t\t\t\t * we want to put all the objects\r\n\t\t\t\t\t\t\t\t\t\t\t * contained in catalogueResult in\r\n\t\t\t\t\t\t\t\t\t\t\t * the list result_list\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tIterator<String> iterator = catalogueResult.keySet().iterator();\r\n\r\n\t\t\t\t\t\t\t\t\t\t\twhile (iterator.hasNext()) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tString key = (String) iterator.next();\r\n\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 * Get each object of the\r\n\t\t\t\t\t\t\t\t\t\t\t\t * response\r\n\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\tCatalogueResult value = (CatalogueResult) catalogueResult.get(key);\r\n\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 * Put them in the result_list\r\n\t\t\t\t\t\t\t\t\t\t\t\t * list\r\n\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\tresult_list.add(value);\r\n\r\n\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 * Display the mesh for each\r\n\t\t\t\t\t\t\t\t\t\t\t\t * result on the map\r\n\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\tVector polygon_layer = new Vector(\"polygon_layer\" + value.identifier);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (value.upperLeft != null && value.lowerLeft != null && value.lowerRight != null && value.upperRight != null) {\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 * Points creation to build\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * the mesh polygon\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\tPoint p1 = new Point(value.upperLeft.longitude, value.upperLeft.latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p2 = new Point(value.lowerLeft.longitude, value.lowerLeft.latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p3 = new Point(value.lowerRight.longitude, value.lowerRight.latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint p4 = new Point(value.upperRight.longitude, value.upperRight.latitude);\r\n\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 * The points have to\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * respect the default\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * project of the map\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\tp1.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp2.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp3.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tp4.transform(DEFAULT_PROJECTION, new Projection(map.getProjection()));\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tPoint[] points = { p1, p2, p3, p4 };\r\n\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 * Polygon feature building\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * thanks to the points\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * defined above\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\tLinearRing linear_ring = new LinearRing(points);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tVectorFeature polygon = new VectorFeature(linear_ring);\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 * Add the feature to the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * vector layer\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\tpolygon_layer.addFeature(polygon);\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 * Make it visible\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\tpolygon_layer.setIsVisible(true);\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 * Add the layer to the map\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((org.gwtopenmaps.openlayers.client.Map) map).addLayer(polygon_layer);\r\n\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 * Zoom and center on the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * last feature built\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\tLonLat center = new LonLat(value.upperLeft.longitude, value.upperLeft.latitude);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tcenter.transform(\"EPSG:4326\", map.getProjection());\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tmap.setCenter(center, 6);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\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 * Remove current object\r\n\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\titerator.remove();\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tupdateRowData(start, result_list);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Display the list in the cell table in the\r\n\t\t\t\t\t\t\t\t\t * CatalogueResult panel\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tprovider.addDataDisplay(mainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_celltable);\r\n\t\t\t\t\t\t\t\t\tprovider.updateRowCount(result_list.size(), true);\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Display or not the mesh on the map ->\r\n\t\t\t\t\t\t\t\t\t * FieldUpdater\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_showColumn\r\n\t\t\t\t\t\t\t\t\t\t\t.setFieldUpdater(new FieldUpdater<CatalogueResult, String>() {\r\n\t\t\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t\t\tpublic void update(int index, CatalogueResult object, String value) {\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 * if the button value is\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * Hide when the user click\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * on it, the mesh disappear\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t * from the map\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\tif (value.equals(\"Hide\")) {\r\n\t\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\t * Get the good layer\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * thanks to the object\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * identifier\r\n\t\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\tLayer vector = map.getLayerByName(\"polygon_layer\" + object.identifier);\r\n\t\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\t * The layer become\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * invisible\r\n\t\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\tvector.setIsVisible(false);\r\n\t\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\t * We change the value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * of the button by\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * setting the boolean\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * \"hideButtonClicked\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * to true -> the value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * become \"show\"\r\n\t\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\tmainPanel.cataloguePanel.catalogueResultPanel.hideButtonClicked = true;\r\n\t\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\t * Redraw the row with\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * the new Button value\r\n\t\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\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_celltable.redrawRow(index);\r\n\r\n\t\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\t * if the button value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * is Show when the user\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * click on it, the mesh\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * is displayed on the\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * map\r\n\t\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} else if (value.equals(\"Show\")) {\r\n\t\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\t * Get the good layer\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * thanks to the object\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * identifier\r\n\t\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\tLayer vector = map.getLayerByName(\"polygon_layer\" + object.identifier);\r\n\t\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\t * The layer become\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * visible\r\n\t\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\tvector.setIsVisible(true);\r\n\t\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\t * We change the value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * of the button by\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * setting the boolean\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * \"hideButtonClicked\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * to false -> the value\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * become \"hide\"\r\n\t\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\tmainPanel.cataloguePanel.catalogueResultPanel.hideButtonClicked = false;\r\n\t\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\t * Redraw the row with\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t * the new Button value\r\n\t\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\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_celltable.redrawRow(index);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * ********** Details displayed according to\r\n\t\t\t\t\t\t\t\t\t * the selected product **********\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tHandler tableHandler = new SelectionChangeEvent.Handler() {\r\n\t\t\t\t\t\t\t\t\t\t@Override\r\n\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t * According to the selection, the\r\n\t\t\t\t\t\t\t\t\t\t * details panel change\r\n\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\tpublic void onSelectionChange(SelectionChangeEvent event) {\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Get the selected object\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tCatalogueResult selectedScene = mainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_selectionModelDetails\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.getLastSelectedObject();\r\n\t\t\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t\t\t * Fill all the panel informations\r\n\t\t\t\t\t\t\t\t\t\t\t * with the object attributes, if\r\n\t\t\t\t\t\t\t\t\t\t\t * there are no null\r\n\t\t\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_id.setText(selectedScene.id);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.acquisitionStation != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_acquisitionStation\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.acquisitionStation);\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_acquisitionStation\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.acquisitionType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_acquisitionType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.acquisitionType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_acquisitionType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.archivingCenter != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_archivingCenter\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.archivingCenter);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_archivingCenter.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.archivingDate != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_archivingDate\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.archivingDate);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_archivingDate.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.cloudCover != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_cloudCover\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.cloudCover);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_cloudCover.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.compositeType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_compositeType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.compositeType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_compositeType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.frame != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_frame.setText(selectedScene.frame);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_frame.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.identifier != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_identifier\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.identifier);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_identifier.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.instrument != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_instrument\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.instrument);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_instrument.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.orbitDirection != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitDirection\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.orbitDirection);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitDirection.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.orbitNumber != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitNumber\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.orbitNumber);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitNumber.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.orbitType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.orbitType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_orbitType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.platform != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_platform.setText(selectedScene.platform);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_platform.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.processingCenter != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingCenter\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.processingCenter);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingCenter.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.processingDate != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingDate\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.processingDate);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingDate.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.processingLevel != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingLevel\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.processingLevel);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingLevel.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.processingSoftware != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingSoftware\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.processingSoftware);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_processingSoftware\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.productType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_entryType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.productType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_entryType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.resolution != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_resolution\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.resolution);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_resolution.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.sensorMode != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_sensorMode\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.sensorMode);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_sensorMode.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.sensorType != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_sensorType\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.sensorType);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_sensorType.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.snowCover != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_snowCover\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.snowCover);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_snowCover.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.spectralRange != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_spectralRange\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.spectralRange);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_spectralRange.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.swathId != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_swathId.setText(selectedScene.swathId);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_swathId.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.status != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_status.setText(selectedScene.status);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_status.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.track != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_track.setText(selectedScene.track);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_track.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (selectedScene.waveLenght != null) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_waveLenght\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.setText(selectedScene.waveLenght);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueDetailsPanel.catalogue_details_panel_waveLenght.setText(\"not informed\");\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Add the handler to the selection model\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_selectionModelDetails\r\n\t\t\t\t\t\t\t\t\t\t\t.addSelectionChangeHandler(tableHandler);\r\n\t\t\t\t\t\t\t\t\t/*\r\n\t\t\t\t\t\t\t\t\t * Add the selection model to the table\r\n\t\t\t\t\t\t\t\t\t */\r\n\t\t\t\t\t\t\t\t\tmainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_celltable\r\n\t\t\t\t\t\t\t\t\t\t\t.setSelectionModel(mainPanel.cataloguePanel.catalogueResultPanel.catalogue_result_panel_selectionModelDetails);\r\n\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "91e6eadddd161b452872f989d8a281b4", "score": "0.5566444", "text": "public void newSearch() throws IOException, MalformedURLException, ParseException, IllegalArgumentException, IllegalAccessException {\r\n fillList();\r\n inputData();\r\n }", "title": "" }, { "docid": "95f9d132b2bd04d4c21a1c753adb2760", "score": "0.55620974", "text": "private JPanel buildSearchPanel() {\n\t \t String[] fields = {\"Invoice Line Number\", \"Invoice Number\", \n\t\t\t\t \t\"Quantity Purchased\", \"Service Item\"};\n\t \t \n\t \t JPanel panel = new JPanel();\n\t \t \n\t \t//text field initialize\n\t \t searchField = new JTextField();\n\t \t Dimension longField = new Dimension(300, 20);\n\t searchField.setPreferredSize(longField);\n\t searchField.setMinimumSize(longField);\n\t \n\t panel.add(searchField);\n\t \n\t // combo box initialize\n\t searchCombo = new JComboBox(fields);\n\t panel.add(searchCombo);\n\t \n\t //search button\n\t JButton searchButton = new JButton(\"Search\");\n\t searchButton.addActionListener((ActionEvent) -> {\n\t try {\n\t \t\t\tdoSearchButton();\n\t \t\t} catch (SQLException e) {\n\t \t\t\t// TODO Auto-generated catch block\n\t \t\t\te.printStackTrace();\n\t \t\t}\n\t });\n\t \n\t panel.add(searchButton);\n\t \t \n\t \t return panel;\n\t }", "title": "" }, { "docid": "1aadd5005dd5070c92462df83e5041a3", "score": "0.55543375", "text": "public MessageSearchForm() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "f3d4e3470a57e4ca2b96b9ba468388c7", "score": "0.5550798", "text": "Form createForm();", "title": "" }, { "docid": "71f2b1eaa5c0a52bb5003cd7d019f5e4", "score": "0.54334444", "text": "@RequestMapping(value = { \"/diseasessearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchblankpostdiag(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"diseasesSearch\") DiseasesSearchForm diseasesSearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> diseasesList = searchUtilBo.searchDiseaseswin(diseasesSearchForm,\n\t\t\t\tsession);\n\n\t\tmodel.addAttribute(\"diseases\", diseasesList);\n\n\t\t// system.out\n\t\treturn \"search/diseasessearchwin\";\n\t}", "title": "" }, { "docid": "a5abc22d7eb4c13398cd75a7f77e9990", "score": "0.5415956", "text": "@RequestMapping(value = \"/search\", method = RequestMethod.GET)\n public String search(@RequestParam(value = \"fromView\", required = false) boolean fromView, @ModelAttribute(\"partyAgreementSearchForm\") PartyAgreementSearchForm searchForm, Model model) {\n if (fromView) {\n searchForm.setSearchOnLoad(true);\n } else {\n searchForm = new PartyAgreementSearchForm();\n searchForm.setSearchOnLoad(false);\n }\n\n populateSearchForm(model, searchForm, \"\", false);\n refererPage.setAction(\"search\");\n\n return \"page.partyAgreementSearch\";\n }", "title": "" }, { "docid": "0faf986918aac3923de7e281aaa43f33", "score": "0.5367704", "text": "public ContractLookupListForm() {\n\tthis.setFinderMethodName( \"findContractByQBE2\" );\n\tthis.allcontragent = Boolean.TRUE;\n\tthis.allowner = Boolean.TRUE;\n\tthis.alltypes = Boolean.TRUE;\n\tthis.contragent = new Integer(0);\n\tthis.contragentname = \"\";\n\tthis.owner = new Integer(0);\n\tthis.name = \"*\";\n\tthis.order = new Integer(5); // Order by contract number\n\tthis.supplytype = new Integer(0);\n}", "title": "" }, { "docid": "1fb198a61851fee4c0b9489033d314cf", "score": "0.53653246", "text": "@RequestMapping(value = \"/create\", method = RequestMethod.GET)\n public String createForm(Model model) {\n District newDistrict = new District();\n\n /* Lets fetch all the states in the database */\n List<State> states = stateService.list();\n\n /* Add the empty district and all the states in the model so that they\n * are available on the form.\n */\n model.addAttribute(\"newDistrict\", newDistrict);\n model.addAttribute(\"states\", states);\n\n /* Re-direct the user to the form */\n return \"district/create\";\n }", "title": "" }, { "docid": "800d6bf5384d24a9a499fc7d4e0f5a89", "score": "0.5356109", "text": "@Override\r\n public void buttonClick(Button.ClickEvent event) {\r\n \r\n searchLayout.setVisible(false);\r\n searchTableLayout.removeAllComponents();\r\n peptidesLayout.removeAllComponents();\r\n fractionLayout.removeAllComponents();\r\n errorLabelI.setVisible(false);\r\n errorLabelII.setVisible(false);\r\n\r\n //will we allow empty search??\r\n // if (protSearchObject == null || protSearchObject.toString().equals(\"\") || protSearchObject.toString().length() < 4 ) {\r\n // errorLabelI.setVisible(true);\r\n // searchField.focus();\r\n // } \r\n// else {\r\n boolean validQuery = searchingUnit.getFiltersController().isValidQuery();\r\n if (!validQuery) {\r\n errorLabelI.setVisible(true);\r\n searchingUnit.getKeywordFilter().getSearchField().focus();\r\n } else {\r\n Map<Integer, IdentificationProteinBean> searchIdentificationProtList = null;\r\n List<QuantProtein> searchQuantificationProtList = null;\r\n\r\n String notFound = \"\";\r\n //, \"Quantification Data\", \"Both\"\r\n if (searchingUnit.getFiltersController().getQuery().getSearchDataType().equalsIgnoreCase(\"Identification Data\")) {\r\n\r\n searchingUnit.getFiltersController().getQuery().setSearchKeyWords(searchingUnit.getKeywordFilter().getSearchField().getValue());\r\n String defaultText = searchingUnit.getFiltersController().getQuery().getSearchKeyWords();\r\n\r\n defaultText = defaultText.replace(\",\", \"\\n\").replace(\" \", \"\").trim();\r\n searchingUnit.getKeywordFilter().getSearchField().setValue(defaultText);\r\n searchIdentificationProtList = handler.searchIdentificationProtein(searchingUnit.getFiltersController().getQuery());\r\n notFound = handler.filterSearchingKeywords(searchIdentificationProtList, searchingUnit.getFiltersController().getQuery().getSearchKeyWords(), searchingUnit.getFiltersController().getQuery().getSearchBy());\r\n \r\n\r\n } else {// start quant searching\r\n searchQuantificationProtList = handler.searchQuantificationProtein(searchingUnit.getFiltersController().getQuery());\r\n notFound = handler.filterSearchingKeywords(searchQuantificationProtList, searchingUnit.getFiltersController().getQuery().getSearchKeyWords(), searchingUnit.getFiltersController().getQuery().getSearchBy());\r\n \r\n }\r\n\r\n //searching process end here\r\n searchLayout.setVisible(true);\r\n if (!notFound.equals(\"\")) {\r\n notFind(notFound);\r\n }\r\n boolean test = true, test2 = true;\r\n if (searchIdentificationProtList == null || searchIdentificationProtList.isEmpty()) {\r\n identificationSearchLayout.setVisible(false);\r\n test = false;\r\n }\r\n if (searchQuantificationProtList == null || searchQuantificationProtList.isEmpty()) {\r\n quantificationSearchLayout.setVisible(false);\r\n test2 = false;\r\n } \r\n \r\n if (test || test2) {\r\n searchLayout.setVisible(true);\r\n searchingUnit.hideLayout();\r\n if (searchingUnit.getFiltersController().getQuery().getSearchDataType().equalsIgnoreCase(\"Identification Data\")) {\r\n final IdentificationSearchResultsTableLayout searcheResultsTableLayout = new IdentificationSearchResultsTableLayout(handler, handler.getDatasetDetailsList(), searchIdentificationProtList, searchingUnit.getFiltersController().getQuery().isValidatedProteins());\r\n searchTableLayout.addComponent(searcheResultsTableLayout);\r\n Property.ValueChangeListener listener = new Property.ValueChangeListener() {\r\n /*\r\n *the main listener for search table\r\n */\r\n private static final long serialVersionUID = 1L;\r\n\r\n /**\r\n * on select search table value initialize the peptides\r\n * table and fractions plots if exist * process\r\n *\r\n * @param event value change on search table selection\r\n */\r\n @Override\r\n public synchronized void valueChange(Property.ValueChangeEvent event) {\r\n \r\n if (searchTableAccessionLable != null) {\r\n searchTableAccessionLable.rePaintLable(\"black\");\r\n }\r\n \r\n if (searcheResultsTableLayout.getSearchTable().getValue() != null) {\r\n key = (Integer) searcheResultsTableLayout.getSearchTable().getValue();\r\n }\r\n else\r\n return;\r\n final Item item = searcheResultsTableLayout.getSearchTable().getItem(key);\r\n searchTableAccessionLable = (CustomExternalLink) item.getItemProperty(\"Accession\").getValue();\r\n searchTableAccessionLable.rePaintLable(\"white\");\r\n \r\n peptidesLayout.removeAllComponents();\r\n fractionLayout.removeAllComponents();\r\n \r\n String datasetName = item.getItemProperty(\"Experiment\").toString();\r\n accession = item.getItemProperty(\"Accession\").toString();\r\n otherAccession = item.getItemProperty(\"Other Protein(s)\").toString();\r\n desc = item.getItemProperty(\"Description\").toString();\r\n \r\n handler.setMainDatasetId(datasetName);\r\n \r\n fractionNumber = handler.getDataset(handler.getMainDatasetId()).getFractionsNumber();\r\n if (handler.getMainDatasetId() != 0 && handler.getDataset(handler.getMainDatasetId()).getDatasetType() == 1) {\r\n CustomExportBtnLayout exportAllProteinPeptidesLayout = new CustomExportBtnLayout(handler, \"allProtPep\", handler.getMainDatasetId(), datasetName, accession, otherAccession, null, 0, null, null, null, desc);\r\n PopupView exportAllProteinPeptidesPopup = new PopupView(\"Export Peptides from All Datasets for (\" + accession + \" )\", exportAllProteinPeptidesLayout);\r\n exportAllProteinPeptidesPopup.setDescription(\"Export CSF-PR Peptides for ( \" + accession + \" ) for All Available Datasets\");\r\n searcheResultsTableLayout.setExpBtnProtAllPepTable(exportAllProteinPeptidesPopup);// new PopupView(\"Export Proteins\", (new CustomExportBtnLayout(handler, \"prots\",datasetId, datasetName, accession, otherAccession, datasetList, proteinsList, dataset.getFractionsNumber(), null,null))));\r\n if (key >= 0) {\r\n \r\n Map<Integer, PeptideBean> pepProtList = handler.getPeptidesProtList(handler.getMainDatasetId(), accession, otherAccession);\r\n \r\n if (!pepProtList.isEmpty()) {\r\n int validPep = handler.getValidatedPepNumber(pepProtList);\r\n if (peptideTableLayout != null) {\r\n peptidesLayout.removeComponent(peptideTableLayout);\r\n }\r\n peptideTableLayout = new PeptidesTableLayout(validPep, pepProtList.size(), desc, pepProtList, accession, handler.getDataset(handler.getMainDatasetId()).getName());\r\n peptidesLayout.setMargin(false);\r\n peptidesLayout.addComponent(peptideTableLayout);\r\n \r\n CustomExportBtnLayout exportAllProteinsPeptidesLayout = new CustomExportBtnLayout(handler, \"protPep\", handler.getMainDatasetId(), handler.getDataset(handler.getMainDatasetId()).getName(), accession, otherAccession, null, 0, pepProtList, null, null, desc);\r\n PopupView exportAllProteinsPeptidesPopup = new PopupView(\"Export Peptides from Selected Dataset for (\" + accession + \" )\", exportAllProteinsPeptidesLayout);\r\n \r\n exportAllProteinsPeptidesPopup.setDescription(\"Export Peptides from ( \" + handler.getDataset(handler.getMainDatasetId()).getName() + \" ) Dataset for ( \" + accession + \" )\");\r\n peptideTableLayout.setExpBtnPepTable(exportAllProteinsPeptidesPopup);\r\n \r\n }\r\n List<StandardProteinBean> standerdProtList = handler.retrieveStandardProtPlotList(handler.getMainDatasetId());// \r\n\r\n if (fractionNumber == 0 || handler.getMainDatasetId() == 0 || standerdProtList == null || standerdProtList.isEmpty()) {\r\n fractionLayout.removeAllComponents();\r\n if (searcheResultsTableLayout.getSearchTable() != null) {\r\n searcheResultsTableLayout.getSearchTable().setHeight(\"267.5px\");\r\n }\r\n if (peptideTableLayout.getPepTable() != null) {\r\n peptideTableLayout.getPepTable().setHeight(\"267.5px\");\r\n peptideTableLayout.setPeptideTableHeight(\"267.5px\");\r\n }\r\n } else {\r\n fractionsList = handler.getProtGelFractionsList(handler.getMainDatasetId(), accession, otherAccession);\r\n \r\n if (fractionsList != null && !fractionsList.isEmpty()) {\r\n\r\n\r\n double mw = 0.0;\r\n try {\r\n mw = Double.valueOf(item.getItemProperty(\"MW\").toString());\r\n } catch (NumberFormatException e) {\r\n String str = item.getItemProperty(\"MW\").toString();\r\n String[] strArr = str.split(\",\");\r\n if (strArr.length > 1) {\r\n str = strArr[0] + \".\" + strArr[1];\r\n }\r\n mw = Double.valueOf(str);\r\n }\r\n\r\n fractionLayout.addComponent(new GelFractionsLayout(accession, mw, fractionsList, standerdProtList, handler.getDataset(handler.getMainDatasetId()).getName()));\r\n\r\n }\r\n }\r\n }\r\n }\r\n }\r\n \r\n };\r\n searcheResultsTableLayout.setListener(listener);\r\n searcheResultsTableLayout.getSearchTable().addValueChangeListener(listener);\r\n identificationSearchLayout.setVisible(true);\r\n } else {\r\n quantificationSearchLayout.removeAllComponents();\r\n// Panel quantPanel = new Panel();\r\n// quantPanel.setHeight(\"400px\");\r\n QuantSearchResultLayout quantResultLayout = new QuantSearchResultLayout(searchQuantificationProtList,null);\r\n// quantPanel.setContent(quantResultLayout);\r\n quantificationSearchLayout.addComponent(quantResultLayout);\r\n quantificationSearchLayout.setVisible(true);\r\n \r\n \r\n \r\n }\r\n }\r\n }\r\n }", "title": "" }, { "docid": "02326773e6e2136c46c14905089f4037", "score": "0.53127563", "text": "@Override\r\n\tpublic List<Form> search(String affiliate, SearchCriteria searchCriteria) {\n\t\tlog.info(\"searching for forms based on the following criteria:\" + searchCriteria.toJSON());\r\n\t\treturn searchViaPost(affiliate, searchCriteria);\r\n\t}", "title": "" }, { "docid": "34b052ca32051bed10a7c4aebb507038", "score": "0.5306396", "text": "public ServiceSearchForm(String participant) {\n super(By.xpath(\"//span[@id='breadCrumb'][contains(.,'One Stop Center Search')]\"), \"Service Center Search for \" + participant);\n }", "title": "" }, { "docid": "795dbbe3af49f481b5a198478e18aa81", "score": "0.5294485", "text": "@Test\n public void search1() {\n\n // Kies Nieuwe zoekopdracht\n ngWebDriver.waitForAngularRequestsToFinish();\n driver.findElement(By.cssSelector(\"a[title='Nieuwe zoekopdracht']\")).click();\n\n // Selecteer zoekscherm, selecteer de zichtbare\n driver.findElements(By.cssSelector(\"input[id='query'][ng-model='formData.text']\"))\n .stream()\n .filter(WebElement::isDisplayed)\n .forEach(webElement -> webElement.sendKeys(\"De klusjesmannen\"));\n\n // Selecteer 'Zoeken' knop selecteer de zichtbare\n driver.findElements(By.cssSelector(\"button[ng-click='searchFormController.submit()']\"))\n .stream()\n .filter(WebElement::isDisplayed)\n .forEach(WebElement::click);\n\n }", "title": "" }, { "docid": "34442945596473be2bf24c85afafbce7", "score": "0.52908903", "text": "public void fillSearch() {\r\n\t\t\tdriver.findElement(searchbox).sendKeys(searchquery);\t}", "title": "" }, { "docid": "a3c79e0c4c3e7c9b0677c10bb3d9c143", "score": "0.5240373", "text": "@Override\n protected TextField constructSearchField() {\n if (getFormOptions().isShowQuickSearchField()) {\n TextField searchField = new TextField(message(\"ocs.search\"));\n\n // respond to the user entering a search term\n searchField.addTextChangeListener(new TextChangeListener() {\n\n @Override\n public void textChange(TextChangeEvent event) {\n String text = event.getText();\n if (!StringUtils.isEmpty(text)) {\n Filter extra = constructQuickSearchFilter(text);\n\n Filter f = extra;\n if (getFilter() != null) {\n f = new And(extra, getFilter());\n }\n getContainer().search(f);\n } else {\n getContainer().search(filter);\n }\n }\n });\n return searchField;\n }\n return null;\n }", "title": "" }, { "docid": "de387f30f7cee9e8e07d2f53533a649a", "score": "0.5235109", "text": "@And(\"I search the new record\")\n public void searchNewRecord(){\n Assert.assertFalse(printShop.waitForAddRecordClosed());\n\n // Record details pop should be displayed, showing the newly created record unique ID\n Assert.assertTrue(printShop.waitForAddRecordConfirmModal());\n String confirmMsg = \"Created Successfully\";\n Assert.assertTrue(printShop.checkAddRecordConfirmModal().contains(confirmMsg));\n\n String newRecordNumber = printShop.getConfirmRecordNum();\n valueStore.put(latestWOkey, newRecordNumber);\n printShop.clickConfirmOKBtn();\n\n // search out the new record\n System.out.println(\"Searching for the new record: \"+valueStore.get(latestWOkey));\n String currentRow1 = commonGrid.gridEntry(\"row 1\", \"Record ID\").getText();\n commonGrid.gridHeaderField(\"Record ID\",valueStore.get(latestWOkey));\n commonGrid.waitForFilter(currentRow1);\n }", "title": "" }, { "docid": "3d34281edb79b7313a2ea9e2a6a7609a", "score": "0.5229364", "text": "public ContractsGrantsInvoiceSummaryForm() {\r\n contractsGrantsInvoiceLookupResults = new ArrayList<ContractsGrantsInvoiceLookupResult>();\r\n awardInvoicedInd = false;\r\n }", "title": "" }, { "docid": "77d52fbc35e86c532b319d7c77d9adc0", "score": "0.52266407", "text": "public void addProductForm()\n {\n new AddForm();\n }", "title": "" }, { "docid": "b5e64a90814d193a97c5a3b04634ad41", "score": "0.5222676", "text": "private void BookSearchActionPerformed(ActionEvent evt) {\n\t\tString bookName = this.s_bookNameTxt.getText();\n\t\tString author = this.s_authorTxt.getText();\n\t\tBookGenre bookGenre = (BookGenre) this.s_bookGenreJcb.getSelectedItem();\n\t\tint bookGenreId = bookGenre.getId();\n\t\tBook book = new Book(bookName, author, bookGenreId);\n\t\tthis.fillTable(book);\n\t}", "title": "" }, { "docid": "f1a189ad53bfa55e3f978f2fadecc5fd", "score": "0.5216765", "text": "@UserActionsLog(entity = PartyAgreement.class)\n @RequestMapping(value = \"/search/results\", method = RequestMethod.POST)\n public String searchResults(@ModelAttribute(\"partyAgreementSearchForm\") @Valid PartyAgreementSearchForm searchForm, BindingResult result,\n @RequestParam(value = \"isSearchDialog\", required = false) Boolean isSearchDialog,\n @ActiveUser SessionUserInformation userInfo, Model model, SessionStatus sessionStatus, HttpServletRequest request) {\n searchForm.setSearchOnLoad(false);\n sessionStatus.setComplete();\n\n if (result.hasErrors()) {\n populateSearchForm(model, searchForm, \"\", isSearchDialog);\n return isSearchDialog != null && isSearchDialog ? null : \"fragment.partyAgreementSearch.inner\";\n }\n\n List<PartyAgreement> partyAgreements = partyAgreementService.findPartyAgreementsByCriteria(searchForm.getAuthorizingParty_search(), searchForm.getDelegateParty_search(), searchForm.getTransaction_search(), userInfo.getBusinessDomain().getId());\n\n model.addAttribute(\"partyAgreements\", partyAgreements);\n populateSearchForm(model, searchForm, \"\", isSearchDialog);\n\n\n return isSearchDialog != null && isSearchDialog ? null : \"fragment.partyAgreementSearch.inner\";\n }", "title": "" }, { "docid": "74e858304cb94204372bde23f1804713", "score": "0.5196781", "text": "public static void SearchProduct(){\n WebElement searchfield = driver.findElement(By.id(\"twotabsearchtextbox\"));\n searchfield.click();\n\n // Print a Log In message to the screen\n System.out.println(\"Successfully found search field.\");\n\n //Input search string\n searchfield.sendKeys(\"Nikon\");\n\n //Submit query\n WebElement searchbutton = driver.findElement(By.id(\"nav-search-submit-text\"));\n searchbutton.submit();\n\n }", "title": "" }, { "docid": "0962335b58d756c0e6c6b71f992cea94", "score": "0.51739025", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n medicineId_txt = new javax.swing.JTextField();\n jLabel11 = new javax.swing.JLabel();\n jLabel12 = new javax.swing.JLabel();\n medicineName_txt = new javax.swing.JTextField();\n search_btn = new javax.swing.JButton();\n close_btn = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n result_txtArea = new javax.swing.JTextArea();\n availabe_lbl = new javax.swing.JLabel();\n unavailable_lbl = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"Search Medicine\");\n setLocationByPlatform(true);\n setResizable(false);\n addWindowListener(new java.awt.event.WindowAdapter() {\n public void windowClosed(java.awt.event.WindowEvent evt) {\n formWindowClosed(evt);\n }\n public void windowClosing(java.awt.event.WindowEvent evt) {\n formWindowClosing(evt);\n }\n });\n\n jLabel1.setFont(new java.awt.Font(\"Arial\", 0, 30)); // NOI18N\n jLabel1.setForeground(new java.awt.Color(0, 51, 255));\n jLabel1.setText(\"Search Medicine\");\n\n medicineId_txt.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n medicineId_txt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n medicineId_txtActionPerformed(evt);\n }\n });\n\n jLabel11.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n jLabel11.setText(\"Medicine ID\");\n\n jLabel12.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n jLabel12.setText(\"Medicine Name\");\n\n medicineName_txt.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n medicineName_txt.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n medicineName_txtActionPerformed(evt);\n }\n });\n\n search_btn.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n search_btn.setText(\"Search\");\n search_btn.setFocusable(false);\n search_btn.setPreferredSize(new java.awt.Dimension(104, 37));\n search_btn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n search_btnActionPerformed(evt);\n }\n });\n\n close_btn.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n close_btn.setText(\"Close\");\n close_btn.setFocusable(false);\n close_btn.setPreferredSize(new java.awt.Dimension(104, 37));\n close_btn.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n close_btnActionPerformed(evt);\n }\n });\n\n result_txtArea.setColumns(20);\n result_txtArea.setFont(new java.awt.Font(\"Arial\", 0, 20)); // NOI18N\n result_txtArea.setRows(5);\n jScrollPane1.setViewportView(result_txtArea);\n\n availabe_lbl.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n availabe_lbl.setForeground(new java.awt.Color(33, 175, 123));\n availabe_lbl.setText(\"Available\");\n\n unavailable_lbl.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n unavailable_lbl.setForeground(new java.awt.Color(255, 0, 23));\n unavailable_lbl.setText(\"Unvailable\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(80, 80, 80)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel11)\n .addComponent(jLabel12))\n .addGap(32, 32, 32)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(medicineId_txt, javax.swing.GroupLayout.DEFAULT_SIZE, 225, Short.MAX_VALUE)\n .addComponent(medicineName_txt)))\n .addGroup(layout.createSequentialGroup()\n .addComponent(availabe_lbl)\n .addGap(31, 31, 31)\n .addComponent(unavailable_lbl))\n .addGroup(layout.createSequentialGroup()\n .addGap(167, 167, 167)\n .addComponent(search_btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(20, 20, 20)\n .addComponent(close_btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addComponent(jLabel1))\n .addGroup(layout.createSequentialGroup()\n .addGap(50, 50, 50)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addContainerGap(50, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(30, 30, 30)\n .addComponent(jLabel1)\n .addGap(28, 28, 28)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel11)\n .addComponent(medicineId_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(10, 10, 10)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel12)\n .addComponent(medicineName_txt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(20, 20, 20)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(search_btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(close_btn, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGap(12, 12, 12)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(availabe_lbl)\n .addComponent(unavailable_lbl))\n .addGap(10, 10, 10)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 250, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(26, Short.MAX_VALUE))\n );\n\n pack();\n setLocationRelativeTo(null);\n }", "title": "" }, { "docid": "d9ea6b74c16a31463b9297e80bbc3eb1", "score": "0.5160777", "text": "public Search() {\n initComponents();\n }", "title": "" }, { "docid": "12e4ad12b68d08ea8c5b558e81e6aa38", "score": "0.5154979", "text": "public void newAction(int idx) {\n\t\tif(idx==0)\n\t\t{\n\t\t\thargaJual=new HargaJual();\n\t\t\tif(PriceListFilter.selectedHargaJual!=null)\n\t\t\t\thargaJual=PriceListFilter.selectedHargaJual;\n\t\t\tform.setModelObject(hargaJual);\n\t\t\t\n\t\t}\n\t\telse\n\t\t{\n\t\t\thargaPokok=new HargaPokok();\n\t\t\tif(PriceListFilter.selectedHargaPokok!=null)\n\t\t\t\thargaPokok=PriceListFilter.selectedHargaPokok;\n\t\t\tform1.setModelObject(hargaPokok);\n\t\t}\n\t\tthis.readOnly(false);\n\t}", "title": "" }, { "docid": "fc599eaa1e5e9774c91a723b9c457b9d", "score": "0.5146726", "text": "public void search(){\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a37151a4242be889c467f3b27b851d55", "score": "0.5144444", "text": "@RequestMapping(value = { \"/vendorsearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchblankpostv(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"vendorSearch\") PatientSearchForm PatientSearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> vendorList = searchUtilBo.searchVendorwin(PatientSearchForm,\n\t\t\t\tsession);\n\n\t\tmodel.addAttribute(\"vendor\", vendorList);\n\n\t\treturn \"search/vendorsearchwin\";\n\t}", "title": "" }, { "docid": "7dd4d45e696213c3bd2989be6b5ba240", "score": "0.51400125", "text": "public void proposeSearch() {\n update();\n }", "title": "" }, { "docid": "59a67478f3e83ea59147c6a3cfc3325e", "score": "0.5138718", "text": "public void openForm(){\n\t\tFilters formFilter = new Filters(driver, filters, \"forms\");\t\n\t\tformAction(driver, \"View\", findForm(driver));\n\t\tformVisible(driver);\n\t}", "title": "" }, { "docid": "920ebc14377a5d850aa98fe858927289", "score": "0.5131507", "text": "public String searchNewData() {\n SavedQueryDTO dto = null;\n dto = (SavedQueryDTO) queryData.getRowData();\n\n DICOMQuery newQuery = repopulateSearch(dto);\n CurationStatusDateCriteria csd = new CurationStatusDateCriteria();\n Date startDate = dto.getExecutionTime();\n\n startDate = updateNewResultsFlag(newQuery, startDate);\n\n\n csd.setCurationStatusDate(startDate);\n newQuery.setCriteria(csd);\n\n // Perform search\n SearchWorkflowBean swb = BeanManager.getSearchWorkflowBean();\n\n try {\n swb.asynchronousQuery(newQuery);\n } catch (Exception e) {\n logger.error(\"Error resubmitting query\", e);\n }\n\n MessageUtil.addInfoMessage(\"MAINbody:dataForm:newDataQuery\",\n \"newDataQuery\",\n new Object[] { swb.getQuery().getQueryName(), startDate });\n\n return \"submitSearch\";\n }", "title": "" }, { "docid": "dd4225dbc92b01da8e6bbe8473677923", "score": "0.51299167", "text": "public void showNewFencerForm(View v) {\n\n //start new fencer form\n Intent intent = new Intent().setClass(this, NewFencer.class);\n intent.putExtra(\"Source\", \"NewPool\");\n\n //Start Activity\n startActivityForResult(intent, 1);\n }", "title": "" }, { "docid": "71e2d2d6ddec0bcb4b655c3dbd250e3e", "score": "0.5125507", "text": "@Override\r\n\tpublic void searchShow() {\n\t\t\r\n\t}", "title": "" }, { "docid": "41776d2420c4309973c9b3b9189690c3", "score": "0.5122148", "text": "private String showNewProductForm(HttpServletRequest request, HttpServletResponse response) {\n\t\treturn \"productForm.jsp\";\n\t}", "title": "" }, { "docid": "30ef7d2ed2ab2fb4595c51f9807b73d8", "score": "0.51139665", "text": "public SEARCH_PRODUCT_EMP() {\n initComponents();\n table();\n search();\n }", "title": "" }, { "docid": "00f5799bea9fec4926090e2ba832ff91", "score": "0.50999165", "text": "@GetMapping(value =\"/createForm\")\n public ModelAndView createForm() {\n ModelAndView modelAndView = new ModelAndView(DVDCREATE_JSP, \n \"command\", new Dvd());\n try {\n modelAndView.addObject(Constants.LABEL_CATEGORIES,\n dvdService.getCategory());\n modelAndView.addObject(LABEL_TODAY, LocalDate.now());\n return modelAndView;\n } catch (DvdStoreException dvdException) {\n return new ModelAndView(DVD_JSP, Constants.LABEL_MESSAGE, \n dvdException.getMessage());\n } \n }", "title": "" }, { "docid": "d4aa61893afaf4514f47584246edde2c", "score": "0.50836307", "text": "@RequestMapping(value = { \"/surgerysearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchblankpostsur(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"surgerySearch\") SurgerySearchForm surgerySearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> surgeryList = searchUtilBo.searchSurgerywin(surgerySearchForm,\n\t\t\t\tsession);\n\n\t\tmodel.addAttribute(\"surgery\", surgeryList);\n\n\t\t// system.out\n\t\treturn \"search/surgerysearchwin\";\n\t}", "title": "" }, { "docid": "2e1fdff9ccc732825039e71297d02e75", "score": "0.50740224", "text": "public void enterSearchItem() {\n\t\ttry {\n\t\t\ttxtBoxSearch.click();\n\t\t\tString searchItem = files.SearchItem();\n\t\t\ttxtBoxSearch.sendKeys(searchItem);\n\t\t\tHTMLReportGenerator.StepDetails(\"Pass\", \"- Click on search field and Enter search Item \", \"\",\n\t\t\t\t\tTakeScreenShot.TakeScreenShot(BaseClass.Get_ImageFilePath(), driver));\n\t\t\t\n\t\t\twait.until(ExpectedConditions.visibilityOfAllElements(productSelected));\n\t\t\tproductSelected.click();\t\t\t\n\t\t\tHTMLReportGenerator.StepDetails(\"Pass\", \"- Selected search Item in dropdown list \", \"\",\n\t\t\t\t\tTakeScreenShot.TakeScreenShot(BaseClass.Get_ImageFilePath(), driver));\n\t\t} catch (Exception e) {\n\t\t\tAssert.fail(\"Search process failed\");\n\t\t}\n\t}", "title": "" }, { "docid": "af56e60877a5a71c87a999720dac2b4d", "score": "0.50724494", "text": "private void populateForm(Model model, PartyAgreementForm form, String pageMode) {\n model.addAttribute(\"partyAgreementForm\", form);\n model.addAttribute(\"pageMode\", pageMode);\n }", "title": "" }, { "docid": "68a16ccd5675f61477210b10f9c3a276", "score": "0.50668263", "text": "public void search()\r\n {\r\n String field = \"\" ;\r\n\r\n switch (choiceBox.getValue().toLowerCase())\r\n {\r\n case \"by book id\": field = \"BookID\" ;\r\n break ;\r\n\r\n case \"by title\": field = \"Title\" ;\r\n break ;\r\n\r\n case \"by author\": field = \"Author\" ;\r\n break ;\r\n\r\n case \"by isbn\": field = \"ISBN\" ;\r\n break ;\r\n }\r\n\r\n this.tableView.setItems(dataBaseController.getFromBooks(field, this.searchField.getText())) ;\r\n }", "title": "" }, { "docid": "f2f76331d6590272d64d076b7b07ee62", "score": "0.5062566", "text": "public void searchCodigoVentaOnPress()\n\t{\n\t\tExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();\n\t\tint i = Integer.parseInt(externalContext.getRequestParameterMap().get(\"index\"));\n\t\t\n\t\tAjaxService ajax = (AjaxService) getBean(\"ajaxService\");\n\t\tPais pais = this.mPantallaPrincipalBean.getCurrentCountry();\n\t\tMantenimientoOCRCapturaPedidosForm f = (MantenimientoOCRCapturaPedidosForm)this.listaTablaDetalle.get(i);\n\t\tMantenimientoOCRCapturaPedidosForm formPrincipal = (MantenimientoOCRCapturaPedidosForm)this.formBusqueda;\n\t\t\n\t\tif(f.getLabel().length() == 5)\n\t\t{\n\t\t\tif(StringUtils.isBlank(formPrincipal.getCodigoConsultora())){\n\t\t\t\tf.setLabel(\"\");\t\t\t\t\n\t\t\t\tthis.addWarn(\"Advertencia:\", \"Seleccione una Consultora.\");\n\t\t\t}else\n\t\t\t{\n\t\t\t\tf.setCodigoConsultora(formPrincipal.getCodigoConsultora());\n\t\t\t\t\n\t\t\t\tif(!validaCodigoVentaMemoria(f))\n\t\t\t\t\treturn;\n\t\t\t\t\n\t\t\t\tif(!validarCUVExistente(f.getLabel(), i))\n\t\t\t\t{\n\t\t\t\t\tString statusFaltanteAnunciado = ajax.validarCUVFaltanteAnunciado(f.getLabel(), f.getPeriodo(), f.getCodigoConsultora());\n\t\t\t\t\tif(statusFaltanteAnunciado.equalsIgnoreCase(\"false\"))\n\t\t\t\t\t{\n\t\t\t\t\t\tLabelPedidosValue[] resultado = ajax.getDescPrecio2(pais.getCodigo(), f.getPeriodo(), f.getCodigoConsultora(), \n\t\t\t\t\t\t\t\tf.getNumLote(), f.getLabel());\n\t\t\t\t\t\t\n\t\t\t\t\t\tpasarDatos(f, resultado);\n\t\t\t\t\t\t\n\t\t\t\t\t\tthis.getRequestContext().execute(\"PrimeFaces.focus('tablaDetalleN:\"+(i)+\":label4')\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(StringUtils.isNotBlank(f.getLabel3())){\n\t\t\t\t\t\t\tString ofertaComp = ajax.validarCUVCompuesta(f.getLabel(), f.getPeriodo());\n\t\t\t\t\t\t\tif(Double.parseDouble(ofertaComp) > 0)\n\t\t\t\t\t\t\t\tf.setLabel3(ofertaComp);\n\t\t\t\t\t\t}\t\n\t\t\t\t\t}else\n\t\t\t\t\t{\n\t\t\t\t\t\tthis.addWarn(\"Advertencia\", statusFaltanteAnunciado);\n\t\t\t\t\t\tf.setLabel(\"\");\n\t\t\t\t\t}\n\t\t\t\t}else\n\t\t\t\t{\n\t\t\t\t\tf.setLabel(\"\");\n\t\t\t\t\tthis.addWarn(\"Advertencia: \", \"El producto ya esta registrado\");\n\t\t\t\t}\t\t\t\t\n\t\t\t}\t\t\t\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "dd29928baa9e7b7d24526b060b65e9e3", "score": "0.5057383", "text": "public ConsultaPorConvenioTableModel(String search) {\n this.search = search;\n }", "title": "" }, { "docid": "335bb3913d04d3796fdbfcbd1d476393", "score": "0.5056774", "text": "public void searchAction() {\n if (searchQuery.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(this, \"Please type something to search, don't be so ignant!??!\");\n return;\n }\n Search bar = new Search();\n if (!checkFirstName.isSelected()) {\n bar.searchFirstName(false);\n }\n if (!checkLastName.isSelected()) {\n bar.searchLastName(false);\n }\n if (!checkNickName.isSelected()) {\n bar.searchNickName(false);\n }\n if (!checkDescription.isSelected()) {\n bar.searchDescription(false);\n }\n if (!checkContacts.isSelected()) {\n bar.searchContacts(false);\n }\n if (!checkAddresses.isSelected()) {\n bar.searchAddresses(false);\n }\n ArrayList people = bar.performSearch(searchQuery.getText());\n if (people.size() == 0) {\n JOptionPane.showMessageDialog(this, \"No Search Results!\");\n }\n else if (people.size() == 1) {\n try {\n Person singlePerson = new Person(((KeyValue)people.get(0)).getKey());\n parent.showProfile(singlePerson);\n }\n catch (Exception e) {\n Debug.print(e.getMessage());\n }\n }\n else {\n // Show Search Results in Filter Tree\n parent.showPeopleList(people);\n }\n \n Debug.printListToStdout(people);\n this.dispose();\n }", "title": "" }, { "docid": "e27b8b793ad4b649f8e8dc87af9037a6", "score": "0.5053585", "text": "@RequestMapping(value = { \"/inventorysearchrequestwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchinventoryblankpostreq(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"inventorySearch\") InventorySearchForm inventorySearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> inventoryList = searchUtilBo.searchInventorywinALL(\n\t\t\t\tinventorySearchForm, session);\n\n\t\tmodel.addAttribute(\"inventory\", inventoryList);\n\n\t\treturn \"search/inventorysearchrequestwin\";\n\t}", "title": "" }, { "docid": "64c15cead860e782761c955c06ac7267", "score": "0.50386286", "text": "@RequestMapping(value = { \"/inventorysearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchinventoryblankpost(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"inventorySearch\") InventorySearchForm inventorySearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> inventoryList = searchUtilBo.searchInventorywinALL(\n\t\t\t\tinventorySearchForm, session);\n\n\t\tmodel.addAttribute(\"inventory\", inventoryList);\n\n\t\treturn \"search/inventorysearchwin\";\n\t}", "title": "" }, { "docid": "6b3fd2eaeaf196018d1fde5160475f7f", "score": "0.5031575", "text": "public void searchClick()\r\n\t{\r\n\t\tif (cbSearchBy.getValue().equalsIgnoreCase(\"search item name\"))\r\n\t\t{\r\n\t\t\ta.search(tfSearch.getText());\r\n\t\t\ttable.setItems(a.getItemList());\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "16f7e805705c138c95141e9f040fe25a", "score": "0.5031421", "text": "@FXML\n\tpublic void search (ActionEvent event){\n\t\ttry {\n\t\t\tInteger.parseInt(idText.getText());\n\t\t} catch (Exception e) {\n\t\t\tJOptionPane.showMessageDialog(null, \"Insert Correct ID \");\n\t\t\tidText.setText(\"\");\n\t\t\treturn;\n\t\t}\n\t\t\n\t\t//get product from data base\n\t\tProduct product = new Product().getProduct(Integer.parseInt(idText.getText()));\n\t\t\n\t\t//if id to update not found in data base\n\t\tif (product==null){\n\t\t\tJOptionPane.showMessageDialog(null, \" ID not Found Please insert valid id \");\n\t\t\tidText.setText(\"\");\n\t\t\treturn;\n\t\t}\n\t\t//prevent user to change id \n\t\tidText.setEditable(false);\n\t\t\n\t\tnameText.setText(product.getName());\n\t\tquantityText.setText(Integer.toString(product.getQuantity()));\n\t\tsellPriceText.setText(Integer.toString(product.getSellPrice()));\n\t\tpayPriceText.setText(Integer.toString(product.getPayPrice()));\n\t\texpireDateText.setText(product.getExpireDate());\n\t\t\n\t\t\n\t\t//delete product from data base and then save\n\t\tproduct.delete(Integer.parseInt(idText.getText()));\n\t\t\n\t}", "title": "" }, { "docid": "eb34dd14b744e2fbe54d26bb175e7b0e", "score": "0.50196785", "text": "@Override\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tsearch(tv_ingredients_list.getText().toString());\n\t\t\t\tSystem.out.println(\"search finished\");\n\t\t\t\tBundle bundle = new Bundle();\t\t\t\t\n\t\t\t\tbundle.putIntArray(\"selected_foods\", results);\n\t\t\t\tSecondPage secondFragment = new SecondPage();\n\t\t\t\tsecondFragment.setArguments(bundle);\n\t\t\t\tgetFragmentManager().beginTransaction()\n\t\t\t\t\t\t.replace(R.id.container, (Fragment) secondFragment)\n\t\t\t\t\t\t.addToBackStack(FisrtPage.class.getName()).commit();\n\t\t\t}", "title": "" }, { "docid": "b2b6317b37241e9c4f143ab3d7742538", "score": "0.501746", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblSearch = new javax.swing.JLabel();\n btnSearch = new javax.swing.JButton();\n btnBack = new javax.swing.JButton();\n txtSearch = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jLabel2 = new javax.swing.JLabel();\n jLabel3 = new javax.swing.JLabel();\n jLabel4 = new javax.swing.JLabel();\n jLabel5 = new javax.swing.JLabel();\n\n lblSearch.setText(\"Search by Brand Name or Year of manufacturing or Serial Number\");\n\n btnSearch.setText(\"Search\");\n btnSearch.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSearchActionPerformed(evt);\n }\n });\n\n btnBack.setText(\"< Back\");\n btnBack.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnBackActionPerformed(evt);\n }\n });\n\n jLabel1.setText(\"Search by: \");\n\n jLabel2.setText(\"1.Brand Name \");\n\n jLabel3.setText(\"2. Year of manufacturing \");\n\n jLabel4.setText(\"3. Model Number\");\n\n jLabel5.setText(\"4.City\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGap(49, 49, 49)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(42, 42, 42)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 173, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(txtSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addContainerGap(173, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addComponent(btnBack)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 117, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(129, 129, 129))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel2))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jLabel3)\n .addGap(18, 18, 18)\n .addComponent(jLabel4)\n .addGap(18, 18, 18)\n .addComponent(jLabel5)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 80, Short.MAX_VALUE)\n .addComponent(btnBack)\n .addGap(80, 80, 80))\n .addGroup(layout.createSequentialGroup()\n .addGap(18, 18, 18)\n .addComponent(txtSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(btnSearch)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n );\n }", "title": "" }, { "docid": "affea675f12f878c682bb8c674e6de3c", "score": "0.5008299", "text": "@RequestMapping(value = \"/create\", method = RequestMethod.GET)\n public String create(Model model) {\n model.addAttribute(\"pageMode\", \"new\");\n refererPage.setAction(\"create\");\n\n return \"page.partyAgreement\";\n }", "title": "" }, { "docid": "6a2bf0968be8b809c6b8cff0bc89178c", "score": "0.5008144", "text": "@Security.Authenticated(Secured.class)\n public static Result search() {\n //buildCloud();\n System.out.println(\"id----\" + Secured.getUserInfo(ctx()).getId());\n System.out.println(\"EMAIL----\" + Secured.getUser(ctx()));\n\n EntryDB.updateUserImage(Secured.getUserInfo(ctx()).getId(), Secured.getUser(ctx()));\n int entryCount = checkNoOfEntries();\n if (entryCount == 0) {\n noEntryForUser = true;\n }\n else {\n noEntryForUser = false;\n }\n isSearchResult = false;\n List<UrlInfo> urlList = new ArrayList<UrlInfo>();\n List<NoteInfo> noteList = new ArrayList<NoteInfo>();\n List<FileInfo> fileList = new ArrayList<FileInfo>();\n SearchFormData data = new SearchFormData();\n Form<SearchFormData> searchFormData = Form.form(SearchFormData.class).fill(data);\n System.out.println(\"isSearchResult1----\" + isSearchResult);\n return ok(Search.render(\"Search\", Secured.isLoggedIn(ctx()), Secured.getUserInfo(ctx()), searchFormData,\n urlList,noteList, fileList, noOfResults, isSearchResult, noEntryForUser));\n }", "title": "" }, { "docid": "9aced000cca1af63a432dc3362363d2c", "score": "0.50080806", "text": "public Search() {\n }", "title": "" }, { "docid": "8de0976079e2af9401d5a3d81ecf3b09", "score": "0.50046796", "text": "public SearchPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}", "title": "" }, { "docid": "422d8fb9f224f6f450b55c41adc6157c", "score": "0.5001875", "text": "@RequestMapping(value = { \"/allergysearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchallergyblankpost(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"allergySearch\") AllergySearchForm allergySearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> allergyList = searchUtilBo.searchAllergywin(allergySearchForm,\n\t\t\t\tsession);\n\n\t\tmodel.addAttribute(\"allergy\", allergyList);\n\n\t\treturn \"search/allergysearchwin\";\n\t}", "title": "" }, { "docid": "6d55a61b3c9345353c13eba4667c698d", "score": "0.49994057", "text": "private void createForm() {\n\t\tform = new Form(\"Add Information\");\n\t\ttxtName = new TextField(\"Name\", \"\", 30, TextField.ANY);\n\t\ttxtTelephon = new TextField(\"Telephone\", \"\", 30, TextField.NUMERIC);\n\t\ttxtEmail = new TextField(\"Email\", \"\", 30, TextField.EMAILADDR);\n\n\t\tform.append(txtName);\n\t\tform.append(txtTelephon);\n\t\tform.append(txtEmail);\n\n\t\tform.addCommand(mBack);\n\t\tform.addCommand(mOk);\n\t\tform.setCommandListener(this);\n\t}", "title": "" }, { "docid": "f41d07a9fbc3ee1fdb76f44754c11e13", "score": "0.4992765", "text": "public static void showNewForm(HttpServletRequest request, HttpServletResponse response) {\n\t\t\n\t}", "title": "" }, { "docid": "429643e595be53b9331c2365003f1cc0", "score": "0.49871984", "text": "private void createSearch()\n {\n _search = new SearchTerm() \n {\n\n @Override\n public boolean match(Message msg) \n {\n String subject = null;\n try \n {\n subject = msg.getSubject();\n } \n catch (MessagingException ex) \n {\n Logger.getLogger(EmailModel.class.getName()).log(Level.SEVERE, null, ex);\n }\n\n if(subject == null)\n {\n return false;\n }\n else if(subject.contains(\"Encrypted\"))\n {\n return true;\n }\n else\n { \n return false;\n }\n } \n }; \n }", "title": "" }, { "docid": "f4e4a3e0f567a8936544c9dc7377ee11", "score": "0.49681523", "text": "private void menuCercaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_menuCercaActionPerformed\n SearchDialog s = new SearchDialog(this, false, txtCode);\n s.setVisible(true);\n }", "title": "" }, { "docid": "6e696c302365f48593b4d9aefb26bf60", "score": "0.496282", "text": "public void SearchData() {\n btnSearchFactory.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v)\n {\n //call the search method\n ArrayList<Factory> factories= dataBaseFactory.getData(editFactory.getText().toString(),\n editBranch.getText().toString(), editCity.getText().toString(), editAddress.getText().toString(),\n editPhone.getText().toString(), editFax.getText().toString(), editContactPerson.getText().toString(),\n editMailingAddress.getText().toString(), editEmployeesNumber.getText().toString(),\n editInspector.getText().toString());\n\n //call the view factory activity\n Intent intent = new Intent(getApplicationContext(), ViewAllFactory.class);\n intent.putExtra(\"factory_list\", factories);\n startActivity(intent);\n }\n });\n }", "title": "" }, { "docid": "3e0625506e963b8691b8465ee5b248ee", "score": "0.49547338", "text": "public CREARNUEVOPRODUCTO() {\n initComponents();\n obtenerCodigo();\n Descripcion.requestFocus();\n }", "title": "" }, { "docid": "c0cc4d2ebd73c646a59432c0ab735ed6", "score": "0.4951882", "text": "private void eventHandlerSearchButton()\n\t\t{\n\t\t\t//view.getSearchButton().setEnabled(false);\n\t\t\tthis.setEnabled(false);\n\t\t\tSearchController searchFrame;\n\t\t\tSystem.out.println(movieDatabase.getMovieDatabase());\n\t\t\tsearchFrame = new SearchController(\"Search\", movieDatabase, removedEnteries, this, view);\n\t\t\t\n\t\t\tfor(int i = 0; i< removedEnteries.getMovieDatabase().size(); i++)\n\t\t\t{\n\t\t\t\tmovieDatabase.getMovieDatabase().add(removedEnteries.getDatabaseEntry(i));\n\t\t\t}\n\t\t\tremovedEnteries.getMovieDatabase().clear();\n\t\t\tview.update();\n\t\t\t\n\t\t\tsearchFrame.setVisible(true);\n\t\t\t\n\t\t}", "title": "" }, { "docid": "8c71440fe6683150268cc9fea2abbb97", "score": "0.49481326", "text": "SearchService<O> build();", "title": "" }, { "docid": "dfc29235c0ad6227590595b083d96d87", "score": "0.49479988", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jTextField2 = new javax.swing.JTextField();\n jTextField3 = new javax.swing.JTextField();\n jLabel1 = new javax.swing.JLabel();\n jTextField4 = new javax.swing.JTextField();\n jLabel2 = new javax.swing.JLabel();\n jTextField5 = new javax.swing.JTextField();\n jLabel3 = new javax.swing.JLabel();\n jTextField6 = new javax.swing.JTextField();\n jLabel4 = new javax.swing.JLabel();\n jTextField7 = new javax.swing.JTextField();\n jLabel5 = new javax.swing.JLabel();\n jTextField8 = new javax.swing.JTextField();\n jLabel6 = new javax.swing.JLabel();\n jLabel7 = new javax.swing.JLabel();\n jPanel1 = new javax.swing.JPanel();\n txtName = new javax.swing.JTextField();\n txtAddress1 = new javax.swing.JTextField();\n jLabel8 = new javax.swing.JLabel();\n txtAddress2 = new javax.swing.JTextField();\n jLabel9 = new javax.swing.JLabel();\n txtCity = new javax.swing.JTextField();\n jLabel10 = new javax.swing.JLabel();\n txtPostcode = new javax.swing.JTextField();\n jLabel11 = new javax.swing.JLabel();\n txtPhoneNo = new javax.swing.JTextField();\n jLabel12 = new javax.swing.JLabel();\n txtEmail = new javax.swing.JTextField();\n jLabel13 = new javax.swing.JLabel();\n jLabel14 = new javax.swing.JLabel();\n jLabel15 = new javax.swing.JLabel();\n jScrollPane1 = new javax.swing.JScrollPane();\n lstSupplier = new javax.swing.JList<>();\n jSeparator1 = new javax.swing.JSeparator();\n jLabel17 = new javax.swing.JLabel();\n jLabel18 = new javax.swing.JLabel();\n jLabel19 = new javax.swing.JLabel();\n txtSearchCity = new javax.swing.JTextField();\n txtSearchName = new javax.swing.JTextField();\n txtSearchPostcode = new javax.swing.JTextField();\n btnViewIngredients = new javax.swing.JButton();\n jLabel20 = new javax.swing.JLabel();\n btnEmailAll = new javax.swing.JButton();\n btnAddSupplier = new javax.swing.JButton();\n btnClose = new javax.swing.JButton();\n btnEmail = new javax.swing.JButton();\n btnSearch = new javax.swing.JButton();\n btnConfirm = new javax.swing.JButton();\n btnRemove = new javax.swing.JButton();\n\n jLabel1.setText(\"Name :\");\n\n jLabel2.setText(\"Address Line 1 :\");\n\n jLabel3.setText(\"Address Line 2 :\");\n\n jLabel4.setText(\"City :\");\n\n jLabel5.setText(\"PostCode :\");\n\n jLabel6.setText(\"Phone No :\");\n\n jLabel7.setText(\"Email :\");\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n\n jLabel8.setText(\"Name :\");\n\n jLabel9.setText(\"Address Line 1 :\");\n\n jLabel10.setText(\"Address Line 2 :\");\n\n jLabel11.setText(\"City :\");\n\n jLabel12.setText(\"Postcode :\");\n\n jLabel13.setText(\"Phone No :\");\n\n jLabel14.setText(\"Email :\");\n\n jLabel15.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n jLabel15.setText(\"Search Suppliers\");\n\n jScrollPane1.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);\n jScrollPane1.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);\n\n lstSupplier.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);\n jScrollPane1.setViewportView(lstSupplier);\n\n jLabel17.setText(\"Name :\");\n\n jLabel18.setText(\"City :\");\n\n jLabel19.setText(\"Postcode :\");\n\n btnViewIngredients.setText(\"View Ingredients\");\n btnViewIngredients.setPreferredSize(new java.awt.Dimension(125, 40));\n btnViewIngredients.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnViewIngredientsActionPerformed(evt);\n }\n });\n\n jLabel20.setFont(new java.awt.Font(\"Tahoma\", 0, 24)); // NOI18N\n jLabel20.setText(\"Supplier Details\");\n\n btnEmailAll.setText(\"Email All Suppliers\");\n btnEmailAll.setMinimumSize(new java.awt.Dimension(60, 40));\n btnEmailAll.setPreferredSize(new java.awt.Dimension(75, 40));\n btnEmailAll.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnEmailAllActionPerformed(evt);\n }\n });\n\n btnAddSupplier.setText(\"Add Supplier\");\n btnAddSupplier.setMinimumSize(new java.awt.Dimension(60, 40));\n btnAddSupplier.setPreferredSize(new java.awt.Dimension(100, 40));\n btnAddSupplier.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnAddSupplierActionPerformed(evt);\n }\n });\n\n btnClose.setText(\"Close\");\n btnClose.setMinimumSize(new java.awt.Dimension(60, 40));\n btnClose.setPreferredSize(new java.awt.Dimension(75, 40));\n btnClose.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnCloseActionPerformed(evt);\n }\n });\n\n btnEmail.setText(\"Email Supplier\");\n btnEmail.setPreferredSize(new java.awt.Dimension(125, 40));\n btnEmail.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnEmailActionPerformed(evt);\n }\n });\n\n btnSearch.setText(\"Search\");\n btnSearch.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnSearchActionPerformed(evt);\n }\n });\n\n btnConfirm.setText(\"Confirm\");\n btnConfirm.setPreferredSize(new java.awt.Dimension(125, 40));\n btnConfirm.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnConfirmActionPerformed(evt);\n }\n });\n\n btnRemove.setText(\"Remove Supplier\");\n btnRemove.setMinimumSize(new java.awt.Dimension(60, 40));\n btnRemove.setPreferredSize(new java.awt.Dimension(100, 40));\n btnRemove.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btnRemoveActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jSeparator1)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(19, 19, 19)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel17)\n .addComponent(jLabel18))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(txtSearchName, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabel19)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(txtSearchPostcode))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(txtSearchCity, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 88, javax.swing.GroupLayout.PREFERRED_SIZE))))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel15)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnClose, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGap(5, 5, 5))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 209, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(10, 10, 10)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(jLabel20)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel8)\n .addComponent(jLabel9))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(txtName)\n .addComponent(txtAddress1, javax.swing.GroupLayout.PREFERRED_SIZE, 201, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)\n .addComponent(jLabel11)\n .addComponent(jLabel10)\n .addComponent(jLabel12)\n .addComponent(jLabel14)\n .addComponent(jLabel13))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)\n .addComponent(txtEmail, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 201, Short.MAX_VALUE)\n .addComponent(txtCity, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtPostcode, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtPhoneNo, javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(txtAddress2)))\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addGap(8, 8, 8)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addComponent(btnEmail, javax.swing.GroupLayout.DEFAULT_SIZE, 137, Short.MAX_VALUE)\n .addComponent(btnAddSupplier, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnConfirm, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(btnEmailAll, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnViewIngredients, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btnRemove, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))\n .addGap(10, 10, 10))))\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jLabel15)\n .addComponent(btnClose, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel17)\n .addComponent(txtSearchName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabel19)\n .addComponent(txtSearchPostcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel18)\n .addComponent(txtSearchCity, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnSearch))\n .addGap(5, 5, 5)\n .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)\n .addGroup(jPanel1Layout.createSequentialGroup()\n .addComponent(jLabel20)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel8)\n .addComponent(txtName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel9)\n .addComponent(txtAddress1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel10)\n .addComponent(txtAddress2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel11)\n .addComponent(txtCity, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel12)\n .addComponent(txtPostcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel13)\n .addComponent(txtPhoneNo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabel14)\n .addComponent(txtEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnViewIngredients, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnConfirm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnEmailAll, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnEmail, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btnAddSupplier, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(btnRemove, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addComponent(jScrollPane1))\n .addContainerGap())\n );\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 0, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n );\n\n pack();\n }", "title": "" }, { "docid": "e31bcf8b22dc4e2fe8a451bdd9bcca95", "score": "0.4943337", "text": "@Override\n\n\t\tpublic void actionPerformed(ActionEvent e)\n\n\t\t{\n\n\t\t\t// Radio buttons\n\n\t\t\tif (e.getSource() == rdbtnLegalDesc)\n\n\t\t\t{\n\n\t\t\t\tsearchType = \"legal description\";\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == rdbtnPrice)\n\n\t\t\t{\n\n\t\t\t\tsearchType = \"price\";\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == rdbtnQuadOfCity)\n\n\t\t\t{\n\n\t\t\t\tsearchType = \"quadrant\";\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == rdbtnCommPropID)\n\n\t\t\t{\n\n\t\t\t\tsearchType = \"id\";\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == btnSearch)\n\n\t\t\t{\n\n\t\t\t\tlist.clear();\n\n\t\t\t\tdisplayList.clear();\n\n\t\t\t\tList<CommercialProperty> properties = commBroker.search(txtSearchHere.getText(), searchType);\n\n\t\t\t\tfor (int i = 0; i < properties.size(); i++)\n\n\t\t\t\t{\n\n\t\t\t\t\tlist.addElement(properties.get(i));\n\n\t\t\t\t\tdisplayList.addElement(\n\t\t\t\t\t\t\tproperties.get(i).getId() + \" - \" + properties.get(i).getLegalDescription() + \", \"\n\n\t\t\t\t\t\t\t\t\t+ properties.get(i).getQuadrant() + \" - \" + properties.get(i).getAskingPrice());\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == btnClearSearch)\n\n\t\t\t{\n\n\t\t\t\tlist.clear();\n\n\t\t\t\tdisplayList.clear();\n\n\t\t\t\ttxtSearchHere.setText(\"\");\n\n\t\t\t\tcommPropIDField.setText(\"0\");\n\n\t\t\t\tlegalDescField.setText(\"\");\n\n\t\t\t\taddressField.setText(\"\");\n\n\t\t\t\taskingPriceField.setText(\"\");\n\n\t\t\t\tnoOfFloorsField.setText(\"\");\n\n\t\t\t\tcommentsField.setText(\"\");\n\n\t\t\t\tcityQuadrantCombo.setSelectedIndex(0);\n\n\t\t\t\tpropTypeCombo.setSelectedIndex(0);\n\n\t\t\t\tzoningCombo.setSelectedIndex(0);\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == btnSave)\n\n\t\t\t{\n\n\t\t\t\tboolean testFlag;\n\n\t\t\t\tString zone = (String) zoningCombo.getSelectedItem();\n\n\t\t\t\tString quadrant = (String) cityQuadrantCombo.getSelectedItem();\n\n\t\t\t\tString propType = (String) propTypeCombo.getSelectedItem();\n\n\t\t\t\ttry\n\n\t\t\t\t{\n\n\t\t\t\t\tCommercialProperty addedCommProp = new CommercialProperty(Long.parseLong(commPropIDField.getText()),\n\n\t\t\t\t\t\t\tlegalDescField.getText(), addressField.getText(), quadrant, zone,\n\n\t\t\t\t\t\t\tDouble.parseDouble(askingPriceField.getText()), commentsField.getText(),\n\n\t\t\t\t\t\t\tpropType, Integer.parseInt(noOfFloorsField.getText()));\n\n\t\t\t\t\ttestFlag = commBroker.persist(addedCommProp);\n\n\t\t\t\t\tif (testFlag)\n\n\t\t\t\t\t{\n\n\t\t\t\t\t\toutputLabel.setForeground(Color.GREEN);\n\n\t\t\t\t\t\toutputLabel.setText(\"Property has been added.\");\n\n\t\t\t\t\t}\n\n\t\t\t\t\telse\n\n\t\t\t\t\t{\n\n\t\t\t\t\t\toutputLabel.setForeground(Color.RED);\n\n\t\t\t\t\t\toutputLabel.setText(\"Property has not been added.\");\n\n\t\t\t\t\t}\n\n\t\t\t\t} catch (NumberFormatException e1)\n\n\t\t\t\t{\n\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Error in a number field.\\n\" + e1.getMessage());\n\n\t\t\t\t} catch (InvalidLegalDescriptionException e1)\n\n\t\t\t\t{\n\n\t\t\t\t\tJOptionPane.showMessageDialog(null,\n\t\t\t\t\t\t\t\"The legal field is invalid.\\nPlease look up the format of a legal description.\");\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (e.getSource() == btnDelete)\n\n\t\t\t{\n\n\t\t\t\tCommercialProperty removingCommProp = list.getElementAt(listArea.getSelectedIndex());\n\n\t\t\t\tboolean testFlag = commBroker.remove(removingCommProp);\n\n\t\t\t\tif (testFlag)\n\n\t\t\t\t{\n\n\t\t\t\t\toutputLabel.setForeground(Color.GREEN);\n\n\t\t\t\t\toutputLabel.setText(\"Property has been deleted.\");\n\n\t\t\t\t}\n\n\t\t\t\telse\n\n\t\t\t\t{\n\n\t\t\t\t\toutputLabel.setForeground(Color.RED);\n\n\t\t\t\t\toutputLabel.setText(\"Property has not been deleted.\");\n\n\t\t\t\t}\n\n\t\t\t\tcommPropIDField.setText(\"0\");\n\n\t\t\t\tlegalDescField.setText(\"\");\n\n\t\t\t\taddressField.setText(\"\");\n\n\t\t\t\taskingPriceField.setText(\"\");\n\n\t\t\t\tnoOfFloorsField.setText(\"\");\n\n\t\t\t\tcommentsField.setText(\"\");\n\n\t\t\t\tcityQuadrantCombo.setSelectedIndex(0);\n\n\t\t\t\tpropTypeCombo.setSelectedIndex(0);\n\n\t\t\t\tzoningCombo.setSelectedIndex(0);\n\n\t\t\t\tdisplayList.remove(listArea.getSelectedIndex());\n\n\t\t\t}\n\n\t\t}", "title": "" }, { "docid": "7152ee993c85149e493739d44723c32f", "score": "0.4938444", "text": "@RequestMapping(value = \"/search\", method = RequestMethod.GET)\n public String searchList(@ModelAttribute(\"form\") StudentForm form,\n Model model) {\n model.addAttribute(\"list\",\n service.search(null, form.getPageNo(), form.getPageSize()));\n return \"StudentList\";\n }", "title": "" }, { "docid": "eb553c9e0e9d58c0a462ab3f679d2e82", "score": "0.4935231", "text": "@RequestMapping(value = { \"/billingitemsearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchbillingitemblankpost(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"billingSearch\") BillingSearchForm billingitemSearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> billingitemList = searchUtilBo.searchBillingitemwin(\n\t\t\t\tbillingitemSearchForm, session);\n\n\t\tmodel.addAttribute(\"billingitem\", billingitemList);\n\n\t\treturn \"search/billingitemsearchwin\";\n\t}", "title": "" }, { "docid": "a97ae60d25c70834cc0a107c82d42c7e", "score": "0.4917119", "text": "@Security.Authenticated(Secured.class)\n public static Result searchResult() {\n isSearchResult = true;\n noEntryForUser = false;\n List<UrlInfo> urlList = new ArrayList<UrlInfo>();\n List<NoteInfo> noteList = new ArrayList<NoteInfo>();\n List<FileInfo> fileList = new ArrayList<FileInfo>();\n\n Form<SearchFormData> searchFormData = Form.form(SearchFormData.class).bindFromRequest();\n if (searchFormData.hasErrors()) {\n System.out.println(\"isSearchResult2----\" + isSearchResult);\n return badRequest(Search.render(\"Search\", Secured.isLoggedIn(ctx()), Secured.getUserInfo(ctx()), searchFormData,\n urlList,noteList, fileList, noOfResults, isSearchResult, noEntryForUser));\n }\n else {\n String queryData = Form.form().bindFromRequest().get(\"queryData\");\n System.out.println(\"queryData in application---\" + queryData);\n if (queryData != null) {\n ArrayList<String> queryKeywords = new ArrayList<String>();\n ArrayList<Long> keywordIdList = new ArrayList<Long>();\n Collections.addAll(queryKeywords, queryData.toLowerCase().split(\"\\\\W\"));\n System.out.println(\"query arraylist--\" + queryKeywords);\n keywordIdList = SearchEntries.searchKeywordEntryId(queryKeywords);\n urlList = SearchEntries.searchUrl(keywordIdList);\n noteList = SearchEntries.searchNote(keywordIdList);\n fileList = SearchEntries.searchFiles(keywordIdList);\n noOfResults = urlList.size() + noteList.size() + fileList.size();\n System.out.println(\"isSearchResult3----\" + isSearchResult);\n return ok(Search.render(\"Search\", Secured.isLoggedIn(ctx()), Secured.getUserInfo(ctx()), searchFormData,\n urlList,noteList, fileList, noOfResults, isSearchResult, noEntryForUser));\n }\n else {\n System.out.println(\"isSearchResult4----\" + isSearchResult);\n return badRequest(Search.render(\"Search\", Secured.isLoggedIn(ctx()), Secured.getUserInfo(ctx()), searchFormData,\n urlList,noteList, fileList, noOfResults, isSearchResult, noEntryForUser));\n }\n }\n }", "title": "" }, { "docid": "854cb12d7808656bae940d5906b43adf", "score": "0.49155354", "text": "public GeneralCheckupForm () { }", "title": "" }, { "docid": "c5bd5b3a61c1c74510a2fa9052fc195b", "score": "0.4915487", "text": "@GetMapping(\"/showNewPropretyForm\")\n\tpublic String showNewPropretyForm(Model model) {\n\t\tProperty property = new Property();\n\t\tmodel.addAttribute(\"property\", property);\n\t\treturn \"new_property\";\n\t}", "title": "" }, { "docid": "b8890f9c808bfc7ca8ff8007b683c682", "score": "0.49142525", "text": "public void prepareSearchName(){\n \n searchLabel = \"Search By Name\";\n name = \"\";\n //REMOVE ANY PREVIOUS ITEM SO THE LIST IS RE-INITIALIZED\n searchItems = new ArrayList();\n }", "title": "" }, { "docid": "b1ad527d33dcc78f86679e1ffa151e41", "score": "0.4903657", "text": "@RequestMapping(value = { \"/proceduresearchwin\" })\n\t@Layout(\"layouts/blank\")\n\tpublic String searchblankdrugproc(Model model, HttpSession session) {\n\t\tDrugSearchForm pf = new DrugSearchForm();\n\t\tpf.setMysp(0);\n\t\tmodel.addAttribute(\"drugSearch\", pf);\n\n\t\treturn \"search/proceduresearchwin\";\n\t}", "title": "" }, { "docid": "d8583daceb927272a513ec63c421c6a9", "score": "0.49007902", "text": "private void doSearch() {\r\n\r\n// searchObjCustomer = new HibernateSearchObject<Customer>(Customer.class, pageSizeSearchCustomers);\r\n//\r\n// // check which field have input\r\n// if (StringUtils.isNotEmpty(tb_Tjadkulmasters_SearchCustNo.getValue())) {\r\n// searchObjCustomer.addFilter(new Filter(\"kunNr\", tb_Tjadkulmasters_SearchCustNo.getValue(), Filter.OP_EQUAL));\r\n// }\r\n//\r\n// if (StringUtils.isNotEmpty(tb_Tjadkulmasters_CustSearchMatchcode.getValue())) {\r\n// searchObjCustomer.addFilter(new Filter(\"kunMatchcode\", \"%\" + tb_Tjadkulmasters_CustSearchMatchcode.getValue().toUpperCase() + \"%\", Filter.OP_ILIKE));\r\n// }\r\n//\r\n// if (StringUtils.isNotEmpty(tb_Tjadkulmasters_SearchCustName1.getValue())) {\r\n// searchObjCustomer.addFilter(new Filter(\"kunName1\", \"%\" + tb_Tjadkulmasters_SearchCustName1.getValue() + \"%\", Filter.OP_ILIKE));\r\n// }\r\n//\r\n// if (StringUtils.isNotEmpty(tb_Tjadkulmasters_SearchCustCity.getValue())) {\r\n// searchObjCustomer.addFilter(new Filter(\"kunOrt\", \"%\" + tb_Tjadkulmasters_SearchCustCity.getValue() + \"%\", Filter.OP_ILIKE));\r\n// }\r\n//\r\n// setSearchObjCustomer(this.searchObjCustomer);\r\n//\r\n// // Set the ListModel.\r\n// getPlwCustomers().init(getSearchObjCustomer(), listBoxCustomerSearch, paging_TjadkulmasterList_CustomerSearchList);\r\n\r\n }", "title": "" }, { "docid": "7301f6719551425dbc8e03c643244996", "score": "0.48984265", "text": "@Override\n public void populateSearchFields() {\n List<SourceAccountingLine> sourceAccoutingLines = this.getBenefitExpenseTransferDocument().getSourceAccountingLines();\n if (sourceAccoutingLines != null && !sourceAccoutingLines.isEmpty()) {\n SourceAccountingLine sourceAccountingLine = sourceAccoutingLines.get(0);\n this.setUniversityFiscalYear(sourceAccountingLine.getPostingYear());\n this.setChartOfAccountsCode(sourceAccountingLine.getChartOfAccountsCode());\n this.setAccountNumber(sourceAccountingLine.getAccountNumber());\n this.setSubAccountNumber(sourceAccountingLine.getSubAccountNumber());\n if (sourceAccountingLine.getSubAccountNumber() == null) {\n this.setSubAccountNumber(KFSConstants.getDashSubAccountNumber());\n }\n }\n }", "title": "" }, { "docid": "8d07e024c957145be97a8cb69fb264a9", "score": "0.48970914", "text": "public void newFormInstance(EJForm form) throws EJActionProcessorException;", "title": "" }, { "docid": "39fed42e5d1d9a7dadb5847aa010b48e", "score": "0.48908567", "text": "public CABG_pciForm() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "990f3ba14a2295fe577e2a904eb1fcbd", "score": "0.48784927", "text": "public void search() {\n\t\tclick(\"btnsearch\");\n\t\twaitUntilLoaderisInvisible(60);\n\n\t}", "title": "" }, { "docid": "0f9d7e1f28ef55e0889a491036b79973", "score": "0.4875411", "text": "SearchHelp createSearchHelp();", "title": "" }, { "docid": "977f28e1e7eb510673f91f5d495fca82", "score": "0.4867754", "text": "public void clicEnAddNew() {\n\t\ttry {\n\t\t\thighlightObject(driver.findElement(by_btn_AddNew(\"Add New\")));\n\t\t\tassertTrue(\"El boton Post no fue encontrado\", driver.findElement(by_btn_AddNew(\"Add New\")).isEnabled());\n\t\t\tcaptureScreenShot(\"clicEnAddNew\");\n\t\t\tdriver.findElement(by_btn_AddNew(\"Add New\")).click();\n\t\t} catch (Exception | AssertionError e) {\n\t\t\tcaseFailed(\"Hubo un error haciendo clien en Add New\" + e.getMessage());\n\t\t}\n\t}", "title": "" }, { "docid": "fcdad692cf09d25e3d34498dceba035b", "score": "0.4862735", "text": "public SearchName() {\n initComponents();\n jLabel2.setText(\"\");\n jTextArea1.setText(\"\");\n jTextField1.setText(\"\");\n }", "title": "" }, { "docid": "416017eb353f69811f220c4de20001f4", "score": "0.4862711", "text": "public void partSearchButtonPressed(ActionEvent actionEvent) {\n //if the search box is empty\n if(searchTextBox.getText().isEmpty()){\n partSelectTable.setItems(Inventory.getAllParts());\n }\n //if we're getting an part id\n if (Inventory.isNum(searchTextBox.getText())){\n ObservableList<Part> searchedParts = FXCollections.observableArrayList();\n searchedParts.add(Inventory.lookupPart(Integer.parseInt(searchTextBox.getText())));\n partSelectTable.setItems(searchedParts);\n }\n //if we're getting a part name\n else{\n partSelectTable.setItems(Inventory.lookupPart(searchTextBox.getText()));\n }\n }", "title": "" }, { "docid": "af0b69c105bbacd19fd3401c61059df8", "score": "0.48618498", "text": "public SwitchLookupListForm() {\n\tthis.setFinderMethodName( \"findByQBE2\" );\n}", "title": "" }, { "docid": "f376ce4c197631ec12bda7eb2512d2a2", "score": "0.48586267", "text": "public search_book() {\n initComponents();\n }", "title": "" }, { "docid": "ee77365b5a513944e6ae86faa3fe7cf4", "score": "0.4848974", "text": "@RequestMapping(value = { \"/patientsearchwin\" }, method = RequestMethod.POST)\n\t@Layout(\"layouts/blank\")\n\tpublic String searchblankpost(\n\t\t\tModel model,\n\t\t\tHttpSession session,\n\t\t\t@ModelAttribute(\"patientSearch\") PatientSearchForm patientSearchForm,\n\t\t\tBindingResult result, RedirectAttributes redirectAttributes) {\n\t\tList<?> patientList = searchUtilBo.searchPatientwin(patientSearchForm,\n\t\t\t\tsession);\n\n\t\tmodel.addAttribute(\"patient\", patientList);\n\n\t\treturn \"search/patientsearchwin\";\n\t}", "title": "" }, { "docid": "da5aa7a999923f3fe7f708f06306b509", "score": "0.4838525", "text": "private void buildCustomerTable()\n\t{\n\t\tsetLayout(new BorderLayout());\n\t\tcustomerTable = new JTable(customerData){\n \tprivate static final long serialVersionUID = 1L;\n \t\tpublic boolean isCellEditable(int row, int column) { \n \treturn false; \n \t\t};\n \t};\n customerTable.setGridColor(Color.BLACK);\n \n \t\n\n\t\tloadCustomerTable();\n\n\t\tcustomerTableScrollPane = new JScrollPane(customerTable);\n\t\tadd(customerTableScrollPane,BorderLayout.CENTER);\n\n\t\tsetVisible(true);\n\t\tsearchCustomerField = new JTextField();\n\t\tsearchCustomerField.setPreferredSize(new Dimension(200,24));\n\t\tsearchCustomerField.getDocument().addDocumentListener(this);\n\t\tsearchCustomerField.setVisible(true);\n\t\tsearchCustomerField.setToolTipText(\"Search...\");\n\t\tadd(searchCustomerField,BorderLayout.NORTH);\n\n\t}", "title": "" }, { "docid": "b78bbd0833977893aeaa6643e2b09cd1", "score": "0.48356453", "text": "@Override\r\n\tpublic CarOfficeFormVO CarOfficeFormcreate() {\n\t\tSystem.out.println(\"Call CarOfficeFormcreate...\");\r\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "00932c48cefcb947f2f4e89b9890871b", "score": "0.48351246", "text": "public HotelSelect clickSearchHotel()\r\n\t\t{\r\n\t\t\tclickById(\"hotels_submit\");\r\n\t\t\treturn new HotelSelect( driver, test);\r\n\t\t}", "title": "" }, { "docid": "43a8615c4998698566ab48d7bf0f28ce", "score": "0.4833361", "text": "public static void createAndShowGUI() {\n GenBooksCheckedOutDialog frame = new GenBooksCheckedOutDialog(\"Search Dialog\");\r\n // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n //Set up the content pane.\r\n frame.addComponentsToPane(frame.getContentPane());\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }", "title": "" }, { "docid": "fd6cf3f79f9e5045a54991660305cb8c", "score": "0.48331222", "text": "public void clickSearchApec() {\n\t\tWebElement element = MyDriver.driver\n\t\t\t\t.findElement(By.xpath(\"//*[@id=\\\"section-recherche\\\"]/div[2]/div[1]/form/div[2]/button\"));\n\t\telement.click();\n\n\t}", "title": "" }, { "docid": "0e94050c3fae90ae8f0b2035ea339b4c", "score": "0.48303005", "text": "private void createSearchButton(){\r\n searchButton.addActionListener(new ActionListener() {\r\n @Override\r\n public void actionPerformed(ActionEvent e) {\r\n showData();\r\n }\r\n });\r\n\r\n }", "title": "" }, { "docid": "15e093577fd482ee3e4acda0de498697", "score": "0.4828981", "text": "@GetMapping(\"/showFormForAdd\")\r\n\tpublic String showFormForAdd(Model theModel) {\n\t\tProduto produto = new Produto();\r\n\r\n\t\ttheModel.addAttribute(\"produto\", produto);\r\n\r\n\t\treturn \"produto-form\";\r\n\t}", "title": "" }, { "docid": "f9a0483d6eeef96db96f1e4f05318327", "score": "0.482084", "text": "BundleSearch createBundleSearch();", "title": "" }, { "docid": "f8e183db88b0283a514c3664fd1dcb27", "score": "0.48205054", "text": "private void button_SearchActionPerformed(ActionEvent e) {\n\t\tMain1.searchScreen();\n\t}", "title": "" }, { "docid": "d765046ec9e80740e5a8283629f5eae0", "score": "0.48195106", "text": "@POST\n\t@Path(\"search\")\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic SearchResultsRepresentation<TransaccionBovedaCajaRepresentation> search(\n\t\t\tSearchCriteriaRepresentation criteria);", "title": "" }, { "docid": "ad83e67fb2faa2082f330af1848df9a1", "score": "0.4817276", "text": "public SearchRecord() {\n initComponents();\n }", "title": "" } ]
1922bbc5cbecb76b24158f51d56d89d9
Returns the Gson instance used by the connection
[ { "docid": "4b7e14491dee3c372a1a64d80c422f7f", "score": "0.752388", "text": "Gson getGson();", "title": "" } ]
[ { "docid": "475edca253746992e14d3392bc403e32", "score": "0.7790373", "text": "public static GsonImpl get() {\n if (json == null) {\n //json = new FastJson();\n json = new GsonImpl();\n }\n return json;\n }", "title": "" }, { "docid": "ee192a1a1b35fa1b42262a274c738065", "score": "0.7753887", "text": "public static Gson getGson() {\n\t\treturn gson;\n\t}", "title": "" }, { "docid": "7172e8c4328f76a2eb617f3737634255", "score": "0.77196074", "text": "public static final Gson getGsonInstance()\n {\n return GSON;\n }", "title": "" }, { "docid": "e4a6513cb3af069997860da38ede7f55", "score": "0.7611234", "text": "public Gson getGson()\n {\n if(gson==null)\n return new Gson();\n // Return existing gson\n Log.d(TAG,\"get Gson called\");\n return gson;\n }", "title": "" }, { "docid": "47f91e854dc2e7e7566e4569080f5103", "score": "0.7477779", "text": "protected Gson getGson() {\n\n\t\t// Creates the json object which will manage the information\n\t\t// received\n\t\tGsonBuilder gsonBuilder = new GsonBuilder();\n\n\t\t// Register an adapter to manage the date types as long values\n\t\tgsonBuilder.registerTypeAdapter(Date.class, new JsonDeserializer<Date>() {\n\n\t\t\t@Override\n\t\t\tpublic Date deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)\n\t\t\t\t\tthrows JsonParseException {\n\t\t\t\treturn new Date(json.getAsJsonPrimitive().getAsLong());\n\t\t\t}\n\t\t});\n\n\t\t// Set DateFormat to an 'easily digestible' format that can be\n\t\t// deserialized by a application server\n\t\tgsonBuilder.setDateFormat(\"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'\");\n\n\t\tGson gSon = gsonBuilder.create();\n\n\t\treturn (gSon);\n\t}", "title": "" }, { "docid": "d7ac154d1a59ff8b2640093c0cda5967", "score": "0.72583556", "text": "public static Gson getGsonInstance() {\n return new GsonBuilder()\n .setDateFormat(\"yyyy-MM-dd'T'HH:mm:ss\")\n .setExclusionStrategies(new ExclusionStrategy() {\n @Override\n public boolean shouldSkipField(FieldAttributes f) {\n return f.getDeclaringClass().equals(RealmObject.class);\n }\n\n @Override\n public boolean shouldSkipClass(Class<?> clazz) {\n return false;\n }\n })\n .create();\n }", "title": "" }, { "docid": "a2eb6b06953cece59db47de7bda9b0ce", "score": "0.71539545", "text": "protected Gson getGson() {\n return new GsonBuilder()\n //.enableComplexMapKeySerialization()\n //.serializeNulls()\n //.setDateFormat(DateFormat.LONG)\n //.setFieldNamingPolicy(FieldNamingPolicy.UPPER_CAMEL_CASE)\n .setPrettyPrinting()\n .create();\n }", "title": "" }, { "docid": "7b1f65c68540a60abcb8f23108333397", "score": "0.7151317", "text": "protected Gson createGson() {\n\t\tGsonBuilder builder = new GsonBuilder();\n\t\tbuilder.registerTypeAdapterFactory(HibernateProxyTypeAdapter.FACTORY);\n\t\treturn builder.create();\n\t}", "title": "" }, { "docid": "503aca282e41e40d0d1cebb53f2e7b69", "score": "0.70937824", "text": "private Gson getGson() {\n GsonBuilder gsonBuilder = new GsonBuilder().setLenient();\n gsonBuilder.setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES);\n return gsonBuilder.create();\n }", "title": "" }, { "docid": "4077b14f7530d6f3479a1a95140142b6", "score": "0.70045924", "text": "public static Gson createGson() {\n return new GsonBuilder()\n .registerTypeAdapter(DateTime.class, new DateTimeDeserializer())\n .registerTypeAdapter(Sha1.class, new Sha1Deserializer())\n .registerTypeAdapter(MD5.class, new MD5Deserializer()).create();\n }", "title": "" }, { "docid": "8df35e40cea92fd92ff3d26ef6e7c05e", "score": "0.6253345", "text": "public GsonMirrors.TypeAdapters gsonTypeAdapters() {\n return constitution.protoclass().gsonTypeAdapters().get();\n }", "title": "" }, { "docid": "8df35e40cea92fd92ff3d26ef6e7c05e", "score": "0.6253345", "text": "public GsonMirrors.TypeAdapters gsonTypeAdapters() {\n return constitution.protoclass().gsonTypeAdapters().get();\n }", "title": "" }, { "docid": "be14b7ff89eac153a5015451035dfe80", "score": "0.6225808", "text": "public String convertToGsonString(){\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "62dd0a5f0d8004a44fc07171cfe5a52f", "score": "0.6033654", "text": "default JsonObject toJsonObject() {\n Class<?> clazz = getClass();\n JsonElement rootElement = Global.getInstance().getGson().toJsonTree(this, clazz);\n return rootElement.getAsJsonObject();\n }", "title": "" }, { "docid": "2fef4f4cf94f6f952a57648f0e40f654", "score": "0.59805036", "text": "@Singleton\n @NonNull\n @Provides\n public Gson provideGson() {\n GsonBuilder gsonBuilder = new GsonBuilder();\n gsonBuilder.setLenient();\n return gsonBuilder.create();\n }", "title": "" }, { "docid": "2eacf54f1d6c6cfd9d4c46da94d1a4a0", "score": "0.59501123", "text": "public JsonDao() {\n gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().setPrettyPrinting().create();\n jsonParser = new JsonParser();\n }", "title": "" }, { "docid": "d9248144ce374b3b97824ff63913f3f4", "score": "0.5868398", "text": "public static synchronized GsonHelper getInstance(Context mContext)\n {\n if(mInstance == null){\n mInstance = new GsonHelper(mContext);\n }\n // Return MySingleton new Instance\n return mInstance;\n }", "title": "" }, { "docid": "659187f77ff3d3e5a82a285db912e024", "score": "0.5712667", "text": "private static Gson getGsonOperando()\r\n\t{\r\n\t\t// According to our current conventions, JSON should be in snake_case.\r\n\t\tGsonBuilder builder = new GsonBuilder().setFieldNamingPolicy(FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES);\r\n\t\tGson gson = builder.create();\r\n\t\treturn gson;\r\n\t}", "title": "" }, { "docid": "226b77f4cb5b8c202607baa8a42aa44f", "score": "0.56842387", "text": "public String toJson() {\n Gson gson = GsonSerializerDeserializer.getGson();\n\n return gson.toJson(this);\n }", "title": "" }, { "docid": "e5e7693cd42880441500210e8f733125", "score": "0.56186426", "text": "public static JsonObject object() {\n return new JsonObject();\n }", "title": "" }, { "docid": "b94f09192c3ed8a6b103037eafae43b9", "score": "0.5595751", "text": "public Object getJson() {\n return this.json;\n }", "title": "" }, { "docid": "b1d673c20b8d2599816e95076cb081cf", "score": "0.5567283", "text": "Json getJson();", "title": "" }, { "docid": "450fedfc5963d062df8a6b27c1f91b38", "score": "0.55048347", "text": "public org.json.JSONObject getJSONObject() {\n return genClient.getJSONObject();\n }", "title": "" }, { "docid": "450fedfc5963d062df8a6b27c1f91b38", "score": "0.55048347", "text": "public org.json.JSONObject getJSONObject() {\n return genClient.getJSONObject();\n }", "title": "" }, { "docid": "450fedfc5963d062df8a6b27c1f91b38", "score": "0.55048347", "text": "public org.json.JSONObject getJSONObject() {\n return genClient.getJSONObject();\n }", "title": "" }, { "docid": "017b2cd66414ebc5886da3f1078567fe", "score": "0.54887724", "text": "public String toJson() {\n return gson.toJson(this);\n }", "title": "" }, { "docid": "d1380ac12074ee6a06b93ede7d2f7a74", "score": "0.54677093", "text": "public JsonManager json();", "title": "" }, { "docid": "163870b2be92cecdaad1e6a47138c0e5", "score": "0.544811", "text": "void setGson(Gson gson);", "title": "" }, { "docid": "988d93ef0c72db31b7e42cefbc5e9c80", "score": "0.5410183", "text": "public String toJson() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "a9df1f18b55f73e69fa703c74f5d68fb", "score": "0.5396288", "text": "java.lang.String getJson();", "title": "" }, { "docid": "4ee0f9cb911b1e3ad011339347af2400", "score": "0.539264", "text": "@Nullable\n public static Retrofit getClient() {\n if (retrofit == null) {\n retrofit = new Retrofit.Builder()\n .baseUrl(mBaseUrl)\n .addConverterFactory(GsonConverterFactory.create(gson))\n .addCallAdapterFactory(RxJavaCallAdapterFactory.create())\n .client(new OkHttpClient.Builder()\n .connectTimeout(1, TimeUnit.MINUTES)\n .readTimeout(1, TimeUnit.MINUTES)\n .writeTimeout(1, TimeUnit.MINUTES).build()).build();\n }\n return retrofit;\n }", "title": "" }, { "docid": "a6a2a39f91a3031c9010aa1072ee1411", "score": "0.5383274", "text": "public static Gson createDefaultGson() {\n\t\t// Trick to get the DefaultDateTypeAdatpter instance\n\t\t// Create a first Gson instance\n\t\tGson gson = new GsonBuilder()\n\t\t\t\t.setDateFormat(ConversionUtil.DATE_FORMAT)\n\t\t\t\t.create();\n\n\t\t// Get the date adapter\n\t\tTypeAdapter<Date> dateTypeAdapter = gson.getAdapter(Date.class);\n\n\t\t// Ensure the DateTypeAdapter is null safe\n\t\tTypeAdapter<Date> safeDateTypeAdapter = dateTypeAdapter.nullSafe();\n\n\t\t// Build the definitive safe Gson instance\n\t\treturn new GsonBuilder()\n\t\t\t\t.setDateFormat(ConversionUtil.DATE_FORMAT)\n\t\t\t\t.registerTypeAdapter(Date.class, safeDateTypeAdapter)\n\t\t\t\t.create();\n\t}", "title": "" }, { "docid": "b42bd126b709e7a9da95d3a47631f897", "score": "0.5350442", "text": "JsonParser getJsonParser();", "title": "" }, { "docid": "9881892478a072302c3abb48a2b4427f", "score": "0.53327715", "text": "default JsonObject toJsonObjectAdmin() {\n return toJsonObject();\n }", "title": "" }, { "docid": "d7d7748fc5c08f178b37b6dc888d862b", "score": "0.53294146", "text": "public MessageToServerDeserializer() {\n gsonBuilder = new GsonBuilder().registerTypeAdapter(MessageToServer.class,this);\n customGson = gsonBuilder.create();\n }", "title": "" }, { "docid": "8e179f095a6aa228c9d803f7a26dcef0", "score": "0.53165895", "text": "@SuppressWarnings(\"unchecked\")\n private JSONObject getJson()\n {\n JSONObject jsonObject = new JSONObject();\n jsonObject.put(\"total_bytes_received\", totalBytesReceived.get());\n jsonObject.put(\"total_bytes_sent\", totalBytesSent.get());\n jsonObject.put(\"total_packets_received\", totalPacketsReceived.get());\n jsonObject.put(\"total_packets_sent\", totalPacketsSent.get());\n jsonObject.put(\"total_relay_bytes_received\", totalRelayBytesReceived.get());\n jsonObject.put(\"total_relay_bytes_sent\", totalRelayBytesSent.get());\n jsonObject.put(\"total_relay_packets_received\", totalRelayPacketsReceived.get());\n jsonObject.put(\"total_relay_packets_sent\", totalRelayPacketsSent.get());\n jsonObject.put(\"has_failed_endpoint\", hasIceFailedEndpoint);\n jsonObject.put(\"has_succeeded_endpoint\", hasIceSucceededEndpoint);\n jsonObject.put(\"dtls_failed_endpoints\", dtlsFailedEndpoints.get());\n return jsonObject;\n }", "title": "" }, { "docid": "6daf34380d83d8ac58f5ca0f2bbac0fb", "score": "0.5254787", "text": "default String toJson() {\n return GameDataGson.toJson(this);\n }", "title": "" }, { "docid": "90fc68dc6315aa335ece0b14187175fc", "score": "0.5229503", "text": "private static Gitlet deserialize() throws ClassNotFoundException {\n\t\tGitlet git = null;\n\t\tFile gitlet = new File(\".gitlet/git.ser\");\n\t\tif (gitlet.exists()) {\n\t\t\ttry {\n\t\t\t\tFileInputStream file = new FileInputStream(gitlet);\n\t\t\t\tObjectInputStream object = new ObjectInputStream(file);\n\t\t\t\tgit = (Gitlet) object.readObject();\n\t\t\t\tobject.close();\n\t\t\t} catch (IOException e) {\n\t\t\t\tSystem.out.println(\"IOException while loading Gitlet.\");\n\t\t\t}\n\t\t}\n\t\treturn git;\n\t}", "title": "" }, { "docid": "e129cc7199136b014011d4954f4762fa", "score": "0.5222612", "text": "public static Retrofit getClientOld() {\n if (retrofit==null) {\n retrofit = new Retrofit.Builder()\n .baseUrl(BASE_URL)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n }\n return retrofit;\n }", "title": "" }, { "docid": "db4539e72ce96de69f7df26925fe7839", "score": "0.5217605", "text": "default String json() {\n return Jsonifier.serializeBrutaly(this);\n }", "title": "" }, { "docid": "283d811c862fc070181c497aca3797b7", "score": "0.5181088", "text": "@Override\n public String ToJson() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "36757746f0a08bb021e38b8307ca7512", "score": "0.5171027", "text": "public static Retrofit getInstance() {\n if (myOneInstance != null) {\n return myOneInstance;\n }\n myOneInstance = new Retrofit.Builder()\n .addConverterFactory(GsonConverterFactory.create())\n .baseUrl(BASE_URL)\n .build();\n return myOneInstance;\n }", "title": "" }, { "docid": "659bf42c765466a1b00464f03bee2f3c", "score": "0.51527816", "text": "@Override\n public JsonbSerde create() {\n return new JsonbSerde();\n }", "title": "" }, { "docid": "7d601e123d513b440db516cf3e3a8190", "score": "0.5150464", "text": "public static Retrofit getClient() {\n if (retrofit==null) {\n retrofit = new Retrofit.Builder()\n .baseUrl(BASE_URL)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n }\n return retrofit;\n }", "title": "" }, { "docid": "5a556134a068071a4ab1a07471f86a5e", "score": "0.51475346", "text": "public JsonParser getParser() { return _parser; }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "007810e32d0cc3250be3c7f3ac9d7bd4", "score": "0.51424855", "text": "public String toJson() {\n return JSON.getGson().toJson(this);\n }", "title": "" }, { "docid": "f12933aa9c1121e0481f0f0f577bf52f", "score": "0.5141604", "text": "@Provides\n Gson provideGson() {\n return new GsonBuilder().setDateFormat(\"yyyy-MM-dd\").create();\n }", "title": "" }, { "docid": "4adaa75212e93227e584ce56d9bb0262", "score": "0.51412815", "text": "public static Serializer getInstance()\n\t{\n\t\tif (serializer==null)\n\t\t{\n\t\t\tserializer = new Serializer();\n\t\t}\n\t\treturn serializer;\n\t}", "title": "" }, { "docid": "85d8a549de1a5e7b4c12cce9c05024a6", "score": "0.5120299", "text": "JsonObject toJSON();", "title": "" }, { "docid": "b43d3819f73018b1e3b5a1b0616accc9", "score": "0.51038575", "text": "public String getJSON() {\n return json;\n }", "title": "" }, { "docid": "074539614a922192287c26c1d9297b76", "score": "0.50892586", "text": "public java.lang.String getImagesGson() {\n return imagesGson;\n }", "title": "" }, { "docid": "a8715fef710be6ab767da5fce9df0f05", "score": "0.5088055", "text": "public String toJSON() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "67ca8014cdfca632876b6524b8496935", "score": "0.50722253", "text": "public synchronized String toJson()\n\t{\n\t\tObjectMapper mapper = new ObjectMapper();\n\n\t\tString jsonInString=null;\n\t\ttry {\n\t\t\tjsonInString = mapper.writeValueAsString(this);\n\t\t} catch (JsonGenerationException e) {\n\t\t\tlogger.error(e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (JsonMappingException e) {\n\t\t\tlogger.error(e.getMessage());\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\tlogger.error(e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn jsonInString;\n\t}", "title": "" }, { "docid": "3768065d5ef90a130e8412c0f8c97c38", "score": "0.506701", "text": "public JSONObject asJSON () {\n JSONObject jsonObj = new JSONObject();\n try {\n jsonObj.put(\"class\", \"Namespace\");\n jsonObj.put(\"id\", id);\n jsonObj.put(\"id\", getId());\n if (getContext() != null) {\n jsonObj.put(\"context\", getContext().getId());\n }\n jsonObj.put(\"rawCount\", getRawCount());\n } catch (Exception e1) {\n logWriter.error(\"Error in marshalling to JSON \", e1);\n }\n return jsonObj;\n }", "title": "" }, { "docid": "8b87f6c086ad30f2cbea3e61cefddc79", "score": "0.5053593", "text": "public static GraphParams serializableInstance() {\r\n return new GraphParams();\r\n }", "title": "" }, { "docid": "f92bc0c5f846e33c0c7066c265b7e0db", "score": "0.5050896", "text": "private Retrofit getretrofit(){\n if(this.retrofit == null){\n //construir o retrofit\n this.retrofit = new Retrofit.Builder()\n .baseUrl(BASE_URL)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n }\n return this.retrofit;\n }", "title": "" }, { "docid": "306be0ffb609144110a1bb7f529e6d91", "score": "0.5025141", "text": "public JsonObject getAsJson() {\n JsonObject json = new JsonObject();\n addToJson(json, \"access\", access);\n addToJson(json, \"container\", container);\n addToJson(json, \"filename\", filename);\n addToJson(json, \"location\", location);\n addToJson(json, \"path\", path);\n addToJson(json, \"region\", region);\n return json;\n }", "title": "" }, { "docid": "582e5f9fd0d5d0e3453eccb4070126a1", "score": "0.5022197", "text": "public String toJson(){\n String res = Util.toJson(this,getClass(),this);\n return res;\n }", "title": "" }, { "docid": "56d67ef23efb18ea34e206fe402d8c3d", "score": "0.50182587", "text": "public String toJSON() {\n\t\tGson gson = new Gson();\n\t\tString json = gson.toJson(this);\n\t\treturn json;\n\t}", "title": "" }, { "docid": "3246eefe4dbd7d92defe6d6b95257cea", "score": "0.5012827", "text": "String toJson();", "title": "" }, { "docid": "dfab0dea5d1c549f4ce8a56cf91ca08d", "score": "0.5010404", "text": "public Object toJson() {\n return null;\r\n }", "title": "" }, { "docid": "01118146ba9266b85bb80c549a1a8522", "score": "0.5009537", "text": "public static ProtocolServiceAsync getInstance() {\r\n\r\n\t\t\treturn GWT.create(ProtocolService.class);\r\n\t\t}", "title": "" }, { "docid": "c64cbe392a414f3c50ad7ab0952138e1", "score": "0.50089765", "text": "public static Retrofit getClient() {\n Retrofit instance = retrofit;\n if (instance == null) {\n synchronized (RetrofitClient.class) {\n OkHttpClient okHttpClient = new OkHttpClient().newBuilder().addInterceptor(new Interceptor() {\n @Override\n public okhttp3.Response intercept(Chain chain) throws IOException {\n Response originalRequest = chain.proceed(chain.request());\n originalRequest.header(\"Content-Type\", \"application/x-www-form-urlencoded\");\n originalRequest.header(\"Accept\", \"application/x-www-form-urlencoded\");\n return originalRequest;\n }\n }).build();\n\n instance = retrofit;\n if (instance == null) {\n instance = retrofit = new retrofit2.Retrofit.Builder()\n .baseUrl(BASE_URL)\n .client(okHttpClient)\n .addCallAdapterFactory(new ErrorHandlingAdapter.ErrorHandlingCallAdapterFactory())\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n }\n }\n }\n\n return instance;\n }", "title": "" }, { "docid": "44310899e8d273a109e9a1a212d5f965", "score": "0.50076467", "text": "private Connection getConn()\r\n {\r\n return conn;\r\n }", "title": "" }, { "docid": "1d153b6d6ade3b5831220c621e69de15", "score": "0.500215", "text": "public JSONObject getJSON()\n {\n return this.json;\n }", "title": "" }, { "docid": "a73f2a98867a1a70c8b7b5485eefb17e", "score": "0.49909407", "text": "com.google.protobuf.ByteString\n getJsonBytes();", "title": "" }, { "docid": "fe784e9989913ba17d7cdd54659d7ddb", "score": "0.49851587", "text": "public String toJson() {\n return JSONUtil.toString(this);\n }", "title": "" }, { "docid": "f4629a52ff025de047f17b8c2a240060", "score": "0.49848178", "text": "public JsonApi getJsonApi() {\n\t\treturn jsonApi;\n\t}", "title": "" }, { "docid": "850efade48ce415e362a10a706d44278", "score": "0.49819094", "text": "public JsonParser getParser()\n/* */ {\n/* 348 */ return this._parser;\n/* */ }", "title": "" }, { "docid": "598401fd386a0253848fc852871962d4", "score": "0.49792963", "text": "public FaceAPI() {\n\t\t// initialize client and deserializer\n\t\tclient = HttpClients.createDefault();\n\t\tgson = new Gson();\n\t}", "title": "" }, { "docid": "7328831ad59073ad866b5a71f5a4de75", "score": "0.49594548", "text": "public static Retrofit getInstance() {\n if (retrofit == null) {\n\n OkHttpClient okHttpClient = new OkHttpClient.Builder()\n .connectTimeout(60, TimeUnit.SECONDS)\n .readTimeout(60, TimeUnit.SECONDS)\n .writeTimeout(60, TimeUnit.SECONDS)\n .build();\n\n retrofit = new retrofit2.Retrofit.Builder()\n .baseUrl(Constants.BASE_URL)\n .client(okHttpClient)\n .addConverterFactory(GsonConverterFactory.create())\n .build();\n }\n return retrofit;\n }", "title": "" }, { "docid": "951c747f2591dc861d3935fa9ee800d8", "score": "0.49459043", "text": "public JSONObject toJsonObject(){\n JSONObject jo = new JSONObject();\n jo.put(\"country\", country);\n jo.put(\"id\", id);\n jo.put(\"name\", name);\n jo.put(\"Type\", type);\n jo.put(\"startDate\", startDate);\n jo.put(\"endDate\", endDate);\n jo.put(\"segment\", segment);\n jo.put(\"kind\", kind);\n jo.put(\"country\", country);\n\n \n\n return jo;\n }", "title": "" }, { "docid": "c53a783b3905630f68ac6efb23f39b2a", "score": "0.49406368", "text": "public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "e33c8b4aaa372de1536a52a6cbf6b75c", "score": "0.49356234", "text": "public StockHistoryListDeserializer() {\n// gson = new Gson();\n }", "title": "" }, { "docid": "131f39c95271ea3bc4f137d4d0e40a63", "score": "0.49339885", "text": "public Database() {\n /* gsonBuilder.registerTypeAdapter(Profile.class, new ProfileDeserializer());\n gsonBuilder.registerTypeAdapter(Profile.class, new ProfileSerializer());*/\n tvShows = new HashMap<>();\n movies = new HashMap<>();\n //profile = load();\n //fileName = \"src/main/data/profile.txt\";\n }", "title": "" }, { "docid": "3fde79b537a42f41b41a39654faa735e", "score": "0.49304932", "text": "public static synchronized SerializerAdapter createDefaultSerializerAdapter() {\n if (serializerAdapter == null) {\n serializerAdapter = new JacksonAdapter();\n }\n return serializerAdapter;\n }", "title": "" }, { "docid": "d476da3fbddd3789c356fa977fff05bb", "score": "0.492702", "text": "public static RetrofitClient getInstance() {\n return retrofitClient;\n }", "title": "" }, { "docid": "174f122b566fae2489e6c5b7b809f2dd", "score": "0.491782", "text": "public static TypeAdapter<ConsensusConfiguration> typeAdapter(Gson gson) {\n return new AutoValue_ConsensusConfiguration.GsonTypeAdapter(gson);\n }", "title": "" }, { "docid": "cf555b0dc6b374ef9589f18e9a89c97a", "score": "0.49157333", "text": "public Borrowing() {\n\t\tcon = Conn.getInstance().getConnection();\n\t}", "title": "" }, { "docid": "ca99558e12b8ea8454bb9920917e4273", "score": "0.49090812", "text": "public static GetData getRestApiInstance(){\n //Debut creation instance de l'interface PokemonRestApi\n Gson gson = new GsonBuilder()\n .setLenient()\n .create();\n\n Retrofit retrofit = new Retrofit.Builder()\n .baseUrl(BASE_URL)\n .addConverterFactory(GsonConverterFactory.create(gson))\n .build();\n\n //FIN creation instance de l'interface PokemonRestApi\n return retrofit.create(GetData.class);\n }", "title": "" }, { "docid": "164d9c8dbfe4caee469db4116736dc09", "score": "0.4906188", "text": "@GET\n @Produces(MediaType.APPLICATION_JSON)\n public JsonObject getJson() {\n //TODO return proper representation object\n throw new UnsupportedOperationException();\n }", "title": "" }, { "docid": "c79b0f0cdd5ddc3715865222cc5721e8", "score": "0.4904234", "text": "public Retrofit getBaseClient() {\n OkHttpClient.Builder httpClient = new OkHttpClient.Builder();\n if (isLog) {\n HttpLoggingInterceptor logging = new HttpLoggingInterceptor();\n logging.setLevel(HttpLoggingInterceptor.Level.BODY);\n httpClient.addInterceptor(logging);\n }\n\n httpClient.addInterceptor(new Interceptor() {\n @Override\n public Response intercept(Interceptor.Chain chain) throws IOException {\n return chain.proceed(RequestHeaders.getInstance(mContext).getBasicHeader(chain));\n }\n });\n\n OkHttpClient client = httpClient.build();\n return new Retrofit.Builder()\n .baseUrl(APIManager.getBaseUrl(mContext))\n .addConverterFactory(GsonConverterFactory.create())\n .client(client)\n .build();\n }", "title": "" }, { "docid": "747efc36299d2723b0cc4e91c5733f89", "score": "0.49032116", "text": "static JSONObject getJsonObject(String url) throws Exception {\n return new JSONObject(getJsonString(url));\n }", "title": "" }, { "docid": "bf4fe21ab64f7d1a7bd3bb7a25a0c0ed", "score": "0.48965642", "text": "public Retrofit getClient() {\n OkHttpClient.Builder httpClient = new OkHttpClient.Builder();\n if (isLog) {\n HttpLoggingInterceptor logging = new HttpLoggingInterceptor();\n logging.setLevel(HttpLoggingInterceptor.Level.BODY);\n httpClient.addInterceptor(logging);\n }\n\n httpClient.addInterceptor(new Interceptor() {\n @Override\n public Response intercept(Interceptor.Chain chain) throws IOException {\n return chain.proceed(RequestHeaders.getInstance(mContext).getHeader(chain));\n }\n });\n\n OkHttpClient client = httpClient.build();\n return new Retrofit.Builder()\n .baseUrl(APIManager.getBaseUrl(mContext))\n .addConverterFactory(GsonConverterFactory.create())\n .client(client)\n .build();\n }", "title": "" }, { "docid": "0eda476f82b50794aea262a3a3ec37a3", "score": "0.4895629", "text": "public ObjectNode getJson() {\n return Json.newObject()\n .put(\"first\", this.first)\n .put(\"last\", this.last)\n .put(\"email\", this.email)\n .put(\"provider\", this.provider)\n .put(\"userId\", this.userId)\n .put(\"id\", this.id)\n\t\t\t.put(\"achv\", this.achv);\n }", "title": "" }, { "docid": "877aee50fa3e813b46d28034ca33ed23", "score": "0.48884898", "text": "public static Connection getConnection()\n {\n return connection;\n }", "title": "" }, { "docid": "a0d4e07b82f2d492784af7fc1c523580", "score": "0.48882893", "text": "@Test\n public void testDevice() {\n\n Device device = new DeviceBuilder().setName(\"temperature-sensor-1\")\n .setFriendlyName(\"Temperature Sensor\")\n .setType(\"sensor\")\n .setVendor(\"xx\")\n .setDeviceLocation(new Location(\"\", \"\", \"\", 1, new Position(1.0, 1.0, null), new Indoorposition(null, 1.0, 1.0)))\n .setDeviceStatus(new DeviceStatusImpl(null, null))\n .setUuid(UUID.fromString(\"c9d6789c-3e81-4109-88d2-11199237db9a\")).buildSensingDevice();\n GsonBuilder gsonBuilder = new GsonBuilder();\n gsonBuilder.registerTypeAdapter(Device.class, new DeviceInterfaceAdapter());\n Gson customGson = gsonBuilder.create();\n\n String test = customGson.toJson(device, Device.class);\n System.out.println(test);\n assertEquals(\"{\\\"identifier\\\":\\\"temperature-sensor-1\\\",\\\"name\\\":\\\"Temperature Sensor\\\",\\\"type\\\":\\\"sensor\\\",\\\"manufacturer\\\":\\\"xx\\\",\\\"location\\\":{\\\"identifier\\\":\\\"id\\\",\\\"type\\\":\\\"type\\\",\\\"name\\\":\\\"name\\\",\\\"position\\\":{\\\"lat\\\":\\\"lat\\\",\\\"lng\\\":\\\"lng\\\"},\\\"level\\\":\\\"1.1\\\",\\\"indoorPosition\\\":{\\\"lat\\\":\\\"lat\\\",\\\"lng\\\":\\\"lng\\\"}},\\\"properties\\\":[],\\\"uuid\\\":\\\"c9d6789c-3e81-4109-88d2-11199237db9a\\\"}\", test);\n }", "title": "" }, { "docid": "5e956ae081b6a1f2444521c504b3602f", "score": "0.48849115", "text": "public JsonApiObject() {\n\t\tthis.setData(new JsonApiData());\n\t\tthis.setJsonApi(new JsonApi());\n\t}", "title": "" } ]
935cc44dbafde454099a848948e1851d
caja general ofcina tal
[ { "docid": "c9d429020a76ba81ce6ab3d86c66056b", "score": "0.0", "text": "private void cargarComboCaja(){\r\n\t\ttry {\t\t\t\r\n\t\t\tLong oficinaId=((OficinaIf) this.getCmbOficina().getSelectedItem()).getId();\t\r\n\t\t\tSystem.out.println(\"OFICINA>\"+oficinaId);\r\n\t\t\tList listaPrecios = (List) SessionServiceLocator.getCajaSessionService().findCajaByOficinaId(oficinaId);\r\n\t\t\trefreshCombo(getCmbCaja(),listaPrecios);\r\n\t\t} catch (GenericBusinessException e1) {\r\n\t\t\tSpiritAlert.createAlert(\"Se ha producido un error\", SpiritAlert.ERROR);\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t}", "title": "" } ]
[ { "docid": "3af1d4fc409dfa21196a10078858b3ff", "score": "0.6398611", "text": "private static void tecla() {\n\t\t\r\n\t}", "title": "" }, { "docid": "66d35f847e02793f3b05ca06dad0ab7b", "score": "0.603308", "text": "V afegir(K clau);", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5940801", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "e8c159f9ce46ed87e18031b3ec3ef04c", "score": "0.5940801", "text": "@Override\n\t\t\tprotected void realiceElCaso() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b7f027eb6ff62218a28c15c608504db7", "score": "0.58425593", "text": "@Override\n\tpublic void cafeteria() {\n\t\t\n\t}", "title": "" }, { "docid": "73eda42d99afc8a2fc9a11eb491c0b53", "score": "0.5809802", "text": "abstract void muovi();", "title": "" }, { "docid": "50aa601a8d71669006ddd4e141a53efc", "score": "0.57999593", "text": "private void estadoGeneral() {\n System.out.println(cafetera.getCafe());\n System.out.println(cafetera.getCafeDescafeinado());\n System.out.println(cafetera.getAzucar());\n System.out.println(cafetera.getChocolate());\n System.out.println(cafetera.getAgua());\n System.out.println(cafetera.getLeche());\n System.out.println(cafetera.getSacarina());\n }", "title": "" }, { "docid": "7bc643d9ac7542f10430da7f200395d4", "score": "0.57296866", "text": "@Override\n\tpublic void fiyat() {\n\t\t\n\t}", "title": "" }, { "docid": "f76cff0faf8f5cac2bb5c9fa073b3900", "score": "0.57286733", "text": "private static void ispisiRemi() {\n\t\t\n\t}", "title": "" }, { "docid": "1068dc3e7725abba37b41c9a52dee06b", "score": "0.5718897", "text": "@Override\r\n\tpublic void tatmak() {\n\r\n\t}", "title": "" }, { "docid": "c5001ee5564109c308c148aa1242a2d3", "score": "0.5663672", "text": "public void cinta() {\n\t\t\n\t}", "title": "" }, { "docid": "beaa0797e2114fbe337c976071d31e32", "score": "0.56112814", "text": "protected abstract void lisaaSeuraajatKekoon(Koordinaatti kasiteltava);", "title": "" }, { "docid": "4662f432b730b8ea53a1baff6e412574", "score": "0.55980015", "text": "private void trivialTCA(){\n\tint[] pos=new int[2];\n\tfor(int i=1;i<this.basin.flow.length-1;i++){\n\t\tfor(int j=1;j<this.basin.flow[0].length-1;j++){\n\t\t\tpos[0]=i;\n\t\t\tpos[1]=j;\n\t\t\twhile(this.basin.flow[pos[0]][pos[1]]!=10){\n\t\t\t\tthis.area.field[pos[0]][pos[1]]+=this.weights.field[pos[0]][pos[1]];\n\t\t\t\t//this.area.field[pos[0]][pos[1]]+=1.0; \n\t\t\t\tpos=this.basin.goDownstream(pos);\t\n\t\t\t}\n\t\t\t\tthis.area.field[pos[0]][pos[1]]+=this.weights.field[pos[0]][pos[1]];\n\t\t\t // this.area.field[pos[0]][pos[1]]+=1.0;\n\t\t}\n\t}\n\t\n}", "title": "" }, { "docid": "8e50e6b0e94233bf4cd262496309eaab", "score": "0.5590578", "text": "public SolicitudBuroGeneralOV() {\n\t}", "title": "" }, { "docid": "6a1b66fe51e5a2fa71096ce1c1834c4e", "score": "0.55520254", "text": "void mo509d(ani ani);", "title": "" }, { "docid": "fd963d58b15154278bd6ab81b843e969", "score": "0.554866", "text": "abstract void kasa();", "title": "" }, { "docid": "11a93a3a459568b5575f538d613ea5fa", "score": "0.5530108", "text": "@Override\r\n\tpublic void fokkAlia() {\n\r\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.55222404", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "08ff281f85800b58e0eb77195be25bfc", "score": "0.54938954", "text": "public void finito() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8e5e9a7164939222fd7753f9c52d48b3", "score": "0.548993", "text": "public Casella(CasellaSpeciale tipologia){\n speciale=true; this.tipologia=tipologia;\n }", "title": "" }, { "docid": "a24caec7131f1cbd5cca9130343ffb8a", "score": "0.5482226", "text": "void AdliSicilSorgula();", "title": "" }, { "docid": "14ae4830e5bc906e2cc346dbcb2de412", "score": "0.545723", "text": "private tof_calc_d() {}", "title": "" }, { "docid": "da813fa08844d9ea0dcf6109d766cb06", "score": "0.545435", "text": "@Override\n public void geefOpleidingNiveau() {\n }", "title": "" }, { "docid": "a275efa3b1cff2dba3ac1d24617a14f7", "score": "0.54487133", "text": "@Override\n\tpublic void lisaaOsa(Laiteosa osa) {\n\t\t\n\t}", "title": "" }, { "docid": "c50228f5afaa59be0406f36c950b5c5e", "score": "0.5446838", "text": "public TDAABB hijoIzquierdo();", "title": "" }, { "docid": "c0e27af5ed375c0a7d801d572bb5cc79", "score": "0.5438336", "text": "@Override\n\tpublic void poistaOsa(Laiteosa osa) {\n\t\t\n\t}", "title": "" }, { "docid": "2835937b245db5ccf357f0b893b0b84b", "score": "0.54324144", "text": "public void generoiSeuraava(){\n\t\tTapahtuma t = new Tapahtuma(tyyppi, Kello.getInstance().getAika()+generaattori.sample());\n\t\ttapahtumalista.lisaa(t);\n\t}", "title": "" }, { "docid": "6adc21cb983ddde4dc5772ac36f0f2a3", "score": "0.54307127", "text": "public FiltroResumoCobrancaSituacaoEspecial() {\r\n }", "title": "" }, { "docid": "79884bf920323d9e78da5ef9e13ef782", "score": "0.5430182", "text": "@Test\n\tpublic void testOfertaJubiladoNoAplica() {\n\t\tSystem.out.println(\"4. Caso de prueba SIMPLE: NO aplica descuento por ser jubilado \");\n\t\tVenta venta=new Venta(cliAna,100);\n\t\tIOferta oferSimple=new OfertaJubilado(50); // crea una oferta para menores de 18 años del 15%\n\t\t// asigna la oferta a la venta\n\t\tventa.setOfertaAplicar(oferSimple);\n\t\t// comprueba que el importe de la venta es 85, es decir, aplica el descuento porque Ana tiene 15 años\n\t\tAssert.assertEquals(venta.calculaImporteFinal(),100.0,0.0);\n\t\t\n\t\n\t}", "title": "" }, { "docid": "4409434c59d17af8ccc00338dec9c0ea", "score": "0.54259276", "text": "private static void cuociOOP() {\n cucina = new CucinaConcreta();\n\n cucina.cuociPastaLunga(\"Spaghetti\",\n \"pasta ottima con il tonno\",\n false,\n 3000,\n SezioneEnum.TONDA,\n 25);\n\n cucina.cuociPastaCorta(\"Gnocchi\",\n \"pasta ottima con il sugo\",\n true,\n 1000,\n false);\n }", "title": "" }, { "docid": "36decc2643ff9087f2abe43a63428e12", "score": "0.5412994", "text": "abstract public double prisAaBetale();", "title": "" }, { "docid": "2ba32e1192b076043c47a915765c7a99", "score": "0.5391498", "text": "void mo508c(ani ani);", "title": "" }, { "docid": "93c99151f975055494b9b56198a5f189", "score": "0.5388624", "text": "@Test\r\n\tpublic void testGehituGaztatxoa() {\n\t\tlista.gehituGaztatxoa(\"gorria\");\r\n\t\tassertEquals(lista.zenbatGaztatxo(),1); \r\n\t\t//beste koloreko gaztatxo bat sartu\r\n\t\tlista.gehituGaztatxoa(\"berdea\");\r\n\t\tassertEquals(lista.zenbatGaztatxo(),2); \r\n\t\t//gaztatxo gorria berriro sartzen saiatu\r\n\t\tlista.gehituGaztatxoa(\"gorria\");\r\n\t\tassertEquals(lista.zenbatGaztatxo(),2); \r\n\t\t//zuzena sartu, galdera ondo erantzunda baina ez da gaztatxorik gehitzen\r\n\t\tlista.gehituGaztatxoa(\"zuzena\");\r\n\t\tassertEquals(lista.zenbatGaztatxo(),2); \r\n\t\t//okerra sartu, galdera txarto erantzun delako\r\n\t\tlista.gehituGaztatxoa(\"okerra\");\r\n\t\tassertEquals(lista.zenbatGaztatxo(),2); \r\n\t}", "title": "" }, { "docid": "bb0557a46a6fa527fd48ae20d886ad5c", "score": "0.53844446", "text": "private void calulate_PF_TFIDF2(int id_author,\n ArrayList<Paper> scritti,\n HashMap<String, Double> combined_ti,\n HashMap<String, Double> combined_ab,\n int tipo) {\n\n //Considero i paper scritti da tutti i suoi coautori per IDF\n ArrayList<Integer> paper_coauthors = this.connector.read_papers_for_coathor(id_author);\n double n_i = paper_coauthors.size();\n //Considero i paper scritti solo dai coautori dell'autore\n ArrayList<Integer> only_coauthors = this.only_coauthor_papers(scritti, paper_coauthors);\n double r_i = only_coauthors.size();\n\n //Creo i lessici per il calcolo degli IDF \n Lexicon co_papers_ti = this.create_coauthor_paper_lexicon_ti(paper_coauthors, true);\n Lexicon co_papers_ab = this.create_coauthor_paper_lexicon_ti(paper_coauthors, false);\n\n for (Paper p : scritti) {\n\n //calcoliamo vettore dei titoli;\n Set<String> key = p.getTitle_Vector().keySet();\n for (String k : key) {\n double weight;\n double tf = p.getTitle_Vector().get(k).get(0);\n\n //Calcolo il peso in base al cosa e' stato selezionato\n if (tipo == 1) { //considero i TF-IDF2\n double idf = Math.log((double) paper_coauthors.size() / (double) co_papers_ti.getTf_d(k));\n double tf_idf2 = tf * idf;\n weight = tf_idf2;\n } else { //considero i PF per i titoli\n //r_ij = tutti i titoli dei paper dei soli coautori che non contegono la chiave;\n double r_ij = (double) this.paper_not_contain_key(k, only_coauthors, true);\n //n_ij = tutti i titoli dei paper dei coauthori piu' me che non contengono la chiave\n double n_ij = (double) this.paper_not_contain_key(k, paper_coauthors, true);\n\n //calcolo parti della formula del PF - VEDI SLIDE\n double num_log = (r_ij / (r_i - r_ij + 1));\n double den_log = ((n_ij - r_ij + 0.5) / (n_i - n_ij - r_i + r_ij + 1));\n double log = Math.log(1 + num_log / den_log);\n double abs = Math.abs((r_ij / r_i) - ((n_ij - r_ij) / (n_i - r_i)));\n double u_ij = log * abs;\n\n weight = u_ij;\n }\n\n //weight = Analizzatore.roundToSignificantFigures(weight, 6);\n //Aggiungo al comined vector dei titoli; \n if (combined_ti.containsKey(k)) { //Se il combined vector contiene gia' la parola;\n combined_ti.put(k, combined_ti.get(k).doubleValue() + weight);\n } else { //Altrimenti primo inserimento;\n combined_ti.put(k, weight);\n }\n }\n\n //calcoliamo gli abstract\n key = p.getAbstract_Vector().keySet();\n for (String k : key) {\n double weight;\n double tf = p.getAbstract_Vector().get(k).get(0);\n\n //Calcolo il peso in base al cosa e' stato selezionato\n if (tipo == 1) { //considero i TF-IDF2\n double idf = Math.log((double) paper_coauthors.size() / (double) co_papers_ab.getTf_d(k));\n double max_idf = Math.log((double) paper_coauthors.size() / (double) co_papers_ab.getMax_tf());\n double tf_idf2 = tf * (idf / max_idf);\n weight = tf_idf2;\n } else { //Considero persi PF degli abstract\n //r_ij = tutti gli abstract dei paper dei soli coautori che non contegono la chiave;\n double r_ij = (double) this.paper_not_contain_key(k, only_coauthors, false);\n //n_ij = tutti gli abstract paper dei coauthori piu' me che non contengono la chiave\n double n_ij = (double) this.paper_not_contain_key(k, paper_coauthors, false);\n\n //!!!! IMPORTANTE\n //calcolo parti della formula del PF - VEDI SLIDE // DA RIVEDERE LE COSTANTI\n double num_log = ((r_ij) / (r_i - r_ij + 1));\n double den_log = ((n_ij - r_ij + 0.5) / (n_i - n_ij - r_i + r_ij + 1));\n\n double log = Math.log(1 + num_log / den_log);\n double abs = Math.abs((r_ij / r_i) - ((n_ij - r_ij) / (n_i - r_i)));\n double u_ij = log * abs;\n weight = u_ij;\n }\n\n //Aggiungo al comined vector dei titoli; \n if (combined_ab.containsKey(k)) { //Se il combined vector contiene gia' la parola;\n combined_ab.put(k, combined_ab.get(k).doubleValue() + weight);\n } else { //Altrimenti primo inserimento;\n combined_ab.put(k, weight);\n }\n }\n }\n\n //NORMALIZZAZIONE Combined Key vector;\n Set<String> key = combined_ti.keySet();\n for (String k : key) {\n combined_ti.put(k, new Double((combined_ti.get(k).doubleValue()) / scritti.size()));\n }\n\n key = combined_ab.keySet();\n for (String k : key) {\n combined_ab.put(k, new Double((combined_ab.get(k).doubleValue()) / scritti.size()));\n }\n }", "title": "" }, { "docid": "4b450322caf22003a394a9522dcb26fc", "score": "0.53749704", "text": "public void sinta() {\n\t\t\n\t}", "title": "" }, { "docid": "6d14c2deb25b8cc5d7bcd3fd3fe0cb18", "score": "0.53739834", "text": "public EmpleadoBaseMasComision( String nombre, String apellido,\nString nss, double ventas, double tarifa, double salario )\n{\nsuper( nombre, apellido, nss, ventas, tarifa );\nestablecerSalarioBase( salario ); // valida y almacena el salario base\n}", "title": "" }, { "docid": "5c4a7ed91d0d58f190fe4d3ae76c742d", "score": "0.5365428", "text": "protected ans(aji paramaji, int paramInt)\n/* */ {\n/* 38 */ super(paramaji.J);\n/* 39 */ this.b = paramaji;\n/* 40 */ this.M = paramInt;\n/* 41 */ c(paramaji.v);\n/* 42 */ b(paramaji.w / 3.0F);\n/* 43 */ a(paramaji.H);\n/* 44 */ g(255);\n/* 45 */ a(abt.b);\n/* */ }", "title": "" }, { "docid": "bac185677a8cbba0912f6ac6d3bcdae4", "score": "0.53636694", "text": "public void construir(Aldeano aldeano) {\n }", "title": "" }, { "docid": "3dd28d30cb6f7112b5ceb53b08330c7f", "score": "0.5351464", "text": "protected abstract void dibujarCabezera(VentanaGrafica v);", "title": "" }, { "docid": "a62697ec474e6c39d1238852150dd4f5", "score": "0.53446835", "text": "ABBTDA hijoIzq();", "title": "" }, { "docid": "530f91fa72eab13d214f1755cc6d99b9", "score": "0.5344663", "text": "public static void main(String[] args) {\n Integer[] ia={1,2,7};\r\n ArrayUtils.printArray(ia);\r\n System.out.println(\"Element srodkowy \"+ArrayUtils.getCentral(ia));\r\n int imax = ArrayUtils.max(ia);\r\n System.out.println(\"elem max= \"+imax);\r\n Double[] da={1.5, 231.7};\r\n double dmax = ArrayUtils.max(da);\r\n System.out.println(\"Elem srodkowy \"+ArrayUtils.getCentral(da));\r\n System.out.println(imax+ \" \"+dmax);\r\n Character[] ca={'H','E','L','L','O'};\r\n System.out.println(\"Tablica znakow: \");\r\n ArrayUtils.printArray(ca);\r\n String[] s ={\"alpha\",\"beta\",\"gamma\"};\r\n String sc = ArrayUtils.getCentral(s);\r\n System.out.println(sc);\r\n Osoba[] oa={\r\n new Osoba(\"123\",\"Jan\",\"Kowalski\"),\r\n new Osoba(\"223\",\"Lan\",\"Mowalski\"),\r\n new Osoba(\"323\",\"Gan\",\"Rowalski\"),\r\n new Osoba(\"423\",\"Zan\",\"Owalski\")\r\n };\r\n Osoba omax = ArrayUtils.max(oa);\r\n System.out.println(\"Osoba o max nazwisku to: \" +omax);\r\n int ilPowO=ArrayUtils.counterGreaterThan(oa,new Osoba(null,null,\"O\"));\r\n System.out.println(\"Osoby z nazwiskiem powyzej O: \"+ilPowO);\r\n System.out.println(\"\\nArray Osoby contains: \");\r\n ArrayUtils.printArray(oa);\r\n }", "title": "" }, { "docid": "6da4acaeb6b1c34b2e567662ce6b4064", "score": "0.5339362", "text": "protected abstract void tulostaReitti(Koordinaatti maali, Reitti reitti);", "title": "" }, { "docid": "cf800cfe64893817ffc19161b6af54ef", "score": "0.5335384", "text": "public void casa(){\n \n }", "title": "" }, { "docid": "16bdc75a6154e95b6591f0eae456e369", "score": "0.5330766", "text": "static void main(String[] args) {\n\t\t Organic<? super Aliphatic> compound = new Aliphatic<Organic>(); \n//\t\tcompound.react(new Organic()); \n\t\tcompound.react(new Aliphatic()); \n\t\tcompound.react(new Hexane()); \n\t}", "title": "" }, { "docid": "5f6063a84c752013af791100ef6efc21", "score": "0.53275114", "text": "public static void main(String args[]){\n Formule formule = CnfReader.parse(\"UF75.325.100\\\\uf75-01.cnf\");\n \n /* System.out.println();\n \n b = System.currentTimeMillis();\t \n instance = Algorithmes.AlgoAEtoileH2(formule, 8000); \n System.out.println(\"A etoile termine le calcule dans un temps : \" + (System.currentTimeMillis() - b) + \" mili seconde\");\n System.out.println(\"nbr de clause satisfaite = \" + formule.check(instance) + \"/\" + formule.getClauseSize());\n Algorithmes.printInstance(instance);\n */\n System.out.println();\n \n System.out.println((Algorithmes.a1 / 10000) + \", \" + (Algorithmes.a2 / 10000) + \", \" + (Algorithmes.a3/ 10000));\n \n System.out.println();\n long b = System.currentTimeMillis();\n// char[] instance = AlgoACS.AlgoACS(formule, 60);\n// if (instance != null){\n// System.out.println(\"Algo Genetique à termine le calcule dans un temps : \" + (System.currentTimeMillis() - b) + \" mili seconde\");\n// System.out.println(\"nbr de clause satisfaite = \" + formule.check(instance) + \"/\" + formule.getClauseSize());\n// Algorithmes.printInstance(instance);\n// }\n \n \n \n new Fenetre();\n }", "title": "" }, { "docid": "95afdbb02a66cbfc708065fb44c5050b", "score": "0.5321375", "text": "public void DltAtextraños(Dependencias dep, HashMap<String,String> cierres){\n int num =dep.getImplicantes().size()-1;\n char[] etCante=dep.getEtCante().toCharArray();\n \n if(num>1)\n { \n for(int i=0;i<num;i++)\n {\n if(num<=1)break;\n List<String> atCierre = ACalcular(etCante, i+1); \n for(String at : atCierre){\n if(!cierres.containsKey(at)){\n cierres.put(at,Cierre(at));\n } \n if(cierres.get(at).contains(dep.getEtCado())){\n // en aborrar va el atributo extraño pero me mame jjaja\n String aborra=dep.getEtCante().replaceAll(at,\"\");\n if(aborra.length()>1){\n for(char ath :aborra.toCharArray()){\n dep.DltCante(String.valueOf(ath));\n cierres.clear();\n } \n }\n else{\n dep.DltCante(aborra);\n cierres.clear();\n }\n etCante=dep.getEtCante().toCharArray();\n num =dep.getImplicantes().size()-1;\n i=0;\n break;\n } \n } \n }\n \n }\n if(num<2){\n // este for es cuando solo hay dos atributos en implicantes\n \n for(int i =0; i<dep.getImplicantes().size();i++ ){\n dlt2(dep.getImplicantes().get(i).getEtiqueta(), dep, cierres);\n }\n }\n \n }", "title": "" }, { "docid": "6763fbc16f1f8353d0787796684647b4", "score": "0.5301965", "text": "public Coche () {\r\n\t\r\n\t\truedas =4;\r\n\t\t\r\n\t\tlargo = 2000;\r\n\t\t\r\n\t\tancho = 300;\r\n\t\r\n\t\tmotor = 1600;\r\n\t\r\n\t\tpeso_plataforma = 500;\r\n\t}", "title": "" }, { "docid": "789abb8287441b5be7e3ae98eb67826a", "score": "0.5299819", "text": "public afc(EntityGhast paramafa)\r\n/* 11: */ {\r\n/* 12:168 */ super(paramafa);\r\n/* 13:169 */ this.g = paramafa;\r\n/* 14: */ }", "title": "" }, { "docid": "881868e35dbb81746a5fbdd8d2f0db09", "score": "0.5298984", "text": "public abstract boolean daLiJeBolji(Atleticar a);", "title": "" }, { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.5296962", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "efdb7cfe5404de2cb4f7722a6add2bd3", "score": "0.5290016", "text": "public static void main(String[] args) {\r\n operaciones o=new operaciones();\r\n System.out.println(o.suma(4.0f, 5.0f));\r\n //en un dato flotante,es necesario colocar una F o f despues del numero de lo contrario \r\n //lo toma como doble\r\n \r\n }", "title": "" }, { "docid": "d87d375cadc520ab28936e379a31dade", "score": "0.5281901", "text": "public abstract String m1(Ocmic1 a);", "title": "" }, { "docid": "2baa2d17319bdb9e7809feb08a31f24a", "score": "0.52736926", "text": "@Override\n\tprotected void evaluarCromosoma() {\n\t\tdouble[] fenotipos = calcularFenotipos(longitud, xMax, xMin, xMax, xMin, longitud/2, longitud/2);\n\t\tfenotipo=fenotipos[0];\n\t\tfenotipo2=fenotipos[1];\t\n\t\tdouble x1 = this.getFenotipo();\n\t\tdouble x2 = fenotipo2;\n\t\tint resul1=0;\n\t\tfor (int i=1; i<=5; i++){\n\t\t\tresul1 += i*Math.cos((i+1)*x1+i);\n\t\t}\n\t\tint resul2=0;\n\t\tfor (int i=1; i<=5; i++){\n\t\t\tresul2 += i*Math.cos((i+1)*x2+i);\n\t\t}\n\t\tthis.aptitud = resul1*resul2;\n\t}", "title": "" }, { "docid": "abed634446a7be3e2f3b897319c10ff8", "score": "0.5272913", "text": "public void TomarFotografiaConPolariod(){\n //super.boton.Persionar();\n }", "title": "" }, { "docid": "77d32d2a2070d9c3117ff146ac04f114", "score": "0.5272614", "text": "@Override\r\n\tpublic void climaChuvoso() {\n\r\n\t}", "title": "" }, { "docid": "0178af2fcefc17d9d9ebc738f7273c21", "score": "0.52683425", "text": "public Caja(Objeto a){\n\t\tconjuntoObjetos = new Figura(a);\n\t\tlowerBound = conjuntoObjetos.getLowerBound();\n\t\tupperBound = conjuntoObjetos.getUpperBound();\n\t}", "title": "" }, { "docid": "a62412e6ca64320a7f9fe6e635c7d582", "score": "0.52683306", "text": "public agc(EntitySlime paramafy)\r\n/* 12: */ {\r\n/* 13:310 */ super(paramafy);\r\n/* 14:311 */ this.i = paramafy;\r\n/* 15: */ }", "title": "" }, { "docid": "133277c226ce2e89f8f417ec461f5c4d", "score": "0.5266287", "text": "public abstract void mo21894i();", "title": "" }, { "docid": "e955f05695c3555540b1f5606246017c", "score": "0.52652353", "text": "@Override\r\n\tpublic void proximaCorridaCampeonato() {\n\r\n\t}", "title": "" }, { "docid": "f9b96d43e1a1f34cf87d12d55ea9a447", "score": "0.52525604", "text": "public abstract boolean estEnFeu();", "title": "" }, { "docid": "f5023edbbe8cce354566c7f06e12dca2", "score": "0.52509207", "text": "protected cfh(aqu paramaqu, double paramDouble1, double paramDouble2, double paramDouble3, alq paramalq, int paramInt)\r\n/* 21: */ {\r\n/* 22:28 */ super(paramaqu, paramDouble1, paramDouble2, paramDouble3, 0.0D, 0.0D, 0.0D);\r\n/* 23:29 */ a(bsu.z().af().a().a(paramalq, paramInt));\r\n/* 24:30 */ this.ap = (this.aq = this.ar = 1.0F);\r\n/* 25:31 */ this.i = aty.aJ.I;\r\n/* 26:32 */ this.h /= 2.0F;\r\n/* 27: */ }", "title": "" }, { "docid": "1fb1a9ea67c312374754af84971b6e54", "score": "0.52485645", "text": "private void generarNovaGeneracio(int[][] taulell) {\n\t\tint iTamany = taulell[0].length;\n\t\tint veins, estatNovaGeneracio, estatAntigaGeneracio;\n\t\tint[][] original = new int[iTamany][iTamany];\n\t\t\n\t\toriginal = duplicarMatriu(taulell);\n\t\t\n\t\t// Recorrem la zona de la població real\n\t\tfor (int fila=1; fila<=(iTamany-2); fila++) {\n\t\t\tfor (int columna=1; columna<=(iTamany-2); columna++) {\n\t\t\t\t\n\t\t\t veins = comptarVeins(original,fila,columna);\n\t\t\t estatNovaGeneracio = original[fila][columna];\n\t\t\t estatAntigaGeneracio = estatNovaGeneracio;\n\t\t\t \n\t\t\t if (estatAntigaGeneracio == ESTAT_MORT) {\n\t\t\t // Anem a veure si pot neixer\n\t\t\t\t if (veins == 3) {\n\t\t\t\t\t estatNovaGeneracio = ESTAT_VIDA;\n\t\t\t\t }\n\t\t\t }\n\t\t\t else {\n\t\t\t\t // estem vius anema veure si morim\n\t\t\t\t if ((veins < 2) || (veins >3)) {\n\t\t\t\t\t estatNovaGeneracio = ESTAT_MORT;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t\t taulell[fila][columna] = estatNovaGeneracio;\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "4d201916690e20cf712812e8781c39b2", "score": "0.52467316", "text": "public void cierreCartera(Map criteria);", "title": "" }, { "docid": "18c14dbce4f159b0696d9f6e1e0018ce", "score": "0.5243494", "text": "public T caseGeneralizacion(Generalizacion object) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "10416427e3e8c82d5e93f71c0b46d327", "score": "0.52304393", "text": "@Test\n\tpublic void moverseLibreEnElMapaNorte(){\n\t\tPersonaje dani = new PersonajePrueba(\"El dani cho super dragon souls wacho\");\n\t\tPunto inicio = new Punto(0,0);\n\t\tPunto dondeQuieroIr = new Punto(0,1);\n\n\t\tAssert.assertEquals( 0, dani.getUbicacion().calcularDistancia(inicio) , 0.001);\n\t\t//Esto a 0 de distancia del inicio.\n\n\t\tdani.desplazar(\"N\");\n\n\t\tAssert.assertEquals(0 , dani.getUbicacion().calcularDistancia(dondeQuieroIr), 0.001);\n\t\t//Ahora estoy a 0 de distancia del lugar donde queria ir , osea que llegue :3.\n\t}", "title": "" }, { "docid": "4ab391e374c70e045e76877f76443a3f", "score": "0.52303195", "text": "@Override\n\tpublic void visit(Infectado e) {\n\n\t}", "title": "" }, { "docid": "98fb55d46118273a6e8a6d23841c620d", "score": "0.5224684", "text": "@Override\n\tpublic void eati() {\n\t\t\n\t}", "title": "" }, { "docid": "369a5294f400d58f995b13784d048582", "score": "0.52198356", "text": "public Aa2coope() {\n super();\n this.copemp = null;\n this.copdel = null;\n this.copcli = null;\n this.copope = null;\n this.copmod = null;\n this.copctr = null;\n this.copctaamp = null;\n this.copcta = null;\n this.copcon = null;\n this.copimp = null;\n this.copdeh = null;\n this.copfec = null;\n\n }", "title": "" }, { "docid": "0533632635fb2315f646be7abd396d83", "score": "0.52136785", "text": "void mo2250a(zzaio zzaio);", "title": "" }, { "docid": "c6c6b19308c3d4c80482b345850cc397", "score": "0.5209205", "text": "@Override\n\tpublic PessoasFuncionais calcula(PessoasFuncionais funcional) {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "741f7506d6d4e464fe6876d43256107d", "score": "0.52090573", "text": "public abstract void muere(boolean devorado);", "title": "" }, { "docid": "2aecbd8f6edc2e114dd731ed17e2bba6", "score": "0.52056295", "text": "@Tag(\"A\")\n @Test\n void C3A_buscarTramoLlanoMasLargo() {\n lecturas.add(120);\n lecturas.add(140);\n lecturas.add(180);\n lecturas.add(180);\n lecturas.add(180);\n\n //Creamos resultado espreado\n esperado = new Tramo(2,2);\n\n //Obtenemos el resultado real\n real = llanos.buscarTramoLlanoMasLargo(lecturas);\n\n assertAll(\"Grupo Test C3A\",\n ()->assertEquals(esperado.getLongitud(),real.getLongitud(),\"Comparando logintud\"),\n ()->assertEquals(esperado.getOrigen(),real.getOrigen(), \"Comparando origen\"),\n ()->assertEquals(esperado,real));\n }", "title": "" }, { "docid": "edea4a643f385127de262db4688b4793", "score": "0.5203394", "text": "public void fAltaSoci() {\n\n nomSoci = tfNomSoci.getText();\n cognomSoci = tfCognomSoci.getText();\n edat = Integer.valueOf(tfEdat.getText());\n direccio = tfDireccio.getText();\n telefon = tfTelefon.getText();\n\n System.out.println(titol + \" :: \" + nExemplars + \" :: \" + editorial + \" :: \" + pagines + \" :: \" + any);\n //System.out.println(titol);\n\n DataAccessObject.fDAOaltaSoci(nomSoci, cognomSoci, edat, direccio, telefon);\n }", "title": "" }, { "docid": "512004dc54c22b1cc232a9a33d264af6", "score": "0.5201728", "text": "Waffe auswahlGegenwaffe();", "title": "" }, { "docid": "7d0d266b00dc735a28faa90d50045595", "score": "0.5199838", "text": "public AFN CrearBasico(int a, int b) {\n\n if (a < b) {\n /* CREAMOS EL ESTADO ORIGEN */\n Estado Origen = new Estado();\n Origen.setID(ID++);\n EstadoInicial = Origen;\n\n /* TENEMOS UN NUEVO ESTADO PARA EL AFN (EL ORIGEN) */\n Estados.add(Origen);\n\n /* CREAMOS EL ESTADO DE DESTINO (ACEPTACIÓN) */\n Estado Destino = new Estado();\n Destino.setID(ID++);\n Destino.setEstadoAceptacion(true);\n\n /* TENEMOS UN NUEVO ESTADO PARA EL AFN (EL DESTINO) */\n Estados.add(Destino);\n\n /* AÑADIMOS LA TRANSICION DEL (Origen) -> S -> (DESTINO) AL ESTADO DE ACEPTACIÓN */\n for (int i = a; i <= b; i++) {\n Origen.Transiciones.pushTransicion(Integer.toString(i).charAt(0), Destino);\n\n /* SI EL CARÁCTER NO ESTÁ EN EL ALFABETO, LO AÑADIMOS */\n if (!Alfabeto.contains(Integer.toString(i).charAt(0)))\n Alfabeto.add(Integer.toString(i).charAt(0));\n\n }\n EstadosAceptacion.add(Destino);\n\n } else {\n }\n return this;\n }", "title": "" }, { "docid": "2ed3f3c6e89e7fd9d4c566a29cd922fd", "score": "0.51978654", "text": "public abstract void afficher();", "title": "" }, { "docid": "be2b819ef6d66182ed65bdaf919cdf2b", "score": "0.5197489", "text": "@Tag(\"A\")\n @Test\n void C2A_buscarTramoLlanoMasLargo() {\n lecturas.add(100);\n lecturas.add(100);\n lecturas.add(100);\n lecturas.add(100);\n\n //Creamos resultado espreado\n esperado = new Tramo(0,3);\n\n //Obtenemos el resultado real\n real = llanos.buscarTramoLlanoMasLargo(lecturas);\n\n assertAll(\"Grupo Test C2A\",\n ()->assertEquals(esperado.getLongitud(),real.getLongitud(),\"Comparando logintud\"),\n ()->assertEquals(esperado.getOrigen(),real.getOrigen(), \"Comparando origen\"),\n ()->assertEquals(esperado,real));\n }", "title": "" }, { "docid": "4651d724d359d73ec9b2b5e275d481e3", "score": "0.519729", "text": "@Override\n\tpublic void lisääTuote(Laiteosa osa) {\n\n\t}", "title": "" }, { "docid": "b503e52c11d532b12e3b1a331bb26d7b", "score": "0.51914734", "text": "@Override\r\n\tpublic void comerDoritos(Dorito d) {\n\t\t\r\n\t}", "title": "" }, { "docid": "efe7c271c940758cd7de12ad6c0d0343", "score": "0.51824826", "text": "void roda(Conta conta) {\n\t}", "title": "" }, { "docid": "6bfb02698851461901e11f293cde2414", "score": "0.5182023", "text": "void dispense(SumaCeruta summ);", "title": "" }, { "docid": "39db20f23d55695ae8eace57ca1cfdab", "score": "0.51765966", "text": "int getAforo();", "title": "" }, { "docid": "9dd1bbd8c949b94d0e93b83bfc68c88a", "score": "0.51717365", "text": "@Override\n\tpublic void aeronoticalinfo() {\n\t\t\n\t}", "title": "" }, { "docid": "d6f7dd4ae4b88b13ecebcaec7431303d", "score": "0.51645553", "text": "public void generar_solucio1() {\n int camions = centres.size();\n // Tots els camions tindran una ruta buida\n //for (int i = 0; i < camions; i++) distancia.add(0);\n for (int i = 0; i < camions; i++) diposit.add(0);\n //for (int i = 0; i < camions; i++) viatges.add(1);\n\n // Els camions començen i acaben al centre de distribució\n for (int i = 0; i < camions; i++) {\n // Inicialització vector d'un camio i\n estat.add(i, new ArrayList<ArrayList<Integer>>());\n\n // Situarlo en el seu centre de distribució\n estat.get(i).add(0, new ArrayList<Integer>(3));\n estat.get(i).get(0).add(centres.get(i).getCoordX());\n estat.get(i).get(0).add(centres.get(i).getCoordY());\n estat.get(i).get(0).add(-1);\n\n // El final de la ruta es tornar al centreDistribucio\n estat.get(i).add(1, new ArrayList<Integer>(3));\n estat.get(i).get(1).add(centres.get(i).getCoordX());\n estat.get(i).get(1).add(centres.get(i).getCoordY());\n estat.get(i).get(1).add(-1);\n }\n }", "title": "" }, { "docid": "e30e5fcb78508a4280a7e5bb6ea45e07", "score": "0.51591307", "text": "@Override\r\n\tpublic void vista_edicion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f77bfe93b7c87efe8b83ca1e63bbb0bd", "score": "0.51556396", "text": "private void opcion_cuatro(){\n opciones = 4;\n }", "title": "" }, { "docid": "11afe910096ba2895e62286e7d426e9d", "score": "0.5153342", "text": "@Override\n\tpublic void vaziuok() {\n\t\t\n\t}", "title": "" }, { "docid": "1e14d3be21c57ad54647c82e90475335", "score": "0.51482314", "text": "private Filtro creaFiltroAnni() {\n /* variabili e costanti locali di lavoro */\n Filtro filtro = null;\n Filtro filtro1 = null;\n Filtro filtro2 = null;\n Filtro unFiltro = null;\n int[] anni;\n Date primoGennaio;\n Date trentunDicembre;\n\n try { // prova ad eseguire il codice\n\n filtro = new Filtro();\n anni = this.getAnniSelezionati();\n for (int anno : anni) {\n primoGennaio = Lib.Data.getPrimoGennaio(anno);\n trentunDicembre = Lib.Data.getTrentunoDicembre(anno);\n filtro1 = FiltroFactory.crea(Presenza.Cam.entrata.get(), Filtro.Op.MAGGIORE_UGUALE, primoGennaio);\n filtro2 = FiltroFactory.crea(Presenza.Cam.entrata.get(), Filtro.Op.MINORE_UGUALE, trentunDicembre);\n unFiltro = new Filtro();\n unFiltro.add(filtro1);\n unFiltro.add(filtro2);\n\n filtro.add(Filtro.Op.OR, unFiltro);\n\n }\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n } // fine del blocco try-catch\n\n /* valore di ritorno */\n return filtro;\n }", "title": "" }, { "docid": "92fd3b314453f94de9c11295183b4130", "score": "0.51458234", "text": "private void moCuaSoChonGiaoVien(){\n \n }", "title": "" }, { "docid": "7f99108cd28e6d18860f81e6ed3c97bc", "score": "0.51443195", "text": "public void oscilacion() {\n o = (2*(Math.PI))*(Math.sqrt(a/l));\n }", "title": "" }, { "docid": "be686668bb7e50edae0d8b8f87d8ce17", "score": "0.51384383", "text": "public abstract void alearga();", "title": "" }, { "docid": "d94ed49cc9557c7b37f59fc25ad380ce", "score": "0.51332945", "text": "public Gulosa(Cidade objetivo) {\n\n this.objetivo = objetivo;\n achou = false;\n\n }", "title": "" }, { "docid": "92f95bd23de362a71b27857f7bb3befc", "score": "0.51304984", "text": "@Test\npublic void testOfertaJubiladoAplica() {\n\tSystem.out.println(\"3. Caso de prueba SIMPLE: Aplica descuento por ser jubilado \");\n\tVenta venta=new Venta(cliPedro,100);\n\tIOferta oferSimple=new OfertaJubilado(50); // crea una oferta para menores de 18 años del 15%\n\t\t// asigna la oferta a la venta\n\tventa.setOfertaAplicar(oferSimple);\n\t\t// comprueba que el importe de la venta es 85, es decir, aplica el descuento porque Ana tiene 15 años\n\tAssert.assertEquals(venta.calculaImporteFinal(),50.0,0.0);\n\t \n\t \n}", "title": "" }, { "docid": "560a3339f0de55acc488ff4df0382e28", "score": "0.5129798", "text": "@Override\n\tpublic void atualizar(CondutoresHab condutor) {\n\t\t\n\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.51243925", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.51243925", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.51243925", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "91a0bb6295ef8ee433200b28b092dcc2", "score": "0.5120152", "text": "private DAOFuncionario() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "c97ad226b2a1604b29eca92d60f1f600", "score": "0.51157194", "text": "abstract void computeVietorisRipsHomology();", "title": "" }, { "docid": "3a9866b725cacf70f65a8533fbea1103", "score": "0.51149017", "text": "@Override\n\tpublic void tormenta() {\n\t\tthis.fuerza*=0.7;\n\t}", "title": "" }, { "docid": "e59254d947e3db9e3735b12277819d1d", "score": "0.5112846", "text": "public void testeTipo1(){\n\t\ttipo1();\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cecafdaf1d270f5da514f86df2502090", "score": "0.0", "text": "@Override\n\tpublic boolean keyTyped(char character) {\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6694239", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65686274", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, { "docid": "962e2aa1efc1eb9e8f7e2b38da8566b6", "score": "0.6441175", "text": "@Override\r\n\tprotected void method4() {\r\n\t\t// TODO Auto-generated method stub\r\n\t\t\r\n\t}", "title": "" }, { "docid": "cd03efba12b5473dcc457b910fd92a0e", "score": "0.63254577", "text": "@Override\n\t\t\tpublic void sprout() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b4764437fc96bd523380203d0a714e9f", "score": "0.63064295", "text": "@Override\r\n\tpublic void calistir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ded15aaeb71ec68606fe2fb94e86fd30", "score": "0.62976253", "text": "@Override\n\tpublic void festlegen() {\n\t\t\n\t}", "title": "" }, { "docid": "6c2fa45ab362625ae567ee8a229630a4", "score": "0.622455", "text": "@Override\n\tprotected void interr() {\n\t}", "title": "" }, { "docid": "5cf6e7275cb8d34bdacabdb57b1297ed", "score": "0.61845726", "text": "public void mo74847b() {\n }", "title": "" }, { "docid": "1121ee7f7fb44c1a82d76b74dfca36ce", "score": "0.61822534", "text": "@Override\r\n\tprotected void vivir() {\n\t\t\r\n\t}", "title": "" }, { "docid": "50501dd87f1998a502196290135921d9", "score": "0.61727506", "text": "@Override\r\n\tpublic void bewegeNachUnten() {\n\r\n\t}", "title": "" }, { "docid": "fb712911683b694cdce8a0591533827a", "score": "0.6169982", "text": "public void attaquer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "d782462e898859cd8f1a6e804776230b", "score": "0.6119481", "text": "@Override\n\tpublic void kahvalti() {\n\t\t\n\t}", "title": "" }, { "docid": "5188ca7aad5f258e672f0989f34a3f46", "score": "0.61062694", "text": "public void mo80636c() {\n }", "title": "" }, { "docid": "320da35135786dc4505079f4a9a73c36", "score": "0.6103035", "text": "@Override\r\n\tpublic void preen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "24da068fbc02f8b8b3aa9cab24026941", "score": "0.60865915", "text": "@Override\n\tpublic void atacar() {\n\t\t\n\t}", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "06d440269c184993ff4f11d933a81aed", "score": "0.60860294", "text": "public void mo11421d() {\n }", "title": "" }, { "docid": "10d92a66c246261fe6e471d744e9a556", "score": "0.6085701", "text": "@Override\n\tpublic void rysuje() {\n\t\t\n\t}", "title": "" }, { "docid": "7c007022c54a0806ff9bd5438ae3e2ec", "score": "0.60739225", "text": "public void mo74769c() {\n }", "title": "" }, { "docid": "6fd2749106ffef4cb03e557457ef432e", "score": "0.60392183", "text": "@Override\n public void alpulsarNO() {\n\n\n }", "title": "" }, { "docid": "df5a58b776d79955ce4bf7e18e9ddfc4", "score": "0.6021335", "text": "public void mo9214a() {\n }", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "792350939017ccf304337ff492e7db06", "score": "0.601073", "text": "@Override\n\tpublic void init() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "title": "" }, { "docid": "cc0ab1c285fd2b1a0f1742f44327869d", "score": "0.59759116", "text": "@Override\r\n\tpublic void kasitteleSyote() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ced4b47c7129b2184e6a77b2a8798fd1", "score": "0.5946297", "text": "@Override\n public void annuler() {\n\n }", "title": "" }, { "docid": "6f1e0cfaa7350cf143896dace56978f5", "score": "0.59291553", "text": "@Override\n\tpublic void respirar() {\n\t\t\n\t}", "title": "" }, { "docid": "3334d3b302fd55029e7bd247c823c639", "score": "0.5911117", "text": "@Override\n\tvoid accerlate() {\n\t\t\n\t}", "title": "" }, { "docid": "3d63ba02955ffee95b4ac1b66c98f160", "score": "0.59105057", "text": "@Override\n protected boolean Rol() {\n return true;\n }", "title": "" }, { "docid": "fee1a18ceca61748f93149cd393850fc", "score": "0.5909857", "text": "public void mo74768d() {\n }", "title": "" }, { "docid": "ba348d037fde33ef982a79632d7adf5e", "score": "0.59073913", "text": "@Override\n\tpublic void bouger()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5903432", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "c16fc3362f80f1c0559c76bf68be5792", "score": "0.58831", "text": "@Override\n\tpublic void affiche() {\n\t\t\n\t}", "title": "" }, { "docid": "1351a596cfde79c7fcbaa0c0ac90ed14", "score": "0.5865934", "text": "@Override\n public boolean Aapninger() {\n return true;\n }", "title": "" }, { "docid": "4967494f628119c8d3a4740e09278944", "score": "0.5858707", "text": "@Override\r\n\tprotected void initData() {\n\r\n\t}", "title": "" }, { "docid": "adbbc233cf07504fdedfcdf74afa4901", "score": "0.583616", "text": "@Override\n\tpublic void prnt() {\n\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "7d4da85943fb6a6ba61dac3c9ae538b3", "score": "0.5831551", "text": "@Override\n\tpublic void morir() {\n\t\t\n\t}", "title": "" }, { "docid": "27e0c12332a0f3b9fe854aa8beb3bad6", "score": "0.5825081", "text": "@Override\n\tpublic void OffersOfTheDay() {\n\t\t\n\t}", "title": "" }, { "docid": "e57f005733f2eb8590150b3f4542b844", "score": "0.5810343", "text": "@Override\n\tprotected void getData() {\n\t\t\n\t}", "title": "" }, { "docid": "79d198822ce7c98fbe391cfdeb33e3f6", "score": "0.58049023", "text": "@Override\r\n\tprotected void acelerar() {\n\r\n\t}", "title": "" }, { "docid": "2d17f675c4797d1489ccbc9d83c3ec33", "score": "0.5801597", "text": "@Override\n\tpublic void umm() {\n\t\t\n\t}", "title": "" }, { "docid": "c9d7a19ad712ece23e6218c1bbd97e1b", "score": "0.57992023", "text": "@Override\n\tpublic void creap() {\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "d5b930411834332d013e7e45ca7412e4", "score": "0.57919663", "text": "public void getAadhar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6c990ce3c0c4e578d5c2e065a437f8c3", "score": "0.5790907", "text": "public void inverte() {\n\t\t\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "2988fe45f681712faab63cb0e862874c", "score": "0.57805216", "text": "@Override\r\n protected void poDolaczeniu() {\n\r\n }", "title": "" }, { "docid": "3a0aa7f30eee7a869c7fd2960b14db07", "score": "0.5778643", "text": "@Override\n public void destoty() {\n }", "title": "" }, { "docid": "10d40e9b81b4ba39c3ab6d779f3b2692", "score": "0.577812", "text": "public void mo31237c() {\n }", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "8843ebe8d692b94536f16d5f07fdff4f", "score": "0.57587487", "text": "@Override\n public void update() {\n // TODO Auto-generated method stub\n }", "title": "" }, { "docid": "c379949c43d334b2a73a78b63ebac3c1", "score": "0.5757493", "text": "@Override public int getAtaque(){\n return 0;\n\n }", "title": "" }, { "docid": "535ccad74dc29933b6b48fea680ba27c", "score": "0.5753717", "text": "@Override\r\n\tpublic void operacion() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a65f81fad538053c05dc35d7be360588", "score": "0.5752461", "text": "@Override public int getDefensa(){\n return 0;\n\n }", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c4fa257f1d9c8e55ec00612334f57e8b", "score": "0.5742544", "text": "@Override\n public void init() {\n\t\n }", "title": "" }, { "docid": "691b15fed469ddc176b9c9e6151dea65", "score": "0.5739092", "text": "@Override\n\tpublic void breathes()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "a624b89db95eebb0d7e745f8301395c1", "score": "0.57344353", "text": "public void method() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "c6e40448cb261fef3ee1fc3a1f5373f0", "score": "0.5732929", "text": "@Override\n\tpublic void operation() {\n\t\t\n\t}", "title": "" }, { "docid": "cadfa07fe44678e9617053752fa5f43d", "score": "0.57283473", "text": "@Override\r\n \tpublic String toString() {\r\n \t\treturn super.toString();\r\n \t}", "title": "" }, { "docid": "c303699d6c9f8d3a2b316125e204825c", "score": "0.57273126", "text": "@Override\n\tpublic void verTop10() {\n\t\t\n\t}", "title": "" }, { "docid": "c74f29111dd26487e1359eb6abdacbec", "score": "0.57206607", "text": "public void mo74767a() {\n }", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "1756ef4d0803e995be285c55c28e3b84", "score": "0.57156587", "text": "@Override\r\n\tpublic void bewegeNachRechts() {\n\r\n\t}", "title": "" }, { "docid": "62af35269754b8acb72204c12f622caf", "score": "0.5703817", "text": "protected void mo1291L() {\n }", "title": "" }, { "docid": "b07546ce140f2f3bb5b718f3bf303b9a", "score": "0.5702189", "text": "public void mo5721a() {\n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "94016f621198b25fa3341ef2382c6876", "score": "0.5689651", "text": "@Override\n\tpublic void grandir() {\n\t\t\n\t}", "title": "" }, { "docid": "abb78a58451e05c6ba3dd938b5c036e0", "score": "0.5684533", "text": "@Override\r\n public void usunZarejestrowaneObiekty() {\n\r\n }", "title": "" }, { "docid": "b1e3eb9a5b9dff21ed219e48a8676b34", "score": "0.5677706", "text": "@Override\n public void memoria() {\n \n }", "title": "" }, { "docid": "62020c21199fdbaf0b47453874f310f1", "score": "0.5677236", "text": "@Override\n\tpublic void init()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "02b2c6e51ebb5faf78f05c34c734f88d", "score": "0.5676809", "text": "@Override\n\tprotected void adjust() {\n\t\t\n\t}", "title": "" }, { "docid": "9c052331388a2c5e4c1a01dac5b28c41", "score": "0.56740385", "text": "public void verAssist() {\n\t\t\n\n\t}", "title": "" }, { "docid": "3e2b070c1404c777aafba0cbacea02f1", "score": "0.5663756", "text": "@Override\n\tprotected void initializeData() {\n\t\t\n\t}", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7317708cbcbc76fa1d1f4b01af103098", "score": "0.0", "text": "@Override\n\tprotected void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\tsetContentView(R.layout.help);\n\t\tfindViewById(R.id.Help_ExitButton).setOnClickListener(this);\n\t\tfindViewById(R.id.Help_RulesButton).setOnClickListener(this);\n\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.6648208", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "096eb77080c8c192fe461650f49ca14b", "score": "0.65149313", "text": "@Override\r\n public void catering() {\r\n\r\n }", "title": "" }, { "docid": "a21047eaafcc2c1ada6326bfbe33e0ad", "score": "0.64755934", "text": "@Override\r\n public void alquilar() {\n }", "title": "" }, { "docid": "646377f9a04958a6eeea1118fddba04e", "score": "0.64358324", "text": "@Override\n\tpublic void refuel() {\n\n\t}", "title": "" }, { "docid": "c2f383f280f298416bf45e72c374ecfa", "score": "0.6414421", "text": "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cc5af39f74474ffdb7b456b8a10d5774", "score": "0.6357822", "text": "@Override\r\n\tpublic void 길안내() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c18c3127184f8abd7be145ddb9d4c3e6", "score": "0.6348844", "text": "@Override\r\n\tpublic void 온도내리기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.6326172", "text": "public void soigner() {\n\t\t\r\n\t}", "title": "" }, { "docid": "fdbf96893589fef5cdd1a8fe92e98938", "score": "0.62869394", "text": "@Override\n\tpublic void enfria() {\n\n\t}", "title": "" }, { "docid": "9ee6be05232928533401d708d518b6ed", "score": "0.62742454", "text": "@Override\r\n\t\t\tpublic void enginetype() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "83c17378086426b4324c4ea8c160e29d", "score": "0.626611", "text": "@Override\r\n\tpublic void provjeri() {\n\r\n\t}", "title": "" }, { "docid": "556495e35d508ac961dae051dd40b377", "score": "0.61844474", "text": "@Override\n\tpublic void afficher() {\n\t\t\n\t}", "title": "" }, { "docid": "9da42c54ca8fb8825afce96ad2d2781c", "score": "0.61519784", "text": "@Override\r\n\tpublic void comenzar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "ce01e16cbc1fc0a29d28a4365b63f79d", "score": "0.6131432", "text": "@Override\n\tprotected void specialFuntion() {\n\t\t\n\t}", "title": "" }, { "docid": "c387be8fe936bea8d505f3a779d6ba15", "score": "0.61139184", "text": "@Override\n\tpublic void actualise() {\n\t\t\n\t}", "title": "" }, { "docid": "30c236da9912ee76f7962e7da2c72b59", "score": "0.6074856", "text": "@Override\n\tpublic void chante() {\n\t\t\n\t}", "title": "" }, { "docid": "7839d9b18f833d7ad1ccae8536c829da", "score": "0.605568", "text": "@Override\r\n\tpublic void zielone_swiatlo() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f13a29996996a34a710d85285e104a7f", "score": "0.6034386", "text": "public void mo5201a() {\n }", "title": "" }, { "docid": "90586632a4af36d51003a1554ebef902", "score": "0.6030915", "text": "public void mo24205Oz() {\n }", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "5f1811a241e41ead4415ec767e77c63d", "score": "0.6025444", "text": "@Override\n\tprotected void init() {\n\n\t}", "title": "" }, { "docid": "0b7a2d4389f8d1afdedab87d2ac4fb96", "score": "0.5973926", "text": "@Override\n\tprotected void generateData() {\n\t\treturn;\t\t\n\t}", "title": "" }, { "docid": "43f0eb79e8610935222f70ad7a047f4f", "score": "0.59676504", "text": "protected void Referesh() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "69f727ad790d8c02f9f110fb4190bf05", "score": "0.5958382", "text": "@Override\r\n\tpublic void 에어백펼치기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "4fd121321f2d50da2f5700be65d017d8", "score": "0.59534895", "text": "@Override\n\tpublic void filngtonext() {\n\t\t\n\t}", "title": "" }, { "docid": "5289bcfa483e278c4782f4e45b7117eb", "score": "0.59168786", "text": "@Override\n\tpublic void generer() {\n\t\t\n\t}", "title": "" }, { "docid": "c52abf264dc130278399a6a822295dca", "score": "0.5916093", "text": "@Override\n\t\t\tpublic void e() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "661a589ba018609d85af5ba0fc651d02", "score": "0.5909626", "text": "@Override\n\t\tprotected void process() {\n\t\t}", "title": "" }, { "docid": "c28afddea09ba99a1adc54b371dabaa1", "score": "0.59047043", "text": "@Override\r\n\tpublic void 온도높이기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "afad8999ad242028a092a07078328021", "score": "0.5886539", "text": "public void mo55240a() {\n }", "title": "" }, { "docid": "6827ba40809e6f9bad9a043036edaa04", "score": "0.58847684", "text": "@Override\r\n\tpublic void dormir() {\n\t}", "title": "" }, { "docid": "6afb1e3a721c7314f12581b77ae35716", "score": "0.5883849", "text": "@Override\n\tprotected void colisao() {\n\t\t\n\t}", "title": "" }, { "docid": "40a41a107fa03a270a78b03d0bcf910d", "score": "0.58717483", "text": "private void ergebnisAuswerten() {\n\n\t}", "title": "" }, { "docid": "c5fa2315669c0925b60762f7cca5f0f6", "score": "0.58611465", "text": "public void mo5203c() {\n }", "title": "" }, { "docid": "a672d2d2a4b7bb037f7f20d62ff1f55e", "score": "0.58465064", "text": "@Override\n\tpublic void ss() {\n\t\t\n\t}", "title": "" }, { "docid": "fa29da40be3a8b33b07b21fe8e0ba298", "score": "0.5842648", "text": "@Override\n\tpublic void notity() {\n\t\t\n\t}", "title": "" }, { "docid": "4ff7fd5d2a0aebc561e81557b528262a", "score": "0.58340675", "text": "@Override\n\tprotected void initialize() {\n\n }", "title": "" }, { "docid": "f323cb003520a5608cea47c5412447e4", "score": "0.58295655", "text": "@Override\n\t\t\t\tpublic int characteristics() {\n\t\t\t\t\treturn 0;\n\t\t\t\t}", "title": "" }, { "docid": "089be79d90be02605e37d2a48b09e194", "score": "0.58192337", "text": "@Override\n\tpublic void gril() {\n\n\t}", "title": "" }, { "docid": "b14d9313b224be37257260448fc816d3", "score": "0.58025044", "text": "@Override\n\tpublic void breathes()\n\t{\n\n\t}", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "ce91051d32625345f2bf3562abbb93de", "score": "0.5791661", "text": "@Override\n\tprotected void inicializar() {\n\t}", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.5791594", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "79a702a1409937a9a2dd8f8167323190", "score": "0.5784611", "text": "@Override\n\tvoid promocja() {\n\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "86ca2b6b7e0174532c4a1f8a4dec7946", "score": "0.577024", "text": "@Override\r\n\tpublic void 주차보조() {\n\t\t\r\n\t}", "title": "" }, { "docid": "e74841359f2b616460c1fcf1e3e0b696", "score": "0.57600427", "text": "@Override\n\tpublic void Oeffne_Schadenanlage() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "a8b768dae1b52549249069e4d6a9253f", "score": "0.5750039", "text": "@Override\n public int getType() {\n return 0;\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "f98329c4ce112f2ebcf93e4b478576a0", "score": "0.5745665", "text": "@Override\r\n\tpublic void work4() {\n\t\t\r\n\t}", "title": "" }, { "docid": "6cfde2be0b51f55a421cdc3e28609c66", "score": "0.57384264", "text": "@Override\n\tprotected void salario() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "f5fd4f1b89ecbb54b8b64a1b9e40552c", "score": "0.5733982", "text": "protected void mo7431b() {\n }", "title": "" }, { "docid": "3fb97b46c147b19f8180197325c66d34", "score": "0.5722489", "text": "@Override\n public void quite() {\n }", "title": "" }, { "docid": "f448e47f2da25727e964a3718545f012", "score": "0.5718643", "text": "public final void mo93547c() {\n }", "title": "" }, { "docid": "9a26c4906f8195084e9ec158504cab47", "score": "0.571633", "text": "@Override\n public void init() {\n \n }", "title": "" }, { "docid": "0fc890bce2cd6e7184e33036b92f8217", "score": "0.5714686", "text": "public void mo55254a() {\n }", "title": "" }, { "docid": "d7c48eb628caa38ca564de355edb7e6e", "score": "0.5709367", "text": "@Override\n public int getType() {\n return 1;\n }", "title": "" }, { "docid": "593053b99bc5abca6d010d9e21a31e6b", "score": "0.570741", "text": "@Override\r\n\tpublic void 자율주행하기() {\n\t\t\r\n\t}", "title": "" }, { "docid": "28872bba7a5c17cad13c73f21624cabc", "score": "0.57049847", "text": "@Override\n\tpublic void CreateRs() {\n\t\t\n\t}", "title": "" }, { "docid": "8e056894cd061aea767d71a9c1b43d97", "score": "0.5701457", "text": "@Override\n\tpublic void init(){\n\t}", "title": "" }, { "docid": "2102a3691307d06f0d2ee35d192fccc6", "score": "0.57008916", "text": "protected Encontro() {\n\t}", "title": "" }, { "docid": "e8f6ecd3f06f1f0e76ca511991b76265", "score": "0.5697829", "text": "protected void defesa(){}", "title": "" }, { "docid": "39132efb6b42f8ec625d96ff6226d80b", "score": "0.5696396", "text": "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "c937f9289f415cfdd7aefc5d621d0867", "score": "0.567194", "text": "@Override\n protected void inicializar() {\n }", "title": "" }, { "docid": "75e13fc47dcc1e84b4615e5de4d4c091", "score": "0.56708115", "text": "@Override\n public String getName() {\n return null;\n }", "title": "" }, { "docid": "b6c641fa6ba40a5b14cc33cb07aa0671", "score": "0.5669723", "text": "@Override\n\tprotected void initData() {\n\t}", "title": "" }, { "docid": "81488a3212e9004be8808ba15e91f1a5", "score": "0.56636477", "text": "public final void mo93546b() {\n }", "title": "" }, { "docid": "1b6ae1f9acb8e538994b7d00bae50317", "score": "0.5662892", "text": "@Override\n\tprotected void skirmish() {\n\n\t}", "title": "" }, { "docid": "da07444f023c4f45aa766ef285cccf1c", "score": "0.56608945", "text": "@Override\n\tpublic void 吃斋() {\n\n\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" }, { "docid": "9f6aa437b415b967faa876e403ae9f7b", "score": "0.5658635", "text": "@Override\n\t\t\tpublic boolean esTorre() {\n\t\t\t\treturn false;\n\t\t\t}", "title": "" } ]
5b30be86a95e4c325c600c0ca505cddc
List the feeds which this feed is following.
[ { "docid": "2e9dfd79627aa38f328b5eb6aabe8394", "score": "0.7610114", "text": "List<FeedFollow> getFollowing() throws IOException, StreamClientException;", "title": "" } ]
[ { "docid": "2ed3186d69995f7afbfe00e82affa13b", "score": "0.7484138", "text": "List<FeedFollow> getFollowing(FeedFilter filter) throws IOException, StreamClientException;", "title": "" }, { "docid": "1f68ded23ff8ffb638f173d2ed569570", "score": "0.7406551", "text": "List<FeedFollow> getFollowers() throws IOException, StreamClientException;", "title": "" }, { "docid": "cc61882eaf753d94ba8d2d77b424c357", "score": "0.73160577", "text": "List<FeedFollow> getFollowers(FeedFilter filter) throws IOException, StreamClientException;", "title": "" }, { "docid": "1a2e2a716bf4691426d343ac65ce5337", "score": "0.67907", "text": "public List<User> getFollowing() {\n return new ArrayList<User>(this.following);\n }", "title": "" }, { "docid": "23ab99490858ad3b5ba7b4801cdd89d4", "score": "0.675421", "text": "public List<UserDetails> getFollowing() {\n return following;\n }", "title": "" }, { "docid": "d3f6aa9de1a76af6222aa45a0639817e", "score": "0.6447743", "text": "List<String> getFeedNames();", "title": "" }, { "docid": "f979de1cf7f25a293e6364f38acac5f4", "score": "0.6363848", "text": "public long getFollowers() {\n\t\treturn followers;\n\t}", "title": "" }, { "docid": "090df640d8b3c497cfd1dcb22d2b1803", "score": "0.62423015", "text": "public synchronized List<FbFeed> getAllEventFeeds() {\n \tList<FbFeed> fbFeeds = new ArrayList<FbFeed>();\n \t// Select All Query\n String selectQuery = \"SELECT * FROM \" + DATABASE_TABLEPOSTS;\n Cursor cursor = db.rawQuery(selectQuery, null);\n if (cursor.moveToFirst()) {\n do {\n FbFeed newFbFeed = new FbFeed();\n //contact.setID(Integer.parseInt(cursor.getString(0)));\n newFbFeed.setEvId(cursor.getString(1));\n newFbFeed.setMessage(cursor.getString(2));\n newFbFeed.setPostId(cursor.getString(3));\n newFbFeed.setCreatedAt(cursor.getString(4));\n newFbFeed.setUserId(cursor.getString(5));\n newFbFeed.setUserName(cursor.getString(6));\n \n // Adding contact to list\n fbFeeds.add(newFbFeed);\n } while (cursor.moveToNext());\n }\n \t//String[] resultColumns = new String[] { KEY_ROWID, KEY_USERNAME, KEY_USERID};\n \treturn fbFeeds;\t\n }", "title": "" }, { "docid": "f53df87ea70140a2e1f7e000ec9f1b1a", "score": "0.6146657", "text": "public List<Status> getFollowers() throws TwitterException {\n LOG.debug(\"getFollowers\");\n List<Status> friendlist = new ArrayList<>();\n Twitter twitter = twitterInstance;\n IDs ids2 = twitter.friendsFollowers().getFriendsIDs(twitter.getId());\n IDs ids = twitter.getFollowersIDs(twitter.getId());\n \n long idss[] = ids2.getIDs();\n for (int i = 0; i < idss.length; i++) {\n friendlist.add(getStatus(idss[i]));\n LOG.info(idss[i] + \"\");\n }\n return friendlist;\n }", "title": "" }, { "docid": "5dc77f988b0988525bd2251635c64037", "score": "0.6127782", "text": "@GET\n public List<Feed> listFeeds() throws IOException {\n List<Feed> feeds = new ArrayList<>();\n\n for (FeedsDB.PrefixIterator it = db.scan(FEEDS_PREFIX);\n it.hasNext();) {\n feeds.add(mapper.readValue(it.next(), Feed.class));\n }\n\n return feeds;\n }", "title": "" }, { "docid": "6e0be9fa73e85efe2ea00e48fe6549c8", "score": "0.6013198", "text": "@Override\n public List<User> getFollowing(UUID userID) {\n User user = finderService.getUserById(userID);\n return new ArrayList<>(user.getUsersFollowed());\n }", "title": "" }, { "docid": "ec45502fa3f1e757f69adb0c40167645", "score": "0.6002682", "text": "public void getFollowUsers() {\n if (loading || noMore) return;\n\n loading = true;\n setFooter();\n String userID = getArguments().getString(ARG_ID);\n\n if (getArguments().getInt(ARG_TYPE) == TYPE_FOLLOWERS) {\n UserStore.getUserFollowers(userID, LIMIT, offset, new GetFollowCallback(callbackManager));\n } else {\n UserStore.getUserFollowing(userID, LIMIT, offset, new GetFollowCallback(callbackManager));\n }\n }", "title": "" }, { "docid": "ddf6140f9c0e95c235e4a461d7918163", "score": "0.6001236", "text": "private void fillFollowingList() {\n DatabaseReference reference = FirebaseDatabase.getInstance()\n .getReference(\"Follow\").child(firebaseUser.getUid()).child(\"Following\");\n\n reference.addValueEventListener(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n followingList.clear();\n for (DataSnapshot snapshot : dataSnapshot.getChildren()) {\n followingList.add(snapshot.getKey());\n }\n }\n\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }", "title": "" }, { "docid": "c83930d527185b56086f857196908d43", "score": "0.60001826", "text": "@Override\n public List<User> getFollowers(UUID userID) {\n User user = finderService.getUserById(userID);\n return new ArrayList<>(user.getFollowedByUsers());\n }", "title": "" }, { "docid": "b1bb1484eb58647ec7b8bb92869527dd", "score": "0.5991866", "text": "List<User> following(String apiKey, String apiSecret, String token, String tokenSecret,\n String username, int limit) throws TwitterException;", "title": "" }, { "docid": "84d995a015bfda2a3f318ccf6ac1684c", "score": "0.5972143", "text": "@CrossOrigin\n @GetMapping(\"/api/all_following_records\")\n public List<Following> findAllFollowingRecords() {\n return petFinderDao.findAllFollowingRecords();\n }", "title": "" }, { "docid": "5eb5a942a5ee2d7ae8ecd458301b1e36", "score": "0.59288204", "text": "public synchronized List<TokenType> getFollowers() {\n if (follows == null) {\n follows = new ArrayList<>();\n\n for (String strfollow : strfollows) {\n follows.addAll(searchValueOf(strfollow));\n }\n }\n\n return follows;\n }", "title": "" }, { "docid": "5d8ed74225b39ae8a6e4a2032d9cb102", "score": "0.592857", "text": "public interface FeedList {\r\n public void addFeed(String uriString);\r\n\r\n public void addFeed(String uriString, char formatHint);\r\n\r\n public void addFeed(Feed feed);\r\n\r\n public void addFeeds(FeedList feeds);\r\n\r\n public boolean containsFeed(String url);\r\n\r\n /**\r\n * @return all feeds\r\n */\r\n public ConcurrentLinkedQueue<Feed> getList();\r\n\r\n public Feed createFeed(String uri);\r\n\r\n public Feed getNext();\r\n\r\n // public void refreshAll();\r\n\r\n public int size();\r\n\r\n public Set<Link> getAllLinks();\r\n\r\n public Set<Link> getRemoteLinks();\r\n\r\n public void remove(Feed feed);\r\n // public EntryList getEntries();\r\n\r\n // public void setFirstCall(boolean b);\r\n}", "title": "" }, { "docid": "06083f2c6efc90a4ad8d44566c92fc55", "score": "0.58283615", "text": "public List<Integer> getNewsFeed(int userId) {\n if (!users.containsKey(userId))\n return new ArrayList<>();\n\n List<Integer> newsFeed = new ArrayList<>();\n Queue<Tweet> maxHeap = new PriorityQueue<>((a, b) -> b.time - a.time);\n\n for (final int followeeId : users.get(userId).followeeIds) {\n Tweet tweetHead = users.get(followeeId).tweetHead;\n if (tweetHead != null)\n maxHeap.offer(tweetHead);\n }\n\n int count = 0;\n while (!maxHeap.isEmpty() && count++ < 10) {\n Tweet tweet = maxHeap.poll();\n newsFeed.add(tweet.id);\n if (tweet.next != null)\n maxHeap.offer(tweet.next);\n }\n\n return newsFeed;\n }", "title": "" }, { "docid": "5ce49cc997690f04d08e69b9759098e4", "score": "0.58158773", "text": "public List<Tweet> getNewsFeed() {\r\n return newsFeed;\r\n }", "title": "" }, { "docid": "a1655b0cb073e8a20fc3a40f222baf07", "score": "0.58126503", "text": "String getFollows();", "title": "" }, { "docid": "e3d23be7f4a396fa1e7e080ea47c1a34", "score": "0.58049333", "text": "public String[] getFeedsUrls() {\n\t\tCursor c = getReadableDatabase().query(\"feeds\", null, null, null, null, null, null);\n\t\tif (c == null)\n\t\t{\n\t\t\t//System.out.println(\"getFeedsUrls ==null\");\n\t\t\treturn null;\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//System.out.println(\"cursor count \" + c.getCount());\n\t\t}\n\t\t\t\n\t\tString [] urls = new String [c.getCount()]; \n\t\tfor (int i = 0; i < urls.length; i++) {\n\t\t\tc.moveToPosition(i);\n\t\t\turls [i] = c.getString(c.getColumnIndex(\"rssurl\"));\n\t\t\t//System.out.println(\"urls [i]\");\n\t\t}\n\t\t//int count = c.getCount();\n\t\t//c.close();\n\t\t//System.out.println(\"getFeeds == ok \" );\n\t\treturn urls;\n\t}", "title": "" }, { "docid": "a65de8585571595b1d915b80c3316b5b", "score": "0.5795941", "text": "public List<Integer> getNewsFeed(int userId) {\n\t if (!userMap.containsKey(userId))\n\t return new ArrayList<>();\n\t List<Integer> res = new ArrayList<>();\n\t Set<Integer> users = userMap.get(userId).followed;\n\t Queue<Tweet> pq = new PriorityQueue<>((a, b) -> (b.time - a.time));\n\t for (int user : users) {\n\t Tweet tweetHead = userMap.get(user).tweet_head;\n\t if (tweetHead != null)\n\t pq.add(tweetHead);\n\t }\n\t int cnt = 0;\n\t while (!pq.isEmpty() && cnt < 10) {\n\t Tweet tweetHead = pq.poll(); \n\t res.add(tweetHead.id);\n\t if (tweetHead.next != null)\n\t pq.add(tweetHead.next);\n\t cnt++;\n\t }\n\t return res;\n\t }", "title": "" }, { "docid": "7cb0fd7aa2f007989ccffae9f345ab2e", "score": "0.57913864", "text": "public List<Integer> getNewsFeed(int userId) {\n PriorityQueue<Tweet> pq = new PriorityQueue<>(new Comparator<Tweet>() {\n @Override\n public int compare(Tweet p, Tweet q) {\n if (p.time > q.time) return -1;\n if (p.time == q.time) return 0;\n return 1;\n }\n });\n\n List<Integer> res = new ArrayList<>();\n if (!userMap.containsKey(userId)) return res;\n Set<User> users = userMap.get(userId).follows;\n for (User user : users) {\n Tweet t = user.tweetHead;\n if (t != null) {\n pq.offer(t);\n }\n }\n int cnt = 0;\n while (!pq.isEmpty() && cnt < RECENT_NUMBER) {\n Tweet tweet = pq.poll();\n cnt++;\n res.add(tweet.id);\n if (tweet.next != null) {\n pq.offer(tweet.next);\n }\n }\n return res;\n }", "title": "" }, { "docid": "b688bb039f8c0432af3f3175d28b3f3b", "score": "0.5759017", "text": "public List<Integer> getNewsFeed(int userId) {\n LinkedList<Node> news = new LinkedList<Node>();\n Set<Integer> fs = follows.get(userId);\n if (fs == null)\n fs = new HashSet<Integer>();\n fs.add(userId);\n for (Integer i : fs) {\n LinkedList<Node> ns = tweets.get(i);\n if (ns != null) {\n int c = 0;\n for (Node t : ns) {\n int j = 0;\n while (j < news.size()) {\n if (t.order > news.get(j).order) {\n news.add(j, t);\n break;\n }\n j++;\n }\n if (j == news.size())\n news.addLast(t);\n if (news.size() > 10)\n news.remove(10);\n if (++c == 10)\n break;\n }\n }\n }\n LinkedList<Integer> res = new LinkedList<Integer>();\n for (Node n : news)\n res.add(n.tweetId);\n return res;\n }", "title": "" }, { "docid": "55c987c9aef7a65c08e3c38e4e9c9f54", "score": "0.5747541", "text": "@GetMapping(\"feed\")\n\tpublic ResponseEntity<List<Tweet>> getUserFeed(@RequestHeader(value = \"Authorization\") String sessionToken) {\n\n\t\ttry {\n\t\t\tList<Tweet> tweetList = feedService.findTweetsByFollower(sessionToken);\n\t\t\tif (!tweetList.isEmpty()) {\n\t\t\t\treturn new ResponseEntity<List<Tweet>>(tweetList, HttpStatus.OK);\n\t\t\t} else {\n\t\t\t\treturn new ResponseEntity<List<Tweet>>(tweetList, HttpStatus.NO_CONTENT);\n\t\t\t}\n\t\t} catch (UserNotFoundException e) {\n\t\t\treturn new ResponseEntity<List<Tweet>>(HttpStatus.UNAUTHORIZED);\n\t\t} catch (RuntimeException e) {\n\t\t\treturn new ResponseEntity<List<Tweet>>(HttpStatus.INTERNAL_SERVER_ERROR);\n\t\t}\n\n\t}", "title": "" }, { "docid": "e160be48cb8b0a17c946f4c89ff339d4", "score": "0.57320285", "text": "public List<Integer> getNewsFeed(int userId) {\n\t\t\tSet<Integer> followers = userFollowersMap.get(userId);\n\t\t\tList<Tweet> tweets = new ArrayList<Tweet>();\n\t\t\tif (followers != null && followers.size() > 0) {\n\t\t\t\tIterator<Integer> iter = followers.iterator();\n\t\t\t\twhile (iter.hasNext()) {\n\t\t\t\t\ttweets.addAll(userTweetsMap.get(iter.next()));\n\t\t\t\t}\n\t\t\t\tCollections.sort(tweets, new Comparator<Tweet>() {\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic int compare(Tweet o1, Tweet o2) {\n\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\treturn o2.autoGenId - o1.autoGenId;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif (tweets.size() > 10) {\n\t\t\t\t\ttweets = tweets.subList(0, 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tList<Integer> output = new ArrayList<Integer>();\n\t\t\tfor (int i = 0; i < tweets.size(); i++) {\n\t\t\t\toutput.add(tweets.get(i).tweetId);\n\t\t\t}\n\n\t\t\treturn output;\n\t\t}", "title": "" }, { "docid": "8f17f60f69ac8f4c81fb7409aa80935b", "score": "0.5716976", "text": "@JsonIgnore public Collection<Person> getFollowss() {\n final Object current = myData.get(\"follows\");\n if (current == null) return Collections.emptyList();\n if (current instanceof Collection) {\n return (Collection<Person>) current;\n }\n return Arrays.asList((Person) current);\n }", "title": "" }, { "docid": "f201e6755dbf671b0f6bd156ad898467", "score": "0.5690668", "text": "public String getFollowids() {\n return followids;\n }", "title": "" }, { "docid": "342ad75b5359fa119bf092b44ef154c5", "score": "0.5680026", "text": "List<User> followers(String apiKey, String apiSecret, String token, String tokenSecret,\n String username, int limit) throws TwitterException;", "title": "" }, { "docid": "2ae5aac23fe32e21256286a193bed75a", "score": "0.56704926", "text": "public List<Integer> getNewsFeed(int userId) {\n List<Integer> res = new LinkedList<>();\n PriorityQueue<Tweet> queue = new PriorityQueue(new Comparator<Tweet>() {\n public int compare(Tweet t1, Tweet t2) {\n return t2.stamp - t1.stamp;\n }\n });\n if (tweets.containsKey(userId))\n queue.offer(tweets.get(userId));\n if (followers.containsKey(userId)) {\n for (int i : followers.get(userId)) {\n if (tweets.containsKey(i))\n queue.offer(tweets.get(i));\n }\n }\n int count = 0;\n while (!queue.isEmpty() && count < 10) {\n Tweet t = queue.poll();\n res.add(t.tweetId);\n if (t.next != null)\n queue.offer(t.next);\n count++;\n }\n return res;\n }", "title": "" }, { "docid": "061529f51fa7b0a9c084a827d9bfbef8", "score": "0.567033", "text": "public int getFollowingCount() { return this.followingCount; }", "title": "" }, { "docid": "d7aef961ebfa28102be4179db8f46d0f", "score": "0.56637025", "text": "public List<Integer> getNewsFeed(int userId) {\n ensureUserIdExists(userId);\n\n // Top 10\n PriorityQueue<Post> pq = new PriorityQueue<>();\n Set<Integer> usersToCheck = new HashSet<>(follows.get(userId));\n usersToCheck.add(userId);\n for (int followeeId : usersToCheck) {\n List<Post> postLists = posts.get(followeeId);\n for (int i = postLists.size() - 1; i >= Math.max(postLists.size() - 10, 0); i--) {\n pq.offer(postLists.get(i));\n if (pq.size() > 10) {\n pq.poll();\n }\n }\n }\n\n List<Integer> list = new ArrayList<>();\n while (!pq.isEmpty()) {\n list.add(pq.poll().tweetId);\n }\n\n for (int left = 0, right = list.size() - 1; left < right; left++, right--) {\n int tmp = list.get(left);\n list.set(left, list.get(right));\n list.set(right, tmp);\n }\n\n return list;\n }", "title": "" }, { "docid": "b545fd1bd5962d85b3d453d66cf4828d", "score": "0.5655689", "text": "List<User> following(String apiKey, String apiSecret, String token, String tokenSecret,\n String username) throws TwitterException;", "title": "" }, { "docid": "5641e0f8fb16f67881804d44883e0ced", "score": "0.56376517", "text": "public List<Integer> getNewsFeed(int userId) {\n //min heap that the earliest tweet is on the top\n PriorityQueue<Tweet> feedHeap = new PriorityQueue<>((a, b) -> a.timePosted - b.timePosted);\n List<Integer> myFeed = new LinkedList<>();\n\n //add tweets of the followees\n Set<Integer> myFollowees = followees.get(userId); // Get the followers from the map\n\n if(myFollowees != null) {\n for(int followeeId : myFollowees) {\n List<Tweet> followeeTweets = tweets.get(followeeId);\n\n if(followeeTweets == null)\n continue;\n\n for(Tweet t : followeeTweets) {\n if(feedHeap.size() < feedMaxNum)\n feedHeap.add(t);\n else {\n if(t.timePosted <= feedHeap.peek().timePosted)\n break;\n else {\n feedHeap.add(t);\n feedHeap.poll(); //remove the oldest tweet\n }\n }\n }\n }\n }\n\n while(!feedHeap.isEmpty()) {\n myFeed.add(0, feedHeap.poll().tweetId);\n }\n\n return myFeed;\n }", "title": "" }, { "docid": "d136a7113601b9c1a0a1ec47e131174c", "score": "0.5606298", "text": "public List<User> getFollowers(String userLogin) {\n return mRemoteStorage.getFollowers(userLogin);\n }", "title": "" }, { "docid": "a098f6e3217d71dfeb4af1df28e47694", "score": "0.56025165", "text": "public LinkedHashMap <Post, ArrayList<Comment>> retrieveNewsFeed() {\n int currentUserId = currentUser.getUserId();\n LinkedHashMap <Post, ArrayList<Comment>> newsfeed = new LinkedHashMap<>();\n\n // Get a list of the current user's friends\n ArrayList<UserProfile> friends = FriendsDAO.getFriendsByUserId(currentUserId);\n \n // Populate all of their ids (along with the current user's id)\n ArrayList<Integer> listOfIdsToFindPostBy = new ArrayList<>();\n listOfIdsToFindPostBy.add(currentUserId);\n for (UserProfile friend : friends) {\n listOfIdsToFindPostBy.add(friend.getUserId());\n }\n\n newsfeed = PostUtility.retrievePostsByUserIds(listOfIdsToFindPostBy);\n\n return newsfeed;\n }", "title": "" }, { "docid": "619b0f15502c4c32d96a3a2222f43c60", "score": "0.5584237", "text": "public List<Integer> getNewsFeed(int userId) {\n List<Integer> res = new ArrayList<>();\n if (!userMap.containsKey(userId)) return res;\n //关注用户列表ID\n Set<Integer> users = userMap.get(userId).followed;\n // 自动通过 time 属性从大到小排序\n PriorityQueue<Tweet> pq = new PriorityQueue<> (users.size(),(a,b)->(b.time-a.time));\n for(int id:users){\n Tweet twt = userMap.get(id).head;\n if (twt == null){\n continue;\n }\n pq.add(twt);\n }\n while(!pq.isEmpty()){\n if (res.size() == 10) break;\n // 弹出 time 值最大的(最近发表的)\n Tweet tw = pq.poll();\n res.add(tw.id);\n // 将下一篇 Tweet 插入进行排序\n if (tw.next != null)\n pq.add(tw.next);\n }\n return res;\n }", "title": "" }, { "docid": "1102f200ea25043bd7e921dc7394a16f", "score": "0.55755025", "text": "public interface Feed {\n\n public String getId();\n public String getToken();\n\n /**\n * Follows the given target feed.\n *\n * @param feedSlug the slug of the target feed.\n * @param userId\n * @throws IOException\n * @throws StreamClientException\n */\n void follow(String feedSlug, String userId) throws IOException, StreamClientException;\n\n /**\n * Unfollow the given target feed.\n *\n * @param feedSlug the slug of the target feed.\n * @param userId\n * @throws IOException\n * @throws StreamClientException\n */\n void unfollow(String feedSlug, String userId) throws IOException, StreamClientException;\n\n /**\n * Lists the followers of the feed.\n *\n * @return\n * @throws IOException\n * @throws StreamClientException\n */\n List<FeedFollow> getFollowers() throws IOException, StreamClientException;\n\n /**\n * Lists the followers of the feed using the given filter.\n *\n * @param filter Filter out the followers.\n * @return\n * @throws IOException\n * @throws StreamClientException\n */\n List<FeedFollow> getFollowers(FeedFilter filter) throws IOException, StreamClientException;\n\n /**\n * List the feeds which this feed is following.\n *\n * @return\n * @throws IOException\n * @throws StreamClientException\n */\n List<FeedFollow> getFollowing() throws IOException, StreamClientException;\n\n /**\n * List the feeds which this feed is following using the give filter.\n *\n * @param filter Filter out the list of following feeds.\n * @return\n * @throws IOException\n * @throws StreamClientException\n */\n List<FeedFollow> getFollowing(FeedFilter filter) throws IOException, StreamClientException;\n\n /**\n * Removes an activity from the feed.\n *\n * @param activityId the activity id to remove from this feed.\n * @throws IOException\n * @throws StreamClientException\n */\n void deleteActivity(String activityId) throws IOException, StreamClientException;\n\n\n /**\n * Removes an activity from the feed.\n *\n * @param foreignId the activity id to remove from this feed.\n * @throws IOException\n * @throws StreamClientException\n */\n void deleteActivityByForeignId(String foreignId) throws IOException, StreamClientException;\n\n\n /**\n * Get mediator service to handle aggregated activities.\n *\n * @param clazz Subtype of {@link BaseActivity} representing the activity type to handle.\n * @param <T>\n * @return\n */\n <T extends BaseActivity> FlatActivityServiceImpl<T> newFlatActivityService(Class<T> clazz);\n\n /**\n * Get mediator service to handle aggregated activities.\n *\n * @param clazz Subtype of {@link io.getstream.client.model.activities.BaseActivity} representing the activity type to handle.\n * @return\n */\n <T extends BaseActivity> AggregatedActivityServiceImpl<T> newAggregatedActivityService(Class<T> clazz);\n\n /**\n * Get mediator service to handle aggregated activities.\n *\n * @param clazz Subtype of {@link BaseActivity} representing the activity type to handle.\n * @param <T>\n * @return\n */\n <T extends BaseActivity> UserActivityServiceImpl<T> newUserActivityService(Class<T> clazz);\n\n /**\n * Get mediator service to handle aggregated activities.\n *\n * @param clazz Subtype of {@link BaseActivity} representing the activity type to handle.\n * @param <T>\n * @return\n */\n <T extends BaseActivity> NotificationActivityServiceImpl<T> newNotificationActivityService(Class<T> clazz);\n}", "title": "" }, { "docid": "1567bb8a7043bc49585e860a3bd629c7", "score": "0.55744874", "text": "public void setFollowingCount(int count) {\n this.followingCount = count;\n }", "title": "" }, { "docid": "8b4251f9807f1e65748163d0455eeec1", "score": "0.5563967", "text": "public List<Integer> getNewsFeed(int userId) {\n PriorityQueue<Feed> pq=new PriorityQueue<Feed>(new Comparator<Feed>(){\n @Override\n public int compare(Feed f1,Feed f2){\n return f2.news.time-f1.news.time;\n }\n });\n if(!follow.containsKey(userId)){\n follow.put(userId,new HashSet<Integer>());\n follow.get(userId).add(userId);\n }\n for(int followee:follow.get(userId)){\n if(!post.containsKey(followee))\n continue;\n Iterator<News> it=post.get(followee).descendingIterator();\n if(it.hasNext())\n pq.add(new Feed(it));\n }\n List<Integer> res=new ArrayList<Integer>(10);\n for(int i=0;i<10&&!pq.isEmpty();i++){\n Feed fd=pq.poll();\n res.add(fd.news.tid);\n if(fd.it.hasNext()){\n fd.news=fd.it.next();\n pq.add(fd);\n }\n }\n return res;\n }", "title": "" }, { "docid": "50e68f62f51db369fae5da0914ac80c2", "score": "0.5555943", "text": "public List<Integer> getNewsFeed(int userId) {\n // 获取用户关注列表\n Set<Integer> followers = followMap.get(userId);\n if (followers == null) {\n followers = new HashSet<>();\n }\n // 将自己加入列表\n followers.add(userId);\n return mergeTweet(followers);\n }", "title": "" }, { "docid": "0cf9bbb8bf1aeffb6c43c9cb1d22a4c0", "score": "0.5530194", "text": "public List<MessengerUser> getFriends() {\n return friends;\n }", "title": "" }, { "docid": "06d40ad6d64f87bd3898bcf5685090f2", "score": "0.55201715", "text": "public List<Integer> getNewsFeed(int userId) {\n List<Integer> ret = new ArrayList<>();\n pq = new PriorityQueue<>((a, b) -> (a.sequenceId - b.sequenceId));\n addTweets(userId, pq);\n HashSet<Integer> followees = userHm.get(userId);\n if(followees != null && !followees.isEmpty()){\n for(Integer followee: followees){\n addTweets(followee, pq);\n }\n }\n while(!pq.isEmpty()){\n Tweet tweet = pq.poll();\n if(tweet != null) {\n ret.add(0, tweet.tweetId);\n }\n }\n return ret;\n }", "title": "" }, { "docid": "af4ea0764f9f49001ec17434c178d3e2", "score": "0.5518299", "text": "public void listarTweets() {\n\t\tfor (Tweet t : tweets) {\n\t\t\tSystem.out.println(t.getTweet());\n\t\t}\n\t}", "title": "" }, { "docid": "3429efd85adda6e1b149219fe2e53f06", "score": "0.5512194", "text": "public List<Integer> getNewsFeed(int userId) {\n Queue<TweetSearcher> ranker = new PriorityQueue<>(new Comparator<TweetSearcher>() {\n @Override\n public int compare(TweetSearcher o1, TweetSearcher o2) {\n // compare the last element\n int left = o1.tweets.get(o1.currentIndex).time;\n int right = o2.tweets.get(o2.currentIndex).time;\n\n // cannot be the same since time is incremental here\n\n // desc\n return (left < right) ? 1 : -1;\n }\n });\n\n if (this.followers.containsKey(userId)) {\n // first populate the ranker\n for (int followeeId : this.followers.get(userId)) {\n if (this.tweets.containsKey(followeeId)) {\n ranker.add(new TweetSearcher(this.tweets.get(followeeId)));\n }\n }\n }\n\n // populate with user/self\n if (this.tweets.containsKey(userId)) {\n ranker.add(new TweetSearcher(this.tweets.get(userId)));\n }\n\n // now try to pop the latest\n List<Integer> result = new ArrayList<>();\n while ((!ranker.isEmpty()) && (result.size() < 10)) {\n TweetSearcher current = ranker.poll();\n\n result.add(current.tweets.get(current.currentIndex).value);\n current.currentIndex--;\n\n if (current.currentIndex >= 0) {\n ranker.add(current);\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "330bc04801415654305cf57b234b9a0e", "score": "0.5485668", "text": "@Override\r\n\t\t\tpublic List<UserInfo> getFriends() {\n\t\t\t\tUserInfo userInfo = new UserInfo(\"10\", \"chc\",\r\n\t\t\t\t\t\t\"http://www.apkbus.com/design/style/devices_displays_density@2x.png\");\r\n\t\t\t\tUserInfo userInfo2 = new UserInfo(\"2\", \"ling\",\r\n\t\t\t\t\t\t\"http://www.apkbus.com/design/style/typography_main.png\");\r\n\t\t\t\tList<UserInfo> list = new ArrayList<>();\r\n\t\t\t\tlist.add(userInfo);\r\n\t\t\t\tlist.add(userInfo2);\r\n\t\t\t\treturn list;\r\n\t\t\t}", "title": "" }, { "docid": "05802aecf040edf0bc316a7c71e362b5", "score": "0.54546463", "text": "public Iterator<String> getFriends() {\n\t\t// You fill this in. Currently always returns null.\n\t\treturn profile_friend_list.iterator();\n\t}", "title": "" }, { "docid": "bf64fb7b99e59a0efbb10958d50de8cb", "score": "0.54541653", "text": "public HashSet<String> getFamilyLinks() {\n return _featDatum._familyLinks;\n }", "title": "" }, { "docid": "cd6e69fa745f15be4b90141276102a58", "score": "0.5441489", "text": "@Override\n\tpublic List<UserVO> getFollower(String id) {\n\t\treturn sqlSession.selectList(namespace+\".getFollower\", id);\n\t}", "title": "" }, { "docid": "01a23a23f6f4d4d34ee7abee1e344a3a", "score": "0.5430604", "text": "public List<String> getFriends() {\n return friends;\n }", "title": "" }, { "docid": "8df23893adda208b2650c51c0b5b448a", "score": "0.5410613", "text": "@JsonIgnore public Person getFollows() {\n return (Person) getValue(\"follows\");\n }", "title": "" }, { "docid": "91c5d74157a3c495ac0686701ee157c0", "score": "0.54084355", "text": "public void setFollowing(List<UserDetails> following) {\n this.following = following;\n }", "title": "" }, { "docid": "8c84810be3f115a84f0b28263b5a39b8", "score": "0.54057306", "text": "public Set<Feed> getFeeds() throws UnsupportedEncodingException {\r\n Set<Feed> ret = new LinkedHashSet<>();\r\n if (sessionNotAlive()) {\r\n return ret;\r\n }\r\n\r\n Map<String, String> params = new HashMap<>();\r\n params.put(PARAM_OP, VALUE_GET_FEEDS);\r\n params.put(PARAM_CAT_ID, \"-4\" + \"\"); // Hardcoded -4 fetches all feeds.\r\n\r\n JsonReader reader = null;\r\n try {\r\n reader = prepareReader(params);\r\n\r\n if (reader == null) {\r\n return ret;\r\n }\r\n\r\n reader.beginArray();\r\n while (reader.hasNext()) {\r\n\r\n int categoryId = -1;\r\n int id = 0;\r\n String title = null;\r\n String feedUrl = null;\r\n int unread = 0;\r\n\r\n reader.beginObject();\r\n while (reader.hasNext()) {\r\n\r\n try {\r\n switch (reader.nextName()) {\r\n case ID:\r\n id = reader.nextInt();\r\n break;\r\n case CAT_ID:\r\n categoryId = reader.nextInt();\r\n break;\r\n case TITLE:\r\n title = reader.nextString();\r\n break;\r\n case FEED_URL:\r\n feedUrl = reader.nextString();\r\n break;\r\n case UNREAD:\r\n unread = reader.nextInt();\r\n break;\r\n default:\r\n reader.skipValue();\r\n break;\r\n }\r\n } catch (IllegalArgumentException e) {\r\n e.printStackTrace();\r\n reader.skipValue();\r\n }\r\n\r\n }\r\n reader.endObject();\r\n\r\n if (id != -1 || categoryId == -2) { // normal feed (>0) or label\r\n // (-2)\r\n if (title != null) {\r\n Feed f = new Feed();\r\n f.id = id;\r\n f.categoryId = categoryId;\r\n f.title = title;\r\n f.url = feedUrl;\r\n f.unread = unread;\r\n ret.add(f);\r\n }\r\n }\r\n\r\n }\r\n reader.endArray();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n if (reader != null) {\r\n try {\r\n reader.close();\r\n } catch (IOException e1) {\r\n // Empty!\r\n }\r\n }\r\n }\r\n\r\n final long time = System.currentTimeMillis();\r\n System.out.println(\"getFeeds: \" + (System.currentTimeMillis() - time) + \"ms\");\r\n return ret;\r\n }", "title": "" }, { "docid": "b52c8db552f45300fea09994fb10dfc6", "score": "0.5404892", "text": "public void setFollowersCount(Integer count) { this.followersCount = count; }", "title": "" }, { "docid": "54b39cb7c7ff5c5e1e0020feab3aa737", "score": "0.53950435", "text": "@Override\n\tpublic ArrayList<User> renderToList() throws AuthFailException,\n\t\t\tUserNotExistException {\n\t\tJSONObject followInfoJsonObject = UserFollow.getFollowInfo(userId);\n\t\t\n\t\ttry {\n\t\t\tJSONArray followInfoArray = followInfoJsonObject.getJSONArray(\"following\");\n\t\t\tArrayList<User> followInfoList = new ArrayList<User>();\n\t\t\t\n\t\t\tfor (int i = 0; i < followInfoArray.length(); i++) {\n\t\t\t\tUser user = JSONtoObject(followInfoArray.getJSONObject(i));\n\t\t\t\tfollowInfoList.add(user);\n\t\t\t}\n\t\t\treturn followInfoList;\n\t\t} catch (JSONException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "title": "" }, { "docid": "f88324978ce5acfde3926e98405d91ad", "score": "0.5391265", "text": "public T friends_getLists()\n throws FacebookException, IOException {\n return this.callMethod(FacebookMethod.FRIENDS_GET_LISTS); \n }", "title": "" }, { "docid": "a803885521c156e1ee2b34c8267a9585", "score": "0.5390772", "text": "public List<Feed> readAllRssChannels() {\n \tdb = dbOpenHelper.getWritableDatabase();\n \n \tList<Feed> lista = new ArrayList<Feed>();\n \n // Select All Query \n String selectQuery = \"SELECT * FROM \" + DBopenHelper.TABLE_RSS_CHANNEL;\n Cursor kursor = db.rawQuery(selectQuery, null);\n \t\t\n // looping through all rows and adding to list\n if (kursor.moveToFirst()) {\n do {\n Feed item = new Feed();\n \n //pobieranie danych z bazy danych\n item.set_id(Integer.parseInt(kursor.getString(0)));\n item.setTitle(kursor.getString(1));\n item.setLink(kursor.getString(2));\n item.setRssLink(kursor.getString(3)); \n item.setDescription(kursor.getString(4));\n \n //licznik (nr pozycji na liscie - mozna dodac do ziarna)\n //wynik.setNr(licznik++);\n \n // Adding item to list\n lista.add(item);\n \n } while (kursor.moveToNext());\n }\n \n kursor.close();\n // return item list\n db.close(); // Closing database connection\n return lista;\n }", "title": "" }, { "docid": "c7cc5e7a4b92d3158b2a5f554fe41430", "score": "0.53782547", "text": "public Feed<RestObject> getUsers(Linkable parent, String... params);", "title": "" }, { "docid": "1e2f0fb2a243f84e79bcf17dca5d8699", "score": "0.53646874", "text": "java.util.List<org.tensorflow.tfcompile.Feed> \n getFeedList();", "title": "" }, { "docid": "7cb0998a20256151b7bf036b1996e250", "score": "0.53596044", "text": "List<User> followers(String apiKey, String apiSecret, String token, String tokenSecret,\n String username) throws TwitterException;", "title": "" }, { "docid": "67d455cf7818c4a25922d3be3ab02b2c", "score": "0.5359465", "text": "public List<Integer> getNewsFeed(int userId) {\n Map<Integer, Integer> indexMap = new HashMap<>();\n List<Integer> result = new ArrayList<>();\n ArrayList<Integer> followee = followerMap.get(userId);\n // start from end becaouse most recent are at the end\n for (int i = userFreq.size() -1 ; i>= 0; i--) {\n if (userId == userFreq.get(i) || (followee != null && followee.contains(userFreq.get(i)))) {\n // start from end becaouse most recent are at the end\n Integer startIndex = tweetMap.get(userFreq.get(i)).size() - 1;\n //int index = indexMap.getOrDefault(userFreq.get(i), startIndex);\n int index = indexMap.containsKey(userFreq.get(i)) ? indexMap.get(userFreq.get(i)) : startIndex;\n result.add(tweetMap.get(userFreq.get(i)).get(index));\n index--;\n indexMap.put(userFreq.get(i), index);\n }\n if (result.size() == 10) break;\n }\n return result;\n }", "title": "" }, { "docid": "98164a5bfdfa8a9cdbef5787d03a03ae", "score": "0.53436005", "text": "@Override\r\n\tpublic List<UserPost> retrieveFeeds(int userId) throws CustomException {\r\n\t\tfinal String methodName = \"retrieveFeeds\";\r\n\t\t\r\n\t\tif(StaticSetup.isUserPresent(userId)) {\r\n\t\t\tlogger.info(\"USER ID: \" + userId + \" is valid user \" + \" \" + methodName + \" \" + className);\r\n\t\t\t\r\n\t\t//First pull all the followers\r\n\t\tList<Integer> followersList = userProfileRepo.getFollowers(userId);\r\n\t\tlogger.info(\"total follower of user: \" + userId + \" is \" + followersList.size() + \" \" + methodName + \" \" + className);\r\n\t\t//Pull the feeds for user and its followers\r\n\t\tList<UserPost> userPost = postRepo.getFeeds(userId, followersList);\r\n\t\treturn userPost;\r\n\t\t} else {\r\n\t\t\tthrow new CustomException(\"Not a valid user\");\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "f67eeaf38982f5b8590abf1b89ad4cc5", "score": "0.532923", "text": "List<Integer> getFollowers(Integer userid);", "title": "" }, { "docid": "8eb8db86928825c4869865c3c876e3a0", "score": "0.53213483", "text": "public List<String> getFollowers(String user) {\n\t\treturn users.get(user);\n\t}", "title": "" }, { "docid": "601a97584e2059adc4437efadd3e3dae", "score": "0.53118736", "text": "List<? extends OpsManagerFeed> findFeedsWithSameName();", "title": "" }, { "docid": "3ad0018357cf8d0f79f0f935a4d21a47", "score": "0.5310598", "text": "List<User> getFollowerUsers(Long userId) throws DaoException;", "title": "" }, { "docid": "44cba7cdacf374fe755de2b8cea77cd9", "score": "0.5309087", "text": "List<User> sendFriendListToView() {\n return friends;\n }", "title": "" }, { "docid": "c3e2a4e2d5f2a5b23136c544f64f2a9f", "score": "0.53066695", "text": "public Integer getFollowersCount() { return this.followersCount; }", "title": "" }, { "docid": "7c8f99983ba715d79fa0d022ed00ce28", "score": "0.530409", "text": "public final Cursor getAllFeedsCursor() {\n return db.query(TABLE_NAME_FEEDS, FEED_SEL_STD, null, null, null, null,\n KEY_TITLE + \" COLLATE NOCASE ASC\");\n }", "title": "" }, { "docid": "665cdb8b40de3444e226986a296ab545", "score": "0.5302836", "text": "@Override\r\n\tpublic Set<String> getFollows(int userId) {\n\t\tSetOperations<String, String> opsSet = redisTemplate.opsForSet();\r\n\r\n\t\tString key1 = RedisKeyUtil.getUserFollowKey(userId);\r\n\t\treturn opsSet.members(key1);\r\n\t\t\r\n\t}", "title": "" }, { "docid": "50d9c3d63726e53e30462ce8b917e200", "score": "0.5291503", "text": "int getFeedCount();", "title": "" }, { "docid": "0110e061b638f5e556ea7b84e67b560e", "score": "0.5283463", "text": "void follow(String feedSlug, String userId) throws IOException, StreamClientException;", "title": "" }, { "docid": "49fd204ed8b589e3917eddc52ec4efd0", "score": "0.5282879", "text": "public String getFollows() {\n Object ref = follows_;\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 follows_ = s;\n return s;\n }\n }", "title": "" }, { "docid": "f64772536ee5811700beacf597198a4b", "score": "0.52772427", "text": "private void buildFeeds(Hashtable<String, User> users, ArrayList<Tweet> tweets) {\n\t\tfor (int i = 0; i < tweets.size(); i++) {\n\t\t\t//get the tweet and the user\n\t\t\tTweet currentTweet = tweets.get(i);\n\t\t\tString userName = currentTweet.getUser().getUserName();\n\t\t\t\n\t\t\t//First deal with the users who tweeted \n\t\t\tUser mainUser = users.get(userName);\n\t\t\taddUserToFeeds(mainUser,currentTweet);\n\t\t\t\n\t\t\t//Now to deal with all users who follow the tweeting user\n\t\t\tfor(String key: users.keySet()){\n\t\t\t\t//if this user follows the tweeting user\n\t\t\t\tif (users.get(key).exists(mainUser)){\n\t\t\t\t\taddToFeedOfUser(users.get(key), currentTweet);\n\t\t\t\t}\t\t\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "05a13fc50b620078f656432f70874516", "score": "0.52572656", "text": "@GetMapping(value=\"/{user_Id}/following\")\n\t@ResponseBody\n\tpublic ResponseEntity<List<Users>> getUserFollowingList(int user_Id) {\n\t\treturn new ResponseEntity<>(junctionService.getUserFollowingList(user_Id), HttpStatus.OK);\n\t}", "title": "" }, { "docid": "478c2fb76130788134ecc102f280d5f8", "score": "0.52468085", "text": "private List<NewsHeaders> getFacebookData() {\r\n\t\tfbclient = new FacebookBDAClient(\r\n\t\t\t\tConfigHelper.getInstance().getConfigurations().getfacebookConfigs().getAccessToken());\r\n\t\tList<NewsHeaders> result=fbclient.getUserTimelinePosts();\r\n\t\tresult.sort((d1, d2) -> d2.getDate().compareTo(d1.getDate()));\r\n\t\treturn result;\r\n\r\n\t}", "title": "" }, { "docid": "0cb44d1a1c0c641e2f40141ede50c01f", "score": "0.52416646", "text": "private void updateAllFeedsLikes(final String postRefKey) {\n Query query = mDatabase.child(\"users\").child(mCurrentUserUid);\n query.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(DataSnapshot dataSnapshot) {\n // update current user's feed\n Query userTempQuery = mDatabase.child(\"user-feed\").child(mCurrentUserUid).child(postRefKey);\n String userTempPath = \"/user-feed/\" + mCurrentUserUid + \"/\" + postRefKey;\n onLikeClicked(userTempQuery, userTempPath);\n // update current user's friend's feeds\n Map<String, Object> friendMap = (Map<String, Object>) dataSnapshot.child(\"friendList\").getValue();\n if (friendMap != null) {\n for (String friend : friendMap.keySet()) {\n Query tempQuery = mDatabase.child(\"user-feed\").child(friend).child(postRefKey);\n String tempPath = \"/user-feed/\" + friend + \"/\" + postRefKey;\n onLikeClicked(tempQuery, tempPath);\n }\n }\n }\n @Override\n public void onCancelled(DatabaseError databaseError) {\n Log.e(\"OtherUser\", \">>> Error:\" + \"find onCancelled:\" + databaseError);\n }\n });\n }", "title": "" }, { "docid": "d5734315f5a33e1b3b5529b3b87c5ebd", "score": "0.52369636", "text": "public void getFollowingList(String username, ApiCallback<List<Owner>> callback) {\n mGithubApi.getFollowingList(username, null, null, callback);\n }", "title": "" }, { "docid": "c191d4e137e8a58f27ef85b8dfe225ae", "score": "0.5225154", "text": "public void getFollowingList(String username, int pageCount, int perPageCount,\n ApiCallback<List<Owner>> callback) {\n mGithubApi.getFollowingList(username, String.valueOf(pageCount),\n String.valueOf(perPageCount), callback);\n }", "title": "" }, { "docid": "80eb82970f7b534b850f9e3c059fc0aa", "score": "0.5221257", "text": "public ObservableList<Account> getFriends() {\n ObservableList<Account> friends = FXCollections.observableArrayList();\n ArrayList<Account> allFriends = ConnectFriends.getFriendsForList();\n\n for (Account friend: allFriends) {\n friends.add(friend);\n }\n return friends;\n }", "title": "" }, { "docid": "cc643c39555444207abda9c0ffec73e8", "score": "0.5219154", "text": "public List<Speakers> getSpeakerList() {\r\n return feedItemList;\r\n }", "title": "" }, { "docid": "db1b96c1b7a82aa5d04cb90b7a7cc3a7", "score": "0.5217282", "text": "public List<Integer> getNewsFeed(int userId) {\n if(!user.containsKey(userId)) return new ArrayList<>();\n \n List<Integer> res = new ArrayList<>();\n Queue<Map.Entry<Integer, Integer>> newsFeed = new PriorityQueue<>(new TweetComparator());\n \n // offer all news posted by user himself\n for(Map.Entry<Integer, Integer> entry: tweet.get(userId).entrySet()) {\n newsFeed.offer(entry);\n }\n \n // offer all news posted by user's followees\n for(int tmpUser: user.get(userId)) {\n for(Map.Entry<Integer, Integer> entry: tweet.get(tmpUser).entrySet()) {\n newsFeed.offer(entry);\n }\n }\n \n // pop out news \n for(int i = 0; i < 10 && !newsFeed.isEmpty(); i++) {\n res.add(newsFeed.poll().getValue());\n }\n return res;\n }", "title": "" }, { "docid": "71636b2c6d7b3c6412917cd2a20bb5db", "score": "0.5215051", "text": "List<User> getFollowUsers(Long userId) throws DaoException;", "title": "" }, { "docid": "d7b0d250ff13290717dbf8f1009a7fc3", "score": "0.5211982", "text": "public String getFollows() {\n Object ref = follows_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n follows_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "title": "" }, { "docid": "41edcb998e5e3721bbb5fe061ad035c9", "score": "0.51980704", "text": "public ArrayList<FeedEntry> getApplications() {\n //returning the the applications in the ArrayList\n return applications;\n }", "title": "" }, { "docid": "eb0727706eb560a67b8a4bc2f674a792", "score": "0.5183824", "text": "public int getFeedCount() {\n\t\tCursor c = getReadableDatabase().query(\"feeds\", null, null, null, null, null, null);\n\t\tif (c == null)\n\t\t{\n\t\t\t//System.out.println(\"getFeedCount == -1\");\n\t\t\treturn -1;\n\t\t}\n\t\tint count = c.getCount();\n\t\tc.close();\n\t\t//System.out.println(\"getFeedCount == \"+ count );\n\t\treturn count;\n\t}", "title": "" }, { "docid": "1837b3b215228d350dd6a4c77d294fdd", "score": "0.5181547", "text": "public ArrayList<FacebookUser> getUsers()\n\t{\n\t\tArrayList<FacebookUser> copyList = new ArrayList<FacebookUser>(everybody);\n\t\treturn copyList;\n\t}", "title": "" }, { "docid": "ebd2815773b33035c69cc060d03c4515", "score": "0.51704013", "text": "@Override\r\n\tpublic List<Follow> Query() {\n\t\treturn null;\r\n\t}", "title": "" }, { "docid": "7bff7a374c9089717db8141249bd968c", "score": "0.5165043", "text": "public MoodList getFollowingMoods() {\n mm.generateFollowingMoods();\n return mm.getFollowingMoods();\n }", "title": "" }, { "docid": "5540df12df55a7260cc7c4cae51c461e", "score": "0.5161807", "text": "public int getNFeedersCreated() {\n return feederManagerStats.getInt(N_FEEDERS_CREATED);\n }", "title": "" }, { "docid": "3e9042be99b7f5e379469168fdbee479", "score": "0.51396316", "text": "List<Link> getLinks();", "title": "" }, { "docid": "4d9326496d770a3bd1bbc9b425c1c280", "score": "0.5136557", "text": "public List<User> getFriendsList(Twitter twitter) {\n\t\t\n\t\tList<User> listFriends = new ArrayList<User>();\n\t\n\t\t try {\n\t // get friends\n\t long cursor = -1;\n\t PagableResponseList<User> pagableFollowings;\n\t do {\n\t pagableFollowings = twitter.getFriendsList(twitter.getId(), cursor);\n\t for (User user : pagableFollowings) {\n\t listFriends.add(user); // ArrayList<User>\n\t }\n\t } while ((cursor = pagableFollowings.getNextCursor()) != 0);\n\n\t // get followers\n\t \n\n\t } catch (TwitterException e) {\n\t \tSystem.out.println(e.getMessage());\n\t }\n\t\t\t \n\t\treturn listFriends;\n\t}", "title": "" }, { "docid": "4f3d7c4587524890af2294301ab5fd8a", "score": "0.51310885", "text": "public List<MailchimpLinks> getLinks() {\n return links;\n }", "title": "" }, { "docid": "7bd3ecadf161065b8d3da1ee7dd3e8d8", "score": "0.51273835", "text": "public void refreshFeeds(String feed) {\r\n if (feed == null){\r\n \tCursor cursor = findSubscriptionUrlByFreq();\r\n\t\ttry{\r\n \tfor(int i=0;i<cursor.getCount();i++){\r\n \t\tfinal String url = cursor.getString(cursor.getColumnIndex(SubscriptionColumns.URL));\r\n if (url==null) {\r\n return;\r\n }\r\n\t refreshEachFeeds(url);\r\n cursor.moveToNext();\r\n \t}\r\n\t\t\t}\r\n \tfinally{\r\n\t\t\ttriggerNextTimer();\r\n\t\t\tclose(cursor);\r\n\t\t}\r\n \t}else{\r\n \t\trefreshEachFeeds(feed);\r\n \t}\r\n }", "title": "" }, { "docid": "f19b103ba02ebabee0c7a809b2befd67", "score": "0.5112337", "text": "public CypherInteraction mostFollowedUsers()\n {\n this.query = \"\";\n return this;\n }", "title": "" }, { "docid": "d3eb4c0d8481ede1a663377df2ecd0a6", "score": "0.51090306", "text": "public Integer getIsFeed() {\n return isFeed;\n }", "title": "" }, { "docid": "445c8a731ac83d476b8f55ebe89715de", "score": "0.5106433", "text": "public ArrayList<User> getFavouriteUsers() {\n return favouriteUsers;\n }", "title": "" }, { "docid": "2e1b20dc24d07172e5a9238445a7e80b", "score": "0.51017094", "text": "public List<Integer> getNewsFeed(int userId)\n\t\t{\n\t\t\tPriorityQueue<int[]> minHeap = new PriorityQueue<>(Comparator.comparingInt(arr -> arr[0]));\n\t\t\tfor (int id : subscriptions.getOrDefault(userId, Collections.emptySet()))\n\t\t\t{\n\t\t\t\tfindTweets(minHeap, id);\n\t\t\t}\n\n\t\t\tfindTweets(minHeap, userId);\n\n\t\t\tLinkedList<Integer> answer = new LinkedList<>();\n\t\t\twhile (!minHeap.isEmpty())\n\t\t\t{\n\t\t\t\tanswer.addFirst(minHeap.remove()[1]);\n\t\t\t}\n\n\t\t\treturn answer;\n\t\t}", "title": "" }, { "docid": "56d6fe8b687694b8f6e9af802dca7be1", "score": "0.5099486", "text": "public Integer getFeedId() {\n return feedId;\n }", "title": "" } ]
3b2f3fee11b074d535ac9e36e4db8a62
/ JADX WARNING: Removed duplicated region for block: B:24:0x004c A[SYNTHETIC, Splitter:B:24:0x004c] / Code decompiled incorrectly, please refer to instructions dump.
[ { "docid": "08684608216a0a25eb9304a5930db2f6", "score": "0.0", "text": "public static java.lang.String getFileName(java.lang.String r10) {\n /*\n java.lang.String r1 = \"\"\n java.io.File r3 = new java.io.File\n r3.<init>(r10)\n r5 = 0\n java.io.FileInputStream r6 = new java.io.FileInputStream // Catch:{ Exception -> 0x003c, all -> 0x0049 }\n r6.<init>(r3) // Catch:{ Exception -> 0x003c, all -> 0x0049 }\n if (r6 == 0) goto L_0x0022\n java.io.InputStreamReader r4 = new java.io.InputStreamReader // Catch:{ Exception -> 0x005d, all -> 0x005a }\n r4.<init>(r6) // Catch:{ Exception -> 0x005d, all -> 0x005a }\n java.io.BufferedReader r0 = new java.io.BufferedReader // Catch:{ Exception -> 0x005d, all -> 0x005a }\n r0.<init>(r4) // Catch:{ Exception -> 0x005d, all -> 0x005a }\n L_0x0019:\n java.lang.String r7 = r0.readLine() // Catch:{ Exception -> 0x005d, all -> 0x005a }\n if (r7 != 0) goto L_0x002a\n r6.close() // Catch:{ Exception -> 0x005d, all -> 0x005a }\n L_0x0022:\n if (r6 == 0) goto L_0x0027\n r6.close() // Catch:{ IOException -> 0x0055 }\n L_0x0027:\n r5 = r6\n r8 = r1\n L_0x0029:\n return r8\n L_0x002a:\n java.lang.StringBuilder r8 = new java.lang.StringBuilder // Catch:{ Exception -> 0x005d, all -> 0x005a }\n java.lang.String r9 = java.lang.String.valueOf(r1) // Catch:{ Exception -> 0x005d, all -> 0x005a }\n r8.<init>(r9) // Catch:{ Exception -> 0x005d, all -> 0x005a }\n java.lang.StringBuilder r8 = r8.append(r7) // Catch:{ Exception -> 0x005d, all -> 0x005a }\n java.lang.String r1 = r8.toString() // Catch:{ Exception -> 0x005d, all -> 0x005a }\n goto L_0x0019\n L_0x003c:\n r2 = move-exception\n L_0x003d:\n if (r5 == 0) goto L_0x0042\n r5.close() // Catch:{ IOException -> 0x0044 }\n L_0x0042:\n r8 = 0\n goto L_0x0029\n L_0x0044:\n r2 = move-exception\n r2.printStackTrace()\n goto L_0x0042\n L_0x0049:\n r8 = move-exception\n L_0x004a:\n if (r5 == 0) goto L_0x004f\n r5.close() // Catch:{ IOException -> 0x0050 }\n L_0x004f:\n throw r8\n L_0x0050:\n r2 = move-exception\n r2.printStackTrace()\n goto L_0x004f\n L_0x0055:\n r2 = move-exception\n r2.printStackTrace()\n goto L_0x0027\n L_0x005a:\n r8 = move-exception\n r5 = r6\n goto L_0x004a\n L_0x005d:\n r2 = move-exception\n r5 = r6\n goto L_0x003d\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.touchus.publicutils.utils.PersonParse.getFileName(java.lang.String):java.lang.String\");\n }", "title": "" } ]
[ { "docid": "9c8fcadc97a7f2dafc06991ee7cecaab", "score": "0.5549786", "text": "public void handlesBlockingRegionDrag() {\r\n \t\tObject[] cells = graph.getDescendants(graph.getSelectionCells());\r\n \t\t// Put cells not in a blocking region to back\r\n \t\tHashSet<Object> putBack = new HashSet<Object>();\r\n \t\tfor (Object cell2 : cells) {\r\n \t\t\tif (cell2 instanceof JmtCell && ((JmtCell) cell2).parentChanged()) {\r\n \t\t\t\t// This cell was moved in, out or between blocking regions\r\n \t\t\t\tJmtCell cell = (JmtCell) cell2;\r\n \t\t\t\tObject key = ((CellComponent) cell.getUserObject()).getKey();\r\n \t\t\t\tObject oldRegionKey, newRegionKey;\r\n \t\t\t\tif (!(cell.getParent() instanceof BlockingRegion)) {\r\n \t\t\t\t\t// Object removed from blocking region\r\n \t\t\t\t\tputBack.add(cell2);\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Allow adding of removed objects to a new blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(true);\r\n \t\t\t\t} else if (cell.getPrevParent() instanceof BlockingRegion) {\r\n \t\t\t\t\t// Object changed blocking region\r\n \t\t\t\t\toldRegionKey = ((BlockingRegion) cell.getPrevParent()).getKey();\r\n \t\t\t\t\tmodel.removeRegionStation(oldRegionKey, key);\r\n \t\t\t\t\t// If region is empty, removes region too\r\n \t\t\t\t\tif (model.getBlockingRegionStations(oldRegionKey).size() == 0) {\r\n \t\t\t\t\t\tmodel.deleteBlockingRegion(oldRegionKey);\r\n \t\t\t\t\t}\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tmodel.addRegionStation(newRegionKey, key);\r\n \t\t\t\t} else {\r\n \t\t\t\t\t// Object added to a blocking region\r\n \t\t\t\t\tnewRegionKey = ((BlockingRegion) cell.getParent()).getKey();\r\n \t\t\t\t\tif (!model.addRegionStation(newRegionKey, key)) {\r\n \t\t\t\t\t\t// object cannot be added to blocking region (for\r\n \t\t\t\t\t\t// example it's a source)\r\n \t\t\t\t\t\tcell.removeFromParent();\r\n \t\t\t\t\t\tgraph.getModel().insert(new Object[] { cell }, null, null, null, null);\r\n \t\t\t\t\t\tputBack.add(cell);\r\n \t\t\t\t\t}\r\n \t\t\t\t\t// Doesn't allow adding of selected objects to a new\r\n \t\t\t\t\t// blocking region\r\n \t\t\t\t\tenableAddBlockingRegion(false);\r\n \t\t\t\t}\r\n \t\t\t\t// Resets parent for this cell\r\n \t\t\t\tcell.resetParent();\r\n \t\t\t}\r\n \t\t\t// Avoid insertion of a blocking region in an other\r\n \t\t\telse if (cell2 instanceof BlockingRegion) {\r\n \t\t\t\tBlockingRegion region = (BlockingRegion) cell2;\r\n \t\t\t\tif (region.getParent() != null) {\r\n \t\t\t\t\tregion.removeFromParent();\r\n \t\t\t\t\tgraph.getModel().insert(new Object[] { region }, null, null, null, null);\r\n \t\t\t\t}\r\n \t\t\t}\r\n \t\t}\r\n \t\t// Puts cells removed from blocking regiont on background\r\n \t\tgraph.getModel().toBack(putBack.toArray());\r\n \t}", "title": "" }, { "docid": "96c542644ce58dc5d433f80624e81ca9", "score": "0.55134445", "text": "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 }", "title": "" }, { "docid": "47eafbd238afd2505749a96d9d1d86af", "score": "0.5478015", "text": "public void a()\r\n/* 49: */ {\r\n/* 50: 64 */ HashSet<BlockPosition> localHashSet = Sets.newHashSet();\r\n/* 51: */ \r\n/* 52: 66 */ int m = 16;\r\n/* 53: 67 */ for (int n = 0; n < 16; n++) {\r\n/* 54: 68 */ for (int i1 = 0; i1 < 16; i1++) {\r\n/* 55: 69 */ for (int i2 = 0; i2 < 16; i2++) {\r\n/* 56: 70 */ if ((n == 0) || (n == 15) || (i1 == 0) || (i1 == 15) || (i2 == 0) || (i2 == 15))\r\n/* 57: */ {\r\n/* 58: 74 */ double d1 = n / 15.0F * 2.0F - 1.0F;\r\n/* 59: 75 */ double d2 = i1 / 15.0F * 2.0F - 1.0F;\r\n/* 60: 76 */ double d3 = i2 / 15.0F * 2.0F - 1.0F;\r\n/* 61: 77 */ double d4 = Math.sqrt(d1 * d1 + d2 * d2 + d3 * d3);\r\n/* 62: */ \r\n/* 63: 79 */ d1 /= d4;\r\n/* 64: 80 */ d2 /= d4;\r\n/* 65: 81 */ d3 /= d4;\r\n/* 66: */ \r\n/* 67: 83 */ float f2 = this.i * (0.7F + this.d.rng.nextFloat() * 0.6F);\r\n/* 68: 84 */ double d6 = this.e;\r\n/* 69: 85 */ double d8 = this.f;\r\n/* 70: 86 */ double d10 = this.g;\r\n/* 71: */ \r\n/* 72: 88 */ float f3 = 0.3F;\r\n/* 73: 89 */ while (f2 > 0.0F)\r\n/* 74: */ {\r\n/* 75: 90 */ BlockPosition localdt = new BlockPosition(d6, d8, d10);\r\n/* 76: 91 */ Block localbec = this.d.getBlock(localdt);\r\n/* 77: 93 */ if (localbec.getType().getMaterial() != Material.air)\r\n/* 78: */ {\r\n/* 79: 94 */ float f4 = this.h != null ? this.h.a(this, this.d, localdt, localbec) : localbec.getType().a((Entity)null);\r\n/* 80: 95 */ f2 -= (f4 + 0.3F) * 0.3F;\r\n/* 81: */ }\r\n/* 82: 98 */ if ((f2 > 0.0F) && ((this.h == null) || (this.h.a(this, this.d, localdt, localbec, f2)))) {\r\n/* 83: 99 */ localHashSet.add(localdt);\r\n/* 84: */ }\r\n/* 85:102 */ d6 += d1 * 0.300000011920929D;\r\n/* 86:103 */ d8 += d2 * 0.300000011920929D;\r\n/* 87:104 */ d10 += d3 * 0.300000011920929D;\r\n/* 88:105 */ f2 -= 0.225F;\r\n/* 89: */ }\r\n/* 90: */ }\r\n/* 91: */ }\r\n/* 92: */ }\r\n/* 93: */ }\r\n/* 94:111 */ this.j.addAll(localHashSet);\r\n/* 95: */ \r\n/* 96:113 */ float f1 = this.i * 2.0F;\r\n/* 97: */ \r\n/* 98:115 */ int i1 = MathUtils.floor(this.e - f1 - 1.0D);\r\n/* 99:116 */ int i2 = MathUtils.floor(this.e + f1 + 1.0D);\r\n/* 100:117 */ int i3 = MathUtils.floor(this.f - f1 - 1.0D);\r\n/* 101:118 */ int i4 = MathUtils.floor(this.f + f1 + 1.0D);\r\n/* 102:119 */ int i5 = MathUtils.floor(this.g - f1 - 1.0D);\r\n/* 103:120 */ int i6 = MathUtils.floor(this.g + f1 + 1.0D);\r\n/* 104:121 */ List<Entity> localList = this.d.b(this.h, new AABB(i1, i3, i5, i2, i4, i6));\r\n/* 105:122 */ Vec3 localbrw = new Vec3(this.e, this.f, this.g);\r\n/* 106:124 */ for (int i7 = 0; i7 < localList.size(); i7++)\r\n/* 107: */ {\r\n/* 108:125 */ Entity localwv = (Entity)localList.get(i7);\r\n/* 109:126 */ if (!localwv.aV())\r\n/* 110: */ {\r\n/* 111:129 */ double d5 = localwv.f(this.e, this.f, this.g) / f1;\r\n/* 112:131 */ if (d5 <= 1.0D)\r\n/* 113: */ {\r\n/* 114:132 */ double d7 = localwv.xPos - this.e;\r\n/* 115:133 */ double d9 = localwv.yPos + localwv.getEyeHeight() - this.f;\r\n/* 116:134 */ double d11 = localwv.zPos - this.g;\r\n/* 117: */ \r\n/* 118:136 */ double d12 = MathUtils.sqrt(d7 * d7 + d9 * d9 + d11 * d11);\r\n/* 119:137 */ if (d12 != 0.0D)\r\n/* 120: */ {\r\n/* 121:141 */ d7 /= d12;\r\n/* 122:142 */ d9 /= d12;\r\n/* 123:143 */ d11 /= d12;\r\n/* 124: */ \r\n/* 125:145 */ double d13 = this.d.a(localbrw, localwv.getAABB());\r\n/* 126:146 */ double d14 = (1.0D - d5) * d13;\r\n/* 127:147 */ localwv.receiveDamage(DamageSource.a(this), (int)((d14 * d14 + d14) / 2.0D * 8.0D * f1 + 1.0D));\r\n/* 128: */ \r\n/* 129:149 */ double d15 = EnchantmentProtection.a(localwv, d14);\r\n/* 130:150 */ localwv.xVelocity += d7 * d15;\r\n/* 131:151 */ localwv.yVelocity += d9 * d15;\r\n/* 132:152 */ localwv.zVelocity += d11 * d15;\r\n/* 133:154 */ if ((localwv instanceof EntityPlayer)) {\r\n/* 134:155 */ this.k.put((EntityPlayer)localwv, new Vec3(d7 * d14, d9 * d14, d11 * d14));\r\n/* 135: */ }\r\n/* 136: */ }\r\n/* 137: */ }\r\n/* 138: */ }\r\n/* 139: */ }\r\n/* 140: */ }", "title": "" }, { "docid": "10691dc78797896e721fd1f7dfeee454", "score": "0.5466521", "text": "private void b()\r\n/* 67: */ {\r\n/* 68: 73 */ this.c.clear();\r\n/* 69: 74 */ this.e.clear();\r\n/* 70: */ }", "title": "" }, { "docid": "348486310633fc6f11713df79e0d523f", "score": "0.5391378", "text": "public final /* bridge */ /* synthetic */ void mo43569b() {\n super.mo43569b();\n }", "title": "" }, { "docid": "a74d054b074beb1b5c35ae561542e9e8", "score": "0.5368481", "text": "public abstract void removeBlock();", "title": "" }, { "docid": "1411e6ddca859791dbaf116fd9bf463c", "score": "0.53315437", "text": "public void collapseBlocks() {\n // Create it if it's null\n if (graph_bcc == null) {\n // Create graph parametrics (Only add linear time algorithms here...)\n graph_bcc = new BiConnectedComponents(graph);\n graph2p_bcc = new BiConnectedComponents(new UniTwoPlusDegreeGraph(graph));\n }\n BiConnectedComponents bcc = graph_bcc, bcc_2p = graph2p_bcc; if (bcc != null && bcc_2p != null) {\n // Get the vertex to block lookup\n Map<String,Set<MyGraph>> v_to_b = bcc.getVertexToBlockMap();\n // Go through the entities and accumulate the positions\n Map<MyGraph,Double> x_sum = new HashMap<MyGraph,Double>(), y_sum = new HashMap<MyGraph,Double>();\n Iterator<String> it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity)) {\n\t Iterator<MyGraph> it_mg = v_to_b.get(entity).iterator();\n\t while (it_mg.hasNext()) {\n\t MyGraph mg = it_mg.next();\n\t if (x_sum.containsKey(mg) == false) { x_sum.put(mg,0.0); y_sum.put(mg,0.0); }\n\t x_sum.put(mg,x_sum.get(mg)+pt.getX()); y_sum.put(mg,y_sum.get(mg)+pt.getY());\n\t }\n } else System.err.println(\"Vertex To Block Lookup missing \\\"\" + entity + \"\\\"\");\n }\n // Now position those entities that aren't cut vertices at the center of the graph\n it_e = entity_to_wxy.keySet().iterator();\n while (it_e.hasNext()) {\n String entity = it_e.next(); Point2D pt = entity_to_wxy.get(entity);\n\tif (v_to_b.containsKey(entity) && bcc.getCutVertices().contains(entity) == false) {\n MyGraph mg = v_to_b.get(entity).iterator().next();\n\t entity_to_wxy.put(entity, new Point2D.Double(x_sum.get(mg)/mg.getNumberOfEntities(),y_sum.get(mg)/mg.getNumberOfEntities()));\n\t transform(entity);\n\t}\n }\n // Re-render\n zoomToFit(); repaint();\n }\n }", "title": "" }, { "docid": "a69f0ef562508e8b797a3cc2fc869d4f", "score": "0.5293993", "text": "@Test (timeout=180000)\n public void testValidLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(Bytes.toBytes(\"B\"));\n\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n // do a regular split\n byte[] regionName = location.getRegionInfo().getRegionName();\n admin.splitRegion(location.getRegionInfo().getRegionName(), Bytes.toBytes(\"BM\"));\n TestEndToEndSplitTransaction.blockUntilRegionSplit(conf, 60000, regionName, true);\n\n // TODO: fixHdfsHoles does not work against splits, since the parent dir lingers on\n // for some time until children references are deleted. HBCK erroneously sees this as\n // overlapping regions\n HBaseFsck hbck = doFsck(\n conf, true, true, false, false, false, true, true, true, false, false, false, null);\n assertErrors(hbck, new ERROR_CODE[] {}); //no LINGERING_SPLIT_PARENT reported\n\n // assert that the split hbase:meta entry is still there.\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertNotNull(result);\n assertNotNull(MetaTableAccessor.getHRegionInfo(result));\n\n assertEquals(ROWKEYS.length, countRows());\n\n // assert that we still have the split regions\n assertEquals(tbl.getStartKeys().length, SPLITS.length + 1 + 1); //SPLITS + 1 is # regions pre-split.\n assertNoErrors(doFsck(conf, false));\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }", "title": "" }, { "docid": "919383270ab8ea0eac72a1cba6c88a71", "score": "0.5288406", "text": "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 }", "title": "" }, { "docid": "3fee2c6cdfabc5be4d278abf3cdbf967", "score": "0.52808136", "text": "private static void removeBreakPoint() {\n for (int i=1;i<=dvm.getSourceCodeLength();i++) {\n dvm.setBreakPoint(i-1, false);\n }\n }", "title": "" }, { "docid": "f76aa5e71dbc8ebb7085720461699a5f", "score": "0.52612543", "text": "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 }", "title": "" }, { "docid": "8f929e2b6789218168e9b24745d7cf6c", "score": "0.52495724", "text": "public int c(Block parambec)\r\n/* 119: */ {\r\n/* 120:131 */ return 0;\r\n/* 121: */ }", "title": "" }, { "docid": "46bf46fc4e056b5cbbaf368a505c4a4d", "score": "0.524598", "text": "public void onBlockAdded(World p_149726_1_, int p_149726_2_, int p_149726_3_, int p_149726_4_)\r\n {\r\n super.onBlockAdded(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n// this.func_149930_e(p_149726_1_, p_149726_2_, p_149726_3_, p_149726_4_);\r\n }", "title": "" }, { "docid": "194df237205edd3dfe8b91ac2cb41c7d", "score": "0.5236007", "text": "public int numberOfBlocksToRemove() {\r\n return 105;\r\n }", "title": "" }, { "docid": "45d50e3300b82034927a3b2dc2e4cb95", "score": "0.52257514", "text": "public void cleanupOldBlocks (long threshTime) ;", "title": "" }, { "docid": "d025f7b4137307e232a9a4cad7a7557d", "score": "0.5225624", "text": "private static void registerBlock(Block b)\n\t{\n\t}", "title": "" }, { "docid": "3d5b4ffe8cb5191899860b75fc508d58", "score": "0.52007186", "text": "public final void mo1285b() {\n }", "title": "" }, { "docid": "80abb78f1c6e53bfa36256a0a624c547", "score": "0.51999664", "text": "@Override\n\tpublic int getReplaceBlock() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "da97b00715fd16855df4480df9fa2e5a", "score": "0.5194733", "text": "private c b(c blk, int i) {\n/* 585 */ int w = blk.g;\n/* 586 */ int h = blk.h;\n/* */ \n/* */ \n/* 589 */ if (blk.a() != 4) {\n/* 590 */ if (this.j == null || this.j.a() != 4) {\n/* 591 */ this.j = (c)new d();\n/* */ }\n/* 593 */ this.j.g = w;\n/* 594 */ this.j.h = h;\n/* 595 */ this.j.e = blk.e;\n/* 596 */ this.j.f = blk.f;\n/* 597 */ blk = this.j;\n/* */ } \n/* */ \n/* */ \n/* 601 */ float[] outdata = (float[])blk.b();\n/* */ \n/* */ \n/* 604 */ if (outdata == null || outdata.length < w * h) {\n/* 605 */ outdata = new float[h * w];\n/* 606 */ blk.a(outdata);\n/* */ } \n/* */ \n/* */ \n/* 610 */ if (i >= 0 && i <= 2) {\n/* */ int j;\n/* */ \n/* */ \n/* 614 */ if (this.m == null)\n/* 615 */ this.m = new e(); \n/* 616 */ if (this.n == null)\n/* 617 */ this.n = new e(); \n/* 618 */ if (this.o == null)\n/* 619 */ this.o = new e(); \n/* 620 */ this.o.g = blk.g;\n/* 621 */ this.o.h = blk.h;\n/* 622 */ this.o.e = blk.e;\n/* 623 */ this.o.f = blk.f;\n/* */ \n/* */ \n/* 626 */ this.m = (e)this.e.getInternCompData((c)this.m, 0);\n/* 627 */ int[] data0 = (int[])this.m.b();\n/* 628 */ this.n = (e)this.e.getInternCompData((c)this.n, 1);\n/* 629 */ int[] data1 = (int[])this.n.b();\n/* 630 */ this.o = (e)this.e.getInternCompData((c)this.o, 2);\n/* 631 */ int[] data2 = (int[])this.o.b();\n/* */ \n/* */ \n/* 634 */ blk.k = (this.m.k || this.n.k || this.o.k);\n/* */ \n/* 636 */ blk.i = 0;\n/* 637 */ blk.j = w;\n/* */ \n/* */ \n/* */ \n/* */ \n/* 642 */ int k = w * h - 1;\n/* 643 */ int k0 = this.m.i + (h - 1) * this.m.j + w - 1;\n/* 644 */ int k1 = this.n.i + (h - 1) * this.n.j + w - 1;\n/* 645 */ int k2 = this.o.i + (h - 1) * this.o.j + w - 1;\n/* */ \n/* 647 */ switch (i) {\n/* */ \n/* */ case 0:\n/* 650 */ for (j = h - 1; j >= 0; j--) {\n/* 651 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 652 */ outdata[k] = 0.299F * data0[k0] + 0.587F * data1[k1] + 0.114F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 658 */ k0 -= this.m.j - w;\n/* 659 */ k1 -= this.n.j - w;\n/* 660 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 1:\n/* 666 */ for (j = h - 1; j >= 0; j--) {\n/* 667 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 668 */ outdata[k] = -0.16875F * data0[k0] - 0.33126F * data1[k1] + 0.5F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 674 */ k0 -= this.m.j - w;\n/* 675 */ k1 -= this.n.j - w;\n/* 676 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ \n/* */ \n/* */ case 2:\n/* 682 */ for (j = h - 1; j >= 0; j--) {\n/* 683 */ for (int mink = k - w; k > mink; k--, k0--, k1--, k2--) {\n/* 684 */ outdata[k] = 0.5F * data0[k0] - 0.41869F * data1[k1] - 0.08131F * data2[k2];\n/* */ }\n/* */ \n/* */ \n/* */ \n/* */ \n/* 690 */ k0 -= this.m.j - w;\n/* 691 */ k1 -= this.n.j - w;\n/* 692 */ k2 -= this.o.j - w;\n/* */ } \n/* */ break;\n/* */ } \n/* */ } else {\n/* 697 */ if (i >= 3) {\n/* */ \n/* */ \n/* */ \n/* */ \n/* 702 */ e indb = new e(blk.e, blk.f, w, h);\n/* */ \n/* */ \n/* */ \n/* */ \n/* 707 */ this.e.getInternCompData((c)indb, i);\n/* 708 */ int[] indata = (int[])indb.b();\n/* */ \n/* */ \n/* 711 */ int k = w * h - 1;\n/* 712 */ int k0 = indb.i + (h - 1) * indb.j + w - 1;\n/* 713 */ for (int j = h - 1; j >= 0; j--) {\n/* 714 */ for (int mink = k - w; k > mink; k--, k0--) {\n/* 715 */ outdata[k] = indata[k0];\n/* */ }\n/* */ \n/* 718 */ k0 += indb.g - w;\n/* */ } \n/* */ \n/* */ \n/* 722 */ blk.k = indb.k;\n/* 723 */ blk.i = 0;\n/* 724 */ blk.j = w;\n/* 725 */ return blk;\n/* */ } \n/* */ \n/* */ \n/* 729 */ throw new IllegalArgumentException();\n/* */ } \n/* 731 */ return blk;\n/* */ }", "title": "" }, { "docid": "314e6057a58930134b4192a1391a6311", "score": "0.51878154", "text": "public void unifyAdjacentChests(World par1World, int par2, int par3, int par4) {\n\t\tif (!par1World.isRemote) {\n\t\t\tBlock l = par1World.getBlock(par2, par3, par4 - 1);\n\t\t\tBlock i1 = par1World.getBlock(par2, par3, par4 + 1);\n\t\t\tBlock j1 = par1World.getBlock(par2 - 1, par3, par4);\n\t\t\tBlock k1 = par1World.getBlock(par2 + 1, par3, par4);\n\t\t\tBlock l1;\n\t\t\tBlock i2;\n\n\t\t\tbyte b0;\n\t\t\tint j2;\n\n\t\t\tif (l != this && i1 != this) {\n\t\t\t\tif (j1 != this && k1 != this) {\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (l.func_149730_j() && !i1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (i1.func_149730_j() && !l.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j1.func_149730_j() && !k1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 5;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (k1.func_149730_j() && !j1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 4;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tl1 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 - 1);\n\t\t\t\t\ti2 = par1World.getBlock(j1 == this ? par2 - 1 : par2 + 1, par3, par4 + 1);\n\t\t\t\t\tb0 = 3;\n\n\t\t\t\t\tif (j1 == this) {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 - 1, par3, par4);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tj2 = par1World.getBlockMetadata(par2 + 1, par3, par4);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (j2 == 2) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((l.func_149730_j() || l1.func_149730_j()) && !i1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\t\tb0 = 3;\n\t\t\t\t\t}\n\n\t\t\t\t\tif ((i1.func_149730_j() || i2.func_149730_j()) && !l.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\t\tb0 = 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tl1 = par1World.getBlock(par2 - 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\ti2 = par1World.getBlock(par2 + 1, par3, l == this ? par4 - 1 : par4 + 1);\n\t\t\t\tb0 = 5;\n\n\t\t\t\tif (l == this) {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 - 1);\n\t\t\t\t} else {\n\t\t\t\t\tj2 = par1World.getBlockMetadata(par2, par3, par4 + 1);\n\t\t\t\t}\n\n\t\t\t\tif (j2 == 4) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\n\t\t\t\tif ((j1.func_149730_j() || l1.func_149730_j()) && !k1.func_149730_j() && !i2.func_149730_j()) {\n\t\t\t\t\tb0 = 5;\n\t\t\t\t}\n\n\t\t\t\tif ((k1.func_149730_j() || i2.func_149730_j()) && !j1.func_149730_j() && !l1.func_149730_j()) {\n\t\t\t\t\tb0 = 4;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpar1World.setBlockMetadataWithNotify(par2, par3, par4, b0, 3);\n\t\t}\n\t}", "title": "" }, { "docid": "38109f8e6f042b9d79f14c04034dd158", "score": "0.5184558", "text": "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: */ }", "title": "" }, { "docid": "b708a26bf8ec1415c8e4a5b814e7de69", "score": "0.51507556", "text": "void m5768b() throws C0841b;", "title": "" }, { "docid": "1f6688078412adc5aafd8dc72b83216b", "score": "0.51414096", "text": "private void m205c() {\r\n if (this.f161b != null && this.f161b.m543a()) {\r\n this.f161b.m545c();\r\n }\r\n this.f161b = null;\r\n }", "title": "" }, { "docid": "5fb1f3d43f5a7ecb48e9706f1fa6caac", "score": "0.5133649", "text": "@Test (timeout=180000)\n public void testDegenerateRegions() throws Exception {\n TableName table = TableName.valueOf(\"tableDegenerateRegions\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf,false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"B\"), Bytes.toBytes(\"B\"));\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n HBaseFsck hbck = doFsck(conf,false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DEGENERATE_REGION, ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS });\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "title": "" }, { "docid": "56026911e97c491ba138423562a9e48e", "score": "0.51308143", "text": "public synchronized void mo28699e() {\n if (mo27566d()) {\n throw new PooledByteBuffer.C3959a();\n }\n }", "title": "" }, { "docid": "22dac95d1ca60a7fe99ff460d6b18662", "score": "0.5125514", "text": "public int getBlockID()\r\n/* 57: */ {\r\n/* 58: 46 */ return RedPowerMachine.blockFrame.cm;\r\n/* 59: */ }", "title": "" }, { "docid": "ef06ee5e87ce2b29d54fd699ca4f5927", "score": "0.5123611", "text": "public XnRegion sharedRegion(TracePosition trace) {\n\tthrow new SubclassResponsibilityException();\n/*\nudanax-top.st:9681:OrglRoot methodsFor: 'accessing'!\n{XnRegion} sharedRegion: trace {TracePosition}\n\t\"Return a region for all the stuff in this orgl that can backfollow to trace.\"\n\tself subclassResponsibility!\n*/\n}", "title": "" }, { "docid": "bc5f6ab82a5a5f08ff638fd5678a41eb", "score": "0.5115863", "text": "public void b(World paramaqu, BlockPosition paramdt, Block parambec, Random paramRandom)\r\n/* 39: */ {\r\n/* 40: 54 */ if (paramaqu.isClient) {\r\n/* 41: 55 */ return;\r\n/* 42: */ }\r\n/* 43: 58 */ if ((paramaqu.l(paramdt.up()) < 4) && (paramaqu.getBlock(paramdt.up()).getType().getLightOpacity() > 2))\r\n/* 44: */ {\r\n/* 45: 59 */ paramaqu.setBlock(paramdt, BlockList.dirt.instance());\r\n/* 46: 60 */ return;\r\n/* 47: */ }\r\n/* 48: 63 */ if (paramaqu.l(paramdt.up()) >= 9) {\r\n/* 49: 64 */ for (int i = 0; i < 4; i++)\r\n/* 50: */ {\r\n/* 51: 65 */ BlockPosition localdt = paramdt.offset(paramRandom.nextInt(3) - 1, paramRandom.nextInt(5) - 3, paramRandom.nextInt(3) - 1);\r\n/* 52: 66 */ BlockType localatr = paramaqu.getBlock(localdt.up()).getType();\r\n/* 53: 67 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 54: 68 */ if ((localbec.getType() == BlockList.dirt) && (localbec.getData(BlockDirt.a) == avd.a) && (paramaqu.l(localdt.up()) >= 4) && (localatr.getLightOpacity() <= 2)) {\r\n/* 55: 69 */ paramaqu.setBlock(localdt, BlockList.grass.instance());\r\n/* 56: */ }\r\n/* 57: */ }\r\n/* 58: */ }\r\n/* 59: */ }", "title": "" }, { "docid": "abdfbe7b9982b0fc602f9176a57553b9", "score": "0.5115699", "text": "public interface NoCopySpan\n/* */ {\n/* */ public static class Concrete\n/* */ implements NoCopySpan\n/* */ {\n/* */ public Concrete() {\n/* 37 */ throw new RuntimeException(\"Stub!\");\n/* */ }\n/* */ }\n/* */ }", "title": "" }, { "docid": "81a94e8cfab9d9cf402be8d62428e7ca", "score": "0.5114347", "text": "protected void method_2145() {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "ecd1d6e80b78ad5179ce9729f0c80103", "score": "0.511276", "text": "private void exitSequence_mainRegion_State2__region0_State4() {\n\t\texitSequence_mainRegion_State2__region0_State4__region0();\n\t}", "title": "" }, { "docid": "946be9646033dcfb5274f8e83e18ae72", "score": "0.5106324", "text": "@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 }", "title": "" }, { "docid": "e3e70127ee5b4acd34812b3332da83aa", "score": "0.50957674", "text": "void scanunique() {\n\t\tint oldline, newline;\n\t\tnode psymbol;\n\n\t\tfor (newline = 1; newline <= newinfo.maxLine; newline++) {\n\t\t\tpsymbol = newinfo.symbol[newline];\n\t\t\tif (psymbol.symbolIsUnique()) { // 1 use in each file\n\t\t\t\toldline = psymbol.linenum;\n\t\t\t\tnewinfo.other[newline] = oldline; // record 1-1 map\n\t\t\t\toldinfo.other[oldline] = newline;\n\t\t\t}\n\t\t}\n\t\tnewinfo.other[0] = 0;\n\t\toldinfo.other[0] = 0;\n\t\tnewinfo.other[newinfo.maxLine + 1] = oldinfo.maxLine + 1;\n\t\toldinfo.other[oldinfo.maxLine + 1] = newinfo.maxLine + 1;\n\t}", "title": "" }, { "docid": "0a440ebbff5fc2363fdb9e9ea27e1f29", "score": "0.50916755", "text": "private ElementDebugger() {\r\n\t\t/* PROTECTED REGION ID(java.constructor._17_0_5_12d203c6_1363681638138_829588_2092) ENABLED START */\r\n\t\t// :)\r\n\t\t/* PROTECTED REGION END */\r\n\t}", "title": "" }, { "docid": "1a1fa847e7443a77e767561f70b63aab", "score": "0.5090713", "text": "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 }", "title": "" }, { "docid": "02d95f56730f67e72ffd96bed5ecd97c", "score": "0.50903445", "text": "public final void mo91715d() {\n }", "title": "" }, { "docid": "c2a751f1d5288eaeff5be3b54177ccb5", "score": "0.5085736", "text": "public void onNeighborBlockChange(World var1, int var2, int var3, int var4, int var5)\n {\n byte var6 = 0;\n byte var7 = 1;\n\n if (var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID)\n {\n var6 = 1;\n var7 = 0;\n }\n\n int var8;\n\n for (var8 = var3; var1.getBlockId(var2, var8 - 1, var4) == this.blockID; --var8)\n {\n ;\n }\n\n if (var1.getBlockId(var2, var8 - 1, var4) != Block.glowStone.blockID)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else\n {\n int var9;\n\n for (var9 = 1; var9 < 4 && var1.getBlockId(var2, var8 + var9, var4) == this.blockID; ++var9)\n {\n ;\n }\n\n if (var9 == 3 && var1.getBlockId(var2, var8 + var9, var4) == Block.glowStone.blockID)\n {\n boolean var10 = var1.getBlockId(var2 - 1, var3, var4) == this.blockID || var1.getBlockId(var2 + 1, var3, var4) == this.blockID;\n boolean var11 = var1.getBlockId(var2, var3, var4 - 1) == this.blockID || var1.getBlockId(var2, var3, var4 + 1) == this.blockID;\n\n if (var10 && var11)\n {\n var1.setBlock(var2, var3, var4, 0);\n } else if ((var1.getBlockId(var2 + var6, var3, var4 + var7) != Block.glowStone.blockID || var1.getBlockId(var2 - var6, var3, var4 - var7) != this.blockID) && (var1.getBlockId(var2 - var6, var3, var4 - var7) != Block.glowStone.blockID || var1.getBlockId(var2 + var6, var3, var4 + var7) != this.blockID))\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n } else\n {\n var1.setBlock(var2, var3, var4, 0);\n }\n }\n }", "title": "" }, { "docid": "5653864d1634b95a687c858c3ebebe8a", "score": "0.50850296", "text": "public int getInternalBlockLength()\r\n/* 40: */ {\r\n/* 41: 95 */ return 32;\r\n/* 42: */ }", "title": "" }, { "docid": "544a3a3298beca231b970348148a7b27", "score": "0.50817883", "text": "int numberOfBlocksToRemove();", "title": "" }, { "docid": "0d1a05a6c6407c16b8b717d3dd944014", "score": "0.5080811", "text": "private void smoothAdjacentCollapsibles(TECarpentersBlock TE, int src_quadrant)\n \t{\n \t\tTECarpentersBlock TE_XN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_XP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord) : null;\n \t\tTECarpentersBlock TE_ZN = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_ZP = TE.worldObj.getBlockId(TE.xCoord, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZNN = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZNP = TE.worldObj.getBlockId(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord - 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\tTECarpentersBlock TE_XZPN = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord - 1) : null;\n \t\tTECarpentersBlock TE_XZPP = TE.worldObj.getBlockId(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) == blockID ? (TECarpentersBlock)TE.worldObj.getBlockTileEntity(TE.xCoord + 1, TE.yCoord, TE.zCoord + 1) : null;\n \t\t\n \t\tint height = Collapsible.getQuadHeight(TE, src_quadrant);\n \t\t\n \t\tswitch (src_quadrant)\n \t\t{\n \t\tcase Collapsible.QUAD_XZNN:\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_XZNN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZNP:\n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tif (TE_XZNP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZNP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPN:\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XZPN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPN, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZN, Collapsible.QUAD_XZPP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\tcase Collapsible.QUAD_XZPP:\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_ZP, Collapsible.QUAD_XZPN, height);\n \t\t\t}\n \t\t\tif (TE_XZPP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XZPP, Collapsible.QUAD_XZNN, height);\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE_XP, Collapsible.QUAD_XZNP, height);\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}", "title": "" }, { "docid": "958753bd00645c7fa258e87d947df847", "score": "0.50780046", "text": "public void mo23813b() {\n }", "title": "" }, { "docid": "ff019c708db8f4338b9b1732994d63b9", "score": "0.5075957", "text": "private void repairGenome() {\n if (checkGenome(this.code)) {\n return;\n }\n int[] counters = new int[8];\n for (int c : code) { counters[c]++; }\n for (int i = 0; i < 8; ++i) {\n if (counters[i] == 0) {\n while (true) {\n int newPos = r.nextInt(GENOME_SIZE);\n if (counters[this.code[newPos]] > 1) {\n counters[this.code[newPos]]--;\n this.code[newPos] = i;\n break;\n }\n }\n }\n }\n }", "title": "" }, { "docid": "382de0d408d24998ae1db14690b2e5dd", "score": "0.5066731", "text": "public void mo115190b() {\n }", "title": "" }, { "docid": "2d4fc6ccd2e0e99b6f97e543ee4ef9f6", "score": "0.5062273", "text": "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}", "title": "" }, { "docid": "2b79023e333278e7ed5cd11afc659bae", "score": "0.50579184", "text": "void reportSplit(HRegionInfo oldRegion, HRegionInfo newRegionA,\n HRegionInfo newRegionB) {\n \n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_SPLIT, oldRegion,\n (oldRegion.getRegionNameAsString() + \" split; daughters: \" +\n newRegionA.getRegionNameAsString() + \", \" +\n newRegionB.getRegionNameAsString()).getBytes()));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionA));\n outboundMsgs.add(new HMsg(HMsg.Type.MSG_REPORT_OPEN, newRegionB));\n }", "title": "" }, { "docid": "a27e39df543aa3ffb8199bd78f8882c4", "score": "0.50549906", "text": "@Override\r\n\tpublic void visit(InstrumentBlock instrumentBlock) {\n\t\t\r\n\t}", "title": "" }, { "docid": "ebaab2ccd554ef099817a79f2315df50", "score": "0.50547117", "text": "private void m29109d() {\n PersistentConfiguration cVar = this.f22554b;\n if (cVar != null) {\n if (C6804i.m29033a(cVar.getString(\"UTDID2\"))) {\n String string = this.f22554b.getString(\"UTDID\");\n if (!C6804i.m29033a(string)) {\n m29110f(string);\n }\n }\n boolean z = false;\n String str = \"DID\";\n if (!C6804i.m29033a(this.f22554b.getString(str))) {\n this.f22554b.remove(str);\n z = true;\n }\n String str2 = \"EI\";\n if (!C6804i.m29033a(this.f22554b.getString(str2))) {\n this.f22554b.remove(str2);\n z = true;\n }\n String str3 = \"SI\";\n if (!C6804i.m29033a(this.f22554b.getString(str3))) {\n this.f22554b.remove(str3);\n z = true;\n }\n if (z) {\n this.f22554b.commit();\n }\n }\n }", "title": "" }, { "docid": "87b387faaad83b6a5818a483a70fd242", "score": "0.5050656", "text": "protected void method_2241() {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "67c0f987cd227dc9617e24873272c4a6", "score": "0.50467557", "text": "public /* bridge */ /* synthetic */ void mo55095b() {\n super.mo55095b();\n }", "title": "" }, { "docid": "5791d7f6a157c61763cda048fa17dbad", "score": "0.50446516", "text": "@Test (timeout=180000)\n public void testDupeRegion() throws Exception {\n TableName table =\n TableName.valueOf(\"tableDupeRegion\");\n try {\n setupTable(table);\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n\n // Now let's mess it up, by adding a region with a duplicate startkey\n HRegionInfo hriDupe =\n createRegion(tbl.getTableDescriptor(), Bytes.toBytes(\"A\"), Bytes.toBytes(\"B\"));\n\n TEST_UTIL.getHBaseCluster().getMaster().assignRegion(hriDupe);\n TEST_UTIL.getHBaseCluster().getMaster().getAssignmentManager()\n .waitForAssignment(hriDupe);\n ServerName server = regionStates.getRegionServerOfRegion(hriDupe);\n TEST_UTIL.assertRegionOnServer(hriDupe, server, REGION_ONLINE_TIMEOUT);\n\n // Yikes! The assignment manager can't tell between diff between two\n // different regions with the same start/endkeys since it doesn't\n // differentiate on ts/regionId! We actually need to recheck\n // deployments!\n while (findDeployedHSI(getDeployedHRIs((HBaseAdmin) admin), hriDupe) == null) {\n Thread.sleep(250);\n }\n\n LOG.debug(\"Finished assignment of dupe region\");\n\n // TODO why is dupe region different from dupe start keys?\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] { ERROR_CODE.DUPE_STARTKEYS,\n ERROR_CODE.DUPE_STARTKEYS});\n assertEquals(2, hbck.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows()); // seems like the \"bigger\" region won.\n\n // fix the degenerate region.\n doFsck(conf,true);\n\n // check that the degenerate region is gone and no data loss\n HBaseFsck hbck2 = doFsck(conf,false);\n assertNoErrors(hbck2);\n assertEquals(0, hbck2.getOverlapGroups(table).size());\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n }\n }", "title": "" }, { "docid": "38a11e4f3219c9c565843f3b47dce6f0", "score": "0.5041918", "text": "@Test (timeout=180000)\n public void testLingeringSplitParent() throws Exception {\n TableName table =\n TableName.valueOf(\"testLingeringSplitParent\");\n Table meta = null;\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(\"B\");\n\n // Delete one region from meta, but not hdfs, unassign it.\n deleteRegion(conf, tbl.getTableDescriptor(), Bytes.toBytes(\"B\"),\n Bytes.toBytes(\"C\"), true, true, false);\n\n // Create a new meta entry to fake it as a split parent.\n meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n HRegionInfo hri = location.getRegionInfo();\n\n HRegionInfo a = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"B\"), Bytes.toBytes(\"BM\"));\n HRegionInfo b = new HRegionInfo(tbl.getName(),\n Bytes.toBytes(\"BM\"), Bytes.toBytes(\"C\"));\n\n hri.setOffline(true);\n hri.setSplit(true);\n\n MetaTableAccessor.addRegionToMeta(meta, hri, a, b);\n meta.close();\n admin.flush(TableName.META_TABLE_NAME);\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // regular repair cannot fix lingering split parent\n hbck = doFsck(conf, true);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN });\n assertFalse(hbck.shouldRerun());\n hbck = doFsck(conf, false);\n assertErrors(hbck, new ERROR_CODE[] {\n ERROR_CODE.LINGERING_SPLIT_PARENT, ERROR_CODE.HOLE_IN_REGION_CHAIN});\n\n // fix lingering split parent\n hbck = new HBaseFsck(conf, hbfsckExecutorService);\n hbck.connect();\n hbck.setDisplayFullReport(); // i.e. -details\n hbck.setTimeLag(0);\n hbck.setFixSplitParents(true);\n hbck.onlineHbck();\n assertTrue(hbck.shouldRerun());\n hbck.close();\n\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITA_QUALIFIER).isEmpty());\n assertTrue(result.getColumnCells(HConstants.CATALOG_FAMILY,\n HConstants.SPLITB_QUALIFIER).isEmpty());\n admin.flush(TableName.META_TABLE_NAME);\n\n // fix other issues\n doFsck(conf, true);\n\n // check that all are fixed\n assertNoErrors(doFsck(conf, false));\n assertEquals(ROWKEYS.length, countRows());\n } finally {\n cleanupTable(table);\n IOUtils.closeQuietly(meta);\n }\n }", "title": "" }, { "docid": "8e196f537a390e8e184913f949a9cc94", "score": "0.5037142", "text": "private void method_7083() {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "27b3188b32767b9d4be030526acf6a3d", "score": "0.502972", "text": "@Test\n\tpublic void testForwardNonFrameBlockSubstitution() throws InvalidGenomeChange {\n\t\tGenomeChange change1 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642114, PositionType.ZERO_BASED),\n\t\t\t\t\"TAAACA\", \"GTT\");\n\t\tAnnotation annotation1 = new BlockSubstitutionAnnotationBuilder(infoForward, change1).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation1.transcript.accession);\n\t\tAssert.assertEquals(AnnotationLocation.INVALID_RANK, annotation1.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.691-3_693delinsGTT\", annotation1.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Trp231Val\", annotation1.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION, VariantType.SPLICE_ACCEPTOR),\n\t\t\t\tannotation1.effects);\n\n\t\t// deletion of three codons, insertion of one\n\t\tGenomeChange change2 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642126, PositionType.ZERO_BASED),\n\t\t\t\t\"GTGGTTCAA\", \"ACC\");\n\t\tAnnotation annotation2 = new BlockSubstitutionAnnotationBuilder(infoForward, change2).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation2.transcript.accession);\n\t\tAssert.assertEquals(2, annotation2.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.700_708delinsACC\", annotation2.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Val234_Gln236delinsThr\", annotation2.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.NON_FS_SUBSTITUTION), annotation2.effects);\n\n\t\t// deletion of three codons, insertion of one, includes truncation of replacement ref from the right\n\t\tGenomeChange change3 = new GenomeChange(new GenomePosition(refDict, '+', 1, 6642134, PositionType.ZERO_BASED),\n\t\t\t\t\"AGTGGAGGAT\", \"CTT\");\n\t\tAnnotation annotation3 = new BlockSubstitutionAnnotationBuilder(infoForward, change3).build();\n\t\tAssert.assertEquals(infoForward.accession, annotation3.transcript.accession);\n\t\tAssert.assertEquals(2, annotation3.annoLoc.rank);\n\t\tAssert.assertEquals(\"c.708_716delinsCT\", annotation3.ntHGVSDescription);\n\t\tAssert.assertEquals(\"p.Gln236Hisfs*16\", annotation3.aaHGVSDescription);\n\t\tAssert.assertEquals(ImmutableSortedSet.of(VariantType.FS_SUBSTITUTION), annotation3.effects);\n\t}", "title": "" }, { "docid": "e3b985a616be7bec8ae9692f52b26f22", "score": "0.5028777", "text": "void transform() {\n\t\tint oldline, newline;\n\t\tint oldmax = oldinfo.maxLine + 2; /* Count pseudolines at */\n\t\tint newmax = newinfo.maxLine + 2; /* ..front and rear of file */\n\n\t\tfor (oldline = 0; oldline < oldmax; oldline++)\n\t\t\toldinfo.other[oldline] = -1;\n\t\tfor (newline = 0; newline < newmax; newline++)\n\t\t\tnewinfo.other[newline] = -1;\n\n\t\tscanunique(); /* scan for lines used once in both files */\n\t\tscanafter(); /* scan past sure-matches for non-unique blocks */\n\t\tscanbefore(); /* scan backwards from sure-matches */\n\t\tscanblocks(); /* find the fronts and lengths of blocks */\n\t}", "title": "" }, { "docid": "c5b7ed92e2a1e496d47ace23c1c10c58", "score": "0.5028307", "text": "public int h(Block parambec)\r\n/* 29: */ {\r\n/* 30: 44 */ return F();\r\n/* 31: */ }", "title": "" }, { "docid": "fd504f31b558a0487aa50ac06fb430b6", "score": "0.5024688", "text": "void blackhole(){ if (zzAtBOL) return; }", "title": "" }, { "docid": "ec81969ae8e7d1e921ecd4328a4ab0fa", "score": "0.50192595", "text": "void m63702c() {\n for (C17455a c17455a : this.f53839c) {\n c17455a.f53844b.clear();\n }\n }", "title": "" }, { "docid": "1a44e7f0a7cf7b32506e21d4ff1da0d8", "score": "0.5012919", "text": "private void m3421k(C0933b bVar) {\n int i;\n int i2 = bVar.f4379a;\n if (i2 == 1 || i2 == 8) {\n throw new IllegalArgumentException(\"should not dispatch add or move for pre layout\");\n }\n int z = m3423z(bVar.f4380b, i2);\n int i3 = bVar.f4380b;\n int i4 = bVar.f4379a;\n if (i4 == 2) {\n i = 0;\n } else if (i4 == 4) {\n i = 1;\n } else {\n throw new IllegalArgumentException(\"op should be remove or update.\" + bVar);\n }\n int i5 = 1;\n for (int i6 = 1; i6 < bVar.f4382d; i6++) {\n int z2 = m3423z(bVar.f4380b + (i * i6), bVar.f4379a);\n int i7 = bVar.f4379a;\n if (i7 == 2 ? z2 == z : i7 == 4 && z2 == z + 1) {\n i5++;\n } else {\n C0933b b = mo7621b(i7, z, i5, bVar.f4381c);\n mo7625l(b, i3);\n mo7620a(b);\n if (bVar.f4379a == 4) {\n i3 += i5;\n }\n z = z2;\n i5 = 1;\n }\n }\n Object obj = bVar.f4381c;\n mo7620a(bVar);\n if (i5 > 0) {\n C0933b b2 = mo7621b(bVar.f4379a, z, i5, obj);\n mo7625l(b2, i3);\n mo7620a(b2);\n }\n }", "title": "" }, { "docid": "d75dd59ca986582e6b6308c7d2c8ff90", "score": "0.5012581", "text": "private void t2() {\n // read from a super region, write to a sub region: keep both\n readProtected();\n writeDefault();\n }", "title": "" }, { "docid": "31c84ec9ff005da9332b1ec868f55090", "score": "0.50103354", "text": "private void split(Map<Integer, SortedSet> invariants, Partition partition) {\n int nonEmptyInvariants = invariants.keySet().size();\n if (nonEmptyInvariants > 1) {\n List<Integer> invariantKeys = new ArrayList<Integer>();\n invariantKeys.addAll(invariants.keySet());\n partition.removeCell(currentBlockIndex);\n int k = currentBlockIndex;\n if (splitOrder == SplitOrder.REVERSE) {\n Collections.sort(invariantKeys);\n } else {\n Collections.sort(invariantKeys, Collections.reverseOrder());\n }\n for (int h : invariantKeys) {\n SortedSet setH = invariants.get(h);\n// System.out.println(\"adding block \" + setH + \" at \" + k + \" h=\" + h);\n partition.insertCell(k, setH);\n blocksToRefine.add(setH);\n k++;\n \n }\n // skip over the newly added blocks\n currentBlockIndex += nonEmptyInvariants - 1;\n }\n }", "title": "" }, { "docid": "e1e5202a02a3d16e02ce9ffd3a562318", "score": "0.500541", "text": "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 }", "title": "" }, { "docid": "3d5cd38f5e3bce5bc3c319b989e6395e", "score": "0.49943653", "text": "public void method_2139() {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "840c91bccc8b75f69ab25958b34e6215", "score": "0.49940553", "text": "public boolean renderAsNormalBlock()\r\n/* 166: */ {\r\n/* 167:184 */ return false;\r\n/* 168: */ }", "title": "" }, { "docid": "5aebffb7e3f294d0cdabdf225f375436", "score": "0.4992356", "text": "protected void method_2141() {\r\n // $FF: Couldn't be decompiled\r\n }", "title": "" }, { "docid": "fe992bd05ecf350879a562d9336934b4", "score": "0.49904934", "text": "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 }", "title": "" }, { "docid": "7c8b2162f456b66b411032379a754732", "score": "0.49898475", "text": "private void m22003b() {\n if (this.f23836h) {\n this.f23833e.unregisterReceiver(this.f23837i);\n this.f23836h = false;\n }\n }", "title": "" }, { "docid": "71c87b876a3de2b5f3acf902c98bcd8f", "score": "0.49877173", "text": "@Override\n \t/**\n \t * Called when the block is placed in the world.\n \t */\n \tpublic void auxiliaryOnBlockPlacedBy(TECarpentersBlock TE, World world, int x, int y, int z, EntityLivingBase entityLiving, ItemStack itemStack)\n \t{\n \t\tif (!entityLiving.isSneaking())\n \t\t{\n \t\t\t/* Match adjacent collapsible quadrant heights. */\n \t\t\t\n \t\t\tTECarpentersBlock TE_XN = world.getBlockId(x - 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x - 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_XP = world.getBlockId(x + 1, y, z) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x + 1, y, z) : null;\n \t\t\tTECarpentersBlock TE_ZN = world.getBlockId(x, y, z - 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z - 1) : null;\n \t\t\tTECarpentersBlock TE_ZP = world.getBlockId(x, y, z + 1) == blockID ? (TECarpentersBlock)world.getBlockTileEntity(x, y, z + 1) : null;\n \n \t\t\tif (TE_XN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_XN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_XP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_XP, Collapsible.QUAD_XZNP));\n \t\t\t}\n \t\t\tif (TE_ZN != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZNP));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPN, Collapsible.getQuadHeight(TE_ZN, Collapsible.QUAD_XZPP));\n \t\t\t}\n \t\t\tif (TE_ZP != null) {\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZNP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZNN));\n \t\t\t\tCollapsible.setQuadHeight(TE, Collapsible.QUAD_XZPP, Collapsible.getQuadHeight(TE_ZP, Collapsible.QUAD_XZPN));\n \t\t\t}\n \t\t}\n \t}", "title": "" }, { "docid": "3acdfd1e888685dec66def6e72d4af8e", "score": "0.49809942", "text": "private void exitSequence_mainRegion_State2__region0_a() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}", "title": "" }, { "docid": "2f8bc325cbd58e19eae4acec86ffe12c", "score": "0.49799722", "text": "public final void mo51373a() {\n }", "title": "" }, { "docid": "2e6958c9076d0b6dae048db1fb1c7002", "score": "0.49782687", "text": "public boolean willOverlap() {\n/* 208 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "title": "" }, { "docid": "6071691a9653cfe1977f509adf65178d", "score": "0.4972286", "text": "private void m1656b() {\n C1319o c1319o = this.f1529q;\n if (c1319o != null) {\n this.f1529q = null;\n try {\n c1319o.mo24b();\n } catch (Throwable e) {\n if (this.f1513a.m262a()) {\n this.f1513a.m261a(e.getMessage(), e);\n }\n }\n try {\n c1319o.b_();\n } catch (Throwable e2) {\n this.f1513a.m261a(\"Error releasing connection\", e2);\n }\n }\n }", "title": "" }, { "docid": "2800b1666fecd9821462f518542b1d57", "score": "0.49721313", "text": "public boolean A_()\r\n/* 21: */ {\r\n/* 22:138 */ return true;\r\n/* 23: */ }", "title": "" }, { "docid": "dc71a511ce6086b27f8fdcda887d4154", "score": "0.4967262", "text": "@Test\n public void testNonConsecutiveBlocks()\n {\n long blockSize = 1000;\n int noOfBlocks = (int)((testMeta.dataFile.length() / blockSize)\n + (((testMeta.dataFile.length() % blockSize) == 0) ? 0 : 1));\n\n testMeta.blockReader.beginWindow(1);\n\n for (int i = 0; i < 10; i++) {\n for (int j = 0; j < Math.ceil(noOfBlocks / 10.0); j++) {\n int blockNo = 10 * j + i;\n if (blockNo >= noOfBlocks) {\n continue;\n }\n BlockMetadata.FileBlockMetadata blockMetadata = new BlockMetadata.FileBlockMetadata(s3Directory + FILE_1,\n blockNo, blockNo * blockSize,\n blockNo == noOfBlocks - 1 ? testMeta.dataFile.length() : (blockNo + 1) * blockSize,\n blockNo == noOfBlocks - 1, blockNo - 1, testMeta.dataFile.length());\n testMeta.blockReader.blocksMetadataInput.process(blockMetadata);\n }\n }\n\n testMeta.blockReader.endWindow();\n\n List<Object> messages = testMeta.messageSink.collectedTuples;\n Assert.assertEquals(\"No of records\", testMeta.messages.size(), messages.size());\n\n Collections.sort(testMeta.messages, new Comparator<String[]>()\n {\n @Override\n public int compare(String[] rec1, String[] rec2)\n {\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n\n Collections.sort(messages, new Comparator<Object>()\n {\n @Override\n public int compare(Object object1, Object object2)\n {\n String[] rec1 = new String((byte[])object1).split(\",\");\n String[] rec2 = new String((byte[])object2).split(\",\");\n return compareStringArrayRecords(rec1, rec2);\n }\n });\n for (int i = 0; i < messages.size(); i++) {\n byte[] msg = (byte[])messages.get(i);\n Assert.assertTrue(\"line \" + i, Arrays.equals(new String(msg).split(\",\"), testMeta.messages.get(i)));\n }\n }", "title": "" }, { "docid": "0fd08730cff842bfc4ae4eb0e15d46d8", "score": "0.49646044", "text": "public boolean //##78\n divideHirIntoBasicBlocks()\n {\n HirIterator lHirIterator;\n HIR lNode, // Current node.\n lParent; // Parent of lNode.\n coins.sym.Sym lSym;\n FlowAnalSym lFlowAnalSym;\n int lNodeIndex;\n Label lLabel, lSubpBlockLabel;\n BBlock lBBlock; // BBlock most recently created.\n IrList lLabelDefList;\n Subp lSubp;\n BlockStmt lSubpBody; // Block as the HIR body of subprogram.\n //## LabeledStmt lSubpBodyWithLabel;\n\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, \"divideHirIntoBasicBlocks \",\n flowRoot.subpUnderAnalysis.getName() + \" fIrIndexMin \" +\n fIrIndexMin + \" Max \" + fIrIndexMax); //##62\n recordBBlock(bblock(), 0); //Avoid IndexOutofRangeException\n //##62 BEGIN\n lSubp = fSubpDefinition.getSubpSym();\n fNodeCount = fIrIndexMax - fIrIndexMin + 1;\n fFlowIrLinkSize = fNodeCount + 1; //##62\n fFlowIrLink = new IR[fFlowIrLinkSize];\n lBBlock = null; // Record a basic block created.\n boolean lImmediatelyAfterJumpReturn = false; //##63\n //##62 END\n\n //-- Assign index number to symbols actually used in current\n // subprogram setting index to each node.\n // Make label reference list for labels that are explicitly\n // refered as jump target.\n for (lHirIterator = hirRoot.hir.hirIterator(fSubpDefinition.getHirBody());\n lHirIterator.hasNext(); ) {\n lNode = lHirIterator.next();\n if (lNode != null) {\n if (fDbgLevel > 3)\n ioRoot.dbgFlow.print(6, \" lNode\", lNode.toStringShort());\n lSym = lNode.getSym();\n if (lSym != null) {\n if (lSym instanceof FlowAnalSym) {\n lFlowAnalSym = (FlowAnalSym)lSym;\n if (lFlowAnalSym.getIndex() == 0) {\n recordSym(lFlowAnalSym); //##62\n }else {\n if (fDbgLevel > 0)\n flow.dbg(6, \" \" + lFlowAnalSym.getName()+\n \":\" + lFlowAnalSym.getIndex());\n }\n }\n }\n\n //##63 BEG\n lNodeIndex = lNode.getIndex();\n //##78 BEGIN\n if (lNodeIndex < fIrIndexMin) {\n ioRoot.msgRecovered.put(5010, \"\\nNode index \" + lNodeIndex\n + \" should be greater or equal to \" + fIrIndexMin\n + \" in \" + fSubpDefinition.getSubpSym().getName()\n + \"\\n Skip the flow analysis and the optimization.\");\n return false;\n }\n //##78 END\n fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n if (lImmediatelyAfterJumpReturn &&\n (lNode.getOperator() != HIR.OP_LABELED_STMT)) {\n continue; // Control does not come here.\n }\n lImmediatelyAfterJumpReturn = false;\n //##63 END\n switch (lNode.getOperator()) {\n case HIR.OP_LABELED_STMT:\n lBBlock = bblock((LabeledStmt)lNode); // Create a basic block.\n fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; // Store again. //##65\n //## lSubp.addBBlock(lBBlock); // DELETE\n lLabelDefList = ((LabeledStmt)lNode).getLabelDefList();\n if (lLabelDefList != null) {\n for (Iterator lIterator = lLabelDefList.iterator();\n lIterator.hasNext(); ) { // Set link between HIR & Label.\n lLabel = ((coins.ir.hir.LabelDef)(lIterator.next())).getLabel();\n //##60 lLabel.setBBlock(lBBlock);\n flowRoot.fSubpFlow.setBBlock(lLabel, lBBlock); //##60\n }\n }\n lImmediatelyAfterJumpReturn = false;\n break;\n // begin\n case HIR.OP_CONTENTS:\n lParent = (HIR)lNode.getParent();\n if (lParent.getOperator() == HIR.OP_ASSIGN)\n lBBlock.setFlag(BBlock.HAS_PTR_ASSIGN, true);\n case HIR.OP_ARROW:\n case HIR.OP_ADDR:\n lBBlock.setFlag(BBlock.USE_PTR, true);\n break;\n case HIR.OP_QUAL:\n lBBlock.setFlag(BBlock.HAS_STRUCT_UNION, true);\n break;\n case HIR.OP_CALL:\n lBBlock.setFlag(BBlock.HAS_CALL, true);\n //##62 hasCallInSubp = true; //##62\n //##63 BEGIN\n fCallCount++; //##62\n fSubtreesContainingCall.add(lNode);\n for (HIR lHir = (HIR)lNode.getParent(); lHir != null;\n lHir = (HIR)lHir.getParent()) {\n fSubtreesContainingCall.add(lNode);\n }\n //##63 END\n break;\n //##62 BEGIN\n case HIR.OP_ASSIGN:\n fAssignCount++;\n break;\n case HIR.OP_JUMP:\n lLabel = ((JumpStmt)lNode).getLabel();\n //##62 lLabel.addToHirRefList((LabelNode)((JumpStmt)lNode).getChild1());\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_RETURN: //##63\n lImmediatelyAfterJumpReturn = true; //##63\n ((BBlockImpl)lBBlock).fControlTransfer = lNode; //##73\n break;\n case HIR.OP_SWITCH:\n SwitchStmt lSwitchStmt = (SwitchStmt)lNode;\n int lCaseCount = lSwitchStmt.getCaseCount();\n for (int i = 0; i < lCaseCount; i++) {\n lLabel = lSwitchStmt.getCaseLabel(i);\n //##62 if (lLabel != null)\n //##62 lLabel.addToHirRefList(lSwitchStmt.getCaseLabelNode(i));\n }\n //##62 lSwitchStmt.getDefaultLabel().addToHirRefList((LabelNode)((SwitchStmt)\n //##62 lNode).getDefaultLabelNode());\n //##62 END\n default:\n break;\n // end\n } // End of switch\n //##63 lNodeIndex = lNode.getIndex();\n //##60 fFlowIrLink[lNodeIndex - fIndexMin] =\n //##60 (FlowIrLinkCell)(new FlowIrLinkCellImpl(lNode, lBBlock, 0));\n //##63 fFlowIrLink[lNodeIndex - fIrIndexMin] = lNode; //##60\n //##63 fBBlockOfIR[lNodeIndex - fIrIndexMin] = lBBlock; //##60\n } // End of if(lNode != null)\n }\n //##62 BEGIN\n fUsedSymCount = fSymExpCount;\n if (fDbgLevel > 0)\n ioRoot.dbgFlow.print(2, lSubp.getName() +\n \" Number of\", \"Symbols:\" +\n fUsedSymCount + \" Nodes:\" + fNodeCount + \" \");\n fExpVectorBitCount = fUsedSymCount + 2; //##60\n fExpVectorWordCount = (fExpVectorBitCount + 63) / 64; //##60\n\n int lNodeCount = fIrIndexMax - fIrIndexMin;\n if (lNodeCount > fNodeCountLim1)\n fComplexity = 2;\n if (fSymExpCount > fSymCountLim1)\n fComplexity = 2;\n if (lNodeCount > fNodeCountLim2)\n fComplexity = 3;\n if (fSymExpCount > fSymCountLim2)\n fComplexity = 3;\n //##62 END\n if (fDbgLevel > 0) {\n //### fComplexity = 3; //###\n flowRoot.ioRoot.dbgFlow.print(1, \"\\n Node count \" +\n lNodeCount + \" BBlock count \" + getNumberOfBBlocks()+\n \" UsedSymCount \" + getUsedSymCount() + \" SymExpCount \" + getSymExpCount()\n + \"\\n AssignCount \" + getAssignCount()\n + \" CallCount \" + getCallCount()); //##62\n ioRoot.dbgFlow.print(1, \"\\nComplexity level of \",\n getSubpSym().getName() + \" is \" + fComplexity);\n if (fComplexity > 1)\n ioRoot.dbgFlow.print(1, \"\\n Simplify alias analysis.\");\n if (fComplexity > 2)\n ioRoot.dbgFlow.print(1, \"\\n Simplify data flow analysis.\");\n }\n setComputedFlag(CF_BBLOCK); //##60\n return true; //##78\n }", "title": "" }, { "docid": "e29411a249c788b271f061b08997fe51", "score": "0.49557248", "text": "public void run() {\n /*\n r8 = this;\n r1 = com.umeng.commonsdk.proguard.b.b;\t Catch:{ Throwable -> 0x00c9 }\n monitor-enter(r1);\t Catch:{ Throwable -> 0x00c9 }\n r0 = r8.a;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x0009:\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n if (r0 == 0) goto L_0x00c4;\n L_0x000d:\n r0 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n if (r0 != 0) goto L_0x00c4;\n L_0x0013:\n r0 = 1;\n com.umeng.commonsdk.proguard.b.a = r0;\t Catch:{ all -> 0x00c6 }\n r0 = \"walle-crash\";\n r2 = 1;\n r2 = new java.lang.Object[r2];\t Catch:{ all -> 0x00c6 }\n r3 = 0;\n r4 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r4.<init>();\t Catch:{ all -> 0x00c6 }\n r5 = \"report thread is \";\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r5 = com.umeng.commonsdk.proguard.b.a;\t Catch:{ all -> 0x00c6 }\n r4 = r4.append(r5);\t Catch:{ all -> 0x00c6 }\n r4 = r4.toString();\t Catch:{ all -> 0x00c6 }\n r2[r3] = r4;\t Catch:{ all -> 0x00c6 }\n com.umeng.commonsdk.statistics.common.e.a(r0, r2);\t Catch:{ all -> 0x00c6 }\n r0 = r8.b;\t Catch:{ all -> 0x00c6 }\n r0 = com.umeng.commonsdk.proguard.c.a(r0);\t Catch:{ all -> 0x00c6 }\n r2 = android.text.TextUtils.isEmpty(r0);\t Catch:{ all -> 0x00c6 }\n if (r2 != 0) goto L_0x00c4;\n L_0x0045:\n r2 = new java.lang.StringBuilder;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r3.getFilesDir();\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"stateless\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"/\";\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r3 = \"umpx_internal\";\n r3 = r3.getBytes();\t Catch:{ all -> 0x00c6 }\n r4 = 0;\n r3 = android.util.Base64.encodeToString(r3, r4);\t Catch:{ all -> 0x00c6 }\n r2 = r2.append(r3);\t Catch:{ all -> 0x00c6 }\n r2 = r2.toString();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r4 = 10;\n com.umeng.commonsdk.stateless.f.a(r3, r2, r4);\t Catch:{ all -> 0x00c6 }\n r2 = new com.umeng.commonsdk.stateless.UMSLEnvelopeBuild;\t Catch:{ all -> 0x00c6 }\n r2.<init>();\t Catch:{ all -> 0x00c6 }\n r3 = r8.a;\t Catch:{ all -> 0x00c6 }\n r3 = r2.buildSLBaseHeader(r3);\t Catch:{ all -> 0x00c6 }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"content\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = \"ts\";\n r6 = java.lang.System.currentTimeMillis();\t Catch:{ JSONException -> 0x00cb }\n r4.put(r0, r6);\t Catch:{ JSONException -> 0x00cb }\n r0 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r0.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"crash\";\n r0.put(r5, r4);\t Catch:{ JSONException -> 0x00cb }\n r4 = new org.json.JSONObject;\t Catch:{ JSONException -> 0x00cb }\n r4.<init>();\t Catch:{ JSONException -> 0x00cb }\n r5 = \"tp\";\n r4.put(r5, r0);\t Catch:{ JSONException -> 0x00cb }\n r0 = r8.a;\t Catch:{ JSONException -> 0x00cb }\n r5 = \"umpx_internal\";\n r0 = r2.buildSLEnvelope(r0, r3, r4, r5);\t Catch:{ JSONException -> 0x00cb }\n if (r0 == 0) goto L_0x00c4;\n L_0x00bc:\n r2 = \"exception\";\n r0 = r0.has(r2);\t Catch:{ JSONException -> 0x00cb }\n if (r0 != 0) goto L_0x00c4;\n L_0x00c4:\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n L_0x00c5:\n return;\n L_0x00c6:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ all -> 0x00c6 }\n throw r0;\t Catch:{ Throwable -> 0x00c9 }\n L_0x00c9:\n r0 = move-exception;\n goto L_0x00c5;\n L_0x00cb:\n r0 = move-exception;\n goto L_0x00c4;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.umeng.commonsdk.proguard.bb.run():void\");\n }", "title": "" }, { "docid": "d01357b6dece449483c7757d3eca0126", "score": "0.49527803", "text": "@Override\n public void visitBlockStmt(BlockStmt stmt) {\n enterBlockStmt(stmt);\n super.visitBlockStmt(stmt);\n leaveBlockStmt(stmt);\n }", "title": "" }, { "docid": "cf098567e736ef44772b05c1c080cd7e", "score": "0.4951246", "text": "public void remove( int position )\n {\n caller = \"remove\";\n byte byteSize = memoryPool[position];\n Integer size = (int)byteSize;\n // remove the record starting at the given position\n for ( int i = 0; i < size; i++ )\n {\n memoryPool[position + i] = 0;\n }\n\n findBlock( position );\n freeBlock = new HashMap<Integer, Integer>( 1 );\n freeBlock.put( position, size );\n freeBlockList.add( freeBlock );\n Object[] keyArray =\n freeBlockList.getCurrentElement().keySet().toArray();\n int key = (Integer)keyArray[0];\n\n caller = \"check\";\n int currentValue = freeBlockList.getCurrentElement().get( key );\n int mergePoint1 = position + currentValue;\n int rightKeyMatch = findBlock( mergePoint1 );\n\n int mergePoint2 = position;\n int leftKeyMatch = -1;\n int priorValue = -1;\n int key2 = -1;\n if ( 1==1)\n {\n findBlock(mergePoint2);\n freeBlockList.previous();\n if ( !( freeBlockList.getCurrent().equals( freeBlockList.getHead() ) )\n && !( freeBlockList.getCurrent().equals( freeBlockList.getTail() ) ) &&\n !( freeBlockList.getCurrent().equals( null )))\n {\n Object[] keyArray2 =\n freeBlockList.getCurrentElement().keySet().toArray();\n key2 = (Integer)keyArray2[0];\n priorValue = freeBlockList.getCurrentElement().get( key2 );\n leftKeyMatch = key2 + priorValue;\n }\n\n }\n\n if ( rightKeyMatch == mergePoint1 )\n {\n findBlock(mergePoint1);\n freeBlockList.previous();\n freeBlockList.removeCurrent();\n int rightValue =\n freeBlockList.getCurrentElement().get( rightKeyMatch );\n\n freeBlockList.getCurrentElement().clear();\n freeBlockList.getCurrentElement().put(\n position,\n currentValue + rightValue );\n //if()\n }\n if(leftKeyMatch == mergePoint2) {\n findBlock(mergePoint2);\n freeBlockList.previous();\n freeBlockList.removeCurrent();\n int rightValue =\n freeBlockList.getCurrentElement().get(leftKeyMatch);\n\n freeBlockList.getCurrentElement().clear();\n freeBlockList.getCurrentElement().put(\n key2,\n priorValue + rightValue );\n }\n\n }", "title": "" }, { "docid": "15792458ebf4cbadab50bdc7d536c22c", "score": "0.4946169", "text": "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 }", "title": "" }, { "docid": "5d04b4449796cff12be66472c088331d", "score": "0.49431473", "text": "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 }", "title": "" }, { "docid": "165a69ba3ffbf590cb25c84109d1ace8", "score": "0.49426988", "text": "@ActionTrigger(action=\"KEY-NXTBLK\", function=KeyFunction.NEXT_BLOCK)\n\t\tpublic void spriden_NextBlock()\n\t\t{\n\t\t\t\n\t\t\t\tgoBlock(toStr(\"SOUNDEX\"));\n\t\t\t\tgetTask().getGoqrpls().gCheckFailure();\n\t\t\t}", "title": "" }, { "docid": "3f9c2ae3444378e0f3f6d67be57ce94e", "score": "0.49403808", "text": "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: */ }", "title": "" }, { "docid": "dfbd931ebda612be58793d49ad1ace5f", "score": "0.49397862", "text": "@Test(timeout=75000)\n public void testSplitDaughtersNotInMeta() throws Exception {\n TableName table = TableName.valueOf(\"testSplitdaughtersNotInMeta\");\n Table meta = connection.getTable(TableName.META_TABLE_NAME, tableExecutorService);\n try {\n setupTable(table);\n assertEquals(ROWKEYS.length, countRows());\n\n // make sure data in regions, if in wal only there is no data loss\n admin.flush(table);\n HRegionLocation location = tbl.getRegionLocation(Bytes.toBytes(\"B\"));\n\n HRegionInfo hri = location.getRegionInfo();\n\n // Disable CatalogJanitor to prevent it from cleaning up the parent region\n // after split.\n admin.enableCatalogJanitor(false);\n\n // do a regular split\n byte[] regionName = location.getRegionInfo().getRegionName();\n admin.splitRegion(location.getRegionInfo().getRegionName(), Bytes.toBytes(\"BM\"));\n TestEndToEndSplitTransaction.blockUntilRegionSplit(conf, 60000, regionName, true);\n\n PairOfSameType<HRegionInfo> daughters =\n MetaTableAccessor.getDaughterRegions(meta.get(new Get(regionName)));\n\n // Delete daughter regions from meta, but not hdfs, unassign it.\n Map<HRegionInfo, ServerName> hris = tbl.getRegionLocations();\n undeployRegion(connection, hris.get(daughters.getFirst()), daughters.getFirst());\n undeployRegion(connection, hris.get(daughters.getSecond()), daughters.getSecond());\n\n List<Delete> deletes = new ArrayList<>();\n deletes.add(new Delete(daughters.getFirst().getRegionName()));\n deletes.add(new Delete(daughters.getSecond().getRegionName()));\n meta.delete(deletes);\n\n // Remove daughters from regionStates\n RegionStates regionStates = TEST_UTIL.getMiniHBaseCluster().getMaster().\n getAssignmentManager().getRegionStates();\n regionStates.deleteRegion(daughters.getFirst());\n regionStates.deleteRegion(daughters.getSecond());\n\n HBaseFsck hbck = doFsck(conf, false);\n assertErrors(hbck,\n new ERROR_CODE[] { ERROR_CODE.NOT_IN_META_OR_DEPLOYED, ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN }); //no LINGERING_SPLIT_PARENT\n\n // now fix it. The fix should not revert the region split, but add daughters to META\n hbck = doFsck(\n conf, true, true, false, false, false, false, false, false, false, false, false, null);\n assertErrors(hbck,\n new ERROR_CODE[] { ERROR_CODE.NOT_IN_META_OR_DEPLOYED, ERROR_CODE.NOT_IN_META_OR_DEPLOYED,\n ERROR_CODE.HOLE_IN_REGION_CHAIN });\n\n // assert that the split hbase:meta entry is still there.\n Get get = new Get(hri.getRegionName());\n Result result = meta.get(get);\n assertNotNull(result);\n assertNotNull(MetaTableAccessor.getHRegionInfo(result));\n\n assertEquals(ROWKEYS.length, countRows());\n\n // assert that we still have the split regions\n assertEquals(tbl.getStartKeys().length, SPLITS.length + 1 + 1); //SPLITS + 1 is # regions pre-split.\n assertNoErrors(doFsck(conf, false)); //should be fixed by now\n } finally {\n admin.enableCatalogJanitor(true);\n meta.close();\n cleanupTable(table);\n }\n }", "title": "" }, { "docid": "2bb11491e8935c481609176d085b6504", "score": "0.49387246", "text": "private void m3419g(C0933b bVar) {\n int i = bVar.f4380b;\n int i2 = bVar.f4382d + i;\n int i3 = i;\n char c = 65535;\n int i4 = 0;\n while (i < i2) {\n if (this.f4374d.mo7442e(i) != null || m3420h(i)) {\n if (c == 0) {\n m3421k(mo7621b(4, i3, i4, bVar.f4381c));\n i3 = i;\n i4 = 0;\n }\n c = 1;\n } else {\n if (c == 1) {\n m3422v(mo7621b(4, i3, i4, bVar.f4381c));\n i3 = i;\n i4 = 0;\n }\n c = 0;\n }\n i4++;\n i++;\n }\n if (i4 != bVar.f4382d) {\n Object obj = bVar.f4381c;\n mo7620a(bVar);\n bVar = mo7621b(4, i3, i4, obj);\n }\n if (c == 0) {\n m3421k(bVar);\n } else {\n m3422v(bVar);\n }\n }", "title": "" }, { "docid": "bcfb7b5daffdd7a6701bce82475f3352", "score": "0.4935731", "text": "private void ssMergeBackward(int r19, int[] r20, int r21, int r22, int r23, int r24, int r25) {\n /*\n r18 = this;\n r0 = r18;\n r4 = r0.SA;\n r17 = r24 - r23;\n r5 = r21 + r17;\n r17 = r24 - r23;\n r0 = r20;\n r1 = r21;\n r2 = r23;\n r3 = r17;\n ssBlockSwap(r0, r1, r4, r2, r3);\n r16 = 0;\n r17 = r5 + -1;\n r17 = r20[r17];\n if (r17 >= 0) goto L_0x0071;\n L_0x001d:\n r16 = r16 | 1;\n r17 = r5 + -1;\n r17 = r20[r17];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x0027:\n r17 = r23 + -1;\n r17 = r4[r17];\n if (r17 >= 0) goto L_0x0078;\n L_0x002d:\n r16 = r16 | 2;\n r17 = r23 + -1;\n r17 = r4[r17];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n L_0x0037:\n r17 = r24 + -1;\n r15 = r4[r17];\n r6 = r24 + -1;\n r8 = r5 + -1;\n r10 = r23 + -1;\n L_0x0041:\n r0 = r18;\n r1 = r25;\n r14 = r0.ssCompare(r12, r13, r1);\n if (r14 <= 0) goto L_0x009b;\n L_0x004b:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0063;\n L_0x004f:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a9;\n L_0x005f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0063:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x007f;\n L_0x006d:\n r20[r8] = r15;\n r6 = r7;\n L_0x0070:\n return;\n L_0x0071:\n r17 = r5 + -1;\n r17 = r20[r17];\n r12 = r19 + r17;\n goto L_0x0027;\n L_0x0078:\n r17 = r23 + -1;\n r17 = r4[r17];\n r13 = r19 + r17;\n goto L_0x0037;\n L_0x007f:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x0094;\n L_0x0089:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x0094:\n r17 = r20[r9];\n r12 = r19 + r17;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x009b:\n if (r14 >= 0) goto L_0x00fb;\n L_0x009d:\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x00b5;\n L_0x00a1:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x01a5;\n L_0x00b1:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x00b5:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x00e3;\n L_0x00c5:\n r9 = r8;\n L_0x00c6:\n r0 = r21;\n if (r0 >= r9) goto L_0x00d9;\n L_0x00ca:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x00c6;\n L_0x00d9:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x00e3:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x00f3;\n L_0x00e7:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00f3:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r6 = r7;\n goto L_0x0041;\n L_0x00fb:\n r17 = r16 & 1;\n if (r17 == 0) goto L_0x0113;\n L_0x00ff:\n r7 = r6 + -1;\n r17 = r20[r8];\n r4[r6] = r17;\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r20[r9];\n if (r17 < 0) goto L_0x01a1;\n L_0x010f:\n r16 = r16 ^ 1;\n r8 = r9;\n r6 = r7;\n L_0x0113:\n r7 = r6 + -1;\n r17 = r20[r8];\n r17 = r17 ^ -1;\n r4[r6] = r17;\n r0 = r21;\n if (r8 > r0) goto L_0x0124;\n L_0x011f:\n r20[r8] = r15;\n r6 = r7;\n goto L_0x0070;\n L_0x0124:\n r9 = r8 + -1;\n r17 = r4[r7];\n r20[r8] = r17;\n r17 = r16 & 2;\n if (r17 == 0) goto L_0x019f;\n L_0x012e:\n r6 = r7;\n L_0x012f:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r17 = r4[r11];\n if (r17 < 0) goto L_0x019c;\n L_0x013f:\n r16 = r16 ^ 2;\n r10 = r11;\n r6 = r7;\n L_0x0143:\n r7 = r6 + -1;\n r17 = r4[r10];\n r4[r6] = r17;\n r11 = r10 + -1;\n r17 = r4[r7];\n r4[r10] = r17;\n r0 = r22;\n if (r11 >= r0) goto L_0x0171;\n L_0x0153:\n r0 = r21;\n if (r0 >= r9) goto L_0x0166;\n L_0x0157:\n r6 = r7 + -1;\n r17 = r20[r9];\n r4[r7] = r17;\n r8 = r9 + -1;\n r17 = r4[r6];\n r20[r9] = r17;\n r9 = r8;\n r7 = r6;\n goto L_0x0153;\n L_0x0166:\n r17 = r20[r9];\n r4[r7] = r17;\n r20[r9] = r15;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0070;\n L_0x0171:\n r17 = r20[r9];\n if (r17 >= 0) goto L_0x018e;\n L_0x0175:\n r16 = r16 | 1;\n r17 = r20[r9];\n r17 = r17 ^ -1;\n r12 = r19 + r17;\n L_0x017d:\n r17 = r4[r11];\n if (r17 >= 0) goto L_0x0193;\n L_0x0181:\n r16 = r16 | 2;\n r17 = r4[r11];\n r17 = r17 ^ -1;\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x018e:\n r17 = r20[r9];\n r12 = r19 + r17;\n goto L_0x017d;\n L_0x0193:\n r17 = r4[r11];\n r13 = r19 + r17;\n r10 = r11;\n r8 = r9;\n r6 = r7;\n goto L_0x0041;\n L_0x019c:\n r10 = r11;\n r6 = r7;\n goto L_0x012f;\n L_0x019f:\n r6 = r7;\n goto L_0x0143;\n L_0x01a1:\n r8 = r9;\n r6 = r7;\n goto L_0x00ff;\n L_0x01a5:\n r10 = r11;\n r6 = r7;\n goto L_0x00a1;\n L_0x01a9:\n r8 = r9;\n r6 = r7;\n goto L_0x004f;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: io.netty.handler.codec.compression.Bzip2DivSufSort.ssMergeBackward(int, int[], int, int, int, int, int):void\");\n }", "title": "" }, { "docid": "a1345ee8d575d1422aa12eb4edec7866", "score": "0.49356773", "text": "public /* bridge */ /* synthetic */ void mo55097d() {\n super.mo55097d();\n }", "title": "" }, { "docid": "d2e97babab5adc5bb993a9a45a218e21", "score": "0.4929707", "text": "public void RemoveBlock(int NumOfB,ArrayList<Block> blocks,int[] i,int[] j){\r\n try {\r\n //2 blocks\r\n if (NumOfB == 2) {\r\n //update BlockList and map matrix\r\n map[i[0]][j[0]] = '0';\r\n map[i[1]][j[1]] = '0';\r\n blockList.RemovBlock(blockList.getBlock(blocks.get(0).getTypeOfBlock(), i[1], j[1]), blocks.get(1).getTypeOfBlock());\r\n blockList.RemovBlock(blockList.getBlock(blocks.get(0).getTypeOfBlock(), i[0], j[0]), blocks.get(0).getTypeOfBlock());\r\n }\r\n //3 blocks\r\n else {\r\n //update BlockList and map matrix\r\n map[i[0]][j[0]] = '0';\r\n map[i[1]][j[1]] = '0';\r\n map[i[2]][j[2]] = '0';\r\n blockList.RemovBlock(blocks.get(2), blocks.get(2).getTypeOfBlock());\r\n blockList.RemovBlock(blocks.get(1), blocks.get(1).getTypeOfBlock());\r\n blockList.RemovBlock(blocks.get(0), blocks.get(0).getTypeOfBlock());\r\n }\r\n gamePage.Sounds(2);//remove sound\r\n MoveBlock(2);//check if there is block will move down\r\n }catch (ArrayIndexOutOfBoundsException e) {\r\n\r\n }\r\n }", "title": "" }, { "docid": "b4b56fa8c2e87a7ba2fd55e976b10f07", "score": "0.49291074", "text": "public void insertReorderBarrier() {\n\t\t\n\t}", "title": "" }, { "docid": "fea35ab600e7599ed6500b64bb386bd4", "score": "0.49278626", "text": "public static void m9105b(com.facebook.api.feedcache.db.FeedDbMutationService r5) {\n /*\n L_0x0000:\n r1 = r5.f5242q;\n monitor-enter(r1);\n r0 = r5.f5242q;\t Catch:{ all -> 0x004d }\n r0 = r0.isEmpty();\t Catch:{ all -> 0x004d }\n if (r0 == 0) goto L_0x0010;\n L_0x000b:\n r0 = 0;\n r5.f5240o = r0;\t Catch:{ all -> 0x004d }\n monitor-exit(r1);\t Catch:{ all -> 0x004d }\n return;\n L_0x0010:\n r0 = r5.f5242q;\t Catch:{ all -> 0x004d }\n r0 = r0.removeFirst();\t Catch:{ all -> 0x004d }\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbRequest) r0;\t Catch:{ all -> 0x004d }\n monitor-exit(r1);\t Catch:{ all -> 0x004d }\n r1 = \"FeedDbMutationService(%s)\";\n r2 = r0.getClass();\n r2 = r2.getSimpleName();\n r3 = -341619410; // 0xffffffffeba34d2e float:-3.9483876E26 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r1, r2, r3);\n r1 = -243934633; // 0xfffffffff175da57 float:-1.21740455E30 double:NaN;\n r1 = com.facebook.tools.dextr.runtime.detour.LoomLoggerDetour.a(r1);\n r2 = \"FeedDbMutationService\";\n r3 = r0.getClass();\n r3 = r3.getSimpleName();\n com.facebook.loom.logger.api.LoomLogger.a(r1, r2, r3);\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbInsertionRequest;\t Catch:{ all -> 0x0134 }\n if (r1 == 0) goto L_0x0050;\n L_0x0041:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbInsertionRequest) r0;\t Catch:{ all -> 0x0134 }\n r5.m9111a(r0);\t Catch:{ all -> 0x0134 }\n r0 = 1514815075; // 0x5a4a3e63 float:1.42316351E16 double:7.484180884E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x004d:\n r0 = move-exception;\n monitor-exit(r1);\t Catch:{ }\n throw r0;\n L_0x0050:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbMutationRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0060;\n L_0x0054:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbMutationRequest) r0;\t Catch:{ }\n r5.m9100a(r0);\t Catch:{ }\n r0 = 32841027; // 0x1f51d43 float:9.0040775E-38 double:1.6225623E-316;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0060:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStorySeenRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0070;\n L_0x0064:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStorySeenRequest) r0;\t Catch:{ }\n r5.m9103a(r0);\t Catch:{ }\n r0 = -150761083; // 0xfffffffff7039185 float:-2.668525E33 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0070:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbImageCacheStateUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0080;\n L_0x0074:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbImageCacheStateUpdateRequest) r0;\t Catch:{ }\n r5.m9097a(r0);\t Catch:{ }\n r0 = -1582673432; // 0xffffffffa1aa51e8 float:-1.1541328E-18 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0080:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbSeeFirstClearRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0091;\n L_0x0084:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbSeeFirstClearRequest) r0;\t Catch:{ }\n r5.m9101a(r0);\t Catch:{ }\n r0 = -1051379810; // 0xffffffffc155379e float:-13.326078 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0091:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheResultRerankRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00a2;\n L_0x0095:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheResultRerankRequest) r0;\t Catch:{ }\n r5.m9094a(r0);\t Catch:{ }\n r0 = -521547659; // 0xffffffffe0e9d075 float:-1.3478476E20 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00a2:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheRerankRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00b3;\n L_0x00a6:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbCacheRerankRequest) r0;\t Catch:{ }\n r5.m9093a(r0);\t Catch:{ }\n r0 = -495910365; // 0xffffffffe2710223 float:-1.1114548E21 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00b3:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStoryImageUrlAddRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00c4;\n L_0x00b7:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbStoryImageUrlAddRequest) r0;\t Catch:{ }\n r5.m9102a(r0);\t Catch:{ }\n r0 = 1956524893; // 0x749e335d float:1.0027157E32 double:9.66651735E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00c4:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoriesRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00d5;\n L_0x00c8:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoriesRequest) r0;\t Catch:{ }\n r5.m9095a(r0);\t Catch:{ }\n r0 = 1671584920; // 0x63a25c98 float:5.990089E21 double:8.25872683E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00d5:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoryRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00e6;\n L_0x00d9:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbDeleteStoryRequest) r0;\t Catch:{ }\n r5.m9096a(r0);\t Catch:{ }\n r0 = -696100424; // 0xffffffffd68259b8 float:-7.1660925E13 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00e6:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbVpvOmnistoreSyncRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x00f5;\n L_0x00ea:\n r5.m9106c();\t Catch:{ }\n r0 = -1045059660; // 0xffffffffc1b5a7b4 float:-22.706886 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x00f5:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLikeAndCommentCountUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0106;\n L_0x00f9:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLikeAndCommentCountUpdateRequest) r0;\t Catch:{ }\n r5.m9098a(r0);\t Catch:{ }\n r0 = 759596755; // 0x2d4686d3 float:1.1284934E-11 double:3.752906613E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0106:\n r1 = r0 instanceof com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLiveVideoStatusUpdateRequest;\t Catch:{ }\n if (r1 == 0) goto L_0x0117;\n L_0x010a:\n r0 = (com.facebook.api.feedcache.db.FeedDbMutationService.FeedDbLiveVideoStatusUpdateRequest) r0;\t Catch:{ }\n r5.m9099a(r0);\t Catch:{ }\n r0 = -1270711073; // 0xffffffffb4427cdf float:-1.8113086E-7 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0117:\n r1 = \"FeedDbMutationService\";\n r2 = \"Mutation request is not supported: %s\";\n r3 = 1;\n r3 = new java.lang.Object[r3];\t Catch:{ }\n r4 = 0;\n r0 = r0.getClass();\t Catch:{ }\n r0 = r0.getSimpleName();\t Catch:{ }\n r3[r4] = r0;\t Catch:{ }\n com.facebook.debug.log.BLog.c(r1, r2, r3);\t Catch:{ }\n r0 = 492192568; // 0x1d564338 float:2.8357415E-21 double:2.43175439E-315;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r0);\n goto L_0x0000;\n L_0x0134:\n r0 = move-exception;\n r1 = -693974918; // 0xffffffffd6a2c87a float:-8.9490962E13 double:NaN;\n com.facebook.tools.dextr.runtime.detour.TracerDetour.a(r1);\n throw r0;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.facebook.api.feedcache.db.FeedDbMutationService.b(com.facebook.api.feedcache.db.FeedDbMutationService):void\");\n }", "title": "" }, { "docid": "4cf05fc2e6b6cb8977552ee9bad743ad", "score": "0.49278185", "text": "public final void mo118421b() {\n super.mo118421b();\n this.f120934a = null;\n }", "title": "" }, { "docid": "8a80e85bdb9908bc465efc4e9429e0aa", "score": "0.49252376", "text": "private void exitSequence_mainRegion_State2__region0_State5() {\n\t\tnextStateIndex = 0;\n\t\tstateVector[0] = State.$NullState$;\n\t}", "title": "" }, { "docid": "97d8ec306ed88d927733e691d6f85ac5", "score": "0.4922361", "text": "@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 }", "title": "" }, { "docid": "b5e8c69a207d5aa2c9724c212c003489", "score": "0.4920695", "text": "public ByteBuf duplicate()\r\n/* 95: */ {\r\n/* 96:112 */ recordLeakNonRefCountingOperation(this.leak);\r\n/* 97:113 */ return super.duplicate();\r\n/* 98: */ }", "title": "" }, { "docid": "81efdbda0d590fabc918cb97630cfc46", "score": "0.49188548", "text": "void ompleBlocsHoritzontals() {\r\n\r\n for (int i = 0; i < N; i = i + SRN) // for diagonal box, start coordinates->i==j \r\n {\r\n ompleBloc(i, i);\r\n }\r\n }", "title": "" }, { "docid": "c9d09d3982dd2a6fa12b8606ec60d03a", "score": "0.4915702", "text": "@Override\n\tpublic void visitXblock(Xblock p) {\n\n\t}", "title": "" }, { "docid": "63377a766a98ad6bd3b753f4ef6dc493", "score": "0.49104017", "text": "void scanblocks() {\n\t\tint oldline, newline;\n\t\tint oldfront = 0; // line# of front of a block in old, or 0\n\t\tint newlast = -1; // newline's value during prev. iteration\n\n\t\tfor (oldline = 1; oldline <= oldinfo.maxLine; oldline++)\n\t\t\tblocklen[oldline] = 0;\n\t\tblocklen[oldinfo.maxLine + 1] = UNREAL; // starts a mythical blk\n\n\t\tfor (oldline = 1; oldline <= oldinfo.maxLine; oldline++) {\n\t\t\tnewline = oldinfo.other[oldline];\n\t\t\tif (newline < 0)\n\t\t\t\toldfront = 0; /* no match: not in block */\n\t\t\telse { /* match. */\n\t\t\t\tif (oldfront == 0)\n\t\t\t\t\toldfront = oldline;\n\t\t\t\tif (newline != (newlast + 1))\n\t\t\t\t\toldfront = oldline;\n\t\t\t\t++blocklen[oldfront];\n\t\t\t}\n\t\t\tnewlast = newline;\n\t\t}\n\t}", "title": "" }, { "docid": "5b64d71fb9ed0a71ed824f0ac0689255", "score": "0.49094385", "text": "void showsame() {\n\t\tint count;\n\t\tprintstatus = idle;\n\t\tif (newinfo.other[printnewline] != printoldline) {\n\t\t\tSystem.err.println(\"BUG IN LINE REFERENCING\");\n\t\t\tSystem.exit(1);\n\t\t}\n\t\tcount = blocklen[printoldline];\n\t\tprintoldline += count;\n\t\tprintnewline += count;\n\t}", "title": "" }, { "docid": "9a3c1c8a41f4103e7b9a51acb87c4684", "score": "0.4907848", "text": "protected void processBlock(byte[] paramArrayOfByte)\r\n/* 150: */ {\r\n/* 151:236 */ int i5 = decodeBEInt(paramArrayOfByte, 0);\r\n/* 152:237 */ int i6 = decodeBEInt(paramArrayOfByte, 4);\r\n/* 153:238 */ int i7 = decodeBEInt(paramArrayOfByte, 8);\r\n/* 154:239 */ int i8 = decodeBEInt(paramArrayOfByte, 12);\r\n/* 155:240 */ int i9 = decodeBEInt(paramArrayOfByte, 16);\r\n/* 156:241 */ int i10 = decodeBEInt(paramArrayOfByte, 20);\r\n/* 157:242 */ int i11 = decodeBEInt(paramArrayOfByte, 24);\r\n/* 158:243 */ int i12 = decodeBEInt(paramArrayOfByte, 28);\r\n/* 159:244 */ int j = this.V00 ^ this.V10;\r\n/* 160:245 */ int k = this.V01 ^ this.V11;\r\n/* 161:246 */ int m = this.V02 ^ this.V12;\r\n/* 162:247 */ int n = this.V03 ^ this.V13;\r\n/* 163:248 */ int i1 = this.V04 ^ this.V14;\r\n/* 164:249 */ int i2 = this.V05 ^ this.V15;\r\n/* 165:250 */ int i3 = this.V06 ^ this.V16;\r\n/* 166:251 */ int i4 = this.V07 ^ this.V17;\r\n/* 167:252 */ j ^= this.V20;\r\n/* 168:253 */ k ^= this.V21;\r\n/* 169:254 */ m ^= this.V22;\r\n/* 170:255 */ n ^= this.V23;\r\n/* 171:256 */ i1 ^= this.V24;\r\n/* 172:257 */ i2 ^= this.V25;\r\n/* 173:258 */ i3 ^= this.V26;\r\n/* 174:259 */ i4 ^= this.V27;\r\n/* 175:260 */ int i = i4;\r\n/* 176:261 */ i4 = i3;\r\n/* 177:262 */ i3 = i2;\r\n/* 178:263 */ i2 = i1;\r\n/* 179:264 */ i1 = n ^ i;\r\n/* 180:265 */ n = m ^ i;\r\n/* 181:266 */ m = k;\r\n/* 182:267 */ k = j ^ i;\r\n/* 183:268 */ j = i;\r\n/* 184:269 */ this.V00 = (j ^ this.V00);\r\n/* 185:270 */ this.V01 = (k ^ this.V01);\r\n/* 186:271 */ this.V02 = (m ^ this.V02);\r\n/* 187:272 */ this.V03 = (n ^ this.V03);\r\n/* 188:273 */ this.V04 = (i1 ^ this.V04);\r\n/* 189:274 */ this.V05 = (i2 ^ this.V05);\r\n/* 190:275 */ this.V06 = (i3 ^ this.V06);\r\n/* 191:276 */ this.V07 = (i4 ^ this.V07);\r\n/* 192:277 */ this.V00 = (i5 ^ this.V00);\r\n/* 193:278 */ this.V01 = (i6 ^ this.V01);\r\n/* 194:279 */ this.V02 = (i7 ^ this.V02);\r\n/* 195:280 */ this.V03 = (i8 ^ this.V03);\r\n/* 196:281 */ this.V04 = (i9 ^ this.V04);\r\n/* 197:282 */ this.V05 = (i10 ^ this.V05);\r\n/* 198:283 */ this.V06 = (i11 ^ this.V06);\r\n/* 199:284 */ this.V07 = (i12 ^ this.V07);\r\n/* 200:285 */ i = i12;\r\n/* 201:286 */ i12 = i11;\r\n/* 202:287 */ i11 = i10;\r\n/* 203:288 */ i10 = i9;\r\n/* 204:289 */ i9 = i8 ^ i;\r\n/* 205:290 */ i8 = i7 ^ i;\r\n/* 206:291 */ i7 = i6;\r\n/* 207:292 */ i6 = i5 ^ i;\r\n/* 208:293 */ i5 = i;\r\n/* 209:294 */ this.V10 = (j ^ this.V10);\r\n/* 210:295 */ this.V11 = (k ^ this.V11);\r\n/* 211:296 */ this.V12 = (m ^ this.V12);\r\n/* 212:297 */ this.V13 = (n ^ this.V13);\r\n/* 213:298 */ this.V14 = (i1 ^ this.V14);\r\n/* 214:299 */ this.V15 = (i2 ^ this.V15);\r\n/* 215:300 */ this.V16 = (i3 ^ this.V16);\r\n/* 216:301 */ this.V17 = (i4 ^ this.V17);\r\n/* 217:302 */ this.V10 = (i5 ^ this.V10);\r\n/* 218:303 */ this.V11 = (i6 ^ this.V11);\r\n/* 219:304 */ this.V12 = (i7 ^ this.V12);\r\n/* 220:305 */ this.V13 = (i8 ^ this.V13);\r\n/* 221:306 */ this.V14 = (i9 ^ this.V14);\r\n/* 222:307 */ this.V15 = (i10 ^ this.V15);\r\n/* 223:308 */ this.V16 = (i11 ^ this.V16);\r\n/* 224:309 */ this.V17 = (i12 ^ this.V17);\r\n/* 225:310 */ i = i12;\r\n/* 226:311 */ i12 = i11;\r\n/* 227:312 */ i11 = i10;\r\n/* 228:313 */ i10 = i9;\r\n/* 229:314 */ i9 = i8 ^ i;\r\n/* 230:315 */ i8 = i7 ^ i;\r\n/* 231:316 */ i7 = i6;\r\n/* 232:317 */ i6 = i5 ^ i;\r\n/* 233:318 */ i5 = i;\r\n/* 234:319 */ this.V20 = (j ^ this.V20);\r\n/* 235:320 */ this.V21 = (k ^ this.V21);\r\n/* 236:321 */ this.V22 = (m ^ this.V22);\r\n/* 237:322 */ this.V23 = (n ^ this.V23);\r\n/* 238:323 */ this.V24 = (i1 ^ this.V24);\r\n/* 239:324 */ this.V25 = (i2 ^ this.V25);\r\n/* 240:325 */ this.V26 = (i3 ^ this.V26);\r\n/* 241:326 */ this.V27 = (i4 ^ this.V27);\r\n/* 242:327 */ this.V20 = (i5 ^ this.V20);\r\n/* 243:328 */ this.V21 = (i6 ^ this.V21);\r\n/* 244:329 */ this.V22 = (i7 ^ this.V22);\r\n/* 245:330 */ this.V23 = (i8 ^ this.V23);\r\n/* 246:331 */ this.V24 = (i9 ^ this.V24);\r\n/* 247:332 */ this.V25 = (i10 ^ this.V25);\r\n/* 248:333 */ this.V26 = (i11 ^ this.V26);\r\n/* 249:334 */ this.V27 = (i12 ^ this.V27);\r\n/* 250:335 */ this.V14 = (this.V14 << 1 | this.V14 >>> 31);\r\n/* 251:336 */ this.V15 = (this.V15 << 1 | this.V15 >>> 31);\r\n/* 252:337 */ this.V16 = (this.V16 << 1 | this.V16 >>> 31);\r\n/* 253:338 */ this.V17 = (this.V17 << 1 | this.V17 >>> 31);\r\n/* 254:339 */ this.V24 = (this.V24 << 2 | this.V24 >>> 30);\r\n/* 255:340 */ this.V25 = (this.V25 << 2 | this.V25 >>> 30);\r\n/* 256:341 */ this.V26 = (this.V26 << 2 | this.V26 >>> 30);\r\n/* 257:342 */ this.V27 = (this.V27 << 2 | this.V27 >>> 30);\r\n/* 258:343 */ for (int i13 = 0; i13 < 8; i13++)\r\n/* 259: */ {\r\n/* 260:344 */ i = this.V00;\r\n/* 261:345 */ this.V00 |= this.V01;\r\n/* 262:346 */ this.V02 ^= this.V03;\r\n/* 263:347 */ this.V01 ^= 0xFFFFFFFF;\r\n/* 264:348 */ this.V00 ^= this.V03;\r\n/* 265:349 */ this.V03 &= i;\r\n/* 266:350 */ this.V01 ^= this.V03;\r\n/* 267:351 */ this.V03 ^= this.V02;\r\n/* 268:352 */ this.V02 &= this.V00;\r\n/* 269:353 */ this.V00 ^= 0xFFFFFFFF;\r\n/* 270:354 */ this.V02 ^= this.V01;\r\n/* 271:355 */ this.V01 |= this.V03;\r\n/* 272:356 */ i ^= this.V01;\r\n/* 273:357 */ this.V03 ^= this.V02;\r\n/* 274:358 */ this.V02 &= this.V01;\r\n/* 275:359 */ this.V01 ^= this.V00;\r\n/* 276:360 */ this.V00 = i;\r\n/* 277:361 */ i = this.V05;\r\n/* 278:362 */ this.V05 |= this.V06;\r\n/* 279:363 */ this.V07 ^= this.V04;\r\n/* 280:364 */ this.V06 ^= 0xFFFFFFFF;\r\n/* 281:365 */ this.V05 ^= this.V04;\r\n/* 282:366 */ this.V04 &= i;\r\n/* 283:367 */ this.V06 ^= this.V04;\r\n/* 284:368 */ this.V04 ^= this.V07;\r\n/* 285:369 */ this.V07 &= this.V05;\r\n/* 286:370 */ this.V05 ^= 0xFFFFFFFF;\r\n/* 287:371 */ this.V07 ^= this.V06;\r\n/* 288:372 */ this.V06 |= this.V04;\r\n/* 289:373 */ i ^= this.V06;\r\n/* 290:374 */ this.V04 ^= this.V07;\r\n/* 291:375 */ this.V07 &= this.V06;\r\n/* 292:376 */ this.V06 ^= this.V05;\r\n/* 293:377 */ this.V05 = i;\r\n/* 294:378 */ this.V04 ^= this.V00;\r\n/* 295:379 */ this.V00 = ((this.V00 << 2 | this.V00 >>> 30) ^ this.V04);\r\n/* 296:380 */ this.V04 = ((this.V04 << 14 | this.V04 >>> 18) ^ this.V00);\r\n/* 297:381 */ this.V00 = ((this.V00 << 10 | this.V00 >>> 22) ^ this.V04);\r\n/* 298:382 */ this.V04 = (this.V04 << 1 | this.V04 >>> 31);\r\n/* 299:383 */ this.V05 ^= this.V01;\r\n/* 300:384 */ this.V01 = ((this.V01 << 2 | this.V01 >>> 30) ^ this.V05);\r\n/* 301:385 */ this.V05 = ((this.V05 << 14 | this.V05 >>> 18) ^ this.V01);\r\n/* 302:386 */ this.V01 = ((this.V01 << 10 | this.V01 >>> 22) ^ this.V05);\r\n/* 303:387 */ this.V05 = (this.V05 << 1 | this.V05 >>> 31);\r\n/* 304:388 */ this.V06 ^= this.V02;\r\n/* 305:389 */ this.V02 = ((this.V02 << 2 | this.V02 >>> 30) ^ this.V06);\r\n/* 306:390 */ this.V06 = ((this.V06 << 14 | this.V06 >>> 18) ^ this.V02);\r\n/* 307:391 */ this.V02 = ((this.V02 << 10 | this.V02 >>> 22) ^ this.V06);\r\n/* 308:392 */ this.V06 = (this.V06 << 1 | this.V06 >>> 31);\r\n/* 309:393 */ this.V07 ^= this.V03;\r\n/* 310:394 */ this.V03 = ((this.V03 << 2 | this.V03 >>> 30) ^ this.V07);\r\n/* 311:395 */ this.V07 = ((this.V07 << 14 | this.V07 >>> 18) ^ this.V03);\r\n/* 312:396 */ this.V03 = ((this.V03 << 10 | this.V03 >>> 22) ^ this.V07);\r\n/* 313:397 */ this.V07 = (this.V07 << 1 | this.V07 >>> 31);\r\n/* 314:398 */ this.V00 ^= RC00[i13];\r\n/* 315:399 */ this.V04 ^= RC04[i13];\r\n/* 316: */ }\r\n/* 317:401 */ for (i13 = 0; i13 < 8; i13++)\r\n/* 318: */ {\r\n/* 319:402 */ i = this.V10;\r\n/* 320:403 */ this.V10 |= this.V11;\r\n/* 321:404 */ this.V12 ^= this.V13;\r\n/* 322:405 */ this.V11 ^= 0xFFFFFFFF;\r\n/* 323:406 */ this.V10 ^= this.V13;\r\n/* 324:407 */ this.V13 &= i;\r\n/* 325:408 */ this.V11 ^= this.V13;\r\n/* 326:409 */ this.V13 ^= this.V12;\r\n/* 327:410 */ this.V12 &= this.V10;\r\n/* 328:411 */ this.V10 ^= 0xFFFFFFFF;\r\n/* 329:412 */ this.V12 ^= this.V11;\r\n/* 330:413 */ this.V11 |= this.V13;\r\n/* 331:414 */ i ^= this.V11;\r\n/* 332:415 */ this.V13 ^= this.V12;\r\n/* 333:416 */ this.V12 &= this.V11;\r\n/* 334:417 */ this.V11 ^= this.V10;\r\n/* 335:418 */ this.V10 = i;\r\n/* 336:419 */ i = this.V15;\r\n/* 337:420 */ this.V15 |= this.V16;\r\n/* 338:421 */ this.V17 ^= this.V14;\r\n/* 339:422 */ this.V16 ^= 0xFFFFFFFF;\r\n/* 340:423 */ this.V15 ^= this.V14;\r\n/* 341:424 */ this.V14 &= i;\r\n/* 342:425 */ this.V16 ^= this.V14;\r\n/* 343:426 */ this.V14 ^= this.V17;\r\n/* 344:427 */ this.V17 &= this.V15;\r\n/* 345:428 */ this.V15 ^= 0xFFFFFFFF;\r\n/* 346:429 */ this.V17 ^= this.V16;\r\n/* 347:430 */ this.V16 |= this.V14;\r\n/* 348:431 */ i ^= this.V16;\r\n/* 349:432 */ this.V14 ^= this.V17;\r\n/* 350:433 */ this.V17 &= this.V16;\r\n/* 351:434 */ this.V16 ^= this.V15;\r\n/* 352:435 */ this.V15 = i;\r\n/* 353:436 */ this.V14 ^= this.V10;\r\n/* 354:437 */ this.V10 = ((this.V10 << 2 | this.V10 >>> 30) ^ this.V14);\r\n/* 355:438 */ this.V14 = ((this.V14 << 14 | this.V14 >>> 18) ^ this.V10);\r\n/* 356:439 */ this.V10 = ((this.V10 << 10 | this.V10 >>> 22) ^ this.V14);\r\n/* 357:440 */ this.V14 = (this.V14 << 1 | this.V14 >>> 31);\r\n/* 358:441 */ this.V15 ^= this.V11;\r\n/* 359:442 */ this.V11 = ((this.V11 << 2 | this.V11 >>> 30) ^ this.V15);\r\n/* 360:443 */ this.V15 = ((this.V15 << 14 | this.V15 >>> 18) ^ this.V11);\r\n/* 361:444 */ this.V11 = ((this.V11 << 10 | this.V11 >>> 22) ^ this.V15);\r\n/* 362:445 */ this.V15 = (this.V15 << 1 | this.V15 >>> 31);\r\n/* 363:446 */ this.V16 ^= this.V12;\r\n/* 364:447 */ this.V12 = ((this.V12 << 2 | this.V12 >>> 30) ^ this.V16);\r\n/* 365:448 */ this.V16 = ((this.V16 << 14 | this.V16 >>> 18) ^ this.V12);\r\n/* 366:449 */ this.V12 = ((this.V12 << 10 | this.V12 >>> 22) ^ this.V16);\r\n/* 367:450 */ this.V16 = (this.V16 << 1 | this.V16 >>> 31);\r\n/* 368:451 */ this.V17 ^= this.V13;\r\n/* 369:452 */ this.V13 = ((this.V13 << 2 | this.V13 >>> 30) ^ this.V17);\r\n/* 370:453 */ this.V17 = ((this.V17 << 14 | this.V17 >>> 18) ^ this.V13);\r\n/* 371:454 */ this.V13 = ((this.V13 << 10 | this.V13 >>> 22) ^ this.V17);\r\n/* 372:455 */ this.V17 = (this.V17 << 1 | this.V17 >>> 31);\r\n/* 373:456 */ this.V10 ^= RC10[i13];\r\n/* 374:457 */ this.V14 ^= RC14[i13];\r\n/* 375: */ }\r\n/* 376:459 */ for (i13 = 0; i13 < 8; i13++)\r\n/* 377: */ {\r\n/* 378:460 */ i = this.V20;\r\n/* 379:461 */ this.V20 |= this.V21;\r\n/* 380:462 */ this.V22 ^= this.V23;\r\n/* 381:463 */ this.V21 ^= 0xFFFFFFFF;\r\n/* 382:464 */ this.V20 ^= this.V23;\r\n/* 383:465 */ this.V23 &= i;\r\n/* 384:466 */ this.V21 ^= this.V23;\r\n/* 385:467 */ this.V23 ^= this.V22;\r\n/* 386:468 */ this.V22 &= this.V20;\r\n/* 387:469 */ this.V20 ^= 0xFFFFFFFF;\r\n/* 388:470 */ this.V22 ^= this.V21;\r\n/* 389:471 */ this.V21 |= this.V23;\r\n/* 390:472 */ i ^= this.V21;\r\n/* 391:473 */ this.V23 ^= this.V22;\r\n/* 392:474 */ this.V22 &= this.V21;\r\n/* 393:475 */ this.V21 ^= this.V20;\r\n/* 394:476 */ this.V20 = i;\r\n/* 395:477 */ i = this.V25;\r\n/* 396:478 */ this.V25 |= this.V26;\r\n/* 397:479 */ this.V27 ^= this.V24;\r\n/* 398:480 */ this.V26 ^= 0xFFFFFFFF;\r\n/* 399:481 */ this.V25 ^= this.V24;\r\n/* 400:482 */ this.V24 &= i;\r\n/* 401:483 */ this.V26 ^= this.V24;\r\n/* 402:484 */ this.V24 ^= this.V27;\r\n/* 403:485 */ this.V27 &= this.V25;\r\n/* 404:486 */ this.V25 ^= 0xFFFFFFFF;\r\n/* 405:487 */ this.V27 ^= this.V26;\r\n/* 406:488 */ this.V26 |= this.V24;\r\n/* 407:489 */ i ^= this.V26;\r\n/* 408:490 */ this.V24 ^= this.V27;\r\n/* 409:491 */ this.V27 &= this.V26;\r\n/* 410:492 */ this.V26 ^= this.V25;\r\n/* 411:493 */ this.V25 = i;\r\n/* 412:494 */ this.V24 ^= this.V20;\r\n/* 413:495 */ this.V20 = ((this.V20 << 2 | this.V20 >>> 30) ^ this.V24);\r\n/* 414:496 */ this.V24 = ((this.V24 << 14 | this.V24 >>> 18) ^ this.V20);\r\n/* 415:497 */ this.V20 = ((this.V20 << 10 | this.V20 >>> 22) ^ this.V24);\r\n/* 416:498 */ this.V24 = (this.V24 << 1 | this.V24 >>> 31);\r\n/* 417:499 */ this.V25 ^= this.V21;\r\n/* 418:500 */ this.V21 = ((this.V21 << 2 | this.V21 >>> 30) ^ this.V25);\r\n/* 419:501 */ this.V25 = ((this.V25 << 14 | this.V25 >>> 18) ^ this.V21);\r\n/* 420:502 */ this.V21 = ((this.V21 << 10 | this.V21 >>> 22) ^ this.V25);\r\n/* 421:503 */ this.V25 = (this.V25 << 1 | this.V25 >>> 31);\r\n/* 422:504 */ this.V26 ^= this.V22;\r\n/* 423:505 */ this.V22 = ((this.V22 << 2 | this.V22 >>> 30) ^ this.V26);\r\n/* 424:506 */ this.V26 = ((this.V26 << 14 | this.V26 >>> 18) ^ this.V22);\r\n/* 425:507 */ this.V22 = ((this.V22 << 10 | this.V22 >>> 22) ^ this.V26);\r\n/* 426:508 */ this.V26 = (this.V26 << 1 | this.V26 >>> 31);\r\n/* 427:509 */ this.V27 ^= this.V23;\r\n/* 428:510 */ this.V23 = ((this.V23 << 2 | this.V23 >>> 30) ^ this.V27);\r\n/* 429:511 */ this.V27 = ((this.V27 << 14 | this.V27 >>> 18) ^ this.V23);\r\n/* 430:512 */ this.V23 = ((this.V23 << 10 | this.V23 >>> 22) ^ this.V27);\r\n/* 431:513 */ this.V27 = (this.V27 << 1 | this.V27 >>> 31);\r\n/* 432:514 */ this.V20 ^= RC20[i13];\r\n/* 433:515 */ this.V24 ^= RC24[i13];\r\n/* 434: */ }\r\n/* 435: */ }", "title": "" }, { "docid": "47bd1280cfd12828b6e3e724883aca7f", "score": "0.4907827", "text": "void m5770d() throws C0841b;", "title": "" }, { "docid": "6f1759ff5178ec67b6c98497e28602ff", "score": "0.49075282", "text": "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 }", "title": "" }, { "docid": "3131e0c4a4efe4eab8bd8d14cca3d6c5", "score": "0.4906963", "text": "static void hardDrop(Block b) {\n int[] pos = b.pos;\n char[][] piece = b.piece;\n\n while (canPlace(pos[0] + 1, pos[1], piece))\n pos[0]++;\n\n place(pos[0], pos[1], piece);\n }", "title": "" }, { "docid": "3f124d4f1cc2643127b33de304b6efcf", "score": "0.4906515", "text": "public void free(Block b) {\n if(b.length <= 0) return;\n\n if (b.start + b.length > limit) limit = b.start + b.length; // grows with free\n\n // query adjacent blocks\n Block prev = freeSpace.floor(b);\n Block next = freeSpace.higher(b);\n\n if (prev != null && prev.start + prev.length > b.start) {\n throw new RuntimeException(\"Corrupted. DEBUG PRV \" + prev.start + \"+\" + prev.length + \">\" + b.start);\n }\n if (next != null && next.start < b.start + b.length) {\n throw new RuntimeException(\"Corrupted. DEBUG NEX \" + next.start + \"<\" + b.start + \"+\" + b.length);\n }\n\n // merge them if possible\n \n Block n = Block.mergeBlocks(b, prev);\n if(n != null) { freeSpace.remove(prev); b = n; }\n\n n = Block.mergeBlocks(b, next);\n if(n != null) { freeSpace.remove(next); b = n; }\n\n freeSpace.add(b);\n }", "title": "" } ]
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "93e94f13253a33688141feb5caceabed", "score": "0.0", "text": "@Override\n\tpublic Integer tenderDesignDelete(TenderDesign tenderDesign) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.6769489", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65278774", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.6386922", "text": "public void mo27791d() {\n }", "title": "" }, { "docid": "051f88f1f94e36fab8ec66de1946f037", "score": "0.6287329", "text": "public void mo27794g() {\n }", "title": "" }, { "docid": "db4b95a4460fb609bcd3716b1a4b3e23", "score": "0.6283629", "text": "@Override\r\n\tpublic void compra() {\n\t\t\r\n\t}", "title": "" }, { "docid": "5eb303064635f4909e997c3effe2511d", "score": "0.6265152", "text": "public void mo27792e() {\n }", "title": "" }, { "docid": "fdf6bcd763ea5f5b221fd5a7669d1afb", "score": "0.6262988", "text": "public void mo28805a() {\n }", "title": "" }, { "docid": "381ca210fc42b87f9b8af474719578a0", "score": "0.62538177", "text": "public void mo41489c() {\n }", "title": "" }, { "docid": "203e120e0c17c7a390717d0ca9ff147a", "score": "0.6252656", "text": "public void mo11316JX() {\n }", "title": "" }, { "docid": "1f7c82e188acf30d59f88faf08cf24ac", "score": "0.6237362", "text": "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "title": "" }, { "docid": "0b319072f0ae7225e83791b70ea23079", "score": "0.6200546", "text": "@Override\r\n\tpublic void ghhvhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "10ead2e988bf977cb8edb2bacf974891", "score": "0.6158877", "text": "@Override\n\tprotected void init() {\n\t\t\n\t}", "title": "" }, { "docid": "9cfdb7a953eedd93829d98c1649d8fa2", "score": "0.6147232", "text": "@Override\r\n\tprotected void rodape() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a1d358ef8dde60480477b5c8b2359c6d", "score": "0.611178", "text": "@Override\n\tpublic void compra() {\n\t\t\n\t}", "title": "" }, { "docid": "81e2e665536902ef3310e7a034f112ea", "score": "0.6104965", "text": "@Override\r\n\tpublic void apagar()\r\n\t{\n\r\n\t}", "title": "" }, { "docid": "e6068b0200c883e42ca4379e8b4390f4", "score": "0.61018884", "text": "@Override\n\tpublic void ihtiyacGidermek() {\n\t\t\n\t}", "title": "" }, { "docid": "222e7b9d44422cda9de5df0085949df1", "score": "0.60770625", "text": "public void mo27793f() {\n }", "title": "" }, { "docid": "6fc1bc8405449cd5caa1d0d4cc253eff", "score": "0.6024395", "text": "public void mo27783b() {\n }", "title": "" }, { "docid": "7de2b9a1638739d8a552ea81162374f7", "score": "0.6023624", "text": "@Override\r\n\tpublic void trasation() {\n\t\t \r\n\t}", "title": "" }, { "docid": "770d423e40bf5782a700bc181e8b8a1e", "score": "0.6020569", "text": "@Override\n\tvoid init() {\n\t\t\n\t}", "title": "" }, { "docid": "b1cf16017c8057c0255a9ad368ecaee5", "score": "0.6017447", "text": "@Override\r\n\tprotected void init() {\n\r\n\t}", "title": "" }, { "docid": "39970aed3dc3a7bed24f03fb23731e78", "score": "0.6010486", "text": "@Override\r\n\tpublic void laufen() {\n\t\t\r\n\t}", "title": "" }, { "docid": "a46f6ccc5a2230632919d59213754a52", "score": "0.59971493", "text": "@Override\n\tpublic void grafikCizme() {\n\t\t\n\t}", "title": "" }, { "docid": "5a91ef0aa6990fc22e6e46d34355029e", "score": "0.59874135", "text": "@Override public void accionar() {\n\n }", "title": "" }, { "docid": "d673691f42a5a36d5d7e5d4f81aec55e", "score": "0.59567183", "text": "@Override\n\tpublic void reveiller() {\n\t\t\n\t}", "title": "" }, { "docid": "b048ca4f20a40ca0411a5330c06ce3d5", "score": "0.5952113", "text": "@Override\n\tpublic void infinteBatery() {\n\t\t\n\t}", "title": "" }, { "docid": "2bd910d11f3b18a5106b970f6e7e4c64", "score": "0.59445894", "text": "@Override\n\tpublic void Consulter() {\n\t\t\n\t}", "title": "" }, { "docid": "fa5eb14703b2a28ee4847f692d01e39d", "score": "0.59407693", "text": "@Override\r\n\tpublic void init() {\r\n\t\t\r\n\t\t\r\n\t}", "title": "" }, { "docid": "a94b5981fe7c5ead7e5156e8e7cb9cb5", "score": "0.59315324", "text": "@Override\r\n\tpublic void attribute() {\n\t\t\r\n\t}", "title": "" }, { "docid": "9fe10a8f8c056afc50123cc1485a6fdc", "score": "0.5927387", "text": "@Override\n\tvoid comision() {\n\t\t\n\t}", "title": "" }, { "docid": "dd66e8668788d27519d44caeb83b0c44", "score": "0.59262717", "text": "@Override\r\n\tpublic void operation() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8b18fd12dbb5303a665e92c25393fb78", "score": "0.59215844", "text": "@Override\n\tprotected void initData() {\n\t\t\n\t}", "title": "" }, { "docid": "ddafdd56d6d4b904d170e3608181850c", "score": "0.5918087", "text": "private void getArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "c9b74342d0ae0e22bc7119b60588c66a", "score": "0.59013426", "text": "@Override\n\t\t\tpublic int getType() {\n\t\t\t\treturn 0;\n\t\t\t}", "title": "" }, { "docid": "77f859c241fd5e1d997f67c3b890833e", "score": "0.58881694", "text": "@Override\n\tpublic void dormir() {\n\t\t\n\t}", "title": "" }, { "docid": "7f91c82c66ced12c5b193d3c89d68e4c", "score": "0.5886334", "text": "@Override\n\tprotected void init() {\n\t}", "title": "" }, { "docid": "53a77fe02ff8601b7f3a53009ccfd05c", "score": "0.58849895", "text": "public void designBasement() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0449d2500abd0eb1624d7773d0cf88dd", "score": "0.5881909", "text": "@Override\n\tpublic void ponisti() {\n\n\t}", "title": "" }, { "docid": "a21e7f5bc4a152c3cd6818af1be8ca7f", "score": "0.5877803", "text": "@Override\n\tpublic void accionar() {\n\t\t\n\t}", "title": "" }, { "docid": "b623306824ebd023ab9bf4fc0a66aaf3", "score": "0.5876838", "text": "public void mo5928c() {\n }", "title": "" }, { "docid": "8dbedd9965a878a9a7db1c5deb6a28cd", "score": "0.5871888", "text": "@Override\n public String toString() {\n return null;\n }", "title": "" }, { "docid": "5aa237d31e744d1e0729621e464fcfb2", "score": "0.5854053", "text": "@Override\r\n\tprotected void DataInit() {\n\r\n\t}", "title": "" }, { "docid": "5f122c528716d4e28cd3a6695d27b80f", "score": "0.5838742", "text": "@Override\n\tpublic void morir() {\n\n\t}", "title": "" }, { "docid": "4cc23ec21a978357a8a06db5bbae181c", "score": "0.5834908", "text": "@Override\n\t\tpublic void beSporty() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "f02c338eb46eb5cdf9d19504df309595", "score": "0.58264196", "text": "public void mo28814l() {\n }", "title": "" }, { "docid": "2be71c02c2e214eecbe2c8bd5dfe8cb0", "score": "0.58237594", "text": "@Override\n\tpublic void fortify() {\n\t\t\n\t}", "title": "" }, { "docid": "b7e98de900f4657495e91d5ff4bd6bd6", "score": "0.58140445", "text": "@Override\r\n\tpublic void init(){\r\n\t}", "title": "" }, { "docid": "e8b6a10ed01f50fbe15d66c44e6b001f", "score": "0.58043116", "text": "public void mo28809c() {\n }", "title": "" }, { "docid": "ecd084bf055d602fdedf08fab1e19a33", "score": "0.58032876", "text": "@Override\n\tvoid emi() {\n\t\t\n\t}", "title": "" }, { "docid": "1a69d70e6e0ab03826da865edbaa2710", "score": "0.5802549", "text": "@Override\r\n public void init() {\n \r\n }", "title": "" }, { "docid": "89685a97be106c5e65406e42741d0ec3", "score": "0.5795489", "text": "public void mo1383a() {\n }", "title": "" }, { "docid": "de5480604ae54822ca3e3427911bb2b8", "score": "0.57932764", "text": "@Override\r\n public void muestra() {\r\n \r\n }", "title": "" }, { "docid": "5783648f118108797828ca2085091ef9", "score": "0.57931334", "text": "@Override\n protected void initialize() {\n \n }", "title": "" }, { "docid": "812af2363c26b56566247f6bee5688a9", "score": "0.57931143", "text": "@Override\r\n\tprotected void cabecalho() {\n\t\t\r\n\t}", "title": "" }, { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.5789139", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "54b1134554bc066c34ed30a72adb660c", "score": "0.5788234", "text": "@Override\n\tprotected void initData() {\n\n\t}", "title": "" }, { "docid": "849edaa5bbcc7511e16697ad05c01712", "score": "0.57740533", "text": "@Override\n\tpublic void avanzar() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "2ded89a6dfb4a5cfce4bf00ee7993921", "score": "0.5773198", "text": "@Override\n\tpublic void init() {\n\t\t\n\t}", "title": "" }, { "docid": "68ced9354b4e22b6351af0853a611a6c", "score": "0.57685226", "text": "@Override\n\tprotected void initDataReturn() {\n\n\t}", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "5e6804b1ba880a8cc8a98006ca4ba35b", "score": "0.576386", "text": "@Override\n public void init() {\n\n }", "title": "" }, { "docid": "4dad4a53c5b94a389679f4aa74f10e8b", "score": "0.576086", "text": "@Override\r\n\tprotected void update() {\n\t\t\r\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "518a761521ca9f5cb8a8055b32b72cda", "score": "0.57589173", "text": "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "title": "" }, { "docid": "627bf6ef88b45b88b902a23fc9a6eb2b", "score": "0.57533413", "text": "@Override\r\n\tpublic void init()\r\n\t{\n\t\t\r\n\t}", "title": "" }, { "docid": "ebfe1bb4dd1c0618c0fad36d9f7674b4", "score": "0.57514423", "text": "@Override\n protected void initialize() {\n\n }", "title": "" }, { "docid": "393237de9c40b0b47e9d2c845ed92ee5", "score": "0.57512337", "text": "public void mo45857a() {\n }", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "2d614ed2ee5b3120f5ee8b427542ddc3", "score": "0.57491463", "text": "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "title": "" }, { "docid": "791f5ad29d019a14317f5d7e2a069c65", "score": "0.57465565", "text": "@Override\n\tpublic void aprovar() {\n\n\t}", "title": "" }, { "docid": "60492bcc1b7f57299660c3da0f16ab25", "score": "0.57418126", "text": "@Override\n\tpublic void icmek() {\n\t\t\n\t}", "title": "" }, { "docid": "da5e9df869731b2ae1dfbbfdf12b8cd8", "score": "0.5735176", "text": "public void mo3351d() {\n }", "title": "" }, { "docid": "a2125c0cb9324db88e7561e4a64c5e39", "score": "0.5734662", "text": "@Override\n\tpublic void etiquetas() {\n\t\t\n\t}", "title": "" }, { "docid": "b143ffd983be4c8f41702b8f934b6f32", "score": "0.57341826", "text": "@Override\r\n\tpublic void init() {\n\r\n\t}", "title": "" }, { "docid": "24127c1aaba5ab942240f052757a1aae", "score": "0.5722859", "text": "@Override\n \tpublic void getStatus() {\n \t}", "title": "" }, { "docid": "a937c607590931387a357d03c3b0eef4", "score": "0.5718783", "text": "@Override\n\tprotected void initialize() {\n\n\t}", "title": "" }, { "docid": "2097402406ed48de16ed7ccfe28a85b4", "score": "0.57133764", "text": "public void mo5927b() {\n }", "title": "" }, { "docid": "03143ee9b26aa8a7d43576d479e4400a", "score": "0.5709887", "text": "public final void mo55685Zy() {\n }", "title": "" }, { "docid": "2fbf66fc78447a45c3f7ecb3924ab4b4", "score": "0.57051754", "text": "@Override\n public void initValue() {\n \n }", "title": "" }, { "docid": "7aadbda143e84de0144f7a8dadde423d", "score": "0.5701947", "text": "@Override\n protected void initData() {\n\n }", "title": "" }, { "docid": "e1834e089677c260b4af3324391b3b67", "score": "0.5698954", "text": "public final void mo62463l() {\n }", "title": "" }, { "docid": "b42b054dfaac7d94036bce6ecf272a0e", "score": "0.56988037", "text": "private void pepe() {\n\t\t\n\t}", "title": "" }, { "docid": "09b27558b293ecd91a8d2d3a705d8a37", "score": "0.5676146", "text": "@Override\n\t\t\tpublic void c() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "86084419dce04a98c3acda092fe2ae36", "score": "0.5674851", "text": "@Override\r\n\t\t\tpublic void refresh() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "a0b89d2fbd83aefeb636ae04ad1fcd91", "score": "0.566569", "text": "public void init(){\n\t //TODO Auto-generated method stub\n\t}", "title": "" }, { "docid": "aabd8322198752312581d89a3059f204", "score": "0.56625766", "text": "@Override\n \tpublic void create() {\n\n \t}", "title": "" }, { "docid": "9d94df716ebd35f7ec07df01763ae94c", "score": "0.56563133", "text": "@Override\n\tpublic void init() {\n\n\t}", "title": "" }, { "docid": "29f3cdbb287e40f98a8d2f36bba2f27b", "score": "0.56487125", "text": "@Override\n\tpublic int eixos() {\n\t\treturn 1;\n\t}", "title": "" }, { "docid": "ce71f38a65a1456052420d8bdcb81b78", "score": "0.5647971", "text": "@Override\r\n\tprotected void reset()\r\n\t{\r\n\t\t// TODO Auto-generated method stub\r\n\r\n\t}", "title": "" }, { "docid": "70d974abd496677a87c8807bf56e0a5b", "score": "0.56434053", "text": "@Override\n public void desenhar() {\n \n }", "title": "" }, { "docid": "dbdc1deb5da4aee65d17f30f15f26778", "score": "0.56416714", "text": "private void getParentArtefactId() {\n\t\t\n\t}", "title": "" }, { "docid": "1f81bdf0bcfef346d61145fbc2986fa6", "score": "0.56412745", "text": "@Override\r\n public String getName() {\n return null;\r\n }", "title": "" }, { "docid": "acbb02f47467f45f5ab2c3b2e5f7545d", "score": "0.5640882", "text": "public final void mo62452a() {\n }", "title": "" } ]
d3ac542854b74f0c9152cce894ca845b
repeated .dstore.engine.MetaInformation meta_information = 2;
[ { "docid": "402dd3b1dcd6dee124d06cde0329399f", "score": "0.55095315", "text": "public io.dstore.engine.MetaInformation.Builder addMetaInformationBuilder() {\n return getMetaInformationFieldBuilder().addBuilder(\n io.dstore.engine.MetaInformation.getDefaultInstance());\n }", "title": "" } ]
[ { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "1803bacd65b0da110746f4460d73f26c", "score": "0.5872014", "text": "io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index);", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "7ee5abb30fe100310c70cff0b252cf1c", "score": "0.5841853", "text": "int getMetaInformationCount();", "title": "" }, { "docid": "2869b1cb33e3040e932b1a873ef65d7a", "score": "0.57948446", "text": "public interface MetaStore {\n\n\n /**\n * Check whether the object with the specified identifier is in the store\n * @param identifier\n * @return\n */\n public boolean isStored(String identifier, String owner);\n\n /**\n * Store the metadata for the specified identifier\n * @param identifier\n * @param type\n * @param owner\n * @param metadata\n */\n public void storeData(String identifier, NodeType type, String owner, Object metadata) ;\n\n public String checkData(String[] identifiers, int limit) ;\n\n /**\n * Remove the metadata for the specified identifier\n * @param identifier\n */\n public void removeData(String identifier, String owner);\n \n /**\n * Update the metadata for the specified identifier\n * @param identifier\n * @param metadata\n */\n public void updateData(String identifier, String owner, Object metadata) ;\n\n /**\n * Update the metadata for the specified identifier including updating the\n * identifier\n * @param identifier\n * @param newIdentifier\n * @param metadata\n */\n public void updateData(String identifier, String newIdentifier, String owner, Object metadata) ;\n\n /**\n * Get a token\n * @param identifiers\n * @return\n */\n public String getToken(String[] identifiers) ;\n\n /**\n * Get the type of the object with the specified identifier\n * @param identifier\n * @return\n */\n public NodeType getType(String identifier, String owner) ;\n\n /**\n * Check whether the specified property is known to the service\n * @param identifier\n * @return\n * @\n */\n public boolean isKnownProperty(String identifier) ;\n\n /**\n * Register the specified property\n * @param property\n * @param type\n * @param readOnly\n */\n public void registerProperty(String property, int type, boolean readOnly) ;\n\n /**\n * Update the specified property\n * @param property\n * @param type\n */\n public void updateProperty(String property, NodeType type) ;\n\n\n /**\n * Get the property type of the specified node\n * @param identifier\n * @return\n */\n public String getPropertyType(String identifier) ;\n \n /**\n * Get the node\n * @param identifier\n * @return\n */\n public Node getNode(String identifier, String owner) ;\n \n /**\n * Get the node children\n * @param identifier\n * @return\n */\n public List<String> getNodeChildren(String identifier, String owner) ;\n\n public List<String> getAllChildren(String identifier, String owner);\n\n}", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "a0ed9ff0da2db54b8d6975bad3b0a2fc", "score": "0.56846255", "text": "java.util.List<io.dstore.engine.MetaInformation> \n getMetaInformationList();", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "e7748931bbfde87eeb0b7f417d0b34ed", "score": "0.5601917", "text": "public io.dstore.engine.MetaInformationOrBuilder getMetaInformationOrBuilder(\n int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "b6bc1f52b11d2472c0f340dac5c2d965", "score": "0.5577318", "text": "@CodeCompletion\n public abstract Object meta(String name) throws WGAPIException;", "title": "" }, { "docid": "b6bc1f52b11d2472c0f340dac5c2d965", "score": "0.5577318", "text": "@CodeCompletion\n public abstract Object meta(String name) throws WGAPIException;", "title": "" }, { "docid": "61abbc2383fc8874e65d85d59a10be5d", "score": "0.5570194", "text": "public int getMetadata(int aMeta)\r\n/* 23: */ {\r\n/* 24:23 */ return aMeta;\r\n/* 25: */ }", "title": "" }, { "docid": "6c0b5f09c824cdaa39d9802c75261ace", "score": "0.55608565", "text": "Instructions.MetadataInstruction writeMetadata();", "title": "" }, { "docid": "7a1382638b661801bf25762a1be256d0", "score": "0.554169", "text": "public interface IMetaData extends org.jdiameter.client.api.IMetaData {\r\n\r\n /**\r\n * Add new Application Id to support application list\r\n * @param applicationId applicationId\r\n */\r\n public void addApplicationId(ApplicationId applicationId);\r\n\r\n /**\r\n * Remove Application id from support application list\r\n * @param applicationId applicationId\r\n */\r\n public void remApplicationId(ApplicationId applicationId);\r\n\r\n /**\r\n * @deprecated \r\n * Reload parameters\r\n */\r\n public void reload();\r\n}", "title": "" }, { "docid": "eda2073042ad77369deda2180a6541ae", "score": "0.5451323", "text": "public void setMetadata( Metadata m ){\n this.mMetadata = m;\n }", "title": "" }, { "docid": "b2696b1f5866946a9f7b2761870653f1", "score": "0.54508907", "text": "public interface Meta_DASH_Metadata extends com.ibm.adtech.jastor.Thing {\n\t\n\t/**\n\t * The rdf:type for this ontology class\n */\n\tpublic static final Resource TYPE = ResourceFactory.createResource(\"http://sots.rvg/lom.owl#Meta-Metadata\");\n\t\n\n\n\n}", "title": "" }, { "docid": "bbfdf2081e9fddaa7206c92da316f569", "score": "0.54404074", "text": "@CodeCompletion\n public abstract Object meta(String type, String name) throws WGAPIException;", "title": "" }, { "docid": "eb3f364d4eebd7243e90052924a8333a", "score": "0.5438236", "text": "@Override\n public synchronized AtlasMetaData metaData()\n {\n final AtlasMetaData metaData = super.metaData();\n final var originalTags = metaData.getTags();\n // Remove the country shards to keep old behavior where they were dropped, but keep\n // other tags\n originalTags.remove(\"countryShards\");\n return new AtlasMetaData(metaData.getSize(), false,\n metaData.getCodeVersion().orElse(null),\n metaData.getDataVersion().orElse(null), RawAtlasSlicer.this.country,\n RawAtlasSlicer.this.shardOrAtlasName, originalTags);\n }", "title": "" }, { "docid": "842682dfab7862be194659e3a6bd02ad", "score": "0.5421686", "text": "public interface MetaDataFactory\n extends ObjectFactory<Map<String, Object>> {\n}", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "2cf026b9ffc0d22a955c5c672a430ed7", "score": "0.54095227", "text": "public io.dstore.engine.MetaInformation getMetaInformation(int index) {\n return metaInformation_.get(index);\n }", "title": "" }, { "docid": "833fe20a10a0c57499c10e1e529affdb", "score": "0.5384066", "text": "@Override\r\n public Metadata getMetadata() {\n\r\n return super.getMetadata();\r\n }", "title": "" }, { "docid": "5f0ac229ea69af560b011a8667c9b87f", "score": "0.5383717", "text": "public interface StoreMetaData<T> {\n\n Class<? extends T> getDataType();\n\n StoreMetaData<Integer> TTL = TTLImpl.INSTANCE;\n\n Container EMPTY = new Container(false);\n\n class Container {\n\n private final boolean mutable;\n\n private Map<StoreMetaData<?>, Object> md = new HashMap<>();\n\n public Container() {\n this(true);\n }\n\n public Container(boolean mutable) {\n this.mutable = mutable;\n }\n\n public <V, K extends StoreMetaData<V>> void put(K type, V value) {\n Preconditions.checkState(mutable);\n md.put(type, value);\n }\n\n public <V, K extends StoreMetaData<V>> V get(K type) {\n return type.getDataType().cast(md.get(type));\n }\n\n public <K extends StoreMetaData<?>> boolean contains(K type) {\n return md.containsKey(type);\n }\n\n public int size() {\n return md.size();\n }\n\n public boolean isEmpty() {\n return md.isEmpty();\n }\n }\n}", "title": "" }, { "docid": "7f336c7c362e9c8fbbcccc9aebf97eab", "score": "0.53800994", "text": "public void setMetaData(List<Object> metaData)\r\n {\r\n myMetaData = metaData;\r\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" }, { "docid": "e608ad0941c041a4d9dc4f1e560ca851", "score": "0.5325754", "text": "public int getMetaInformationCount() {\n return metaInformation_.size();\n }", "title": "" } ]
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "9e1c027381a4cee5fffbe07372f5dcaf", "score": "0.0", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_blank, container, false);\n question = (TextView)view.findViewById(R.id.tv_fragment_question);\n response = (TextView)view.findViewById(R.id.tv_fragment_response);\n question.setText(q);\n response.setText(a);\n\n return view;\n }", "title": "" } ]
[ { "docid": "8b5df47011cc799d795dc7120e1c0c49", "score": "0.68263656", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.kuliahfragisidata, container, false);\n }", "title": "" }, { "docid": "b2e25fc895c8c663099bb0152da09a54", "score": "0.67922646", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_import_export_help, container, false);\r\n }", "title": "" }, { "docid": "04823d6fe8cb70f25bd8bae8d66ca17a", "score": "0.6760197", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_php, container, false);\n ratingBar = view.findViewById(R.id.ratingbarPhp);\n return view;\n }", "title": "" }, { "docid": "249ad72157459ed715fd9c86acf5d782", "score": "0.6757948", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.workout_db_fraglayout, container, false);\n }", "title": "" }, { "docid": "2826433a14996f77a28de9d6801bfd75", "score": "0.6745457", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n return inflater.inflate(R.layout.fragment_comments_and_ratings, container, false);\n }", "title": "" }, { "docid": "0b9f87a2e0890be73dd67bcd430f06c9", "score": "0.67238593", "text": "@Override\r\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_skill_iqleaders, container, false);\r\n }", "title": "" }, { "docid": "a734a6b3929d6afafba9f250e6ded804", "score": "0.67227703", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_convert_plan, container, false);\n }", "title": "" }, { "docid": "3a5206c45981830f32162aa0a9d1c802", "score": "0.6708151", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.friend_list_fragment, container, false);\n }", "title": "" }, { "docid": "6d3a4fd7b842097079e6651931c3c94e", "score": "0.6699401", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_student_class, container, false);\n }", "title": "" }, { "docid": "c83509ffd3d65233382962704816adad", "score": "0.6697344", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState)\n {\n View view = inflater.inflate(R.layout.fragment_main1, container, false);\n init(view);\n setDates();\n setStats();\n return view;\n }", "title": "" }, { "docid": "5e4d33e7854d4b7ae6f0e62b047a6c6b", "score": "0.6693561", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_qr_details, container, false);\n }", "title": "" }, { "docid": "1835b770f34e6c74c24509917a9afd77", "score": "0.66926605", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.fragment_posts, parent, false);\n }", "title": "" }, { "docid": "90536de4dc511baac07f02d2ce18c04b", "score": "0.6686842", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.data_input_fragment, container, false);\n }", "title": "" }, { "docid": "acce452799d9431cdba6feb64cf40b0f", "score": "0.66844076", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_student_performance_details, container, false);\n }", "title": "" }, { "docid": "5e8923f18860cc7b51ced892b239d9d3", "score": "0.6676537", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n EventBus.getDefault().register(this);\n initData();\n // Inflate the layout for this fragment\n View view = inflater.inflate(R.layout.fragment_details, container, false);\n unbinder = ButterKnife.bind(this, view);\n return view;\n }", "title": "" }, { "docid": "f5959e7a0ee4abe7e410ae8e5b46f3dc", "score": "0.66748124", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_feed, container, false);\n }", "title": "" }, { "docid": "7349929d25376d9bb1257ee8b1913923", "score": "0.66604626", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n // Defines the xml file for the fragment\n return inflater.inflate(R.layout.tabbed_layout_fragment, parent, false);\n }", "title": "" }, { "docid": "4e7d396e0762740333697421d05c54d0", "score": "0.6651963", "text": "@LayoutRes\n protected int getLayoutResId() {\n return R.layout.activity_fragment;\n }", "title": "" }, { "docid": "4e7d396e0762740333697421d05c54d0", "score": "0.6651963", "text": "@LayoutRes\n protected int getLayoutResId() {\n return R.layout.activity_fragment;\n }", "title": "" }, { "docid": "96672478ade50e2126c0d50a32ca2566", "score": "0.66489995", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_x_p_g, container, false);\n initui();\n initdata();\n initListener();\n return view;\n }", "title": "" }, { "docid": "6758b86402a7ddac3a5fa675b7e9ceb6", "score": "0.6639977", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_activtiy__module_all_inone_design, container, false);\n initView(rootView);\n setupView(true);\n return rootView;\n }", "title": "" }, { "docid": "11f4f3283479a73a8e6533136741313e", "score": "0.66238713", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_film_feed, container, false);\n }", "title": "" }, { "docid": "015122adb4760c79b6b0c60c088561d7", "score": "0.66224056", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_grafica_sensor, container, false);\n }", "title": "" }, { "docid": "0c13a1fda2fb50f1611cc1999193d5a1", "score": "0.66139317", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.jsl_ros_fragment, container, false);\n return view;\n\n\n }", "title": "" }, { "docid": "2e3f15f8c79e799a8e647e4707de894a", "score": "0.661324", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sensor_card, container, false);\n }", "title": "" }, { "docid": "e9aea84f853b1da8ac47ff861005e927", "score": "0.66081375", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_feed, container, false);\n\n\n\n return view;\n }", "title": "" }, { "docid": "331720b5ca2b01326c251a532b6c2ed3", "score": "0.660319", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n layout = inflater.inflate(R.layout.fragment_news, container, false);\n\n setupView();\n\n return layout;\n }", "title": "" }, { "docid": "cce3dbceba374499a484fd35c6aff825", "score": "0.659996", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(layoutID, container, false);\n }", "title": "" }, { "docid": "bfbc567d758490df0fea420bdf4f7103", "score": "0.6599353", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_re_dian_layout, container, false);\n }", "title": "" }, { "docid": "d4564ceca854d095bef42e01cffa58fd", "score": "0.65963155", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sirattendance, container, false);\n\n\n }", "title": "" }, { "docid": "4e1f3e9ab5512b88a7ac61a540e5e085", "score": "0.65961707", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n if (rootView==null)\n rootView = inflater.inflate(R.layout.frag_online_booking, container, false);\n return rootView;\n }", "title": "" }, { "docid": "ed56cf138791a4135262d9526ba4143a", "score": "0.65961", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_values, container, false);\n }", "title": "" }, { "docid": "b3b9775bfe981052f69dc1ea52d9678a", "score": "0.6595405", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_bid, container, false);\n }", "title": "" }, { "docid": "d563aab6fcb42f14accedaefcdf7577a", "score": "0.6592999", "text": "@Override\n\tprotected int Layout() {\n\t\treturn R.layout.detail_plant_fragment;\n\t}", "title": "" }, { "docid": "5bff803e528610f4eb6312c18096fe79", "score": "0.6592355", "text": "@Override\n public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View root = inflater.inflate(R.layout.discover_fragment_layout, container, false);\n ButterKnife.bind(this,root);\n initView();\n return root;\n }", "title": "" }, { "docid": "b72706f069e5e84f8ae9110731b25d37", "score": "0.6584759", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_glide_base, container, false);\n initView(view);\n initData();\n return view;\n }", "title": "" }, { "docid": "a39a1dcbeb3f72a5cd25f5306b8ff576", "score": "0.6584146", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(R.layout.fragment_sure_bill, container, false);\n\n initView(inflate);\n initRlv();\n return inflate;\n }", "title": "" }, { "docid": "d31730c3b448096db520ac01842928b0", "score": "0.658335", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_q_r, container, false);\n }", "title": "" }, { "docid": "f6c8c8d553f7dfeb32dce382e151b148", "score": "0.6581871", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_booking, container, false);\n }", "title": "" }, { "docid": "d543d7891bbdb9388e2944f961fa2d0a", "score": "0.6569775", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_emr_and_health_tracker, container, false);\n }", "title": "" }, { "docid": "45b0d3e7951b1f3635e9f6fd6ee57617", "score": "0.6567476", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_paint, container, false);\n }", "title": "" }, { "docid": "02157c6b94be7f81dc1306f031c0cc77", "score": "0.6565532", "text": "@Override\n public View onCreateView(\n LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState\n ) {\n return inflater.inflate(R.layout.fragment_lua_chon, container, false);\n }", "title": "" }, { "docid": "5b5b9102f79f34a7a7dd8bcd7f39374e", "score": "0.65633804", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_player_info, container, false);\n }", "title": "" }, { "docid": "e8a15250b2a4f55bdb8fa523dffcc1ea", "score": "0.6561751", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_events_all, container, false);\n }", "title": "" }, { "docid": "604611d2624a242c792088e04d880685", "score": "0.6560619", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_day_slot, container, false);\n }", "title": "" }, { "docid": "8dc0c9822d65c4f69228407b20e0462d", "score": "0.6555244", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n parent = inflater.inflate(R.layout.fragment_receiverexchange, container, false);\n Bundle data = getArguments();\n idPokemon = data.getString(\"id\");\n\n that = this;\n\n loadingScreen = (LinearLayout) parent.findViewById(R.id.loadingFriendExchange);\n noFriend = (LinearLayout) parent.findViewById(R.id.noFriend);\n\n ManagerPokemonService.getInstance().getFriends(this, this);\n return parent;\n\n }", "title": "" }, { "docid": "10a7a07a0c445de6e4f7629ef0965760", "score": "0.65547", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n rootView = inflater.inflate(R.layout.fragment_bids, container, false);\n intilize();\n return rootView ;\n }", "title": "" }, { "docid": "ba603b44b42ec41872365e0d42b3efb9", "score": "0.6553309", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_resource_details_view, container, false);\n }", "title": "" }, { "docid": "3a201caa39267fa0414361986a83648b", "score": "0.65527177", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View layout = inflater.inflate(R.layout.fragment_display_section, container, false);\n\n setup(layout);\n setRecyclerView(layout);\n title.setText(type);\n\n\n return layout;\n }", "title": "" }, { "docid": "bc8e628d6f4111e1eaa538596cb9cdc3", "score": "0.6548227", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View inflate = inflater.inflate(getLayout(), container, false);\n bind = ButterKnife.bind(this, inflate);\n initPresmter();\n if (mp != null) {\n mp.bindView(this);\n }\n initView();\n initData();\n initLis();\n return inflate;\n }", "title": "" }, { "docid": "775dbc717ecde4eaf08f45991a7ff805", "score": "0.65449506", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.progress_frag_layout, container, false);\n return view;\n }", "title": "" }, { "docid": "a1af43ddb53810f18beb9c6f3618a17c", "score": "0.65421796", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.load_save_fragment, container, false);\n }", "title": "" }, { "docid": "cee4511d64e2b811c1d3c7080c5b5ce8", "score": "0.6540315", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_zui_xin, container, false);\n }", "title": "" }, { "docid": "9c22297e07b668a10f7033183d5fc2a4", "score": "0.6539921", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_beat_box, container, false);\n findViews(view);\n initViews();\n UpdateUI();\n return view;\n }", "title": "" }, { "docid": "72662dce8cf04e29f66f460bb412ceca", "score": "0.6537823", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_qian, container, false);\n activity = getActivity();\n ButterKnife.bind(this, view);\n initView();\n initData();\n return view;\n }", "title": "" }, { "docid": "94465da996a6248b697ca5a2263694f3", "score": "0.6536186", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater,\n\t\t\t@Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n\t\tView v = inflater.inflate(getLayoutRes(), container, false);\n\t\tinitViews(v);\n\t\treturn v;\n\t}", "title": "" }, { "docid": "da2c5ba4284915440f3f77285b042540", "score": "0.65342844", "text": "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\r\n\t\t\tBundle savedInstanceState) {\n\t\tView view = inflater.inflate(R.layout.wishdetail_comment_fragment, null);\r\n\t\tinitView(view);\r\n\t\treturn view;\r\n\t}", "title": "" }, { "docid": "42d3bbac9638425970af2ed4b21d379b", "score": "0.65322006", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_sun, container, false);\n initLayout(view);\n initData();\n refreshData();\n\n return view;\n }", "title": "" }, { "docid": "fdce99c99a222ef8a70eaadbd113b175", "score": "0.65315896", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_mood_graph, container, false);\n }", "title": "" }, { "docid": "4bc679397238a055c526b4cc3ca04f40", "score": "0.65314573", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_picture_processing, container, false);\n init();\n bind(view);\n return view;\n }", "title": "" }, { "docid": "f4e51a678b2a7cca8a98984933cfe195", "score": "0.6531234", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_book_details, container, false);\n }", "title": "" }, { "docid": "25fd4633ddd23c224a5486f1318e2b12", "score": "0.6529434", "text": "@Nullable\n @Override\n public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_4,container,false);\n }", "title": "" }, { "docid": "939a8cf73f01d6d4cd326bc01bfc63a7", "score": "0.652812", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_pying_main, container, false);\n unbinder = ButterKnife.bind(this, view);\n mContext = getActivity();\n EventBusUtil.register(this);\n return view;\n }", "title": "" }, { "docid": "3b9e25cb1bead38bb0e4f6ba2dae1dad", "score": "0.6528106", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n mView = inflater.inflate(R.layout.fragment_talent_bank1, container, false);\n init();\n return mView;\n }", "title": "" }, { "docid": "e8fa09daa2ee2dc27190ea33423b742c", "score": "0.6528059", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n if (view == null) {\n view = inflater.inflate(R.layout.fragment_week_detail, container, false);\n unbinder = ButterKnife.bind(this, view);\n initUI();\n initData();\n }\n return view;\n }", "title": "" }, { "docid": "ae5bef43dfc4d759d49a8894085c6ec0", "score": "0.65276074", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_etkinlik, container, false);\n }", "title": "" }, { "docid": "d00381bf3e43c37a210f948c0a1c665b", "score": "0.65270287", "text": "@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\treturn inflater.inflate(R.layout.shop_collect_fragment, null);\n\t}", "title": "" }, { "docid": "6678fbf25ad8ffc050eb7abf02a53778", "score": "0.6525935", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_alarms, container, false);\n }", "title": "" }, { "docid": "47c728132dc1fc32f9a34978582a956e", "score": "0.65254676", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_mine_info, container, false);\n initView(view);\n loadData();\n return view;\n }", "title": "" }, { "docid": "f9d4fa89387f190e09cf526c26074f01", "score": "0.6524167", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_sirresult, container, false);\n }", "title": "" }, { "docid": "593126b304e506ed948b003be5d5002a", "score": "0.6524122", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment06_4, container, false);\n initView(view);\n setLegend();\n setXAxis();\n setYAxis();\n setData();\n return view;\n }", "title": "" }, { "docid": "ce096549e94799e8d983c7b0c96e4ea4", "score": "0.652222", "text": "@Override\n public View onCreateView (LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState){\n return inflater.inflate(R.layout.fragment_location_picker_ggs, container, false);\n }", "title": "" }, { "docid": "e86f6830686ce7015a13e85f89ead38b", "score": "0.6520568", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_category, parent, false);\n }", "title": "" }, { "docid": "51d404661974dae129559d9ddcaa219a", "score": "0.6520037", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n // Inflate the layout for this fragment\n return inflater.inflate(R.layout.fragment_pending_friends, container, false);\n }", "title": "" }, { "docid": "d75e991c0c9c41ce4929ddbe75d2f0eb", "score": "0.65193015", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.internet, container, false);\n\n //....................initialisation of objects.........................//\n init(v);\n\n\n return v;\n }", "title": "" }, { "docid": "61ea3c973d6e8301700252caf59db625", "score": "0.65184337", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v= inflater.inflate(R.layout.fragment_fragment7, container, false);\n\n initializeElements(v);\n\n return v;\n }", "title": "" }, { "docid": "8b0f7677a8537c0322b814afc6643ad8", "score": "0.65167576", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_quiz_sub_fragment, container, false);\n }", "title": "" }, { "docid": "c5cab0c98964eddd2e3aadbbb2917bc1", "score": "0.65159935", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_statistics__root, container, false);\n }", "title": "" }, { "docid": "33c361b3473d954bdea1a4967293139a", "score": "0.6513738", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.activity_fragment_satu, container, false);\n }", "title": "" }, { "docid": "7df9b74b7c10d8bcabd8a869a0e229a8", "score": "0.6512136", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_all, container, false);\n unbinder = ButterKnife.bind(this, view);\n initview();\n //获取数据\n mActivityListSwf.setOnRefreshListener(new OnRefreshListener() {\n @Override\n public void onRefresh(RefreshLayout refreshlayout) {\n initData(REFRESH);\n }\n });\n mActivityListSwf.setOnLoadmoreListener(new OnLoadmoreListener() {\n @Override\n public void onLoadmore(RefreshLayout refreshlayout) {\n initData(LOADMORE);\n }\n });\n mActivityListSwf.autoRefresh();\n return view;\n }", "title": "" }, { "docid": "9a33403435e7ea0a3cec7eb738b0fd0d", "score": "0.6508211", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View view = inflater.inflate(getLayout(), container, false);\n content(view);\n return view;\n }", "title": "" }, { "docid": "2e2ff691657932814bf1804cc5d54d5f", "score": "0.6507906", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.bag_fragment, container, false);\n }", "title": "" }, { "docid": "d406840ef6d548fdb99ab7f0f0fc75ae", "score": "0.6506914", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_record, container, false);\n }", "title": "" }, { "docid": "120d8b165c3e92054cd1cbe85631dd6e", "score": "0.6505456", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_mycomments, container, false);\n initView(view);\n initData();\n return view;\n }", "title": "" }, { "docid": "a1d947b3b11612e28afb60c9ac8759e9", "score": "0.6503419", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_movie_details, container, false);\n }", "title": "" }, { "docid": "f069456037fd8c986d16306dc4e57e40", "score": "0.650341", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View rootView = inflater.inflate(R.layout.fragment_recruiter_account, container, false);\n\n mSetting = ManageAccountFragment.mSetting;\n if(mSetting == null) mSetting = new AdminFilterAccountSetting();\n mSetting.setQuery(\"\");\n addView(rootView);\n setmRecyclerView();\n addEvent();\n setIcon();\n addOnScrolled();\n loadDefaultData();\n\n return rootView;\n }", "title": "" }, { "docid": "45f2876d1081d88fc021a3acc948e939", "score": "0.6501855", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n view = inflater.inflate(R.layout.fragment_tweety, container, false);\n\n init();\n return view;\n }", "title": "" }, { "docid": "e7640d65c2c06d81a61d1756ee417f10", "score": "0.6499078", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_exercuse_fragmet, container, false);\n }", "title": "" }, { "docid": "328029beafc307170b5630b6374f3962", "score": "0.64985585", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View mLayout = inflater.inflate(R.layout.fragment_equip_pdf, container, false);\n ButterKnife.bind(this,mLayout);\n\n if (mId == null)\n mListView.setEmptyView(mTextView);\n else\n getPDFInfo(mId);\n\n return mLayout;\n }", "title": "" }, { "docid": "9ff5ad0cc079e269a47805358065eb38", "score": "0.6497573", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_weather, container, false);\n }", "title": "" }, { "docid": "54053252554fe361aa6151d94575a33e", "score": "0.6497339", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view=inflater.inflate(R.layout.fragment_la_pin,container,false);\n laPing_toolbar = ((Toolbar) view.findViewById(R.id.laPing_toobar));\n laPing_tabLayout = ((TabLayout) view.findViewById(R.id.laPing_tablayout));\n laPing_viewpager = ((ViewPager) view.findViewById(R.id.laPing_viewpager));\n setToobar();\n setTabLayout();\n return view;\n }", "title": "" }, { "docid": "18f529b535c33665a0ec497db3411995", "score": "0.6490524", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.rsl_sched_fragment, container, false);\n\n return view;\n\n }", "title": "" }, { "docid": "10e6321d298c79873eb7ef15396185b8", "score": "0.64893353", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_adv_recycler, container, false);\n }", "title": "" }, { "docid": "4c34966aed2803f7a56cf63ce2a15686", "score": "0.6489254", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n\n View inflate = inflater.inflate(getLayoutId(), container, false);\n\n initView(inflate);\n\n return inflate;\n }", "title": "" }, { "docid": "3896223c4894fa3989be3eae211b5b7f", "score": "0.6488663", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_nokri__home2_screen, container, false);\n\n\n }", "title": "" }, { "docid": "22135beeece369b890c09b32177bafd9", "score": "0.6487333", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View view = inflater.inflate(R.layout.fragment_info_uni, container, false);\n ButterKnife.bind(this, view);\n EventBus.getDefault().register(this);\n setupUI();\n return view;\n }", "title": "" }, { "docid": "c1efc4fe7023e8dd85eacd30cf958885", "score": "0.64873296", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_resistor_4__rings, container, false);\n }", "title": "" }, { "docid": "d84b408ffb746542d28f8077eac91fea", "score": "0.6484432", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v = inflater.inflate(R.layout.fragment_canvas, container, false);\n return v;\n }", "title": "" }, { "docid": "21de314beea073b304fa8dcc0e434bc6", "score": "0.6483565", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_ringtone, container, false);\n }", "title": "" }, { "docid": "2b94e675464265b119833ff09dc0310c", "score": "0.6483487", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n Fresco.initialize(getContext());\n View view = inflater.inflate(R.layout.fragment_simple, container, false);\n unbinder = ButterKnife.bind(this, view);\n requestReadExternalPermission();\n setImage();\n setSpinner();\n setHint();\n setJump();\n return view;\n }", "title": "" }, { "docid": "9ca09b59bee03dc7e1ba690d5351c2d3", "score": "0.648222", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_zuji_item, container, false);\n }", "title": "" } ]
da30534579fa862f8a2b57bae233f0d9
Generates a new instance of a Divider item.
[ { "docid": "38c1c240e37742e4eeb22dc248c5fd4a", "score": "0.7674779", "text": "public DividerApi newItem();", "title": "" } ]
[ { "docid": "5cf2321c94e55768abca5a0eb6f6cc8c", "score": "0.6995673", "text": "public interface DividerApi extends DesignItemApi\n{\n /**\n * Generates a new instance of a Divider item.\n * @return the new Divider\n */\n public DividerApi newItem();\n}", "title": "" }, { "docid": "a57eea3aedce9151d08b73cc00f9c1e4", "score": "0.6831535", "text": "View createDivider(Context context);", "title": "" }, { "docid": "fb57174ccd51fcaa443337a50848073d", "score": "0.64815825", "text": "public RDivider() {}", "title": "" }, { "docid": "04a6cac9a319027b7341f6602fb101d7", "score": "0.62100834", "text": "public DividerHolder(@NotNull View view) {\n super(view, null);\n Intrinsics.checkParameterIsNotNull(view, \"view\");\n View requireViewById = this.itemView.requireViewById(C0015R$id.frame);\n Intrinsics.checkExpressionValueIsNotNull(requireViewById, \"itemView.requireViewById(R.id.frame)\");\n this.frame = requireViewById;\n View requireViewById2 = this.itemView.requireViewById(C0015R$id.divider);\n Intrinsics.checkExpressionValueIsNotNull(requireViewById2, \"itemView.requireViewById(R.id.divider)\");\n this.divider = requireViewById2;\n }", "title": "" }, { "docid": "bd6686d00ab0415a24baed456edcea71", "score": "0.5808646", "text": "public DividerItemDecoration(Context context) {\n mDivider = ContextCompat.getDrawable(context, R.drawable.shape_divider_gray);\n }", "title": "" }, { "docid": "2c50ee3dda05c9431ce7b31934bc22d0", "score": "0.5786519", "text": "public void createDividers() {\n }", "title": "" }, { "docid": "66887d291fd98b372879a0e365c0215b", "score": "0.5545353", "text": "public This divider(boolean show){ return setArg(SHOW_DIVIDER, show); }", "title": "" }, { "docid": "abfeb29dc022a9b6a6c22edcbe6db7a8", "score": "0.5427296", "text": "public LinearLayout getDividerContainer(Context context) {\n\t\tLinearLayout linearLayout = new LinearLayout(context);\n\t\tlinearLayout.setId(2000);\n\n\t\tTextView topSpacer = new TextView(context);\n\t\tTextView middleSpacer = new TextView(context);\n\t\tTextView bottomSpacer = new TextView(context);\n\t\t\n\t\ttopSpacer.setId(2001);\n\t\tmiddleSpacer.setId(2002);\n\t\tbottomSpacer.setId(2003);\n\t\t\n\t\tmiddleSpacer.setBackgroundColor(color.darker_gray);\n\t\tmiddleSpacer.setBackgroundResource(color.darker_gray);\n\t\t\n\t\tlinearLayout.addView(topSpacer);\n\t\tlinearLayout.addView(middleSpacer);\n\t\tlinearLayout.addView(bottomSpacer);\n\t\t\n\t\treturn linearLayout;\n\t}", "title": "" }, { "docid": "b49647aa9eba2b2e8a4b952d17633241", "score": "0.5405107", "text": "@Override\n\tpublic Component add(Component component){\n\t\tint lastDivLoc = getDividerLocation();\n\t\tComponent res = super.add(component);\n\t\tsetDividerLocation(lastDivLoc);\n\t\treturn res;\n\t}", "title": "" }, { "docid": "d2ce020473a68c1ba7167e581ff92adb", "score": "0.53495777", "text": "private TitledSeparatorLayout() {\r\n\r\n\t\t}", "title": "" }, { "docid": "f26499a15621634948851dba97e97846", "score": "0.5290251", "text": "public ExtMenuItem addSeparator() {\n // FIXME: this is a wrong way\n ExtMenuItemImpl item = (ExtMenuItemImpl) addItem(\"\", null);\n item.setSeparator(true);\n return item;\n }", "title": "" }, { "docid": "35e4d4ebef9df13e95328bfa34784837", "score": "0.5268468", "text": "public DividerItemDecoration(Context context, @DrawableRes int drawableRes, int padding) {\n mDivider = ContextCompat.getDrawable(context, drawableRes);\n mPadding = padding;\n }", "title": "" }, { "docid": "2e6192adbcfc595e032484df99fd2e4a", "score": "0.51546425", "text": "@Provides(type = Admin.DASHBOARD, with = DASHBOARD_TYPE)\n public static UIElement createDashboardItem() {\n\n String url = AdminHelper.getURLForAdminAction(BASE_TYPE + \".list\");\n\n return new UIElement(Admin.DASHBOARD).addAttribute(\"class\", \"dashboard\").\n addChild(new UIElement(UIElement.PANEL, 10).\n addChild(new UIElement(UIElement.PARAGRAPH, 10, \"Basic Page\").addAttribute(\"class\", \"dashboard item title\")).\n addChild(new UIElement(UIElement.PARAGRAPH, 20, \"Basic pages have a lead and a body\").addAttribute(\"class\", \"dashboard item description\")).\n addChild(new UIElement(UIElement.ANCHOR, 30, \"List All\").addAttribute(\"href\", url).addAttribute(\"class\", \"dashboard item link\"))\n );\n }", "title": "" }, { "docid": "41a910dbdc6e0119e7365654bde1f21c", "score": "0.5074004", "text": "@Override\r\n protected SplitBar newInstance(Element element) {\r\n throw new RuntimeException(\"override to create instance with arguments\");\r\n }", "title": "" }, { "docid": "8b75e1070ca8ef3fd454227be526073a", "score": "0.5061541", "text": "private void createUIComponents() {\n prefixItemDataPanel = new AlternateGenericPrefixRegexItemDataPanel();\n postfixItemDataPanel = new AlternateGenericPostfixRegexItemDataPanel();\n\n Splitter splitter = new Splitter(false, 0.5f);\n splitter.setHonorComponentsMinimumSize(true);\n\n splitter.setFirstComponent(createItemDataPanel(prefixItemDataPanel, AlternateGenericPrefixPostfixRegexItem.GenericType.PREFIX.getText()));\n splitter.setSecondComponent(createItemDataPanel(postfixItemDataPanel, AlternateGenericPrefixPostfixRegexItem.GenericType.POSTFIX.getText()));\n\n //\n dataPanel = splitter;\n }", "title": "" }, { "docid": "62c507b35a919fa6de0e27cd7656da76", "score": "0.5052439", "text": "public static JPanel create_horiz_separator(){\n\t\tJPanel sep_panel = new JPanel();\n\t\tJSeparator sep = new JSeparator(SwingConstants.HORIZONTAL);\n\t\tsep_panel.add(sep);\n\t\tsep_panel.setLayout(new GridLayout(0,1));\n\t\tsep_panel.setMaximumSize(new Dimension(Integer.MAX_VALUE, 1));\n\t\treturn(sep_panel);\t\n\t}", "title": "" }, { "docid": "ce914b41ef07a440ff8eb38b3d6f799f", "score": "0.5018005", "text": "public ExtMenuItem addSeparatorBefore(ExtMenuItem itemToAddBefore) {\n ExtMenuItemImpl item = (ExtMenuItemImpl) addItemBefore(\"\", null, null,\n itemToAddBefore);\n item.setSeparator(true);\n return item;\n }", "title": "" }, { "docid": "27e7ec50144f146ed18d24af355c3af2", "score": "0.5003406", "text": "@Override\n\tpublic JPanel makeByChartItem(String item) throws GraphItemNotFoundException,\n\t\t\tNoGraphItemException, NoGraphPointException {\n\n\t\tXYSeriesCollection dataset = new XYSeriesCollection();\n\t\tinitDataset(dataset, item); //init data set with all chart items\n\n\t\t//creates curve chart\n\t\tJFreeChart chart = ChartFactory.createXYLineChart(getTitle(),\n\t\t\t\tgetLabelX(), getLabelY(), dataset, PlotOrientation.VERTICAL,\n\t\t\t\ttrue, true, false);\n\n\t\tchart.setBackgroundPaint(Color.WHITE);\t\n\t\tchart.getPlot().setBackgroundPaint(Color.WHITE);\n\t\t\n\t\tXYPlot plot = (XYPlot) chart.getPlot();\n\t\tXYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer();\n\t\t\n\t\tfor(int i = 0; i < dataset.getSeriesCount(); i++){\n\t\t\t renderer.setSeriesLinesVisible(i, true);\n\t\t renderer.setSeriesShapesVisible(i, true);\n\t\t renderer.setSeriesItemLabelsVisible(i, true);\n\t\t}\n\t\tplot.setRenderer(renderer);\n\t\t\n\t\t\n\t\tChartPanel panel = new ChartPanel(chart, true);\n\t\t\n\t\treturn panel;\n\t}", "title": "" }, { "docid": "4353e2019339f29951ebc9146d0c7fd1", "score": "0.499426", "text": "private Node buildHBox(Node leftItem, Node rightItem, int spacing) {\n\t\tHBox hbox = new HBox(leftItem, rightItem);\n\t\thbox.setSpacing(spacing);\n\t\treturn hbox;\n\t}", "title": "" }, { "docid": "d6a6bcb3c4f426dab37adb51a8b34135", "score": "0.49809375", "text": "Split createSplit();", "title": "" }, { "docid": "894721f046ceb1f217d957897626ad93", "score": "0.4978815", "text": "@Override\n\t\t\t protected void populateItem(ListItem item) {\n\t\t\t\t\tlogger.debug(\"Repeating panel with class name: \" + panelClass.getSimpleName());\n\t\t\t\t\tEntityAttribute attr = new EntityAttribute(item, new UIMapEntry(\"bogus\", \"modelObject\", panelClass.getSimpleName()));\n\t\t\t\t\tEntityAtributePanelFactory factory = new EntityAtributePanelFactory();\n\t\t\t\t\tPanel itemPanel = factory.createPanel(\"attribute_panel\", attr, isEditable());\n\t\t\t\t\titem.add(itemPanel);\t\n\t\t\t\t}", "title": "" }, { "docid": "7558bbb0af7fb92f2ca03117ade4a1b7", "score": "0.49519655", "text": "private void addComponentsToItem() {\n item.add(productName);\n item.add(productPrice);\n item.add(spinnerHolder);\n item.add(toBePaidForProduct);\n item.add(buttonHolder);\n }", "title": "" }, { "docid": "c8388249d9991da255e1ff02abd7bbf6", "score": "0.4942901", "text": "public ItemPage(PalicoArmor plcamr)\r\n\t{\r\n\t\tlblName = new Label(plcamr.getName());\r\n\t\r\n\t\tif (plcamr.getType().equalsIgnoreCase(\"head\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/palico_head.jpg\", 50, 50, true, false));\r\n\t\telse if (plcamr.getType().equalsIgnoreCase(\"chest\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/palico_chest.jpg\", 50, 50, true, false));\r\n\t\t\r\n\t\tString plcAmrInfo = \r\n\t\t\t\t\"Type: \" + plcamr.getType() + \"\\n\"\r\n\t\t\t\t+ \"Rarity: \" + plcamr.getRarity() + \"\\n\\n\"\r\n\t\t\t\t+ \"Defense: \" + plcamr.getDefense() + \"\\n\"\r\n\t\t\t\t+ \"Fire resistance: \" + plcamr.getVsFire() + \"\\n\"\r\n\t\t\t\t+ \"Water resistance: \" + plcamr.getVsWater() + \"\\n\"\r\n\t\t\t\t+ \"Thunder resistance: \" + plcamr.getVsThunder() + \"\\n\"\r\n\t\t\t\t+ \"Ice resistance: \" + plcamr.getVsIce() + \"\\n\"\r\n\t\t\t\t+ \"Dragon resistance: \" + plcamr.getVsDragon() + \"\\n\";\r\n\t\t\t\t\r\n\t\tsetupItemView(plcAmrInfo);\r\n\t}", "title": "" }, { "docid": "85e13dd55dcce1e00830fc396b1ef431", "score": "0.49377126", "text": "@Override\n public void setDividerDrawable(Drawable drawable) {\n super.setDividerDrawable(drawable);\n }", "title": "" }, { "docid": "91b470e63ee83709a3ec35c7b021b291", "score": "0.4937568", "text": "public ItemPage(Armor amr)\r\n\t{\r\n\t\tlblName = new Label(amr.getName());\r\n\t\t\r\n\t\tif (amr.getType().equalsIgnoreCase(\"head\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/armor/head.png\", 50, 50, true, false));\r\n\t\telse if (amr.getType().equalsIgnoreCase(\"chest\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/armor/chest.png\", 50, 50, true, false));\r\n\t\telse if (amr.getType().equalsIgnoreCase(\"arms\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/armor/arms.png\", 50, 50, true, false));\r\n\t\telse if (amr.getType().equalsIgnoreCase(\"waist\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/armor/waist.png\", 50, 50, true, false));\r\n\t\telse if (amr.getType().equalsIgnoreCase(\"legs\"))\r\n\t\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/armor/legs.png\", 50, 50, true, false));\r\n\t\t\r\n\t\tString armorInfo = \r\n\t\t\t\"Rarity: \" + amr.getRarity() + \"\\n\\n\"\r\n\t\t\t\t\r\n\t\t\t+ \"Defense: \" + amr.getDefense() + \"\\n\"\r\n\t\t\t+ \"Fire resistance: \" + amr.getFireRes() + \"\\n\"\r\n\t\t\t+ \"Water resistance: \" + amr.getWaterRes() + \"\\n\"\r\n\t\t\t+ \"Thunder resistance: \" + amr.getThunderRes() + \"\\n\"\r\n\t\t\t+ \"Ice resistance: \" + amr.getIceRes() + \"\\n\"\r\n\t\t\t+ \"Dragon resistance: \" + amr.getDragonRes() + \"\\n\\n\"\r\n\t\t\t\r\n\t\t\t+ \"Level 1 gem slots: \" + amr.getLevel1Gem() + \"\\n\"\r\n\t\t\t+ \"Level 2 gem slots: \" + amr.getLevel2Gem() + \"\\n\"\r\n\t\t\t+ \"Level 3 gem slots: \" + amr.getLevel3Gem() + \"\\n\\n\"\r\n\t\t\t\r\n\t\t\t+ \"Skill one: \" + amr.getSkill1() + \", at level \" + amr.getSkill1Level() + \"\\n\"\r\n\t\t\t+ \"Skill two: \" + amr.getSkill2() + \", at level \" + amr.getSkill2Level() + \"\\n\\n\"\r\n\t\t\t\r\n\t\t\t+ \"Two-piece set bonus: \" + amr.getSetBonus2Pc() + \"\\n\"\r\n\t\t\t+ \"Three-piece set bonus: \" + amr.getSetBonus3Pc() + \"\\n\"\r\n\t\t\t+ \"Four-piece set bonus: \" + amr.getSetBonus4Pc() + \"\\n\";\r\n\r\n\t\tsetupItemView(armorInfo);\r\n \t}", "title": "" }, { "docid": "0a462cee6186051ad431760626b9fcbf", "score": "0.49010572", "text": "public Splitratio createSplitratio() {\n return new Splitratio();\n }", "title": "" }, { "docid": "23c7e872ee020968b410355fa52a25cd", "score": "0.48872375", "text": "public static JPanel create_vert_separator(){\n\t\tJPanel sep_panel = new JPanel();\n\t\tJSeparator sep = new JSeparator(SwingConstants.VERTICAL);\n\t\tsep_panel.add(sep);\n\t\tsep_panel.setLayout(new GridLayout(1,0));\n\t\tsep_panel.setMaximumSize(new Dimension(1, Integer.MAX_VALUE));\n\t\treturn(sep_panel);\t\n\t}", "title": "" }, { "docid": "fef7c2eee97bdce04492af0bf3835d68", "score": "0.48839214", "text": "private JMenu createSubMenu() {\r\n final JMenu subMenu = new JMenu(\"Thickness\");\r\n subMenu.setMnemonic(KeyEvent.VK_T);\r\n final JSlider slider = new JSlider(JSlider.HORIZONTAL, \r\n JSLIDER_MIN, JSLIDER_MAX, JSLIDER_DEFAULT);\r\n slider.addChangeListener(new ChangeListener() {\r\n public void stateChanged(final ChangeEvent theEvent) {\r\n final JSlider source = (JSlider) theEvent.getSource();\r\n final int thickness = (int) source.getValue();\r\n myPanel.setThickness(thickness);\r\n }\r\n });\r\n slider.setMajorTickSpacing(JSLIDER_MAJOR_TICK);\r\n slider.setMinorTickSpacing(JSLIDER_MINOR_TICK);\r\n slider.setPaintTicks(true);\r\n slider.setPaintLabels(true);\r\n subMenu.add(slider);\r\n return subMenu;\r\n }", "title": "" }, { "docid": "da1392dd4774c08e10a68759fa13b4ce", "score": "0.48758924", "text": "private LineItem(Builder builder) {\n super(builder);\n }", "title": "" }, { "docid": "f52f4518b4f7c2f0cf0497cb307b7834", "score": "0.4811643", "text": "public interface DividersDrawablesBehavior {\n @Nullable\n Drawable getLeftDivider(int position);\n @Nullable\n Drawable getTopDivider(int position);\n @Nullable\n Drawable getRightDivider(int position);\n @Nullable\n Drawable getBottomDivider(int position);\n}", "title": "" }, { "docid": "87738fd1f72c21d232acf96ebecc4cdd", "score": "0.47987896", "text": "private void createClassicItems(LinearLayout linearLayout) {\n\n\t\tLayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n\n\t\tfloat height = resources.getDimension(R.dimen.bottom_navigation_height);\n\t\tfloat minWidth = resources.getDimension(R.dimen.bottom_navigation_min_width);\n\t\tfloat maxWidth = resources.getDimension(R.dimen.bottom_navigation_max_width);\n\n\t\tif (titleState == TitleState.ALWAYS_SHOW && items.size() > MIN_ITEMS) {\n\t\t\tminWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_min_width);\n\t\t\tmaxWidth = resources.getDimension(R.dimen.bottom_navigation_small_inactive_max_width);\n\t\t}\n\n\t\tint layoutWidth = getWidth();\n\t\tif (layoutWidth == 0 || items.size() == 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tfloat itemWidth = layoutWidth / items.size();\n\t\tif (itemWidth < minWidth) {\n\t\t\titemWidth = minWidth;\n\t\t} else if (itemWidth > maxWidth) {\n\t\t\titemWidth = maxWidth;\n\t\t}\n\n\t\tfloat activeSize = resources.getDimension(R.dimen.bottom_navigation_text_size_active);\n\t\tfloat inactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_inactive);\n\t\tint activePaddingTop = (int) resources.getDimension(R.dimen.bottom_navigation_margin_top_active);\n\n\t\tif (titleActiveTextSize != 0 && titleInactiveTextSize != 0) {\n\t\t\tactiveSize = titleActiveTextSize;\n\t\t\tinactiveSize = titleInactiveTextSize;\n\t\t} else if (titleState == TitleState.ALWAYS_SHOW && items.size() > MIN_ITEMS) {\n\t\t\tactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_active);\n\t\t\tinactiveSize = resources.getDimension(R.dimen.bottom_navigation_text_size_forced_inactive);\n\t\t}\n\n\t\tfor (int i = 0; i < items.size(); i++) {\n\t\t\tfinal boolean current = currentItem == i;\n\t\t\tfinal int itemIndex = i;\n\t\t\tBottomNavigationItem item = items.get(itemIndex);\n\n\t\t\tView view = inflater.inflate(R.layout.bottom_navigation_item, this, false);\n\t\t\tFrameLayout container = (FrameLayout) view.findViewById(R.id.bottom_navigation_container);\n\t\t\tImageView icon = (ImageView) view.findViewById(R.id.bottom_navigation_item_icon);\n\t\t\tTextView title = (TextView) view.findViewById(R.id.bottom_navigation_item_title);\n\t\t\tTextView notification = (TextView) view.findViewById(R.id.bottom_navigation_notification);\n\n\t\t\ticon.setImageDrawable(item.getDrawable(context));\n\t\t\ttitle.setText(item.getTitle(context));\n\n\t\t\tif (titleTypeface != null) {\n\t\t\t\ttitle.setTypeface(titleTypeface);\n\t\t\t}\n\n\t\t\tif (titleState == TitleState.ALWAYS_SHOW && items.size() > MIN_ITEMS) {\n\t\t\t\tcontainer.setPadding(0, container.getPaddingTop(), 0, container.getPaddingBottom());\n\t\t\t}\n\n\t\t\tif (current) {\n\t\t\t\tif (selectedBackgroundVisible) {\n\t\t\t\t\tview.setSelected(true);\n\t\t\t\t}\n\t\t\t\ticon.setSelected(true);\n\t\t\t\t// Update margins (icon & notification)\n\t\t\t\tif (view.getLayoutParams() instanceof MarginLayoutParams) {\n\t\t\t\t\tMarginLayoutParams p = (MarginLayoutParams) icon.getLayoutParams();\n\t\t\t\t\tp.setMargins(p.leftMargin, activePaddingTop, p.rightMargin, p.bottomMargin);\n\n\t\t\t\t\tMarginLayoutParams paramsNotification = (MarginLayoutParams)\n\t\t\t\t\t\t\tnotification.getLayoutParams();\n\t\t\t\t\tparamsNotification.setMargins(notificationActiveMarginLeft, paramsNotification.topMargin,\n\t\t\t\t\t\t\tparamsNotification.rightMargin, paramsNotification.bottomMargin);\n\n\t\t\t\t\tview.requestLayout();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ticon.setSelected(false);\n\t\t\t\tMarginLayoutParams paramsNotification = (MarginLayoutParams)\n\t\t\t\t\t\tnotification.getLayoutParams();\n\t\t\t\tparamsNotification.setMargins(notificationInactiveMarginLeft, paramsNotification.topMargin,\n\t\t\t\t\t\tparamsNotification.rightMargin, paramsNotification.bottomMargin);\n\t\t\t}\n\n\t\t\tif (colored) {\n\t\t\t\tif (current) {\n\t\t\t\t\tsetBackgroundColor(item.getColor(context));\n\t\t\t\t\tcurrentColor = item.getColor(context);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (defaultBackgroundResource != 0) {\n\t\t\t\t\tsetBackgroundResource(defaultBackgroundResource);\n\t\t\t\t} else {\n\t\t\t\t\tsetBackgroundColor(defaultBackgroundColor);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ttitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, current ? activeSize : inactiveSize);\n\n\t\t\tif (itemsEnabledStates[i]) {\n\t\t\t\tview.setOnClickListener(new OnClickListener() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tupdateItems(itemIndex, true);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\ticon.setImageDrawable(Helper.getTintDrawable(items.get(i).getDrawable(context),\n\t\t\t\t\t\tcurrent ? itemActiveColor : itemInactiveColor, forceTint));\n\t\t\t\ttitle.setTextColor(current ? itemActiveColor : itemInactiveColor);\n\t\t\t\tview.setSoundEffectsEnabled(soundEffectsEnabled);\n\t\t\t} else {\n\t\t\t\ticon.setImageDrawable(Helper.getTintDrawable(items.get(i).getDrawable(context),\n\t\t\t\t\t\titemDisableColor, forceTint));\n\t\t\t\ttitle.setTextColor(itemDisableColor);\n\t\t\t}\n\n\t\t\tLayoutParams params = new LayoutParams((int) itemWidth, (int) height);\n\t\t\tlinearLayout.addView(view, params);\n\t\t\tviews.add(view);\n\t\t}\n\n\t\tupdateNotifications(true, UPDATE_ALL_NOTIFICATIONS);\n\t}", "title": "" }, { "docid": "86a174a58bc2bee940a8a44fb69905c4", "score": "0.4790878", "text": "Splitter createSplitter();", "title": "" }, { "docid": "50cd254d1377d5fca28b46535a0a4556", "score": "0.47671026", "text": "public ItemStack generateItem(Material Item, int count) {\n\t\tItemStack item = new ItemStack(Item, count);\n\t\tItemMeta meta = item.getItemMeta();\n\t\t\n\t\tmeta.setDisplayName(this.name);\n\t\tArrayList<String> metalore = new ArrayList<String>();\n\t\tmetalore.add(this.description);\n\t\tmetalore.add(\" \");\n\t\t\n\t\t\n\t\t\tfor (Spell s : getEarlySpells()) {\n\t\t\t\tif (s != null) {\n\t\t\t\tmetalore.add(s.getName() + ChatColor.DARK_PURPLE + \" ~ \" + s.getDescription());\n\t\t\t\t}\n\t\t\t}\n\t\tmeta.addItemFlags(new ItemFlag[] {ItemFlag.HIDE_ATTRIBUTES});\n\t\tmeta.setLore(metalore);\n\t\titem.setItemMeta(meta);\n\t\treturn item;\n\t}", "title": "" }, { "docid": "5da6aab46a3b349749cb3402268f4a22", "score": "0.47572717", "text": "Item() {\n\n }", "title": "" }, { "docid": "bf2ce0b73afc0f1a653159be3eeb3fe9", "score": "0.47132456", "text": "protected DesignItem() {\n }", "title": "" }, { "docid": "67620514985012cf88cb5cdb8a53ae84", "score": "0.4698201", "text": "public String showDivider() {\n return DIVIDER + \"\\n\";\n }", "title": "" }, { "docid": "508b4959758daf08ddfb43de647a08f6", "score": "0.46953928", "text": "private void createItems() {\n\t\tif (items.size() < MIN_ITEMS) {\n\t\t\tLog.w(TAG, \"The items list should have at least 3 items\");\n\t\t} else if (items.size() > MAX_ITEMS) {\n\t\t\tLog.w(TAG, \"The items list should not have more than 5 items\");\n\t\t}\n\n\t\tint layoutHeight = (int) resources.getDimension(R.dimen.bottom_navigation_height);\n\n\t\tremoveAllViews();\n\t\tviews.clear();\n\t\tbackgroundColorView = new View(context);\n\t\tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {\n\t\t\tLayoutParams backgroundLayoutParams = new LayoutParams(\n\t\t\t\t\tViewGroup.LayoutParams.MATCH_PARENT, calculateHeight(layoutHeight));\n\t\t\taddView(backgroundColorView, backgroundLayoutParams);\n\t\t\tbottomNavigationHeight = layoutHeight;\n\t\t}\n\n\t\tlinearLayoutContainer = new LinearLayout(context);\n\t\tlinearLayoutContainer.setOrientation(LinearLayout.HORIZONTAL);\n\t\tlinearLayoutContainer.setGravity(Gravity.CENTER);\n\n\t\tLayoutParams layoutParams = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, layoutHeight);\n\t\taddView(linearLayoutContainer, layoutParams);\n\n\t\tif (titleState != TitleState.ALWAYS_HIDE &&\n\t\t\t\t(items.size() == MIN_ITEMS || titleState == TitleState.ALWAYS_SHOW)) {\n\t\t\tcreateClassicItems(linearLayoutContainer);\n\t\t} else {\n\t\t\tcreateSmallItems(linearLayoutContainer);\n\t\t}\n\n\t\t// Force a request layout after all the items have been created\n\t\tpost(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\trequestLayout();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "c20c2702cdfd7e88fef298b23b0a0d3b", "score": "0.4680622", "text": "private void initializeItem() {\n item = new JPanel(new GridLayout(1,5));\n item.setMinimumSize(new Dimension(CartTable.MIN_ITEM_WIDTH,CartTable.ITEM_HEIGHT));\n item.setMaximumSize(new Dimension(CartTable.MAX_ITEM_WIDTH,CartTable.ITEM_HEIGHT));\n item.setPreferredSize(new Dimension(CartTable.PREFERRED_ITEM_WIDTH,CartTable.ITEM_HEIGHT));\n item.setBackground(backgroundColor);\n }", "title": "" }, { "docid": "e510838f205c4a4f7cbd0ebec4b046b4", "score": "0.46797687", "text": "protected int create() {\r\n\t\tfor (int i = 0; i < 24; i++) {\r\n\t\t\tenterDisplayElement(new HorStripedBar(Color1));\r\n\t\t}\r\n\t\tfor (int i = 0; i < 24; i++) {\r\n\t\t\tenterDisplayElement(new VerStripedBar(Color1));\r\n\t\t}\r\n\t\ts1 = enterDisplayElement(new Bar(Color1));\r\n\t\treturn (s1);\r\n\t}", "title": "" }, { "docid": "80ce903d734b2d838795fa299ea03eb7", "score": "0.46786585", "text": "public BSItem() {\r\n \r\n }", "title": "" }, { "docid": "70b3761797e64d0008340ab5d8e673a4", "score": "0.46705323", "text": "public Container addItem(Produit p , Resources theme ) {\n Container cnt2 = new Container(BoxLayout.y());\n Label lnom = new Label(p.getNom_prod());\n String id= String.valueOf(p.getRef_prod());\n Label lid = new Label(id);\n //lnom.setAlignment(CENTER);\n \n \n /************************************************/\n \n return cnt2;\n \n }", "title": "" }, { "docid": "3a4cff072a87426c0d5b19028c557cf0", "score": "0.46685842", "text": "@Override\n public View newView(Context context, Cursor cursor, ViewGroup parent) {\n return mInflater.inflate(android.R.layout.two_line_list_item, null);\n }", "title": "" }, { "docid": "cda9cfbc2b33af198f5afdfe1cdae467", "score": "0.4662924", "text": "@NonNull\n @Override\n public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int i) {\n View itemView = LayoutInflater.from(context).inflate(R.layout.sell_item_list, parent, false);\n return new ViewHolder(itemView);\n }", "title": "" }, { "docid": "5d6b157cdffaba3ea8770aae71af3231", "score": "0.46577024", "text": "@Override\r\n public MenuItem createMenuItem(Double price, String name) throws Exception {\r\n assert price >= 0 && !name.isEmpty(); // preconditie\r\n\r\n for (MenuItem item: this.items) {\r\n if (item.getName().equals(name)) {\r\n throw new Exception(\"Name need to be unique\");\r\n }\r\n }\r\n\r\n MenuItem menuItem = new BaseProduct(price, name);\r\n items.add(menuItem);\r\n return menuItem;\r\n }", "title": "" }, { "docid": "00febcaeb64f529077475665e7c5d13d", "score": "0.46568766", "text": "@Override\n\t\tprotected OverlayItem createItem(int i) {\n\t\t\treturn (items.get(i));\n\t\t}", "title": "" }, { "docid": "733b2e5ecb2e87121311c6be82d726e3", "score": "0.46538356", "text": "Division createDivision();", "title": "" }, { "docid": "25a9e070ae53b4a2ee14cac356732d39", "score": "0.46267563", "text": "@Override\n protected Group createNode() {\n return generateLines(generateTiles(new Group()));\n }", "title": "" }, { "docid": "20c7756b1da08745b1848cdb9e91cdcc", "score": "0.4625893", "text": "@Override\r\n\tprotected OverlayItem createItem(int i) {\n\t\treturn items.get(i);\r\n\t}", "title": "" }, { "docid": "0c146d990724c51864462b19859017bb", "score": "0.46196595", "text": "public TitledSeparator() {\r\n\t\tthis(\"Title\", SwingConstants.LEFT);\r\n\t}", "title": "" }, { "docid": "6e210b80b08fd81c7af0a4ba24d5ff2f", "score": "0.46086058", "text": "protected String getItemSeparator() {\n return SEPARATOR;\n }", "title": "" }, { "docid": "5caa567de05cbff86b9b757ebd263d4a", "score": "0.45932594", "text": "public SoTransformSeparator()\n //\n ////////////////////////////////////////////////////////////////////////\n {\n\t super();\t \n nodeHeader.SO_NODE_CONSTRUCTOR(/*SoTransformSeparator.class*/); \n isBuiltIn = true;\n }", "title": "" }, { "docid": "fb3cb2655a84b8c18831e3ded05425c0", "score": "0.4592286", "text": "@Override\n protected BaseRecycleViewHolder setHolder(View view, int ItemType) {\n return new mHolder(view);\n }", "title": "" }, { "docid": "9b401c7d6333a3f64e188bb4568f3cd8", "score": "0.45902565", "text": "public void lineDivider(){\n\t\tfor(int i=0; i<39; i++){\n\t\t\tSystem.out.print(\"-\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "title": "" }, { "docid": "4dc37e4039489d858dfcccaa985562e9", "score": "0.45886153", "text": "private void createIntervalLines(Drawing d, int intervals, double start, double spaceBetween, int middle, boolean isHorisontal) {\n start += spaceBetween;\n while (intervals > 0) {\n SVGFigure line;\n if (isHorisontal) {\n line = new SVGRectFigure(start, middle, 0, lineSize);\n }\n else {\n line = new SVGRectFigure(middle, start, lineSize, 0);\n }\n d.add(line);\n FILL_COLOR.set(line, null);\n STROKE_WIDTH.set(line, strokeSize);\n STROKE_COLOR.set(line, Color.black);\n start += spaceBetween;\n intervals--;\n }\n }", "title": "" }, { "docid": "af4dc98f05ef259e0f71435150b32ee4", "score": "0.4584872", "text": "public BlankItem() {\n super();\n setMoveImpactMod(MOVE_IMPACT_MOD);\n setNightImpactMod(NIGHT_IMPACT_MOD);\n setName(\"Nothing\");\n setActualSite(new JLabel());\n }", "title": "" }, { "docid": "44032ddf2070d7f760b5ea67e663c2d7", "score": "0.45800573", "text": "public ItemFragment() {\n }", "title": "" }, { "docid": "6ca3d96fc8f33a9a227079bc3e527ec3", "score": "0.45734593", "text": "public PowerupItem createObject() {\n\n\t\tdouble rand = Math.random();\n\t\tdouble underLevel = 1 / 3.0;\n\t\tdouble middleLevel = 2 / 3.0;\n\n\t\tif (Double.compare(underLevel, rand) >= 0) {\n\t\t\treturn new SpeedUpdateItem();\n\t\t} else if (Double.compare(rand, underLevel) >= 0\n\t\t\t\t&& Double.compare(middleLevel, rand) >= 0) {\n\t\t\treturn new BombStackUpdateItem();\n\t\t} else {\n\t\t\treturn new RangeUpdateItem();\n\t\t}\n\t}", "title": "" }, { "docid": "f803d59d0026d78b261132a44790e931", "score": "0.4569537", "text": "private void createSeparator(JLabel label) {\r\n\t\tremoveAll();\r\n\t\tsetOpaque(false);\r\n\r\n\t\tadd(label);\r\n\t\tadd(new JSeparator());\r\n\r\n\t\tif (label != null && label.getHorizontalAlignment() == SwingConstants.CENTER) {\r\n\t\t\tadd(new JSeparator());\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ed9defd89eecae03df473ad33c7a8a5f", "score": "0.45647877", "text": "public String createItemSplit(String ownerNickName,int ownerId, String label, Item[] items,StoreOwner receiver) {\n String splitCode = SplitUtilities.generateCode();\n ItemSplit split = new ItemSplit(splitCode,ownerId, ownerNickName,label,items,receiver);\n splits.put(split.getSplitCode(),split);\n return splitCode;\n }", "title": "" }, { "docid": "ca9a781a280ab4258a59611b8cda1be0", "score": "0.45459846", "text": "ItemLine addItem(String itemString){\n String itemSplit[] = itemString.split(\"\\\\s{2,}\");\n if(itemSplit.length==2){\n return new ItemLine(itemSplit[0], Integer.parseInt(itemSplit[1]));\n }else{\n return new ItemLine(itemSplit[0], 1);\n } \n }", "title": "" }, { "docid": "0c2f91d87be89f3810ee7380b0d27a69", "score": "0.45325154", "text": "public Spider() {\r\n\t\tsuper(ColorUtil.BLACK, new Random().nextInt(maxSize - minSize) + minSize, random.nextInt(25), random.nextInt(360));\r\n\t}", "title": "" }, { "docid": "d8da4071ce720f6c7c7bbb25a83eb268", "score": "0.45256436", "text": "public EntityListDivider(Context context, final List<?> list) {\n super(new PaddingDividerItemDecoration.SimpleCallBack(context, context) {\n /* class com.coolapk.market.view.cardlist.EntityListDivider.AnonymousClass1 */\n final /* synthetic */ Context $context;\n\n {\n this.$context = r2;\n }\n\n /* JADX DEBUG: Multi-variable search result rejected for r7v2, resolved type: java.lang.Object */\n /* JADX WARN: Multi-variable type inference failed */\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getDividerHeight(int i) {\n Integer entityFixed;\n Object obj = list.get(i);\n Entity entity = null;\n if (!(obj instanceof Entity)) {\n obj = null;\n }\n Entity entity2 = (Entity) obj;\n boolean z = true;\n Object orNull = CollectionsKt.getOrNull(list, i + 1);\n if (orNull != 0) {\n if (orNull instanceof Entity) {\n entity = orNull;\n }\n entity = entity;\n }\n if (entity2 == null || entity == null) {\n return 0;\n }\n int cardDividerBottom = EntityExtendsKt.getCardDividerBottom(entity2);\n int cardDividerTop = EntityExtendsKt.getCardDividerTop(entity);\n if (cardDividerBottom != Integer.MIN_VALUE) {\n return cardDividerBottom;\n }\n if (cardDividerTop != Integer.MIN_VALUE) {\n return cardDividerTop;\n }\n if ((entity2 instanceof HolderItem) || (entity instanceof HolderItem)) {\n return 0;\n }\n Integer entityFixed2 = entity2.getEntityFixed();\n if ((entityFixed2 != null && entityFixed2.intValue() == 1 && (entityFixed = entity.getEntityFixed()) != null && entityFixed.intValue() == 1) || Intrinsics.areEqual(entity2.getEntityTemplate(), \"refreshCard\") || Intrinsics.areEqual(entity.getEntityTemplate(), \"refreshCard\")) {\n return 0;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"imageTextCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"imageTextCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"iconLargeScrollCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"iconLargeScrollCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"headCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"headCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"feedListCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"feedListCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"titleCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"smallFeedRating\")) {\n return 0;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"titleCard\")) {\n String description = entity2.getDescription();\n if (!(description == null || description.length() == 0)) {\n z = false;\n }\n if (!z) {\n return this.m8dp;\n }\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"iconTabLinkGridCard\") || Intrinsics.areEqual(entity2.getEntityTemplate(), \"titleCard\")) {\n return 0;\n }\n if (Intrinsics.areEqual(entity2.getEntityType(), \"feed\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityType(), \"feed\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"feedReplyCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"feedReplyCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"albumExpandCard\")) {\n return this.m12dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"albumExpandCard\")) {\n return this.m12dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"feedCoolPictureGridCard\") || Intrinsics.areEqual(entity.getEntityTemplate(), \"feedCoolPictureGridCard\")) {\n return 0;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"articleListCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"articleListCard\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"dyhArticle\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"dyhArticle\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"articleFeed\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"articleFeed\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"articleNews\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"articleNews\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity.getEntityTemplate(), \"articleItem\")) {\n return this.m8dp;\n }\n if (Intrinsics.areEqual(entity2.getEntityTemplate(), \"articleItem\")) {\n return this.m8dp;\n }\n return this.m1dp;\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getFirstHeight() {\n Object orNull = CollectionsKt.getOrNull(list, 0);\n if (!(orNull instanceof Entity)) {\n orNull = null;\n }\n Entity entity = (Entity) orNull;\n if (entity == null) {\n return 0;\n }\n int cardDividerTop = EntityExtendsKt.getCardDividerTop(entity);\n if (cardDividerTop != Integer.MIN_VALUE) {\n return cardDividerTop;\n }\n return 0;\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getLastHeight() {\n List list = list;\n Object orNull = CollectionsKt.getOrNull(list, CollectionsKt.getLastIndex(list));\n if (!(orNull instanceof Entity)) {\n orNull = null;\n }\n Entity entity = (Entity) orNull;\n if (entity == null) {\n return 0;\n }\n int cardDividerBottom = EntityExtendsKt.getCardDividerBottom(entity);\n if (cardDividerBottom != Integer.MIN_VALUE) {\n return cardDividerBottom;\n }\n return 0;\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getItemCount() {\n return list.size();\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public boolean hasPadding(int i) {\n return i != getItemCount() - 1 && getDividerHeight(i) == this.m1dp;\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getPaddingLeft() {\n return this.m12dp;\n }\n\n @Override // com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.SimpleCallBack, com.coolapk.market.widget.decoration.PaddingDividerItemDecoration.CallBack\n public int getPaddingRight() {\n return this.m12dp;\n }\n });\n Intrinsics.checkNotNullParameter(context, \"context\");\n Intrinsics.checkNotNullParameter(list, \"dataList\");\n this.dataList = list;\n }", "title": "" }, { "docid": "9aa562a31530580a3d5d54f6e6a71510", "score": "0.45176122", "text": "private JPanel newLine(Component c) {\n\t\t\n\t\tJPanel jp = new JPanel();\n\t\tjp.setLayout(new BoxLayout(jp, BoxLayout.X_AXIS));\n\t\tjp.add(Box.createHorizontalGlue());\n\t\tjp.add(c);\n\t\tjp.add(Box.createHorizontalGlue());\n\t\tjp.setOpaque(false);\n\t\t\n\t\treturn jp;\n\t}", "title": "" }, { "docid": "0611edf6b64ec28a8ac3d7348cc745cb", "score": "0.4505255", "text": "public Item getItem(boolean pretty){\n Item i = new CustomItemBlockSpawnerWithLevelBlock(SpawnerType.getID());\n// i.setNamedTag(new CompoundTag().putInt(\"TYPE\",getSpawnerType().getID()));\n// i.setCustomName(b.getName());\n if(pretty)return i;\n i.setLore(TextFormat.AQUA+\"Spawner Type: \"+TextFormat.GREEN+i.getBlock().getName(),\n TextFormat.AQUA+\"Spawner Price: \"+TextFormat.GREEN+Price,\n TextFormat.AQUA+\"Level Price: \"+TextFormat.GREEN+LevelPrice,\n TextFormat.AQUA+\"XP Price: \"+TextFormat.GREEN+XPPrice,\n TextFormat.DARK_GRAY+\"type: \"+getSpawnerType().name()\n );\n return i.clone();\n }", "title": "" }, { "docid": "df1afc7e00bb2952285020f23b4e8f4b", "score": "0.44998148", "text": "private static ItemType buildItem() throws IOException {\n\t\tString input;\n\t\tItemType item = new ItemType();\n\n\t\t// item title\n\t\titem.setTitle(ConsoleUtil.readString(\"Title: \"));\n\t\t// item description\n\t\titem.setDescription(ConsoleUtil.readString(\"Description: \"));\n\n\t\t// listing type\n\t\titem.setListingType(ListingTypeCodeType.FIXED_PRICE_ITEM);\n\t\t// listing price\n\t\titem.setCurrency(CurrencyCodeType.USD);\n\n\t\t// listing duration\n\t\titem.setListingDuration(ListingDurationCodeType.DAYS_3.value());\n\n\t\t// item location and country\n\t\titem.setLocation(ConsoleUtil.readString(\"Location: \"));\n\t\titem.setCountry(CountryCodeType.US);\n\n\t\t// listing category\n\t\tCategoryType cat = new CategoryType();\n\t String inputString = \"Primary Category (e.g.\";\n\t for(String catId : sampleCatIDSet) {\n\t \t inputString = inputString + \",\" + catId;\n\t }\n\t inputString += \"): \";\n\t String catID = ConsoleUtil.readString(inputString);\n\t\tcat.setCategoryID(catID);\n\t\titem.setPrimaryCategory(cat);\n\t\t\n\t\t// item condition, New\n\t\titem.setConditionID(1000);\n\n\t\t// item variations\n\t\tif (sampleCatIDSet.contains(catID)) {\n\t\t\titem.setVariations(buildVariationsType());\n\t\t} else {\n\t\t\tAmountType startPrice = new AmountType();\n\t\t\tstartPrice.setCurrencyID(CurrencyCodeType.USD);\n\t\t\tstartPrice.setValue(10.0);\n\t\t\titem.setStartPrice(startPrice);\n\t\t}\n\n\t\t/*\n\t\t * The Business Policies API and related Trading API fields are\n\t\t * available in sandbox. It will be available in production for a\n\t\t * limited number of sellers with Version 775. 100 percent of sellers\n\t\t * will be ramped up to use Business Polcies in July 2012\n\t\t */\n\t\t //Create Seller Profile container\n\t SellerProfilesType sellerProfile=new SellerProfilesType();\n\t \n\t //Set payment ProfileId\n\t input = ConsoleUtil.readString(\"Enter your Seller Policy Payment ProfileId : \");\n\t SellerPaymentProfileType sellerPaymentProfile=new SellerPaymentProfileType();\n\t sellerPaymentProfile.setPaymentProfileID(Long.valueOf(input));\n\t sellerProfile.setSellerPaymentProfile(sellerPaymentProfile); \n\t \n\t //Set Shipping ProfileId\n\t\t SellerShippingProfileType sellerShippingProfile=new SellerShippingProfileType();\n\t input = ConsoleUtil.readString(\"Enter your Seller Policy Shipping ProfileId : \");\n\t sellerShippingProfile.setShippingProfileID(Long.valueOf(input));\n\t sellerProfile.setSellerShippingProfile(sellerShippingProfile);\n\t \n\t //Set Return Policy ProfileId\n\t\t SellerReturnProfileType sellerReturnProfile=new SellerReturnProfileType();\n\t\t input = ConsoleUtil.readString(\"Enter your Seller Policy Return ProfileId : \");\n\t\t sellerReturnProfile.setReturnProfileID(Long.valueOf(input));\n\t\t sellerProfile.setSellerReturnProfile(sellerReturnProfile);\n\t\t \n\t\t//Add Seller Profile to Item\n\t item.setSellerProfiles(sellerProfile);\n\t \n\t\treturn item;\n\t}", "title": "" }, { "docid": "c061d23d8cef719b1776526f9c493195", "score": "0.4497336", "text": "private Node buildVBox(Node upperItem, Node lowerItem, int spacing) {\n\t\tVBox vbox = new VBox(upperItem, lowerItem);\n\t\tvbox.setAlignment(Pos.CENTER);\n\t\tvbox.setSpacing(spacing);\n\t\treturn vbox;\n\t}", "title": "" }, { "docid": "aa09ff48343e97c16bb0e6b1bdf3d8fb", "score": "0.44903398", "text": "public ItemPage(Item item)\r\n\t{\r\n\t\tlblName = new Label(item.getName());\r\n\t\t\r\n\t\timgVw = new ImageView(new Image(\"cs317/project/mhw/ui/img/unknown.png\", 50, 50, true, false));\r\n\t\t\r\n\t\tString itemInfo =\r\n\t\t\t\t\"Capacity: \" + item.getCapacity() +\"\\n\\n\"\r\n\t\t\t\t+ item.getDescription();\r\n\t\t\r\n\t\tsetupItemView(itemInfo);\r\n\t}", "title": "" }, { "docid": "e02b81da8f466d0ef5986bde43670005", "score": "0.44899106", "text": "private void addSeparator(Composite parentComp) {\n GridLayout gl = (GridLayout) parentComp.getLayout();\n\n GridData gd = new GridData(SWT.FILL, SWT.DEFAULT, true, false);\n gd.horizontalSpan = gl.numColumns;\n Label sepLbl = new Label(parentComp, SWT.SEPARATOR | SWT.HORIZONTAL);\n sepLbl.setLayoutData(gd);\n }", "title": "" }, { "docid": "6477fa63cca56320f4b519b706e177c6", "score": "0.44884458", "text": "public Floor(Item item) {\n\t\tthis.item = item;\n\t}", "title": "" }, { "docid": "48ed109759366e87ec49f7a23dfae18b", "score": "0.44876233", "text": "protected JPanel newPanel()\n {\n // GridLayout2 flexilayout = new GridLayout2(0,4,2,10);\n\n //FlexiGridLayout flexilayout = new FlexiGridLayout(4);\n // flexilayout.setHGap(2);\n // flexilayout.setVGap(10);\n\n // JPanel panel = new JPanel(flexilayout);\n // panel.setBorder(BorderFactory.createEmptyBorder(10,5,5,5));\n // return panel;\n\n JPanel panel = new JPanel(new GridBagLayout());\n panel.setBorder(BorderFactory.createEmptyBorder(10,5,5,5));\n return panel;\n }", "title": "" }, { "docid": "9b5fac749c3eb0506b27a9288623d799", "score": "0.44855377", "text": "private static void createItem() {\n //creating the item and what it appears as and amount\n ItemStack item = new ItemStack(Material.NETHER_STAR, 1);\n //modifying the meta of the item\n ItemMeta meta = item.getItemMeta();\n //modifying display name\n meta.setDisplayName(\"§4DisplayName\");\n //modifying lore\n List<String> lore = new ArrayList<>();\n lore.add(\"§bLore\");\n meta.setLore(lore);\n //adding enchantments\n meta.addEnchant(Enchantment.LUCK, 10, true);\n meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);\n //setting the meta to this item\n item.setItemMeta(meta);\n //setting the class variable testitem to the item in this function\n testitem = item;\n\n //Example of a shared recipe - a recipe with a defined shape in a crafting table\n ShapedRecipe sr = new ShapedRecipe(NamespacedKey.minecraft(\"item\"),item);\n sr.shape(\"III\",\"IDI\",\"III\");\n sr.setIngredient('I',Material.IRON_INGOT);\n sr.setIngredient('D', Material.DIAMOND);\n Bukkit.getServer().addRecipe(sr);\n\n //Example of a shapeless recipe - recipe without much shape\n ShapelessRecipe s = new ShapelessRecipe(NamespacedKey.minecraft(\"shapeless_item\"), item);\n s.addIngredient(2, Material.BLAZE_POWDER);\n Bukkit.getServer().addRecipe(s);\n\n //example of a furnace recipe\n FurnaceRecipe smelt = new FurnaceRecipe(NamespacedKey.minecraft(\"item_smelt\"), item , Material.EMERALD , 1.0f,1*20);\n Bukkit.getServer().addRecipe(smelt);\n\n\n }", "title": "" }, { "docid": "22ec7601336a096809a80bcc4caaa1ba", "score": "0.44829768", "text": "public ItemArmorSpider(int type, String name)\n/* 19: */ {\n/* 20:21 */ super(ItemArmorBase.TURTLE, type);\n/* 21:22 */ this.type = type;\n/* 22:23 */ this.name = name;\n/* 23:24 */ setEpic();\n/* 24: */ }", "title": "" }, { "docid": "774c24d40876224b78fc369216924e27", "score": "0.44714367", "text": "private static Menu convertLineToItem(String line) {\n String[] parts = line.split(\", \");\n Menu item = new Menu();\n item.setName(parts[0]);\n item.setPrice(Double.parseDouble(parts[1]));\n return item;\n }", "title": "" }, { "docid": "4636e506448d5bc72587c2fef636f7bf", "score": "0.4464724", "text": "public Create_Items() {\n initComponents();\n displayMenu();\n }", "title": "" }, { "docid": "7eb6271fb1245ef4a73b957f169100f0", "score": "0.44633058", "text": "private void genereteDataList(List<ModelData> dataList) {\n recyclerView = findViewById(R.id.recycle);\n adapterData = new CostumAdapter(this, dataList);\n RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(MainActivity.this);\n recyclerView.setLayoutManager(layoutManager);\n recyclerView.setAdapter(adapterData);\n\n //Membuat Underline pada Setiap Item Didalam List\n DividerItemDecoration itemDecoration = new DividerItemDecoration(getApplicationContext(), DividerItemDecoration.VERTICAL);\n itemDecoration.setDrawable(ContextCompat.getDrawable(getApplicationContext(), R.drawable.line));\n recyclerView.addItemDecoration(itemDecoration);\n }", "title": "" }, { "docid": "6ab274a723f402095df6ecd95fe8276a", "score": "0.44625625", "text": "public HBox displayItemBox(ArrayList<ItemOnMenu> list, int i)\n {\n Label itemNameLabel = new Label();\n itemNameLabel.setText(list.get(i).getName());\n itemNameLabel.setPrefWidth(375);\n itemNameLabel.setId(\"headerItem\");\n\n Label itemPriceLabel = new Label();\n itemPriceLabel.setText(String.format(\"$%8.2f\",list.get(i).getPrice()));\n itemPriceLabel.setId(\"headerItem\");\n\n //create HBox for name and price\n HBox itemNamePrice = new HBox (itemNameLabel, itemPriceLabel);\n itemNamePrice.setSpacing(100);\n\n ImageView itemPicture = new ImageView(list.get(i).getImage());\n itemPicture.setFitWidth(125);\n itemPicture.setPreserveRatio(true);\n\n Label itemDescriptionLabel = new Label();\n itemDescriptionLabel.setText(list.get(i).getDescription());\n itemDescriptionLabel.setPrefWidth(400);\n itemDescriptionLabel.setWrapText(true);\n itemDescriptionLabel.setId(\"description\");\n\n\n VBox itemDescBox = new VBox(itemDescriptionLabel);\n itemDescBox.setAlignment(Pos.CENTER);\n\n //create HBox for name and price\n HBox itemPicDesc = new HBox (itemPicture, itemDescBox);\n itemPicDesc.setSpacing(20);\n\n VBox itemInfo = new VBox();\n itemInfo.getChildren().addAll(itemNamePrice,\n itemPicDesc);\n itemInfo.setPrefWidth(575);\n\n Spinner quantity = createASpinner();\n\n VBox orderQtyBox = new VBox();\n orderQtyBox.getChildren().add(quantity);\n orderQtyBox.setAlignment(Pos.CENTER);\n\n Button clearField = clearItemButton();\n\n VBox itemActionsBox = new VBox();\n itemActionsBox.getChildren().addAll(clearField);\n itemActionsBox.setAlignment(Pos.CENTER);\n itemActionsBox.setSpacing(10);\n\n HBox itemBox = new HBox();\n itemBox.getChildren().addAll(itemInfo, orderQtyBox, itemActionsBox);\n\n itemBox.setSpacing(25);\n \n //make order list when spinner is clicked\n quantity.setOnMouseClicked(event -> \n {\n order.makeOrderList();\n \n createItemsInOrderDisplay();\n });\n \n \n //create Button Action for Items\n clearField.setOnAction(event -> \n {\n order.removeFromOrder(list.get(i), Integer.parseInt(quantity.getEditor().getText()));\n calcTotalLabel.setText(String.format(\"%8.2f\", order.calculateOrderTotal()));\n calcTaxLabel.setText(String.format(\"%8.2f\",order.calculateTaxAmount()));\n calcDeliveryFeeLabel.setText(String.format(\"%8.2f\",\n order.calculateDeliveryFeeAmount()));\n calcFinalTotalLabel.setText(String.format(\"%8.2f\",\n order.calculateFinalTotal()));\n\n order.makeOrderList();\n \n createItemsInOrderDisplay();\n\n quantity.getValueFactory().setValue(0);\n });\n \n //listener for value change in spinner\n quantity.valueProperty().addListener((ObservableValue o, \n Object oldValue, Object newValue) -> {\n int oldQty= Integer.parseInt(oldValue.toString());\n int newQty= Integer.parseInt(newValue.toString());\n \n if (newQty > oldQty)\n {\n \n order.addToOrder(list.get(i), 1);\n calcTotalLabel.setText(String.format(\"%8.2f\", \n order.calculateOrderTotal()));\n calcTaxLabel.setText(String.format(\"%8.2f\",\n order.calculateTaxAmount()));\n calcDeliveryFeeLabel.setText(String.format(\"%8.2f\",\n order.calculateDeliveryFeeAmount()));\n calcFinalTotalLabel.setText(String.format(\"%8.2f\",\n order.calculateFinalTotal()));\n }\n \n else\n {\n order.removeFromOrder(list.get(i), 1);\n calcTotalLabel.setText(String.format(\"%8.2f\", \n order.calculateOrderTotal()));\n calcTaxLabel.setText(String.format(\"%8.2f\",\n order.calculateTaxAmount()));\n calcDeliveryFeeLabel.setText(String.format(\"%8.2f\",\n order.calculateDeliveryFeeAmount()));\n calcFinalTotalLabel.setText(String.format(\"%8.2f\",\n order.calculateFinalTotal()));\n }\n \n //disable checkout and edit existing order buttons if order is empty\n if(order.getOrderItems().isEmpty())\n {\n checkOut.setDisable(true);\n editExistingOrder.setDisable(true);\n }\n \n else\n {\n checkOut.setDisable(false);\n editExistingOrder.setDisable(false);\n }\n });\n \n //return item box\n return itemBox;\n }", "title": "" }, { "docid": "064b4156018178f1b2efb068db8bef17", "score": "0.4459314", "text": "public MultiBlockTooltipBuilder addSeparator() {\n\t\tiLines.add(\"-----------------------------------------\");\n\t\treturn this;\n\t}", "title": "" }, { "docid": "85eb298c2140c84926541aa12b938a32", "score": "0.4448583", "text": "protected abstract View createItemView(int position, ViewGroup parent);", "title": "" }, { "docid": "bc6f8c6e428f02e19012afb806006d3a", "score": "0.44427842", "text": "public static void setDividerLocation(int dividerLocation)\r\n\t{\r\n\t\tString key = \"Divider\";\r\n\t\tString value = String.valueOf(dividerLocation);\r\n\t\ts_prop.put(key, value);\r\n\t}", "title": "" }, { "docid": "1f015f0c1af8f7a0dac465ad1bc0c9e4", "score": "0.44399562", "text": "protected JMenu createMenu(String key) {\r\n\t\tString[] itemKeys = tokenize(getResourceString(key));\r\n\t\tJMenu menu = new JMenu(getResourceString(key + \"Label\"));\r\n\t\tfor (int i = 0; i < itemKeys.length; i++) {\r\n\t\t\tif (itemKeys[i].equals(\"-\")) {\r\n\t\t\t\tmenu.addSeparator();\r\n\t\t\t} else {\r\n\t\t\t\tJMenuItem mi = createMenuItem(itemKeys[i]);\r\n\t\t\t\tmenu.add(mi);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn menu;\r\n\t}", "title": "" }, { "docid": "14b2aaba6e0a00971832253ca82f5acb", "score": "0.44339544", "text": "public SpacerWidget() {\r\n SimplePanel panel = new SimplePanel();\r\n panel.getElement().setId(\"panel_SimplePanel\");\r\n panel.setHeight(\"10px\");\r\n initWidget(panel);\r\n }", "title": "" }, { "docid": "f1b5a23ade06d1a3435298c9b46ca418", "score": "0.44228184", "text": "@Override\n public Object instantiateItem(ViewGroup container, int position) {\n layoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);\n View view = layoutInflater.inflate(layouts[position], container, false);\n container.addView(view);\n return view;\n }", "title": "" }, { "docid": "cb48d75087dde3a7be371cab9216c2da", "score": "0.44216776", "text": "protected int create() {\r\n\t\ts1 = enterDisplayElement(new Bar(Color1), group[0]);\r\n\t\ts2 = enterDisplayElement(new Bar(Color2));\r\n\t\ts3 = enterDisplayElement(new Oval(Color3));\r\n\t\treturn (s3);\r\n\t}", "title": "" }, { "docid": "61ccf433a6e848ad72564fc1bf7514f5", "score": "0.4417051", "text": "public HorizontalStepper() {\n this(new ArrayList<>());\n }", "title": "" }, { "docid": "529fd5bc742d052d6c2f684932b210f1", "score": "0.440517", "text": "public ListItem() {\n }", "title": "" }, { "docid": "1e9baeeeded058c953a6d9ff6337b525", "score": "0.44024107", "text": "private static MultiPath create(final MultiPath path,\n final double w,\n final double h) {\n LienzoPaths.rectangle(path,\n w,\n h,\n 0.0);\n path.setFillColor(ColorName.LIME);\n return path;\n }", "title": "" }, { "docid": "ffba30da9a8a7257a313cc3e18ec90da", "score": "0.44015425", "text": "@Override\n protected void createComponents() {\n super.createComponents();\n setSynth(new BasslineSynthComponent(this));\n setVolume(new VolumeComponent(this));\n setDistortion(new BasslineDistortionUnit(this));\n setLFO1(new BasslineLFO1(this));\n setFilter(new BasslineFilter(this));\n setOsc1(new BasslineOSC1(this));\n }", "title": "" }, { "docid": "850dc25206b19e5764df45d9dbc5131d", "score": "0.4398225", "text": "protected OverlayItem createItem(int i) {\n\t\treturn l.get(i);\n\t}", "title": "" }, { "docid": "a89016a86c64a2f961d559f6611f70a6", "score": "0.43970138", "text": "private Component midLPanel() {\n\t\tint x10 = (int) Math.round(w * 0.008);\n\t\tmidLPanel = new JPanel();\n\t\tmidLPanel.setPreferredSize(new Dimension((int) (w * 0.14), (int) (h * 0.61)));\n\t\tmidLPanel.setLayout(new GridLayout(10, 1));\n\t\tmidLPanel.setBackground(vlgreen);\n\n\t\tJPanel bar = new JPanel();\n\t\tbar.setPreferredSize(new Dimension((int) (w * 0.14), (int) (h * 0.044)));\n\t\tbar.setBackground(vlgreen);\n\t\tbar.setLayout(new FlowLayout(0, x10, 0));\n\n\t\tprogressBar = new JProgressBar(JProgressBar.HORIZONTAL, 0, 100); \n\t\tprogressBar.setBackground(vlgreen);\n\t\tprogressBar.setForeground(greend1);\n\t\tprogressBar.setBorder(AuthorizationManager2.border);\n\n\t\tbar.add(progressBar);\n\n\t\tString[] labelText = { \" Id\", \" Username:\", \" \", \" Start-date:\", \" End-date:\", \" Valid: \",\n\t\t\t\t\" Blocked:\", \" Auth-level: \", \" \" };\n\n\t\tfor (int i = 0; i < 9; i++) {\n\t\t\tlabel = new JLabel(labelText[i]);\n\t\t\tlabel.setFont(AuthorizationManager2.font18);\n\t\t\tlabel.setForeground(greend1);\n\t\t\tmidLPanel.add(label);\n\t\t}\n\n\t\tmidLPanel.add(bar);\n\n\t\treturn midLPanel;\n\t}", "title": "" }, { "docid": "e2d1d60b3d0a935411a4cc81212b2d7c", "score": "0.43938103", "text": "public HBox menuItemHBox() {\n HBox quantity = createQuanityHBox();\n\n // Create labels for name and price\n Label name = new Label(this.name);\n Label price = new Label(String.format(\"%.2f\", this.price));\n\n HBox leftHBox = new HBox(10);\n HBox rightHBox = new HBox(10);\n HBox itemHBox = new HBox(30);\n\n // Add quanity and name to leftHBox and position left\n leftHBox.getChildren().addAll(quantity, name);\n leftHBox.setAlignment(Pos.CENTER_LEFT);\n leftHBox.setMargin(quantity, new Insets(0, 0, 0, 10));\n\n // Add price to rightHBox and position right\n rightHBox.getChildren().addAll(price);\n rightHBox.setAlignment(Pos.CENTER_RIGHT);\n\n // Add leftHBox and rightHBox to itemHBox\n itemHBox.getChildren().addAll(leftHBox, rightHBox);\n\n // Position price all the way to the right\n itemHBox.setHgrow(rightHBox, Priority.ALWAYS);\n\n return itemHBox;\n }", "title": "" }, { "docid": "4cebcabc7c0f94e1f5d1c17fa55e133f", "score": "0.43874797", "text": "public LcdImageLine build() {\n BitVector m = msb.build();\n BitVector l = lsb.build();\n BitVector opacity = m.or(l);\n return new LcdImageLine(m, l, opacity);\n }", "title": "" }, { "docid": "7fc5b5b9041e1843c1f6fe38a21d9674", "score": "0.4380461", "text": "private HorizontalStepper(StepIterator stepIterator, LabelProvider labelProvider) {\n super(stepIterator, labelProvider);\n\n addStepperCompleteListener(this);\n getStepIterator().addElementAddListener(this);\n getStepIterator().addElementRemoveListener(this);\n\n this.labelBar = new HorizontalLayout();\n this.labelBar.setDefaultComponentAlignment(Alignment.MIDDLE_LEFT);\n this.labelBar.setWidth(100, Unit.PERCENTAGE);\n this.labelBar.addStyleName(STYLE_LABEL_BAR);\n this.labelBar.setMargin(false);\n this.labelBar.setSpacing(false);\n\n this.buttonBar = new HorizontalLayout();\n this.buttonBar.setDefaultComponentAlignment(Alignment.MIDDLE_LEFT);\n this.buttonBar.addStyleName(STYLE_BUTTON_BAR);\n this.buttonBar.setWidth(100, Unit.PERCENTAGE);\n this.buttonBar.setMargin(false);\n this.buttonBar.setSpacing(true);\n\n this.stepContent = new Panel();\n this.stepContent.addStyleName(ValoTheme.PANEL_BORDERLESS);\n this.stepContent.addStyleName(STYLE_CONTENT_CONTAINER);\n this.stepContent.setSizeFull();\n\n this.dividerExpandRatio = DEFAULT_EXPAND_RATIO_DIVIDER;\n\n VerticalLayout rootLayout = new VerticalLayout();\n rootLayout.setDefaultComponentAlignment(Alignment.MIDDLE_LEFT);\n rootLayout.setSizeFull();\n rootLayout.setMargin(false);\n rootLayout.setSpacing(true);\n rootLayout.addComponent(labelBar);\n rootLayout.addComponent(stepContent);\n rootLayout.addComponent(buttonBar);\n rootLayout.setExpandRatio(stepContent, 1);\n\n setCompositionRoot(rootLayout);\n addStyleName(STYLE_ROOT_LAYOUT);\n setSizeFull();\n refreshLabelBar();\n }", "title": "" }, { "docid": "20a83f44090c9dfb5e7495d1d5fcb82d", "score": "0.43795317", "text": "public NewViewHolder(View itemView) {\n super(itemView);\n ButterKnife.bind(this, itemView);\n mContext = itemView.getContext();\n parent = itemView.findViewById(R.id.mostpart_Layout);\n listitemtext = itemView.findViewById(R.id.textview_listitem);\n archiveButton = itemView.findViewById(R.id.listitem_archive);\n deleteButton =itemView.findViewById(R.id.listitem_delete);\n active = itemView.findViewById(R.id.listitem_checkbox);\n }", "title": "" }, { "docid": "20cb321a7007d67b1ff1e5af7f65ea36", "score": "0.4378468", "text": "public JPanel createSizeSidePanel() {\r\n\t\t// Method Variables\r\n\t\tJPanel SSP = new JPanel(new GridLayout(1,2));\r\n\t\tSSP.setBackground(panelBC);\r\n\t\t\r\n\t\t// Create Inner Panels\r\n\t\tsizePanel = createSizePanel();\r\n\t\tTitledBorder border1 = BorderFactory.createTitledBorder(\"Choose Size\");\r\n\t\tborder1.setTitleFont(titleFont);\r\n\t\tsizePanel.setBorder(border1);\r\n\t\t\r\n\t\tsidePanel = createSidePanel();\r\n\t\tTitledBorder border2 = BorderFactory.createTitledBorder(\"Side Style\");\r\n\t\tborder2.setTitleFont(titleFont);\r\n\t\tsidePanel.setBorder(border2);\r\n\t\t\t\t\r\n\t\t// Add Components\r\n\t\tSSP.add(sizePanel);\r\n\t\tSSP.add(sidePanel);\r\n\t\t\r\n\t\t// Return SizeSide Panel\r\n\t\treturn SSP;\r\n\t}", "title": "" }, { "docid": "39f227db3a2739c2f282f8d9a037534c", "score": "0.43725637", "text": "public static void printDivider() {\n\t\tfor(int i = 0; i < 154; i++) {\n\t\t\tSystem.out.print(\"-\");\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "title": "" }, { "docid": "50347ca0098d6640803162c96662d16b", "score": "0.43716997", "text": "public DesignAdapter(List<MultiItemEntity> data) {\n super(data);\n addItemType(TYPE_LEVEL_0, R.layout.adapter_design_expandable_lv0);\n addItemType(TYPE_LEVEL_1, R.layout.adapter_design_expandable_lv1);\n\n }", "title": "" }, { "docid": "6a9718858fec084f583aad5ce819bcd8", "score": "0.43699175", "text": "public Item(){}", "title": "" }, { "docid": "ba3592cc2b4456dc99cae4f4527f5ee7", "score": "0.43687385", "text": "public static ATileEntityPole_Component createComponent(ItemPoleComponent item){\n\t\tswitch(item.definition.general.type){\n\t\t\tcase(\"core\") : return new TileEntityPole_Core(item);\t\n\t\t\tcase(\"traffic_signal\") : return new TileEntityPole_TrafficSignal(item);\n\t\t\tcase(\"street_light\") : return new TileEntityPole_StreetLight(item);\n\t\t\tcase(\"sign\") : return new TileEntityPole_Sign(item);\n\t\t\tdefault : throw new IllegalArgumentException(\"ERROR: Wanted type: \" + (item.definition.general.type != null ? item.definition.general.type : null) + \" for pole:\" + item.definition.packID + \":\" + item.definition.systemName +\", but such a type is not a valid pole component. Contact the pack author.\" );\n\t\t}\n\t}", "title": "" }, { "docid": "6839cdb62d6eb605f6782294d8a6d8c3", "score": "0.43680796", "text": "@Override\n\t\t\t protected void populateItem(ListItem item) {\n\t\t\t\t\tEntityAttribute attr = new EntityAttribute(item, new UIMapEntry(\"stat\", \"modelObject\"));\n\t\t\t\t\titem.add(new StatFoundationPanel(\"stat_panel\", new Model(attr)));\n\t\t\t\t}", "title": "" }, { "docid": "369702d0c87395f42204dea0a455c375", "score": "0.43618122", "text": "public static SingleChunkLineRenderer create(final int startLine, final int startColumn, final int endLine,\n final int endColumn, String className) {\n\n return new SingleChunkLineRenderer(className) {\n @Override\n public int startLine() {\n return startLine;\n }\n\n @Override\n public int startColumn() {\n return startColumn;\n }\n\n @Override\n public int endLine() {\n return endLine;\n }\n\n @Override\n public int endColumn() {\n return endColumn;\n }\n };\n }", "title": "" } ]
49a613141457e3366104e9ee230917db
Constructor for the Section object.
[ { "docid": "0b550137123a4fcc1e6c2a05e08f017f", "score": "0.66714084", "text": "public Section(String n, TrackModelPanel tmp, Line ln)\r\n\t{\r\n\t\tthis.secName = n;\r\n\t\tthis.tmp = tmp;\r\n\t\tbList = new ArrayList<Block>();\r\n\t\tthis.bList = new ArrayList<Block>();\r\n\t\tsecsComing = new ArrayList<Section>();\r\n\t\tsecsGoing = new ArrayList<Section>();\r\n\t\tpbs = new ArrayList<PanelButton>();\r\n\t\tblocks = ln;\r\n\t}", "title": "" } ]
[ { "docid": "4c6823aed9c7691e4446064b7c80dbac", "score": "0.7931723", "text": "protected Section() {\n title = new Paragraph();\n numberDepth = 1;\n }", "title": "" }, { "docid": "ff9ae572f5a40104ce15ca7c82e2f05c", "score": "0.79276407", "text": "public Section()\n {\n super();\n this.basePath = QTIConstantStrings.SECTION;\n }", "title": "" }, { "docid": "acf6654e9cbd02b4683dde662b75ebe8", "score": "0.7319155", "text": "public Section(Document document, int qtiVersion)\n {\n super(document);\n if (!QTIVersion.isValid(qtiVersion))\n {\n throw new IllegalArgumentException(\"Invalid Section QTI version.\");\n }\n this.qtiVersion = qtiVersion;\n this.basePath = QTIConstantStrings.SECTION;\n }", "title": "" }, { "docid": "f4070a9e33069df66fc9bea8fc3a0d5a", "score": "0.7245926", "text": "public SectionVo() {\r\n // nothing to do\r\n }", "title": "" }, { "docid": "917a457c459b9b034621de24dac8dddb", "score": "0.7104789", "text": "public static Section newSection() {\n\t\tSection s = new Section();\n\t\ts.blockStates = new long[256];\n\t\ts.palette = new ListTag<>(CompoundTag.class);\n\t\tCompoundTag air = new CompoundTag();\n\t\tair.putString(\"Name\", \"minecraft:air\");\n\t\ts.palette.add(air);\n\t\ts.data = new CompoundTag();\n\t\treturn s;\n\t}", "title": "" }, { "docid": "0ef2d58c04944ba63fd5446e4b8c7909", "score": "0.70371836", "text": "Section(){\n }", "title": "" }, { "docid": "aa1a028142edb49311f9b50fd2325b4b", "score": "0.7007741", "text": "public ViewSection() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\t}", "title": "" }, { "docid": "1e4d6b2136bac195e6c53f2ec803fa6b", "score": "0.6874354", "text": "public Section(final String name) {\n this.name = name;\n }", "title": "" }, { "docid": "e98258981c31f7bba9ea4e1666e598ff", "score": "0.6832218", "text": "Section createSection();", "title": "" }, { "docid": "a29e32d9aad38479594e7b70acf7b956", "score": "0.677386", "text": "public TdsSubSection() {\r\n\t}", "title": "" }, { "docid": "6b2a189090893b961fa5de8710f13abb", "score": "0.6691827", "text": "public GlobalSection() {\n super();\n }", "title": "" }, { "docid": "67937930ff1f31ef69029aa892fb1181", "score": "0.66375387", "text": "public SectionView(Element elem, int axis) {\n super(elem, axis);\n }", "title": "" }, { "docid": "739ce7bc2c41114d8c64fe6a26263676", "score": "0.63374066", "text": "public TextSectionFragment() {\n super();\n }", "title": "" }, { "docid": "9f9ebeca7ea153a6f048d298449ec65f", "score": "0.63300085", "text": "public SectionView(Element element, int axis) {\n\t\t\tsuper(element, axis);\n\t\t}", "title": "" }, { "docid": "b501a7c326a40c403fce947994a1dfce", "score": "0.6264113", "text": "Section(Paragraph title, int numberDepth) {\n this.numberDepth = numberDepth;\n this.title = title;\n }", "title": "" }, { "docid": "3a4924b6064c03aff46a6a2dd6e713d3", "score": "0.6234745", "text": "public SectionVM(Section section) {\r\n \r\n this.id = section.getId();\r\n this.sectionName = section.getSectionName();\r\n this.description = section.getDescription();\r\n this.teacherLastName = section.getTeacher().getLastName();\r\n this.teacherId = section.getTeacher().getId();\r\n }", "title": "" }, { "docid": "31647a9bb2aeffae675910b2ca153fe4", "score": "0.6214016", "text": "public SurveySectionStrategy() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "ea6ba69897e4b80d64bf89d8ca5e0f29", "score": "0.6189698", "text": "public SectionContainer(String name, Icon icon, SectionInterface[] subSections){\r\n\r\n this.name = name;\r\n this.subSections = subSections;\r\n this.icon = icon;\r\n }", "title": "" }, { "docid": "7434f7ca7471d9b813a255063d2549f0", "score": "0.61386025", "text": "public ChapterSummary( ) {\n\n title = null;\n description = \"\";\n adaptationName = \"\";\n assessmentName = \"\";\n assessmentProfiles = new ArrayList<AssessmentProfile>( );\n adaptationProfiles = new ArrayList<AdaptationProfile>( );\n }", "title": "" }, { "docid": "e7276512625d7c1d4b489a1baec4dbb3", "score": "0.61128056", "text": "public Section(char id, String sec, Professor p) {\n this.section = id;\n this.sectionID = sec;\n this.professorAssigned = p;\n\n dayTimeAssigned = new ArrayList<DayTimes>();\n\n dayTimeAssigned.add(new DayTimes(\"Monday\"));\n dayTimeAssigned.add(new DayTimes(\"Tuesday\"));\n dayTimeAssigned.add(new DayTimes(\"Wednesday\"));\n dayTimeAssigned.add(new DayTimes(\"Thursday\"));\n dayTimeAssigned.add(new DayTimes(\"Friday\"));\n\n }", "title": "" }, { "docid": "cd913e37e15d674bbd696408caf69d71", "score": "0.6057789", "text": "public EducationMaterial() {\n SectionTitle = \"\";\n SectionFirstURL = \"\";\n SectionSecondURL = \"\";\n SectionThirdURL = \"\";\n }", "title": "" }, { "docid": "e4ec99804fe45c8cf02396df6d73f34d", "score": "0.60429054", "text": "public OverviewSectionFragment() {\n\t}", "title": "" }, { "docid": "017e15d517456ce9d3d014bfa51f8e6a", "score": "0.60258794", "text": "public CrossSectionViewManager() {}", "title": "" }, { "docid": "4a68dd9ad615307fee82ea3ed7c772ee", "score": "0.60233825", "text": "public VKApiSection() {\n\n }", "title": "" }, { "docid": "5d934b620befbff2c0470039bdd847fb", "score": "0.5997507", "text": "public void newSection(SectionProperties props);", "title": "" }, { "docid": "4c47a90b406e15c0834f3dc511d012ca", "score": "0.5993049", "text": "public static Section.Builder builder ()\n {\n\n return new Builder ();\n\n }", "title": "" }, { "docid": "26b9f884be03af1fd461ab1a99dade87", "score": "0.5935209", "text": "public Section addSection(Properties attributes) {\n Section section = new Section(new Paragraph(\"\"), 1);\n String value;\n if ((value = (String)attributes.remove(ElementTags.NUMBER)) != null) {\n subsections = Integer.parseInt(value) - 1;\n }\n section.set(attributes);\n add(section);\n return section;\n }", "title": "" }, { "docid": "da48fef314a1131299d5a88a29e217ea", "score": "0.5930261", "text": "public SectionAdapter(int layoutResId, int sectionHeadResId, List<MainItemBean> data) {\n super(layoutResId, sectionHeadResId, data);\n }", "title": "" }, { "docid": "b2eaa12512e278a6c75111141f78bfb9", "score": "0.5896596", "text": "public VKApiSection(Parcel in) {\n this.id = in.readInt();\n this.name = in.readString();\n }", "title": "" }, { "docid": "bb6372a8de3cf8059e65b1051f0c8244", "score": "0.5879451", "text": "public SectionVM(String json){\r\n \r\n JsonParser parser = new JsonParser();\r\n JsonElement jsonTree = parser.parse(json);\r\n if(jsonTree.isJsonObject()) {\r\n JsonObject section = jsonTree.getAsJsonObject();\r\n \r\n this.id = section.get(\"id\").getAsString().equals(\"\") ? null : section.get(\"id\").getAsInt();\r\n this.sectionName = section.get(\"sectionName\").getAsString();\r\n this.description = section.get(\"description\").getAsString();\r\n this.teacherLastName = section.get(\"teacherLastName\").getAsString();\r\n this.teacherId = section.get(\"teacherId\").getAsString().equals(\"\") ? null : section.get(\"teacherId\").getAsInt();\r\n }\r\n }", "title": "" }, { "docid": "c9329da94fd24d3cebc7f73342cede36", "score": "0.58777374", "text": "public SectionVM(Integer id, String sectionName, String description,\r\n String teacherLastName, Integer teacherId) {\r\n \r\n this.id = id;\r\n this.sectionName = sectionName == null ? \"\" : sectionName;\r\n this.description = description == null ? \"\" : description;\r\n this.teacherLastName = teacherLastName == null ? \"\" : teacherLastName;\r\n this.teacherId = teacherId;\r\n \r\n }", "title": "" }, { "docid": "ee6f7339fed823d8480e7ccab696c766", "score": "0.5873031", "text": "@Override\n public String toString() {\n return \"Section{\" + \"subject=\" + subject + \", days=\" + days + \", course=\" + course + \", section=\" + section + \", CRN=\" + CRN + \", credits=\" + credits + \", time=\" + time + '}';\n }", "title": "" }, { "docid": "7d0e1ccce0d42518183e7bd1c70910bb", "score": "0.5850052", "text": "public Block(){\n section = ' ';\n number = 0;\n length = 0;\n grade = 0;\n speedLimit = 0;\n infrastructure = null;\n elevation = 0;\n cumulativeElevation = 0;\n occupancy = false;\n condition = true;\n }", "title": "" }, { "docid": "d3bed588fc81ddb02574bd748a04abd3", "score": "0.5753245", "text": "public Segment(){\n super();\n }", "title": "" }, { "docid": "273cbe419e9e178832430a2f33e69f2a", "score": "0.57230765", "text": "public String getSection() {\r\n return section;\r\n }", "title": "" }, { "docid": "3968483710d47b289806f4a533677c4f", "score": "0.5714107", "text": "public Region () {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "4537855c37ab051fb1b2d521be036720", "score": "0.57132083", "text": "public ChunkHeader() {\n }", "title": "" }, { "docid": "0f99efc995c50f7c487ed4b5bb44348b", "score": "0.5708346", "text": "public Section setSection(int startIndex, int endIndex){\n return new Section(startIndex, endIndex);\n }", "title": "" }, { "docid": "a07a5a18fa1ed91d58e2195bedddfbd5", "score": "0.57039964", "text": "PrenatalTestingandSurveillanceSection createPrenatalTestingandSurveillanceSection();", "title": "" }, { "docid": "8c488807e6016a2ae93b45016a747d98", "score": "0.56968415", "text": "AssessmentsSection createAssessmentsSection();", "title": "" }, { "docid": "71ec8c0a5e569c120139dfb7900a7ae4", "score": "0.56888014", "text": "public Course() {\r\n this(\"\", \"\" , 0, \"NONE\"); // defalut category is NONE \r\n \r\n }", "title": "" }, { "docid": "d2a10c4f12d179fbdee842ae5286fd09", "score": "0.56759214", "text": "public SectionHeading(String xmlId, int level, String text) {\n if (level < 1 || level > MAX_LEVEL)\n throw new IllegalArgumentException(\n \"Unsupported heading level: \" + level);\n this.xmlId = xmlId;\n this.level = level;\n this.text = text;\n }", "title": "" }, { "docid": "12a4a648bd4a982cae1a36cb1977c0e4", "score": "0.56585175", "text": "public Header() {\n }", "title": "" }, { "docid": "6b97ea24b2c5021ac8ec1b520f09d5a9", "score": "0.565409", "text": "public String getSection() {\n return section;\n }", "title": "" }, { "docid": "6b97ea24b2c5021ac8ec1b520f09d5a9", "score": "0.565409", "text": "public String getSection() {\n return section;\n }", "title": "" }, { "docid": "37aaf854caf0a4988265dd22cfa7cfaa", "score": "0.5592923", "text": "public SectionHeadingsRegiPage(){\r\n\t\t\t\t\tPageFactory.initElements(driver, this);\r\n\t\t\t\t}", "title": "" }, { "docid": "b648541693697620d179b20b58f76794", "score": "0.55625516", "text": "public AppCartSectionAdapter(int layoutResId, int sectionHeadResId, List data) {\n super(layoutResId, sectionHeadResId, data);\n }", "title": "" }, { "docid": "eb9567ccc838c3ad584a4c18ab7e69a9", "score": "0.55523956", "text": "public VersionedRegion() {\r\n this(magic);\r\n }", "title": "" }, { "docid": "cca2edf3bf99c9f4d3a7e185b468e623", "score": "0.5540322", "text": "public Course() { super(); }", "title": "" }, { "docid": "1f94b92b4b41794467ec9bf236ee183a", "score": "0.55272835", "text": "public int getSection() {\n return section;\n }", "title": "" }, { "docid": "5f025e000c942798f21f631dca9b3d52", "score": "0.5526881", "text": "public String getSection() {\r\n return mSection;\r\n }", "title": "" }, { "docid": "7e83b28001cc03613cf7852f43cb0099", "score": "0.55077857", "text": "@Override\n protected void buildSections() {\n super.buildSections();\n sections.add(1, new SimpleCodeWidgetSection());\n }", "title": "" }, { "docid": "5a64905801f473404d2a25801bb7097d", "score": "0.55056614", "text": "public Header()\n {\n super(ComponentTypes.Header);\n }", "title": "" }, { "docid": "3b0960e22a365548f39fd7a79159440d", "score": "0.550479", "text": "public String getSection() {\n\t\treturn section;\n\t}", "title": "" }, { "docid": "acb0f5d71e179f4bf834e95d39ff86b5", "score": "0.54889417", "text": "public Course() {\n\t \n\t }", "title": "" }, { "docid": "d086a0db66465c5cb97a06a35edb9eed", "score": "0.54871744", "text": "public void setSection(T section);", "title": "" }, { "docid": "a20f98906e534982db254f2350537d36", "score": "0.54783046", "text": "public SwipeSectionFragment ()\r\n\t\t{\r\n\t\t}", "title": "" }, { "docid": "31e6c30978ee1f3d71821b7f942cbcac", "score": "0.5468634", "text": "public chapter_1() {\n super(\"Beginning_pt1\",1,\"Veneland\",\"Chipper Towne\",0,\n new phase_objects[]{new ch1_1_phase()}, 1);\n }", "title": "" }, { "docid": "dd97504fdf6f032941dff59d6afa2a6c", "score": "0.5460292", "text": "public void setSection(String section) {\n this.section = section;\n }", "title": "" }, { "docid": "6287cd93a4c497e7e0c57d94cd3ba2c1", "score": "0.5450679", "text": "public String getmSection(){return mSection;}", "title": "" }, { "docid": "40b0c6bdcaf3a8c5dec05e05d7533002", "score": "0.5438451", "text": "public static CSection BuildSection( Element node ) throws Exception\r\n\t{\r\n\t\t// construction d'une section a partir d'un noeud XML\r\n\t\t\r\n\t\tif ( node == null )\r\n\t\t{\r\n\t\t\tthrow new Exception(\"[\" + UIString.getUIString( \"EX_SECTION_BUILD_SECTION\" )+ \"] : \" + UIString.getUIString( \"EX_KEYGROUP_NOT_FIND_NODE\" ) );\r\n\t\t}\r\n\t\t\r\n\t\tString name = node.getAttributeValue( TXMLNames.CS_ATTRIBUTE_NAME );\r\n\t\t\r\n\t\tif( name == null )\r\n\t\t{\r\n\t\t\tthrow new Exception(\"[\" + UIString.getUIString( \"EX_SECTION_BUILD_SECTION\" )+ \"] : \" + UIString.getUIString( \"EX_KEYGROUP_NOT_FIND_ATTRIBUTE\" ) + TXMLNames.CS_ATTRIBUTE_NAME);\r\n\t\t}\r\n\t\t\r\n\t\tCSection section = new CSection( name );\r\n\t\t\r\n\t\tfor( Object object : node.getChildren( TXMLNames.CS_ELEMENT_COMMAND ) )\r\n\t\t{\r\n\t\t\tif( object instanceof Element )\r\n\t\t\t{\r\n\t\t\t\tElement element = (Element)object;\r\n\t\t\t\tif( element != null )\r\n\t\t\t\t{\r\n\t\t\t\t\tCCommand command = null;\r\n\t\t\t\t\ttry\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tcommand = CCommand.BuildCommand( element );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch (Exception ex)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tthrow new Exception ( \"[section:\" + name + \"]\" + ex.getMessage() );\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\ttry\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tsection.AddCommand( command );\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch(Exception ex)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tthrow new Exception(\"[section:\" + name + \"][\" + UIString.getUIString( \"EX_SECTION_BUILD_SECTION\" )+ \"] : \" + UIString.getUIString( \"EX_SECTION_ERR_ADD_COMMAND\" ));\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\treturn section;\r\n\t\t\r\n\t}", "title": "" }, { "docid": "9bedd0e3673e50132ea839d0f2e0fc87", "score": "0.54138243", "text": "public Section addSection(float indentation, Paragraph title) {\n Section section = new Section(title, 1);\n section.setIndentation(indentation);\n add(section);\n return section;\n }", "title": "" }, { "docid": "950be85a9b60efca11e48ea05ba1e6f6", "score": "0.53984404", "text": "public CoursesLinkedList(){\r\n this(8);\r\n }", "title": "" }, { "docid": "5f9e883adcba4ea7f2e98fcd5e883029", "score": "0.5385494", "text": "public INESHeader() {\n }", "title": "" }, { "docid": "9581f262212c90edbff0b869cd08609b", "score": "0.53814065", "text": "public Category () {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "223c3dd5faaee79a411fa405be7111e4", "score": "0.5381213", "text": "public Section addSection(float indentation, Paragraph title, int numberDepth) {\n Section section = new Section(title, numberDepth);\n section.setIndentation(indentation);\n add(section);\n return section;\n }", "title": "" }, { "docid": "475703f12fc5c72b80495a3a415a2a17", "score": "0.536593", "text": "@Before\n\tpublic void init() throws URISyntaxException, FileNotFoundException {\n\t\t\n\t\tFile file = new File(DocumentSectionerTest.class.getResource(\"SectionerTest.txt\").toURI());\n\t\tScanner s = new Scanner(file);\n\t\tString dogsAndCats = \"\";\n\t\twhile (s.hasNextLine()) {\n\t\t\tdogsAndCats += s.nextLine();\n\t\t}\t\t\n\t\t\n\t\tthisSectioner = new DocumentSectioner(dogsAndCats, 50);\n\t\t\n\t}", "title": "" }, { "docid": "bf20be18d928e7c7d1ef703576f06743", "score": "0.53602004", "text": "public Library(){\n\t\tthis(\"\", \"\");\n\t}", "title": "" }, { "docid": "5280412ca85e0de5d263fb16f0b79cf2", "score": "0.5353557", "text": "public SampleHeader()\r\n {\r\n }", "title": "" }, { "docid": "40df694acde2d7c76c4578b2df1cba7e", "score": "0.5351277", "text": "public Category() {\n this(null,null);\n }", "title": "" }, { "docid": "93b8c6728a4f9ee30be3d2c87618639e", "score": "0.534957", "text": "public TeamC() {\n super.name = \"Charlie\";\n super.section = 3;\n }", "title": "" }, { "docid": "cefeb17c47df71375b150ace830cbd0f", "score": "0.53467345", "text": "public ContentBlock1() {\n }", "title": "" }, { "docid": "1cb39973820312ff662fee75dd8d2e60", "score": "0.5345017", "text": "protected abstract void setSectionData();", "title": "" }, { "docid": "d795b981c0779c42421e080973a696c0", "score": "0.5342897", "text": "public FaithTrack(ArrayList<RedVaticanReportSection> sections) {\n super(sections);\n this.popeSpaceONE = true;\n this.popeSpaceTWO = true;\n this.popeSpaceTHREE = true;\n }", "title": "" }, { "docid": "afc289fa77816725564021feb43d9b32", "score": "0.533873", "text": "MothersVitalSignsSection createMothersVitalSignsSection();", "title": "" }, { "docid": "3f77ad7592620c95f26dc07d47d338ae", "score": "0.53308284", "text": "protected StandardStructure() {\n }", "title": "" }, { "docid": "a06df324e6d69387faf5db07f3e5cee6", "score": "0.5319733", "text": "public JavaEditor(MultiDataObject.Entry entry) {\n super(entry);\n\n sections = null;\n\n // initialize timer\n timer = new Timer(0, new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent e) {\n changeTimeoutElapsed();\n }\n });\n timer.setInitialDelay(settings.getAutoParsingDelay());\n timer.setRepeats(false);\n\n // create document listener\n final DocumentListener docListener = new DocumentListener() {\n public void insertUpdate(DocumentEvent e) { change(e); }\n public void changedUpdate(DocumentEvent e) { }\n public void removeUpdate(DocumentEvent e) { change(e); }\n\n private void change(DocumentEvent e) {\n documentSaved = false;\n restartTimer(false);\n }\n };\n\n // add change listener\n addChangeListener(new ChangeListener() {\n public void stateChanged(ChangeEvent evt) {\n if (isDocumentLoaded()) {\n getDocument().addDocumentListener(docListener);\n } else {\n\t\t\t\t\t\t\t\t\t notifyClose();\n\t\t\t\t\t\t\t\t }\n }\n });\n }", "title": "" }, { "docid": "3abeb681bf5fbd4eec0dea64d6081f18", "score": "0.5316093", "text": "public Section addSection(Paragraph title) {\n Section section = new Section(title, 1);\n add(section);\n return section;\n }", "title": "" }, { "docid": "ec8552a07c0ad02add2efe846eb1b8ff", "score": "0.5307782", "text": "public void setSection(String v) \n {\n \n if (!ObjectUtils.equals(this.section, v))\n {\n this.section = v;\n setModified(true);\n }\n \n \n }", "title": "" }, { "docid": "596529b76030752426739bbe5b1f7cf9", "score": "0.5307026", "text": "private void readSectionHdr(int i) throws IOException {\n\tSection s = new Section();\n\tsections[i] = s;\n\ts.name = (new String(readBytes(8))).trim();\t// section name\n\ts.pAddr = readInt();\t\t// physical address, aliased s_nlib\n\treadInt();\t\t\t// virtual address\n\ts.size = readInt();\t\t// section size\n\ts.scnptr = readInt();\t\t// file ptr to raw data for section\n\treadInt();\t\t\t// file ptr to relocation\n\treadInt();\t\t\t// file ptr to gp histogram\n\treadShort();\t\t\t// number of relocation entries\n\treadShort();\t\t\t// number of gp histogram entries\n\treadInt();\t\t\t// flags\n }", "title": "" }, { "docid": "fd217668fe2ba1c011af7380e52591ff", "score": "0.5304291", "text": "public SectionMetadataLoad(OOComponentHelper ooDoc, String sectName) {\n this.ooDocument=ooDoc;\n this.sectionName=sectName;\n getSectionMetadata(sectName);\n }", "title": "" }, { "docid": "4a81588873378f9243b1d6078b7b49f9", "score": "0.5302228", "text": "public Row()\r\n\t{\r\n\t\tsuper(Cell.NO_ALIGNMENT,Cell.NO_ALIGNMENT,true);\r\n\t}", "title": "" }, { "docid": "141367f235f9c3f6fce08e7c28724ce3", "score": "0.5300245", "text": "public void setSection(short s){\n \tString prevId = getId();\n \tsection = s;\n \tcreateId();\n \tString curId = getId();\n \t//Update class list\n \tClassParser.classList.remove(prevId);\n \tClassParser.classList.put(curId, this);\n \t//Update department list\n \tClassParser.departmentList.get(course).remove(prevId);\n \tClassParser.departmentList.get(course).add(curId);\n \t//Update instructor list\n \tClassParser.instructorList.get(instructor).remove(prevId);\n \tClassParser.instructorList.get(instructor).add(curId);\n \t//Update section list\n \tClassParser.sectionList.get(course + number).remove(prevId);\n \tClassParser.sectionList.get(course + number).add(curId);\n }", "title": "" }, { "docid": "889f181629c999bbc873bb97e4392b31", "score": "0.52907705", "text": "LaborandDeliverySection createLaborandDeliverySection();", "title": "" }, { "docid": "b24b703dce8ee6e597ba3669c9a1e3e9", "score": "0.5287451", "text": "protected Section newSection( String sectionTitle, boolean rightOf, Composite relative ) {\n Composite parent = pageSite.getPageBody();\n IFormToolkit tk = pageSite.getToolkit();\n \n Section section = null;\n if (sectionTitle == null || sectionTitle.isEmpty()) {\n section = tk.createSection( parent, Section.NO_TITLE );\n } else {\n section = tk.createSection( parent, Section.TITLE_BAR /*| Section.TREE_NODE*/ );\n section.setText( sectionTitle );\n } \n section.setExpanded( true );\n //section.setLayout( new FillLayout() );\n\n Composite client = tk.createComposite( section );\n FillLayout layout = new FillLayout( SWT.VERTICAL );\n layout.spacing = 1;\n layout.marginWidth = 2;\n layout.marginHeight = 2;\n client.setLayout( layout );\n section.setClient( client );\n \n if (relative == null) {\n section.setLayoutData( FormDataFactory.defaults().offset( SECTION_SPACING )\n .left( 0 ).right( 100 ).top( 0, 0 ).create() );\n }\n else if (rightOf) {\n FormData data = (FormData)relative.getLayoutData();\n data.right = new FormAttachment( section );\n \n section.setLayoutData( FormDataFactory.defaults().offset( SECTION_SPACING )\n .left( 50 ).right( 100 ).top( 0, 0 ).create() );\n }\n return section;\n }", "title": "" }, { "docid": "a3e43bf54bf08e567084620bfc5e0b11", "score": "0.52828735", "text": "public Block(Rectangle rect) {\r\n super(rect);\r\n }", "title": "" }, { "docid": "d64ab2055a5c3022a7deca6b04c565a2", "score": "0.5278881", "text": "public License() {\r\n\t\tsuper();\r\n\t}", "title": "" }, { "docid": "843880b5b038296327fd5a739ebda480", "score": "0.5277161", "text": "public Block() {\n }", "title": "" }, { "docid": "63c9409017fe69a07c177809ceb44345", "score": "0.52750057", "text": "public Term(ArrayList<Section> sections, String term) {\r\n\t\tthis.sections = sections;\r\n\t\tthis.term = term;\r\n\t}", "title": "" }, { "docid": "54e5332b403ab9c63f4efcc9c446f20c", "score": "0.52705467", "text": "public SASectionTitle(\n final SASectionNumber in_number,\n final String in_actual)\n {\n this.number = NullCheck.notNull(in_number, \"Number\");\n this.actual = NullCheck.notNull(in_actual, \"Actual\");\n }", "title": "" }, { "docid": "4486c04123b6df49e62e14e5e53e331e", "score": "0.52695763", "text": "public Section addSection(Paragraph title, int numberDepth) {\n Section section = new Section(title, numberDepth);\n add(section);\n return section;\n }", "title": "" }, { "docid": "901c8bea0a27acc4aa84308923c7e587", "score": "0.5264118", "text": "public EditMenu(Section sec, Document doc) {\n super(MenuEntry.TITLE, new Command<?>[] { \n new ChangeTitle(sec),\n new ListSections(sec),\n new ShowSection(sec),\n new SelectSection(sec, doc),\n new InsertSection(sec, doc),\n new IndexSection(sec, doc),\n new RemoveSection(sec, doc),\n new InsertParagraph(sec),\n new IndexParagraph(sec, doc),\n new ChangeParagraph(sec),\n new RemoveParagraph(sec, doc),\n });\n }", "title": "" }, { "docid": "e03a487452caf12ce31bf0055e387ecc", "score": "0.5264092", "text": "public Section addSection(String title) {\n Section section = new Section(new Paragraph(title), 1);\n add(section);\n return section;\n }", "title": "" }, { "docid": "2edd91950e3bf4c72e024656f2522aa1", "score": "0.52544427", "text": "public Section addSection(float indentation, String title) {\n Section section = new Section(new Paragraph(title), 1);\n section.setIndentation(indentation);\n add(section);\n return section;\n }", "title": "" }, { "docid": "0b251b46a3da9ca834d6cc81fa128fc4", "score": "0.52305627", "text": "public String section();", "title": "" }, { "docid": "af5a5929d58f188ee452eafdb8c9adf2", "score": "0.5228084", "text": "public Section addSection(float indentation, String title, int numberDepth) {\n Section section = new Section(new Paragraph(title), numberDepth);\n section.setIndentation(indentation);\n add(section);\n return section;\n }", "title": "" }, { "docid": "a4b932778672bbc31686e398e42ca7fb", "score": "0.5220524", "text": "public Event() {\n //Blank constructor refers to the other constructor\n this(0, 1, null);\n }", "title": "" }, { "docid": "7582e30af7542538d105259b0c9bc07a", "score": "0.5220365", "text": "@Override\n\tpublic Section copy() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "94f3c529d946be23e026c3c9940aab28", "score": "0.5214099", "text": "public void setSection(String section) {\n\t\tthis.section = section;\n\t}", "title": "" }, { "docid": "a917d07ccfd3caf32f6f10f2e4a01a38", "score": "0.5209814", "text": "public Article() {\n\t\tsuper();\n\t}", "title": "" } ]
59dd0a6c5cf26d61c52f9eb1f558d4f4
Util method to write an attribute without the ns prefix
[ { "docid": "6cf7f91717851719d66f413e948c381e", "score": "0.0", "text": "private void writeQNameAttribute(java.lang.String namespace, java.lang.String attName,\n javax.xml.namespace.QName qname, javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {\n\n java.lang.String attributeNamespace = qname.getNamespaceURI();\n java.lang.String attributePrefix = xmlWriter.getPrefix(attributeNamespace);\n if (attributePrefix == null) {\n attributePrefix = registerPrefix(xmlWriter, attributeNamespace);\n }\n java.lang.String attributeValue;\n if (attributePrefix.trim().length() > 0) {\n attributeValue = attributePrefix + \":\" + qname.getLocalPart();\n } else {\n attributeValue = qname.getLocalPart();\n }\n\n if (namespace.equals(\"\")) {\n xmlWriter.writeAttribute(attName, attributeValue);\n } else {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace, attName, attributeValue);\n }\n }", "title": "" } ]
[ { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "4032b8c44c9067682aec7c95df9e1e42", "score": "0.7247223", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\r\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\r\n if (namespace.equals(\"\"))\r\n {\r\n xmlWriter.writeAttribute(attName,attValue);\r\n }\r\n else\r\n {\r\n registerPrefix(xmlWriter, namespace);\r\n xmlWriter.writeAttribute(namespace,attName,attValue);\r\n }\r\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" }, { "docid": "cfbfc185331f15d70fb8ef4d7dc7cdc1", "score": "0.7238339", "text": "private void writeAttribute(java.lang.String namespace,java.lang.String attName,\n java.lang.String attValue,javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException{\n if (namespace.equals(\"\"))\n {\n xmlWriter.writeAttribute(attName,attValue);\n }\n else\n {\n registerPrefix(xmlWriter, namespace);\n xmlWriter.writeAttribute(namespace,attName,attValue);\n }\n }", "title": "" } ]
33f9b2d39091927d950a0150404bf876
Generic method for calculating a screen coordinate from a geographic coordinate.
[ { "docid": "51b1007bc244522d8cf5005e9a000743", "score": "0.0", "text": "private int coordPyGen(double lat, double top, double bottom, int vertMiddle, int pySize, double range) {\r\n\t\tif (vertMiddle > 0) {\r\n\t\t\tif (lat < bottom)\r\n\t\t\t\treturn (int) Math.round((double) (vertMiddle * (1 - (lat + range)/(top + range))));\r\n\t\t\telse\r\n\t\t\t\treturn (int) Math.round((double) ((pySize - vertMiddle) * (1 - (lat - bottom)/(range - bottom)))) + vertMiddle;\r\n\t\t} else\r\n\t\t\treturn (int) Math.round((double) (pySize * (1 - (lat - bottom)/(top - bottom))));\r\n\t\t\t\r\n\t}", "title": "" } ]
[ { "docid": "3bce30f293309f5825c37ce73482e692", "score": "0.67490643", "text": "public Point getScreenCoordinate(double lat, double lon) {\n if(internalNative == null) {\n if(internalLightweightCmp != null) {\n Point p = internalLightweightCmp.getPointFromCoord(new Coord(lat, lon));\n p.setX(p.getX());\n p.setY(p.getY());\n return p;\n }\n Point p = dummyMapComponent.getPointFromCoord(new Coord(lat, lon));\n p.setX(p.getX());\n p.setY(p.getY());\n return p;\n //browserBridge.waitForReady();\n //String coord = (String)browserBridge.bridge.call(\"getScreenCoord\", new Object[]{lat, lon});\n /*\n String coord = (String)internalBrowser.executeAndWait(\"callback.onSuccess(\"+BRIDGE+\".getScreenCoord(${0}, ${1}))\", new Object[]{lat, lon}).toString();\n try {\n String xStr = coord.substring(0, coord.indexOf(\" \"));\n String yStr = coord.substring(coord.indexOf(\" \")+1);\n Point out = new Point(\n (int)Double.parseDouble(xStr), \n (int)Double.parseDouble(yStr)\n );\n //out.setX(out.getX() + getAbsoluteX());\n //out.setY(out.getY() + getAbsoluteY());\n return out;\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n \n return new Point(0, 0);\n */\n }\n internalNative.calcScreenPosition(lat, lon);\n return new Point(internalNative.getScreenX() + getStyle().getPaddingLeft(false), internalNative.getScreenY() + getStyle().getPaddingTop());\n }", "title": "" }, { "docid": "fd07df414ce5bf793d7b9ba83ffbeee7", "score": "0.6159653", "text": "public Point getScreenCoordinate(Coord c) {\n return getScreenCoordinate(c.getLatitude(), c.getLongitude());\n }", "title": "" }, { "docid": "8c241c5dfed8a9eaf4979fd3ea14a9a9", "score": "0.5961096", "text": "@Pure\n\tdefault Point2d toScreenPosition(double x, double y) {\n\t\treturn new Point2d(toScreenPositionX(x), toScreenPositionY(y));\n\t}", "title": "" }, { "docid": "cc4e3e54c1f9d1627422070feed7be95", "score": "0.59295404", "text": "private static void displayGeo(MotionEvent event)\n {\n \n double sizeSquare = Math.abs(utility.rightLongitude - utility.leftLongitude);\n if (sizeSquare > 180) {\n sizeSquare = 360 - sizeSquare;\n }\n\n double scale = 541463 * sizeSquare;\n\n Point2D ptPixels = null;\n Point2D ptGeo = null;\n\n IPointConversion converter = null;\n converter = new PointConverter(utility.leftLongitude, utility.upperLatitude, scale);\n Point pt=new Point((int) event.getAxisValue(MotionEvent.AXIS_X), (int) event.getAxisValue(MotionEvent.AXIS_Y));\n Point2D pt2d=new Point2D.Double(pt.x,pt.y);\n ptGeo=converter.PixelsToGeo(pt2d);\n int n = Log.i(\"onTouchEvent\", \"longitude = \" + Double.toString(ptGeo.getX()));\n }", "title": "" }, { "docid": "f9b143e9706d3537ba224e9664c3c9f4", "score": "0.59187937", "text": "public final android.graphics.Point toScreenLocation(org.xms.g.maps.model.LatLng param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.Projection) this.getHInstance()).toScreenLocation(((com.huawei.hms.maps.model.LatLng) ((param0) == null ? null : (param0.getHInstance()))))\");\n return ((com.huawei.hms.maps.Projection) this.getHInstance()).toScreenLocation(((com.huawei.hms.maps.model.LatLng) ((param0) == null ? null : (param0.getHInstance()))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.Projection) this.getGInstance()).toScreenLocation(((com.google.android.gms.maps.model.LatLng) ((param0) == null ? null : (param0.getGInstance()))))\");\n return ((com.google.android.gms.maps.Projection) this.getGInstance()).toScreenLocation(((com.google.android.gms.maps.model.LatLng) ((param0) == null ? null : (param0.getGInstance()))));\n }\n }", "title": "" }, { "docid": "a4a72b1c62917280799d29600528da66", "score": "0.5906969", "text": "public Point2D.Float ScreenCoordToWorldCoord (Point2D.Float ScreenPoint){\r\n\t\tPoint2D.Float WorldPoint = new Point2D.Float(0,0) ;\r\n\t\tWorldPoint.y = (float) (ScreenPoint.y / (m_GameWindow.getHeight() / ViewRect.getHeight())) ;\r\n\t\tWorldPoint.x = (float) (ScreenPoint.x / (m_GameWindow.getHeight() / ViewRect.getHeight())) ;\r\n\t\treturn WorldPoint ;\r\n\t}", "title": "" }, { "docid": "1bf2a1121bed1e8fec77fc5bf70c9b4c", "score": "0.5862873", "text": "public Point2D.Float ScreenCoordToWorldCoord (Point ScreenPointNonFloat){\r\n\t\tPoint2D.Float ScreenPoint = new Point2D.Float(ScreenPointNonFloat.x, ScreenPointNonFloat.y) ; \r\n\t\tPoint2D.Float WorldPoint = new Point2D.Float(0,0) ;\r\n\t\tWorldPoint.y = (float) (ScreenPoint.y / (m_GameWindow.getHeight() / ViewRect.getHeight())) ;\r\n\t\tWorldPoint.x = (float) (ScreenPoint.x / (m_GameWindow.getHeight() / ViewRect.getHeight())) ;\r\n\t\treturn WorldPoint ;\r\n\t}", "title": "" }, { "docid": "7dc2f81fa4579d694f898f9c87560b62", "score": "0.5739624", "text": "public Point2D.Float WorldCoordToScreenCoord (Point2D.Float WorldPoint){\r\n\t\tPoint2D.Float ScreenPoint = new Point2D.Float(0,0) ; \r\n\t\tif (m_GameWindow != null && ViewRect != null && WorldPoint != null){\r\n\t\tScreenPoint.y = (float) (m_GameWindow.getHeight() / ViewRect.getHeight() * WorldPoint.y) ; \r\n\t\tScreenPoint.x = (float) (m_GameWindow.getWidth() / ViewRect.getWidth() * WorldPoint.x) ; \r\n\t\t}\r\n\t\treturn ScreenPoint ; \r\n\t}", "title": "" }, { "docid": "80cc4f5b0c481178438d0276ec7c6429", "score": "0.5659382", "text": "public final org.xms.g.maps.model.LatLng fromScreenLocation(android.graphics.Point param0) {\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.huawei.hms.maps.Projection) this.getHInstance()).fromScreenLocation(param0)\");\n com.huawei.hms.maps.model.LatLng hReturn = ((com.huawei.hms.maps.Projection) this.getHInstance()).fromScreenLocation(param0);\n return ((hReturn) == null ? null : (new org.xms.g.maps.model.LatLng(new org.xms.g.utils.XBox(null, hReturn))));\n } else {\n org.xms.g.utils.XmsLog.d(\"XMSRouter\", \"((com.google.android.gms.maps.Projection) this.getGInstance()).fromScreenLocation(param0)\");\n com.google.android.gms.maps.model.LatLng gReturn = ((com.google.android.gms.maps.Projection) this.getGInstance()).fromScreenLocation(param0);\n return ((gReturn) == null ? null : (new org.xms.g.maps.model.LatLng(new org.xms.g.utils.XBox(gReturn, null))));\n }\n }", "title": "" }, { "docid": "7ad6e8d423e471b55ebc973b3d44651d", "score": "0.5638211", "text": "public int getLocationX();", "title": "" }, { "docid": "6e6c0f159a71d6f6c54809f6d2f7e4ea", "score": "0.5544285", "text": "@Pure\n\tdefault Point2d toScreenPosition(Point2D<?, ?> position) {\n\t\treturn new Point2d(toScreenPositionX(position.getX()), toScreenPositionY(position.getY()));\n\t}", "title": "" }, { "docid": "76c0ad161c347d4cba4db57f82b63841", "score": "0.5521374", "text": "private int xToScreenCoords(int mapCoord) {\n return (int) (mapCoord * mapWidget.getScale() - mapWidget.getScrollX());\n }", "title": "" }, { "docid": "f0ff7f594c9679b214d04b4bd8aac899", "score": "0.5496949", "text": "public int getLocationY();", "title": "" }, { "docid": "3fafbd20e38b568c24ddba267addbd38", "score": "0.54607767", "text": "@Override\n public Vector3f getScreenCoordinates(Vector3f worldPosition, Vector3f store) {\n return null;\n //throw new Error(\"Method not implemented\");\n }", "title": "" }, { "docid": "256742617658abd7600069abac078a3b", "score": "0.5451772", "text": "public Coord getCoordAtPosition(int x, int y) {\n if(internalNative == null) {\n if(internalLightweightCmp != null) {\n return internalLightweightCmp.getCoordFromPosition(x + getAbsoluteX(), y + getAbsoluteY());\n }\n return dummyMapComponent.getCoordFromPosition(x + getAbsoluteX(), y + getAbsoluteY());\n //browserBridge.waitForReady();\n //x -= internalBrowser.getAbsoluteX();\n //y -= internalBrowser.getAbsoluteY();\n //System.out.println(\"Browser bridge pointer here is \"+browserBridge.bridge.toJSPointer());\n //Object res = browserBridge.bridge.call(\"getCoordAtPosition\", new Object[]{x, y});\n //if (res instanceof Double) {\n // int i = 0;\n //}\n //String coord = (String)browserBridge.bridge.call(\"getCoordAtPosition\", new Object[]{x, y});\n /*\n String coord = internalBrowser.executeAndWait(\"callback.onSuccess(\"+BRIDGE+\".getCoordAtPosition(${0}, ${1}))\", x, y).toString();\n try {\n String xStr = coord.substring(0, coord.indexOf(\" \"));\n String yStr = coord.substring(coord.indexOf(\" \")+1);\n return new Coord(Double.parseDouble(xStr), Double.parseDouble(yStr));\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n return new Coord(0, 0);\n */\n }\n internalNative.calcLatLongPosition(x, y);\n return new Coord(internalNative.getScreenLat(), internalNative.getScreenLon());\n }", "title": "" }, { "docid": "bca1b46fd107d80cf4ac8193154bb7b9", "score": "0.542213", "text": "public Point getLocation();", "title": "" }, { "docid": "bca1b46fd107d80cf4ac8193154bb7b9", "score": "0.542213", "text": "public Point getLocation();", "title": "" }, { "docid": "ccf79ee57ebae535c3f4c10293d2b670", "score": "0.54136074", "text": "public abstract Vector3f mouseScreenToWorld(float x, float y);", "title": "" }, { "docid": "4c80f9eb8984d7aba48a30c29ffdecff", "score": "0.53718317", "text": "@Pure\n\tdouble toScreenPositionX(double x);", "title": "" }, { "docid": "fe7b529c171dfdec7d0ffa3e79d7c4a2", "score": "0.528958", "text": "@Pure\n\tdouble toScreenPositionY(double y);", "title": "" }, { "docid": "018dc5cf1ee51a5aad65aff6b78a3ad2", "score": "0.5286131", "text": "public Pixel fromCoordinatesToPixel (LocationData coordinates) {\n\n\t\tdouble x = Math.round(this.PixelGlobeCenter.getX() + (coordinates.longitude * this.XPixelsToDegreesRatio));\n\n\t\tdouble f = Math.min(Math.max(Math.sin(coordinates.latitude * RadiansToDegreesRatio), -0.9999d), 0.9999d);\n\t\tdouble y = Math.round(this.PixelGlobeCenter.getY() + .5d * Math.log((1d + f) / (1d - f)) * -this.YPixelsToRadiansRatio);\n\n\t\treturn new Pixel(x, y);\n\t}", "title": "" }, { "docid": "9b8f72090d2d2cac84d33b24f1afbb94", "score": "0.52802014", "text": "public static Point getWhereMouseIsOnScreen()\r\n {\r\n long xy = jniGetMousePosition();\r\n // y in high order, MS is little endian.\r\n int y = (int) ( xy >>> 32 );\r\n int x = (int) ( xy & 0xffffffffL );\r\n return new Point( x, y );\r\n }", "title": "" }, { "docid": "d3aeedb8e8424ea3ff1e3f79d494574c", "score": "0.52752864", "text": "Coordinate getCoordinates();", "title": "" }, { "docid": "a3beb87a00f9ff9c00ebab573c7fce8b", "score": "0.52675915", "text": "private Point getGeoPoint(MotionEvent singleTapEvent) {\n android.graphics.Point screenPoint = new android.graphics.Point(\n Math.round(singleTapEvent.getX()),\n Math.round(singleTapEvent.getY()));\n return mapView.screenToLocation(screenPoint);\n }", "title": "" }, { "docid": "7e077656aa42a71a1443f1b8a31e08a4", "score": "0.5262361", "text": "private Point getScreenLocation() {\r\n Point p1 = null;\r\n Point p2 = null;\r\n for (final GraphicsDevice gd : GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()) {\r\n if (p1 == null) {\r\n p1 = gd.getDefaultConfiguration().getBounds().getLocation();\r\n } else if (p2 == null) {\r\n p2 = gd.getDefaultConfiguration().getBounds().getLocation();\r\n }\r\n }\r\n if (p2 == null) {\r\n p2 = p1;\r\n }\r\n return p2;\r\n }", "title": "" }, { "docid": "94b0ac7e02907c0553be61ab80ff1b0e", "score": "0.5229331", "text": "private int coordX(double lon) {\r\n\t\treturn coordPxGen(lon, left, right, horzMiddle, width, 180.0);\r\n\t}", "title": "" }, { "docid": "a454a4539d3f926ac2912b1ece0dbc49", "score": "0.5153961", "text": "double getLat();", "title": "" }, { "docid": "2373e5a353cc770628327d3704fbe8d6", "score": "0.5146569", "text": "public static Point world2pixel(double wx, double wy){\n\t\tPoint p = new Point();\n\t\tp.x = (int)((wx - worldX) * worldScale);\n\t\tp.y = (int)((wy - worldY) * worldScale);\n\t\treturn p;\n\t}", "title": "" }, { "docid": "0b92189243327c60cee3e72ec708adda", "score": "0.51457334", "text": "public Point getGPSLocation();", "title": "" }, { "docid": "9c8b56c2dd6fd83a40153a6a4e71e6de", "score": "0.5134034", "text": "public abstract Vector3 getMapPixelCoords(int x, int y);", "title": "" }, { "docid": "a2bfa6749642447ced0e100785ba5239", "score": "0.51239055", "text": "public static MatrixPosition screenCoordinatesToMatrixPosition(\n Station station,\n double x,\n double y,\n double tileSize\n ) {\n // Get the raw position of the mouse click\n double rawX = x;\n double rawY = y;\n\n // Get the scaled position from the raw position to match the specified tile size\n double scaledX = rawX / tileSize;\n double scaledY = rawY / tileSize;\n\n // Get the truncated position from the scaled position\n int truncatedX = (int) Math.floor(scaledX);\n int truncatedY = (int) Math.floor(scaledY);\n\n MatrixPosition matrixPosition = new MatrixPosition(truncatedY, truncatedX);\n\n // Only return the position when it is in bounds\n if (MatrixPosition.inBounds(matrixPosition, station)) {\n return matrixPosition;\n } else {\n return null;\n }\n }", "title": "" }, { "docid": "64f022735a009c171e7469f12107cb45", "score": "0.51136005", "text": "Coordinate2D createCoordinate2D();", "title": "" }, { "docid": "037d9e43bbf795c01bfbb3cf480efbae", "score": "0.5062829", "text": "Double getLatitude();", "title": "" }, { "docid": "acf16e04ea387a27df4c15b31280a0b7", "score": "0.5057144", "text": "private final Vector2 randomScreenCoordinate() {\n int randX, randY;\n randX = (int) Math.round(Math.random() * Hunter.Config.SCREEN_WIDTH);\n randY = (int) Math.round(Math.random() * Hunter.Config.SCREEN_HEIGHT * 3) - Hunter.Config.SCREEN_HEIGHT;\n return new Vector2(randX, randY);\n }", "title": "" }, { "docid": "19adb79c861345b6488f66632f389ffe", "score": "0.50471663", "text": "private Point getScreenLocation(MouseEvent evt) {\r\n Point cursor = evt.getPoint();\r\n Point target_location = this.getLocationOnScreen();\r\n return new Point((int) (target_location.getX() + cursor.getX()),\r\n (int) (target_location.getY() + cursor.getY()));\r\n }", "title": "" }, { "docid": "8165befc740d6aedcf05ba9838a7f4d4", "score": "0.50389135", "text": "private double coordLat(int y) {\r\n\t\treturn coordGenY(y, top, bottom, vertMiddle, height, 90.0);\r\n\t}", "title": "" }, { "docid": "811f47b2048a3a60a0cbe778bc37bd9f", "score": "0.5017101", "text": "double getLatitude();", "title": "" }, { "docid": "83d4a2b149eccdfd97b19a18e300b9fe", "score": "0.5009102", "text": "void getMapCoordinates() {\n\n int size = (mapSize - 1);\n mapCoordX = (int) (Math.floor((newPC[0] - pcMin) * size / (pcMax - pcMin)));\n mapCoordY = (int) (Math.floor((newPC[1] - pcMin) * size / (pcMax - pcMin)));\n }", "title": "" }, { "docid": "550310bbe91f570ab8a04e5f2b4cb0ab", "score": "0.5000297", "text": "public static void grabLocation() {\r\n\t\tRandom randy = new Random();\r\n\t\tlocX = ((randy.nextInt(Integer.MAX_VALUE) + 1) % 10) + 1;\r\n\t\tlocY = ((randy.nextInt(Integer.MAX_VALUE) + 1) % 10) + 1;\r\n\t}", "title": "" }, { "docid": "95de7ea323133a788c3e1768542f3c9d", "score": "0.49965012", "text": "@Override\n public Vector3f getWorldCoordinates(Vector2f screenPosition, float zPos,\n Vector3f store) {\n return null;\n //throw new Error(\"Method not implemented\");\n }", "title": "" }, { "docid": "e92a89e8d70595c67387939a959d2f0d", "score": "0.4994554", "text": "ChessLocation getCurrentLocation();", "title": "" }, { "docid": "8a0f128f526354918171edc832f3d5fc", "score": "0.49908927", "text": "public interface CoordinateTransformer {\n Point transformToPointOnScreen(Point point);\n\n Point transformToWorldPoint(Point point);\n\n void setWorldBounds(Point topLeft, Point bottomRight);\n\n void setViewBounds(Point topLeft, Point bottomRight);\n\n void moveViewWindow(double dx, double dy);\n\n double scaleToScreenLength(double length);\n\n double scaleToWorldLength(double length);\n\n void zoomWindow(double zoomFactor, double worldX, double worldY);\n}", "title": "" }, { "docid": "ed71b17c67fe7733dd34753901c80429", "score": "0.49618787", "text": "org.openxmlformats.schemas.drawingml.x2006.main.STCoordinate32 xgetPos();", "title": "" }, { "docid": "e2aaaa6dcebf6a7488b22505f3cceb5f", "score": "0.49583668", "text": "int getLocationValue();", "title": "" }, { "docid": "607c5b387756be98a2bad06826783109", "score": "0.49466252", "text": "public int location(int x, int y) {\n return (x << 10) + y;\n }", "title": "" }, { "docid": "79fd0d85f0f251edbb32495a65b2d1ab", "score": "0.4934235", "text": "@Override\n public Vector3f getScreenCoordinates(Vector3f worldPosition) {\n return null;\n //throw new Error(\"Method not implemented\");\n }", "title": "" }, { "docid": "577c81ca0698eb3a11bfd22cb8076ede", "score": "0.49250773", "text": "public static Point2D convert(double lat, double lon) {\r\n double a = 6378137; \r\n double b = 6356752.314; \r\n double k0 = 0.9996;\r\n double e = Math.sqrt(1-(b/a)*(b/a));\r\n double ee = (e*e)/(1-e*e);\r\n \r\n double latr = (lat*Math.PI)/180;\r\n // Not sure why longtitude is never used, seems weird. But its the same in the given formula..\r\n //double lonr = (lon*Math.PI)/180;\r\n int zone = 32;\r\n int zoneCM = 6*zone-183;\r\n double deltaLon = lon-zoneCM;\r\n double dL = deltaLon*Math.PI/180;\r\n double N = a/Math.sqrt(1-e*e*Math.pow(Math.sin(latr),2));\r\n double T = Math.pow(Math.tan(latr),2);\r\n double C0 = ee*(Math.pow(Math.cos(latr),2)); \r\n double A0 = dL*Math.cos(latr);\r\n double M = a*((1-(e*e/4)-3*Math.pow(e,4)/64-5*Math.pow(e,6)/256)*latr-(3*e*e/8+3*Math.pow(e,4)/32+45*Math.pow(e,6)/1024)*Math.sin(2*latr)+(15*Math.pow(e,4)/256+45*Math.pow(e,6)/1024)*Math.sin(4*latr)-(35*Math.pow(e,6)/3072)*Math.sin(6*latr));\r\n double x = 500000+(k0*N*(A0 + (1-T+C0)*(Math.pow(A0,3))/6 + (5-18*T+T*T+72*C0-58*ee)*(Math.pow(A0,5))/120));\r\n double y = k0*(M + N*Math.tan(latr)*(A0*A0/2 + (5 - T +9*C0 +4*C0*C0 )*Math.pow(A0,4)/24 + (61-148*T+16*T*T)*Math.pow(A0,6)/720 ));\r\n \r\n return new Point2D.Double(x,y);\r\n }", "title": "" }, { "docid": "d7aceafdb24edd197f60398925b4dbf0", "score": "0.4923519", "text": "private static Square coordToSquare(int x, int y) {\r\n\t\tint xS = (int) Math.ceil(x / getSquareDimension());\r\n\t\tint yS = (int) Math.ceil(y / getSquareDimension());\r\n\t\treturn squares[xS][yS];\r\n\t\t//System.out.println(\"xS: \" + xS + '\\n' + \"yS: \" + yS);\r\n\t}", "title": "" }, { "docid": "15ec6ea3e06754b598c4a75948964530", "score": "0.4917127", "text": "com.google.type.LatLng getCoords();", "title": "" }, { "docid": "15ec6ea3e06754b598c4a75948964530", "score": "0.4917127", "text": "com.google.type.LatLng getCoords();", "title": "" }, { "docid": "eca7eb12766b1361e65a9ca76dff7397", "score": "0.4909351", "text": "public Point getLocation(){\n\t\treturn new Point(myLocation.x, myLocation.y);\n\t}", "title": "" }, { "docid": "9368a9f9c646e3edf2666d029f924c92", "score": "0.49015015", "text": "public abstract Vector3 getCurrentMapCoords();", "title": "" }, { "docid": "c3cd51c448c71217a0070530317b507a", "score": "0.4893916", "text": "public static Point2D convertToScreen(Node node, double x, double y) {\n\t Point2D pt = NodeUtils.convertToScene(node, x, y);\n\t Stage stage = node.getParent().getStage();\n\t pt = new Point2D.Double(pt.getX()+stage.getX(),pt.getY()+stage.getY());\n\t return pt;\n }", "title": "" }, { "docid": "0293de4b73ee8c77a35e589fac96d992", "score": "0.48666558", "text": "double getLongitude();", "title": "" }, { "docid": "62614efb8aa5cb47ddff8bab09625d8f", "score": "0.48624307", "text": "final Point getLocationOnWindow()\n/* */ {\n/* 3967 */ return new Point(0, 0);\n/* */ }", "title": "" }, { "docid": "d631cfdc56be30e07e0c36abdb89325e", "score": "0.486072", "text": "MowerLocation getCurrentLocation();", "title": "" }, { "docid": "bcbd6ebfd802acab0d5d723a0f2286dd", "score": "0.48520237", "text": "public Point2D.Double getLocation() {\n \treturn new Point2D.Double(getX(), getY());\n }", "title": "" }, { "docid": "6154b128fdd0fb09ff62f40b70658b4c", "score": "0.48488346", "text": "public CoordConverter(double minla, double maxla, double minlo, double maxlo, double zoom)\r\n/* 17: */ {\r\n/* 18:24 */ this.min_lat = minla;\r\n/* 19:25 */ this.max_lat = maxla;\r\n/* 20:26 */ this.min_long = minlo;\r\n/* 21:27 */ this.max_long = maxlo;\r\n/* 22: */ \r\n/* 23:29 */ this.latAmplitude = (this.max_lat - this.min_lat);\r\n/* 24:30 */ this.longAmplitude = (this.max_long - this.min_long);\r\n/* 25: */ \r\n/* 26:32 */ this.widthWorld = (this.longAmplitude * zoom);\r\n/* 27:33 */ this.heightWorld = (this.latAmplitude * zoom);\r\n/* 28: */ }", "title": "" }, { "docid": "80376445fd6149d21da6e4c195242ed2", "score": "0.48439747", "text": "Point2D convertToThis(Point2D worldPos);", "title": "" }, { "docid": "e4f01b96b4fd45ad256ec85103f7ee74", "score": "0.4843455", "text": "Location getHighPoint();", "title": "" }, { "docid": "81bf509e64b9fe6fc5432890b916c461", "score": "0.4828218", "text": "static int pxlCoord(int timestamp) {\r\n\t\tdouble pixPerMinute = (double) PIXELS_PER_HOUR / 60;\r\n\t\tdouble coord = pixPerMinute * timestamp;\r\n\t\treturn (int) coord + TEXT_COLUMN_SIZE;\r\n\t}", "title": "" }, { "docid": "ed882626ce8b8888105fe89a5ee3ea74", "score": "0.48074323", "text": "public String getCoordinates();", "title": "" }, { "docid": "572fb965762f2efde43c80aa0d21b86c", "score": "0.48010555", "text": "Point2D convertToWorld(Point2D pointInSystem);", "title": "" }, { "docid": "d9362bf95f0c528a2912e2c5feace865", "score": "0.4795346", "text": "public Point getLocation() {\r\n\t\tif ( relativePosition == null ) {\r\n\t\t\treturn new Point(10, 10);\r\n\t\t}\r\n\t\treturn new Point(relativePosition);\r\n\t}", "title": "" }, { "docid": "4bd04e39ca19e188805fb2a74220781e", "score": "0.47720674", "text": "public abstract IPoint getLocation();", "title": "" }, { "docid": "bef933a7d874cdfdaeab1fba83fb3181", "score": "0.4766695", "text": "double convertLatToX(double lat) {\n double x = (lat - map0Lat) * 2 * Math.PI * RADIUS / 360;\n return x;\n }", "title": "" }, { "docid": "781dd74254ee39492599a9176046ee1b", "score": "0.47608247", "text": "public double getLatFromUnique(Coord.Unique coord)\r\n/* 46: */ {\r\n/* 47:68 */ return (this.heightWorld - coord.y()) / this.heightWorld * this.latAmplitude + this.min_lat;\r\n/* 48: */ }", "title": "" }, { "docid": "c86096989e57e31bc5d932954097391f", "score": "0.47550732", "text": "CoordinatesType getCoordinates();", "title": "" }, { "docid": "2cb791bceed494539f340d81d9688373", "score": "0.47541198", "text": "Double getLongitude();", "title": "" }, { "docid": "72cd4512eade921415d5c2e5899a01aa", "score": "0.47532701", "text": "public Vector3f screenPointToVector(float x, float y){\r\n x = x * 2.0f - 1.0f;\r\n y = y * 2.0f - 1.0f;\r\n \r\n Vector3f toReturn = new Vector3f(x, y, -camera.getNear());\r\n \r\n Matrix4f invProjection = getCamera().getProjection().invert();\r\n \r\n invProjection.multiplyPoint(toReturn, toReturn);\r\n \r\n getCamera().getTransform().transformPoint(toReturn, toReturn);\r\n \r\n return toReturn;\r\n }", "title": "" }, { "docid": "dc5e65ca5b4ea6834cd53ebb5894ce76", "score": "0.47524223", "text": "Point getViewport();", "title": "" }, { "docid": "bf02040893bacddbf8de2bedc5de00eb", "score": "0.47515887", "text": "public java.awt.Point getCoordinate() {\r\n\t\t//\t\tint pos_x_cache = attribute(XMLTagKeywords.POS_X).positionValue();\r\n\t\t//\t\tint pos_y_cache = attribute(XMLTagKeywords.POS_Y).positionValue();\r\n\t\treturn new java.awt.Point(pos_x,pos_y);\r\n\t}", "title": "" }, { "docid": "9aa41942fada1b8f4135b134c3cba89b", "score": "0.47477373", "text": "double getLon();", "title": "" }, { "docid": "ca34a61fa0746ae6b2f08a067ed56d72", "score": "0.4742474", "text": "public static int getLocalCoord(int coord) {\n return coord & 15;\n }", "title": "" }, { "docid": "c0d4e85b783a375ba0b9428aedcb826e", "score": "0.47396716", "text": "com.tophap.mapbox_gl.proto.Util.LatLngQuad getCoordinates();", "title": "" }, { "docid": "e8cb75473ac71422ad6b01f3e07c545a", "score": "0.4738195", "text": "public Point getLocation() {\r\n\t\treturn new Point(x, y);\r\n\t}", "title": "" }, { "docid": "c44db16f14336df194c7e344043e0d19", "score": "0.47373137", "text": "public Point getMouseLocationOnScreen() {\n\t\treturn mouseLocationOnScreen;\n\t}", "title": "" }, { "docid": "e48a30993b991980ea17aab2a70e0b5f", "score": "0.47317153", "text": "private static int horizontalDisplayToScreenCoord(HorizontalAlignment vertAlign, ScaledResolution resolution,\n Coord originPos, Coord originSize, Coord displayOffset, Coord displaySize) {\n int percOffset = (int) (originSize.x * displayOffset.x / 100f);\n switch (vertAlign) {\n default:\n case LEFT_ABSO:\n return originPos.x + displayOffset.x;\n case CENTER_ABSO:\n return originPos.x + (originSize.x / 2 - displaySize.x / 2) + displayOffset.x;\n case RIGHT_ABSO:\n return originPos.x + (originSize.x - displaySize.x) + displayOffset.x;\n }\n }", "title": "" }, { "docid": "48aa3f109570db43814e46dc04b4a5ef", "score": "0.47311017", "text": "public float getScreenX() {\r\n\t\treturn cr.getPX()+x;\r\n\t}", "title": "" }, { "docid": "5c764fffa8ff338a5e9283256c693f9a", "score": "0.4730112", "text": "public Point getLoc();", "title": "" }, { "docid": "db522565a3956b304f7fb5284673e6c7", "score": "0.47278172", "text": "int getUserPosY();", "title": "" }, { "docid": "7f62f2d46ae7413ff5d2217551d1d4a8", "score": "0.47246385", "text": "float yToPx ( float y_position){\n // get map_layout\n ConstraintLayout mlayout = activity.findViewById(R.id.map_layout);\n // get height of map in pixel\n float layer_height = mlayout.getHeight();\n return (-y_position * layer_height * (0.78955f / 180f));\n }", "title": "" }, { "docid": "f15b83f0236c5a9ef7852bcc2a42185c", "score": "0.47173184", "text": "Decimal getLatitude();", "title": "" }, { "docid": "023b24112a20e1f6c253c72a03d6fce8", "score": "0.47077423", "text": "public int getLocationX() {\r\n\t\treturn location.x;\r\n\t}", "title": "" }, { "docid": "ba83b776b79ff270914176756bbafa9b", "score": "0.47052342", "text": "public Coord getCameraPosition() {\n if(internalNative == null) {\n if(internalLightweightCmp != null) {\n return internalLightweightCmp.getCenter();\n } else {\n //browserBridge.waitForReady();\n //String pos = browserBridge.bridge.callString(\"getCameraPosition\");\n return dummyMapComponent.getCenter();\n /*\n String pos = internalBrowser.executeAndWait(\"callback.onSuccess(\"+BRIDGE+\".getCameraPosition())\").toString();\n try {\n String latStr = pos.substring(0, pos.indexOf(\" \"));\n String lnStr = pos.substring(pos.indexOf(\" \")+1);\n return new Coord(Double.parseDouble(latStr), Double.parseDouble(lnStr));\n } catch (Exception ex) {\n ex.printStackTrace();\n return new Coord(0, 0);\n }\n */\n \n }\n\n }\n return new Coord(internalNative.getLatitude(), internalNative.getLongitude());\n }", "title": "" }, { "docid": "2c91e483a0f6f2ff6286740afb98e7b3", "score": "0.46968865", "text": "String getSquare(int x, int y);", "title": "" }, { "docid": "9c5ecad6b36e9a16888185e4eaee6c11", "score": "0.46965587", "text": "public int[] screenToWorld(int x, int y) {\n\t\t\n\t\tx = (x - (this.getWidth()/2) + Camera.x)/32;\n\t\ty = (y - (this.getWidth()/2) + Camera.y)/32;\n\t\t\n\t\tint testX = x - 64;\n\t\tint testY = y - 64;\n\t\t\n\t\tif(Math.abs(testX*32-Camera.x) > 16*32 + 100 && testX >= 0) {\n\t\t\tx = testX;\n\t\t}\n\t\t\n\t\tif(Math.abs(testY*32-Camera.y) > 16*32 + 100 && testY >= 0) {\n\t\t\ty = testY;\n\t\t}\n\t\t\n\t\tint[] retVal = {x, y};\n\t\t\n\t\treturn retVal;\n\t}", "title": "" }, { "docid": "49409ffebaf006f5cf09e17e81ef820c", "score": "0.46793833", "text": "private void convertToPixelCoordinates() {\n //if (meta.getCrs() == null && crs != null && crs.getName().equals(DomainElement.WGS84_CRS)) {\n if (meta.getBbox() == null && crs != null) {\n throw new RuntimeException(\"Coverage '\" + meta.getCoverageName()\n //+ \"' is not georeferenced with 'EPSG:4326' coordinate system.\");\n + \"' is not georeferenced.\");\n }\n if (counter == 2 && crs != null && domain1.isSingleValue() && domain2.isSingleValue()) {\n //if (crs.getName().equals(DomainElement.WGS84_CRS)) {\n //log.debug(\"CRS is '{}' and should be equal to '{}'\", crs.getName(), DomainElement.WGS84_CRS);\n log.debug(\"[Transformed] requested subsettingCrs is '{}', should match now native CRS is '{}'\", crs.getName(), meta.getBbox().getCrsName());\n try {\n this.transformedCoordinates = true;\n // Convert to pixel coordinates\n Double val1 = domain1.getSingleValue();\n Double val2 = domain2.getSingleValue();\n String axisName = axis.toRasQL(); //.toUpperCase();\n int[] pCoord = crs.convertToPixelIndices(meta, axisName, val1, val2);\n coord1 = pCoord[0];\n coord2 = pCoord[1];\n } catch (WCSException e) {\n this.transformedCoordinates = false;\n log.error(\"Error while transforming geo-coordinates to pixel coordinates.\"\n + \"The metadata is probably not valid.\");\n }\n //}\n }\n }", "title": "" }, { "docid": "2c1581e0ef9e11bcf8157061fa7c83e0", "score": "0.46783745", "text": "public Location getLocationByOffset(int x, int y){\r\n\t\treturn valueOf(this.x + x, this.y + y);\r\n\t}", "title": "" }, { "docid": "2c2d43d24dea97b12cfe8308dfe497ed", "score": "0.46754408", "text": "protected void graph2Screen(Vector2 screenPoint, float graphX, float graphY)\n {\n float graphWidth = xMax - xMin;\n float graphHeight = yMax - yMin;\n float screenX = (graphX - xMin) * GdxUtil.getScreenWidth() / graphWidth;\n float screenY = (graphY - yMin) * GdxUtil.getScreenHeight() / graphHeight;\n screenPoint.set(screenX, screenY);\n }", "title": "" }, { "docid": "9e7639243b07dcf6f7ccdb8b6a27a2b3", "score": "0.46700668", "text": "WorldLocation getWorldLocation();", "title": "" }, { "docid": "b914f10eb6d01ddca022b2bc5ce52cba", "score": "0.46679115", "text": "public int getCoordinateValue(int x, int y) {\n\t\treturn oceanGrid[x][y];\n\t}", "title": "" }, { "docid": "104c1575e3b001879f6d8f0c6fd58248", "score": "0.46609378", "text": "protected static void calcScreenDomain(){\n\t\tscreenDomain.left = worldX;\n\t\tscreenDomain.right = worldX + app.width/worldScale;\n\t\tscreenDomain.top = worldY;\n\t\tscreenDomain.bottom = worldY + app.height / worldScale;\n\t}", "title": "" }, { "docid": "b9ed20eda65b7bafd5376a0b262b3e8a", "score": "0.46605188", "text": "Location getCurrentLocation();", "title": "" }, { "docid": "15309d0be1cd2f8aa9f7f9bc7a5ce13a", "score": "0.46463805", "text": "void getPixelLocationFromImagePlate(Point3d imagePlatePoint,\n\t\t\t\t\tPoint2d pixelLocation) {\n\n\tdouble screenX, screenY;\n\n\tif(viewCache.projectionPolicy == View.PERSPECTIVE_PROJECTION) {\n\t // get the vector from centerEyeInImagePlate to imagePlatePoint\n tVec1.sub(imagePlatePoint, centerEyeInImagePlate);\n\n // Scale this vector to make it end at the projection plane.\n // Scale is ratio :\n // eye->imagePlate Plane dist / eye->imagePlatePt dist\n // eye dist to plane is eyePos.z (eye is in +z space)\n // image->eye dist is -tVec1.z (image->eye is in -z dir)\n //System.err.println(\"eye dist = \" + (centerEyeInImagePlate.z));\n //System.err.println(\"image dist = \" + (-tVec1.z));\n\t if (tVec1.z != 0) {\n\t\tdouble zScale = centerEyeInImagePlate.z / (-tVec1.z);\n\t\tscreenX = centerEyeInImagePlate.x + tVec1.x * zScale;\n\t\tscreenY = centerEyeInImagePlate.y + tVec1.y * zScale;\n\n\t } else {\n\t\tscreenX = imagePlatePoint.x;\n\t\tscreenY = imagePlatePoint.y;\n\t }\n\n } else {\n screenX = imagePlatePoint.x;\n screenY = imagePlatePoint.y;\n }\n\n\t//System.err.println(\"screenX = \" + screenX + \" screenY = \" + screenY);\n // Note: screenPt is in image plate coords, at z=0\n\n // Transform from image plate coords to screen coords\n pixelLocation.x = (screenX / screenViewCache.metersPerPixelX) - canvasX;\n pixelLocation.y = screenViewCache.screenHeight - 1 -\n\t (screenY / screenViewCache.metersPerPixelY) - canvasY;\n //System.err.println(\"pixelLocation = \" + pixelLocation);\n }", "title": "" }, { "docid": "14b4d3fa4bbb3bd3a0ccd7edecf70de4", "score": "0.46458375", "text": "public GeoPoint fromPixels(float x, float y) {\n\t\t\t/* Subtract the offset caused by touch. */\n\t\t\t// LogUtil.d(DEBUGTAG,\n\t\t\t// \"x = \"+x+\" mTouchMapOffsetX = \"+mTouchMapOffsetX+\" \");\n\n\t\t\tx -= 0;\n\t\t\ty -= 0;\n\n\t\t\t// int xx =\n\t\t\t// centerMapTileCoords[0]*tileSizePx+(int)x-upperLeftCornerOfCenterMapTile.x;\n\t\t\t// int asd = Util.x2lon(xx, zoomLevel, tileSizePx);\n\t\t\tGeoPoint p = bb.getGeoPointOfRelativePositionWithLinearInterpolation(x / viewWidth, y / viewHeight);\n\n\t\t\t// LogUtil.d(DEBUGTAG,\n\t\t\t// \"lon \"+p.getLongitudeE6()+\" \"+xx+\" \"+asd+\" OffsetX = \"+mTouchMapOffsetX);\n\t\t\t// LogUtil.d(DEBUGTAG,\n\t\t\t// \"\t\"+centerMapTileCoords[0]+\" \"+tileSizePx+\" \"+x+\" \"+upperLeftCornerOfCenterMapTile.x);\n\t\t\t// p.setLongitudeE6(asd);\n\n\t\t\t// for(int i =0; i<=tileSizePx*(1<<zoomLevel); i++){int Q = Util.x2lon(i,\n\t\t\t// zoomLevel, tileSizePx);LogUtil.d(DEBUGTAG, \"lon \"+i+\" \"+Q);}\n\n\t\t\treturn p;\n\t\t}", "title": "" }, { "docid": "27ae1a34527d13e13430ed1e44b0daa3", "score": "0.464517", "text": "private double coordLon(int x) {\r\n\t\treturn coordGenX(x, left, right, horzMiddle, width, 180.0);\r\n\t}", "title": "" }, { "docid": "ad91fb7ea7e06dd9370357428121d7fa", "score": "0.4642372", "text": "public Point getLocation()\r\n {\r\n return new Point(x, y);\r\n }", "title": "" }, { "docid": "b53b0b2fe2eb8b035abbe90284118751", "score": "0.4641248", "text": "public void render(Screen screen) {\n\t\tscreen.renderProjectile((int)x + 8, (int) y + 5, this); //must cast to int from double. doesnt affect the angle precision :D\n\t}", "title": "" }, { "docid": "12f2e77d76d81d98b9f4e3dd65a08fec", "score": "0.46330595", "text": "public double getLatFromY(double y)\r\n/* 51: */ {\r\n/* 52:72 */ return (this.heightWorld - y) / this.heightWorld * this.latAmplitude + this.min_lat;\r\n/* 53: */ }", "title": "" }, { "docid": "ce1d9c9b1ca5b9610b07a866b38be273", "score": "0.46305305", "text": "public void getLocation(){\n Random loc = new Random();\r\n locationX = loc.nextInt(100);\r\n locationY = loc.nextInt(100);\r\n }", "title": "" } ]
1df06e7a0b17bf7664a2bd2d84fb4ff8
minimum edges required to make all n nodes connected is n1;
[ { "docid": "a51fe524f24183d4bdc054b90090cb44", "score": "0.5588672", "text": "public int makeConnected(int n, int[][] connections) {\n if(connections.length<n-1)return -1;\n \n\n List<Integer>[] graph=new ArrayList[n];\n for(int i=0;i<n;i++){\n graph[i]=new ArrayList<>();\n }\n\n for(int[] edge:connections){\n graph[edge[0]].add(edge[1]);\n graph[edge[1]].add(edge[0]);\n }\n //Goal is to get number of connected components in the graph\n boolean[] visited=new boolean[n];\n int cc=0;\n for(int i=0;i<n;i++){\n if(visited[i]!=true)\n cc+=getComp(graph,i,visited);\n \n }\n \n return cc-1;\n }", "title": "" } ]
[ { "docid": "82090d35f8cea796d7a53cf37501afec", "score": "0.64550936", "text": "int getGraphMin();", "title": "" }, { "docid": "f755d0b159150af59f3f2dec66f5f62a", "score": "0.6360062", "text": "public ArrayList<Edge> connectVertex_firstNInThreshold(Vertex v, ArrayList<Vertex> graph, double neighbourhoodSize, int maxConnections) {\n \tint connectedCount = 0;\n double distance = 0;\n ArrayList<Edge> connections = new ArrayList<Edge>();\n for (Vertex vert : graph) {\n if (vert.getConnectedVertices().size() >= maxConnections\n || vert.getConnectedVertices().contains(v)){\n // If we've already been connected to this node, carry on.\n continue;\n }\n distance = getEuclideanDistance(v, vert);\n if (distance <= neighbourhoodSize && !isConnected(v, vert) && v != vert) {\n if (connectedInFreeSpace(inflatedMap,\n v.getLocation().getX(),\n v.getLocation().getY(),\n vert.getLocation().getX(),\n vert.getLocation().getY(), distance)) {\n \n v.addConnectedVertex(vert);\n vert.addConnectedVertex(v);\n connections.add(new Edge(v, vert, distance));\n connectedCount++;\n }\n }\n \t if (connectedCount == maxConnections){\n \t\tbreak;\n }\n }\n \n return connections;\n }", "title": "" }, { "docid": "b913dcf75cb054ee58ca86ecc01f0b45", "score": "0.6291072", "text": "public List<Integer> findMinHeightTrees(int n, int[][] edges) {\r\n List<Integer> res = new ArrayList<>();\r\n if (n == 1) {\r\n res.add(0);\r\n return res;\r\n }\r\n List<Integer>[] graph = new List[n];\r\n int[] degree = new int[n];\r\n for (int i = 0; i < n; i++) {\r\n graph[i] = new ArrayList<>();\r\n }\r\n for (int[] edge : edges) {\r\n graph[edge[0]].add(edge[1]);\r\n graph[edge[1]].add(edge[0]);\r\n degree[edge[0]]++;\r\n degree[edge[1]]++;\r\n }\r\n Queue<Integer> que = new LinkedList<>();\r\n for (int i = 0; i < n; ++i) {\r\n if (degree[i] == 1) {\r\n que.add(i);\r\n }\r\n }\r\n int count = n;\r\n int temp;\r\n int size;\r\n while (count > 2) {\r\n size = que.size();\r\n for (int i = 0; i < size; ++i) {\r\n count--;\r\n temp = que.remove();\r\n for (int nei : graph[temp]) {\r\n if (--degree[nei] == 1) {\r\n que.add(nei);\r\n }\r\n }\r\n }\r\n }\r\n return res = new ArrayList<>(que);\r\n }", "title": "" }, { "docid": "c2c9e841a332e8672afbb578349af01b", "score": "0.6282124", "text": "public void minimumSpanningTree() {\n\t\t// Default value for a location with no edge.\n\t\tint noEdge = Integer.MAX_VALUE;\n\t\t// The number of vertices that have been processed.\n\t\tint numVerticesIncluded;\n\t\t// The vertices we have included.\n\t\tint verticesIncluded[] = new int[numberVertices];\n\t\t// A copy of the weights matrix and a matrix that will represent the minimum spanning tree.\n\t\tint weightsCopy[][] = new int[numberVertices][numberVertices];\n\t\tint mst[][] = new int[numberVertices][numberVertices];\n\t\t// Copy the values from the stored weights into our new matrix that we will manipulate.\n\t\tfor (int i = 0; i < numberVertices; i++) {\n\t\t\tfor (int j = 0; j < numberVertices; j++) {\n\t\t\t\tif (edge[i][j] == 0) {\n\t\t\t\t\tweightsCopy[i][j] = noEdge;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tweightsCopy[i][j] = edge[i][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\t\n\t\t// add vertex 0 to the tree\n\t\tverticesIncluded[0] = 0;\n\t\tnumVerticesIncluded = 1;\n\t\t// eliminate the edges to vertex 0\n\t\tfor (int i = 0; i < numberVertices; i++) {\n\t\t\tweightsCopy[i][0] = noEdge;\n\t\t}\n\t\t\n\t\t\n\t\t// While we haven't done all the vertices.\n\t\twhile(numVerticesIncluded < numberVertices) {\n\n\t\t\t// Declare a new array so we can return multiple values.\n\t\t\tint[] nums = new int[3];\n\t\t\t// Find the minimum edge weigh.\n\t\t\tfindMinEdgeWeight(weightsCopy, verticesIncluded, numVerticesIncluded, nums);\n\t\t\t// Unpack the values.\n\t\t\tint weightsMin = nums[0];\n\t\t\tint rowMin = nums[1];\n\t\t\tint colMin = nums[2];\n\t\t\t\n\t\t\t// Eliminate all the incident paths.\n\t\t\tfor (int i = 0; i < numberVertices; i++) {\n\t\t\t\tweightsCopy[i][colMin] = noEdge;\n\t\t\t}\n\t\t\t// Add the minimum weighted edge to the tree. Symmentrically.\n\t\t\tmst[rowMin][colMin] = weightsMin;\n\t\t\tmst[colMin][rowMin] = weightsMin;\n\t\t\t// Add the vertex to the included list and increment the number of vertices included.\n\t\t\tverticesIncluded[numVerticesIncluded] = colMin;\n\t\t\tnumVerticesIncluded++;\n\t\t}\n\n\t\tprintMatrix(mst);\n\t\t\n\t}", "title": "" }, { "docid": "ce30e2c680d3c2201c30bc0add5464fd", "score": "0.6227049", "text": "private static int[] findRedundantConnectionDFS(int[][] edges) {\n ArrayList<Integer>[] graph = new ArrayList[MAX_EDGE_VAL + 1];\n Arrays.fill(graph, new ArrayList<>());\n// for (int i = 0; i <= MAX_EDGE_VAL; i++) {\n// graph[i] = new ArrayList();\n// }\n\n for (int[] edge: edges) {\n visited.clear();\n // if edge0 and edge1 is not empty\n if (!graph[edge[0]].isEmpty() && !graph[edge[1]].isEmpty() &&\n dfs(graph, edge[0], edge[1])) {\n return edge;\n }\n graph[edge[0]].add(edge[1]);\n graph[edge[1]].add(edge[0]);\n }\n throw new AssertionError();\n }", "title": "" }, { "docid": "b2fed812a63a6bcb8efa3dcb15722c61", "score": "0.6139106", "text": "public int[] findRedundantDirectedConnection(int[][] edges){\n\t\tif(edges == null || edges.length == 0 || edges[0].length == 0){\n\t\t\treturn new int[2];\n\t\t}\n\n\t\tint n = edges.length;\n\t\tint[] parents = new int[n + 1];\n\t\tint[] candA = new int[2];\n\t\tint[] candB = new int[2];\n\t\tfor(int[] edge : edges){\n\t\t\t// current node doesn't have the parent node yet\n\t\t\tif(parents[edge[1]] == 0){\n\t\t\t\tparents[edge[1]] = edge[0];\n\t\t\t// current node already has the parent node\n\t\t\t}else{\t\t\n\t\t\t\t//store the two edges as candidates A and B\n\t\t\t\tcandA = new int[] {parents[edge[1]], edge[1]};\n\t\t\t\t// Attention: we cannot just let candB = edge, because we need modify edge later, \n\t\t\t\t// which means the candB will be modified if we do this.\n\t\t\t\tcandB = new int[] {edge[0], edge[1]}; \n\t\t\t\tedge[1] = 0; // let the second node with the second parents to be 0\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"candA = [\" + candA[0] + \", \" + candA[1] + \"]\");\n\t\tSystem.out.println(\"candB = [\" + candB[0] + \", \" + candB[1] + \"]\");\n\n\t\tfor(int i = 0; i <= n; i++){\n\t\t\tparents[i] = i;\n\t\t}\n\n\t\tfor(int[] edge : edges){\n\t\t\tif(edge[1] == 0){\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tint idx1 = edge[0], idx2 = edge[1];\n\t\t\tint root1 = getRoot(parents, idx1);\n\t\t\tint root2 = getRoot(parents, idx2);\n\t\t\tif(root2 != root1){\n\t\t\t\tparents[root2] = root1;\n\t\t\t}else{\n\t\t\t\t// Case 2: a circle exists\n\t\t\t\tif(candA[0] == 0){\n\t\t\t\t\treturn edge;\n\t\t\t\t// Case 1: a node has two parents + circle\n\t\t\t\t// Case :{{2, 1}, {3, 1}, {4, 2}, {1, 4}}\n\t\t\t\t}else{\n\t\t\t\t\treturn candA;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// Case 1: a node has two parents\n\t\t// Case: {{1, 2}, {1, 3}, {2, 3}}\n\t\treturn candB;\n\t}", "title": "" }, { "docid": "04808723268759e7b81071217efa8332", "score": "0.61315286", "text": "public List<Integer> findMinHeightTrees(int n, int[][] edges) {\n if(n==0) return new ArrayList<>();\n if(n<2){\n ArrayList<Integer> list = new ArrayList<>();\n for(int i =0;i<n;i++){\n list.add(i);\n }\n return list;\n }\n\n ArrayList<Set<Integer>> tree = new ArrayList<>();\n\n for(int i=0;i<n;i++){\n tree.add(new HashSet<>());\n }\n\n for(int edge[]: edges){\n tree.get(edge[0]).add(edge[1]);\n tree.get(edge[1]).add(edge[0]);\n }\n\n ArrayList<Integer> leaves = new ArrayList<>();\n for(int i=0;i<n;i++){\n if(tree.get(i).size()==1){\n leaves.add(i);\n }\n }\n int remainingNodes = n;\n\n while(remainingNodes>2){\n\n remainingNodes -= leaves.size();\n ArrayList<Integer> newQueue = new ArrayList<>();\n for (int leaf : leaves) {\n int neighbour = tree.get(leaf).iterator().next();\n if(tree.get(neighbour).size()==1){\n newQueue.add(neighbour);\n }\n tree.get(neighbour).remove(leaf);\n }\n leaves = newQueue;\n }\n return leaves;\n }", "title": "" }, { "docid": "e6343b8039bef28b1c4bef32806425a6", "score": "0.61310023", "text": "public static List<Integer> findMinHeightTrees(int n, int[][] edges) {\n\t\tList<Integer> result = new ArrayList<>();\n\n\t\tif (n <= 0) {\n\t\t\treturn result;\n\t\t}\n\n\t\t// Corner case: there is a single node and no edge at all\n\t\tif (n == 1 && edges.length == 0) {\n\t\t\tresult.add(0);\n\t\t\treturn result;\n\t\t}\n\n\t\tMap<Integer, Set<Integer>> map = new HashMap<>();\n\n\t\t// construct graph\n\t\tfor (int[] edge : edges) {\n\t\t\tmap.compute(edge[0], (key, value) -> {\n\t\t\t\tif (null == value) {\n\t\t\t\t\tvalue = new HashSet<>();\n\t\t\t\t}\n\t\t\t\tvalue.add(edge[1]);\n\t\t\t\treturn value;\n\t\t\t});\n\t\t\tmap.compute(edge[1], (key, value) -> {\n\t\t\t\tif (null == value) {\n\t\t\t\t\tvalue = new HashSet<>();\n\t\t\t\t}\n\t\t\t\tvalue.add(edge[0]);\n\t\t\t\treturn value;\n\t\t\t});\n\t\t}\n\n\t\tQueue<Integer> queue = new LinkedList<>();\n\t\tfor (int ver : map.keySet()) {\n\t\t\t// start with leaf nodes\n\t\t\tif (map.get(ver).size() == 1) {\n\t\t\t\tqueue.offer(ver);\n\t\t\t}\n\n\t\t}\n\n\t\twhile (n > 2) {\n\t\t\tn -= queue.size();\n\t\t\tQueue<Integer> newLeaves = new LinkedList<>();\n\t\t\twhile (!queue.isEmpty()) {\n\t\t\t\tint leaf = queue.poll();\n\t\t\t\tint neighbour = map.get(leaf).iterator().next();\n\t\t\t\tmap.get(neighbour).remove(leaf);\n\t\t\t\tif (map.get(neighbour).size() == 1) {\n\t\t\t\t\tnewLeaves.offer(neighbour);\n\t\t\t\t}\n\t\t\t}\n\t\t\tqueue = newLeaves;\n\t\t}\n\t\tresult.addAll(queue);\n\t\treturn result;\n\t}", "title": "" }, { "docid": "00540000e2474fe9f77ee810bf48e3ac", "score": "0.6002096", "text": "public ISet<Edge<V, E>> findMinimumSpanningTree() {\n IDisjointSets<V> mst = new ArrayDisjointSets<>();\n ISet<Edge<V, E>> resultingSet = new ChainedHashSet<>();\n\n for (KVPair<V, ISet<Edge<V, E>>> pair : this.graph) {\n mst.makeSet(pair.getKey());\n }\n\n IList<Edge<V, E>> sortedEdges = Sorter.topKSort(this.totalEdges, this.edges); // list of sorted number of edges\n\n for (Edge e: sortedEdges) {\n V vertex1 = (V) e.getVertex1();\n V vertex2 = (V) e.getVertex2();\n if (mst.findSet(vertex1) != mst.findSet(vertex2)) {\n mst.union(vertex1, vertex2);\n resultingSet.add(e);\n }\n }\n return resultingSet;\n }", "title": "" }, { "docid": "8ad04b2629b27384c7566e2c338884cf", "score": "0.598984", "text": "void prims()\r\n {\r\n int[] parent = new int[graph.length];\r\n int[] distance = new int[graph.length];\r\n Boolean[] visited = new Boolean[graph.length];\r\n for (int i = 0; i < graph.length; i++)\r\n {\r\n distance[i] = Integer.MAX_VALUE;\r\n visited[i] = false;\r\n }\r\n distance[0] = 0; //source vertex\r\n parent[0] = -1; //parent is null for source vertex\r\n\r\n // The MST will have V vertices\r\n for (int count = 0; count < graph.length - 1; count++)\r\n {\r\n int u = minKey(distance, visited);// Pick thd minimum distance vertex which is unvisited\r\n visited[u] = true;// mark as visited\r\n // Update distance and parent index of the adjacent vertices of the picked vertex.\r\n // Consider only those vertices which are not yet visited (included in MST)\r\n for (int v = 0; v < graph.length; v++)\r\n {\r\n if (graph[u][v] != 0 && !visited[v] && graph[u][v] < distance[v])\r\n {\r\n parent[v] = u;\r\n distance[v] = graph[u][v];\r\n }\r\n }\r\n }\r\n\r\n // print the constructed MST\r\n System.out.println(\"Edge \\tWeight\");\r\n for (int i = 1; i < graph.length; i++)\r\n System.out.println(parent[i] + \" - \" + i + \"\\t\" + graph[i][parent[i]]);\r\n }", "title": "" }, { "docid": "c2fb3b8d7fa6ccd756d3ed6ac59ed833", "score": "0.5962649", "text": "public int nPossibleEdges() {\r\n\r\n return (nNodes*(nNodes-1))/2;\r\n }", "title": "" }, { "docid": "0e082c52420a9edf85d36869c3e8a630", "score": "0.5931583", "text": "public Node<Register> getLeastConstrained(){\n\t\tNode<Register> node = null;\n\t\tCollection<Node<Register>> nodeColls = (Collection<Node<Register>>)(nodes.values());\n\t\tList n_list = new ArrayList(nodeColls);\t\n\t\tfor(int i = 0; i < (nodeColls.size() - 1); i++){\n\t\t\tif(((Node<Register>)n_list.get(i)).getDegree() <= ((Node<Register>)n_list.get(i+1)).getDegree()){\n\t\t\t\tnode = (Node<Register>)n_list.get(i);\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tnode = (Node<Register>)n_list.get(i+1);\n\t\t\t}\n\t\t}\n\t\t//for(Node<Register> n : nodes.values()){\n\t\t//\tif(n.getDegree() < node.getDegree()){\n\t\t//\t\tnode = n;\n\t\t//\t}\n\t\t//}\n\t\tif(nodeColls.size() == 1)\n\t\t{\n\t\t\tnode = (Node<Register>)n_list.get(0);\n\t\t}\n\t\treturn node;\n\t}", "title": "" }, { "docid": "d0a21cbdb19b43b18157201d3e462f02", "score": "0.5923492", "text": "@Test\n public void MinimumSpanningTreeTest() {\n assertArrayEquals(new int[][] { {0, 5, 0, 0, 0}, {5, 0, 0, 0, 1}, {0, 0, 0, 4, 0},\n {0, 0, 4, 0, 2}, {0, 1, 0, 2, 0}}, graphList.minimumSpanningTree());\n }", "title": "" }, { "docid": "7d08c1b7df792590e40f25b217e98850", "score": "0.5909415", "text": "Graph<T> minimumSpanningTree() {\n Graph<T> result = new Graph<T>();\n \n /* Add all the nodes with no edges to the result \n * (all the nodes are empty edge)\n */\n for (Node<T> n : this.nodes) {\n Node<T> newNode = new Node<T>(n.pos);\n result.nodes.add(newNode);\n }\n \n /* Building up a collection of all edges of the graph */\n ArrayList<Edge<T>> edges = this.edges;\n //Utils ut = new Utils();\n \n /* Now we need to sort the edges, in descending order */\n Collections.sort(edges, new EdgeComparator<T>());\n \n /*Set up a partition of nodes*/\n for (Node<T> node : this.nodes) {\n this.unionFind.add(node);\n }\n /*\n * Count how many edges we have already added\n */\n int numEdges = 0;\n \n /* \n * Now, iterate over the edges, adding each edge if its endpoints aren't \n * in the same partition\n */\n for (Edge<T> edge : this.edges) {\n /* If the endpoints are connected, skip the edge */\n /* Otherwise, add the edge */\n if (this.unionFind.find(edge.first) != this.unionFind.find(edge.second)) {\n Node<T> newNode1 = result.find(edge.first.pos);\n Node<T> newNode2 = result.find(edge.second.pos);\n result.addEdge(newNode1, newNode2, edge.weight);\n \n numEdges += 1; // increase the number of added edges\n \n /* Link the endpoints together */\n this.unionFind.union(edge.first, edge.second);\n }\n /* If we've added enough already, quit */\n if (numEdges + 1 == this.nodes.size()) {\n break;\n }\n }\n \n return result;\n }", "title": "" }, { "docid": "90ff16aa68df286422780aacd56746e9", "score": "0.5860451", "text": "public void findMSTSimple () {\n\t\tif (vertices.length < 1 || !this.traverseDFS()) {\n\t\t\tSystem.out.println(\"MST not possible\");\n\t\t\treturn;\n\t\t}\n//\t\tRequired to check if the vertex is already visited\n\t\tBoolean[] VerticesCheck = new Boolean[vertices.length];\n\t\tfor (int i = 0 ; i < vertices.length ; i++) {\n\t\t\tVerticesCheck[i] = false;\n\t\t}\t\t\n//\t\tCount the vertices which are visited\n\t\tint verticesCount = 0;\n//\t\tInitialize Simple Scheme\n\t\tSimpleScheme sScheme = new SimpleScheme(numEdges);\n/*\t\tStart with the alphabetically smallest vertex which is already stored in 'vertices'\n\t\tAnd then keep checking until VerticesCheck has all true*/\n\t\tint current = 0;\n//\t\tIncrementing the number of vertices visited when current vertex is found\n\t\tverticesCount++;\n\t\tint indexCount = 0;\n\t\tint totalCost = 0;\n\t\tdo {\n//\t\t\tTaking the vertex out\n\t\t\tVertex v = vertices[current];\n//\t\t\tVisiting it\n\t\t\tVerticesCheck[current] = true;\n//\t\t\tChecking for every neighbor in the adjacency list\n\t\t\tfor (Neighbor n = v.adjList ; n != null ; n = n.next) {\n//\t\t\t\tCreating a new edge with Start, End, Cost, isUsed\n\t\t\t\tEdgeCost e = new EdgeCost(v, vertices[n.vertexNum], n.edgeWeight, false, false);\n//\t\t\t\tChecking if the edge already exists in the Simple Scheme cost-array\n\t\t\t\tif (!sScheme.doesEdgeExist(e)) {\n//\t\t\t\t\tEdge doesn't exist\n\t\t\t\t\tsScheme.addEdge(e, indexCount);\n\t\t\t\t\tindexCount++;\n\t\t\t\t}\n\t\t\t}\n//\t\t\tFinding Min-Edge\n\t\t\tEdgeCost e = sScheme.extractLocalMin();\n/*\t\t\tAs long as both the end-points of the min-edge are already present \n\t\t\tin the 'VerticesCheck' array, ignoring that vertex and generating\n\t\t\tnew local min-edge. This will avoid a cycle in the minimum spanning tree*/\n\t\t\twhile (VerticesCheck[e.v1.key] && VerticesCheck[e.v2.key]) {\n\t\t\t\tsScheme.ignoreEdge(e);\n\t\t\t\te = sScheme.extractLocalMin();\n\t\t\t}\n\t\t\ttotalCost += e.cost;\n//\t\t\tInvalidating the Edge\n\t\t\tsScheme.invalidateEdge(e);\n//\t\t\tGetting the new current vertex from the minimum edge chosen\n//\t\t\tOne of the end-points of this must be already visited\n\t\t\tint key = e.v1.key;\n//\t\t\tIf v1 is visited, choose v2, else chose v1\n\t\t\tif (VerticesCheck[key]) {\n\t\t\t\tcurrent = e.v2.key;\n\t\t\t} else {\n\t\t\t\tcurrent = e.v1.key;\n\t\t\t}\n//\t\t\tIncrementing the number of vertices visited when current vertex is found\n\t\t\tverticesCount++;\t\t\t\n\t\t} while (verticesCount != vertices.length);\n//\t\tPrinting the minimum spanning tree with its cost\n\t\tSystem.out.println();\n\t\tSystem.out.println(\"The minimum spanning tree will consist of the following edges\");\n\t\tSystem.out.println(\"Cost is followed by the edges\");\n\t\tSystem.out.println();\n\t\tSystem.out.println(totalCost);\n\t\tfor (int i = 0 ; i < numEdges && sScheme.costArray[i] != null ; i++) {\n\t\t\tEdgeCost eC = sScheme.costArray[i];\n\t\t\tif (eC.isUsed)\n\t\t\t\tSystem.out.println(eC.v1.key + \" \" + eC.v2.key);\n\t\t}\n\t\tSystem.out.println();\n//\t\tSystem.out.println(\"Cost of the minimum spanning tree: \" + totalCost);\n\t}", "title": "" }, { "docid": "57adc6be6bcd460b86755bc571681239", "score": "0.5844314", "text": "public int minMalwareSpread(int[][] graph, int[] initial) {\n\n\t\tint N = graph.length;\n\t\tint[] colors = new int[N];\n\t\tArrays.fill(colors, -1);\n\t\tint C = 0;\n\n\t\tfor (int node = 0; node < N; ++node)\n\t\t\tif (colors[node] == -1)\n\t\t\t\tdfs(graph, colors, node, C++);\n\n\t\t// 2. Size of each color.\n\t\tint[] size = new int[C];\n\t\tfor (int color : colors)\n\t\t\tsize[color]++;\n\n\t\t// 3. Find unique colors.\n\t\tint[] colorCount = new int[C];\n\t\tfor (int node : initial)\n\t\t\tcolorCount[colors[node]]++;\n\n\t\t// 4. Answer\n\t\tint ans = Integer.MAX_VALUE;\n\t\tfor (int node : initial) {\n\t\t\tint c = colors[node];\n\t\t\tif (colorCount[c] == 1) {\n\t\t\t\tif (ans == Integer.MAX_VALUE)\n\t\t\t\t\tans = node;\n\t\t\t\telse if (size[c] > size[colors[ans]])\n\t\t\t\t\tans = node;\n\t\t\t\telse if (size[c] == size[colors[ans]] && node < ans)\n\t\t\t\t\tans = node;\n\t\t\t}\n\t\t}\n\n\t\tif (ans == Integer.MAX_VALUE)\n\t\t\tfor (int node : initial)\n\t\t\t\tans = Math.min(ans, node);\n\n\t\treturn ans;\n\t}", "title": "" }, { "docid": "7ca8da4fa7d7c7bbb2968b23316f6427", "score": "0.5838743", "text": "private static void findMinimalDistances(Traversable node) {\n Set<Traversable> adjacentSegments = node.getNeighbors();\n\n for (Traversable target : adjacentSegments) {\n \n if (target.getCost() >= 0) {\n if (getShortestDistance(target) > getShortestDistance(node)\n + target.getCost()) {\n\n distance.put(target, getShortestDistance(node) + target.getCost());\n\n predecessors.put(target, node);\n unsettledNodes.add(target);\n\n }\n }\n }\n\n\n }", "title": "" }, { "docid": "712b5924f42787dc6bc7f8592fda4bab", "score": "0.5816937", "text": "int edgeCount();", "title": "" }, { "docid": "5406b05b603805c6310a1f037053c12a", "score": "0.5811615", "text": "Integer getMinCycles();", "title": "" }, { "docid": "d860abd4be9993af48143ffaa4f981ed", "score": "0.5798919", "text": "N[] connectionsOf(N node);", "title": "" }, { "docid": "2d79ec5425a125d63e9628405142f4de", "score": "0.5785139", "text": "public int numEdges();", "title": "" }, { "docid": "ab13056d4e37a1f4ef4c2af80421ebc4", "score": "0.5766648", "text": "public static List<Integer> bfs(int n, int m, List<List<Integer>> edges, int s) {\n // Write your code here\n\n int[] distances = new int[n + 1];\n for (int i = 0; i < distances.length; i++) {\n distances[i] = -1;\n }\n\n Queue<Integer> queue = new LinkedList<>();\n queue.add(s);\n distances[s] = 0;\n\n while (!queue.isEmpty()) {\n int current = queue.poll();\n\n Iterator<List<Integer>> iterator = edges.iterator();\n\n while (iterator.hasNext()) {\n List<Integer> edge = iterator.next();\n Integer connected = null;\n\n if (edge.get(0) == current) {\n connected = edge.get(1);\n } else if (edge.get(1) == current) {\n connected = edge.get(0);\n }\n if (connected == null) {\n continue;\n }\n queue.add(connected);\n iterator.remove();\n\n if (distances[connected] == -1) {\n distances[connected] = distances[current] + 6;\n } else {\n distances[connected] = Math.min(distances[connected], distances[current] + 6);\n }\n }\n }\n\n List<Integer> result = new ArrayList<>(n - 1);\n for (int i = 1; i < distances.length; i++) {\n if (i != s) {\n result.add(distances[i]);\n }\n }\n\n return result;\n }", "title": "" }, { "docid": "3d81557e148ea3ee7f2e2a554f5bbbab", "score": "0.5750717", "text": "public abstract int getNodesN();", "title": "" }, { "docid": "e20d9c86ba502b651049f3301197d8c1", "score": "0.5704475", "text": "public int inDegree() { return inEdges.size(); }", "title": "" }, { "docid": "6a3d1ea5129d84c7e97ec53aa6c1a5c7", "score": "0.5694728", "text": "public Set<N> getConnectedNodes(N node) {\n \n Set<N> visited = new HashSet();\n List<N> frontier = new LinkedList();\n \n frontier.addAll(this.getNeighbors(node));\n \n while (!frontier.isEmpty()) {\n N n = frontier.remove(0);\n if (!visited.contains(n)) {\n visited.add(n);\n Set<N> neighbors = this.getNeighbors(n);\n for (N neighbor : neighbors) {\n if (!visited.contains(neighbor)) {\n frontier.add(neighbor);\n }\n } \n } \n }\n return visited;\n }", "title": "" }, { "docid": "4f43af866fc51a0273c834578133ff02", "score": "0.56946003", "text": "public static void main(String[] args) throws IOException {\n Scanner sc=new Scanner(System.in);\n /* int nv=sc.nextInt();\n int ne=sc.nextInt();*/\n //ArrayList<Edge> ar=new ArrayList<Edge>();\n BufferedReader br=new BufferedReader(new FileReader(\"C:\\\\Users\\\\Yuvaraj\\\\git\\\\HackerRank\\\\Hackerrank\\\\src\\\\com\\\\Hackerrank\\\\algos\\\\graphtheory\\\\input.txt\"));\n \tString input=null;\n \tArrayList<Edge> ar=new ArrayList<Edge>();\n \tbr.readLine();\n \twhile((input=br.readLine())!=null){\n \t\t\tString[] str=input.split(\" \");\n ar.add(new Edge(Integer.valueOf(str[0]),Integer.valueOf(str[1]),Integer.valueOf(str[2])));\n \t}\n /* for(int i=1;i<=ne;i++){\n ar.add(new Edge(sc.nextInt(),sc.nextInt(),sc.nextInt()));\n }*/\n \n Collections.sort(ar);\n \n ArrayList<HashSet<Integer>> setList=new ArrayList<HashSet<Integer>>(); \n long sum=0;\n \n for(Edge e:ar){\n int start=e.start;\n int end=e.end;\n boolean setA=false;\n boolean setB=false;\n int setAIndex=0,setBIndex=0;\n boolean flag=true;\n for(int i=0;i<setList.size();i++){\n HashSet<Integer> set=setList.get(i);\n if(set.contains(start) && set.contains(end)){\n // System.out.println(\"Skipping edge\"+e.start+\" \"+e.end+\" \"+e.weight);\n flag=false;\n break;\n }else if(set.contains(start)){\n setA=true;\n setAIndex=i;\n }else if(set.contains(end)){\n setB=true;\n setBIndex=i;\n }\n }\n if(flag){\n \t//System.out.println(\"Not skipped\");\n sum+=e.weight;\n if(setA && setB){\n // System.out.println(\"Inside Merge\"+setAIndex+\" \"+setBIndex);\n HashSet<Integer> hashSetA=setList.get(setAIndex);\n hashSetA.addAll(setList.get(setBIndex));\n //System.out.println(\"Aftermerge\"+hashSetA);\n setList.remove(setBIndex);\n }else if(setA){\n HashSet<Integer> set=setList.get(setAIndex);\n set.add(end);\n }else if(setB){\n HashSet<Integer> set=setList.get(setBIndex);\n set.add(start);\n }else{\n HashSet<Integer> set=new HashSet<Integer>();\n set.add(start);\n set.add(end);\n setList.add(set);\n } \n }else{\n \t//System.out.println(\"Skipped\");\n }\n /* for(HashSet<Integer> h:setList){\n System.out.print(h);\n }\n System.out.println();*/\n System.out.println(\"Sum\"+sum);\n }\n \n System.out.println(sum);\n }", "title": "" }, { "docid": "f26d6057d0950f77c9613e17231e1637", "score": "0.56517845", "text": "public static int solve(int N, int M, ArrayList<ArrayList<Integer>> Edges) {\n int[][] rGraph = new int[N][N];\n for(int i = 0; i < M; i++) {\n rGraph[Edges.get(i).get(0)-1][Edges.get(i).get(1)-1] = Edges.get(i).get(2);\n rGraph[Edges.get(i).get(1)-1][Edges.get(i).get(0)-1] = Edges.get(i).get(2);\n }\n\n int s = 0, t = N - 1;\n\n// for(int[] a: rGraph)\n// System.out.println(Arrays.toString(a));\n\n // this will be used to backtrack the path followed\n int[] parent = new int[N];\n int max_flow = 0;\n\n // use bfs to check if there is a path from source to destination and fill the parent array\n while(bfs(rGraph, N, s, t, parent)) {\n int path_flow = Integer.MAX_VALUE;\n\n // travel path and update the minimum path_flow\n for(int v = t; v != s; v = parent[v]) {\n int u = parent[v];\n path_flow = Math.min(path_flow, rGraph[u][v]);\n }\n\n // update the residual graph\n for(int v = t; v != s; v = parent[v]) {\n int u = parent[v];\n // subtract path_flow to edge u -> v\n rGraph[u][v] -= path_flow;\n // add path_flow to edge v -> u as we can stop u->v for passing from v->u\n rGraph[v][u] += path_flow;\n }\n\n max_flow += path_flow;\n }\n return max_flow;\n }", "title": "" }, { "docid": "d68bb7cdbf2ebadda1bef8fca5cb0d49", "score": "0.5645982", "text": "public Set<Integer> edgesConnecting(int node0, int node1, boolean outgoing, boolean incoming, boolean undirected);", "title": "" }, { "docid": "54b9937dbf64f960b8d8c13b091f2f30", "score": "0.562904", "text": "public int costCalculator(int node,int input[],int size)\r\n{\r\n if(size==0)\r\n return Map[node][0]; //node itself else: move on \r\n // int min=INF,minindex=0;\r\n int minimum= infinity;\r\n int minimumIndex=0;\r\n int next[]=new int[nodes-1]; //next is passed on the next call of cost \r\n for(int iterator=0;iterator<size;iterator++)\r\n {\r\n int k=0;//initialise new set\r\n for(int j=0;j<size;j++)\r\n {\r\n if(input[iterator]!=input[j])\r\n next[k++]=input[j];\r\n }\r\nint temporary=costCalculator(input[iterator],next,size-1);\r\nif((Map[node][input[iterator]]+temporary) < minimum)\r\n{\r\nminimum=Map[node][input[iterator]]+temporary;\r\nminimumIndex=input[iterator];\r\n}\r\n}\r\nreturn minimum;\r\n}", "title": "" }, { "docid": "e6192bf62ad9d10f00de1b8b7b4267a5", "score": "0.5622326", "text": "@Override\r\n public boolean isConnected() {\r\n if (graph.getV()==null ||graph.getV().size()==0 || graph.getV().size()==1)\r\n {\r\n return true;\r\n }\r\n Iterator<node_info> nodes = graph.getV().iterator();\r\n while (nodes.hasNext())\r\n {\r\n node_info start= nodes.next();;\r\n if (start !=null)\r\n {\r\n DJ(start);\r\n }\r\n for (node_info n: graph.getV())\r\n {\r\n if (n.getTag()==Integer.MAX_VALUE)\r\n {\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n return false;\r\n }", "title": "" }, { "docid": "dbbee741152d7b61b761be2ebbcfc942", "score": "0.56220996", "text": "void primMST(int graph[][]) \r\n {\n int parent[] = new int[V]; \r\n \r\n // Key values used to pick minimum weight edge in cut \r\n int key[] = new int [V]; \r\n \r\n // To represent set of vertices not yet included in MST \r\n Boolean mstSet[] = new Boolean[V]; \r\n \r\n // Initialize all keys as INFINITE \r\n for (int i = 0; i < V; i++) \r\n { \r\n key[i] = Integer.MAX_VALUE; \r\n mstSet[i] = false; \r\n } \r\n \r\n // Always include first 1st vertex in MST. \r\n key[0] = 0; // Make key 0 so that this vertex is \r\n // picked as first vertex \r\n parent[0] = -1; // First node is always root of MST \r\n \r\n // The MST will have V vertices \r\n for (int count = 0; count < V-1; count++) \r\n { \r\n // Pick thd minimum key vertex from the set of vertices \r\n // not yet included in MST \r\n int u = minKey(key, mstSet); \r\n \r\n // Add the picked vertex to the MST Set \r\n mstSet[u] = true; \r\n \r\n // Update key value and parent index of the adjacent \r\n // vertices of the picked vertex. Consider only those \r\n // vertices which are not yet included in MST \r\n for (int v = 0; v < V; v++) \r\n \r\n // graph[u][v] is non zero only for adjacent vertices of m \r\n // mstSet[v] is false for vertices not yet included in MST \r\n // Update the key only if graph[u][v] is smaller than key[v] \r\n if (graph[u][v]!=0 && mstSet[v] == false && \r\n graph[u][v] < key[v]) \r\n { \r\n parent[v] = u; \r\n key[v] = graph[u][v]; \r\n } \r\n } \r\n \r\n // print the constructed MST \r\n printMST(parent, V, graph); \r\n }", "title": "" }, { "docid": "0857bef2b218c35ab1936638fcf96f8a", "score": "0.56210685", "text": "public static int numberOfBinaryTreeTopologies(int n) {\n if(n < 2) {\n return 1;\n }\n int[] dp = new int[n+1];\n int i, j;\n\n dp[0] = 1;\n dp[1] = 1;\n for(i=2; i<=n; i++) {\n for(j=0; j<i; j++) {\n dp[i] += dp[j]*dp[i-1-j];\n }\n }\n\n return dp[n];\n }", "title": "" }, { "docid": "30cd25664dfa16b6828f19960c2557d2", "score": "0.56043607", "text": "int PrimsMST() {\n\t\t\tQNode[] arr = new QNode[V];\n\t\t\tQueue<QNode> q = new PriorityQueue<QNode>();\n\t\t\t\n\t\t\t//Whether vertex is present in set of MST vertices\n\t\t\tboolean[] mtset = new boolean[V];\n\t \n\t\t\t//Stores parent of vertex\n\t\t\tint[] parent = new int[V]; \n\t\t\t\n\t\t\tfor( int i=0; i<V; i++ ) {\n\t\t\t\tmtset[i] = false;\n\t\t\t\tarr[i] = new QNode(Integer.MAX_VALUE, i);\n\t\t\t\t\n\t\t\t}\n\t\t\tarr[0].key = 0;\n\t\t\tmtset[0] = true;\n\t\t\t\n\t\t\tfor( int i=0; i<V; i++ ) {\n\t\t\t\tq.add(arr[i]);\n\t\t\t}\n\t\t\t\n\t\t\twhile( !q.isEmpty() ) {\n\t\t\t\tQNode qn = q.poll();\n\t\t\t\tmtset[qn.vertex] = true;\n\t\t\t\tfor( Node n: adj[qn.vertex] ) {\n\t\t\t\t\tif( mtset[n.dest] == false ) {\n\t\t\t\t\t\tif( arr[n.dest].key > n.wt ) {\n\t\t\t\t\t\t\tq.remove(arr[n.dest]);\n\t\t\t\t\t\t\tarr[n.dest].key = n.wt;\n\t\t\t\t\t\t\tq.add(arr[n.dest]);\n\t\t\t\t\t\t\tparent[n.dest] = qn.vertex;\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\tint sum = 0;\n\t\t\tfor (int o = 1; o < V; o++) {\n\t\t\t\tSystem.out.println(parent[o] + \" \" + \"-\" + \" \" + o);\n\t\t\t\tfor (Node ch : adj[parent[o]]) {\n\t\t\t\t\tif (ch.dest == o) {\n\t\t\t\t\t\tsum += ch.wt;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn sum;\n\t\t}", "title": "" }, { "docid": "cec48a3a12f52ec60fd4f76daab1e2b1", "score": "0.558202", "text": "@Override\n\t/*\n\t *\tImplementation of Prim's to find Minimum\n\t *\tSpanning Tree. Essentially a BFS that checks\n\t *\tedges with undiscovered vertices and selects\n\t *\tthe edge with the minimal distance to select\n\t *\twhich vertex to add to the stack. \n\t *\n\t */\n\tpublic int getMinSpanningTree(Graph g) {\n\t\tint numVertices = g.getNumberOfVertices();\n\t\tif(numVertices == 0) throw new IllegalValue(\"Graph is empty.\");\n\t\tint[] colour = new int[numVertices];\n\t\tint[] parent = new int[numVertices];\n\t\t//\tSet parents as unknown\n\t\tArrays.fill(parent,-1);\n\t\tint[] distance = new int[numVertices];\n\t\t//\tSet distances / weights as unknown, use -1\n\t\t//\tassuming non-negative edges not provided\n\t\tArrays.fill(distance, -1);\n\t\t\n\t\t//\tAssign a variable for the adjacency matrix for a single function\n\t\t//\tcall\n \t\tint[][] sliceWeight = g.getEdgeMatrix();\n \t\t//\tPriority Queue of size numVertices\n \t\tPriorityQueue<Edge> toaster = new PriorityQueue<Edge>();\n\t\t//\tAdd starting point to priority queue, with priority represented by\n \t\t//\tdistance\n \t\t\n \t\t//arbitrarily starting at 0\n \t\ttoaster.add(new Edge(0, 0));\n \t\t//\tArbitrarily use 0 as starting vertex, set distance to self\n \t\t//\tas 0 and colour as found.\n\t\tdistance[0] = 0;\n\t\t\n \t\twhile(!toaster.isEmpty()){\n \t\t\t//\tTake head of priority queue\n\t\t\t//\tExtract vertex from edge\t\t\t\n\t\t\tint breadSlice = toaster.remove().vertex;\n\t\t\t\n\t\t\t//\tCheck if already processed, if processed\n\t\t\t//\tskip iteration\n\t\t\tif(colour[breadSlice] != 0) continue;\n\t\t\t\n\t\t\t//\tNow has been seen / processed\n\t\t\tcolour[breadSlice] = 1;\n \t\t\t\t\t\n\t\t\tfor(int i = 0; i < numVertices; ++i){\n\t\t\t\tint edgeCost = sliceWeight[breadSlice][i];\n\t\t\t\tif(edgeCost > 0 && colour[i] <1){\n\t\t\t\t\t//\tIf current noted distance to i > distance to parent + edge\n\t\t\t\t\t//\treplace distance for i and place in priority queue\n\t\t\t\t\t//\tThis takes care of unfound vertices and selecting the\n\t\t\t\t\t//\tminimum cost vertex from a point at the same time\n\t\t\t\t\t//\tKeeps a cumulative total going.\n\t\t\t\t\tif(distance[i] == -1 || distance[i] > edgeCost){\n\t\t\t\t\t\tdistance[i] = edgeCost;\n\t\t\t\t\t\tparent[i] = breadSlice;\n\t\t\t\t\t\ttoaster.add(new Edge(i,distance[i]));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n \t\tint mstWeight = 0;\n \t\tfor(int j : distance){\n \t\t\tif(j == -1){\n \t\t\t\tmstWeight = -1;\n \t\t\t\tbreak;\n \t\t\t}\n \t\t\tmstWeight+=j;\n \t\t}\n\t\treturn mstWeight;\n\t}", "title": "" }, { "docid": "40026d14b5cf3780a95a9058ea31cca0", "score": "0.55766195", "text": "private static Traversable getMinimum(Set<Traversable> nodes) {\n Traversable minimum = null;\n\n for (Traversable node : nodes) {\n if (minimum == null) {\n minimum = node;\n } else {\n if (getShortestDistance(node) < getShortestDistance(minimum)) {\n minimum = node;\n }\n }\n }\n\n return minimum;\n }", "title": "" }, { "docid": "e29c8e0366a3838f54f46f9575b6229c", "score": "0.55652326", "text": "static int getMinimumDistanceToEdge(int x, int y, int numberOfCellColumns, int numberOfCellRows) {\n return Math.min(x,\n Math.min(y,\n Math.min(numberOfCellColumns - 1 - x,\n numberOfCellRows - 1 - y)));\n }", "title": "" }, { "docid": "471f848515c88e79239cde3471eb84f5", "score": "0.55647844", "text": "int getEdgesCount();", "title": "" }, { "docid": "f6aadbb47548f8dfb130fec8ce05c831", "score": "0.5548315", "text": "public void findShortestPaths()\n {\n getUserInput();\n //checkOut();\n // setting the first index of distance and previous to 0 because i dont use these\n distance[sourceVertice] = 0;\n previous[sourceVertice] = 0;\n // setting the minValue to have a super large number to check against the smallest distance\n int minValue = 999999;\n // the root node is the sourcevertice of which the user has chosen\n int root = sourceVertice;\n int nextNode = 0;\n // running n times depending on adjency list size\n for (int i = 1; i < adj.length; i++)\n {\n // if the adj index contains a value greater then 0 then it contains values and we can procede\n if (adj[root].size() > 0)\n {\n // for that iterates though the embdedded array\n for (int j = 0; j < adj[root].size(); j++)\n {\n // variables to hold the value at adjency array index at index j and getting the destination and weight\n // values respectively\n int getAdjIndexValueDest = adj[root].get(j).point_to_id;\n int getAdjIndexValueWeight = adj[root].get(j).point_weight;\n // if the minValue is over 9999999\n // i did this to do this part of the if statement once only\n if (minValue == 999999)\n {\n // if the index value in visited hasnt been visited which means if it isnt set to true\n if (visited[root] != true)\n {\n // this handled the the root index, the previous and weight should be both 0 since they\n // are the start locations and therefore dont have a previous vertex or a distance to weight\n distance[getAdjIndexValueDest] = getAdjIndexValueWeight;\n previous[adj[root].get(j).point_to_id] = root;\n }\n }\n else\n {\n // if the value at the visited index is not true then do this if\n if (visited[root] != true)\n {\n // holds the current and next weights, these will be compared later\n int holdDestWeightAdjWeight = distance[root] + getAdjIndexValueWeight;\n // holds the next weight, the point of this is to check if the current weight is less then\n // the next weight because if so then that is the shortest path to that specfic vertex\n int nextWeight = 0;\n\n //System.out.println(\"distance \"+distance.length);\n\n //System.out.println(\"getAdjIndexValueDest \"+getAdjIndexValueDest);\n\n nextWeight = distance[getAdjIndexValueDest];\n\n //System.out.println(\" \");\n //System.out.println(\"current weight \"+holdDestWeightAdjWeight);\n //System.out.println(\"next weight \"+nextHold);\n //System.out.println(\"\");\n\n // compare the current weight and next weight\n if (holdDestWeightAdjWeight < nextWeight)\n {\n // pass in the current weight to the distance array at the intended dest\n // and pass in the root to the previous array so you know where you have just come from\n int intendedDest = adj[root].get(j).point_to_id;\n distance[intendedDest] = holdDestWeightAdjWeight;\n previous[intendedDest] = root;\n }\n }\n }\n }\n }\n // processed the node at root so set the value at that index to true so we never go near it again\n visited[root] = true;\n // resetting minValue\n minValue = 999999;\n for (int d = 1; d < distance.length; d++)\n {\n // if the value at d in distanxce is greater then 0 and if that index in the visited array is not true which means visited\n if (distance[d] > 0 && visited[d] != true)\n {\n // if the value in distance[d] is less than minValue which is 999999\n if (distance[d] < minValue)\n {\n minValue = distance[d];\n nextNode = d;\n }\n }\n }\n // set the root to hold the value of the next node so we know to process that node next\n root = nextNode;\n }\n // output the path\n displayPath(sourceVertice, sourceDestination);\n }", "title": "" }, { "docid": "9da26a5cf572bd67b1ca4b5b96827c0f", "score": "0.55447423", "text": "public static void step1(int[][] a, int n) //???????????????????????\n\t{\n\t\tint hmin;\n\t\tint lmin;\n\t\tfor (int i = 0;i < n;i++)\n\t\t{\n\t\t\thmin = a[i][0];\n\t\t\tfor (int j = 0;j < n;j++)\n\t\t\t{\n\t\t\t\tif (a[i][j] < hmin)\n\t\t\t\t{\n\t\t\t\t\thmin = a[i][j];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int j = 0;j < n;j++)\n\t\t\t{\n\t\t\t\ta[i][j] -= hmin;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0;i < n;i++)\n\t\t{\n\t\t\tlmin = a[0][i];\n\t\t\tfor (int j = 0;j < n;j++)\n\t\t\t{\n\t\t\t\tif (a[j][i] < lmin)\n\t\t\t\t{\n\t\t\t\t\tlmin = a[j][i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int j = 0;j < n;j++)\n\t\t\t{\n\t\t\t\ta[j][i] -= lmin;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "1d16069830443e4929d2a3360a8f7a0b", "score": "0.55439526", "text": "@Override\n public int inDegree(Object node) {\n return predecessors(node).size();\n }", "title": "" }, { "docid": "241b944cd40149ae51d4716e534330dd", "score": "0.55307806", "text": "public boolean isMin() {\n\t\t// create and initilize embedding Arrays\n\t\tint[] ackNodes = new int[graph.getNodeCount()];\n\t\tint[] usedNodes = new int[graph.getNodeCount()];\n\t\tint[] usedEdges = new int[graph.getEdgeCount()];\n\t\tfor (int i = 0; i < graph.getNodeCount(); i++) {\n\t\t\tackNodes[i] = Graph.NO_NODE;\n\t\t\tusedNodes[i] = Graph.NO_NODE;\n\t\t}\n\t\tfor (int i = 0; i < graph.getEdgeCount(); i++) {\n\t\t\tusedEdges[i] = Graph.NO_EDGE;\n\t\t}\n\t\tfor (int i = 0; i < graph.getNodeCount(); i++) {\n\t\t\t// check DFSCodes beginning with node i\n\t\t\tint node = graph.getNode(i);\n\t\t\tint label = dataBase.getNodeLabel(graph.getNodeLabel(node));\n\t\t\tif (label < first.labelA)\n\t\t\t\treturn false; // a smaller DFSCode is found\n\t\t\tif (label == first.labelA) { // only if this DFSCode wil searched\n\t\t\t\t\t\t\t\t\t\t\t// with starts same as this DFSCode\n\t\t\t\tExtensionSet edgeSet = new ExtensionSet();\n\t\t\t\tusedNodes[node] = 0;\n\t\t\t\tackNodes[0] = node;\n\t\t\t\tfor (int j = 0; j < graph.getDegree(node); j++) { // add all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// extensions\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// for the\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// first\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// Node\n\t\t\t\t\tedgeSet.add(Extension.newNodeExtension(dataBase, graph,\n\t\t\t\t\t\t\tnode, graph.getNodeEdge(node, j), 0));\n\t\t\t\t}\n\t\t\t\tArrayList head = (ArrayList) edgeSet.headList().clone();\n\t\t\t\tfor (int j = 0; j < head.size(); j++) { // try all smallest\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t// starting edges\n\t\t\t\t\tExtension e = (Extension) head.get(j);\n\t\t\t\t\tedgeSet.remove(e);\n\t\t\t\t\tint edge = e.getEdge();\n\t\t\t\t\tint nodeB = graph.getOtherNode(edge, node);\n\t\t\t\t\tusedEdges[edge] = 1;\n\t\t\t\t\tusedNodes[nodeB] = 1;\n\t\t\t\t\tackNodes[1] = nodeB;\n\n\t\t\t\t\t// add all extensions for the second Node\n\t\t\t\t\tArrayList subEdges = new ArrayList();\n\t\t\t\t\tfor (int k = 0; k < graph.getDegree(nodeB); k++) {\n\t\t\t\t\t\tint edgeB = graph.getNodeEdge(nodeB, k);\n\t\t\t\t\t\tif (usedEdges[edgeB] == Graph.NO_EDGE) {\n\t\t\t\t\t\t\tsubEdges.add(Extension.newNodeExtension(dataBase,\n\t\t\t\t\t\t\t\t\tgraph, nodeB, edgeB, 1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tedgeSet.addAll(subEdges);\n\n\t\t\t\t\t// recusive find\n\t\t\t\t\tif (!findSmallerDFSCode(e.getGSpanEdge(1), 1, ackNodes,\n\t\t\t\t\t\t\tusedNodes, usedEdges, edgeSet, first))\n\t\t\t\t\t\treturn false;\n\n\t\t\t\t\t// clean edgeSet and embedding Arrays for next run\n\t\t\t\t\tedgeSet.removeAll(subEdges);\n\t\t\t\t\tusedEdges[edge] = Graph.NO_EDGE;\n\t\t\t\t\tusedNodes[nodeB] = Graph.NO_NODE;\n\t\t\t\t\tedgeSet.add(e);\n\t\t\t\t}\n\t\t\t\tusedNodes[node] = Graph.NO_NODE;\n\t\t\t}\n\t\t}\n\t\t// no smaller is found\n\t\treturn true;\n\t}", "title": "" }, { "docid": "da45e1efd7cb6405e10dcaf78802d7c4", "score": "0.5530016", "text": "public ArrayList<Node> getMinimumPath (int s, int e) \n {\n ArrayList<Node> path = new ArrayList<Node>(); \n int x = e;\n while (x!=s) \n {\n path.add (0, this.graphObject.getNode(x));\n x = pred[x];\n }\n path.add (0, this.graphObject.getNode(s));\n return path;\n }", "title": "" }, { "docid": "beeea505130263b295f626d0c50d7ea9", "score": "0.5520145", "text": "public static int[] dijkstrasAlgorithm(int start, int[][][] edges) {\n\t\t \n\t\t int numberOfEdges=edges.length;\n\t\t \n\t\t System.out.println(\"number of edges \"+numberOfEdges);\n\t\t \n\t\t int [] minDistance=new int [edges.length];\n\t\t \n\t\t Arrays.fill(minDistance,Integer.MAX_VALUE);\n\t\t \n\t\t Set<Integer>visited=new HashSet<>();\n\t\t \n\t\t minDistance[start]=0;\n\t\t List<Item>pairs=new ArrayList<>();\n\t\t for(int i=0;i<numberOfEdges;i++)\n\t\t {\n\t\t\t pairs.add(new Item(i,Integer.MAX_VALUE));\n\t\t }\n\t\t System.out.println(\"data \"+pairs.toString());\n\t\t MinHeap heap=new MinHeap(pairs);\n\t\t heap.update(start,0);\n\t\t while(visited.size()!=numberOfEdges)//(O)V\n\t\t {\n\t\t\t Item getVertexData=heap.removeFromHeap();// (O)Log V\n\t\t\t int currentMinDistance=getVertexData.distance;\n\t\t\t System.out.println(\"currentMinDistance \" +currentMinDistance);\n\t\t\t int minDistanceVertex=getVertexData.vertex;\n\t\t\t\n\t\t\t System.out.println(\"minDistanceVertex \"+minDistanceVertex);\n\t\t\t if(currentMinDistance==Integer.MAX_VALUE)\n\t\t\t\t break;\n\t\t\t \n\t\t\t visited.add(minDistanceVertex);\n\t\t\t\n\t\t\t for(int edge[]:edges[minDistanceVertex]) //(O)E\n\t\t\t {\n\t\t\t\t System.out.println(\"edge \"+edge.length);\n\t\t\t\t int destination=edge[0];\n\t\t\t\t int distanceToDestination=edge[1];\n\t\t\t\t \n\t\t\t\t // visited contains vertex that has already shortest distance to that node\n\t\t\t\t if(visited.contains(destination))\n\t\t\t\t\t continue;\n\t\t\t\t \n\t\t\t\t int newPathDistance=distanceToDestination+currentMinDistance;\n\t\t\t\t \n\t\t\t\t if(newPathDistance<minDistance[destination])\n\t\t\t\t {\n\t\t\t\t\t minDistance[destination]=newPathDistance;\n\t\t\t\t\t //also update the minHeap\n\t\t\t\t\t heap.update(destination,newPathDistance); //(O) LOG V\n\t\t\t\t }\n\t\t\t\t\n\t\t\t }\n\t\t\t System.out.println(\"----------\");\n\t\t }\n\t\t // creating the final result\n\t\t int [] finalDistances=new int [minDistance.length];\n\t\t \n\t\t for(int i=0;i<minDistance.length;i++)\n\t\t {\n\t\t\t if(minDistance[i]==Integer.MAX_VALUE)\n\t\t\t {\n\t\t\t\t finalDistances[i]=-1;\n\t\t\t }\n\t\t\t else\n\t\t\t {\n\t\t\t\t finalDistances[i]=minDistance[i];\n\t\t\t }\n\t\t }\n\t\treturn finalDistances;\n\t\t }", "title": "" }, { "docid": "38da4ea9b1de95aeb23172e7afcd5b13", "score": "0.5513482", "text": "public List<Integer> getCriticalNodes(int[][] edges, int numNodes, int numEdges){\n List<Integer> res = new ArrayList<>();\n for(int i = 0; i < numEdges; i++){\n if(!checkConnection(edges, i, numNodes)){\n res.add(i);\n }\n }\n return res;\n }", "title": "" }, { "docid": "4a617cac659d0e7d9d012fdd2c0d9028", "score": "0.5513236", "text": "Iterable<Edge> getAdjacents(int n);", "title": "" }, { "docid": "94370bbcbe8253ae5dee50b11de7a019", "score": "0.5500932", "text": "public void findShortestPath(int s, int e)\n\t{\n\n\t\t// Minheap to store all Node objects in increasing order\n\t\tPriorityQueue<Node> minNode = new PriorityQueue<Node>();\n\n\t\t// Stores the previous node for every node\n\t\t// Allows to reconstruct the shortest path\n\t\tHashMap<Integer, Integer> previous = new HashMap<>();\n\n\t\t// Used to see if there are any nodes left to visit\n\t\tint numNodesVisited = 0;\n\n\t\t// Stores the current node in a pass of Dijkstra's Algorithm\n\t\tint currentNode;\n\n\t \t// Stores the distance for each vertex\n\t\tint [] dist = new int [N];\n\n\t\t// Stores all of the nodes that have already been visited\n\t\tboolean [] visited = new boolean[N];\n\n\t\t// Initializing distances to each node to infinity\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tdist[i] = Integer.MAX_VALUE;\n\t\t}\n\n\t\t// Distance from end node to the end node is 0\n\t\tdist[e] = 0;\n\n\t\t// Add the end node to the list of visited nodes in the graph\n\t\tvisited[e] = true;\n\t\tnumNodesVisited++;\n\n\t\t// Used to recover the shortest path. Since the end node is the first node inserted\n\t\t// into the path recovery structure, it has no previous node. Thus, it is set to null.\n\t\tprevious.put(e, null);\n\n\t\t// Adding all nodes into the minheap with a distance of infinity\n\t\tfor(int i = 0; i < N; i++)\n\t\t\tminNode.add(new Node(i, dist[i]));\n\n\t\t// Loops as long as there are nodes to be visited\n\t\twhile(!minNode.isEmpty() || numNodesVisited <= N){\n\n\t\t\t// 1. Find the node with the lowest distance\n\t\t\t// 2. Make that node the current\n\t\n\t\t\t// Get node with the lowest distance\n\t\t\tcurrentNode = minNode.remove().val;\n\n\t\t\t// 3. Add it to visited\n\t\t\tvisited[currentNode] = true;\n\t\t\tnumNodesVisited++;\n\n\t\t\t// 4. Find all adjacent nodes to current node\n\t\t\t// 5. For all adjacent nodes, update distances\n\n\t\t\t// For all adjacent nodes, update their distances if a shorter path is found\n\t\t\tfor(int i = 0; i < N; i++){\n\t\t\t\tif(matrix[currentNode][i] > 0 && !visited[i]){\n\t\t\t\t\tif(dist[currentNode] + matrix[currentNode][i] < dist[i]){\n\t\t\t\t\t\tdist[i] = dist[currentNode] + matrix[currentNode][i];\n\t\t\t\t\t\tminNode.add(new Node(i, dist[i]));\n\t\t\t\t\t\tprevious.put(i, currentNode);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Constructing the string that shows the source and target node that will be passed into the algorithm\n\t\t// This is the format of the string: Source, Target\n\t\tString sourceToEnd = String.valueOf(s) +\", \" + String.valueOf(e);\n\n\t\t// Stores the reconstructed path that this implementation of Dijkstra's shortest path algorithm takes\n\t\tString shortestPath = reconstructPath(previous, s, e);\n\n\t\tint totalWeight = dist[s];\n\n\n\t\t// Writing output to file\n\t\twriteToFile(\"output.txt\", sourceToEnd);\n\t\tappendToFile(\"output.txt\", shortestPath);\n\t\tappendToFile(\"output.txt\", String.valueOf(totalWeight));\n\n\t}", "title": "" }, { "docid": "a88a2146fe111a53f5ff221596c140d6", "score": "0.54998827", "text": "static Set<Integer> findTreeCentres(Set<Integer> reachableNodes) {\n Set<Integer> centres = new HashSet<>(reachableNodes);\n \n while (centres.size() > 2) {\n final Set<Integer> reachableReducedNodes = new HashSet<>(centres);\n Iterator<Integer> it = centres.iterator();\n while(it.hasNext()) {\n int node = it.next();\n Set<Integer> neighbors = new HashSet<>(connections.get(node));\n neighbors.removeIf(i -> !reachableReducedNodes.contains(i));\n if (neighbors.size() <= 1) {\n it.remove();\n }\n }\n }\n \n return centres;\n }", "title": "" }, { "docid": "9d5ad1e65a66d3be01245534e83d3e27", "score": "0.54918194", "text": "ArrayList<Edge> mimimumSpanningTree(ArrayList<Edge> initalE, IList<Vertex> listV) {\r\n\r\n HashMap<Vertex, Vertex> map = new HashMap<Vertex, Vertex>();\r\n // initialize every node's representative to itself\r\n for (Vertex v : listV) {\r\n map.put(v, v);\r\n }\r\n ArrayList<Edge> edgesInTree = new ArrayList<Edge>();\r\n // all edges in graph, sorted by edge weights\r\n ArrayList<Edge> worklist = initalE;\r\n for (Edge e : worklist) {\r\n Vertex fromVR = new Utils().findR(map, e.from);\r\n Vertex fromTR = new Utils().findR(map, e.to);\r\n if (fromVR.vEquals(fromTR)) {\r\n // do nothing and ignore this edge,\r\n // which will form one cycle, discard it.\r\n }\r\n else {\r\n // add it will not create cycle,\r\n // add it and union vertices in this edge\r\n edgesInTree.add(e);\r\n union(map, fromVR, fromTR);\r\n }\r\n }\r\n return edgesInTree;\r\n }", "title": "" }, { "docid": "f7b5e725bf6016fc46ad14a0ba114979", "score": "0.54771394", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int numV = in.nextInt();\n long[][] adjMatrix = new long[numV+1][numV+1];\n for(int i=1;i<=numV;i++) {\n for(int j=1;j<=numV;j++) {\n if(i==j) {\n adjMatrix[i][j] = 0;\n } else {\n adjMatrix[i][j] = Integer.MAX_VALUE;\n }\n }\n }\n int numE = in.nextInt();\n for(int i=0;i<numE;i++) {\n int v1 = in.nextInt();\n int v2 = in.nextInt();\n int wt = in.nextInt();\n adjMatrix[v1][v2] = wt;\n adjMatrix[v2][v1] = wt;\n }\n int numS = in.nextInt();\n int[] special = new int[numS];\n for(int i=0;i<numS;i++) {\n special[i] = in.nextInt();\n }\n\n for(int k=1;k<=numV;k++) {\n for(int i=1;i<=numV;i++) {\n for(int j=1;j<=numV;j++) {\n adjMatrix[i][j] = Math.min(adjMatrix[i][j], (adjMatrix[i][k] == Integer.MAX_VALUE ||\n adjMatrix[k][j] == Integer.MAX_VALUE) ? Integer\n .MAX_VALUE :\n adjMatrix[i][k] +\n adjMatrix[k][j]);\n }\n }\n }\n long min;\n for(int i=1;i<=numV;i++) {\n min = Integer.MAX_VALUE;\n for(int j=0;j<numS;j++) {\n if(adjMatrix[i][special[j]] < min) {\n min = adjMatrix[i][special[j]];\n }\n }\n System.out.println(min);\n }\n }", "title": "" }, { "docid": "79a13dd8e849abf6f0fde8b3f2cf3040", "score": "0.54678476", "text": "public int nbVertex() {return wGraph.size();}", "title": "" }, { "docid": "12ef037860b7e88aca7ce84600286d97", "score": "0.54646707", "text": "public void buildScaleFreeGraph(){\n\t\tint totalDegree=0;\n\t\tint numberOfStubs=2;\n\t\tclearGraph();\n\t\tif (numON>1) {\n\t\t\t// build seed\n\t\t\tsetEdge(0,1);\n\t\t\tdegreeDistribution[0]=1;\n\t\t\ttotalDegree++;\n\t\t\tdegreeDistribution[1]=1;\n\t\t\ttotalDegree++;\n\t\t\t// loop over nodes the need to be added\n\t\t\tfor (int i = 2; i < numON; i++) {\n\t\t\t\tint[] stubs = new int[numberOfStubs];\n\t\t\t\t// loop over stubs\t\n\t\t\t\tfor (int j = 0; j < numberOfStubs; j++) {\n\t\t\t\t\tboolean connected=false;\n\t\t\t\t\tdouble linkProb=Math.random()*(totalDegree-j);\n\t\t\t\t\t//loop over candidates\n\t\t\t\t\tint c=0;\n\t\t\t\t\tdouble tmp=0;\n\t\t\t\t\twhile(!connected){\n\t\t\t\t\t\tif(!getEdge(c, i)){\n\t\t\t\t\t\t\ttmp+=degreeDistribution[c];\n\t\t\t\t\t\t\tif(linkProb<=tmp){\n\t\t\t\t\t\t\t\t// then i->c is new edge\n\t\t\t\t\t\t\t\tconnected=true;\n\t\t\t\t\t\t\t\tstubs[j]=c;\n\t\t\t\t\t\t\t\tsetEdge(c, i);\n\t\t\t\t\t\t\t\tdegreeDistribution[i]++;\n\t\t\t\t\t\t\t\tdegreeDistribution[c]++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tc++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttotalDegree+=2;\n\t\t\t} \n\t\t}\n\t\tcomputeExtremeDegrees();\n\t}", "title": "" }, { "docid": "4930de4b15183f920f14dd789f0d38a9", "score": "0.5464291", "text": "List<EdgeNode> getCoveredEdgeNodes() {\n if (coveredNodes == null) {\n List<Connection> connections = new ArrayList<>(connectedNodes.values());\n connections.sort(new ConnectionComparator());\n\n coveredNodes = new ArrayList<>();\n int remaining = coveredCount;\n for (int i = 0; i < connections.size() && remaining > 0; ++i) {\n Connection connection = connections.get(i);\n\n if (connection.edge.getDeviceCount() <= remaining) {\n coveredNodes.add(connection.edge);\n remaining -= connection.edge.getDeviceCount();\n }\n }\n\n //TODO debug\n if (this instanceof EdgeNode) {\n assert coveredNodes.contains((EdgeNode) this) : \"edge node is not part of its own covered nodes set\";\n }\n }\n\n return coveredNodes;\n }", "title": "" }, { "docid": "413af359fbc561654d5f8a44e092ece9", "score": "0.54562914", "text": "public int leastBricks(List<List<Integer>> wall) {\n if (wall == null || wall.size() == 0 || wall.get(0) == null || wall.get(0).size() == 0) {\n return 0;\n }\n\n Map<Integer, Integer> edgeToCount = new HashMap<Integer, Integer>();\n int totalLenth = 0;\n for(Integer level : wall.get(0)){\n totalLenth += level;\n }\n int numOfWalls = wall.size();\n\n for(List<Integer> level : wall) {\n int end = 0;\n for(Integer len : level) {\n end += len;\n Integer counter = edgeToCount.get(end);\n if (counter == null) {\n counter = 1;\n } else {\n counter += 1;\n }\n edgeToCount.put(end, counter);\n }\n }\n int min =Integer.MAX_VALUE;\n if (edgeToCount.size() == 1) {\n int val = 0;\n for(Integer key : edgeToCount.keySet()) {\n val = edgeToCount.get(key);\n }\n return val;\n }\n for(Integer key : edgeToCount.keySet()) {\n if(key == totalLenth) {\n continue;\n }\n min = Math.min(min, numOfWalls - edgeToCount.get(key));\n }\n return min;\n }", "title": "" }, { "docid": "58ae24bd8c9fc3077a6a875654c670a5", "score": "0.5453906", "text": "public void primMST(int[][] graph) {\n\n\t\t// Array to store constructed MST\n\t\tint parent[] = new int[vertices];\n\n\t\t// Key values used to pick minimum weight edge in cut\n\t\tint key[] = new int[vertices];\n\n\t\t// To represent set of vertices not yet included in MST\n\t\tboolean mstSet[] = new boolean[vertices];\n\n\t\t// Initialize all keys as INFINITE\n\t\tfor (int i = 0; i < vertices; i++) {\n\t\t\tkey[i] = Integer.MAX_VALUE;\n\t\t\tmstSet[i] = false;\n\t\t}\n\n\t\t// Always include first 1st vertex in MST.\n\t\t// Make key 0 so that this vertex is picked as first vertex\n\t\tkey[0] = 0;\n\n\t\t// First node is always root of MST\n\t\tparent[0] = -1;\n\n\t\t// The MST will have vertices-1 edges\n\t\tfor (int count = 0; count < vertices - 1; count++) {\n\n\t\t\t// Pick the minimum key vertex from the set of vertices not yet\n\t\t\t// included in MST\n\t\t\tint u = minKey(key, mstSet);\n\n\t\t\t// Add the picked vertex to the MST Set\n\t\t\tmstSet[u] = true;\n\n\t\t\t// Update key value and parent index of the adjacent\n\t\t\t// vertices of the picked vertex. Consider only those\n\t\t\t// vertices which are not yet included in MST\n\t\t\tfor (int v = 0; v < vertices; v++) {\n\n\t\t\t\t// graph[u][v] is non zero only for adjacent vertices of m\n\t\t\t\t// mstSet[v] is false for vertices not yet included in MST\n\t\t\t\t// Update the key only if graph[u][v] is smaller than key[v]\n\t\t\t\tif (graph[u][v] != 0 && !mstSet[v] && graph[u][v] < key[v]) {\n\t\t\t\t\tparent[v] = u;\n\t\t\t\t\tkey[v] = graph[u][v];\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(Arrays.toString(key));\n\t\t}\n\t\t\tSystem.out.println(Arrays.toString(parent));\n\t\t\n\n\t\t// Print the constructed MST\n//\t\tprintMST(parent, vertices, graph);\n\t}", "title": "" }, { "docid": "f35d21d07ab1cb814db80b5c7b3284e7", "score": "0.5453627", "text": "public void test_computeShortestCycles_maxSize_differentCycles() {\n\n /*\n * Graph (k = vertex of index and id k).\n * \n * 3\n * ^\\\n * /| v\n * 0 | 2\n * ^ |/\n * \\v\n * 1\n * \n * All cycles:\n * [1,3]\n * [0,3,1]\n * [1,3,2]\n * [0,3,2,1]\n */\n \n final ArrayList<InterfaceVertex> vByIndex = new ArrayList<InterfaceVertex>();\n GraphTestsUtilz.newInGraph(vByIndex, 0);\n GraphTestsUtilz.newInGraph(vByIndex, 1);\n GraphTestsUtilz.newInGraph(vByIndex, 2);\n GraphTestsUtilz.newInGraph(vByIndex, 3);\n GraphTestsUtilz.ensurePathFromIndexes(vByIndex, 0, 3, 2, 1, 0);\n GraphTestsUtilz.ensurePathFromIndexes(vByIndex, 1, 3, 1);\n \n for (int maxSize : new int[]{-1, 2}) {\n \n if (DEBUG) {\n System.out.println(\"maxSize = \" + maxSize);\n }\n \n @SuppressWarnings(\"unchecked\")\n final List<InterfaceVertex> graph = (List<InterfaceVertex>) vByIndex.clone();\n\n final MyCycleComputerVcp processor = new MyCycleComputerVcp();\n ShortestCyclesComputer.computeShortestCycles(graph, maxSize, processor);\n\n final List<List<InterfaceVertex>> expectedCycleList = new ArrayList<List<InterfaceVertex>>();\n if (maxSize < 0) {\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 0, 3, 1));\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 1, 3, 2));\n } else {\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 1, 3));\n }\n \n checkEqualAfterNormalization(expectedCycleList, processor.cycleList);\n }\n }", "title": "" }, { "docid": "8da647207d8d38fd615d94e1db666d96", "score": "0.5452059", "text": "public Graph(File source) throws IOException {\n\t\tScanner s = new Scanner(source);\n\t\tString[] startAndEnd = s.nextLine().split(\" \");\n\t\tstart = Integer.parseInt(startAndEnd[0]);\n\t\tend = Integer.parseInt(startAndEnd[1]);\n\t\tArrayList<ArrayList<Integer>> conns = new ArrayList<>();\n\t\twhile (s.hasNextLine()) {\n\t\t\tString[] otherVertices = s.nextLine().split(\" \");\n\t\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\tconns.add(al);\n\t\t\tfor (int i = 1; i < otherVertices.length; i++) {\n\t\t\t\tal.add(Integer.parseInt(otherVertices[i]));\n\t\t\t}\n\t\t}\n\t\ts.close();\n\t\tfor (int i = 0; i < conns.size(); i++) {\n\t\t\tArrayList<Integer> c = conns.get(i);\n\t\t\tfor (int j = 0; j < c.size(); j++) {\n\t\t\t\tif (!conns.get(c.get(j)).contains(i))\n\t\t\t\t\tconns.get(c.get(j)).add(i);\n\t\t\t}\n\t\t\t// c.sort((a, b) -> a - b);\n\t\t}\n\t\tif (SHORTEN_CHAINS) {\n\t\t\tfor (int i = 0; i < conns.size(); i++) {\n\t\t\t\tif (start == i || end == i)\n\t\t\t\t\tcontinue;\n\t\t\t\tArrayList<Integer> m = conns.get(i);\n\t\t\t\tif (m.size() == 2) {\n\t\t\t\t\tint ir = m.get(0);\n\t\t\t\t\tint il = m.get(1);\n\t\t\t\t\tArrayList<Integer> r = conns.get(ir), l = conns.get(il);\n\t\t\t\t\tif ((ir != start && ir != end && r.size() == 2) || (il != start && il != end && l.size() == 2)\n\t\t\t\t\t\t\t|| ((ir == start || ir == end) && r.size() == 1)\n\t\t\t\t\t\t\t|| ((il == start || il == end) && l.size() == 1)) {// remove m\n\t\t\t\t\t\tl.remove((Integer) i);\n\t\t\t\t\t\tr.remove((Integer) i);\n\t\t\t\t\t\tr.add(il);\n\t\t\t\t\t\tl.add(ir);\n\t\t\t\t\t\tconns.set(i, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tint shift = 0;\n\t\t\tfor (int i = 0; i < conns.size() - shift; i++) {\n\t\t\t\twhile (conns.get(i + shift) == null) {\n\t\t\t\t\tif (shift++ == conns.size())\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (shift > 0) {\n\t\t\t\t\tif (i + shift == start)\n\t\t\t\t\t\tstart -= shift;\n\t\t\t\t\tif (i + shift == end)\n\t\t\t\t\t\tend -= shift;\n\t\t\t\t\tArrayList<Integer> e = conns.get(i + shift);\n\t\t\t\t\tconns.set(i, e);\n\t\t\t\t\tconns.set(i + shift, null);\n\t\t\t\t\tfor (int j : e) {\n\t\t\t\t\t\tconns.get(j).set(conns.get(j).indexOf(i + shift), i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (int i = 0; i < shift; i++) {\n\t\t\t\tconns.remove(conns.size() - 1);\n\t\t\t}\n\t\t}\n//\t\tfor (ArrayList<Integer> line : conns) {//never possible to get back to start vertex\n//\t\t\tline.remove(new Integer(start));\n//\t\t}\n//\t\tconns.get(end).clear();//never possible to leave end vertex\n\t\tfor (ArrayList<Integer> c : conns) {\n\t\t\tc.sort((a, b) -> a - b);\n\t\t}\n\t\tconnections = new int[conns.size()][];\n\t\tfor (int i = 0; i < conns.size(); i++) {\n\t\t\tArrayList<Integer> c = conns.get(i);\n\t\t\tconnections[i] = new int[c.size()];\n\t\t\tfor (int j = 0; j < c.size(); j++) {\n\t\t\t\tconnections[i][j] = c.get(j);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "54fd049e4415052cb5c4e2378235d4df", "score": "0.5448542", "text": "public boolean validTree(int n, int[][] edges) { \n if(n == 0 || edges == null) {\n return false;\n } \n if(edges.length != n -1) {\n return false;\n }\n UnionFind uf = new UnionFind(n);\n for(int[] edge : edges) {\n int x = edge[0];\n int y = edge[1];\n if(!uf.union(x, y)) { // cycle check\n return false;\n }\n }\n return uf.getCount() == 1; //single tree check\n}", "title": "" }, { "docid": "ad911cba680fdeb328b03aada826bed4", "score": "0.5445615", "text": "private static void connectGraph(ArrayList<ArrayList<Integer>> adj_mat, int min, boolean []visited) {\n\t\tif(allVisited(visited) || min==-1)\n\t\t\treturn;\n\t\tArrayList<Integer> list = adj_mat.get(min);\n\t\t\n\t\tpath.add(min);\n\t\t//adj_mat.remove(min);\n\t\tvisited[min]=true;\n\t\t\n\t\t\n\t\tif(allVisited(visited) || min==-1)\n\t\t\treturn;\n\t\t\n\t\tmin = minNodeInNode(list, adj_mat, visited);\n\t\t\n\t\tconnectGraph(adj_mat, min, visited);\n\t}", "title": "" }, { "docid": "f507be9955bb80ac623e3ac30ba1e474", "score": "0.5444355", "text": "public void test_computeShortestCycles_general_sturdiness_againstNaive() {\n final Random random = new Random(SEED);\n for (int maxGraphSize = 2; maxGraphSize < 15; maxGraphSize++) {\n for (int i = 0; i < 10*1000; i++) {\n final int maxCycleSize = -1 + random.nextInt(10);\n this.test_computeShortestCycles_againstNaive(\n new RandomGraphGenerator(\n random.nextLong(),\n maxGraphSize),\n maxCycleSize);\n }\n }\n }", "title": "" }, { "docid": "c53313923e7224b2a943c330ca122c89", "score": "0.54366505", "text": "@Override\n\tprotected void configureNetworkTopology() {\n\n\t\tfinal int NUMBER_OF_NODES = allNodes.length;\n\t\t//create a random order of the indices using shuffle:\n\t\tArrayList<Integer> unsubscribedNodes = new ArrayList<Integer>(NUMBER_OF_NODES);\n\t\tfor (int i = 0; i < NUMBER_OF_NODES; i++) \n\t\t{\n\t\t\tunsubscribedNodes.add((Integer)i);\t\t\t\t\n\t\t}\n\t\tCollections.shuffle(unsubscribedNodes);\n\n\n\t\t// edge i goes from edge[2*i] to ends[2*i+1], \n\t\t//so we need twice as many fields as edges\n\t\t//this will be slightly less than this due to initial unconnected nodes:\n\t\tint[] edges = new int[(2*params.getMaxSubscriptions()*NUMBER_OF_NODES)];\n\t\t//init the array edges with -1;\n\t\tfor (int i = 0; i < edges.length; i++) \n\t\t{\n\t\t\tedges[i] = -1;\n\t\t}\n\t\tint edgesFound = 0;\n\n\t\t/* \n\t\t * Part 1, Start:\n\t\t * #NUMBER_SUBSCRIPTIONS nodes are unconnected, and \n\t\t * one nodes is connected to and from all of the initial set\n\t\t * \n\t\t */\n\t\tInteger firstToConnect = unsubscribedNodes.remove(0);\n\n\t\t// Add initial edges to and from first connected node:\n\t\t// Link all to and from the last one: \n\t\tfor(int i=0; i < 2*params.getMaxSubscriptions(); i=i+2)\n\t\t{\n\t\t\tInteger current = unsubscribedNodes.remove(0);\n\t\t\t// from first to current\n\t\t\tedges[2*i]= (int)firstToConnect; \n\t\t\tedges[2*i+1]= (int)current;\n\t\t\tedgesFound++;\n\n\t\t\t// from current to first\n\t\t\tedges[2*i+2]= (int)current; \n\t\t\tedges[2*i+3]= (int)firstToConnect;\n\t\t\tedgesFound++;\n\t\t}\n\n\n\t\t/* \n\t\t * Part 2, \n\t\t * take remaining nodes and wire them up with with preferential attachment\n\t\t * with small fraction reverse link\n\t\t */\t\t\t\n\n\t\t// over the remaining nodes\n\t\tint nodesToDo =unsubscribedNodes.size();\n\t\tfor(int rest=0; rest < nodesToDo; rest++)\n\t\t{\t\n\t\t\tint current = (int)unsubscribedNodes.remove(0);\n\t\t\t// over the new edges for this new node\t\t\t\n\t\t\tfor (int j=0; j < params.getMaxSubscriptions(); j++)\n\t\t\t{ \t\t\n\t\t\t\tint targetCandidate = -1;\n\t\t\t\tboolean validCandidate = false;\n\t\t\t\twhile(!validCandidate)\n\t\t\t\t{\n\t\t\t\t\ttargetCandidate = edges[uniformDistribution.nextIntFromTo(0, (2*edgesFound)-1)]; \t\t\t\t\t\t\n\t\t\t\t\t//Check if this Candidate is valid\n\t\t\t\t\t//it has to be different than self\n\t\t\t\t\tif (targetCandidate == current)\n\t\t\t\t\t\tcontinue;\n\n\t\t\t\t\t//and targetCandidate can't be used for current already\n\t\t\t\t\t//current is wired in the array from (2*edgesFound) to (2*edgesFound+2*j+1)\n\t\t\t\t\tvalidCandidate = true;\n\t\t\t\t\tfor (int k = (2*edgesFound); k < (2*edgesFound+2*j+1); k++)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (edges[k]==targetCandidate)\n\t\t\t\t\t\t\tvalidCandidate = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t//Now set the edge:\t\t\t\t\t\t\t\t\n\t\t\t\t//with low probability invert the edge\n\t\t\t\tif(uniformDistribution.nextDouble() <= SubscriptionsModuleConfigParams.DEFAULT_INVERT_EDGE_PROBABILITY)\n\t\t\t\t{\n\t\t\t\t\tedges[2*edgesFound+2*j]= targetCandidate;\n\t\t\t\t\tedges[2*edgesFound+2*j+1]= current ;\n\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tedges[2*edgesFound+2*j]=current;\n\t\t\t\t\tedges[2*edgesFound+2*j+1]=targetCandidate;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//This Loop has found #NUMBER_SUBSCRIPTIONS new edges\n\t\t\tedgesFound += params.getMaxSubscriptions();\n\t\t}\n\n\t\t/* \n\t\t * Part 3: \n\t\t * Now make the array into subscriptions\n\t\t */\n\t\tfor (int i=0; i<edges.length; i=i+2)\n\t\t{\n\t\t\t//if the value is negative then this is from init of array and it is not a valid edge\n\t\t\tif ((edges[i]<0)||(edges[i+1]<0))\n\t\t\t\tcontinue;\n\t\t\tallNodes[(edges[i])].addSubscription( edges[i+1], timeNow );\n\n\t\t}\n\t}", "title": "" }, { "docid": "41f384032edd2ec5306ce9746d926203", "score": "0.54344845", "text": "private static Node getLowestDistanceNode(Set<Node> unsettledNodes) {\n Node lowestDistanceNode = null;\n int lowestDistance = Integer.MAX_VALUE;\n for (Node node: unsettledNodes) {\n int nodeDistance = node.getDistance();\n if (nodeDistance < lowestDistance) {\n lowestDistance = nodeDistance;\n lowestDistanceNode = node;\n }\n }\n return lowestDistanceNode;\n }", "title": "" }, { "docid": "51eacd8c6753fe7456e132f1c19d2660", "score": "0.54288673", "text": "public static void fillGraph(int n, int m, MutableGraph<Integer> graph){\n\n Scanner scan = new Scanner(System.in);\n\n for (int i = 1; i <= n ; i++) { //label vertices in X: v_1,...v_n\n for (int j = 1; j <= m; j++) { //label vertices in Y: v_(n+1),...,v_(n+m)\n int isAdjacent = 0;\n\n try {\n System.out.printf(\"Is v_%d∈X adjacent to v_%d∈Y (1 for Yes, 0 for No) %n\", i, n + j); // Finds the pairs of vertices in X and Y which are adjacent\n isAdjacent = Integer.parseInt(scan.nextLine());\n }catch (NumberFormatException e){\n System.out.println(\"Entered a non-integer value, try again.\"); //Try again if enter string instead of integer\n j--;\n continue;\n }\n\n if (isAdjacent == 1) {\n graph.putEdge(i, n + j); //If the vertices are adjacent, put an edge in the graph connecting them\n }else if(isAdjacent != 1 && isAdjacent != 0){\n System.out.println(\"Enter a non-binary integer value, try again.\"); //Try again if enter an integer which is not 0 or 1\n j--;\n continue;\n }\n }\n }\n }", "title": "" }, { "docid": "7148c2f177fd103da440c164a79ff6ce", "score": "0.5425081", "text": "public ArrayList<Edge> connectVertex_nearestN(Vertex v, ArrayList<Vertex> graph, int maxConnections, int maxAttempts) {\n PriorityQueue<VertexTuple> closestNodes = new PriorityQueue<VertexTuple>(graph.size());\n \n for (Vertex vert : graph) {\n if (vert == v || vert.getConnectedVertices().size() >= maxConnections){\n continue;\n }\n closestNodes.add(new VertexTuple(vert, getEuclideanDistance(v, vert)));\n }\n \n ArrayList<Edge> connections = new ArrayList<Edge>();\n \n int connectionAttempts = 0;\n int connectionCount = v.getConnectedVertices().size();\n while (connectionAttempts < maxAttempts && connectionCount < maxConnections) {\n VertexTuple vt = closestNodes.poll();\n // Run out of nodes to check so exit.\n if (vt == null){\n break;\n }\n Vertex vert = vt.v1;\n \n if (vert.getConnectedVertices().contains(v)){\n // If we've already been connected to this node, carry on.\n continue;\n }\n \n if (!isConnected(v, vert)) {\n if (connectedInFreeSpace(inflatedMap,\n v.getLocation().getX(),\n v.getLocation().getY(),\n vert.getLocation().getX(),\n vert.getLocation().getY(), vt.distance)) {\n \n v.addConnectedVertex(vert);\n vert.addConnectedVertex(v);\n connections.add(new Edge(v, vert, vt.distance));\n connectionCount++;\n }\n }\n connectionAttempts++;\n }\n \n return connections;\n }", "title": "" }, { "docid": "27ebe60d36e4ad8d0d3888f0401bd144", "score": "0.54246926", "text": "public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int testcases=sc.nextInt();\n \n for(int z=1;z<=testcases;z++){ \n int n=sc.nextInt();\n int edges=sc.nextInt();\n graph g=new graph();\n g.nodes=new Node[n+1];\n for(int i=1;i<=n;i++){\n g.nodes[i]=new Node();\n g.nodes[i].data=i;\n g.nodes[i].cost=-1;\n g.nodes[i].children=new ArrayList<Node>();\n }\n for(int i=1;i<=edges;i++){\n int s=sc.nextInt();\n int e=sc.nextInt();\n g.nodes[s].children.add(g.nodes[e]);\n g.nodes[e].children.add(g.nodes[s]);\n \n }\n int source=sc.nextInt();\n int cost[]=new int[n+1];\n int visited[]=new int[n+1];\n LinkedList<Node> q=new LinkedList<Node>();\n g.nodes[source].cost=0;\n q.add(g.nodes[source]);\n visited[source]=1;\n \n while(!q.isEmpty()){\n Node t=q.removeFirst();\n ///if(visited[t.data]==0){\n // visited[t.data]=1;\n for(Node x:t.children){\n if(visited[x.data]==0){\n q.add(g.nodes[x.data]);\n visited[x.data]=1;\n x.cost=t.cost+6;\n }\n }\n //}\n }\n for(int l=1;l<=n;l++){\n if(l!=source){\n System.out.print(g.nodes[l].cost+\" \");\n }\n }System.out.println();\n }\n \n }", "title": "" }, { "docid": "f2ed5c284e73f5b6328dcef93181b7a4", "score": "0.54222566", "text": "public static void main(String[] args) {\n In in = new In(\"./circlesEWD.txt\");\n EdgeWeightedDigraph G = new EdgeWeightedDigraph(in);\n int len = G.V();\n DijkstraSP sp;\n int vNum = Integer.parseInt(args[1]);\n double [] sum = new double[len];\n int [] spCount = new int[len];\n int prev;\n int size;\n for (int i =0; i < len; i++){ //loop through all vertecies\n sp = new DijkstraSP(G, i);\n \n for (int j = 0; j< len; j++){ //loop all verticies\n sum[i] +=sp.distTo(j);\n \n for(DirectedEdge e : sp.pathTo(j)){ //loop through shortest path\n if (e.to() != j){ //if not an endpoint\n spCount[e.to()] +=1;\n }\n }\n }\n }\n Edge e;\n MaxPQ<Edge> between = new MaxPQ<Edge>();\n MinPQ<Edge> close = new MinPQ<Edge>();\n for(int i = 0; i <len; i++){ //build min and max pws for sorting output\n //i am using edges for simplicity in coding, v is vertex, w issnt used, and the weight is what is being counted and sorted by\n e = new Edge(i, 0, spCount[i]);\n between.insert(e);\n e = new Edge(i, 0, sum[i]);\n close.insert(e);\n //System.out.println(i+\" \"+sum[i]);\n }\n System.out.print(\"Vertices with high betweenness centrality: \");\n for (int k = 0; k < vNum && (!between.isEmpty()); k++){\n e = between.delMax();\n System.out.print(e.either());\n if(k+1 < vNum && (!between.isEmpty())){\n System.out.print(\", \");\n }else{\n System.out.print(\"\\n\");\n }\n }\n System.out.print(\"Vertices with high closeness centrality: \");\n for (int k = 0; k < vNum && (!close.isEmpty()); k++){\n e = close.delMin();\n System.out.print(e.either());\n if(k+1 < vNum && (!close.isEmpty())){\n System.out.print(\", \");\n }else{\n System.out.print(\"\\n\");\n }\n }\n }", "title": "" }, { "docid": "9c47be175d04ca138ba9e8615fb1883a", "score": "0.54195297", "text": "private Node smallest(Node n) {\n return null;\r\n }", "title": "" }, { "docid": "9fb714ed6eed3feb1e31b04decf542ff", "score": "0.54190135", "text": "int getEdgeCount();", "title": "" }, { "docid": "89648fa865877dfb1ed30742caa61dab", "score": "0.5409541", "text": "@Override\n\tpublic int edgeSize() {\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "083e3bfb3704c499fecb32b9dd867b0f", "score": "0.54060704", "text": "public interface OptimizedGraph<N>{\n /**This is used in the same way as getConnections(), but does not use Connection objects.*/\n N[] connectionsOf(N node);\n\n /** Returns the unique index of the given node.\n * @param node the node whose index will be returned\n * @return the unique index of the given node. */\n int getIndex (N node);\n}", "title": "" }, { "docid": "c84815cca605d2e4ee6ce7a81b7ea930", "score": "0.5403468", "text": "private void consolidate()\r\n\t{\r\n\t\tint D = (int) (Math.log10(n)/Math.log10(1.61803));\r\n\r\n\t\tFibNode x = min;\r\n\t\tint RootListLen = 0;\r\n\t\tdo{\r\n\t\t\tRootListLen++;\r\n\t\t\tx = x.right;\r\n\t\t}while(x != min);\r\n\t\t\r\n\t\tFibNode[] A = new FibNode[D];\r\n\t\tx = min;\r\n\t\tfor(int i = 0; i < RootListLen; i++)\r\n\t\t{\r\n\t\t\tint d = x.degree;\r\n\t\t\twhile(A[d] != null)\r\n\t\t\t{\r\n\t\t\t\tFibNode y = A[d];\r\n\t\t\t\tif(x.key > y.key)\r\n\t\t\t\t{\r\n\t\t\t\t\t//exchange x <-> y\r\n\t\t\t\t\tFibNode temp = x;\r\n\t\t\t\t\tx = y;\r\n\t\t\t\t\ty = temp;\r\n\t\t\t\t}\r\n\t\t\t\tFib_heap_link(y, x);\r\n\t\t\t\tA[d] = null;\r\n\t\t\t\td++;\r\n\t\t\t}\r\n\t\t\tA[d] = x;\r\n\t\t\tx = x.right;\r\n\t\t}\r\n\t\t\r\n\t\tmin = null;\r\n\t\tfor(int i = 0; i < D; i++)\r\n\t\t\tif(A[i] != null)\r\n\t\t\t\tif(min == null || A[i].key < min.key)\r\n\t\t\t\t\tmin = A[i];\r\n\t}", "title": "" }, { "docid": "0f7835b492641677621d9623dd62443a", "score": "0.5396368", "text": "protected abstract int getMinimumNumberOfBlocksForAssembledMachine();", "title": "" }, { "docid": "7c6d4168c8c967fb3aa03891666297d7", "score": "0.53947204", "text": "private Node getSmallestUnSettledNodeCost()\n {\n double minVal = Double.MAX_VALUE;\n Node minNode = null;\n for(Node node : costToUnsettledNodes.keySet())\n {\n double costToNode = costToUnsettledNodes.get(node);\n if(minVal > costToNode)\n {\n minVal = costToNode;\n minNode = node;\n }\n }\n\n return minNode;\n }", "title": "" }, { "docid": "6d118661498e628c1c7d281c27b8165b", "score": "0.53815854", "text": "public int computePaths()\n {\n source = fringe.findMin();\n source.distance = 0;\n //visit each vertex, visiting vertex with minDistance first\n //need some kind of data structure (binary min heap?) to function as priority queue\n //priority queue would contain all veriticies in the graph\n //after visiting vertex, remove it from the priority queue and put it into a collection\n //of visited verticies--so we don't go back to it and create a cycle\n while (!fringe.isEmpty())\n {\n v = fringe.deleteMin();\n if (v.known = false)\n {\n v.known = true;\n for (int i = 0; i < v.adj.length; i++)\n if (v.adj[i].known = false)\n {\n for (int j = 0; j < v.outEdges.length; j++)\n if (v.outEdges[j].getVertex2 == adj[i])\n e = v.outEdges[j]; \n if (v.adj[i].distance > v.distance + e.weight)\n {\n v.adj[i].distance = v.distance + e.weight;\n fringe.percolateDown(0);\n }\n \n }\n } \n }\n}", "title": "" }, { "docid": "79af3d66dc4350612aece586a59a5663", "score": "0.5376849", "text": "public int[][] undirUnconGraph(int n,int maxWeight){\n \n int [][]undir=init(n);\n // int[][] undir = new int[n][n];\n Random rand = new Random();\n int k = rand.nextInt(n*(n-1)/2);\n for(int i=0; i<k;i++){\n undirUnconEdges(undir,maxWeight);\n }\n return undir;\n }", "title": "" }, { "docid": "76a6b48c250bd7ef520bea55b74ec07c", "score": "0.53753704", "text": "public int first() { return edges.firstIn(); }", "title": "" }, { "docid": "ab542a39ab9f386f1f3ffb6f74ea96c0", "score": "0.5373269", "text": "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //numVertices\n int M = sc.nextInt(); //numEdges\n DEdge[] adj = new DEdge[N]; //N empty adjacency lists\n\n \n for (int i = 0; i < M; ++i) {\n int u = sc.nextInt()-1;\n int v = sc.nextInt()-1;\n int h = sc.nextInt();\n adj[u] = new DEdge(v, h, adj[u]);\n adj[v] = new DEdge(u, h, adj[v]);\n }\n \n PriorityQueue<Pair> pq = new PriorityQueue<Pair>(\n new Comparator<Pair> () {\n public int compare(Pair a, Pair b) {\n return b.vht - a.vht; //maxPQ\n }\n }\n );\n\n \n int[] ht = new int[N];\n ht[0] = 1000; //max height\n \n pq.add(new Pair(ht[0], 0));\n while (!pq.isEmpty()) {\n \n Pair max = pq.poll(); //relax edges in max height order\n if (max.vht == ht[max.vert]) { //check if height has updated since this PQ entry\n while (adj[max.vert] != null) { //check entire adjacency list\n \n //relax method provided in class (Grigni)\n if (Math.min(ht[max.vert], adj[(max.vert)].h) > ht[(adj[max.vert].v)]) {\n ht[(adj[max.vert].v)] = (Math.min(ht[max.vert], adj[(max.vert)].h));\n pq.add(new Pair(ht[(adj[max.vert].v)], adj[max.vert].v));\n }\n \n adj[max.vert] = adj[max.vert].next; //check next vertex in adjacency list\n }\n }\n }\n\n\n //print max height for path to each vertex \n for (int l = 1; l < N; l++) {\n System.out.print(ht[l] + \" \");\n } \n }", "title": "" }, { "docid": "77910b11a966e90d68c79303f62c0e7e", "score": "0.53728807", "text": "public int getNumNodes();", "title": "" }, { "docid": "aa1a2d972300a40bd9f2d3e6c799668f", "score": "0.5370474", "text": "@Override\n public int nodeSize() {\n return wGraph.size();\n }", "title": "" }, { "docid": "09b2fa1dc6ee8fd1b971c4bc2d750855", "score": "0.5365205", "text": "public static int[] findRedundantConnectionUnionFind(int[][] edges) {\n DSU dsu = new DSU(MAX_EDGE_VAL + 1);\n for (int[] edge: edges) {\n if (!dsu.union(edge[0], edge[1])) return edge;\n }\n throw new AssertionError();\n }", "title": "" }, { "docid": "6098fe8dce77c5d1a7b419ef05e2ec65", "score": "0.53643954", "text": "public Graph<Integer> randSimpGraph(int n);", "title": "" }, { "docid": "b775ab532a4962e4e56c853c64afee88", "score": "0.53587687", "text": "@SuppressWarnings(\"Main Logic\")\n void solve() {\n int des = ii(), k = ii();\n boolean used[] = new boolean[1000001];\n used[0] = used[des] = true;\n HashMap<Edge, Integer> graph = new HashMap<>();\n for (int i = 0; i < k; i++) {\n int u = ii(), v = ii(), w = ii();\n if (u > des || v > des) continue;\n used[u] = used[v] = true;\n Edge e = new Edge(u, v);\n if (graph.containsKey(e)) graph.put(e, Math.min(graph.get(e), w));\n else graph.put(e, w);\n }\n int V[] = vertices(used);\n int n = 0;\n for (int v : V) n = Math.max(n, v + 1);\n for (int i = 0; i < V.length; i++) {\n for (int j = i + 1; j < V.length; j++) {\n int u = V[i], v = V[j], w = Math.abs(V[j] - V[i]);\n// out.println(u + \" \" + v + \" \" + w);\n Edge e = new Edge(u, v);\n if (graph.containsKey(e)) graph.put(e, Math.min(graph.get(e), w));\n else graph.put(e, w);\n }\n }\n int m = graph.size();\n int from[] = new int[m];\n int to[] = new int[m];\n int w[] = new int[m];\n int c = 0;\n for (Map.Entry<Edge, Integer> es : graph.entrySet()) {\n Edge e = es.getKey();\n int we = es.getValue();\n int u = e.from, v = e.to;\n from[c] = u;\n to[c] = v;\n w[c++] = we;\n }\n// for (int i = 0; i < m; i++) {\n// out.println(from[i] + \" \" + to[i] + \" \" + w[i]);\n// }\n g = packWD(n, from, to, w);\n long d[] = Dij(0, g);\n out.println(d[des]);\n }", "title": "" }, { "docid": "13733bddf52ec6760fa4933852f30d46", "score": "0.53578794", "text": "private void removeEmptyNetworkEdge(Network network){\n List<NetworkEdge> networkEdges = new ArrayList<>(network.getEdges());\n\n List<NetworkEdge> removableEdges = networkEdges.stream()\n .filter(e -> !e.isRootEdge())\n .filter(e -> e.childNode.isReassortment())\n .filter(e -> e.hasSegments.cardinality()==0)\n .filter(e -> e.parentNode.isCoalescence())\n .collect(Collectors.toList());\n \n while (removableEdges.size()>0){\n int edgeInd = Randomizer.nextInt(removableEdges.size()); \n \n \tremoveEmptyReassortmentEdge(network, removableEdges.get(edgeInd));\n \t\n \tnetworkEdges = new ArrayList<>(network.getEdges());\n \n removableEdges = networkEdges.stream()\n .filter(e -> !e.isRootEdge())\n .filter(e -> e.childNode.isReassortment())\n .filter(e -> e.hasSegments.cardinality()==0)\n .filter(e -> e.parentNode.isCoalescence())\n .collect(Collectors.toList()); \n } \n\n }", "title": "" }, { "docid": "594ec9ab75ba6c4df7eb357b2cd01995", "score": "0.53570527", "text": "private static void printVisited() {\n\t\tint count = 0;\n\t\tfor ( int i = 0 ; i < n; i ++ ) {\n\t\t\tfor ( int j = 0 ; j < m;j++ ) {\n\t\t\t\tif ( visited[i][j] == 0 ) count++;\n//\t\t\t\tSystem.out.print(visited[i][j] + \" \");\n\t\t\t}\n//\t\t\tSystem.out.println();\n\t\t}\n//\t\tSystem.out.println(count);\n\t\tif ( count < min ) min = count;\n\t\t\n\t}", "title": "" }, { "docid": "3c7a8e53b68e6b43e832bc8c5e1392ad", "score": "0.5355866", "text": "public static int getLowerBoundMaxMatch (HashSet<Edge> unCoveredEdges, LinkedList<Edge>[] adj) {\n int lowerBound = 0;\n HashSet<Edge> coveredEdges = new HashSet<Edge>();\n int numEdge = unCoveredEdges.size();\n for (Edge e : unCoveredEdges) {\n if (numEdge == coveredEdges.size()) break;\n if (!coveredEdges.contains(e)){\n int u = e.endPoint();\n int v = e.endPoint(u);\n lowerBound+=2;\n coveredEdges.addAll(adj[u]);\n coveredEdges.addAll(adj[v]);\n coveredEdges.add(e);\n }\n }\n return lowerBound/2;\n }", "title": "" }, { "docid": "0b0fce843b5a889ef9fdde2e97d5d58b", "score": "0.5355738", "text": "Set<Edge> incomingEdgesOf(Vertex vertex);", "title": "" }, { "docid": "09d1ac6a10296177d8d7c17c79b66763", "score": "0.53539205", "text": "private void findImportantNodes()\n\t{\n\t\t// We use a modified version of quickselect to get the important nodes.\n\t\t\n\t\t// Keep track of all nodes still being considered.\n\t\tSet<String> node_set = new HashSet<String>();\n\t\tnode_set.addAll(node_map.keySet());\n\t\t\n\t\t// Keep track of the important nodes.\n\t\tint available_space = options.getMaxImportantNodes();\n\t\t\n\t\t// Keep track of those elements with IC score larger than the pivot,\n\t\t// those with IC score equal to the pivot, and those with IC score\n\t\t// less than the pivot.\n\t\tSet<String> large = new HashSet<String>();\n\t\tSet<String> equal = new HashSet<String>();\n\t\tSet<String> small = new HashSet<String>();\n\t\t\n\t\twhile (node_set.size() > available_space)\n\t\t{\n\t\t\t// Keep a pivot for partitioning.\n\t\t\tString pivot = node_set.iterator().next();\n\t\t\tdouble pivot_ic = node_map.get(pivot).getICScore();\n\t\t\t\n\t\t\t// Partition the nodes by IC score.\n\t\t\tfor (String current_node : node_set)\n\t\t\t{\t\t\t\t\n\t\t\t\t// Check each node against the pivot and partition accordingly.\n\t\t\t\tdouble current_ic = node_map.get(current_node).getICScore();\n\t\t\t\tif (current_ic > pivot_ic)\n\t\t\t\t{\n\t\t\t\t\tlarge.add(current_node);\n\t\t\t\t}\n\t\t\t\telse if (current_ic < pivot_ic)\n\t\t\t\t{\n\t\t\t\t\tsmall.add(current_node);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tequal.add(current_node);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// If we've got more large elements than nodes we want to keep,\n\t\t\t// throw out all the small nodes and recurse on the large ones.\n\t\t\tif (large.size() > available_space)\n\t\t\t{\n\t\t\t\tnode_set.retainAll(large);\n\t\t\t\tlarge.clear();\n\t\t\t\tequal.clear();\n\t\t\t\tsmall.clear();\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\t\n\t\t\t// Otherwise, all the large nodes are important.\n\t\t\timportant_nodes.addAll(large);\n\t\t\tavailable_space -= large.size();\n\t\t\t\n\t\t\t// If we've got more elements with equal IC scores than available\n\t\t\t// space, throw them all out and say we're done.\n\t\t\tif (equal.size() > available_space)\n\t\t\t{\n\t\t\t\tnode_set.clear();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t// Otherwise, the equal node are important too.\n\t\t\timportant_nodes.addAll(equal);\n\t\t\tavailable_space -= equal.size();\n\t\t\t\n\t\t\t// Recurse on the small nodes.\n\t\t\tnode_set.retainAll(small);\n\t\t\tlarge.clear();\n\t\t\tequal.clear();\n\t\t\tsmall.clear();\n\t\t}\n\t\t\n\t\t// When we have space for all the remaining nodes, they're all important.\n\t\timportant_nodes.addAll(node_set);\n\t}", "title": "" }, { "docid": "bd76b20bcd86a95813598a71400a15c8", "score": "0.5353039", "text": "public LazyPrimMst(WeightedUndirectedGraph graph) {\n // It is expected that the graph is connected.\n final int vertexCount = graph.vertexCount();\n final boolean[] verticesOnMst = new boolean[vertexCount];\n final Queue<Edge> minEdges = new PriorityQueue<>(graph.edgeCount());\n final int mstSize = vertexCount - 1;\n // Start with initial vertex and then grow the MST from that vertex.\n addAdjacentEdges(graph, minEdges, verticesOnMst, 0);\n while (!minEdges.isEmpty() && mstEdges.size() < mstSize) {\n // An edge that could potentially be added into the MST\n final Edge minEdge = minEdges.remove();\n final int vertex1 = minEdge.eitherVertex();\n final int vertex2 = minEdge.otherVertex(vertex1);\n // Found an edge that is already in the MST.\n if (verticesOnMst[vertex1] && verticesOnMst[vertex2]) continue;\n mstEdges.add(minEdge);\n totalWeight += minEdge.weight();\n // Explore other edges of the graph.\n if (!verticesOnMst[vertex1]) {\n addAdjacentEdges(graph, minEdges, verticesOnMst, vertex1);\n }\n if (!verticesOnMst[vertex2]) {\n addAdjacentEdges(graph, minEdges, verticesOnMst, vertex2);\n }\n }\n }", "title": "" }, { "docid": "ec17bbe9456e5d7f8ea277685c9ebc0f", "score": "0.53478247", "text": "Dimension minimumSize(int rows, int cols);", "title": "" }, { "docid": "528f00a39ea3daad211a3f29bef5b1c1", "score": "0.53462315", "text": "private static int checkConnections(PersonVertex p) {\n\t\treturn checkConnections(p, new ArrayList<PersonVertex>(), 0).size() - 1;\r\n\t}", "title": "" }, { "docid": "67b855d096903884786215863bd145c8", "score": "0.53428227", "text": "public AbstractGraph(int n) {\n\t\tnbEdges = 0;\n\t\tadjacencyList = new ArrayList<List<Integer>>();\n\t\tfor ( int i = 0; i < n; i++ )\n\t\t\tadjacencyList.add(new LinkedList<Integer>());\n\t}", "title": "" }, { "docid": "1bdbb54d4b33999f970e7c8552eda120", "score": "0.534241", "text": "public static void main(String... args) {\n int V = parseInt(args[0]),\n minEdges = parseInt(args[1]),\n maxWeight = parseInt(args[2]);\n long seed = parseLong(args[3]);\n\n int[][] E = randomConnectedGraph(V, minEdges, maxWeight, seed);\n if (args.length > 4) {\n printEdges(E);\n }\n int[][] T = MST.mst(V, E);\n System.out.println(totalWeight(T));\n if (args.length > 4) {\n printEdges(T);\n }\n }", "title": "" }, { "docid": "fe2ee6832fe8f0f4b73b081d8c3879b4", "score": "0.5335434", "text": "public List<Node> findConnected(Collection<Node> nodes, boolean includeDerivedEdges);", "title": "" }, { "docid": "c8c695816b3e07fb714514cd3d09da71", "score": "0.53342485", "text": "private void generate()\n {\n // All the nodes we have processed so far.\n ArrayList<Integer> allNodesSoFar = new ArrayList<Integer>();\n allNodesSoFar.add(1);\n allNodesSoFar.add(2);\n\n // Add an edge between the first two nodes if possible. \n if (this.numNodes >= 2)\n addUndirectedEdge(1, 2);\n\n // The total edges we have added so far.\n double totalEdges = 1.0;\n\n // For each node except the first two...\n for (int i = 3; i <= this.numNodes; i++)\n {\n // Nodes we can possibly choose from.\n ArrayList<Integer> possible = new ArrayList<Integer>(allNodesSoFar);\n\n // Add links until we run out of nodes or run out of links.\n for (int k = 1; k <= this.disparity && k < i; k++)\n {\n // Have we created this edge?\n boolean created = false;\n\n // We will keep on trying to create the edge.\n // An edge will not be created if it already exists.\n while(!created)\n {\n // Our previous and current index in the distribution.\n double prev = 0.0;\n double curr = 0.0;\n\n // The new edge we selected from the distribution.\n double newEdge = Math.random();\n\n // Search all the possible nodes we can add for the edge we\n // need to add.\n for (Integer possibility : possible)\n {\n // The neighbors of the node we are considering. \n Set<Integer> possNeighs = this.nodes.get(possibility).getNeighbors();\n \n // Update our right endpoint in the distribution.\n // Halve the value because we only have undirected edges.\n curr += 0.5*(possNeighs.size() / totalEdges);\n\n // If the random number falls between these bounds this\n // might be the edge we are going to add.\n if (prev <= newEdge && newEdge < curr)\n {\n // Only add the edge if it doesn't already exist.\n if(!possNeighs.contains(i))\n {\n addUndirectedEdge(i, possibility);\n created = true;\n }\n // Break out of the for loop regardless of whether\n // an edge was added or not.\n break;\n }\n prev = curr;\n }\n }\n // We have created a new edge.\n totalEdges++;\n }\n\n // We have now seen this node.\n allNodesSoFar.add(i);\n }\n }", "title": "" }, { "docid": "393f4afbe41b7831c0fe5d9b999bf3c4", "score": "0.5329141", "text": "protected abstract Integer getInitialConnections();", "title": "" }, { "docid": "b7d8565b614d53c006efcddee97f824b", "score": "0.5328402", "text": "static void initNodeNeighbors() {\r\n for (Node node : nodes) {\r\n int count = 0; // Count number of neighbors of node\r\n for (Relation relation : relations) {\r\n if (relation.hasNode(node)) { ++count; }\r\n }\r\n node.setNeighbors(count);\r\n }\r\n }", "title": "" }, { "docid": "49bd68997127a45a1134bb819bb75cb7", "score": "0.5325536", "text": "public JavaPairRDD<Tuple2<Integer, Integer>, IntSet> start(JavaPairRDD<Integer, Integer> edges) {\n JavaPairRDD<Tuple2<Integer, Integer>, IntSet> tvSets = createTriangleVertexSet(edges);\n\n final int minSup = conf.k - 2;\n\n int iteration = 0;\n boolean stop = false;\n\n while (!stop) {\n// JavaPairRDD<Tuple2<Integer, Integer>, IntSet> prevTvSets = tvSets;\n iteration++;\n long t1 = System.currentTimeMillis();\n\n // Detect invalid edges by comparing the support of triangle vertex set\n JavaPairRDD<Tuple2<Integer, Integer>, IntSet> invalids = tvSets.filter(kv -> kv._2.size() < minSup).cache();\n JavaPairRDD<Tuple2<Integer, Integer>, IntSet> prevInvalids = invalids;\n long invalidEdgeCount = invalids.count();\n\n // If no invalid edge is found then the program terminates\n if (invalidEdgeCount == 0) {\n break;\n }\n long t2 = System.currentTimeMillis();\n String msg = \"iteration: \" + iteration + \", invalid edge count: \" + invalidEdgeCount;\n log(msg, t2 - t1);\n\n // The edges in the key part of invalids key-values should be removed. So, we detect other\n // edges of their involved triangle from their triangle vertex set. Here, we determine the\n // vertices which should be removed from the triangle vertex set related to the other edges.\n JavaPairRDD<Tuple2<Integer, Integer>, Iterable<Integer>> invUpdates = invalids.flatMapToPair(kv -> {\n IntSet original = kv._2;\n List<Tuple2<Tuple2<Integer, Integer>, Integer>> out = new ArrayList<>(original.size() * 2);\n Tuple2<Integer, Integer> iEdge = kv._1;\n\n for (Integer w : kv._2) {\n if (w < iEdge._1)\n out.add(new Tuple2<>(new Tuple2<>(w, iEdge._1), iEdge._2));\n else\n out.add(new Tuple2<>(new Tuple2<>(iEdge._1, w), iEdge._2));\n\n if (w < iEdge._2)\n out.add(new Tuple2<>(new Tuple2<>(w, iEdge._2), iEdge._1));\n else\n out.add(new Tuple2<>(new Tuple2<>(iEdge._2, w), iEdge._1));\n }\n return out.iterator();\n }).groupByKey(partitioner2);\n\n // Remove the invalid vertices from the triangle vertex set of each remaining (valid) edge.\n tvSets = tvSets.filter(kv -> kv._2.size() >= minSup).leftOuterJoin(invUpdates)\n .mapValues(values -> {\n Optional<Iterable<Integer>> invalidUpdate = values._2;\n IntSet original = values._1;\n\n // If no invalid vertex is present for the current edge then return the original value.\n if (!invalidUpdate.isPresent()) {\n return original;\n }\n\n // Remove all invalid vertices from the original triangle vertex set.\n for (Integer v : invalidUpdate.get()) {\n original.remove(v.intValue());\n }\n\n // When the triangle vertex set has no other element then the current edge should also\n // be eliminated from the current tvSets.\n if (original.size() == 0)\n return null;\n\n return original;\n }).filter(kv -> kv._2 != null)\n .persist(StorageLevel.MEMORY_ONLY());\n// prevTvSets.unpersist();\n// prevInvalids.unpersist();\n }\n return tvSets;\n }", "title": "" }, { "docid": "5da798d787883a5f75de47ad7224ff2e", "score": "0.5324252", "text": "public int findNumberOfOneWays()\r\n\t{\r\n\t\tint sum = 0;\r\n\r\n\t\tfor (Edge e : edges)\r\n\t\t\tif(findEdge(e.getTo(), e.getFrom()) == null)\r\n\t\t\t\tsum++;\r\n\r\n\t\treturn sum;\r\n\t}", "title": "" }, { "docid": "f394479b0aaf855346c960157f35e6f6", "score": "0.5323953", "text": "public void test_computeShortestCycles_general_sameSizeShortestCycles() {\n\n /*\n * Graph (k = vertex of index and id k).\n * \n * -> 1 <-\n * / / \\ \\\n * / v v \\\n * 0 4 5 2\n * ^ \\ / ^\n * \\ v /\n * -- 3 --\n * \n * All cycles:\n * [0,1,4,3]\n * [0,1,5,3]\n * [1,4,3,2]\n * [1,5,3,2]\n */\n \n final ArrayList<InterfaceVertex> vByIndex = new ArrayList<InterfaceVertex>();\n GraphTestsUtilz.newInGraph(vByIndex, 0);\n GraphTestsUtilz.newInGraph(vByIndex, 1);\n GraphTestsUtilz.newInGraph(vByIndex, 2);\n GraphTestsUtilz.newInGraph(vByIndex, 3);\n GraphTestsUtilz.newInGraph(vByIndex, 4);\n GraphTestsUtilz.newInGraph(vByIndex, 5);\n GraphTestsUtilz.ensurePathFromIndexes(vByIndex, 0, 1, 4, 3, 0);\n GraphTestsUtilz.ensurePathFromIndexes(vByIndex, 2, 1, 5, 3, 2);\n\n final Random random = new Random(SEED);\n\n for (int k = 0; k < 100; k++) {\n @SuppressWarnings(\"unchecked\")\n final List<InterfaceVertex> graph = (List<InterfaceVertex>) vByIndex.clone();\n\n // Result won't depend on vertices order in input collection.\n shuffle(random, graph);\n\n if (DEBUG) {\n GraphTestsUtilz.printGraph(graph);\n }\n\n for (boolean mustUseRefAlgo : new boolean[]{false,true}) {\n\n if (DEBUG) {\n System.out.println(\"mustUseRefAlgo = \" + mustUseRefAlgo);\n }\n\n final MyCycleComputerVcp processor = new MyCycleComputerVcp();\n if (mustUseRefAlgo) {\n RefShortestCyclesComputer.computeShortestCycles(graph, -1, processor);\n } else {\n ShortestCyclesComputer.computeShortestCycles(graph, -1, processor);\n }\n\n final List<List<InterfaceVertex>> expectedCycleList = new ArrayList<List<InterfaceVertex>>();\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 0, 1, 4, 3));\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 0, 1, 5, 3));\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 1, 4, 3, 2));\n if (false) {\n /*\n * This one is never computed by either algorithm.\n * \n * It's normal even for paper algorithm, because it just\n * look for shortest cycles using all predecessors, not\n * using all possible paths to these predecessors.\n */\n expectedCycleList.add(GraphTestsUtilz.asListFromIndexes(vByIndex, 1, 5, 3, 2));\n }\n\n checkEqualAfterNormalization(expectedCycleList, processor.cycleList);\n }\n }\n }", "title": "" }, { "docid": "0d3236797f366528d1ac8b6086ffffd3", "score": "0.53198594", "text": "public static void main(String[] args) \r\n\t{\n\t\tn=6; //Integer.parseInt(s[0]);\r\n\t\tint m=9; //Integer.parseInt(s[1]);\r\n\t\t \r\n\t int s[][]={{1, 2, 3},{1, 4, 1},{2, 3, 1},{2, 4, 3},{3, 4, 1},{3, 5, 5},{3, 6, 4},{4, 5, 6},{5, 6, 2}} ;\r\n\t \r\n\t\tfor(int i=0;i<m;i++)\r\n\t\t{\r\n\t\t //s=br.readLine().split(\" \");\r\n \t\tint a=s[i][0]; //Integer.parseInt(s[0]);\r\n \t\tint b=s[i][1]; //Integer.parseInt(s[1]);\r\n \t\tint c=s[i][2]; //Integer.parseInt(s[2]);\r\n \t\tlist.add(new Edge(a,b,c));\r\n\t\t}\r\n\t\t\r\n\t\tmst();\r\n\t\t\r\n\t\tSystem.out.println(\"Weight of Minimum spanning tree : \"+ ans);\r\n\t\tSystem.out.println(\"\\nPath between vertices with weight are : \\n\");\r\n\t\t\r\n\t\tfor(Edge node:arr)\r\n\t\t{\r\n\t\t System.out.println(\"Node \"+node.edge1+\" to \"+node.edge2+\" with weight : \"+node.weight);\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "1dbd02ba79e48ab8b9b249bb41e82719", "score": "0.5318891", "text": "public boolean connected(int n) {\n return edges.hasConnects(n);\n }", "title": "" } ]
66355dd04e89a1ed107561768d5847ab
SliderWert hat sich geaendert
[ { "docid": "e441b545684b71ab715874d11f97b2ab", "score": "0.0", "text": "@Override\n\t\t\tpublic void changed(ObservableValue<? extends Number> v,//\n\t\t\t\t\tNumber oldValue, Number newValue) {\n\t\t\t\tnotifer.run();\n\t\t\t}", "title": "" } ]
[ { "docid": "4fe550d0cac5bcf020e6d918f1ddb44a", "score": "0.70334727", "text": "public void updateSlider() \n { \n /* [GNPP] you may comment out if not debugging. */\n //gnpp.updateSlider();\n }", "title": "" }, { "docid": "d66dc769fe5df9b3c6bed256bbca55b0", "score": "0.6729305", "text": "private void setupSlider() {\n int mid = WIDTH / 2;\n detailSlider.setEnabled(false);\n detailSlider.setPaintTicks(true);\n detailSlider.setPaintLabels(true);\n detailSlider.setToolTipText(\"Choose a file to convert first!\");\n detailSlider.setSize(300, 50);\n detailSlider.setLocation(mid - detailSlider.getSize().width / 2, 700);\n detailSlider.addChangeListener(this);\n }", "title": "" }, { "docid": "17babd48cacf9026451d8aec71c761a8", "score": "0.6635283", "text": "public void fenetreVisu(){\r\n\r\n\t\tfenetreVisu = new JFrame(\"M²B²T - Visualisation\");\r\n\t\tfenetreVisu.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);\r\n\t\tfenetreVisu.setIconImage(Toolkit.getDefaultToolkit().getImage(\"images/myIcon.png\"));\r\n\t\tfenetreVisu.setResizable(false);\r\n\r\n\t\tJPanel panelSlider = new JPanel();\r\n\t\tpanelSlider.setLayout(new GridLayout(1,6));\r\n\r\n\t\tHashtable<Integer, JLabel> labelTable = new Hashtable<Integer, JLabel>();\r\n\t\tlabelTable.put( new Integer( 0 ), new JLabel(\"Sous-Sol\") );\r\n\t\tlabelTable.put( new Integer( 4 ), new JLabel(\"RDC\") );\r\n\t\tlabelTable.put( new Integer( SOMMET ), new JLabel(\"Sommet\") );\r\n\r\n\t\t/**\r\n\t\t * Ajout des sliders à la fenetre\r\n\t\t */\r\n\t\tslider0 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider0.setMajorTickSpacing(1);\r\n\t\tslider0.setPaintTicks(true);\r\n\t\tslider0.setLabelTable( labelTable );\r\n\t\tslider0.setPaintLabels(true);\r\n\t\tslider0.setBorder(new TitledBorder(\"Ascenseur A\"));\r\n\r\n\r\n\t\tslider1 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider1.setMajorTickSpacing(1);\r\n\t\tslider1.setPaintTicks(true);\r\n\t\tslider1.setLabelTable( labelTable );\r\n\t\tslider1.setPaintLabels(true);\r\n\t\tslider1.setBorder(new TitledBorder(\"Ascenseur B\"));\r\n\r\n\r\n\t\tslider2 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider2.setMajorTickSpacing(1);\r\n\t\tslider2.setPaintTicks(true);\r\n\t\tslider2.setLabelTable( labelTable );\r\n\t\tslider2.setPaintLabels(true);\r\n\t\tslider2.setBorder(new TitledBorder(\"Ascenseur C\"));\r\n\r\n\t\tslider3 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider3.setMajorTickSpacing(1);\r\n\t\tslider3.setPaintTicks(true);\r\n\t\tslider3.setLabelTable( labelTable );\r\n\t\tslider3.setPaintLabels(true);\r\n\t\tslider3.setBorder(new TitledBorder(\"Ascenseur D\"));\r\n\r\n\t\tslider4 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider4.setMajorTickSpacing(1);\r\n\t\tslider4.setPaintTicks(true);\r\n\t\tslider4.setLabelTable( labelTable );\r\n\t\tslider4.setPaintLabels(true);\r\n\t\tslider4.setBorder(new TitledBorder(\"Ascenseur E\"));\r\n\r\n\r\n\t\tslider5 = new JSlider(JSlider.VERTICAL, RDC, SOMMET, 0);\r\n\t\tslider5.setMajorTickSpacing(1);\r\n\t\tslider5.setPaintTicks(true);\r\n\t\tslider5.setLabelTable( labelTable );\r\n\t\tslider5.setPaintLabels(true);\r\n\t\tslider5.setBorder(new TitledBorder(\"Ascenseur F\"));\r\n\r\n\t\tpanelSlider.add(slider0);\r\n\t\tpanelSlider.add(slider1);\r\n\t\tpanelSlider.add(slider2);\r\n\t\tpanelSlider.add(slider3);\r\n\t\tpanelSlider.add(slider4);\r\n\t\tpanelSlider.add(slider5);\r\n\r\n\t\tfenetreVisu.add(panelSlider);\r\n\r\n\t\t/**\r\n\t\t * Fait disparaitre la fenetre de sliders au clic de la croix\r\n\t\t */\r\n\t\tfenetreVisu.addWindowListener(new WindowAdapter() {\r\n\t\t\tpublic void windowClosing(WindowEvent e) {\r\n\t\t\t\tfenetreVisu.setVisible(false);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tfenetreVisu.pack();\r\n\t\tfenetreVisu.setVisible(false);\r\n\t}", "title": "" }, { "docid": "a6c4fb41f94f8d6a9d3327e4d1a26d94", "score": "0.65629864", "text": "@Override\n\t\tpublic final void mouseDragged(MouseEvent me)\n\t\t\t{\n\t\t\t\tint sliderIndex = 0;\n\t\t\t\tfor (TButton slider : sliders)\n\t\t\t\t\t{\n\t\t\t\t\t\tif (slider.inUse)\n\t\t\t\t\t\t\tif (orientation == VERTICAL)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tslider.y = me.getY() - 12.5f;\n\t\t\t\t\t\t\t\t\tif (slider.y < y)\n\t\t\t\t\t\t\t\t\t\tslider.y = y;\n\t\t\t\t\t\t\t\t\telse if (slider.y > y + length - 25)\n\t\t\t\t\t\t\t\t\t\tslider.y = y + length - 25;\n\t\t\t\t\t\t\t\t\tsendTScrollEvent(new TScrollEvent(this, TScrollEvent.TSCROLLBARSCROLLED, getSliderPercent(sliderIndex), sliderIndex));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if (orientation == HORIZONTAL)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tslider.x = me.getX() - 12.5f;\n\t\t\t\t\t\t\t\t\tif (slider.x < x)\n\t\t\t\t\t\t\t\t\t\tslider.x = x;\n\t\t\t\t\t\t\t\t\telse if (slider.x > x + length - 25)\n\t\t\t\t\t\t\t\t\t\tslider.x = x + length - 25;\n\t\t\t\t\t\t\t\t\tsendTScrollEvent(new TScrollEvent(this, TScrollEvent.TSCROLLBARSCROLLED, getSliderPercent(sliderIndex), sliderIndex));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\tsliderIndex++;\n\t\t\t\t\t}\n\t\t\t}", "title": "" }, { "docid": "b97a23284ef5cf7c6b9b957fc87036cf", "score": "0.6516763", "text": "@Override\n public void onSliderClick(BaseSliderView slider) {\n }", "title": "" }, { "docid": "1640be68bd5958058879d07d8c95affe", "score": "0.65061617", "text": "void setCurrentSliderVal(int value);", "title": "" }, { "docid": "e8dc35f6d1e2abe8f46300865e71829a", "score": "0.64550966", "text": "@Override\n public void onSlideChanged()\n {\n }", "title": "" }, { "docid": "9f58819d1f2cac0c4b1786bbf10fafaa", "score": "0.64473003", "text": "@Override\n public void setCurrentSliderVal(int value) {\n return;\n }", "title": "" }, { "docid": "eb72e3a36dcc60997df56094229dfbff", "score": "0.64304495", "text": "public void updatePowerSlider(){\n\t\tif(this.powerValue!=output.getPower()){\n\t\t\tpowerslider.setValue(output.getPower());\n\t\t}\t\t\n\t}", "title": "" }, { "docid": "9d9d2708b809e8c67192415bc2063b42", "score": "0.63867086", "text": "@Override\n public void onSlideChanged() {\n }", "title": "" }, { "docid": "9d9d2708b809e8c67192415bc2063b42", "score": "0.63867086", "text": "@Override\n public void onSlideChanged() {\n }", "title": "" }, { "docid": "9d9d2708b809e8c67192415bc2063b42", "score": "0.63867086", "text": "@Override\n public void onSlideChanged() {\n }", "title": "" }, { "docid": "f85cf8c3cc4e2687094c6d30cfbed314", "score": "0.6385563", "text": "private void updateGenomeSlider()\n {\n if (paused && triangleGenome != null && triangleGenome.getTribe(tribeIndex) != null)\n {\n genomeSlider.setMaximum(triangleGenome.getTribe(tribeIndex).getPopulationSize() - 1);\n }\n }", "title": "" }, { "docid": "5dfcec2dc7864d48eda2c65820bbab47", "score": "0.6366725", "text": "private void setSliders() {\n aSlider.setMinimum(0);\n aSlider.setMaximum(100);\n aSlider.setMinorTickSpacing(10);\n aSlider.setPaintTicks(true);\n\n bSlider.setMinimum(0);\n bSlider.setMaximum(100);\n bSlider.setMinorTickSpacing(10);\n bSlider.setPaintTicks(true);\n\n alphaSlider.setMinimum(0);\n alphaSlider.setMaximum(100);\n alphaSlider.setMinorTickSpacing(10);\n alphaSlider.setPaintTicks(true);\n\n betaSlider.setMinimum(0);\n betaSlider.setMaximum(100);\n betaSlider.setMinorTickSpacing(10);\n betaSlider.setPaintTicks(true);\n\n herbSlider.setMinimum(1);\n herbSlider.setMaximum(100);\n herbSlider.setMinorTickSpacing(10);\n herbSlider.setPaintTicks(true);\n\n predSlider.setMinimum(1);\n predSlider.setMaximum(100);\n predSlider.setMinorTickSpacing(10);\n predSlider.setPaintTicks(true);\n\n }", "title": "" }, { "docid": "08b8073b9114be2f3fd7c02ab494aede", "score": "0.63476384", "text": "void setTimeSlider() {\n\t\t// Create a new time slide\n timeSlider = new Slider();\n timeSlider.setMaxWidth((2*mpWidth)/3);\n HBox.setHgrow(timeSlider, Priority.ALWAYS);\n \n // Allow the user to drag and position the slider\n timeSlider.valueProperty().addListener(new InvalidationListener() {\n\n @Override\n public void invalidated(Observable ov) {\n \t// If the value is changing perform an action\n if (timeSlider.isValueChanging()) {\n \t// If the duration of video is not null, move to requested time\n if (duration != null) {\n \tmp.seek(duration.multiply(timeSlider.getValue()/ 100.0));\n }\n }\n }\n });\n \n // Allow the user to click on the slider to jump to the desired timing\n timeSlider.setOnMousePressed(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent mouseEvent) {\n mp.seek(duration.multiply(timeSlider.getValue()/ 100.0));\n }\n });\n \n // Create a new time slider for fullscreen mode\n timeSliderFS = new Slider();\n \ttimeSliderFS.setMinWidth(bounds.getWidth()-100); \t\n \ttimeSliderFS.valueProperty().addListener(new InvalidationListener() {\n\n @Override\n public void invalidated(Observable ov) {\n \t// If the value is changing perform an action\n if (timeSliderFS.isValueChanging()) {\n \t// If the duration of video is not null, move to requested time\n if (duration != null) {\n \tmp.seek(duration.multiply(timeSliderFS.getValue()/ 100.0));\n }\n }\n }\n });\n \n \t// If mouse enters time slider in fullscreen mode handle it\n timeSliderFS.setOnMousePressed(new EventHandler<MouseEvent>() {\n @Override\n public void handle(MouseEvent mouseEvent) {\n \t// Stop the fade transition and move to requested time\n \tfadeTransition.stop();\n \tmp.seek(duration.multiply(timeSliderFS.getValue()/ 100.0));\n }\n });\n \n // Add the time slider to MediaControl bar\n mediaBar.getChildren().add(timeSlider);\n\t}", "title": "" }, { "docid": "3787f43c64e24a63c57b88b94b2ac15c", "score": "0.6332391", "text": "public void f() {\n GQuery g = $(\"<paper-slider>\").appendTo($(\"#slider-container\"));\n // Wrap the native element in a POJO\n PaperSlider slider = GQ.create(PaperSlider.class).load(g);\n // Use it as a java object\n slider.setValue(300).max(400).step(50).snaps(true).pin(true);\n }", "title": "" }, { "docid": "80672495ec2d642a2d4ee8eaad204976", "score": "0.6321406", "text": "@Override\n public int getSliderValue() {\n return -1;\n }", "title": "" }, { "docid": "fd52becafa2c7eb412c95a272b56280d", "score": "0.6309875", "text": "public void setSliderAction() {\n speedSlider.valueProperty().addListener(\n (observable, oldvalue, newvalue) -> {\n timeline.pause();\n updateTimeline(newvalue.doubleValue());\n timeline.play();\n });\n }", "title": "" }, { "docid": "b10e6ad440f743290d62bb01d76bc1d0", "score": "0.6280064", "text": "private void slider1StateChanged(ChangeEvent e) {\n\t}", "title": "" }, { "docid": "9781ea7696dcca1e6d8458935e15ace9", "score": "0.62747353", "text": "public void initSlider() {\n speedSlider = new Slider(SPEEDSLIDER_MIN, SPEEDSLIDER_MAX, SPEEDSLIDER_VALUE);\n speedSlider.setShowTickMarks(true);\n speedSlider.setShowTickLabels(true);\n }", "title": "" }, { "docid": "ab729409638bc193a27371641a9f8a1d", "score": "0.6244136", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterWeightFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "4f42e426931e7a4e77beae38288566bd", "score": "0.6238234", "text": "private void jSlider1StateChanged(javax.swing.event.ChangeEvent evt) {\n jLabelSlider.setText(Integer.toString(jSlider1.getValue()));\n }", "title": "" }, { "docid": "9eaf32fe609a6d44f7288682fe10d4a3", "score": "0.6237586", "text": "public JSlider getSlider()\n\t{\n\t\treturn this.slider; \n\t}", "title": "" }, { "docid": "129b43eab068e6129ac2faea9105b823", "score": "0.62193924", "text": "@Override\n public void actionPerformed(ActionEvent e) {\n //Sound.getWinter().setVolume(0.0001);\n volSlider.setValue(1);\n }", "title": "" }, { "docid": "740495fc514a06687b6f64e7b819b37c", "score": "0.62141925", "text": "public GZoomSlider getSlider(){\r\n return slider;\r\n }", "title": "" }, { "docid": "694122e7ffb4fe6195fd7d343caabf2e", "score": "0.6212777", "text": "protected void setupSlider() throws Exception\n\t{\n\t\treturn;\n\n\t}", "title": "" }, { "docid": "b5e7f8e3a5b0557359b2c19d5c108e6a", "score": "0.6209754", "text": "public void sliderUpdater(WindowComponent win) {\n JSlider playBar = win.getPlayBarComponent().getView().getPlayBar();\n playBar.setMaximum(win.getApiMusic().getNumberOfFrame());\n while( PlayBarController.this.getModel().isPlaying() ) {\n playBar.setValue(win.getApiMusic().getCurrentFrame());\n }\n }", "title": "" }, { "docid": "9d9b8e3652fc39eb44e51d523b7f4d99", "score": "0.6207072", "text": "private void addControls()\n\t{\n\t\tthis.labelDureeActuelle = new JLabel(\"00:00:00\");\n\t\tthis.labelDureeMax = new JLabel(\"00:00:00\");\n\n\t\tthis.boutonLecture = new JButton();\n\t\tthis.boutonLecture.setIcon(PlayerEventListener.IMG_ICON_LECTURE);\n\t\tthis.boutonLecture.addActionListener(this);\n\t\tthis.boutonLecture.setEnabled(true);\n\n\t\tthis.boutonStop = new JButton();\n\t\tthis.boutonStop.setIcon(PlayerEventListener.IMG_ICON_STOP);\n\t\tthis.boutonStop.addActionListener(this);\n\t\tthis.boutonStop.setEnabled(true);\n\n\t\tthis.slider = new JSlider(JSlider.HORIZONTAL);\n\t\tthis.slider.setPaintTicks(false);\n\t\tthis.slider.setPaintLabels(false);\n\t\tthis.slider.setMinimum(0);\n\t\tthis.slider.setValue(0);\n\t\tthis.slider.setMaximum(1);\n\n\t\tJSlider sliderVolume = new JSlider(JSlider.HORIZONTAL);\n\t\tsliderVolume.setPaintTicks(false);\n\t\tsliderVolume.setPaintLabels(false);\n\t\tsliderVolume.setMinimum(0);\n\t\tsliderVolume.setMaximum(VOLUME_MAX);\n\t\tsliderVolume.setValue(VOLUME_DEFAULT);\n\t\tsliderVolume.setToolTipText(\"Volume\");\n\t\tsliderVolume.setMinimumSize(SLIDER_VOLUME_DIMENSION);\n\t\tsliderVolume.setMaximumSize(SLIDER_VOLUME_DIMENSION);\n\t\tsliderVolume.setPreferredSize(SLIDER_VOLUME_DIMENSION);\n\t\tSliderVolumeListener volumeListener = new SliderVolumeListener(sliderVolume, this.mediaPlayer);\n\t\tsliderVolume.addMouseListener(volumeListener);\n\t\tsliderVolume.addMouseMotionListener(volumeListener);\n\n\t\tSliderPositionEventListener sliderListener = new SliderPositionEventListener(this.slider,\n\t\t\t\tthis.labelDureeActuelle, this.mediaPlayer);\n\t\tthis.slider.addMouseListener(sliderListener);\n\t\tthis.slider.addMouseMotionListener(sliderListener);\n\n\t\tJPanel panelDuree = new JPanel();\n\t\tpanelDuree.setLayout(new BoxLayout(panelDuree, BoxLayout.X_AXIS));\n\t\tpanelDuree.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\t\tpanelDuree.add(labelDureeActuelle, BorderLayout.WEST);\n\t\tpanelDuree.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\t\tpanelDuree.add(slider, BorderLayout.CENTER);\n\t\tpanelDuree.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\t\tpanelDuree.add(labelDureeMax, BorderLayout.EAST);\n\t\tpanelDuree.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\n\t\tJToolBar toolBar = new JToolBar();\n\t\ttoolBar.setLayout(new BoxLayout(toolBar, BoxLayout.X_AXIS));\n\t\ttoolBar.setFloatable(false);\n\t\ttoolBar.add(boutonLecture);\n\t\ttoolBar.add(boutonStop);\n\t\ttoolBar.add(Box.createHorizontalGlue());\n\t\ttoolBar.add(new JLabel(new ImageIcon(\"images/Volume.png\")));\n\t\ttoolBar.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\t\ttoolBar.add(sliderVolume);\n\t\ttoolBar.add(Box.createHorizontalStrut(PANEL_MARGIN));\n\n\t\tthis.setLayout(new GridLayout(2, 1));\n\t\tthis.add(panelDuree);\n\t\tthis.add(toolBar);\n\n\t\tActionMap actionMap = this.getActionMap();\n\t\tInputMap inputMap = this.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);\n\n\t\tinputMap.put(KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0), \"space bar\");\n\t\tactionMap.put(\"space bar\", new AbstractAction()\n\t\t{\n\t\t\tprivate static final long serialVersionUID = -7449791455625215682L;\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0)\n\t\t\t{\n\t\t\t\tif (mediaPlayer.isPlaying())\n\t\t\t\t{\n\t\t\t\t\tmediaPlayer.pause();\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tmediaPlayer.play();\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "82ef54b7e44e6cca584d5539ce5eff63", "score": "0.6136706", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterSpeedFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "73461d58f63dd804495e99a42cf3d3fc", "score": "0.61270505", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterLengthFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "888c8ad940362412f1867487c46a6270", "score": "0.6109731", "text": "void setVolumeSlider() {\n\t\t// Create a new volume slider\n\t\tvolumeSlider = new Slider();\n\t volumeSlider.setManaged(true);\n\t volumeSlider.setMaxWidth(mpWidth/6);\n\t volumeSlider.setMinWidth(20);\n\t \n\t // Detect the change in volume slider bar and sets the MediaPlayer's volume accordingly\n\t volumeSlider.valueProperty().addListener(new ChangeListener<Number>() {\n\t \n\t \t@Override\n\t public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n\t \t\tif (volumeSlider.isValueChanging()) {\n\t \t\t\t// If the slider is being dragged set volume to that requested\n\t \t\t\tmp.setVolume(volumeSlider.getValue() / 100.0);\n\t }\n\t \n\t \t\t// Update the text labels to display\n\t \t\tupdateValues();\n\t }\n\t });\n\t \n\t // Add the volume slider to MediaControl bar\n\t mediaBar.getChildren().add(volumeSlider);\n\t}", "title": "" }, { "docid": "b8298ee5356e2eafea2af43fae83acca", "score": "0.6103507", "text": "@Override\n public void mousePressed(MouseEvent e) {\n System.out.println(\"---- Mouse pressed on Slider\");\n JSlider playBar = win.getPlayBarComponent().getView().getPlayBar();\n double p = e.getPoint().getX();\n double percent = p / ((double) playBar.getWidth());\n int range = playBar.getMaximum() - playBar.getMinimum();\n double newVal = range * percent;\n int result = (int)(playBar.getMinimum() + newVal);\n\n if ( !PlayBarController.this.getModel().isPlaying() ) {\n PlayBarController.this.getModel().setIsPlaying(true);\n Runnable r = new Runnable() {\n public void run() {\n PlayBarController.this.sliderUpdater(win);\n }\n };\n PlayBarController.this.startThread(r);\n }\n\n win.getApiMusic().playSongFromSpecificFrame(result);\n System.out.println(\"---- Result = \" + result +\"\\n\");\n }", "title": "" }, { "docid": "7de60cb3e15efc5ded9fa975d0565a9b", "score": "0.60954094", "text": "private void init_slider()\r\n\t{\r\n\t\tstrokeSlider = new JSlider(JSlider.HORIZONTAL, 0, 19, 3);\r\n\t\tstrokeSlider.setBackground(BACKGROUND);\r\n\t\t\r\n\t\tfinal Map<Integer, Integer> zoomValues = new HashMap<Integer, Integer>();\r\n\t\tzoomValues.put(0, 1);\r\n\t\tzoomValues.put(1, 2);\r\n\t\tzoomValues.put(2, 3);\r\n\t\tzoomValues.put(3, 4);\r\n\t\tzoomValues.put(4, 5);\r\n\t\tzoomValues.put(5, 6);\r\n\t\tzoomValues.put(6, 7);\r\n\t\tzoomValues.put(7, 8);\r\n\t\tzoomValues.put(8, 9);\r\n\t\tzoomValues.put(9, 10);\r\n\t\t\r\n\t\tzoomValues.put(10, 11);\r\n\t\tzoomValues.put(11, 12);\r\n\t\tzoomValues.put(12, 13);\r\n\t\tzoomValues.put(13, 14);\r\n\t\tzoomValues.put(14, 15);\r\n\t\tzoomValues.put(15, 16);\r\n\t\tzoomValues.put(16, 17);\r\n\t\tzoomValues.put(17, 18);\r\n\t\tzoomValues.put(18, 19);\r\n\t\tzoomValues.put(19, 20);\r\n\t\t\r\n\t\tstrokeSlider.setValue(4);\r\n\r\n\r\n\t\tstrokeSlider.setMajorTickSpacing(1);\r\n\t\tstrokeSlider.setPaintTicks(true);\r\n\t\tstrokeSlider.setSnapToTicks(true);\r\n\t\t\r\n\t\tshowLabel(strokeSlider, zoomValues);\r\n\t\t// add Listener\r\n\t\tstrokeSlider.addChangeListener(new ChangeListener() \r\n\t\t{\r\n\t\t\t@Override\r\n\t\t\tpublic void stateChanged(ChangeEvent arg0) \r\n\t\t\t{\r\n\t\t\t\tshowLabel(strokeSlider, zoomValues);\r\n\t\t\t\tMainControl.stroke = zoomValues.get(strokeSlider.getValue());\r\n\t\t\t\tif (MainControl.selected != null && MainControl.selected instanceof ShapeDrawing) \r\n\t\t\t\t{\r\n\t\t\t\t\tShapeDrawing shape = (ShapeDrawing) MainControl.selected;\r\n\t\t\t\t\tshape.getStyle().setStroke(new BasicStroke(MainControl.stroke));\r\n\t\t\t\t\tMainControl.drawingArea.repaint();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tp.setBorder(new TitledBorder(\"Stroke size\"));\r\n\t\tp.add(strokeSlider);\r\n\t}", "title": "" }, { "docid": "b1fbb9072b80a6a51e013c9fe15ee06b", "score": "0.6087797", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterPressureFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "036a36ec361122494f605c03d6060c6b", "score": "0.607934", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterAreaFragment();\r\n\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "6c3bcd0d27be302f2e34a08887276c7b", "score": "0.6057876", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterPowerFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "b5fd9a06e290426ad973a264f455e287", "score": "0.60229284", "text": "@Override\n public void onStart(SliderEvent e) {\n \tdurationBox.getElement().getStyle().setBackgroundColor(\"white\");\n }", "title": "" }, { "docid": "67e5c2cb2373e62602e964fc5ee6e024", "score": "0.60048056", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel2 = new javax.swing.JPanel();\n jPanel3 = new javax.swing.JPanel();\n jPanel1 = new javax.swing.JPanel();\n jSlider1 = new javax.swing.JSlider();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(new java.awt.GridLayout());\n\n javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);\n jPanel2.setLayout(jPanel2Layout);\n jPanel2Layout.setHorizontalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 220, Short.MAX_VALUE)\n );\n jPanel2Layout.setVerticalGroup(\n jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n\n getContentPane().add(jPanel2);\n\n jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n jPanel3.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {\n public void mouseDragged(java.awt.event.MouseEvent evt) {\n jPanel3MouseDragged(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);\n jPanel3.setLayout(jPanel3Layout);\n jPanel3Layout.setHorizontalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 216, Short.MAX_VALUE)\n );\n jPanel3Layout.setVerticalGroup(\n jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 296, Short.MAX_VALUE)\n );\n\n getContentPane().add(jPanel3);\n\n jSlider1.setMajorTickSpacing(50);\n jSlider1.setMaximum(255);\n jSlider1.setMinorTickSpacing(10);\n jSlider1.setPaintLabels(true);\n jSlider1.setPaintTicks(true);\n jSlider1.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n jSlider1StateChanged(evt);\n }\n });\n\n javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap())\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()\n .addContainerGap(125, Short.MAX_VALUE)\n .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(130, 130, 130))\n );\n\n getContentPane().add(jPanel1);\n\n pack();\n }", "title": "" }, { "docid": "61f009adef6c7e9cf28a4d9d94929c49", "score": "0.59991956", "text": "private void iniSlider() {\n SliderPagerAdapterNew adapterslider = new SliderPagerAdapterNew(this,uploadsslider);\n adapterslider.setUserID(userName);\n\n\n\n\n\n sliderpager.setAdapter(adapterslider);\n adapterslider.notifyDataSetChanged();\n // setup timer\n Timer timer = new Timer();\n timer.scheduleAtFixedRate(new SliderTimer(),4000,6000);\n indicator.setupWithViewPager(sliderpager,true);\n\n }", "title": "" }, { "docid": "905b33cb26939487639360a939335c35", "score": "0.59958506", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterTempFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "4372c7f9c5d77b9a63f8eb4b267ac9b0", "score": "0.599247", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterForceFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "b99f7bfd0aab4edf905754f8d8579894", "score": "0.59920114", "text": "JZmultiSlider createJZmultiSlider();", "title": "" }, { "docid": "f59a0f5c734c1f4f655a59946f25640e", "score": "0.59672153", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterEnergyFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "e8cd9c1911c460beae031a95a114f934", "score": "0.5949461", "text": "public void updateSlider(final List<Movie> newsList) {\n if (context != null) {\n for (final Movie item : newsList) {\n CustomSliderView textSliderView = new CustomSliderView(context, \"\");\n // initialize a SliderLayout\n textSliderView\n .description(item.getName())\n .image(context.getResources().getString(R.string.baseUrl) + \"movie/image/\" + item.getUniqueId())\n .setScaleType(BaseSliderView.ScaleType.Fit)\n .setOnSliderClickListener(new BaseSliderView.OnSliderClickListener() {\n @Override\n public void onSliderClick(BaseSliderView slider) {\n context.startActivity(new Intent(context, DetailsActivity.class).putExtra(\"movie\", item)\n .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));\n }\n });\n\n// ImageView iconView = (ImageView) textSliderView.getView().findViewById(R.id.sliderNewsSourceIcon);\n// Glide.with(context).load(item.getNewsSourceEntity().getIconUrl()).placeholder(R.mipmap.ic_launcher).into(iconView);\n this.sliderLayout.addSlider(textSliderView);\n }\n\n }\n\n // set visibility\n this.sliderLayout.setVisibility(View.VISIBLE);\n }", "title": "" }, { "docid": "ebadc65e568836c08405e80317b630e2", "score": "0.59453344", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterVolumeFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "d9b530f6fbc2390dd006cf7b361912aa", "score": "0.5939251", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\r\n\t\t\t\trl_slider_parent.startAnimation(outToRightAnimation());\r\n\t\t\t\tslider = 1;\r\n\r\n\t\t\t}", "title": "" }, { "docid": "cd6188027f9fa1868edbbc6e110a8b83", "score": "0.5930338", "text": "public String SetSliderValue() {\n\t\tWebElement slider = driver.findElement(By.xpath(\"//*[@id=\\\"content\\\"]/div/div/input\"));\n \n\t\tint width = slider.getSize().getWidth(); //getting the width of the slider\n\t\tActions action = new Actions(driver); \n\t\taction.dragAndDropBy(slider, (width * 100)/100, 0).perform(); //perform drag and drop \n\t\tWebElement rangeValue = driver.findElement(By.id(\"range\")); \n\t\tString value = rangeValue.getText(); //getting the range value\n\n\t\treturn value;\n\t}", "title": "" }, { "docid": "a4ee9290e72f7154d6369d9e15704b0f", "score": "0.59178096", "text": "Slider(int x, int y)\n\t{\n\t\tthis.x = x;\n\t\tthis.y = y;\n\t}", "title": "" }, { "docid": "2b1a6ac9396ad215262cb6399cdf44d3", "score": "0.591073", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n PanelControl = new javax.swing.JPanel();\n PanelVela = new javax.swing.JPanel();\n SliderVela = new javax.swing.JSlider();\n PanelTimon = new javax.swing.JPanel();\n SliderTimon = new javax.swing.JSlider();\n PanelDibujo = new javax.swing.JPanel();\n panelGrafico1 = new PanelGrafico();\n Autor = new javax.swing.JLabel();\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setTitle(\"BarquitoVelero\");\n setIconImage(new javax.swing.ImageIcon(\"src/barquitologo.png\").getImage());\n\n PanelControl.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Control\"));\n\n PanelVela.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Orientación Vela\"));\n\n SliderVela.setMaximum(90);\n SliderVela.setMinimum(-90);\n SliderVela.setToolTipText(\"Orientación de la Vela\");\n SliderVela.setValue(0);\n SliderVela.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n SliderVelaStateChanged(evt);\n }\n });\n SliderVela.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n SliderVelaMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n SliderVelaMouseExited(evt);\n }\n });\n\n javax.swing.GroupLayout PanelVelaLayout = new javax.swing.GroupLayout(PanelVela);\n PanelVela.setLayout(PanelVelaLayout);\n PanelVelaLayout.setHorizontalGroup(\n PanelVelaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(SliderVela, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 220, Short.MAX_VALUE)\n );\n PanelVelaLayout.setVerticalGroup(\n PanelVelaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(PanelVelaLayout.createSequentialGroup()\n .addComponent(SliderVela, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(0, 22, Short.MAX_VALUE))\n );\n\n PanelTimon.setBorder(javax.swing.BorderFactory.createTitledBorder(\"Orientación Timón\"));\n\n SliderTimon.setMaximum(90);\n SliderTimon.setMinimum(-90);\n SliderTimon.setToolTipText(\"Orientación del timón\");\n SliderTimon.setValue(0);\n SliderTimon.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n SliderTimonStateChanged(evt);\n }\n });\n SliderTimon.addMouseListener(new java.awt.event.MouseAdapter() {\n public void mouseEntered(java.awt.event.MouseEvent evt) {\n SliderTimonMouseEntered(evt);\n }\n public void mouseExited(java.awt.event.MouseEvent evt) {\n SliderTimonMouseExited(evt);\n }\n });\n\n javax.swing.GroupLayout PanelTimonLayout = new javax.swing.GroupLayout(PanelTimon);\n PanelTimon.setLayout(PanelTimonLayout);\n PanelTimonLayout.setHorizontalGroup(\n PanelTimonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(SliderTimon, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n PanelTimonLayout.setVerticalGroup(\n PanelTimonLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(PanelTimonLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(SliderTimon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n javax.swing.GroupLayout PanelControlLayout = new javax.swing.GroupLayout(PanelControl);\n PanelControl.setLayout(PanelControlLayout);\n PanelControlLayout.setHorizontalGroup(\n PanelControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(PanelControlLayout.createSequentialGroup()\n .addContainerGap()\n .addGroup(PanelControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(PanelVela, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(PanelTimon, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))\n );\n PanelControlLayout.setVerticalGroup(\n PanelControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(PanelControlLayout.createSequentialGroup()\n .addContainerGap()\n .addComponent(PanelVela, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(PanelTimon, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n\n PanelDibujo.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n\n panelGrafico1.setForeground(new java.awt.Color(0, 0, 204));\n\n javax.swing.GroupLayout panelGrafico1Layout = new javax.swing.GroupLayout(panelGrafico1);\n panelGrafico1.setLayout(panelGrafico1Layout);\n panelGrafico1Layout.setHorizontalGroup(\n panelGrafico1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 302, Short.MAX_VALUE)\n );\n panelGrafico1Layout.setVerticalGroup(\n panelGrafico1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 0, Short.MAX_VALUE)\n );\n\n javax.swing.GroupLayout PanelDibujoLayout = new javax.swing.GroupLayout(PanelDibujo);\n PanelDibujo.setLayout(PanelDibujoLayout);\n PanelDibujoLayout.setHorizontalGroup(\n PanelDibujoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(panelGrafico1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n PanelDibujoLayout.setVerticalGroup(\n PanelDibujoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(panelGrafico1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n );\n\n Autor.setText(\"Héctor Garbisu DIU 2015\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(PanelControl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(Autor))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(PanelDibujo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(PanelDibujo, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(PanelControl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 293, Short.MAX_VALUE)\n .addComponent(Autor)))\n .addContainerGap())\n );\n\n pack();\n }", "title": "" }, { "docid": "4cee412ded5e8ca756319ed069a84ba7", "score": "0.5909313", "text": "private void sliderAutoChangePictures() {\n\n Timeline sliderTimer = new Timeline(new KeyFrame(Duration.ZERO, e -> {\n FadeTransition ft = new FadeTransition();\n ft.setNode(imgSlider);\n ft.setDuration(new Duration(4000));\n ft.setFromValue(1.0);\n ft.setToValue(0.3);\n ft.setCycleCount(0);\n ft.setAutoReverse(true);\n ft.play();\n imgSlider.setImage(new Image(\"com/houarizegai/fxtools/dashboard/model1/img/slider/\" + counter + \".png\"));\n if (++counter > NUMBER_IMAGE_SLIDER) {\n counter = 1;\n }\n }),\n new KeyFrame(Duration.seconds(4))\n );\n sliderTimer.setCycleCount(Animation.INDEFINITE);\n sliderTimer.play();\n\n }", "title": "" }, { "docid": "1e0d28394185d276a4962115d4f96981", "score": "0.5898833", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterTimeFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "42eb10004d4050fe1dcfa47e4a0d5740", "score": "0.58841413", "text": "private void createSlider(Composite parent){\n\t\tComposite container = new Composite(parent, SWT.NONE);\n\t\tcontainer.setLayout(new GridLayout(3,false));\n\t\tcontainer.setLayoutData(new GridData(GridData.FILL_BOTH));\n\t\tnew Label(container, SWT.NONE).setText(Messages.ColorDialog_transparencyLabel);\n\t\talphaSlider = new Scale(container, SWT.HORIZONTAL);\n\t\talphaSlider.setMaximum(0);\n\t\talphaSlider.setMaximum(255);\n\t\talphaSlider.setSelection(alpha);\n\t\talphaSlider.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));\n\t\talphaText = new Spinner(container, SWT.BORDER);\n\t\talphaText.setMinimum(0);\n\t\talphaText.setMaximum(255);\n\t\talphaText.setSelection(alpha);\n\t\t//When the alpha slider change value update also the preview composite and the alpha textual value\n\t\talphaSlider.addSelectionListener(new SelectionAdapter() {\n\t\t\t@Override\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\n\t\t\t\talphaText.setSelection(alphaSlider.getSelection());\n\t\t\t\talpha = alphaSlider.getSelection();\n\t\t\t\tupdatePreview();\n\t\t\t}\n\t\t});\n\t\t//When the alpha text field change value update also the preview composite and the alpha slider value\n\t\talphaText.addModifyListener(new ModifyListener() {\n\t\t\t@Override\n\t\t\tpublic void modifyText(ModifyEvent e) {\n\t\t\t\talphaSlider.setSelection(alphaText.getSelection());\n\t\t\t\talpha = alphaSlider.getSelection();\n\t\t\t\tupdatePreview();\n\t\t\t}\n\t\t});\n\t}", "title": "" }, { "docid": "e679ef499a699190f4d1624c660d2c69", "score": "0.58670485", "text": "private void setSeekBar(){\n // Option sliders listeners\n bar1 = sliderBars.findViewById(R.id.seekBar1);\n bar2 = sliderBars.findViewById(R.id.seekBar2);\n bar3 = sliderBars.findViewById(R.id.seekBar3);\n isSliding = false;\n\n bar1.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (isSliding)\n applyProcessings();\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n isSliding = true;\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n isSliding = false;\n }\n });\n bar2.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (isSliding)\n applyProcessings();\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n isSliding = true;\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n isSliding = false;\n }\n });\n bar3.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() {\n @Override\n public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {\n if (isSliding)\n applyProcessings();\n }\n\n @Override\n public void onStartTrackingTouch(SeekBar seekBar) {\n isSliding = true;\n }\n\n @Override\n public void onStopTrackingTouch(SeekBar seekBar) {\n isSliding = false;\n }\n });\n }", "title": "" }, { "docid": "72fc41c6fb8193b9cf280a35cbfb6579", "score": "0.5843064", "text": "private void setSliderModels() {\n\n // Taken from https://stackoverflow.com/questions/31835586/set-jslider-limits\n attack.setModel(\n new DefaultBoundedRangeModel() {\n @Override\n public void setValue(int n) {\n if (n > decay.getValue()) {\n n = decay.getValue();\n }\n super.setValue(n);\n }\n }\n );\n\n decay.setModel(\n new DefaultBoundedRangeModel() {\n @Override\n public void setValue(int n) {\n if (n < attack.getValue()) {\n n = attack.getValue();\n }\n super.setValue(n);\n }\n }\n );\n }", "title": "" }, { "docid": "271ee99d5d33009d3c95caedb245343a", "score": "0.58408344", "text": "@Override\n protected void onStop() {\n mDemoSlider.stopAutoCycle();\n super.onStop();\n }", "title": "" }, { "docid": "e5caa35176dd2abc46d032165d380b6b", "score": "0.5840439", "text": "@Override\n public void onPanelSlide(View arg0, float arg1) {\n }", "title": "" }, { "docid": "9ad668ec71eb3b886bc54d199641c0a6", "score": "0.5819453", "text": "public void setSliders () {\n\n SBR.setProgress(RedBar);\n SBG.setProgress(GreenBar);\n SBB.setProgress(BlueBar);\n SBVal.setProgress(ValBar);\n SBCon.setProgress(ConBar);\n SBHue.setProgress(HueBar);\n\n if (grayScale) {\n SBSat.setProgress(160);\n SBSat.setEnabled(false);\n } else {\n SBSat.setProgress(SatBar);\n SBSat.setEnabled(true);\n }\n\n }", "title": "" }, { "docid": "d71560bab9fb1417c047073257194e60", "score": "0.58165896", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\tif (slider == 0) {\r\n\t\t\t\t\tMainActivityA.getInstance().showUnitConverterDataSizeFragment();\r\n\t\t\t\t}\r\n\t\t\t}", "title": "" }, { "docid": "8c69517f080ba670e1cfc7b14a3adb2f", "score": "0.57971096", "text": "@Override\n\t\tpublic void stateChanged(ChangeEvent e) {\n\t\t\tJSlider slider = (JSlider) e.getSource();\n\t\t\tif (slider == sliderR) {\n\t\t\t\tint x = slider.getValue();\n\t\t\t\tprocessSliderR(x);\n\t\t\t} else if (slider == sliderG) {\n\t\t\t\tint x = slider.getValue();\n\t\t\t\tprocessSliderG(x);\n\t\t\t} else if (slider == sliderB) {\n\t\t\t\tint x = slider.getValue();\n\t\t\t\tprocessSliderB(x);\n\t\t\t} else if (slider == sliderBr) {\n\t\t\t\tint x = slider.getValue();\n\t\t\t\tprocessSliderBr(x);\n\t\t\t} else if (slider == sliderCon) {\n\t\t\t\tint x = slider.getValue();\n\t\t\t\tprocessSliderCon(x);\n\t\t\t}\n\n\t\t}", "title": "" }, { "docid": "5dfe37b8714c797fbdafbecf1bdc86b8", "score": "0.5792447", "text": "private void updateSlider(StreamControl sc, boolean forceReloadIcon) {\n updateSliderProgress(sc, -1);\n final boolean muted = isMuted(sc.streamType);\n if (forceReloadIcon) {\n sc.icon.setImageDrawable(null);\n }\n updateSliderIcon(sc, muted);\n updateSliderEnabled(sc, muted, false);\n updateSliderSuppressor(sc);\n }", "title": "" }, { "docid": "0beb0b17d21cd342411ae866488b107b", "score": "0.57809776", "text": "@Override\r\n protected void onStop() {\n imageSlider.stopAutoCycle();\r\n super.onStop();\r\n }", "title": "" }, { "docid": "1c367042b69b12066077307c28f496df", "score": "0.5776128", "text": "private void sliderValueChanged( Slider whichSlider ) {\n\n String str;\n if ( whichSlider == slider1 )\n str = String.format( \"First slider value is now %1.2f\", slider1.getValue() );\n else if ( whichSlider == slider2 )\n str = String.format( \"Second slider value is now %1.2f\", slider2.getValue() );\n else\n str = String.format( \"Third slider value is now %1.2f\", slider3.getValue() );\n label.setText( str );\n }", "title": "" }, { "docid": "ce65146988ed1dea6acc74fb1ec3efc4", "score": "0.5768515", "text": "@Override\r\n protected void onStop() {\n mDemoSlider.stopAutoCycle();\r\n super.onStop();\r\n }", "title": "" }, { "docid": "10ab3420814e17230e851cd22fe51244", "score": "0.57672304", "text": "public void addMusicVolumeSliderListener(Slider slider) {\n slider.setValue(preferences.getFloat(\"musicVolume\") * 100);\n slider.addListener(new ChangeListener() {\n @Override\n public void changed(ChangeEvent event, Actor actor) {\n preferences.putFloat(\"musicVolume\", slider.getValue() / 100f);\n }\n });\n }", "title": "" }, { "docid": "372e22f5c391b2ca80fd9df1265bd584", "score": "0.576115", "text": "@Override\n public void setSliderMax(int value) {\n return;\n }", "title": "" }, { "docid": "cd0aed1510e2f1ea5ed60fc9143ace00", "score": "0.5755306", "text": "@Override\n protected void onRestart() {\n super.onRestart();\n\n if (slider.isOpened()) {\n slider.toggle();\n }\n }", "title": "" }, { "docid": "580c81e63d6d7466ab227f87dad7b961", "score": "0.5751453", "text": "private void initComponents() {\n\n jLabel1 = new javax.swing.JLabel();\n frameNumberTextField = new javax.swing.JTextField();\n jPanel1 = new javax.swing.JPanel();\n frameViewSlider = new javax.swing.JSlider();\n\n jLabel1.setText(\"Frame\");\n jLabel1.setFocusable(false);\n\n frameNumberTextField.setText(\"1\");\n frameNumberTextField.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n frameNumberTextFieldActionPerformed(evt);\n }\n });\n\n jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());\n\n frameViewSlider.setMinimum(1);\n frameViewSlider.setSnapToTicks(true);\n frameViewSlider.setMaximum(totalFrame);\n frameViewSlider.setValue(1);\n frameViewSlider.addChangeListener(new javax.swing.event.ChangeListener() {\n public void stateChanged(javax.swing.event.ChangeEvent evt) {\n frameViewSliderStateChanged(evt);\n }\n });\n frameViewSlider.addKeyListener(new java.awt.event.KeyAdapter() {\n public void keyPressed(java.awt.event.KeyEvent evt) {\n frameViewSliderKeyPressed(evt);\n }\n });\n frameViewSlider.addMouseWheelListener(new java.awt.event.MouseWheelListener() {\n public void mouseWheelMoved(java.awt.event.MouseWheelEvent evt) {\n frameViewSliderMouseWheelMoved(evt);\n }\n });\n\n org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);\n jPanel1.setLayout(jPanel1Layout);\n jPanel1Layout.setHorizontalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(frameViewSlider, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 419, Short.MAX_VALUE)\n );\n jPanel1Layout.setVerticalGroup(\n jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(frameViewSlider, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n );\n\n org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(layout.createSequentialGroup()\n .add(jLabel1)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(frameNumberTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 54, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)\n .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)\n .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.CENTER)\n .add(jLabel1)\n .add(frameNumberTextField, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 23, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)\n .add(jPanel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))\n );\n }", "title": "" }, { "docid": "b1c3555feab3f3c31d20741240f79b6a", "score": "0.57315195", "text": "public void initSliderBox() {\n initSlider();\n sliderBox = new HBox(SLIDERBOX_SPACING, speedSlider);\n sliderBox.setAlignment(Pos.CENTER);\n }", "title": "" }, { "docid": "819a01bd63bbab0b61b260cb99ebedb5", "score": "0.57293844", "text": "public void lowThumbReleased(MouseEvent e) {\r\n final RangeSlider rangeSlider = getControl();\r\n rangeSlider.setLowValueChanging(false);\r\n // RT-15207 When snapToTicks is true, slider value calculated in drag\r\n // is then snapped to the nearest tick on mouse release.\r\n if (rangeSlider.isSnapToTicks()) {\r\n rangeSlider.setLowValue(snapValueToTicks(rangeSlider.getLowValue()));\r\n }\r\n }", "title": "" }, { "docid": "193f5a1bb836b8041d7e1c25a5dc8e57", "score": "0.572284", "text": "@Override\n\tpublic boolean xSliderMoved(Controller controller, int sliderCode,\n\t\t\tboolean value) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "a62d5b59d2573e72d782727a78596f5c", "score": "0.5709085", "text": "private void arrivalEvent(){//PENDENTE\n //implementar fluxo do slide 50\n }", "title": "" }, { "docid": "b0bc7c2108dd0c86e365302eb80b62e9", "score": "0.57076705", "text": "private JSlider klDivSlider(String paramLabel, int min, int max, String name) {\n\t\tJSlider filterSlider = new JSlider(JSlider.HORIZONTAL, min, max, Parameters.parameters.integerParameter(paramLabel));\n\n\t\tHashtable<Integer,JLabel> labels = new Hashtable<>();\n\n\t\tfilterSlider.setMinorTickSpacing(1);\n\t\tfilterSlider.setPaintTicks(true);\n\t\tlabels.put((min+max)/2, new JLabel(name));\n\t\tfilterSlider.setLabelTable(labels);\n\t\tfilterSlider.setPaintLabels(true);\n\t\tfilterSlider.setPreferredSize(new Dimension(200, 40));\n\n\t\tfilterSlider.addChangeListener(new ChangeListener() {\n\n\t\t\t@Override\n\t\t\tpublic void stateChanged(ChangeEvent e) {\n\t\t\t\tJSlider source = (JSlider)e.getSource();\n\t\t\t\tParameters.parameters.setInteger(paramLabel, source.getValue());\n\t\t\t}\n\n\t\t});\n\t\treturn filterSlider;\n\t}", "title": "" }, { "docid": "12736bd273b9f4d86ea805cd02beaef4", "score": "0.5706721", "text": "void setSliderMax(int value);", "title": "" }, { "docid": "37e3154c3e103ec6d2bdef6a28371a57", "score": "0.56873465", "text": "private void slider_hMouseReleased(java.awt.event.MouseEvent evt) {\n if (opened)\r\n h = Process.hsvThres(lbl_h_val, lbl_h1_val, slider_h, slider_h1, img_hsv, lbl_img_h_thres,0);\r\n }", "title": "" }, { "docid": "1e3dd5cdaff42c27a316243b6ac3e201", "score": "0.56763107", "text": "public void slideForward() {\n RobotMap.hatchSliderPiston.set(true);\n }", "title": "" }, { "docid": "1df7356f204d3e53ec278d31a7369a35", "score": "0.5671565", "text": "@Override\r\n\t\t\tpublic void onAnimationStart(Animation arg0) {\n\t\t\t\trl_slider.setVisibility(View.VISIBLE);\r\n\r\n\t\t\t}", "title": "" }, { "docid": "4c56b1f03c234a54d7ef6f16ff40a814", "score": "0.56428385", "text": "public VolumeGUI(){\n setLayout(new GridLayout(2,1));\n add(VolumeText);add(VolumeSlider);\n setSize(400, 200);\n VolumeText.setFont(new Font(\"Arial\", Font.BOLD, 18));\n //Adding all the properties for the slider\n VolumeSlider.setPaintTicks(true);\n VolumeSlider.setPaintLabels(true);\n VolumeSlider.setMinorTickSpacing(1);\n VolumeSlider.setMajorTickSpacing(5); \n VolumeSlider.addChangeListener(this);\n setVisible(true);\n }", "title": "" }, { "docid": "4fd0e377e1015a70fbae5ef1bced6ec0", "score": "0.5635741", "text": "private void geometrie()\r\n\t\t{\r\n\t\tboutonStart = new JButton(\"BoutonStart\");\r\n\t\tboutonStop = new JButton(\"BoutonStop\");\r\n\t\tsliderAlpha = new JSlider(SwingConstants.HORIZONTAL, (int)intervalleSlider.getiStart(), (int)intervalleSlider.getiStop(), (int)intervalleSlider.getMilieu());\r\n\r\n\t\tsetLayout(new FlowLayout(FlowLayout.CENTER));\r\n\r\n\t\tadd(boutonStart);\r\n\t\tadd(boutonStop);\r\n\t\tadd(sliderAlpha);\r\n\t\t}", "title": "" }, { "docid": "4f7569b94a3a239fee02f66848521053", "score": "0.5623106", "text": "private JPanel getSliderPanel () {\n\t\t// Initializes the panel and the layout\n\t\tJPanel panel = new JPanel();\n\t\tGridLayout layout = new GridLayout(2, 1, 0, 0);\n\t\tpanel.setLayout(layout);\n\n\t\t// Initializes the slider label value\n\t\tsliderValue = new JLabel(TRANSPARENCY_INIT + \" %\", SwingConstants.CENTER);\n\n\t\t// Initializes the slider\n\t\tslider = new JSlider(SwingConstants.HORIZONTAL, TRANSPARENCY_MIN, TRANSPARENCY_MAX, TRANSPARENCY_INIT);\n\t\tslider.addChangeListener(new ChangeListener() {\n\t\t\t@Override\n\t\t\tpublic void stateChanged(ChangeEvent e) {\n\t\t\t\tJSlider source = (JSlider)e.getSource();\n\t\t\t\tint transparency = source.getValue();\n\t\t\t\tsliderValue.setText(transparency + \" %\");\n\t\t\t}\n\t\t});\n\t\tslider.setMajorTickSpacing(10);\n\t\tslider.setMinorTickSpacing(1);\n\n\t\t// Adds label and slider to the panel\n\t\tpanel.add(sliderValue);\n\t\tpanel.add(slider);\n\n\t\t// Returns the panel\n\t\treturn panel;\n\t}", "title": "" }, { "docid": "5ae7af354fce36d448f7a607f004ebc3", "score": "0.56139654", "text": "private void sliderEvent(Slider input, Label labelToChange){\n labelToChange.setText(Double.toString(Math.round(input.getValue())));\n }", "title": "" }, { "docid": "8d108757ee611ca7ef7bba374a9f5f26", "score": "0.5612414", "text": "private SliderListener getDateSliderListener() {\n\t\tSliderListener listener = new SliderListener() {\n\t\t\t//helper function\n\t\t\tprivate void setDateInput(int min, int max) {\n\t\t\t\tif( min == max ) {\n\t\t\t\t\t//if values are equal just write one value\n\t\t\t\t\tdateBox.setValue( Integer.toString(min) );\n\t\t\t\t} else {\n\t\t\t\t\t//if values are different write both\n\t\t\t\t\tdateBox.setValue( Integer.toString(min) + \"-\" + Integer.toString(max) );\n\t\t\t\t}\n\t\t\t}\n \t\n @Override\n public void onStart(SliderEvent e) {\n \t//reset input field in case it was changed due to an error\n \tdateBox.getElement().getStyle().setBackgroundColor(\"white\");\n }\n \n @Override\n public boolean onSlide(SliderEvent e) {\n \tdateBox.removeStyleName(defaultInputCSSRule);\n \t\n int max = dateSlider.getValueMax();\n int min = dateSlider.getValueMin();\n\n setDateInput(min, max);\n return true;\n }\n\n @Override\n public void onChange(SliderEvent e) {\n int max = dateSlider.getValueMax();\n int min = dateSlider.getValueMin();\n \n setDateInput(min, max);\n }\n\n @Override\n public void onStop(SliderEvent e) {\n }\n\t\t};\n\t\t\n\t\treturn listener;\n\t}", "title": "" }, { "docid": "f697ea847778c729871a6fab3b65dfab", "score": "0.56123304", "text": "public void run()\n {\n timeSlider.setValue(mediaPlayer.getCurrentTime().toMillis()/mediaPlayer.getTotalDuration().toMillis() * 100);\n timeLabel.setText(getTime(mediaPlayer.getCurrentTime()) + \"/\" + getTime(mediaPlayer.getTotalDuration()));\n if(controlBar.isVisible() && mediaPlayer.getCurrentTime().toSeconds() - lastAction > 10){\n controlBar.setVisible(false);\n goBackButton.setVisible(false);\n }\n }", "title": "" }, { "docid": "c8daa1d06227cc1873e06ace0e9536c5", "score": "0.5606986", "text": "JPanel guiPanel() {\r\n JPanel panel = new JPanel();\r\n panel.setLayout(new GridLayout(0, 1));\r\n\r\n // Human_r_shoulder rotation\r\n panel.add(new JLabel(\"Right Shoulder rotation\"));\r\n rShoulderSlider = new JSlider(JSlider.HORIZONTAL, 0, 180, rShoulderRot);\r\n rShoulderSlider.addChangeListener(this);\r\n rShoulderSliderLabel = new JLabel(Integer.toString(rShoulderRot));\r\n panel.add(rShoulderSlider);\r\n panel.add(rShoulderSliderLabel);\r\n\r\n // Human_r_elbow rotation\r\n panel.add(new JLabel(\"Right Elbow rotation\"));\r\n rElbowSlider = new JSlider(JSlider.HORIZONTAL, 0, 180, rElbowRot);\r\n rElbowSlider.addChangeListener(this);\r\n rElbowSliderLabel = new JLabel(Integer.toString(rElbowRot));\r\n panel.add(rElbowSlider);\r\n panel.add(rElbowSliderLabel);\r\n\r\n // Human_l_shoulder rotation\r\n panel.add(new JLabel(\"Left Shoulder rotation\"));\r\n lShoulderSlider = new JSlider(JSlider.HORIZONTAL, 0, 180, lShoulderRot);\r\n lShoulderSlider.addChangeListener(this);\r\n lShoulderSliderLabel = new JLabel(Integer.toString(lShoulderRot));\r\n panel.add(lShoulderSlider);\r\n panel.add(lShoulderSliderLabel);\r\n\r\n // Human_l_elbow rotation\r\n panel.add(new JLabel(\"Left Elbow rotation\"));\r\n lElbowSlider = new JSlider(JSlider.HORIZONTAL, 0, 180, lElbowRot);\r\n lElbowSlider.addChangeListener(this);\r\n lElbowSliderLabel = new JLabel(Integer.toString(lElbowRot));\r\n panel.add(lElbowSlider);\r\n panel.add(rElbowSliderLabel);\r\n\r\n if (isApplication) {\r\n JButton snapButton = new JButton(snapImageString);\r\n snapButton.setActionCommand(snapImageString);\r\n snapButton.addActionListener(this);\r\n panel.add(snapButton);\r\n }\r\n\r\n return panel;\r\n }", "title": "" }, { "docid": "1d551ba6f4afe61a2bce4b5666b1446e", "score": "0.55992866", "text": "@Override\n protected void onStop() {\n mDemoSlider.setPresetTransformer(SliderLayout.Transformer.Accordion);\n mDemoSlider.setPresetIndicator(SliderLayout.PresetIndicators.Center_Bottom);\n mDemoSlider.setCustomAnimation(new DescriptionAnimation());\n mDemoSlider.setDuration(4000);\n // mDemoSlider.stopAutoCycle();\n super.onStop();\n }", "title": "" }, { "docid": "0ca0ffb2ae7662b2bb2d0fb1639f9a63", "score": "0.559471", "text": "@Test\n\tpublic void testHorizontalSlider() {\n\t\t//arrange\n\t\tString expectedSpanValue = \"5\";\n\t\t\n\t\t//act\n\t\tString actualSpanValue = new SliderPageObject(driver,baseUrl)\n\t\t\t\t.OpenSliderPage()\n\t\t\t\t.MoveSlider()\n\t\t\t\t.getSpanInfo();\n\t\t\n\t\t//assert\n\t\tAssert.assertEquals(actualSpanValue, expectedSpanValue, \"The Slider Doesnot work\");\n\t}", "title": "" }, { "docid": "36269cc76580c72e276c8dd561d4798d", "score": "0.5594549", "text": "@Override\r\n\t\t\tpublic void onAnimationEnd(Animation arg0) {\n\t\t\t\tslider = 0;\r\n\t\t\t}", "title": "" }, { "docid": "da347a44f585c8777e6e36ea7178b4c0", "score": "0.559372", "text": "public void initialize() {\n musicSlider.setValue(AssetManager.mediaPlayer.getVolume()*100);\n musicLabel.setText(\"%\" + Integer.toString((int)musicSlider.getValue()));\n musicSlider.valueProperty().addListener(new InvalidationListener() {\n @Override\n public void invalidated(Observable observable) {\n AssetManager.mediaPlayer.setVolume(musicSlider.getValue()/100);\n musicLabel.setText(\"%\" + Integer.toString((int)musicSlider.getValue()));\n }\n });\n\n effectsSlider.valueProperty().addListener((observable, oldValue, newValue) -> {\n\n effectsLabel.setText(\"%\" + Integer.toString((int) newValue.intValue()));\n\n\n });\n\n }", "title": "" }, { "docid": "5d50f8a0503d64373584582f41c4f09b", "score": "0.5565163", "text": "public void initializeSliders(){\n \n leaseDuration_S.setMin(0);\n leaseDuration_S.setMax(24);\n leaseDuration_S.setShowTickLabels(true);\n leaseDuration_S.setShowTickMarks(true);\n leaseDuration_S.setMajorTickUnit(12);\n leaseDuration_S.setMinorTickCount(11);\n leaseDuration_S.setBlockIncrement(1);\n leaseDuration_S.setSnapToTicks(true);\n }", "title": "" }, { "docid": "4bc716a85d44cffc2544d0550d84cf31", "score": "0.5560357", "text": "@Override\n public void onStart(SliderEvent e) {\n \tdateBox.getElement().getStyle().setBackgroundColor(\"white\");\n }", "title": "" }, { "docid": "2d88b62f4ce76d96e0922b3701faae54", "score": "0.55562174", "text": "private SliderListener getDurationSliderListener() {\n\t\tSliderListener listener = new SliderListener() {\n\t\t\t//helper function\n\t\t\tprivate void setDurationInput(int min, int max) {\n\t\t\t\tif( min == max ) {\n\t\t\t\t\t//if values are equal just write one value\n\t\t\t\t\tdurationBox.setValue( Integer.toString(min) );\n\t\t\t\t} else {\n\t\t\t\t\t//if values are different write both\n\t\t\t\t\tdurationBox.setValue( Integer.toString(min) + \"-\" + Integer.toString(max) );\n\t\t\t\t}\n\t\t\t}\n \t\n @Override\n public void onStart(SliderEvent e) {\n \t//reset input field in case it was changed due to an error\n \tdurationBox.getElement().getStyle().setBackgroundColor(\"white\");\n }\n @Override\n public boolean onSlide(SliderEvent e) {\n \tdurationBox.removeStyleName(defaultInputCSSRule);\n \t\n int max = durationSlider.getValueMax();\n int min = durationSlider.getValueMin();\n \n setDurationInput(min, max);\n return true;\n }\n\n @Override\n public void onChange(SliderEvent e) {\n int max = durationSlider.getValueMax();\n int min = durationSlider.getValueMin();\n\n setDurationInput(min, max);\n }\n\n @Override\n public void onStop(SliderEvent e) {\n }\n\t\t};\n\t\t\n\t\treturn listener;\n\t}", "title": "" }, { "docid": "7b0115b6645e2be86f1b874df6a7dd6f", "score": "0.55556613", "text": "private void setUpSlider(Dictionary<Integer, JComponent> modes, JSlider slider,\n Model model, ScaleType scaleType) {\n slider.setMajorTickSpacing(1);\n slider.setSnapToTicks(true);\n slider.setLabelTable(modes);\n slider.setPaintLabels(true);\n slider.addChangeListener(new SliderController(model, slider, scaleType));\n }", "title": "" }, { "docid": "1ec28341226db1231d9308f425eebfb5", "score": "0.55524486", "text": "private void tribeFieldAction(ActionEvent e)\n {\n try\n {\n int tribeNo = Integer.parseInt(tribeCountField.getText());\n if (tribeNo >= 0 && tribeNo < tribeCount)\n {\n tribeSlider.setValue(tribeNo);\n }\n else if (tribeNo < 0)\n {\n tribeSlider.setValue(0);\n }\n else\n {\n tribeSlider.setValue(tribeCount - 1);\n }\n }\n catch (NumberFormatException e1)\n {\n tribeCountField.setText(0 + \"\");\n tribeSlider.setValue(0);\n }\n }", "title": "" }, { "docid": "91496be245071686eb247b6f7053b5d8", "score": "0.5540308", "text": "private void createArchitectureSliders() {\n JSlider numberOfFloors = createSlider(new JSlider(JSlider.HORIZONTAL, 1, 3, model.getNumberOfFloors()), \"Number of floors: \");\n numberOfFloors.addChangeListener(e -> controller.changeNumberOfFloors( ((JSlider) e.getSource()).getValue() ));\n\n JSlider numberOfRows = createSlider(new JSlider(JSlider.HORIZONTAL, 1, 6, model.getNumberOfRows()), \"Number of rows: \");\n numberOfRows.addChangeListener(e -> controller.changeNumberOfRows( ((JSlider) e.getSource()).getValue() ));\n\n JSlider numberOfPlaces = createSlider(new JSlider(JSlider.HORIZONTAL, 1, 41, model.getNumberOfPlaces()), \"Number of places: \");\n numberOfPlaces.addChangeListener(e -> controller.changeNumberOfPlaces( ((JSlider) e.getSource()).getValue() ));\n }", "title": "" }, { "docid": "d9800bcb0b2430cfafb5e5e798e91d51", "score": "0.55375266", "text": "@Override\r\n\t\t\tpublic void onClick(View arg0) {\n\t\t\t\trl_slider_parent.startAnimation(inFromRightAnimation());\r\n\r\n\t\t\t}", "title": "" }, { "docid": "e8d90d571ac082b0ccdab9dd4af95e4f", "score": "0.55326897", "text": "@FXML private void sliderChanged() {\r\n int value = (int) profileRam.getValue();\r\n profileRamAssignateLabel.setText(String.valueOf(value) + \" MB\");\r\n }", "title": "" }, { "docid": "592c6063cdbb4d114ef9b40e797c97d4", "score": "0.55300283", "text": "@Override\n public void stateChanged(ChangeEvent e) {\n float volume = scale(volSlider.getValue(), 1, 10, 0.0001f, 2);\n Sound.getWinter().setVolume(volume);\n Sound.getFall().setVolume(volume);\n Sound.getSpring().setVolume(volume);\n\n Sound.getPain().setVolume(volume);\n Sound.getNom().setVolume(volume);\n Sound.getSmash().setVolume(volume);\n Sound.getDing().setVolume(volume);\n }", "title": "" }, { "docid": "e975c14c4bb02839e174e990148cf8b7", "score": "0.5504309", "text": "public void addSoundEffectsVolumeSliderListener(Slider slider) {\n slider.setValue(preferences.getFloat(\"soundEffectsVolume\") * 100);\n slider.addListener(new ChangeListener() {\n @Override\n public void changed(ChangeEvent event, Actor actor) {\n preferences.putFloat(\"soundEffectsVolume\", slider.getValue() / 100f);\n }\n });\n }", "title": "" }, { "docid": "2fc6333a7a15055fa1700e1f7f6ef143", "score": "0.55041534", "text": "@FXML\n void updateAudioOffset(MouseEvent event) {\n audioOffsetValue.textProperty().bindBidirectional(slider.valueProperty(),NumberFormat.getNumberInstance());\n }", "title": "" }, { "docid": "dcbf58cbc7a7a66523f85e37385a2419", "score": "0.5501927", "text": "public Atdl4jWidget<?> createSliderT(SliderT control, ParameterT parameter)\n\t{\n\t Atdl4jWidget<?> atdl4jWidgetForSliderT = Atdl4jConfig.getConfig().createAtdl4jWidgetForSliderT();\n\t atdl4jWidgetForSliderT.init( control, parameter, getAtdl4jOptions() );\n\t return atdl4jWidgetForSliderT;\n\t}", "title": "" }, { "docid": "f6c1de1fba2e17d75c4132930705843a", "score": "0.5499209", "text": "private void setSliderBasedPosition() {\n if(!mediaPlayer.isSeekable()) {\n return;\n }\n float positionValue = positionSlider.getValue() / 1000.0f;\n // Avoid end of file freeze-up\n if(positionValue > 0.99f) {\n positionValue = 0.99f;\n }\n mediaPlayer.setPosition(positionValue);\n }", "title": "" }, { "docid": "e0458bb78380318e140e4cd0af3cef99", "score": "0.54971075", "text": "public AutomationSlider getSliderByName(int index) {\n return new AutomationSlider(this.getControlByControlType(index, ControlType.Slider), this.automation);\n }", "title": "" } ]
65af2e8880dd53911dc076278997338d
/ Since the superclass is not abstract, this requires an explicit binding to the subclass config class else Guice will create a new instance of config
[ { "docid": "6138ef66a5734db7278cc6a04256ba62", "score": "0.5992532", "text": "@Override\n protected void configure() {\n bind(ThirdEyeConfiguration.class).to(ThirdEyeDashboardConfiguration.class);\n bind(ThirdEyeDashboardConfiguration.class).toInstance(config);\n bind(TimeSeriesLoader.class).to(DefaultTimeSeriesLoader.class);\n bind(MetricRegistry.class).toInstance(environment.metrics());\n\n /*\n * TODO spyne Refactor DAO_REGISTRY bindings\n *\n * These bindings added here are a temporary hack. The goal is to leverage the DataSourceModule\n * module directly to inject these classes. That way, all dependencies can be injected by Guice.\n * This will be done in subsequent phases of refactoring.\n */\n bind(ConfigManager.class).toInstance(DAO_REGISTRY.getConfigDAO());\n bind(EventManager.class).toInstance(DAO_REGISTRY.getEventDAO());\n bind(MergedAnomalyResultManager.class).toInstance(DAO_REGISTRY.getMergedAnomalyResultDAO());\n bind(DatasetConfigManager.class).toInstance(DAO_REGISTRY.getDatasetConfigDAO());\n bind(MetricConfigManager.class).toInstance(DAO_REGISTRY.getMetricConfigDAO());\n bind(DetectionConfigManager.class).toInstance(DAO_REGISTRY.getDetectionConfigManager());\n bind(RootcauseSessionManager.class).toInstance(DAO_REGISTRY.getRootcauseSessionDAO());\n bind(SessionManager.class).toInstance(DAO_REGISTRY.getSessionDAO());\n bind(DetectionAlertConfigManager.class)\n .toInstance(DAO_REGISTRY.getDetectionAlertConfigManager());\n bind(ApplicationManager.class).toInstance(DAO_REGISTRY.getApplicationDAO());\n bind(QueryCache.class).toInstance(ThirdEyeCacheRegistry.getInstance().getQueryCache());\n bind(TimeSeriesCache.class)\n .toInstance(ThirdEyeCacheRegistry.getInstance().getTimeSeriesCache());\n bind(RootCauseResource.class)\n .toProvider(new RootCauseResourceProvider(config))\n .in(Scopes.SINGLETON);\n }", "title": "" } ]
[ { "docid": "f8c1b80e443ae3f177288556b826c6f4", "score": "0.660099", "text": "@Override\n protected void configure() {\n bind(GenerationConfigSource.class).toInstance(generationConfigSource);\n\n // Bind providers - used to retrieve implementations based on user input\n bind(DecisionTreeWalker.class).toProvider(DecisionTreeWalkerProvider.class);\n bind(AbstractDataGeneratorMonitor.class).toProvider(MonitorProvider.class).in(Singleton.class);\n bind(CombinationStrategy.class).toProvider(CombinationStrategyProvider.class);\n bind(OptionPicker.class).toProvider(OptionPickerProvider.class);\n\n // bind config directly\n bind(DataGenerationType.class).toInstance(generationConfigSource.getGenerationType());\n bind(CombinationStrategyType.class).toInstance(generationConfigSource.getCombinationStrategyType());\n\n bind(Long.class)\n .annotatedWith(Names.named(\"config:maxRows\"))\n .toProvider(Providers.of(getMaxRows(generationConfigSource)));\n\n bind(MonitorType.class)\n .toInstance(generationConfigSource.getMonitorType());\n\n // Bind known implementations - no user input required\n bind(DataGeneratorMonitor.class).to(AbstractDataGeneratorMonitor.class);\n bind(DataGenerator.class).toProvider(DataGeneratorProvider.class);\n\n bind(JavaUtilRandomNumberGenerator.class)\n .toInstance(new JavaUtilRandomNumberGenerator(OffsetDateTime.now().getNano()));\n bind(int.class)\n .annotatedWith(Names.named(\"config:internalRandomRowSpecStorage\"))\n .toInstance(256);\n }", "title": "" }, { "docid": "34cc10d16e33b6a297fc3619d6958895", "score": "0.6593943", "text": "@Override\n\tprotected void configure()\n\t{\n\t\t\n\t\tbind(SubServiceC.class)\n\t\t.annotatedWith(Ugly.class)\n\t\t.to(SubServiceCUglyImpl.class);\n\t\t\n\t\tbind(SubServiceC.class)\n\t\t.annotatedWith(Pretty.class)\n\t\t.to(SubServiceCPrettyImpl.class);\n\t\t\n\t\tbind(SubServiceB.class)\n\t\t.annotatedWith(Ugly.class)\n\t\t.to(SubServiceBUglyImpl.class);\n\t\t\n\t\tbind(SubServiceB.class)\n\t\t.annotatedWith(Pretty.class)\n\t\t.to(SubServiceBPrettyImpl.class);\n\t\t\n\t\t\n\t}", "title": "" }, { "docid": "ae7762e78b3c5e7ea8226d3a38ff5e9f", "score": "0.65871215", "text": "private Config(){\n\t\tsuper();\n\t}", "title": "" }, { "docid": "04bf32a4e866067754d5cda3e10adf44", "score": "0.63641137", "text": "@Override\n protected void configure() {\n\n bind(DefaultTransportClientFactory.class).to(TransportClientFactory.class);\n bind(EnvElasticSearchConfigurator.class).to(ElasticSearchConfigurator.class);\n bind(DefaultElasticSearchService.class).to(InternalElasticSearchService.class).to(ElasticSearchService.class).in(Singleton.class);\n bind(DefaultElasticSearchAdminService.class).to(InternalElasticSearchAdminService.class).to(ElasticSearchAdminService.class).in(Singleton.class);\n\n }", "title": "" }, { "docid": "cee2ff13925018ea9a5f910912d5dda2", "score": "0.63397366", "text": "@Override\n protected void configure()\n {\n bind(CustomerResource.class).in(Singleton.class);\n bind(CategoryResource.class).in(Singleton.class);\n bind(TaxDetailsResource.class).in(Singleton.class);\n bind(ProductResource.class).in(Singleton.class);\n bind(CartResource.class).in(Singleton.class);\n bind(OrderResource.class).in(Singleton.class);\n\n //Binding other singleton classes needed\n bind(HibernateUtil.class).in(Singleton.class);\n }", "title": "" }, { "docid": "ed64b298e3757bbea7aa0cceb29d46c7", "score": "0.6323358", "text": "@Override\r\n public void configure() {\n }", "title": "" }, { "docid": "d3cb7c961771b593046c21e68cd9a399", "score": "0.62797123", "text": "@Override\n protected void configure() {\n }", "title": "" }, { "docid": "80804dded757aa3966d7dd303de71c02", "score": "0.6262424", "text": "@Override\n\tprotected void configure() {\n\t}", "title": "" }, { "docid": "80804dded757aa3966d7dd303de71c02", "score": "0.6262424", "text": "@Override\n\tprotected void configure() {\n\t}", "title": "" }, { "docid": "96c5ab5c3a57d9665c40420c172cf26f", "score": "0.62261564", "text": "@Override\n\tprotected void configure() {\n\n\t}", "title": "" }, { "docid": "52b8ce8c349f7b86a56041a992182940", "score": "0.6174929", "text": "public BaseConfig(BaseConfig parent) {\n\t\tcopy(parent);\n\t\tbaseRate = parent.baseRate;\n\t\tbiomeMultipliers = new HashMap<Biome, Double>(parent.biomeMultipliers);\n\t}", "title": "" }, { "docid": "24f075a08beb563bdf0f22c87666ee2b", "score": "0.61709553", "text": "public AutoPilotSubclass() throws ConfigurationException {\n super();\n }", "title": "" }, { "docid": "adbe44432549fabeec435bb9374cd73a", "score": "0.61677235", "text": "protected void configure() {\n\t}", "title": "" }, { "docid": "7c44176a6a4384c014deb0b7b6de1dbe", "score": "0.6135802", "text": "protected void configure() {\n \t}", "title": "" }, { "docid": "74fd2e990014a8c7673189a367d86bec", "score": "0.61215353", "text": "@Override\n\tprotected void config() {\n\n\t}", "title": "" }, { "docid": "10e76bb0fb27cec22cf0ef0b2b43e235", "score": "0.61134857", "text": "@Override\n protected void configure()\n {\n bind( GuiceImmutablePhrasesBuilder.class ).toInstance( phraseBuilder );\n injectBinding();\n }", "title": "" }, { "docid": "6c3fe80f41b9cd5443e483c07ec097df", "score": "0.6080497", "text": "@Override\n protected void configure() {\n install(new GuiceZooKeeperBinder());\n\n // Promise bindings\n bind(WhenConfiguratorHelper.class).to(DefaultWhenConfiguratorHelper.class).in(Singleton.class);\n bind(WhenZooKeeperClient.class).to(DefaultWhenZooKeeperClient.class).in(Singleton.class);\n\n }", "title": "" }, { "docid": "577df53fb1de73db917b08081cd2a315", "score": "0.6070247", "text": "@Override\n public void configure(Binder binder) {\n }", "title": "" }, { "docid": "e0f215d7ff3dcd6fa908653aab3e679e", "score": "0.6066196", "text": "public configClass(){\n \tload();\n }", "title": "" }, { "docid": "61934645156964fa4ab765743f1e6f99", "score": "0.6052308", "text": "@Override\n protected void configure() {\n }", "title": "" }, { "docid": "6a08e5250b0680ce5b38d32d13f43838", "score": "0.59910285", "text": "@Override\n\tprotected void configure() {\n\t\tbind(TransactionLog.class).to(DatabaseTransactionLog.class);\n//\t\tbind(DatabaseTransactionLog.class).to(MySqlDatabaseTransactionLog.class);\n\t\t/*\n\t\t * Similarly, this binding tells Guice that when CreditCardProcessor is\n\t\t * used in a dependency, that should be satisfied with a\n\t\t * PaypalCreditCardProcessor.\n\t\t */\n\t\tbind(CreditCardProcessor.class).to(PaypalCreditCardProcessor.class);\n\t}", "title": "" }, { "docid": "7f86401cf17e4f730df056c1f49f697a", "score": "0.59905714", "text": "public void configure()\n\t{\n\t\t\n\t}", "title": "" }, { "docid": "1a75b27de9651187d203542a865bc48b", "score": "0.59656817", "text": "@Override\n\tpublic void config() {\n\t}", "title": "" }, { "docid": "a482ae5ff43cd08e56315daaa7e4c2d5", "score": "0.59075975", "text": "protected AbstractFeignConfigurationBuilder(Class<B> self) {\n this.self = self.cast(this);\n }", "title": "" }, { "docid": "715d582fb2b3e6b21eb3561fd78f94dd", "score": "0.58912754", "text": "public PoolConfig() {\n super();\n }", "title": "" }, { "docid": "6511412f687d14d366ae769b691c52af", "score": "0.58862936", "text": "public Petrinet2ConfigurationFactoryImpl() {\n\t\tsuper();\n\t}", "title": "" }, { "docid": "0e3350d337f3309676eaf4e81ed776ea", "score": "0.5877535", "text": "@Override\n\tprotected void configure() {\n\t\tbind(TransactionLog.class).to(DatabaseTransactionLog.class);\n\n\t\t/*\n\t\t * Similarly, this binding tells Salta that when CreditCardProcessor is used in\n\t\t * a dependency, that should be satisfied with a PaypalCreditCardProcessor.\n\t\t */\n\t\tbind(CreditCardProcessor.class).annotatedWith(PayPal.class).to(PaypalCreditCardProcessor.class);\n\t}", "title": "" }, { "docid": "f592908fc279f155eb52fcae17cb2842", "score": "0.58674514", "text": "@Override\r\n\tprotected void configure() {\n\r\n\t bind(ReachtodayView.class).to(ReachtodayTabletView.class).in(Singleton.class);\r\n\t bind(ReachtodayActivity.class);\r\n\r\n\r\n\t}", "title": "" }, { "docid": "c9304760eeb74fe3565d15b167fdba1f", "score": "0.5831663", "text": "protected void configure() {\n\tbind(HelloGuiceService.class).to(HelloGuiceServiceImpl.class);\n }", "title": "" }, { "docid": "abca51bcd4d8f8292a129d42e8f6a5fb", "score": "0.5815034", "text": "@Override\n public void configure() {\n install(new FactoryModuleBuilder()\n .implement(IEntityTracker.class, NMSEntityTracker.class)\n .build(IEntityTracker.Factory.class)\n );\n\n bind(IEntityPacketManipulator.class).to(EntityPacketManipulator.class);\n bind(EntityTrackingManager.class).to(NoUpdateEntityTrackingManager.class);\n\n }", "title": "" }, { "docid": "02d21f64e915ee698a33da25a776412e", "score": "0.5798337", "text": "AbstractionConfiguration createAbstractionConfiguration();", "title": "" }, { "docid": "017aa0579782d2208c15e9a5268029f7", "score": "0.57711977", "text": "public BaseConfig(BaseConfig parent, ConfigurationSection config, HashMap<String, List<Biome>> biomeAliases) {\n\t\tcopy(parent);\n\t\tif (config.isSet(\"base_rate\"))\n\t\t\tbaseRate = config.getDouble(\"base_rate\");\n\t\tif (config.isSet(\"biomes\"))\n\t\t\tloadBiomes(config.getConfigurationSection(\"biomes\"), biomeAliases);\n\t}", "title": "" }, { "docid": "a62c7c18ddd1ff2ed1220d2015053aaf", "score": "0.5767904", "text": "@Override\n protected void configure() {\n // Entity manager\n this.bind(EntityManager.class).toInstance(this.entityManager);\n \n // Service implementations\n this.bind(ActivityService.class).to(ActivityServiceDb.class).in(Scopes.SINGLETON);\n this.bind(AppDataService.class).to(AppDataServiceDb.class).in(Scopes.SINGLETON);\n this.bind(PersonService.class).to(PersonServiceDb.class).in(Scopes.SINGLETON);\n \n // Entities\n this.bind(Activity.class).to(ActivityDb.class);\n this.bind(Account.class).to(AccountDb.class);\n this.bind(Address.class).to(AddressDb.class);\n this.bind(BodyType.class).to(BodyTypeDb.class);\n this.bind(ListField.class).to(ListFieldDb.class);\n this.bind(MediaItem.class).to(MediaItemDb.class);\n this.bind(Message.class).to(MessageDb.class);\n this.bind(Name.class).to(NameDb.class);\n this.bind(Organization.class).to(OrganizationDb.class);\n this.bind(Person.class).to(PersonDb.class);\n this.bind(Url.class).to(UrlDb.class);\n this.bind(ContainerConf.class).to(JsonContainerConf.class);\n \n }", "title": "" }, { "docid": "afcec588c27c03f38cdd1790995fad0e", "score": "0.57597035", "text": "@Override\n public void configure(Map<String, ?> configs) {\n }", "title": "" }, { "docid": "b2ddd469bd96c4f29bfd722ea28d9ebd", "score": "0.5745388", "text": "protected abstract Class<CFG> getConfigClass();", "title": "" }, { "docid": "5b1152af08ecd80e376dd3b6055898c5", "score": "0.5737619", "text": "Config(String name) {\n this.name = name;\n }", "title": "" }, { "docid": "2a08e19b5ec039920243213345697836", "score": "0.57352006", "text": "public interface SparrowNotifierConfig\r\n extends SparrowConfig {\r\n public abstract String getClassName();\r\n\r\n public abstract String getType();\r\n}", "title": "" }, { "docid": "60fc07250561d835bc06dd229c9bdb11", "score": "0.57319105", "text": "@Override\r\n\tprotected void configure() {\n\t\tbind(FileUtilService.class).to(MD5UtilService.class);\r\n\t}", "title": "" }, { "docid": "4ca2970cf492bc3028d3beaad50a5309", "score": "0.5730212", "text": "@Override\n protected void configure() {\n bindService(RxcStreamService.class, RxcStreamServiceImpl.class);\n // Bind the RxcService client\n bindClient(RxcService.class);\n // Bind the subscriber eagerly to ensure it starts up\n bind(RxcStreamSubscriber.class).asEagerSingleton();\n }", "title": "" }, { "docid": "381ca20a4c580afe67db4b38047875e3", "score": "0.56990725", "text": "@Override\n public void configure(Binder binder)\n {\n binder.bind(Animal.class).to(Key.get(Animal.class, Tigerr.class));\n\n binder.bind(Liquid.class).to(Water.class);\n }", "title": "" }, { "docid": "ff156576209e345526cb8f8654cfec1e", "score": "0.56875443", "text": "public interface GlobalConfig {\n}", "title": "" }, { "docid": "d33e830a349f70399cb3edb41f6c0c90", "score": "0.5680853", "text": "TwitterFactoryBase(Configuration conf) {\n this.conf = conf;\n }", "title": "" }, { "docid": "e7e5ed692a67a21c4f7778a9d527f9d3", "score": "0.5664676", "text": "public BaseConfiguration()\n {\n try {\n prop=new Properties();\n FileInputStream ip = new FileInputStream(\"./src/main/resources/config.properties\");\n prop.load(ip);\n }catch (FileNotFoundException e) {\n e.printStackTrace();\n }catch (IOException e) {\n e.printStackTrace();\n }\n }", "title": "" }, { "docid": "d74923e44f98dc3dd9e135be262d3307", "score": "0.56578124", "text": "@Override\n protected void configure() {\n bind(ZdDatabase.class).toInstance(ZdDatabase.initialize());\n bind(ZdOrganizationSearch.class).toInstance(new ZdOrganizationSearch());\n bind(ZdUserSearch.class).toInstance(new ZdUserSearch());\n bind(ZdTicketSearch.class).toInstance(new ZdTicketSearch());\n bind(DisplayOrganizationResults.class).toInstance(new DisplayOrganizationResults());\n bind(DisplayTicketResults.class).toInstance(new DisplayTicketResults());\n bind(DisplayUserResults.class).toInstance(new DisplayUserResults());\n bind(SearchFactory.class).toInstance(new SearchFactory());\n bind(DisplayFactory.class).toInstance(new DisplayFactory());\n }", "title": "" }, { "docid": "d37fb470438414540f4a401ec929af35", "score": "0.5648713", "text": "@Override\n protected void configure() {\n bindService(YoutubeStreamService.class, YoutubeStreamServiceImpl.class);\n // Bind the YoutubeService client\n bindClient(YoutubeService.class);\n // Bind the subscriber eagerly to ensure it starts up\n bind(YoutubeStreamSubscriber.class).asEagerSingleton();\n }", "title": "" }, { "docid": "8170018b7ab3c94a0e3fea7a08462dca", "score": "0.5644463", "text": "@Override\n public void refreshConfiguration(BoundedBean inputBean){\n super.refreshConfiguration(inputBean);\n }", "title": "" }, { "docid": "f1dca37e65f9e34abf05fbf18db83e10", "score": "0.5639468", "text": "public abstract void initialConfiguration();", "title": "" }, { "docid": "03b13965148d595c679b6461ac7318c9", "score": "0.56237864", "text": "public interface ConfigSource {\n\n}", "title": "" }, { "docid": "3b53563a299f41895be5a96dd2ae3acc", "score": "0.56217086", "text": "@Override\n\tpublic void configure(Map arg0, boolean arg1) {\n\t\t\n\t}", "title": "" }, { "docid": "524b5e7e196290a4ffd6695b68031ff1", "score": "0.56104326", "text": "public BaseConfig() {\n\t\tbaseRate = 1.0;\n\t\tbiomeMultipliers = new HashMap<Biome, Double>();\n\t}", "title": "" }, { "docid": "165e501ddd461513e79712fec40f39d9", "score": "0.55936515", "text": "public static AbstractBinder binderForResourceConfig() {\n\t\treturn new AbstractBinder() {\n\t\t\t@Override\n\t\t\tprotected void configure() {\n\t\t\t\tbindFactory(MockECRequestContextHandlerFactory.class)\n\t\t\t\t\t\t.to(ERXECRequestContextHandler.class)\n\t\t\t\t\t\t.in(Singleton.class)\n\t\t\t\t\t\t.ranked(100);\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "738ef51183e799add7ca0747e06bbeef", "score": "0.5588955", "text": "protected TwitterFactoryBase(String configTreePath) {\n this.conf = ConfigurationContext.getInstance(configTreePath);\n }", "title": "" }, { "docid": "ed4d85517540649262f08e90d1b2920c", "score": "0.557443", "text": "@Override\r\n\tpublic void configure() {\n\t\tbind().in(MyAPP.class).id(\"myAPP\").scope(Scope.SINGLETON);\r\n\t}", "title": "" }, { "docid": "9369d58afe3df78f6fe0d99d50a5bdb1", "score": "0.55703366", "text": "private void configureAbstractPlace() {\n typeEngine = new TypeEngine(configG);\n NON_PROPAGATING_METADATA_VALS = configG.findEntriesAsSet(\"NON_PROPAGATING_METADATA\");\n }", "title": "" }, { "docid": "a8c81c7017f0358e0cb78e180ba70e9d", "score": "0.55554086", "text": "@Override\n\tpublic void configure(ConfigParams config) throws ConfigException{\n\t\t_persister.configure(config);\n\t}", "title": "" }, { "docid": "aa35bad108d281c1cb6c4639c246f825", "score": "0.55301934", "text": "@Override\r\n\tpublic void configure() throws Exception {\n\t}", "title": "" }, { "docid": "a4b87be9ab5f82e3947a8c0ea8b13cd8", "score": "0.5508694", "text": "public EnvironmentConfig() {\n super();\n }", "title": "" }, { "docid": "73036ba6bafc9051734b4a94d62c7fd6", "score": "0.54725194", "text": "public FESConfiguration() {\n super(FES.getInstance());\n \n addDependency(new OWSConfiguration());\n addDependency(new GMLConfiguration());\n }", "title": "" }, { "docid": "227a097ef88c41d8d0471e6e6272d323", "score": "0.5437119", "text": "@Override\n public Config config() {\n return config;\n }", "title": "" }, { "docid": "edc00947e01863abc1f77ac7e4b9a5c3", "score": "0.54324883", "text": "@Override\r\n public void onConfigurationChanged(Configuration newConfig){\r\n super.onConfigurationChanged(newConfig);\r\n }", "title": "" }, { "docid": "6afc971279a6a59593da7acce02e1bae", "score": "0.5427377", "text": "@Override\n public void configure(@Nonnull AbstractConfigNode node) throws ConfigurationException {\n super.configure(node);\n try {\n requestUrl = URLDecoder.decode(requestUrl, GlobalConstants.defaultCharset().name());\n if (node instanceof ConfigPathNode) {\n if (((ConfigPathNode) node).parmeters() != null) {\n ConfigParametersNode params = ((ConfigPathNode) node).parmeters();\n if (!params.getKeyValues().isEmpty()) {\n Map<String, String> values = new HashMap<>();\n for (String key : params.getKeyValues().keySet()) {\n ConfigValueNode vn = params.getValue(key);\n values.put(key, vn.getValue());\n }\n if (!values.isEmpty()) {\n requestUrl = UrlUtils.replaceParams(requestUrl, values);\n }\n }\n }\n }\n LogUtils.debug(getClass(), String.format(\"Request URL [%s]\", requestUrl));\n if (responseHandlerClass != null) {\n responseHandler = responseHandlerClass.newInstance();\n responseHandler.configure(node);\n }\n if (requestBuilderClass != null) {\n requestBuilder = requestBuilderClass.newInstance();\n }\n } catch (Exception ex) {\n throw new ConfigurationException(ex);\n }\n }", "title": "" }, { "docid": "44083372de29e7294eb0ee0c84e77614", "score": "0.54187834", "text": "public static AbstractBinder binderForResourceConfig() {\n\t\treturn new AbstractBinder() {\n\t\t\t@Override\n\t\t\tprotected void configure() {\n\t\t\t\tbindFactory(ERXECFactory.class).to(ERXEC.class).in(RequestScoped.class);\n\t\t\t}\n\t\t};\n\t}", "title": "" }, { "docid": "720f1814175eb2d9b95ebf1bea2544ea", "score": "0.5418448", "text": "ExtendConfiguration createExtendConfiguration();", "title": "" }, { "docid": "a70c3c98fbd41bfc31234696564faed5", "score": "0.54175323", "text": "@Override\n public void onConfigurationChanged(Configuration newConfig) {\n super.onConfigurationChanged(newConfig);\n }", "title": "" }, { "docid": "1167a60ff5910e8d56c27bf27196cc8d", "score": "0.5413753", "text": "@Override\n \tpublic void onConfigurationChanged(Configuration newConfig)\n \t{\n \t\tsuper.onConfigurationChanged(newConfig);\n \t}", "title": "" }, { "docid": "3d08357804a6ed37c01107c4fb87b65b", "score": "0.54119307", "text": "UBOCutConfig() { super(1); }", "title": "" }, { "docid": "3705ad01453d9caba714a6d887c07ad8", "score": "0.5406033", "text": "@Override\n protected ResourceConfig configure() {\n OpenSilex.setup(new HashMap<String, String>() {\n {\n put(OpenSilex.PROFILE_ID_ARG_KEY, OpenSilex.TEST_PROFILE_ID);\n }\n });\n\n ResourceConfig resourceConfig = new RestApplication(OpenSilex.getInstance());\n\n // create a mock for HttpServletRequest which is not available with grizzly\n final HttpServletRequest request = Mockito.mock(HttpServletRequest.class);\n resourceConfig.register(new AbstractBinder() {\n @Override\n protected void configure() {\n bind(request).to(HttpServletRequest.class);\n }\n });\n\n return resourceConfig;\n }", "title": "" }, { "docid": "db0a4679367ff00a638d444d27d15d6a", "score": "0.53977036", "text": "@Override\n\tpublic void configure() throws ConfigurationException {\n\t\tsuper.configure();\n\t\tappConstants = AppConstants.getInstance(getConfigurationClassLoader());\n\t\tif (StringUtils.isNotEmpty(getFilename()) && !isLookupAtRuntime()) {\n\t\t\tURL resource = null;\n\t\t\ttry {\n\t\t\t\tresource = ClassUtils.getResourceURL(this, getFilename());\n\t\t\t} catch (Throwable e) {\n\t\t\t\tthrow new ConfigurationException(\"got exception searching for [\"+getFilename()+\"]\", e);\n\t\t\t}\n\t\t\tif (resource==null) {\n\t\t\t\tthrow new ConfigurationException(\"cannot find resource [\"+getFilename()+\"]\");\n\t\t\t}\n try {\n\t\t\t\treturnString = Misc.resourceToString(resource, Misc.LINE_SEPARATOR);\n } catch (Throwable e) {\n throw new ConfigurationException(\"got exception loading [\"+getFilename()+\"]\", e);\n }\n }\n if ((StringUtils.isEmpty(getFilename())) && (StringUtils.isEmpty(getFilenameSessionKey())) && returnString==null) { // allow an empty returnString to be specified\n throw new ConfigurationException(\"has neither filename nor filenameSessionKey nor returnString specified\");\n }\n\t\tif (StringUtils.isNotEmpty(replaceFrom)) {\n\t\t\treturnString = replace(returnString, replaceFrom, replaceTo );\n\t\t}\n }", "title": "" }, { "docid": "3f3775eecfbcfa3c355037a9fd205442", "score": "0.5396573", "text": "@Override\n\tpublic void setConf(Configuration arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "d55508d349939b91dd26cc3f54b61e63", "score": "0.53951204", "text": "public interface Configuration {\r\n\t\r\n\t/**\r\n\t * Should return the value configured for key \"string.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"string.value\")\r\n\tString getStringValue();\r\n\r\n\t/**\r\n\t * Should return the value configured for key \"integer.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"integer.value\")\r\n\tInteger getIntegerValue();\r\n\r\n\t/**\r\n\t * Should return the value configured for key \"boolean.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"boolean.value\")\r\n\tBoolean getBooleanValue();\r\n\r\n\t/**\r\n\t * Should return the value configured for key \"float.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"float.value\")\r\n\tFloat getFloatValue();\r\n\t\r\n\t/**\r\n\t * Should return the value configured for key \"long.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"long.value\")\r\n\tLong getLongValue();\r\n\t\r\n\t/**\r\n\t * Should return the value configured for key \"p.int.value\"\r\n\t * @return\r\n\t */\r\n\t@Bind(\"p.int.value\")\r\n\tint getIntValue();\r\n\t\r\n}", "title": "" }, { "docid": "64bb55b5597987566ecd418a8c81afe1", "score": "0.53923184", "text": "private CloneConfig() {\n }", "title": "" }, { "docid": "e88334810215840b929eaa44a9f296b1", "score": "0.5384285", "text": "@Override public void onConfigurationChanged(Configuration newConfig) {\n\n super.onConfigurationChanged(newConfig);\n }", "title": "" }, { "docid": "ecf321e2bdf9900551f3614dc8abdfa2", "score": "0.53803205", "text": "@Override\r\n\tpublic void configuration() {\n\r\n\t}", "title": "" }, { "docid": "16a49d75bb9e8bfefa1b4b8ba15d9fff", "score": "0.5367917", "text": "protected void configure() {\n bindConstant().annotatedWith(JpaUnit.class).to(\"testUnit\");\r\n }", "title": "" }, { "docid": "c5b1a0caa4ccb2c8115705f71ac27015", "score": "0.5361695", "text": "@Override\n\t\tpublic void configure(Binder binder) {\n\t\t\t\n\t\t\tbinder.bind(RemoteService.class).toInstance(mockRemote); //see above comment on the field mockRemote\n\t\t}", "title": "" }, { "docid": "97bbc38833ab6d58b6a0a6cebe20d222", "score": "0.5359885", "text": "@Override\n\t\tpublic void configure(Binder binder) {\n\t\t\tbinder.bind(IFoodService.class).to(PizzaService.class);\n\t\t}", "title": "" }, { "docid": "d098334a2e99fecb7de25053e462b6ae", "score": "0.5323433", "text": "public Config() {}", "title": "" }, { "docid": "025f2ecfc07163eb41b8ddf72c48139f", "score": "0.5323332", "text": "public void configure(Binder binder)\n {\n binder.bind(Add.class).to(SimpleAdd.class);\n }", "title": "" }, { "docid": "f74df7fd65117921dcd42e66156239de", "score": "0.5320623", "text": "@Override\n public void onConfigurationChanged(final Configuration newConfig) {\n super.onConfigurationChanged(newConfig);\n }", "title": "" }, { "docid": "e8c28471b2672a8a53f1328c01940a45", "score": "0.5315308", "text": "@Override\n protected void configure() {\n IntrospectingBinder introspectingBinder =\n IntrospectingBinder.newIntrospectingBinder(binder());\n introspectingBinder.bindIntrospectively(\n IntrospectionTarget.class,\n TestScoped.class,\n OUT_OF_SCOPE_PROVIDER);\n\n bindScope(TestScoped.class, testScope);\n }", "title": "" }, { "docid": "fe3049b42ead386a2140d5bb60f1a526", "score": "0.5315272", "text": "public void configure(AppRegistry registry) throws ConfigurationException;", "title": "" }, { "docid": "e60119e6f3baec253a2d27641e40e32e", "score": "0.52992576", "text": "@Override\r\n\tprotected void configure() {\n\t\tbind(MessageService.class).to(EmailService.class);\r\n\t\t\r\n\t\tbind(MessageService.class).annotatedWith(Names.named(\"smsService\"))\r\n\t\t .to(SMSService.class);\r\n\t}", "title": "" }, { "docid": "02302533fe9c347fe380b9f55f774d65", "score": "0.52814376", "text": "@Override\r\n\tpublic void configure(Binder arg0) {\n\t\targ0.bind(Hello.class).annotatedWith(Names.named(\"impl1\")).to(HelloImpl1111.class);\r\n\t\targ0.bind(Hello.class).annotatedWith(Names.named(\"impl2\")).to(HelloImpl2222.class);\r\n\t}", "title": "" }, { "docid": "c74632e97255937a6dc68e5e65276333", "score": "0.5265644", "text": "public interface ConfigService {\n\n Config getConfig();\n\n}", "title": "" }, { "docid": "0b73ba5fe678f5b4027b4ef7b38bbd0a", "score": "0.52645445", "text": "private ConfigManager35(){\n\n }", "title": "" }, { "docid": "9dd2fa24502de56178916e2850ac5fae", "score": "0.5260456", "text": "public interface Configured {\n\n public void configure(Configuration cfg) throws ConfigurationException;\n\n}", "title": "" }, { "docid": "2fe98a56c53346987b8dcd1ca0121d5e", "score": "0.5259128", "text": "@Override\n\tpublic void onConfigurationChanged(Configuration newConfig) {\n\t\tsuper.onConfigurationChanged(newConfig);\n\t}", "title": "" }, { "docid": "2fe98a56c53346987b8dcd1ca0121d5e", "score": "0.5259128", "text": "@Override\n\tpublic void onConfigurationChanged(Configuration newConfig) {\n\t\tsuper.onConfigurationChanged(newConfig);\n\t}", "title": "" }, { "docid": "2fe98a56c53346987b8dcd1ca0121d5e", "score": "0.5259128", "text": "@Override\n\tpublic void onConfigurationChanged(Configuration newConfig) {\n\t\tsuper.onConfigurationChanged(newConfig);\n\t}", "title": "" }, { "docid": "8a3fbdbfe0f61cb0302c8427b8a9cb5e", "score": "0.5253836", "text": "public void configure(Map parameters);", "title": "" }, { "docid": "61182a18333c5b4e21a0d65bc9d77d69", "score": "0.5251441", "text": "protected void configure(final JsonObject config) {\n\n }", "title": "" }, { "docid": "585a777472655f19f0552332e9de5ef3", "score": "0.5250147", "text": "@Override\n\tpublic void configure(Map<String, String> arg0) {\n\n\t}", "title": "" }, { "docid": "e9d9b7fc649eec22e942a35bc4dd2722", "score": "0.52480024", "text": "private void configureDagger(){\n AndroidSupportInjection.inject(this);\n }", "title": "" }, { "docid": "6756c481f876139c434648b0ad0416b8", "score": "0.5244296", "text": "public INIConfiguration()\n {\n super();\n }", "title": "" }, { "docid": "f50e0400a429ef870c54b6f1f984bfc7", "score": "0.5244054", "text": "@SuppressWarnings(\"unchecked\")\r\n\tpublic static <T extends Configurable> T createProxy(Class<T> targetClass,\r\n\t\t\tClass<?>[] argsType, Object[] args) {\r\n\r\n\t\tEnhancer enhancer = new Enhancer();\r\n\t\tenhancer.setSuperclass(targetClass);\r\n\t\tenhancer.setInterfaces(new Class[] { ConfigModule.class });\r\n\t\t// Kiểm tra interface cài đặt\r\n\t\tSet<Class<?>> interfaceList = ReflectUtils.getAllInterfaces(\r\n\t\t\t\ttargetClass, true);\r\n\t\tif (AbstractConfig.class.isAssignableFrom(targetClass)) {\r\n\t\t\tinterfaceList.remove(SystemConfig.class);\r\n\t\t}\r\n\t\tHashMap<String, Object> optionsList = new HashMap<String, Object>();\r\n\t\tHashMap<Class<?>, Object> configObjList = new HashMap<Class<?>, Object>();\r\n\t\tfor (Class<?> interfaze : interfaceList) {\r\n\t\t\tif (JGentle.containsConfigClass(interfaze)) {\r\n\t\t\t\tClass<?> clazz = JGentle.getConfigClass(interfaze);\r\n\t\t\t\tObject obj = null;\r\n\t\t\t\tobj = ReflectUtils.createInstance(clazz);\r\n\t\t\t\t// Nếu config class extends từ AbstractConfigModule\r\n\t\t\t\tif (AbstractConfigModule.class.isAssignableFrom(clazz)) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t((AbstractConfigModule) obj).setOptionsList(\r\n\t\t\t\t\t\t\t\toptionsList, ReflectUtils.getSupportedMethod(\r\n\t\t\t\t\t\t\t\t\t\ttargetClass, \"configure\", null));\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch (NoSuchMethodException e) {\r\n\t\t\t\t\t\tif (log.isFatalEnabled()) {\r\n\t\t\t\t\t\t\tlog.fatal(\r\n\t\t\t\t\t\t\t\t\t\"Could not found 'configure' method on configurable class [\"\r\n\t\t\t\t\t\t\t\t\t\t\t+ targetClass + \"]\", e);\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\tconfigObjList.put(interfaze, obj);\r\n\t\t\t}\r\n\t\t}\r\n\t\tenhancer.setCallback(new ConfigurationProxy(targetClass, optionsList,\r\n\t\t\t\tconfigObjList));\r\n\t\tObject result = null;\r\n\t\tif (argsType != null && args != null) {\r\n\t\t\tresult = enhancer.create(argsType, args);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tresult = enhancer.create();\r\n\t\t}\r\n\t\t// thiết lập optionsList trong trường hợp targetClass kế thừa từ\r\n\t\t// AbstractConfig\r\n\t\tif (AbstractConfig.class.isAssignableFrom(targetClass)) {\r\n\t\t\ttry {\r\n\t\t\t\t((AbstractConfig) result).setOptionsList(optionsList,\r\n\t\t\t\t\t\tReflectUtils.getSupportedMethod(targetClass,\r\n\t\t\t\t\t\t\t\t\"configure\", null));\r\n\t\t\t}\r\n\t\t\tcatch (NoSuchMethodException e) {\r\n\t\t\t\tif (log.isFatalEnabled()) {\r\n\t\t\t\t\tlog.fatal(\r\n\t\t\t\t\t\t\t\"Could not found 'configure' method on configurable class [\"\r\n\t\t\t\t\t\t\t\t\t+ targetClass + \"]\", e);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn (T) result;\r\n\t}", "title": "" }, { "docid": "5cc8ee057a619ff4b5ba770f6f0c94c9", "score": "0.522917", "text": "public void configure() throws Exception;", "title": "" }, { "docid": "bafd921916c1c91fe535bb408e761c36", "score": "0.5225257", "text": "public interface ConfigInterface {\n\t\n\t/**\n\t * Restituisce una voce di configurazione. La voce è un elemento di testo\n\t * che può essere complesso (es. XML). I valori restituiti sono relativi\n\t * alla versione di configurazione con cui è stato avviato il sistema.\n\t * @param name Il codice della voce da restituire.\n\t * @return Il testo della voce di configurazione.\n\t */\n\tpublic String getConfigItem(String name);\n\t\n\t/**\n\t * Aggiorna una voce di configurazione. La voce è un elemento di testo\n\t * che può essere complesso (es. XML). \n\t * @param name Il codice della voceda aggiornare.\n\t * @param config Il testo della voce di configurazione da aggiornare.\n\t * @throws ApsSystemException In caso di errore nell'aggiornamento\n\t */\n\tpublic void updateConfigItem(String name, String config) throws ApsSystemException;\n\t\n\t/**\n\t * Restituisce un parametro di configurazione. \n\t * Un parametro è una stringa semplice.\n\t * @param name Il nome del parametro\n\t * @return Il valore del parametro\n\t */\n\tpublic String getParam(String name);\n\t\n}", "title": "" }, { "docid": "dab2b864348908c4ee22f87c34f78361", "score": "0.5217674", "text": "public interface Configurable {\n\tvoid setConf(Configuration conf);\n\tConfiguration getConf();\n}", "title": "" }, { "docid": "431f1c3aa84d0dd522fe66f097634189", "score": "0.52162796", "text": "public interface ConfigurationProvider {\n\n /** Get simulation settings. */\n Configuration getConfiguration();\n}", "title": "" }, { "docid": "07cc008ac808a81b10575e47058339a5", "score": "0.52140445", "text": "@SuppressWarnings(\"unchecked\")\n public <T extends Annotation> ConfigBean<T> getConfAnnotation(Class<T> baseVannitationClass, String annotatedClassFQN, String annotationClassFQN) {\n String name = baseVannitationClass.getSimpleName();\n HashSet<String> val = supportedAnnotationTypes.get(VannitationType.valueOf(name));\n if (!val.contains(annotationClassFQN)) {\n logger.fine(\"Annotation [\" + annotatedClassFQN + \"] is not supported. We support: \" + val);\n return null;\n }\n KeyPair k = new KeyPair(annotatedClassFQN, annotationClassFQN);\n if (configAnnotations.containsKey(k)) {\n return configAnnotations.get(k);\n } else {\n Annotation[] annotationsOnTheClass = getAnnotationsFromFQN(annotatedClassFQN);\n for (Annotation a : annotationsOnTheClass) {\n if (a.annotationType().getName().equals(annotationClassFQN)) {\n ConfigBean<T> configBean = AnnotationConfigMerger.merge(baseVannitationClass, a);\n configAnnotations.put(k, configBean);\n return configBean;\n }\n }\n logger.fine(\"[\" + annotatedClassFQN + \"] appears not to be annotated with [\" + annotationClassFQN + \"] (hint: Have you set the retention policy of the annotation to RUNTIME ? @Retention(RetentionPolicy.RUNTIME))\");\n return null;\n }\n }", "title": "" } ]
8682b3f64df9756f53e2f8913e46fbc1
Return the number of elements currently in the queue.
[ { "docid": "3b931dd8c9b2d6a264414a47064a8ca0", "score": "0.0", "text": "public int size();", "title": "" } ]
[ { "docid": "9caf871036aedac15409b1d6943480fe", "score": "0.8363061", "text": "public int size() {\n return queue.size();\n }", "title": "" }, { "docid": "114824896030a049bbd1e1b3b8a75723", "score": "0.83550394", "text": "public int size() {\n\t\treturn queue.size();\n\t}", "title": "" }, { "docid": "02c40e5bbdae74df81b16aa3433e25fe", "score": "0.8312843", "text": "public int size(){\r\n\t\treturn queue.size();\r\n\t}", "title": "" }, { "docid": "3c3005a8e294d7bfb35804c8bb2b2b11", "score": "0.83027464", "text": "public int getCount() {\n return queue.size();\n }", "title": "" }, { "docid": "116ba2a3e8e12089b429616aa2cd8291", "score": "0.828576", "text": "public int size() {\n return this.queue.size();\n }", "title": "" }, { "docid": "8100034db1bdda3357669b8256891dd0", "score": "0.8266784", "text": "public int size() {\n return _queue.size();\n }", "title": "" }, { "docid": "f15dd853b54d8a2c3fbff241eaaa2830", "score": "0.79548216", "text": "public int queueSize() {\n\t\treturn queue.size();\t\n\t}", "title": "" }, { "docid": "bddec0fee9646422fd190096454daca5", "score": "0.78513473", "text": "public int size() \r\n {\r\n if(measurementQueue==null) return 0;\r\n \r\n return measurementQueue.size();\r\n }", "title": "" }, { "docid": "66d7bb77992868ba05e39369316227d6", "score": "0.78471047", "text": "public static int size() {\n System.out.println();\n System.out.println(\"The size of the queue is: \" + queue.size());\t \n return queue.size();\n }", "title": "" }, { "docid": "798245fbe2e0a77c03f9c4a7eedd6c81", "score": "0.7698604", "text": "int getQueueSize();", "title": "" }, { "docid": "7c7b7bae0522f72a1c9530ff6b78723f", "score": "0.7695969", "text": "public int size() {\n processQueue();\n return weakCache.size();\n }", "title": "" }, { "docid": "c066457416d74c699cf631321a224d4d", "score": "0.7694315", "text": "public int size() {\n\t\t//Because we're the only consumer, we know nothing will be removed while\n\t\t//we're computing the size, so we know there are at least (rear - front)\n\t\t//elements already added.\n\t\treturn (int)(rear.get() - front.get());\n\t}", "title": "" }, { "docid": "3fe4d89e5ddfcc434784a13c2a672131", "score": "0.76852775", "text": "public int inputQueueSize() {\n\t\tsynchronized (inputQueue) {\n\t\t\treturn inputQueue.size();\n\t\t}\n\t}", "title": "" }, { "docid": "443331b7a8e5d2982dc45784423a16ab", "score": "0.7684611", "text": "public int size()\n\t{\n\t\tif(isEmpty())\n\t\t\treturn 0;\n\t\tif(isFull())\n\t\t\treturn queueArray.length;\n\t\t\n\t\tint i=front;\n\t\tint sz=0;\n\t\tif(front<=rear)\n\t\t\twhile(i<=rear)\n\t\t\t{\n\t\t\t\tsz++;\n\t\t\t\ti++;\n\t\t\t}\n\t\telse\n\t\t{\n\t\t\twhile(i<=queueArray.length-1)\n\t\t\t{\n\t\t\t\tsz++;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\ti=0;\n\t\t\twhile(i<=rear)\n\t\t\t{\n\t\t\t\tsz++;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\treturn sz;\n\t}", "title": "" }, { "docid": "5a494e55b9510a270255e2df5b5931dd", "score": "0.7605173", "text": "int getNumEvents() {\n int cnt = eventCount;\n for (Entry entry : queue) {\n cnt += entry.eventCount;\n }\n return cnt;\n }", "title": "" }, { "docid": "972e98824f339d82bf8531bcb0b8369f", "score": "0.75597", "text": "public int getQueueSize() {\r\n\t\treturn this.queue.size();\r\n\t}", "title": "" }, { "docid": "02b1e7d734abaaae43d4c9d7b274affd", "score": "0.7555043", "text": "public long getQueueSize(){\n return queue.size();\n }", "title": "" }, { "docid": "8a06cd85dd7b72159993dca3a288f0d3", "score": "0.7550924", "text": "public int numVehiclesInQueue() {\r\n\t\treturn vehiclesInQueue.size();\r\n\t}", "title": "" }, { "docid": "0f1d6660c21db863df709cee6a847453", "score": "0.7453111", "text": "public int getRunnableCount() {\n return queue.size();\n }", "title": "" }, { "docid": "0c20129e415714ba99a771c626df5657", "score": "0.7425351", "text": "public abstract int getQueueLength();", "title": "" }, { "docid": "b11fead2b76df9469ec1d5e18232af01", "score": "0.74243677", "text": "public int size()\n\t{\n\t\treturn requestQueue != null ? requestQueue.size() : 0;\n\t}", "title": "" }, { "docid": "23f1d9e432c1e0035415aa3437b29c8e", "score": "0.7416424", "text": "public int size() {\r\n\t\treturn q.size();\r\n\t}", "title": "" }, { "docid": "e19528108c763b4811044bb57dc2451c", "score": "0.72666514", "text": "public int size() {\r\n if (NumItems > Integer.MAX_VALUE) {\r\n return Integer.MAX_VALUE;\r\n }\r\n return NumItems;\r\n }", "title": "" }, { "docid": "e660c611fcc13b6c227773f56bdac31c", "score": "0.72418004", "text": "public int queueArrayLength(){\n\t\treturn queueArray.length;\n\t}", "title": "" }, { "docid": "da9bd438223f081fb2ce7eeac36004f1", "score": "0.7230721", "text": "public synchronized int size() {\n return count;\n }", "title": "" }, { "docid": "0b2a81ab923b11105b1c90f03e78f898", "score": "0.7206644", "text": "public int size() {\n \t\n \tint i = 0;\n \t\n \twhile(this.front != null) {\n \t\ti = i+1;\n \t\tthis.front = this.front.next; \n \t}\n \t\n \treturn i;\n \t\n }", "title": "" }, { "docid": "ba91344250898ab984848317cccc1784", "score": "0.7199739", "text": "final int getQueueSize() {\n // suppress momentarily negative values\n return Math.max(0, sp - base);\n }", "title": "" }, { "docid": "a302460a5732d471b6a98383ffd16da4", "score": "0.7198489", "text": "public int size() {\n\t\t// DO NOT CHANGE THIS METHOD\n\t\treturn numElements;\n\t}", "title": "" }, { "docid": "9c18a200318bf90ab56c398b0dda630a", "score": "0.7178178", "text": "public int size() {\n\t\treturn this.elements.size();\n\t}", "title": "" }, { "docid": "84720fb66dd7e3c69aa154cfb0cf5ba3", "score": "0.71674484", "text": "public int getQueueSize() {\n return queue.getQueueSize();\n }", "title": "" }, { "docid": "01e055cbe8d3ea4758469f05512890e8", "score": "0.71348286", "text": "public int size() {\n\t\treturn elements.size();\n\t}", "title": "" }, { "docid": "ff174edc1c328647d2bd8b5c15fe4b1f", "score": "0.7131808", "text": "Long getNumberOfElement();", "title": "" }, { "docid": "a09b850ad1027fdd41ede9e78bb86e8f", "score": "0.71224356", "text": "public int size() {\r\n\t\treturn elements.size();\r\n\t}", "title": "" }, { "docid": "2b12a79aa9214945e8bd74182e996d22", "score": "0.710011", "text": "public int size() {\n return numOfElements;\n }", "title": "" }, { "docid": "268c6bcd285e9ac0bcf52c916e9ee2e3", "score": "0.70930123", "text": "public int size() {\n\n return elements.size();\n }", "title": "" }, { "docid": "201bc462947333747f0958c0a7e399c9", "score": "0.7092319", "text": "public int getNumQueues() {\n return queues.size();\n }", "title": "" }, { "docid": "e1f7e94f9a53bc7528a6d455c214f117", "score": "0.7087996", "text": "public int size() \r\n\t{\r\n\t\treturn getCounter();\r\n\t}", "title": "" }, { "docid": "4985f41dac659d6c48a20475dad9532a", "score": "0.7084904", "text": "public int size(){\n\t\tListUtilities start = this.returnToStart();\n\t\tint count = 1;\n\t\twhile(start.nextNum != null){\n\t\t\tcount++;\n\t\t\tstart = start.nextNum;\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "275d2e0a364739b10945e181db277a06", "score": "0.70772254", "text": "public final int size() {\n int size = 0;\n final Iterator iterator = this.iterator();\n while (iterator.hasNext()) {\n size++;\n iterator.next();\n }\n return size;\n }", "title": "" }, { "docid": "b12217bb645196ca6b2a39b86d2751a6", "score": "0.7061176", "text": "public int queueSize() {\n return executor.getQueue().size();\n }", "title": "" }, { "docid": "e2b2f1da3d068af1331657624fdb946a", "score": "0.7060402", "text": "public int getSize() {\n\t\treturn numElements;\n\t}", "title": "" }, { "docid": "028a4b3c72b9f098f858a93dbe90a5eb", "score": "0.70569503", "text": "public int size() {\n return elements.size();\n }", "title": "" }, { "docid": "c8399ae0111642731b36ab681634a627", "score": "0.70562583", "text": "public int size() {\r\n int temp = 0;\r\n for (int i = 0; i < elem.length; i++) {\r\n if (elem[i] != null) {\r\n temp++;\r\n }\r\n }\r\n return temp;\r\n }", "title": "" }, { "docid": "f6330ef1831154e7a0b07e0f91e0bf65", "score": "0.70525116", "text": "public int size() {\r\n assert numElements >= 0 : numElements;\r\n assert numElements <= capacity : numElements;\r\n assert numElements >= elementsByFitness.size() : numElements;\r\n return numElements;\r\n }", "title": "" }, { "docid": "6c2de4264b1eb6030a98f96bd893d40d", "score": "0.70521", "text": "public final int size()\n {\n return m_count;\n }", "title": "" }, { "docid": "a345cba904ac2a22df659fef212f8091", "score": "0.7051663", "text": "public int size() {\n\t\treturn elements;\n\t}", "title": "" }, { "docid": "e43343d4c04fcc1176f389aeef4ce4f7", "score": "0.7046314", "text": "public int size() {\n int found = 0;\n Node<T> it = head.get();\n // Do a raw count.\n for (int i = 0; i < capacity; i++) {\n if (!it.free.get()) {\n found += 1;\n }\n it = it.next;\n }\n return found;\n }", "title": "" }, { "docid": "5fcb069826257600841d3455a03c899f", "score": "0.7044597", "text": "public int size() {\r\n\t\treturn elements;\r\n\t}", "title": "" }, { "docid": "c142163ad0f133ce700c6ee4eddf17ac", "score": "0.7044095", "text": "public static int size() \r\n\t{\r\n\t\treturn m_count;\r\n }", "title": "" }, { "docid": "db74b99a5f102a37351dd34eb827a3a3", "score": "0.70253694", "text": "public int size()\r\n {\r\n return count;\r\n }", "title": "" }, { "docid": "b09d9bee6578ca4980392888010778ad", "score": "0.7010485", "text": "public int size() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "b09d9bee6578ca4980392888010778ad", "score": "0.7010485", "text": "public int size() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "b09d9bee6578ca4980392888010778ad", "score": "0.7010485", "text": "public int size() {\n\t\treturn count;\n\t}", "title": "" }, { "docid": "6380e3475d5525f3961c5964ea9770c6", "score": "0.70094955", "text": "public int size()\n\t{\n\t\treturn m_elements.size();\n\t}", "title": "" }, { "docid": "d5558311e10c8e2759a985d2f1b42bfd", "score": "0.70091474", "text": "public int size()\r\n\t{\r\n\t\treturn count;\r\n\t}", "title": "" }, { "docid": "c210228ebdfb8bda4e7c397037a962f0", "score": "0.7000224", "text": "@Override\n public int queueLength() {\n return this.job_queue.size();\n }", "title": "" }, { "docid": "459824cf167f45e04456b58a2b712a22", "score": "0.6997246", "text": "@Override\n\tpublic int size() {\n\n\t\treturn this.numOfItems;\n\t}", "title": "" }, { "docid": "a6a2bab08a002f52d5a33c04023e2610", "score": "0.6992774", "text": "public int size() {\n return count;\n }", "title": "" }, { "docid": "dd5b24a47eaf7c003424285c07e2e3fe", "score": "0.698845", "text": "public int size() {\n\t\tint numElements = 0;\n\t\tfor (int i = 0; i < this.size; i++) {\n\t\t\tif (list[i] != null) {\n\t\t\t\tnumElements++;\n\t\t\t}\n\t\t}\n\t\treturn numElements;\n\t}", "title": "" }, { "docid": "7acd4251c6f6e9d04ba306460e450c07", "score": "0.6978139", "text": "public int size() {\n return elements;\n }", "title": "" }, { "docid": "ab1cfcc6275c6b2f38b7e0c4ca04b4b4", "score": "0.6976907", "text": "public int size()\n {\n return count;\n }", "title": "" }, { "docid": "cb55f7ae411b272aece5420ca783260d", "score": "0.6974407", "text": "public int getNumOfElements() {\n return numOfElements;\n }", "title": "" }, { "docid": "da978dd18858f8b0eb3de9b153b57803", "score": "0.69679123", "text": "public int getNumElements()\n {\n return numElements;\n }", "title": "" }, { "docid": "a99bade54b165c97113343a59f4d0bfb", "score": "0.6964067", "text": "public int size() {\n\t\treturn N;\n\t}", "title": "" }, { "docid": "a99bade54b165c97113343a59f4d0bfb", "score": "0.6964067", "text": "public int size() {\n\t\treturn N;\n\t}", "title": "" }, { "docid": "a99bade54b165c97113343a59f4d0bfb", "score": "0.6964067", "text": "public int size() {\n\t\treturn N;\n\t}", "title": "" }, { "docid": "a99bade54b165c97113343a59f4d0bfb", "score": "0.6964067", "text": "public int size() {\n\t\treturn N;\n\t}", "title": "" }, { "docid": "a99bade54b165c97113343a59f4d0bfb", "score": "0.6964067", "text": "public int size() {\n\t\treturn N;\n\t}", "title": "" }, { "docid": "8170a7bacef127e910fb51f9f6562121", "score": "0.6949579", "text": "public void incTotalOfQueueEntries() {\n totalOfQueueEntries++;\n }", "title": "" }, { "docid": "62991bf63eebe989a22679b0d2559b9b", "score": "0.69456923", "text": "public final int size()\r\n/* 41: */ {\r\n/* 42:215 */ long after = lvConsumerIndex();\r\n/* 43: */ for (;;)\r\n/* 44: */ {\r\n/* 45:219 */ long before = after;\r\n/* 46:220 */ long currentProducerIndex = lvProducerIndex();\r\n/* 47:221 */ after = lvConsumerIndex();\r\n/* 48:222 */ if (before == after)\r\n/* 49: */ {\r\n/* 50:224 */ long size = currentProducerIndex - after >> 1;\r\n/* 51:225 */ break;\r\n/* 52: */ }\r\n/* 53: */ }\r\n/* 54: */ long size;\r\n/* 55:230 */ if (size > 2147483647L) {\r\n/* 56:232 */ return 2147483647;\r\n/* 57: */ }\r\n/* 58:236 */ return (int)size;\r\n/* 59: */ }", "title": "" }, { "docid": "66115ac831778e1051fc68fbd1fb790e", "score": "0.69308406", "text": "public synchronized int getSize() {\r\n\t\treturn queueManagers.size();\r\n\t}", "title": "" }, { "docid": "40f02aae413dd4cedd27666a27fd812a", "score": "0.692803", "text": "public int numIncoming() {\r\n int result = incoming.size();\r\n return result;\r\n }", "title": "" }, { "docid": "8f40e6df93db096d2ad3dd74f259e608", "score": "0.6918851", "text": "public int size() {\n return qSize;\n }", "title": "" }, { "docid": "5d7417bd21cfcda19d9bedd7fb3a6286", "score": "0.6918396", "text": "public int getDequeueCount() {\n\t\treturn m_DequeueCount;\n\t}", "title": "" }, { "docid": "f4d77000a692df53b1e6f0b55c34edf6", "score": "0.6913163", "text": "@Override\n public int size() {\n // Returns the number of elements stored in the heap\n return nelems;\n }", "title": "" }, { "docid": "4e31e27bfbb6fd41f6e5d14a3dfe82d8", "score": "0.6911638", "text": "public int getNrOfElements() {\n return this.nrOfElements;\n }", "title": "" }, { "docid": "bddf91613c495ff0c31ddb7381081ec9", "score": "0.69067305", "text": "public int size() {\n\t\treturn heap.size();\n\t}", "title": "" }, { "docid": "16f197de58e0df6ba5b1d9deeb476c45", "score": "0.69054765", "text": "public int size()\r\n\t{\r\n\t\treturn numItems;\r\n\r\n\t}", "title": "" }, { "docid": "4c43d9153d32d6358185f9054df28174", "score": "0.690355", "text": "public int getNumElements() {\n return numElements;\n }", "title": "" }, { "docid": "4c43d9153d32d6358185f9054df28174", "score": "0.690355", "text": "public int getNumElements() {\n return numElements;\n }", "title": "" }, { "docid": "ba5d708d6caeccc6133199e3a1c6b2a0", "score": "0.69025123", "text": "public int size()\n {\n return N;\n }", "title": "" }, { "docid": "4116aa536a276a92b036b786d7acdc68", "score": "0.6897951", "text": "public int size() {\n\t\tint result = 0;\n\t\tfor (E val: this)\n\t\t\tresult++;\n\t\treturn result;\n\t}", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "6f5aa9ea7e514b58ca8df603e400dcd2", "score": "0.68964005", "text": "public int size() {\n return N;\n }", "title": "" }, { "docid": "0b240f4ec2604f4a41b8e521c2e20d2a", "score": "0.6894637", "text": "public int getNumElements() {\n\t\treturn numElements;\n\t}", "title": "" }, { "docid": "738faf8ae31c5fa75dc91b54cb8a35d6", "score": "0.6893682", "text": "public int size() {\n return numItems;\n }", "title": "" }, { "docid": "1b6d8c01599066b5db8b8e84ea619502", "score": "0.6887644", "text": "public int size() {\r\n return N;\r\n }", "title": "" }, { "docid": "e2e29057e911938b28ae51be16e09b8a", "score": "0.68826175", "text": "public int size()\r\n\t{\r\n\t\treturn heap.size();\r\n\t}", "title": "" }, { "docid": "1620d12f213633ffa241f2688904b721", "score": "0.6879665", "text": "public int size() {\n\t\tint count = 0;\n\t\tListNode current = front;\n\t\twhile (current != null) {\n\t\t\tcurrent = current.next;\n\t\t\tcount++;\n\t\t}\n\t\treturn count;\n\t}", "title": "" }, { "docid": "0b2822ce115d5f004593770a53943a1e", "score": "0.68678325", "text": "public int getNumberOfElements();", "title": "" }, { "docid": "ea22aef3b43ad71ebb94d126f309786a", "score": "0.68677384", "text": "public int size()\n\t\t{\n\t\treturn N;\n\t\t}", "title": "" }, { "docid": "24c32e5f23b85c54756a8c6b4f346eba", "score": "0.6867729", "text": "public int size() { return dequeSize; }", "title": "" }, { "docid": "41db71d8c25b561fe3049bca5de07cde", "score": "0.68672484", "text": "public int size()\n { \t\n \t//initialize a counter to measure the size of the list\n int sizeVar = 0;\n //create local node variable to update in while loop\n LinkedListNode<T> localNode = getFirstNode();\n \n //update counter while there are still nodes\n while(localNode != null)\n {\n sizeVar += 1;\n localNode = localNode.getNext();\n }\n \n return sizeVar;\n }", "title": "" }, { "docid": "485289b42c0daa94a7d901f6f9d03cae", "score": "0.6864032", "text": "@Override\n\tpublic int size() {\n\t\treturn this.numberOfElements;\n\t}", "title": "" }, { "docid": "b849b3624cbc2abb068276073959d90c", "score": "0.6859345", "text": "int size() {\n if (this.next.equals(this)) {\n return 0;\n }\n return this.next.size(this);\n }", "title": "" }, { "docid": "41ca9f367bcf8993cac116ef75a88d10", "score": "0.68590283", "text": "public int size() {\n // DO NOT MODIFY THIS METHOD!\n return size;\n }", "title": "" } ]
ff8b8a1d6d8486364f1f8e3c87b98c41
backtrack. for given combination, if number of ) > (, then discard the it
[ { "docid": "6d834e6a023b3146dd25dcd10426ac95", "score": "0.0", "text": "public List<String> generateParenthesis(int n) {\n backTrack(0,0,\"\",n);\n return ans;\n }", "title": "" } ]
[ { "docid": "484aff52d60275dd5a712d8610def3d3", "score": "0.5677479", "text": "Set<Set<T>> getAllBarelyPassingCombinations();", "title": "" }, { "docid": "99a2e95f037bf436db3ee3d25af7e336", "score": "0.5429457", "text": "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n char s[] = scanner.nextLine().toCharArray();\n \n // Count chars\n Map<Character, Integer> countMap = new TreeMap<>();\n for (int i=0; i<s.length; i++) {\n Integer count = countMap.get(s[i]);\n if (count == null) {\n count = 1;\n } else {\n count = count+1;\n }\n countMap.put(s[i], count);\n }\n \n // Create discard map (Max allowed a char can be discarded)\n // Create select map (Max char to add)\n Map<Character, Integer> discardMap = new TreeMap<>();\n Map<Character, Integer> selectMap = new TreeMap<>();\n for (Character c : countMap.keySet()) {\n discardMap.put(c, countMap.get(c)/2);\n selectMap.put(c, countMap.get(c)/2);\n }\n \n // Find lowest lexy\n List<Character> lexy = new ArrayList<Character>();\n for (int i=s.length-1; i>=0; i--) {\n \n // append char only if select allowed is not exhausted\n if (selectMap.get(s[i]) > 0) {\n int cutAt = -1;\n \n // check current lexy where to put char best\n for (int j=lexy.size()-1; j>=0; j--) {\n \n // only if the char is lexy lower than on current lexy and that can still be discarded\n if (s[i] < lexy.get(j) && discardMap.get(lexy.get(j)) > 0) {\n cutAt=j;\n // reduce discard allowed\n discardMap.put(lexy.get(j), discardMap.get(lexy.get(j))-1);\n\n // increase back select allowed if necessary\n if (selectMap.get(lexy.get(j)) < countMap.get(lexy.get(j))/2) {\n selectMap.put(lexy.get(j), selectMap.get(lexy.get(j))+1);\n }\n } else {\n \n break;\n }\n }\n if (cutAt != -1) {\n lexy = lexy.subList(0, cutAt);\n } \n lexy.add(s[i]);\n selectMap.put(s[i], selectMap.get(s[i])-1);\n \n } else {\n // discard char\n discardMap.put(s[i], discardMap.get(s[i])-1);\n }\n \n }\n \n StringBuilder sb = new StringBuilder(); \n for (Character c : lexy) {\n sb.append(c);\n }\n \n System.out.println(sb.toString()); \n }", "title": "" }, { "docid": "5c985df3c0f5051e9d0ce7cc97a6f040", "score": "0.52293086", "text": "public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\r\n String line = sc.nextLine();\r\n\r\n String[] tokens = line.split(\",\");\r\n int len = tokens.length;\r\n\r\n int[] tanks = new int[len - 1];\r\n for (int i = 0; i < len - 1; i++) {\r\n String curr = tokens[i];\r\n if (i == 0) {\r\n if (len == 2) // means there is only single element like -> (xy)\r\n curr = curr.substring(1, curr.length() - 1);\r\n else\r\n curr = curr.substring(1);\r\n tanks[i] = Integer.parseInt(curr);\r\n continue;\r\n }\r\n if (i == len - 2) {\r\n curr = curr.substring(0, curr.length() - 1);\r\n tanks[i] = Integer.parseInt(curr);\r\n continue;\r\n }\r\n tanks[i] = Integer.parseInt(curr);\r\n }\r\n int qty = Integer.parseInt(tokens[len - 1].substring(1)); // removal of space\r\n\r\n // tanks array contains individual quantity (sorted manner), qty contains final qty to be filled\r\n // Lets find if any solution exists or not, if Not min qty to be added we need to output\r\n // we are doing this as it will lead to better performance result in case solution does not exist\r\n boolean flag = dpWays(tanks, qty);\r\n if (!flag) {\r\n // means no solution exists\r\n int add1 = tanks[0] * 2 - qty;\r\n int add2 = tanks[0] + tanks[1] - qty;\r\n\r\n System.out.println(add1 < add2 ? add1 : add2);\r\n }\r\n\r\n // Here now we are sure that solution exists and hence we need to give solution\r\n\r\n Map<Integer, Integer> map = new HashMap<>(); // used to store index to be used while building result\r\n for (int i = 0; i < tanks.length; i++)\r\n map.put(tanks[i], i);\r\n\r\n List<ListUtil> result = new ArrayList<>();\r\n ListUtil each = new ListUtil(tanks.length, 0);\r\n \r\n getAllWays(tanks, qty, 0, each, result, map);\r\n\r\n //We need to sort result lists and hence made ListUtil class\r\n Collections.sort(result);\r\n\r\n System.out.println(listToString(result));\r\n\r\n sc.close();\r\n }", "title": "" }, { "docid": "00017f04c73074c4c5243f635bbe2604", "score": "0.52217966", "text": "private static boolean isValidItemSet(String itemset, int pair_size) {\r\n itemset.replace(\"[\", \"\");\r\n itemset.replace(\"]\", \"\");\r\n String[] arr = itemset.split(\",\");\r\n ArrayList<String> items = new ArrayList<>();\r\n for (int i = 0; i < arr.length; i++) {\r\n arr[i] = arr[i].trim().replace(\"[\", \"\").replace(\"]\", \"\");\r\n items.add(arr[i]);\r\n }\r\n\r\n ArrayList<String> temp = new ArrayList<>();\r\n ArrayList<String> subset_of_itemset = new ArrayList<>();\r\n makeCombination(items, items.size(), 0, pair_size - 1, temp, subset_of_itemset);\r\n\r\n for (int i = 0; i < subset_of_itemset.size(); i++) {\r\n if (!previousItemSet.contains(subset_of_itemset.get(i))) {\r\n // System.out.println(\"fails\");\r\n return false;\r\n }\r\n }\r\n // System.out.println(\"pass\");\r\n subset_of_itemset.clear();\r\n temp.clear();\r\n return true;\r\n }", "title": "" }, { "docid": "54864941655bfa4ddacac54ec2146007", "score": "0.5089", "text": "private Set<Integer> findThree(StringBuffer line, boolean first) {\n\t\tSet<Integer> retVal = new HashSet<>();\n\t\tif (line.length() <= 5)\n\t\t\treturn retVal;\n\t\t\n\t\tint selfCnt = 0, empCnt = 0;\n\t\tchar selfCh = first ? '3' : '2';\n\t\tchar oppCh = first ? '2' : '3';\n\t\tchar empty = '0';\n\n\t\t// Keep track of the set of empty locations\n\t\tSet<Integer> empLocSet = new HashSet<>();\n\t\tfor (int i = 0; i < 6; i++) {\n\t\t\tchar ch = line.charAt(i);\n\t\t\tif (ch == selfCh)\n\t\t\t\tselfCnt ++;\n\t\t\telse if (ch == empty) {\n\t\t\t\tempLocSet.add(i);\n\t\t\t\tempCnt ++;\n\t\t\t}\n\t\t}\n\t\t\n\t\tif (selfCnt == 3 && empCnt == 3 && empLocSet.contains(0) && empLocSet.contains(5)) {\n\t\t\tif (empLocSet.contains(1)) {\n\t\t\t\tretVal.add(1);\n\t\t\t\tretVal.add(5);\n\t\t\t} else {\n\t\t\t\tretVal.addAll(empLocSet);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0, j = 6; j < line.length(); i++, j++) {\n\t\t\tchar front = line.charAt(j);\n\t\t\tchar back = line.charAt(i);\n\t\t\tif (back == selfCh)\n\t\t\t\tselfCnt --;\n\t\t\telse if (back == empty) {\n\t\t\t\tempCnt --;\n\t\t\t\tempLocSet.remove(i);\n\t\t\t}\n\t\t\t\n\t\t\tif (front == selfCh)\n\t\t\t\tselfCnt ++;\n\t\t\telse if (front == empty) {\n\t\t\t\tempCnt ++;\n\t\t\t\tempLocSet.add(j);\n\t\t\t}\n\n\t\t\t// Two ends empty; meets criteria\n\t\t\tif (selfCnt == 3 && empCnt == 3 && empLocSet.contains(i + 1) && empLocSet.contains(j)) {\n\t\t\t\t// First check the boundary\n\t\t\t\tif (j == line.length() - 1) {\n\t\t\t\t\tif (empLocSet.contains(j - 1)) {\n\t\t\t\t\t\tretVal.add(i + 1);\n\t\t\t\t\t\tretVal.add(j - 1);\n\t\t\t\t\t} else retVal.addAll(empLocSet);\n\t\t\t\t} else if (line.charAt(i) == oppCh) { // blocked in the front\n\t\t\t\t\tif (line.charAt(j + 1) == oppCh) {\n\t\t\t\t\t\t// two sides blocked, add all;\n\t\t\t\t\t\tretVal.addAll(empLocSet);\n\t\t\t\t\t} else if (empLocSet.contains(i + 2)) {\n\t\t\t\t\t\tretVal.add(i + 2);\n\t\t\t\t\t\tretVal.add(j);\n\t\t\t\t\t} else if (empLocSet.contains(j - 1)) {\n\t\t\t\t\t retVal.addAll(empLocSet);\n } else retVal.addAll(empLocSet);\n\t\t\t\t} else if (line.charAt(j + 1) == oppCh) { // blocked in the back but open in the front\n\t\t\t\t\tif (empLocSet.contains(j - 1)) {\n\t\t\t\t\t\tretVal.add(j - 1);\n\t\t\t\t\t\tretVal.add(i + 1);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tretVal.addAll(empLocSet);\n\t\t\t\t\t}\n\t\t\t\t} else { // open on both sides\n\t\t\t\t\tif (empLocSet.contains(i + 2)) {\n\t\t\t\t\t\tretVal.add(i + 2);\n\t\t\t\t\t\tretVal.add(j);\n\t\t\t\t\t} else if (empLocSet.contains(j - 1)) {\n\t\t\t\t\t\tretVal.add(j - 1);\n\t\t\t\t\t\tretVal.add(i + 1);\n\t\t\t\t\t} else retVal.addAll(empLocSet);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn retVal;\n\t}", "title": "" }, { "docid": "db369fee6737f5da14ab57eac5ec4726", "score": "0.5074884", "text": "static int eggDrop(int n, int k)\n {\n // Your code here\n int dp[][] = new int[n+1][k+1];\n for(int i=0;i<dp.length;i++){\n Arrays.fill(dp[i],Integer.MAX_VALUE);\n }\n //For 1 egg answer is number of floors\n for(int j=1;j<=k;j++){\n dp[1][j] = j;\n }\n //For 1 floor answer is always 1 and for 0 floors answer is always 0\n for(int i=1;i<=n;i++){\n dp[i][0] = 0;\n dp[i][1] = 1;\n }\n\n for(int i=2;i<=n;i++){\n for(int j=2;j<=k;j++){\n //Assume egg is dropped from xth floor\n for(int x=1;x<=j;x++){\n //Worst case is either egg is broken on xth floor i.e dp[i-1][x-1] or egg is not broken on xth floor i.e dp[i][j-x]\n dp[i][j] = Math.min(dp[i][j],1+Math.max(dp[i-1][x-1],dp[i][j-x]));\n }\n }\n }\n return dp[n][k];\n }", "title": "" }, { "docid": "bf0aefb4a76ab7b2e697abe1c2ecea30", "score": "0.50586575", "text": "private void removeOnePair() {\n String tag = (String) T.remove(T.size() - 1);\n if (tag.equals(\"B\") || tag.equals(\"C\") || tag.equals(\"I\")\n || tag.equals(\"S\") || tag.equals(\"Z\")) {\n caseI_KI.remove(caseI_KI.size() - 1);\n } else if (tag.equals(\"D\")) {\n caseD_KD.remove(caseD_KD.size() - 1);\n } else if (tag.equals(\"F\")) {\n caseF_KF.remove(caseF_KF.size() - 1);\n } else if (tag.equals(\"J\")) {\n caseJ_KJ.remove(caseJ_KJ.size() - 1);\n } else if (tag.equals(\"C\")) {\n casec_RS.remove(casec_RS.size() - 1);\n } else if (tag.equals(\"e\")) {\n caseet_RS.remove(caseet_RS.size() - 1);\n caseec_RU.remove(caseet_RS.size() - 1);\n } else if (tag.equals(\"s\")) {\n cases_RU.remove(cases_RU.size() - 1);\n } else if (tag.equals(\"[\")) {\n int arraySize = casearray_N.remove(casearray_N.size() - 1);\n numBackwardsCalls -= arraySize;\n for (int k = 0; k < arraySize; k++) {\n removeOnePair();\n }\n } else if (tag.equals(\"@\")) {\n nesttype_RS.remove(nesttype_RS.size() - 1);\n int numPairs = nestpair_N.remove(nestpair_N.size() - 1);\n numBackwardsCalls -= numPairs;\n for (int i = 0; i < numPairs; i++) {\n removeOnePair();\n }\n }\n }", "title": "" }, { "docid": "5c27a4e35269c9e1d1cfb7dd7c1d9afb", "score": "0.50495744", "text": "public int findComposedCombination()\n {\n // Get the combinations count\n int combinationsCount = Core.getInstance().getPreSetCombinations().getComposedCombinationsCount();\n // Don't allow redundant combinations\n int combinationId;\n do\n {\n // Find a random movement (different from 0 as its the default static movement)\n combinationId = MathUtils.random(0, combinationsCount - 1);\n } while(combinationId == lastComposedCombinationId);\n // Return the composed combination\n return (lastComposedCombinationId = combinationId);\n }", "title": "" }, { "docid": "07eb139813e322f133db4646a81b8687", "score": "0.50376993", "text": "public boolean prune() {\n\n boolean ret = false;\n int red = 0;\n\n Set<Character> alphabet = I.next.keySet();\n int n = 0;\n for (Character c : alphabet) {\n n += I.next(c).getTimes();\n }\n\n double K = (2 * alphabet.size() + 4) * (Math.log(n) / Math.log(2)) * ratio;\n double sum = 0;\n\n Set<State> terminal = I.getTerminal();\n\n for (State t : terminal) {\n sum = 0;\n String u = t.getFullName();\n String w = u.substring(1, u.length());\n for (Character c : alphabet) {\n\n\n double uc = condProb(u + c);\n double wc = condProb(w + c);\n if ((uc > 0) && (wc > 0)) {\n sum += uc * (Math.log(uc / wc) / Math.log(2)) * times(u);\n }\n }\n\n // si l'estat es irrelevant l'eliminem\n if (sum < K) {\n t.delete();\n ret = true;\n red++;\n }\n }\n\n return ret;\n }", "title": "" }, { "docid": "6522bd9733423c65ba47c15d8bd72538", "score": "0.502112", "text": "public void backtrack(List<String> combinations, Map<Character, String> phoneMap, String digits, int index, StringBuffer combination) {\n if (index == digits.length()) {\n combinations.add(combination.toString());\n } else {\n char digit = digits.charAt(index);\n String letters = phoneMap.get(digit);\n int lettersCount = letters.length();\n for (int i = 0; i < lettersCount; i++) {\n combination.append(letters.charAt(i));\n System.out.println(\"当前字符串:\"+letters.charAt(i)+\" combination:\"+combination.toString());\n backtrack(combinations, phoneMap, digits, index + 1, combination);\n System.out.println(\"删除\"+combination.charAt(index)+\" index\"+index);\n combination.deleteCharAt(index);\n }\n }\n }", "title": "" }, { "docid": "b5a36d4f758973f1c007a09bbf200f97", "score": "0.499863", "text": "boolean remaining(TreeSet<Integer> avail){\n\t\t\n\t\tfor (int i : avail){\n\t\t\tfor (int j : avail){\n\t\t\t\tif (i == j){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif ((i > j) && (i % j == 0)){\n\t\t\t\t\t//we have found a valid choice\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t//there are no remaining valid choices\n\t\treturn false;\n\t}", "title": "" }, { "docid": "c99432c2994fdb53c0cb668590fe2598", "score": "0.49844334", "text": "private void determinePermutations(final int currentLevel,\r\n final And and,\r\n And combination,\r\n final Or or) {\r\n final Object entry = and.getChildren().get( currentLevel );\r\n if ( entry instanceof Or ) {\r\n // Only OR nodes need to be iterated over\r\n final Or childOr = (Or) entry;\r\n for ( final Iterator it = childOr.getChildren().iterator(); it.hasNext(); ) {\r\n // Make a temp copy of combinations+new entry which will be\r\n // sent forward\r\n final And temp = new And();\r\n if ( currentLevel == 0 ) {\r\n // Always start with a clean combination\r\n combination = new And();\r\n } else {\r\n temp.getChildren().addAll( combination.getChildren() );\r\n }\r\n \r\n // now check for and remove duplicates\r\n final Object object = it.next();\r\n if ( object instanceof And ) {\r\n // Can't have duplicate Ands so move up the children\r\n final And childAnd = (And) object;\r\n for ( final Iterator childIter = childAnd.getChildren().iterator(); childIter.hasNext(); ) {\r\n temp.addChild( childIter.next() );\r\n }\r\n } else {\r\n // no duplicates so just add\r\n temp.addChild( object );\r\n }\r\n \r\n if ( currentLevel < and.getChildren().size() - 1 ) {\r\n // keep recursing to build up the combination until we\r\n // are at the end where it will be added to or\r\n determinePermutations( currentLevel + 1,\r\n and,\r\n temp,\r\n or );\r\n } else {\r\n // we are at the end so just attach the combination to\r\n // the or node\r\n or.addChild( temp );\r\n }\r\n }\r\n } else {\r\n // Make a temp copy of combinations+new entry which will be sent\r\n // forward\r\n final And temp = new And();\r\n if ( currentLevel == 0 ) {\r\n // Always start with a clean combination\r\n combination = new And();\r\n } else {\r\n temp.getChildren().addAll( combination.getChildren() );\r\n }\r\n temp.addChild( entry );\r\n \r\n if ( currentLevel < and.getChildren().size() - 1 ) {\r\n // keep recursing to build up the combination until we are\r\n // at the end where it will be added to or\r\n determinePermutations( currentLevel + 1,\r\n and,\r\n temp,\r\n or );\r\n } else {\r\n // we are at the end so just attach the combination to the\r\n // or node\r\n or.addChild( temp );\r\n }\r\n }\r\n }", "title": "" }, { "docid": "b649ae0b72fcb86270804b9c97830e07", "score": "0.49716857", "text": "public void reduceOptions(Puzzle p) {\r\n\t\tint pSize = p.getSize();\r\n\t\tABQueue<Integer> newOptions = new ABQueue<Integer>(pSize);\r\n\t\tfor (int i = 1; i <= (pSize); i++) {\r\n\t\t\tnewOptions.enqueue(i);\r\n\t\t} // end for\r\n\r\n\t\tint temp[] = p.getRow(row);\r\n\t\tint OptLen = newOptions.length();\r\n\t\tboolean dup;\r\n\t\tfor (int i = 0; i < OptLen; i++) {\r\n\t\t\tdup = false;\r\n\t\t\tint option = newOptions.dequeue();\r\n\t\t\tfor (int j = 0; j < pSize; j++) {\r\n\t\t\t\tif (option == temp[j]) {\r\n\t\t\t\t\tdup = true;\r\n\t\t\t\t\tj = (j + 2) * pSize;\r\n\t\t\t\t} // end if\r\n\t\t\t} // end for\r\n\t\t\tif (!dup) {\r\n\t\t\t\tnewOptions.enqueue(option);\r\n\t\t\t} // end if\r\n\t\t} // end for\r\n\r\n\t\ttemp = p.getColumn(col);\r\n\t\tOptLen = newOptions.length();\r\n\t\tfor (int i = 0; i < OptLen; i++) {\r\n\t\t\tdup = false;\r\n\t\t\tint option = newOptions.dequeue();\r\n\t\t\tfor (int j = 0; j < pSize; j++) {\r\n\t\t\t\tif (option == temp[j]) {\r\n\t\t\t\t\tdup = true;\r\n\t\t\t\t\tj = (j + 2) * pSize;\r\n\t\t\t\t} // end if\r\n\t\t\t} // end for\r\n\t\t\tif (!dup) {\r\n\t\t\t\tnewOptions.enqueue(option);\r\n\t\t\t} // end if\r\n\t\t} // end for\r\n\r\n\t\ttemp = p.getBlock(col, row);\r\n\t\tOptLen = newOptions.length();\r\n\t\tfor (int i = 0; i < OptLen; i++) {\r\n\t\t\tdup = false;\r\n\t\t\tint option = newOptions.dequeue();\r\n\t\t\tfor (int j = 0; j < pSize; j++) {\r\n\t\t\t\tif (option == temp[j]) {\r\n\t\t\t\t\tdup = true;\r\n\t\t\t\t\tj = (j + 2) * pSize;\r\n\t\t\t\t} // end if\r\n\t\t\t} // end for\r\n\t\t\tif (!dup) {\r\n\t\t\t\tnewOptions.enqueue(option);\r\n\t\t\t} // end if\r\n\t\t} // end for\r\n\t\toptions = newOptions;\r\n\r\n\t}", "title": "" }, { "docid": "15bd3e153f7c397c60d660b3da0ef461", "score": "0.49531338", "text": "public List<GenPolynomial<C>> \n minimalGB(List<GenPolynomial<C>> Gp) { \n if ( Gp == null || Gp.size() <= 1 ) {\n return Gp;\n }\n // remove zero polynomials\n List<GenPolynomial<C>> G\n = new ArrayList<GenPolynomial<C>>( Gp.size() );\n for ( GenPolynomial<C> a : Gp ) { \n if ( a != null && !a.isZERO() ) { // always true in GB()\n // already positive a = a.abs();\n G.add( a );\n }\n }\n if ( G.size() <= 1 ) {\n //wg monic do not return G;\n }\n // remove top reducible polynomials\n GenPolynomial<C> a, b;\n List<GenPolynomial<C>> F;\n List<GenPolynomial<C>> bcH;\n F = new ArrayList<GenPolynomial<C>>( G.size() );\n while ( G.size() > 0 ) {\n a = G.remove(0); b = a;\n if ( red.isTopReducible(G,a) || red.isTopReducible(F,a) ) {\n // drop polynomial \n if ( true || debug ) {\n List<GenPolynomial<C>> ff;\n ff = new ArrayList<GenPolynomial<C>>( G );\n ff.addAll(F);\n a = red.normalform( ff, a );\n if ( !a.isZERO() ) {\n //System.out.println(\"minGB nf(a) != 0 \" + a);\n bcH = red.reducedBooleanClosure(G,a);\n if ( bcH.size() > 1 ) { // never happend so far\n System.out.println(\"minGB not bc: bcH size = \" + bcH.size());\n F.add(b); // do not replace, stay with b\n } else {\n //System.out.println(\"minGB add bc(a): a = \" + a + \", bc(a) = \" + bcH.get(0));\n F.addAll( bcH );\n }\n } else {\n //System.out.println(\"minGB dropped \" + b);\n }\n }\n } else {\n F.add(a);\n }\n }\n G = F;\n if ( G.size() <= 1 ) {\n // wg monic return G;\n }\n // reduce remaining polynomials\n int len = G.size();\n int el = 0;\n while ( el < len ) {\n a = G.remove(0); b = a;\n //System.out.println(\"doing \" + a.length());\n a = red.normalform( G, a );\n //a = red.normalform( F, a );\n bcH = red.reducedBooleanClosure(G,a);\n if ( bcH.size() > 1 ) {\n System.out.println(\"minGB not bc: bcH size = \" + bcH.size());\n G.add( b ); // do not reduce\n } else {\n G.addAll( bcH );\n }\n el++;\n }\n // make monic if possible\n F = new ArrayList<GenPolynomial<C>>( G.size() );\n for ( GenPolynomial<C> p : G ) {\n a = p.monic().abs();\n if ( p.length() != a.length() ) {\n System.out.println(\"minGB not bc: #p != #a: a = \" + a + \", p = \" + p);\n a = p; // dont make monic for now\n }\n F.add( a );\n }\n G = F;\n \n /* stratify: collect polynomials with equal leading terms */\n ExpVector e, f;\n F = new ArrayList<GenPolynomial<C>>( G.size() );\n for ( int i = 0; i < G.size(); i++ ) {\n a = G.get(i);\n if ( a == null || a.isZERO() ) {\n continue;\n }\n e = a.leadingExpVector();\n for ( int j = i+1; j < G.size(); j++ ) {\n b = G.get(j);\n if ( b == null || b.isZERO() ) {\n continue;\n }\n f = b.leadingExpVector();\n if ( e.equals(f) ) {\n //System.out.println(\"minGB e == f: \" + a + \", \" + b);\n a = a.sum(b);\n G.set(j,null);\n }\n }\n F.add( a );\n }\n G = F;\n \n /* info on boolean algebra element blocks \n Map<C,List<GenPolynomial<C>>> bd = new TreeMap<C,List<GenPolynomial<C>>>();\n for ( GenPolynomial<C> p : G ) { \n C cf = p.leadingBaseCoefficient();\n cf = cf.idempotent();\n List<GenPolynomial<C>> block = bd.get( cf );\n if ( block == null ) {\n block = new ArrayList<GenPolynomial<C>>();\n }\n block.add( p ); \n bd.put( cf, block );\n }\n System.out.println(\"\\nminGB bd:\");\n for( C k: bd.keySet() ) {\n System.out.println(\"\\nkey = \" + k + \":\");\n System.out.println(\"val = \" + bd.get(k));\n }\n System.out.println();\n */\n return G;\n }", "title": "" }, { "docid": "a40060098e67fae17415d91e876aab16", "score": "0.49366426", "text": "private void removeShortEdges(Vertex v){\n for(Edge vw :v){\n Vertex w=vw.getEndVertex();\n int numIter=0;\n //w.sortEdges();\n for(Edge wx : w){\n Vertex x=wx.getEndVertex();\n numIter++;\n if(mark(x)!=Mark.INPLAY){\n continue;\n }\n if(numIter==1){\n \tcount2++;\n \tmark(x,Mark.ELIMINATED);\n }\n else if(wx.length()<FUZZ){\n \tcount2++;\n \tmark(x,Mark.ELIMINATED);\n }\n else if (wx.length()>=FUZZ){\n break;\n }\n }\n }\n\t}", "title": "" }, { "docid": "947f3986b4075bed192b2f7eb2bc55e5", "score": "0.49319765", "text": "private boolean isValidCombinationPossibleInner(SwccgGame game, Collection<PhysicalCard> cardsInPile, List<PhysicalCard> currentCombination) {\n if (isSelectionValid(game, currentCombination)) {\n return true;\n }\n\n Collection<PhysicalCard> selectableCards = Filters.filter(cardsInPile, game, Filters.and(getValidToSelectFilter(game, currentCombination), Filters.not(Filters.in(currentCombination))));\n for (PhysicalCard selectableCard : selectableCards) {\n currentCombination.add(selectableCard);\n if (isValidCombinationPossibleInner(game, cardsInPile, currentCombination)) {\n return true;\n }\n currentCombination.remove(selectableCard);\n }\n\n return false;\n }", "title": "" }, { "docid": "4ee17d8fa95cd2eab40c3640c0fd4369", "score": "0.4930462", "text": "static void minimumBribesMySolution(int[] q) {\n int bribeCount = 0;\n boolean isChaotic = false;\n\n for(int i = 0 ; i < q.length; i++){\n int queueIndex = i+1;\n if(q[i] - queueIndex > 2 ){\n isChaotic = true;\n break;\n }\n for(int j=Math.max(0, q[i] -2); j < i;j++){\n if(q[i] < q[j]){\n bribeCount++;\n }\n }\n }\n\n if(isChaotic){\n System.out.println(\"Too chaotic\");\n }else{\n System.out.println(bribeCount);\n }\n }", "title": "" }, { "docid": "defed4bacdd756f7de6ddd40546d12c6", "score": "0.49161157", "text": "public String minRemoveToMakeValid(String s) {\n StringBuilder sb = new StringBuilder();\n char[] str = s.toCharArray();\n\n int oppPar = 0;\n /*\n scan the string from left to right marking closing parenthesis that need to be deleted. When an open parenthesis\n is encountered, we increase the count of opposite Parenthesis needed to make s valid. When a closing Parenthesis\n is encountered, if the count is greater than 0, decrease the count since we found a pair, otherwise, there is\n no open for the close so mark it for deletion\n */\n for (int i = 0; i < str.length; i++) {\n if (str[i] == '(') {\n oppPar++;\n } else if (str[i] == ')') {\n if (oppPar > 0) {\n oppPar--;\n } else {\n str[i] = 0;\n }\n }\n }\n\n oppPar = 0;\n //scan string from right to left and perform the same operations as before but for closing parenthesis\n for (int i = str.length - 1; i >= 0; i--) {\n if (str[i] == ')') {\n oppPar++;\n } else if (str[i] == '(') {\n if (oppPar > 0) {\n oppPar--;\n } else {\n str[i] = 0;\n }\n }\n }\n\n //generate the new string now that all invalid parenthesis are marked\n for (char c : str) {\n if (c != 0) {\n sb.append(c);\n }\n }\n return sb.toString();\n }", "title": "" }, { "docid": "813d27c4c734bb76979fe9d99840c21f", "score": "0.48924944", "text": "final private void prune(TransRecords tr, float minSup, byte itemsetSize){\n\t\tArrayList matches;\n\t\tint incCount = 0;\n\t\tString[] trans;\n\t\tint[] can;\n\t\tint t1, t2, c1, c2, n1, m1;\n\t\tc1 = candidates.size();\n\t\tcCounters = new int[c1];\n\t\tcSupports = new float[c1];\n\t\tcTransList = new Object[c1];\n\t\tfor (int i = 0; i < c1; i++){\n\t\t\tcCounters[i] = 0;\n\t\t}\n\t\t//Determine candidate frequency...\n\t\tObject[] temp = tr.getRec();\n\t\tString[] name = tr.getNames();\n\t\tint[] ids = tr.getIDs();\n\t\tt1 = temp.length;\n\t\tn1 = name.length;\n\t\t//Check all transactions...\n\t\tfor (int i = 0; i < t1; i++){\n\t\t\ttrans = (String[])temp[i];\n\t\t\tt2 = trans.length;\n\t\t\t//Check all candidates...\n\t\t\tfor (int j = 0; j < c1; j++){\n\t\t\t\tcan = (int[])candidates.get(j);\n\t\t\t\tc2 = can.length;\n\t\t\t\t//Check all items are present in this transaction...\n\t\t\t\tfor (int k = 0; k < c2; k++){\n\t\t\t\t\tmatches = tr.getMatches(can[k]);\n\t\t\t\t\tm1 = matches.size();\n\t\t\t\t\tfor (int l = 0; l < m1; l++){\n\t\t\t\t\t\tif (((Integer)matches.get(l) < t2) && (trans[(Integer)matches.get(l)].equals(\"1\"))){\n\t\t\t\t\t\t\tincCount++;\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\tif (incCount == c2){\n\t\t\t\t\t//All candidates present, increase counter...\n\t\t\t\t\tcCounters[j] = cCounters[j] + 1;\n\t\t\t\t}\n\t\t\t\tincCount = 0;\n\t\t\t}\n\t\t}\n\n\t\t//Determine frequent itemset...\n\t\tfrequent = new ArrayList();\n\t\tfCounters = new ArrayList();\n\t\tfSupport = new ArrayList();\n\t\tfTransList = new ArrayList();\n\t\tint transCount = tr.getNumberRecs();\n\t\tfloat support;\n\t\t//For each candidate...\n\t\tfor (int i = 0; i < c1; i++){\n\t\t\tbfi.messageBox(\"Generating \" + itemsetSize + \" item list (Evaluating Candidate \" + (i + 1) + \" of \" + c1);\n\t\t\t//Determine the support level...\n\t\t\tif (minSupMode == 1 || minSupMode == 2){\n\t\t\t\tsupport = (float)cCounters[i] / (float)transCount;\n\t\t\t\tcSupports[i] = support;\n\t\t\t\tif (support >= minSup){\n\t\t\t\t\t//Candidate support high enough to be frequent item...\n\t\t\t\t\tfrequent.add((int[])candidates.get(i));\n\t\t\t\t\tfCounters.add(cCounters[i]);\n\t\t\t\t\tfSupport.add(support);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsupport = (float)cCounters[i] / (float)transCount;\n\t\t\t\tcSupports[i] = support;\n\t\t\t\tif ((float)cCounters[i] >= minSup){\n\t\t\t\t\t//Candidate support/frequency high enough to be frequent item...\n\t\t\t\t\tfrequent.add((int[])candidates.get(i));\n\t\t\t\t\tfCounters.add(cCounters[i]);\n\t\t\t\t\tfSupport.add(support);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (c1 > 0){\n\t\t\tcl.addEntryCollapse(itemsetSize, candidates, cCounters, cSupports, cTransList);\n\t\t}\n\t\tif (frequent.size() > 0){\n\t\t\tfl.addEntryCollapse(itemsetSize, frequent, fCounters, fSupport, fTransList);\n\t\t}\n\t}", "title": "" }, { "docid": "65582fa001bbccefc982bf1cb0676e29", "score": "0.4891539", "text": "static int combinations(int powerup_count) {\n return (1 << powerup_count);\n }", "title": "" }, { "docid": "23729e90e8853e41ccaa5ce4a64bfafd", "score": "0.48901716", "text": "private ArrayList<int[]> setPossibleNumsNoOperator() {\n\t\tArrayList<int[]> AllResults = new ArrayList<>();\n\n\t\t// Single cell cages can only contain the value of the single cell.\n\t\tif (mCells.size() == 1) {\n\t\t\tint number[] = { mResult };\n\t\t\tAllResults.add(number);\n\t\t\treturn AllResults;\n\t\t}\n\n\t\t// Cages of size two can contain any operation\n\t\tint gridSize = mGrid.getGridSize();\n\t\tif (mCells.size() == 2) {\n\t\t\tfor (int i1 = 1; i1 <= gridSize; i1++) {\n\t\t\t\tfor (int i2 = i1 + 1; i2 <= gridSize; i2++) {\n\t\t\t\t\tif (i2 - i1 == mResult || i1 - i2 == mResult\n\t\t\t\t\t\t\t|| mResult * i1 == i2 || mResult * i2 == i1\n\t\t\t\t\t\t\t|| i1 + i2 == mResult || i1 * i2 == mResult) {\n\t\t\t\t\t\tint numbers[] = { i1, i2 };\n\t\t\t\t\t\tAllResults.add(numbers);\n\t\t\t\t\t\tnumbers = new int[] { i2, i1 };\n\t\t\t\t\t\tAllResults.add(numbers);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn AllResults;\n\t\t}\n\n\t\t// Cages of size two and above can only contain an add or a multiply\n\t\t// operation\n\t\tAllResults = getAllAddCombos(gridSize, mResult, mCells.size());\n\t\tArrayList<int[]> multResults = getAllMultiplyCombos(gridSize, mResult,\n\t\t\t\tmCells.size());\n\n\t\t// Combine Add & Multiply result sets\n\t\tfor (int[] possibleset : multResults) {\n\t\t\tboolean foundset = false;\n\t\t\tfor (int[] currentset : AllResults) {\n\t\t\t\tif (Arrays.equals(possibleset, currentset)) {\n\t\t\t\t\tfoundset = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!foundset) {\n\t\t\t\tAllResults.add(possibleset);\n\t\t\t}\n\t\t}\n\n\t\treturn AllResults;\n\t}", "title": "" }, { "docid": "3ff9e885b5daf0c4a81cc1a52e5fb9cc", "score": "0.4885721", "text": "public int findPartedCombination()\n {\n // Get the combinations count\n int combinationsCount = Core.getInstance().getPreSetCombinations().getPartedCombinationsCount();\n // Don't allow redundant combinations\n int combinationId;\n do\n {\n // Find a random movement\n combinationId = MathUtils.random(0, combinationsCount - 1);\n } while(combinationId == lastPartedCombinationId);\n // Return the parted combination\n return (lastPartedCombinationId = combinationId);\n }", "title": "" }, { "docid": "fbff0158c824604540e0af5311f25cf0", "score": "0.48833323", "text": "private ArrayList<Sequence> prune(ArrayList<Sequence> candidates,ArrayList<Sequence> ofSize) {\n\t\tArrayList<Sequence> prunedSeq = new ArrayList<Sequence>();\n \tArrayList<Sequence> subSeq = new ArrayList<Sequence>(); \t\n \t\n \tint size = 0;\n \t\n \tif(ofSize.size() > 0){\n \t\tsize = ofSize.get(0).getSequence().size();\n \t}\n \t\n \tfor(Sequence seq : candidates){\n \t\t \t\t\n \t\tif(seq.getDistinctItemsinSequence().contains(this.totalItems.get(0))){\n \t\t\t\n \t\t\tArrayList<ItemSet> seeds = getsubSequences(seq); \t\t\t\n \t\t\t\n \t\t\tfor(int i=0; i < seeds.size(); i++){\n \t\t\t\t\n \t\t\t\tint top = 0;\n \t\t\t\t\n \t\t\t\tif(i != top){\n \t\t\t\t\n\t \t\t\t\tSequence newseq = new Sequence();\n\t \t\t\t\t\n\t \t\t\t\twhile(newseq.getItemsinSequence().size() < size && top < seeds.size()){\n\t \t\t\t\t\t\n\t \t\t\t\t\tItemSet is = new ItemSet();\n\t \t\t\t\t\tis.setItemSet(new ArrayList<Integer>(seeds.get(top).getItemSet()));\n\t \t\t\t\t\tnewseq.addItemSet(is); \n\t \t\t\t\t\t\n\t \t\t\t\t\ttop = top + 1;\n\t \t\t\t\t\t\n\t \t\t\t\t\tif(newseq.getItemsinSequence().size() == size){\n\t \t\t\t\t\t\tsubSeq.add(newseq);\n\t \t\t\t\t\t}\n\t \t\t\t\t} \n \t\t\t\t}\n \t\t\t}\n\n \t\t\tint count = 0;\n \t\t\t\n \t\t\tfor(int j=0; j<subSeq.size() ; j++){\n \t\t\t\t\n \t\t\t\tif(ListContains(ofSize, subSeq.get(j))){ \t\t\t\t\n \t\t\t\t\tcount = count++;\n \t\t\t\t} \t\t\t\t\n \t\t\t}\n \t\t\t\n \t\t\tif(count == subSeq.size()){\n \t\t\t\tif(!ListHas(prunedSeq, seq))\n \t\t\t\t\tprunedSeq.add(seq);\n \t\t\t}\n \t\t}\n \t\telse{\n \t\t\tif(!ListHas(prunedSeq, seq))\n \t\t\t\tprunedSeq.add(seq);\n \t\t} \t\t\n \t}\n \t\n\t\treturn prunedSeq;\n\t}", "title": "" }, { "docid": "e385d1fa31cec57b9e674983f3885585", "score": "0.4875365", "text": "private static void cutGrid() {\n\n int tCount = isTomato(0, 0) ? 1 : 0;\n Cell currCell = new Cell(0, 0, tCount, tCount ^= 1);\n\n if (isMaxPossibleSlice(currCell)){\n ++nCuts;\n //mark result grid\n //reset curr cell, always try to move down first, if not possible then right\n }\n }", "title": "" }, { "docid": "4cfdb856c1144fd5a5bd18ffee1952b0", "score": "0.48683217", "text": "private static Set<Set<Cover>> getCoverCombinations(List<Cover> groupSize, int k) {\n Set<Set<Cover>> allCombos = new HashSet<>();\n // base cases for recursion\n if (k == 0) {\n // There is only one combination of size 0, the empty team.\n allCombos.add(new HashSet<Cover>());\n return allCombos;\n }\n if (k > groupSize.size()) {\n // There can be no teams with size larger than the group size,\n // so return allCombos without putting any teams in it.\n return allCombos;\n }\n\n // Create a copy of the group with one item removed.\n List<Cover> groupWithoutX = new ArrayList<>(groupSize);\n Cover x = groupWithoutX.remove(groupWithoutX.size() - 1);\n\n Set<Set<Cover>> combosWithoutX = getCoverCombinations(groupWithoutX, k);\n Set<Set<Cover>> combosWithX = getCoverCombinations(groupWithoutX, k - 1);\n for (Set<Cover> combo : combosWithX) {\n combo.add(x);\n }\n allCombos.addAll(combosWithoutX);\n allCombos.addAll(combosWithX);\n return allCombos;\n }", "title": "" }, { "docid": "cd9bf5628434c59c82d06d79c0873699", "score": "0.48660406", "text": "private static List<String> selectOptions(List<String> optKeys) throws IOException\n\t{\n\n\t\tint numNEval = 20;\n\t\tMap<String, Double> optList = new HashMap<String, Double>();\n\t\tValueComparator bvcAux = new ValueComparator(optList);\n\t\tTreeMap<String, Double> sorted_opt = new TreeMap<String, Double>(bvcAux);\n\n\t\tint numNodes;\n\t\t// Identify repeated patterns in top categories\n\t\tString newoption;\n\t\tString[] pair = new String[2];\n\t\tfor (int n = 0; n < optKeys.size(); n++)\n\t\t{\n\t\t\tfor (int m = 0; m < n; m++)\n\t\t\t{\n\t\t\t\tpair[0] = optKeys.get(n);\n\t\t\t\tpair[1] = optKeys.get(m);\n\t\t\t\tnewoption = catUtils.longestAncestor(pair);\n\t\t\t\tif (optList.containsKey(newoption))\n\t\t\t\t{\n\t\t\t\t\toptList.put(newoption, ((Double) optList.get(newoption)) + 1.0);\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\toptList.put(newoption, new Double(1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tsorted_opt.putAll(optList);\n\n\t\t// Filter out just relevant patterns\n\t\tMap<String, Double> optList2 = new HashMap<String, Double>();\n\t\tValueComparator bvcAux2 = new ValueComparator(optList2);\n\t\tTreeMap<String, Double> sorted_opt2 = new TreeMap<String, Double>(bvcAux2);\n\t\tDouble numrepeat;\n\t\tSet<String> optKeys2 = sorted_opt.keySet();\n\t\tfor (String optKey : optKeys2)\n\t\t{\n\t\t\tnumNodes = catUtils.nodes(optKey);\n\t\t\tnumrepeat = optList.get(optKey);\n\t\t\tif (numNodes >= 4 && numrepeat > 3)\n\t\t\t{\n\t\t\t\tif (catUtils.last(optKey).length() > 1)\n\t\t\t\t{\n\t\t\t\t\tif (!optList2.containsKey(catUtils.take(optKey, numNEval)))\n\t\t\t\t\t{\n\t\t\t\t\t\toptList2.put(catUtils.take(optKey, numNEval), new Double(numNodes));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tsorted_opt2.putAll(optList2);\n\t\t// Present sorted pattern form most relevant to less relevant\n\t\tSet<String> sorted_optKeys2 = sorted_opt2.keySet();\n\t\tList<String> arrayOpt = new ArrayList<String>();\n\t\t// Add top 3\n\t\tint numtop;\n\t\tif (sorted_optKeys2.size() < 5)\n\t\t{\n\t\t\tnumtop = 5;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tnumtop = 4;\n\t\t}\n\t\tint numresults = 0;\n\t\tfor (int i = 0; i < optKeys.size(); i++)\n\t\t{\n\t\t\tif (numresults >= numtop)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t// String key = catUtils.init(optKeys.get(i));\n\t\t\tString key = optKeys.get(i);\n\t\t\tif (!arrayOpt.contains(key))\n\t\t\t{\n\t\t\t\tarrayOpt.add(key);\n\t\t\t\tnumresults++;\n\t\t\t}\n\t\t}\n\t\t// Add rest of the patterns\n\t\tfor (String key : sorted_optKeys2)\n\t\t{\n\t\t\tif (!arrayOpt.contains(key))\n\t\t\t{\n\t\t\t\tarrayOpt.add(key);\n\t\t\t}\n\t\t}\n\n\t\treturn arrayOpt;\n\n\t}", "title": "" }, { "docid": "1819309927d5eb2a94407a613179d95b", "score": "0.48567906", "text": "private void filterCandidateSet(ArrayList<ArrayList<Integer>> candidateSet ) {\n ArrayList<ArrayList<Integer>> tempFrequentItemSet1 = new ArrayList<ArrayList<Integer>>();\n /* A temporary array to store all combination one by one */\n for (ArrayList<Integer> candidate : candidateSet) {\n ArrayList<ArrayList<Integer>> combinationList = new ArrayList<ArrayList<Integer>>();\n findSubsets(candidate, candidate.size(), candidate.size() - 1, 0, new int[candidate.size() - 1], 0, combinationList);\n if ( allSubsetPresent(combinationList, frequentItemSet1)) {\n\n /* check the bucket list.\n for each bucket check if the combination is present */\n int count = 0;\n for (ArrayList<Integer> basket : baskets) {\n if(basket.containsAll(candidate)) {\n count++;\n if(count >= minSupport) {\n String data = \"\";\n ArrayList<Integer> tempFrequentItem = new ArrayList<>();\n for(int item = 0; item < candidate.size();item++) {\n tempFrequentItem.add(candidate.get(item));\n data +=map.get(candidate.get(item));\n if(item != (candidate.size() - 1)) {\n data += \",\";\n }\n }\n if(!tempFrequentItemSet1.contains(tempFrequentItem)) {\n tempFrequentItemSet1.add(tempFrequentItem);\n System.out.println(data);\n itemSet.add(data);\n }\n }\n }\n }\n }\n }\n frequentItemSet1 = new ArrayList<ArrayList<Integer>> (tempFrequentItemSet1);\n tempFrequentItemSet1.clear();\n\n }", "title": "" }, { "docid": "fd167426a06d21f5476f83ab4ece4215", "score": "0.4850351", "text": "private void dfs (Set<String> ans, String build, int le, int re, int balance, int index, String s) {\n if (le == 0 && re == 0 && balance == 0 && index == s.length()) {\n ans.add(build);\n }\n\n if (le < 0 || re < 0 || index >= s.length() || balance < 0) return;\n\n char c = s.charAt(index);\n\n if (c == '(') {\n dfs (ans, build, le - 1, re, balance, index + 1, s); // delete this\n dfs (ans, build + \"(\", le, re, balance + 1, index + 1, s); // add this\n }\n else if (c == ')') {\n dfs (ans, build, le, re - 1, balance, index + 1, s); // delete this\n dfs (ans, build + \")\", le, re, balance - 1, index + 1, s); // add this\n } else {\n //situation of other string\n dfs (ans, build + c, le, re, balance, index + 1, s);\n }\n }", "title": "" }, { "docid": "bf402a0b66958075ac631086b9d84c85", "score": "0.48332748", "text": "private void degenerate() {\n final double worst = Double.MIN_VALUE;//min possible value to test\n \n if (supply.length + demand.length - 1 != toList().size()) {\n \n for (int r = 0; r < supply.length; r++)\n for (int c = 0; c < demand.length; c++) {\n if (cellPath[r][c] == null) {\n Transport tmp = new Transport(worst, costs[r][c], r, c);\n if (pathFinder(tmp).length == 0) {\n \tcellPath[r][c] = tmp;\n return;//should work\n }\n }\n }\n }\n }", "title": "" }, { "docid": "19b528e4208b73b51e4ad510a21ba88f", "score": "0.48190096", "text": "private void looser(int n) {\n\t\tfor(String key:lost_to.keySet()) {\n\t\t\tif(lost_to.get(key).size() == n-1) {\n\t\t\t\tlooser = key;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "15ee5dd8cfaf89fba8cefcb764f43051", "score": "0.48144624", "text": "private boolean noSet() {\n\t\tint[] have = new int[256];\n\t\tfor (Card card : currentCards) {\n\t\t\thave[card.getBits()] = currentCards.indexOf(card);\n\t\t}\n\t\tfor (int i=0; i<currentCards.size(); i++) {\n\t\t\tfor (int j=i+1; j<currentCards.size(); j++) {\n\t\t\t\tint k = have[thirdCardBits(currentCards.get(i), currentCards.get(j))];\n\t\t\t\tif (k > j) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "title": "" }, { "docid": "9913b4790d4c5e6193bb925b7b3cf629", "score": "0.48140326", "text": "private static void comboCounter() {\n\t\tif (preHit && !sunkShip) // if the previous attack was a hit and not\n\t\t\t\t\t\t\t\t\t// sunk\n\t\t\tcombo *= THREE;\n\t\telse if (preHit && sunkShip) // if the previous attack sunk the ship\n\t\t\tcombo *= FIVE;\n\t\telse\n\t\t\tcombo = ONE; // if the current attack was a SUNK but the previous\n\t\t\t\t\t\t\t// attack was a MISS\n\t\t\t\t\t\t\t// or the current attack was a hit but the previous\n\t\t\t\t\t\t\t// was a MISS\n\t}", "title": "" }, { "docid": "ad1e13e0d9e2297a362e40e0736ffca6", "score": "0.4807406", "text": "private boolean r3() // Rule for testing for best practices\n {\n int c = 0 ;\n \n if(sq[0][0] == this.userSymbol)\n {\n c++ ;\n }\n \n if(sq[0][2] == this.userSymbol)\n {\n c++ ;\n }\n \n if(sq[2][0] == this.userSymbol)\n {\n c++ ;\n }\n \n if(sq[2][2] == this.userSymbol)\n {\n c++ ;\n }\n \n if(c > 1 && sq[1][1] == this.compSymbol)\n {\n if(sq[0][1] == -1)\n {\n sq[0][1] = this.compSymbol ;\n return true ;\n }\n else if(sq[1][0] == -1)\n {\n sq[1][0] = this.compSymbol ;\n return true ;\n }\n else if(sq[1][2] == -1)\n {\n sq[1][2] = this.compSymbol ;\n return true ;\n }\n else if(sq[2][1] == -1)\n {\n sq[2][1] = this.compSymbol ;\n return true ;\n }\n }\n \n // Two crosses at specific position to opponent and our in middle scenario\n \n if(sq[0][0] == this.userSymbol && sq[2][1] == this.userSymbol && sq[1][1] == this.compSymbol && sq[1][2] == -1)\n {\n sq[1][2] = this.compSymbol ;\n return true ;\n }\n else if(sq[2][0] == this.userSymbol && sq[1][2] == this.userSymbol && sq[1][1] == this.compSymbol && sq[0][1] == -1)\n {\n sq[0][1] = this.compSymbol ;\n return true ;\n }\n else if(sq[0][2] == this.userSymbol && sq[1][0] == this.userSymbol && sq[1][1] == this.compSymbol && sq[2][1] == -1)\n {\n sq[2][1] = this.compSymbol ;\n return true ;\n }\n else if(sq[2][2] == this.userSymbol && sq[0][1] == this.userSymbol && sq[1][1] == this.compSymbol && sq[1][0] == -1)\n {\n sq[1][0] = this.compSymbol ;\n return true ;\n }\n \n return false ;\n }", "title": "" }, { "docid": "5b3f104721fc9790274402a6b8e16a15", "score": "0.4806415", "text": "private String construccStringWithKDistinctApart(int[] nums, int k) {\n\n StringBuilder sb = new StringBuilder();\n\n HashMap<Character, Integer> map = new HashMap<>();\n\n map.put('a', nums[0]);\n map.put('b', nums[1]);\n map.put('c', nums[2]);\n\n PriorityQueue<Map.Entry<Character, Integer>> pq\n = new PriorityQueue<>(11, (a, b) -> (b.getValue() - a.getValue()));\n\n pq.addAll(map.entrySet());\n\n int len = nums[0] + nums[1] + nums[2];\n\n Map.Entry<Character, Integer> onHold = null;\n\n while (!pq.isEmpty()) {\n Map.Entry<Character, Integer> cur = pq.poll();\n\n sb.append(cur.getKey());\n\n\n if (onHold != null) {\n pq.add(onHold);\n onHold = null;\n }\n\n if (cur.getValue() > 1) {\n cur.setValue(cur.getValue() - 1);\n\n if (sb.length() >= (k - 1) && sb.charAt(sb.length() - (k - 1)) == cur.getKey()) {\n onHold = cur;\n } else {\n pq.add(cur);\n }\n }\n }\n\n return sb.toString();\n }", "title": "" }, { "docid": "c83b1d880914cf75e5ac3c0cf66b93be", "score": "0.48046133", "text": "public void checkConsume() {\n\t\tint tempSize = 0;\n\t\tfor (Organism x : this.getOrganisms()) {\n\t\t\ttempSize = this.size;\n\t\t\tfor (Organism z : this.getOrganisms()) {\n\t\t\t\tconsume(x, z);\n\t\t\t\tif (this.size < tempSize) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.size < tempSize) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "78edd2066bb73174e94ebe1f1022cdae", "score": "0.48020563", "text": "private boolean g()\r\n/* 192: */ {\r\n/* 193:221 */ return ((this.r.u > -1) && (this.r.u < a.size())) || (this.t.b().length() > 1);\r\n/* 194: */ }", "title": "" }, { "docid": "6befba9d238ad0f1521caf86d789b37c", "score": "0.48008034", "text": "private int[] checkMatches(Card[] combination) {\n int[] combo_value = new int[7]; // The current hand value\n int[] kicker; // The kickers in the hand\n \n int matches; // The amount of cards matching.\n int n, j;\n OUTER:\n // Figures out how many cards are matching in the combination of cards.\n for (int i = 0; i < combination.length; i++) {\n matches = 0;\n n = 0; // Tracks how many cards have been checked\n j = 1 + i; // The card being checked with the current card\n while (n < 4) {\n // If true, wrap around to the start.\n if (j >= combination.length) {\n j -= combination.length;\n }\n \n // If true, we have a match.\n if (combination[i].value == combination[j].value) {\n // If there is no previous matches, then there are now\n // two matches, otherwise just add one more match\n if (matches == 0) {\n matches = 2;\n } else {\n matches += 1 ;\n }\n }\n \n j++;\n n++;\n }\n // Figures out what type of hand you have based on your matches\n switch (matches) {\n case 4:\n // Four of a Kind\n combo_value[0] = four_of_a_kind;\n combo_value[1] = combination[i].value;\n kicker = findKicker(combination, combination[i].value, 0, 1);\n combo_value[3] = kicker[0];\n break OUTER;\n case 3:\n // If there is a pair already, it is a full house\n if (combo_value[0] == pair) {\n // Full House\n combo_value[0] = full_house;\n combo_value[2] = combo_value[1];\n combo_value[1] = combination[i].value;\n break OUTER;\n } else {\n // Three of a Kind\n combo_value[0] = three_of_a_kind;\n combo_value[1] = combination[i].value;\n kicker = findKicker(combination, combination[i].value, 0, 2);\n combo_value[3] = kicker[0];\n combo_value[4] = kicker[1];\n }\n break;\n case 2:\n // If there is a three of a kind already, it is a full house\n if (combo_value[0] == three_of_a_kind) {\n // Full House\n combo_value[0] = full_house;\n combo_value[2] = combination[i].value;\n break OUTER;\n } else if (combo_value[0] == pair) {\n // Checks to see if there is another pair, therefore it is a two pair\n if (combo_value[1] != combination[i].value) {\n // Two Pair\n combo_value[0] = two_pair;\n // Puts the two pairs in order\n if (combination[i].value > combo_value[1]) {\n combo_value[2] = combo_value[1];\n combo_value[1] = combination[i].value;\n } else {\n combo_value[2] = combination[i].value;\n } \n kicker = findKicker(combination, combo_value[1], combo_value[2], 1);\n combo_value[3] = kicker[0];\n break OUTER;\n }\n } else {\n // Pair\n combo_value[0] = pair;\n combo_value[1] = combination[i].value;\n kicker = findKicker(combination, combination[i].value, 0, 3);\n combo_value[3] = kicker[0];\n combo_value[4] = kicker[1];\n combo_value[5] = kicker[2];\n }\n break;\n default:\n // High Card\n if (combo_value[0] == 0 && combo_value[1] < combination[i].value) {\n combo_value[1] = combination[i].value;\n kicker = findKicker(combination, combination[i].value, 0, 4);\n combo_value[3] = kicker[0];\n combo_value[4] = kicker[1];\n combo_value[5] = kicker[2];\n combo_value[6] = kicker[3];\n } break;\n }\n }\n \n return combo_value;\n }", "title": "" }, { "docid": "e0ad7eb66c88fc245c1c74d7ede182a1", "score": "0.48007342", "text": "public static List<List<Integer>> combinations77(int n, int k) {\n List<List<Integer>> result = new ArrayList<List<Integer>>();\n if(k>n) return result; ///\n backTracking77(result, new ArrayList<>(), n,k, 1);\n return result;\n }", "title": "" }, { "docid": "b576c2533f99d8fa49255768accc2abd", "score": "0.4799459", "text": "boolean hasCombinator();", "title": "" }, { "docid": "66054f6569c2237ec22d6da6a47a3b65", "score": "0.4777889", "text": "private List<String> clumpFinding(String input, int L, int K, int t) {\n\t\tList<String> rto = new ArrayList<String>();\n\t\t\n\t\tint l0 = 0; \n\t\tint l1 = l0 + L;\n\n\t\t// Loop through windows of size L\n\t\twhile (l1 < input.length()) {\n\t\t\tString window = input.substring(l0, l1);\n\t\t\t\n\t\t\tint k0 = l0;\n\t\t\tint k1 = k0 + K;\n\t\t\t// Loop all possible patterns\n\t\t\twhile (k1 <= l1) {\n\t\t\t\tString pattern = input.substring(k0, k1);\n\t\t\t\t\n\t\t\t\tif (patternCount(window, pattern) >= t) {\n\t\t\t\t\tif (!rto.contains(pattern)) {\n\t\t\t\t\t\trto.add(pattern);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tk0++;\n\t\t\t\tk1++;\n\t\t\t}\n\t\t\tl0++;\n\t\t\tl1++;\n\t\t}\n\t\treturn rto;\n\t}", "title": "" }, { "docid": "192825972487d92a84410cf100720f48", "score": "0.4774058", "text": "private static String removeRatingFromFilter(String filter){\n int openBracketCount = 0;\n if (filter.charAt(0) == '(' && filter.charAt(filter.length() - 1) == ')'){\n for (int i = 0; i < filter.length() - 1; i++){\n if (filter.charAt(i) == '('){\n openBracketCount ++;\n }\n\n if (filter.charAt(i) == ')'){\n openBracketCount --;\n }\n\n if (openBracketCount == 0){\n break;\n }\n }\n }\n if (openBracketCount <= 0)\n System.out.println (String.format(\"%s expression do not have outer brackets\", filter));\n else\n System.out.println (String.format(\"%s expression have outer brackets\", filter));\n // Find all the expressions\n\n\n\n return \"\";\n }", "title": "" }, { "docid": "ebb0080df96bd73f7e0b27029a4e01de", "score": "0.47729093", "text": "public void dfsPablanInefficient(int index,\n String s,\n StringBuilder sequence,\n Set<String> result,\n int leftRem,\n int rightRem,\n int leftCount,\n int rightCount) {\n if(index == s.length()) {\n if(leftRem == 0 && rightRem == 0) {\n // This is a valid sequence\n result.add(sequence.toString());\n }\n } else {\n // Remove case\n if((s.charAt(index) == '(' && leftRem > 0) || (s.charAt(index) == ')') && rightRem > 0) {\n dfsPablanInefficient(index + 1,\n s,\n sequence,\n result,\n s.charAt(index) == '(' ? leftRem - 1 : leftRem,\n s.charAt(index) == ')' ? rightRem - 1 : rightRem,\n leftCount,\n rightCount);\n }\n\n // Append to create current Level\n sequence.append(s.charAt(index));\n\n // This decision part of the logic is needed... see this example\n // ()())( -> derived from ()())(), if you don't check that\n // leftCount > rightCount you will end up with such an expression\n // that's why we keep track of left count and right count\n\n if(s.charAt(index) != '(' && s.charAt(index) != ')') {\n // is not a parenthesis we simply expand dfs\n dfsPablanInefficient(index + 1, s, sequence, result, leftRem, rightRem, leftCount, rightCount);\n } else if(s.charAt(index) == '(') {\n dfsPablanInefficient(index + 1, s, sequence, result, leftRem, rightRem, leftCount + 1, rightCount);\n } else if(leftCount > rightCount) {\n dfsPablanInefficient(index + 1, s, sequence, result, leftRem, rightRem, leftCount, rightCount + 1);\n }\n\n // Remove current level for backtracking\n sequence.deleteCharAt(sequence.length() - 1);\n }\n }", "title": "" }, { "docid": "d07c2921217c0d802b491be4c6f741aa", "score": "0.4768981", "text": "public List<String> removeInvalidParentheses(String s) {\n Queue<String> queue = new LinkedList();\n List<String> ans = new ArrayList();\n //Start BFS with string\n queue.add(s);\n Set<String> visited = new HashSet();\n visited.add(s);\n while (!queue.isEmpty()){\n String t = queue.poll();\n //Check if string is valid.\n if(isValid(t)){\n //Add to answer\n ans.add(t);\n }\n //If a valid string is found, then we need not BFS lower length strings\n if(ans.isEmpty()){\n for(int i=0;i<t.length();i++){\n //Remove ith character and add to stack. Only remove ith character if it is a bracket\n if(!Character.isAlphabetic(t.charAt(i))&&!visited.contains(t.substring(0,i)+t.substring(i+1))) {\n queue.add(t.substring(0, i) + t.substring(i + 1));\n visited.add(t.substring(0, i) + t.substring(i + 1));\n }\n }\n }\n }\n return ans;\n }", "title": "" }, { "docid": "a3327d3e7789761959d62229ed183423", "score": "0.47645098", "text": "public static void keepOnlyCompositeNumbers( List<Integer> nums )\r\n {\nboolean checker=false;\n//make a for loop which traverses the array \nfor(int i=0; i<nums.size();i++){\n//make a for loop which goes through each value from 2 to the current index and constantly checks that checker is false \nfor(int j=2; j<nums.get(i) && !checker;j++){\n//check whether it has any factors (besides 1 and itself)... if it does, set checker to true \nif(nums.get(i)%j==0)\nchecker=true;\n//end nested for loop\n}\n//check if checker is still false\nif(!checker){\n//if so remove the current index and decrement the current index by 1 (to compensate for missing index)\nnums.remove(i);\ni--;\n }\n//else\nelse\n//reset checker to false \nchecker=false; \n//end for loop \n }\n//end method :)\r\n }", "title": "" }, { "docid": "1a6199462d73f23b2d459b8a55c0b075", "score": "0.47587198", "text": "private int checkPatterns(Board gameBoard, String[] directions, int player) {\n\n\t\tint fourMe = 0;\n\t\tint fourYou = 0;\n\t\tint openThreeMe = 0;\n\t\tint openThreeYou = 0;\n\t\tint openTwoMe = 0;\n\t\tint openTwoYou = 0;\n\n\t\tchar me = (player == 1) ? gameBoard.getPlayer1Char() : gameBoard.getPlayer2Char();\n\t\tchar you = (player == 1) ? gameBoard.getPlayer2Char() : gameBoard.getPlayer1Char();\n\t\tchar no = gameBoard.getNoPlayerChar();\n\n\t\t//list of possible open two combinations\n\t\tString a = \"\" + no + me + me;\n\t\tString b = \"\" + me + me + no;\n\t\tString c = \"\" + me + no + me;\n\t\tString d = \"\" + no + you + you;\n\t\tString e = \"\" + you + you + no;\n\t\tString f = \"\" + you + no + you;\n\n\t\t//list of possible open three combinations\n\t\tString g = \"\" + me + no + me + me;\n\t\tString h = \"\" + me + me + no + me;\n\t\tString j = \"\" + no + me + me + me;\n\t\tString k = \"\" + me + me + me + no;\n\t\tString l = \"\" + you + no + you + you;\n\t\tString m = \"\" + you + you + no + you;\n\t\tString n = \"\" + no + you + you + you;\n\t\tString o = \"\" + you + you + you + no;\n\n\t\t//list of possible four combinations\n\t\tString p = \"\" + me + me + me + me;\n\t\tString q = \"\" + you + you + you + you;\n\n\t\t//go through strings of particular direction and check for occurrences of combinations above\n\t\tfor (int i = 0; i < gameBoard.getBoardSize(); i++) {\n\t\t\tString direction = new String (directions[i]);\n\n\t\t\t//check for four in a rows\n\t\t\tif (direction.contains(p)) fourMe++;\n\t\t\telse if (direction.contains(q)) fourYou++;\n\n\t\t\t//check for open three in a rows\n\t\t\telse if (direction.contains(g)) openThreeMe++;\n\t\t\telse if (direction.contains(h)) openThreeMe++;\n\t\t\telse if (direction.contains(j)) openThreeMe++;\n\t\t\telse if (direction.contains(k)) openThreeMe++;\n\t\t\telse if (direction.contains(l)) openThreeYou++;\n\t\t\telse if (direction.contains(m)) openThreeYou++;\n\t\t\telse if (direction.contains(n)) openThreeYou++;\n\t\t\telse if (direction.contains(o)) openThreeYou++;\n\n\t\t\t//check for open two in a rows\n\t\t\telse if (direction.contains(a + \".\") || direction.contains(\".\" + a)) openTwoMe++;\n\t\t\telse if (direction.contains(b + \".\") || direction.contains(\".\" + b)) openTwoMe++;\n\t\t\telse if (direction.contains(c + \".\") || direction.contains(\".\" + c)) openTwoMe++;\n\t\t\telse if (direction.contains(d + \".\") || direction.contains(\".\" + d)) openTwoYou++;\n\t\t\telse if (direction.contains(e + \".\") || direction.contains(\".\" + e)) openTwoYou++;\n\t\t\telse if (direction.contains(f + \".\") || direction.contains(\".\" + f)) openTwoYou++;\n\t\t}\n\n\t\t//return utility\n\t\treturn 10 * (fourMe - fourYou) + 3 * (openThreeMe - openThreeYou) + (openTwoMe - openTwoYou);\n\t}", "title": "" }, { "docid": "61fea4d04e8c6b89e5d7024223f68c37", "score": "0.47542918", "text": "@Test\n public void test() {\n long bestNumRectangles = 0;\n for (int i = 1; tr(i) < 2 * N; i++)\n for (int j = 1; true; j++) {\n long numRectangles = tr(i) * tr(j);\n if (numRectangles >= 2 * N)\n break;\n if (Math.abs(numRectangles - N) < Math.abs(bestNumRectangles - N)) {\n bestNumRectangles = numRectangles;\n ans = i * j;\n }\n }\n check(2772);\n }", "title": "" }, { "docid": "c9f027890c6f93e3b9419041b6d750de", "score": "0.47541156", "text": "public int longestValidParentheses(String s) {\n if (s.length() == 0) {\n return 0;\n }\n\n // translate the brackets into 1 and -1\n List<Integer> trans_data = new ArrayList<>(Arrays.asList());\n for (char c : s.toCharArray()) {\n if (c == '(') {\n trans_data.add(1);\n } else {\n trans_data.add(-1);\n }\n }\n\n // while loop to merge pairs\n boolean merged = true;\n while (merged) {\n merged = false;\n List<Integer> stack = new ArrayList<>(Arrays.asList());\n List<Integer> new_trans_data = new ArrayList<>(Arrays.asList());\n\n for (int elem : trans_data) {\n if (elem == 1) {\n if (stack.isEmpty()) {\n stack.add(elem);\n } else {\n new_trans_data.addAll(stack);\n stack.clear();\n stack.add(elem);\n }\n } else if (elem == -1) {\n if (!stack.isEmpty() && stack.get(0) == 1) {\n stack.add(elem);\n if (stack.size() == 2) {\n new_trans_data.add(2);\n } else {\n new_trans_data.add(stack.get(1) + 2);\n }\n stack.clear();\n merged = true;\n } else {\n new_trans_data.addAll(stack);\n stack.clear();\n new_trans_data.add(elem);\n }\n } else {\n if (!stack.isEmpty() && stack.get(stack.size() - 1) > 1) {\n stack.set(stack.size() - 1, stack.get(stack.size() - 1) + elem);\n } else {\n stack.add(elem);\n }\n }\n }\n\n if (!stack.isEmpty()) {\n new_trans_data.addAll(stack);\n }\n trans_data = new_trans_data;\n\n }\n\n // return the max value only if max value >= 2, otherwise they are single brackets (-1 or 1)\n int ans = 0;\n for (int i : trans_data) {\n if (i > ans) {\n ans = i;\n }\n }\n if (ans >= 2) {\n return ans;\n } else {\n return 0;\n }\n }", "title": "" }, { "docid": "d23dee9697b907e24c9bc689c1742456", "score": "0.47524497", "text": "private int getWinCombination(int combinationNumber, int posY, int posX) {\n if (combinationNumber < fieldSize) { // strings\n if (posY == combinationNumber) {\n return BELONGS_TO_WIN_COMBINATION;\n }\n return DOESNT_BELONG_TO_WIN_COMBINATION;\n }\n if (combinationNumber >= fieldSize && combinationNumber < (fieldSize * 2)) { // columns\n if ((posX + fieldSize) == combinationNumber) {\n return BELONGS_TO_WIN_COMBINATION;\n }\n return DOESNT_BELONG_TO_WIN_COMBINATION;\n }\n if (combinationNumber == (fieldSize * 2) && posX == posY) { // diagonals\n return BELONGS_TO_WIN_COMBINATION;\n }\n if (combinationNumber == (fieldSize * 2 + 1) && posX == (fieldSize - posY - 1)) {\n return BELONGS_TO_WIN_COMBINATION;\n }\n return DOESNT_BELONG_TO_WIN_COMBINATION;\n }", "title": "" }, { "docid": "5c139c7c5e8463917ef70d230a85d2b1", "score": "0.47479993", "text": "private boolean twoPieces(int f) {\n\t\tfor(int i=0;i<=t.length-1;i++){\r\n\t\t\tif(t[i][0]==t[i][1]&&t[i][0]==f&&t[i][2]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,i,2));return true;\r\n\t\t\t}else if(t[i][0]==t[i][2]&&t[i][0]==f&&t[i][1]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,i,1));return true;\r\n\t\t\t}else if (t[i][1]==t[i][2]&&t[i][1]==f&&t[i][0]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,i,0));return true;\r\n\t\t\t}else if(t[0][i]==t[1][i]&&t[0][i]==f&&t[2][i]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,2,i));return true;\r\n\t\t\t}else if (t[0][i]==t[2][i]&&t[0][i]==f&&t[1][i]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,1,i));return true;\r\n\t\t\t}else if(t[1][i]==t[2][i]&&t[1][i]==f&&t[0][i]==0){\r\n\t\t\t\tb.dropPiece(new PieceLocation(-1,0,i));return true;\r\n\t\t\t}\t\t\t\r\n\t\t}\r\n\t\tif (t[0][0]==t[1][1]&&t[0][0]==f&&t[2][2]==0){\r\n\t\t\tb.dropPiece(new PieceLocation(-1,2,2));return true;\r\n\t\t}else if(t[1][1]==t[2][2]&&t[1][1]==f&&t[0][0]==0){\r\n\t\t\tb.dropPiece(new PieceLocation(-1,0,0));return true;\r\n\t\t}else if(t[0][2]==t[1][1]&&t[0][2]==f&&t[2][0]==0){\r\n\t\t\tb.dropPiece(new PieceLocation(-1,2,0));return true;\r\n\t\t}else if (t[1][1]==t[2][0]&&t[1][1]==f&&t[0][2]==0){\r\n\t\t\tb.dropPiece(new PieceLocation(-1,0,2));return true;\r\n\t\t}else{\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "ff3974fadddd68347507d4f239a3e77b", "score": "0.4730188", "text": "private void secondPass() {\n int distinctItems = reader.getDistinctItem();\n /* Size of the triangular array will need 2 (m * m) bytes */\n int [] traingularArray = new int[ 2 * ((int) Math.pow( frequentItemSet.size(), 2)/ Integer.BYTES) + 10];\n for (List<Integer> basket : baskets) {\n for(int i = 0; i < basket.size() - 1; i++) {\n if(! frequentItemSet.containsKey(basket.get(i)) ){\n continue;\n }\n for(int j = i + 1; j < basket.size(); j++) {\n if(!frequentItemSet.containsKey(basket.get(j))) {\n continue;\n }\n else {\n ArrayList<Integer> item = new ArrayList<>();\n item.add(basket.get(i));\n item.add(basket.get(j));\n int k = 0;\n int firstItem= frequentItemSet.get(item.get(0));\n int secondItem = frequentItemSet.get(item.get(1));\n if(firstItem < secondItem) {\n k = (firstItem - 1 ) * ( frequentItemSet.size() - (firstItem/2) ) + secondItem - firstItem;\n }\n else if(secondItem > firstItem )\n {\n k = (secondItem - 1 ) * ( frequentItemSet.size() - (secondItem/2) ) + firstItem - secondItem;\n }\n traingularArray[ k ]++;\n if(traingularArray[k] >= minSupport) {\n Collections.sort(item);\n String key = map.get(item.get(0)) + \",\" + map.get(item.get(1));\n if(!itemSet.contains(key)) {\n System.out.println(key);\n itemSet.add(key);\n }\n if(!frequentItemSet1.contains(item)) {\n frequentItemSet1.add(item);\n }\n }\n }\n }\n }\n }\n frequentItemSet = null;\n itemQuantity = null;\n itemSet.clear();\n\n if(frequentItemSet1.size() > 1) {\n findCandidateSet();\n }\n }", "title": "" }, { "docid": "19c43a2f192b5fc4b603ef5ea865e6b4", "score": "0.47239414", "text": "public static StringBuilder cleanDoubledBrackets(StringBuilder inp) {if(inp.length()<5) return inp;\r\n StringBuilder res = inp;\r\n int index1;\r\n for (int pp = 0; pp < res.length(); pp++) {\r\n index1 = res.indexOf(\"((\", pp); if (index1==-1) break;\r\n int indexC = res.indexOf(\")\", index1 + 2);\r\n int indexO = res.indexOf(\"(\", index1 + 2);\r\n if ((indexC < indexO) || (indexO == -1)) {\r\n if ((indexC + 1 < res.length()) && (res.charAt(indexC + 1) == ')')) {\r\n res.deleteCharAt(indexC);\r\n res.deleteCharAt(index1);\r\n pp--;\r\n }\r\n } else {\r\n int counter = 1;\r\n for (int k = indexO + 1; k < res.length(); k++) {\r\n char charK = res.charAt(k);\r\n if (charK == '(') {\r\n counter++;\r\n } else {\r\n if (charK == ')') {\r\n counter--;\r\n }\r\n }\r\n if (counter == -1) {\r\n if ((k + 1 < res.length()) && (res.charAt(k + 1) == ')')) {\r\n res.deleteCharAt(k);\r\n res.deleteCharAt(index1);\r\n pp--;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n // удалим скобки в которых нет операций + -, а перед ними нет функции и если после скобок нет шапочки или штриха\r\n // нужно сохранить скобки при \"(y^5)^6\" \r\n // и нужно сохранить \\sin([х])\r\n int pp = -1;\r\n b:\r\n while (pp < res.length()) {\r\n int index = res.indexOf(\"(\", pp);\r\n if (index == -1) {return res;}\r\n// int indexSB = res.indexOf(\"[\", index); //удаляем ([ ]), т.е. с вектора снимаем круглые скобки.\r\n// if (indexSB != -1) {\r\n// int tmp_bl = index + 1;\r\n// int ttt = res.charAt(tmp_bl);\r\n// while ((tmp_bl < indexSB) && ((ttt == ' ') || (ttt == '\\n'))) {\r\n// tmp_bl++;\r\n// }\r\n// if (res.charAt(tmp_bl) == '[') {\r\n// int posPareSB = posOfPareBracket(res, indexSB, '[', ']');\r\n// int temp = posPareSB + 1;\r\n// if ((posPareSB != -1) && (temp < res.length())) {\r\n// ttt = res.charAt(temp);\r\n// while ((temp < res.length()) && ((ttt == ' ') || (ttt == '\\n'))) {\r\n// temp++;\r\n// ttt = res.charAt(temp);\r\n// }\r\n// if (ttt == ')') {\r\n// res.deleteCharAt(temp);\r\n// res.deleteCharAt(index);\r\n// return res;\r\n// }\r\n// }\r\n// }\r\n// }\r\n int posPare = posOfPareBracket(res, index, '(', ')');\r\n int tmp_i = posPare + 1;\r\n while ((tmp_i < res.length()) && (res.charAt(tmp_i) == ' ')) {\r\n tmp_i++;\r\n }\r\n if ((tmp_i < res.length()) && (((res.charAt(tmp_i) == '^') || (res.charAt(tmp_i) == '\\'')))) {\r\n pp = index + 1;\r\n continue b;\r\n }\r\n int k = index + 1;\r\n while (k < posPare) {\r\n char charK = res.charAt(k);\r\n if ((charK == '+') || (charK == '-')) {\r\n pp = index + 1;\r\n continue b;\r\n } else {\r\n if (charK == '(') {\r\n k = posOfPareBracket(res, k, '(', ')') + 1;\r\n } else {\r\n k++;\r\n }\r\n }\r\n }\r\n int indexBackSlash = res.lastIndexOf(\"\\\\\", index);\r\n if (indexBackSlash == -1 && posPare != -1 &&\r\n (!((index>1)&&(res.charAt(index-1)=='{')&&(res.charAt(index-2)=='^')))) // <- показатель производной сохраняем в скобках\r\n {\r\n res.deleteCharAt(posPare);\r\n res.deleteCharAt(index);\r\n pp = index; \r\n } else {\r\n int indexO = res.indexOf(\"(\", indexBackSlash);\r\n int indexFB = res.indexOf(\"{\", indexBackSlash);\r\n int posPareFB = (indexFB == -1) ? (-1) : posOfPareBracket(res, indexFB, '{', '}');\r\n int indexO2 = (posPareFB == -1) ? (-1) : res.indexOf(\"(\", posPareFB);\r\n if ((((indexO2 != -1) && (indexO2 < index)) || ((index < posPareFB) && (index > indexFB))\r\n || ((indexO < index) && ((indexO < indexFB) || (indexFB == -1))) ) &&\r\n (!((index>1)&&(res.charAt(index-1)=='{')&&(res.charAt(index-2)=='^'))) ) // <- показатель производной сохраняем в скобках\r\n {\r\n res.deleteCharAt(posPare);\r\n res.deleteCharAt(index);\r\n pp = index;\r\n } else {\r\n pp = index + 1;\r\n }\r\n }\r\n }\r\n if(res.charAt(0)=='(') {int posStart = posOfPareBracket(res, 0, '(', ')');\r\n if(res.length()-1==posStart){ res.deleteCharAt(0);res.deleteCharAt(posStart);}\r\n }// удаление первой и парной последней скобки\r\n return (res);\r\n }", "title": "" }, { "docid": "27542bd498214ec1b6b1ae5de378b9f5", "score": "0.47226167", "text": "private void dfs(List<String> result, String s, int leftUnmatch, int rightUnmatch, int index) {\n if (leftUnmatch == 0 && rightUnmatch == 0 && isValid(s)) {\n result.add(s);\n return;\n }\n\n for (int i = index; i < s.length(); i++) {\n if (i != index && s.charAt(i) == s.charAt(i - 1)) {\n continue;\n }\n\n // delete current character to form a new string\n String tempStr = s.substring(0, i) + s.substring(i + 1);\n\n // if we still have quota for deleting left parentheses or right parentheses, try next dfs recursion\n if (leftUnmatch > 0 && s.charAt(i) == '(') {\n // since we already -1 for next recursion index, we DO NOT need to use i+1 as parameter for next recursion\n dfs(result, tempStr, leftUnmatch - 1, rightUnmatch, i);\n }\n else if (rightUnmatch > 0 && s.charAt(i) == ')') {\n dfs(result, tempStr, leftUnmatch, rightUnmatch - 1, i);\n }\n }\n }", "title": "" }, { "docid": "337cb879fca567a41a7162e6cac93f56", "score": "0.4717629", "text": "public void eliminateStrategy(Map<String, ArrayList<Integer>> gridValues) {\r\n\t\tString[] tempBoxes = grid.getBoxes();\r\n\t\tfor (int i = 0; i < tempBoxes.length; i++) { // tempBoxes.length\r\n\t\t\tif(gridValues.get(tempBoxes[i]).size()==1) {\r\n\t\t\t\tint temp = gridValues.get(tempBoxes[i]).get(0);\r\n\t\t\t\tfor(String[] lists : grid.getPeersMap().get(tempBoxes[i])) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t//prints each value from row_unit, col_unit and box_unit\r\n\t\t\t\t\tfor (int j = 0; j < lists.length; j++) {\r\n\t\t\t\t\t\t//if(tempBoxes[i].equals(\"A3\")) {\r\n\t\t\t\t\t\t//System.out.println(\"E: \"+tempBoxes[i]+\" \"+CopyGridValues.get(lists[j]) +\" \"+lists[j]);\r\n\t\t\t\t\t\t//if(gridValues.get(lists[j]).size()>1) { //FOR SOME REASON THIS ALGORITHM WANTS TO DELETE FROM EMPTY FIELDS SO THIS IS NEEDED\r\n\t\t\t\t\t\t\tgridValues.get(lists[j]).remove(new Integer(temp));\r\n\t\t\t\t\t\t//}\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t//}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "95cbb859009c3739a15e8ceb302531de", "score": "0.4714664", "text": "private List<Chosen> initFewerChosenList( ){\n\t\tList<Chosen> chosenList = new ArrayList<Chosen>();\n\t\t\n\t\tfor(int notChosenIdx1 = 1 ; notChosenIdx1 <= n;notChosenIdx1++){\n\t\t\tfor(int notChosenIdx2 = 1 ; notChosenIdx2 <= n;notChosenIdx2++){\n\t\t\t\t//一个chose, 去除n选2的选择\n\t\t\t\tif( notChosenIdx1 != notChosenIdx2){\n\t\t\t\t\tChosen chosen = new Chosen();\n\t\t\t\t\tfor( int lineNume = 1 ; lineNume <= n;lineNume++){\n\t\t\t\t\t\tif( lineNume != notChosenIdx1 &&\n\t\t\t\t\t\t\tlineNume != notChosenIdx2)\n\t\t\t\t\t\t\tchosen.addLine(lineNume);\n\t\t\t\t\t}\n\t\t\t\t\tchosen.cal(pairs);\n\t\t\t\t\tchosenList.add(chosen);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn chosenList;\n\t}", "title": "" }, { "docid": "5054189f87d598b0957fdc0ebeb57878", "score": "0.46994248", "text": "public static int Main()\n\t{\n\t\tint n;\n\t\tint k;\n\t\tint i;\n\t\tint j;\n\t\tint l;\n\t\tint maxc = 0;\n\t\tint x = 0;\n\t\tString c = new String(new char[501]);\n\t\tchar[][] strout = new char[501][5];\n\t\tint[] a = new int[501]; //???????????\n\t\tfor (i = 0; i < 501; i++)\n\t\t{\n\t\t\ta[i] = 1; //???????????? ??????1\n\t\t}\n\t\tn = Integer.parseInt(ConsoleInput.readToWhiteSpace(true));\n\t\tc = ConsoleInput.readToWhiteSpace(true).charAt(0);\n\t\tk = c.length(); //??????????\n\t\tString p = c; //??????? ?????????\n\t\tfor (j = 0; j <= k - n; j++)\n\t\t{\n\t\t\tfor (l = j + 1; l <= k - n; l++)\n\t\t\t{\n\t\t\t\tfor (i = 0; i < n; i++) //???????\n\t\t\t\t{\n\t\t\t\t\tif (*(p.Substring(j) + i) == *(p.Substring(l) + i)) //??i+1?????????????\n\t\t\t\t\t{\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (i >= n) //????break??? ??????????\n\t\t\t\t{\n\t\t\t\t\ta[j]++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (i = 0;i < k - n; i++)\n\t\t{\n\t\t\tif (a[i] >= maxc)\n\t\t\t{\n\t\t\t\tmaxc = a[i];\n\t\t\t}\n\t\t}\n\t\tfor (i = 0;i < k - n; i++)\n\t\t{\n\t\t\tif (a[i] >= maxc) //???????????? ???? ??????????????\n\t\t\t{\n\t\t\t\tfor (j = 0;j < n; j++)\n\t\t\t\t{\n\t\t\t\t\tstrout[x][j] = (p.Substring(i) + j);\n\t\t\t\t}\n\t\t\t\tx++;\n\t\t\t}\n\t\t}\n\t\tif (maxc == 1) //??????? ??NO\n\t\t{\n\t\t\tSystem.out.print(\"NO\");\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t\telse\n\t\t{\n\t\t\tSystem.out.print(maxc);\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\tfor (i = 0; i < x; i++)\n\t\t\t{\n\t\t\t\tfor (j = 0;j < n; j++)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(strout[i][j]);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "f5d92e90eedebdfeea8820cc40734f42", "score": "0.46974498", "text": "static void minimumBribes(int[] q) {\n int bribeCount = 0;\n boolean isChaotic = false;\n\n for(int i =0; i < q.length; i++){\n if(q[i] - (i+1) >2){\n isChaotic = true;\n break;\n }\n for(int j= Math.max(0,q[i] -2); j < i; j++){\n System.out.println(\"Printing value of ::\" +i );\n if(q[j] > q[i]){\n bribeCount++;\n }\n }\n\n }\n if(isChaotic){\n System.out.println(\"Too chaotic\");\n }else{\n System.out.println(bribeCount);\n }\n }", "title": "" }, { "docid": "3394b99dea06e5b1824d69281d1a857f", "score": "0.46803004", "text": "private String gameWon() {\n for(int row = 0; row < 6; row++) {\n if(numR[row] >= 4) {\n String last = null; \n int count = 1; \n int largestCount = 1; \n for(int i = 0; i < 7; i++ ) {\n String str = this.board[row][i]; \n if (count == 3 && i != 6) {\n String next = this.board[row][i + 1]; \n if (next != null && str != null) {\n if (str.equals(next)) {\n return str; \n }\n }\n }\n if (str == null) {\n last = str; \n count = 1; \n } else {\n if (str.equals(last)) {\n count++; \n } else {\n last = str; \n count = 1; \n }\n }\n if (count > largestCount) { largestCount = count; numR[row] = largestCount; }\n if (count == 4) { return str; }\n }\n }\n }\n for(int col = 0; col < 7; col++) {\n if(numC[col] >= 4) {\n String last = null; \n int count = 1; \n int largestCount = 1; \n for(int i = 0; i < 6; i++ ){\n String str = this.board[i][col]; \n if (str == null) {\n last = str; \n count = 1; \n } else {\n if (str.equals(last)) {\n count++; \n } else {\n last = str; \n count = 1; \n }\n }\n if (count > largestCount) { largestCount = count; numC[col] = largestCount; }\n if (count == 4) { return str; }\n }\n }\n }\n for(int c = -2; c <=3; c++) {\n String last = null; \n int count = 1; \n int largestCount = 1; \n for(int r = 0; r < 6; r++) {\n if (c + r < 0 || c + r > 6) { continue; }\n String str = board[r][c + r]; \n if (str == null) { \n count = 1; \n last = null; \n } else {\n if (str.equals(last)) {\n count++; \n } else {\n last = str; \n count = 1; \n }\n }\n if (count > largestCount) { largestCount = count; }\n if (count == 4) { return str; }\n }\n }\n for(int c = 8; c >= 3; c--) {\n String last = null; \n int count = 1; \n int largestCount = 1; \n for(int r = 0; r < 6; r++) {\n if (c - r > 6 || c - r < 0) { last = null; continue; }\n String str = board[r][c-r]; \n if (str == null) {\n count = 1; \n last = null; \n } else {\n if (str.equals(last)) {\n count++; \n } else {\n last = str; \n count = 1; \n }\n }\n if (count > largestCount) { largestCount = count; }\n if (count == 4) { return str; }\n }\n }\n return null; \n }", "title": "" }, { "docid": "44d6c72ed644b4a264ad8950070f605c", "score": "0.4671125", "text": "void noMoreBagsToCollect();", "title": "" }, { "docid": "e9bb26b644ba34cfcca0bb599fc13ed2", "score": "0.46677682", "text": "static void processSequence(int openBracketsCount, int closeBracketsCount) {\n\tif (openBracketsCount + closeBracketsCount == 2 * n) {\n\t // at this point we've formed a correct sequence, incrementing\n\t // result\n\t numberOfCorrectSequences++;\n\t return;\n\t}\n\n\tif (openBracketsCount < n)\n\t // if '('-brackets are available, than adding '('\n\t processSequence(openBracketsCount + 1, closeBracketsCount);\n\n\tif (openBracketsCount > closeBracketsCount)\n\t // if current sequence can be closed 'correctly', than adding ')'.\n\t // Note: in this way of rules we are generating ONLY correct\n\t // sequences\n\t processSequence(openBracketsCount, closeBracketsCount + 1);\n\n\treturn;\n\n }", "title": "" }, { "docid": "41d73470782b86e0fc1c4711aaf88102", "score": "0.46677428", "text": "private void combinations(int len, int fileCount){\n ArrayList<String> resources= new ArrayList<>(timeHarMap.keySet());\n System.out.println(\"Número resources \" + resources.size());\n Set<Set<String>> combinations = Sets.combinations(ImmutableSet.copyOf(resources), len);\n Set r;\n StringBuffer line = new StringBuffer();\n Iterator combIterator = combinations.iterator();\n System.out.println(\"Número combinações \" + combinations.size());\n int i = 0;\n while (combIterator.hasNext()){\n r = (Set) combIterator.next();\n\n line.setLength(0);\n Iterator lineIterator = r.iterator();\n while(lineIterator.hasNext()){\n if(line.length()>0) line.append(\",\");\n line.append(lineIterator.next().toString());\n }\n\n ProcessCombinationModel combinationInfo= new ProcessCombinationModel();\n combinationInfo.combination = line.toString();\n calculateStatistics(combinationInfo,fileCount);\n if(i++%100000==0) System.out.println(\"Comb \" + i);\n }\n }", "title": "" }, { "docid": "19607aa2b91f79a8cc758462d2578009", "score": "0.46658823", "text": "@Override\n\tpublic int chooseNum(TreeSet<Integer> avail) {\n\t\tif (findOptimal == false){\n\t\t\tList<Integer> choices = new ArrayList<Integer>();\n\t\t\tsolve(avail,0,0,choices);\n\t\t}\n\t\t\n\t\t//Get the next number in the sequence and remove it\n\t\tint currentChoice = bestChoice.get(0);\n\t\tbestChoice.remove(0);\n\t\t\n\t\treturn currentChoice;\n\t}", "title": "" }, { "docid": "fdf95543230d1be7db7a16820df2ca81", "score": "0.46631432", "text": "public void removeImpossibleRCs(int numMutable, int strandMut[][]){\n\n boolean done = false;\n\n while( !done ){//We iterate until no more RCs can be removed\n\n done = true;\n \n int numAAtypes[] = new int[numMutable];\n \n boolean prunedRCs[][][][] = new boolean[numberOfStrands][][][];//Which RCs should be removed\n for(int str=0; str<numberOfStrands; str++)\n prunedRCs[str] = new boolean[m.strand[str].numberOfResidues][strandRot[str].rl.getNumAAallowed()][];\n\n int ctr=0;\n for(int str=0;str<strandMut.length;str++){ //the number of AAs allowed for each AS residue\n for(int i=0;i<strandMut[str].length;i++){\n numAAtypes[ctr] = strandRot[str].getNumAllowable(strandMut[str][i]);\n ctr++;\n }\n }\n\n for (int curPos=0; curPos<numMutable; curPos++){\n int str=mutRes2Strand[curPos];\n int strResNum=strandMut[str][mutRes2StrandMutIndex[curPos]];\n Residue res = m.strand[str].residue[strResNum];\n\n for (int AA=0; AA<numAAtypes[curPos]; AA++){\n int curAA = strandRot[str].getIndexOfNthAllowable(strResNum,AA);\n\n //find how many rotamers are allowed for the current AA type at the given residue;\n //note that ala and gly have 0 possible rotamers\n int numRCForCurAAatPos = getNumRot( str, strResNum, curAA );\n\n prunedRCs[str][strResNum][curAA] = new boolean[numRCForCurAAatPos];\n\n for(int curRC=0; curRC<numRCForCurAAatPos; curRC++){\n\n prunedRCs[str][strResNum][curAA][curRC] = false;\n\n for (int altPos=0; altPos<numMutable; altPos++){\n\n if( altPos != curPos ){\n\n int str2=mutRes2Strand[altPos];\n int strResNum2=strandMut[str2][mutRes2StrandMutIndex[altPos]];\n\n boolean prune = true;\n Residue res2 = m.strand[str2].residue[strResNum2];\n \n for (int AA2=0; AA2<numAAtypes[altPos]; AA2++){\n int altAA = strandRot[str2].getIndexOfNthAllowable(strResNum2,AA2);\n\n //find how many rotamers are allowed for the current AA type at the given residue;\n //note that ala and gly have 0 possible rotamers\n int numRCForCurAAatPos2 = getNumRot( str2, strResNum2, altAA );\n\n\n for(int altRC=0; altRC<numRCForCurAAatPos2; altRC++){\n\n if( ! isParametricallyIncompatible(res, curAA, curRC, res2, altAA, altRC))\n prune = false;\n }\n }\n\n prunedRCs[str][strResNum][curAA][curRC] = prunedRCs[str][strResNum][curAA][curRC] || prune;\n }\n }\n\n if(prunedRCs[str][strResNum][curAA][curRC])\n done = false;\n }\n }\n }\n\n\n for(int str=0; str<numberOfStrands; str++)\n ((StrandRCs)strandRot[str]).removeRCs(prunedRCs[str]);\n }\n }", "title": "" }, { "docid": "0a1be1c0336a7d664179c4e424d4ceb0", "score": "0.46602437", "text": "public void a(int paramInt)\r\n/* 233: */ {\r\n/* 234:394 */ paramInt = MathUtils.clamp(paramInt, 3, 32);\r\n/* 235:395 */ if (paramInt == this.g) {\r\n/* 236:396 */ return;\r\n/* 237: */ }\r\n/* 238:398 */ int j = paramInt - this.g;\r\n/* 239: */ \r\n/* 240:400 */ ArrayList<qw> localArrayList = Lists.newArrayList(this.c);\r\n/* 241:401 */ for (qw localqw : localArrayList)\r\n/* 242: */ {\r\n/* 243:402 */ int k = (int)localqw.xPos >> 4;\r\n/* 244:403 */ int m = (int)localqw.zPos >> 4;\r\n/* 245: */ int n;\r\n/* 246: */ int i1;\r\n/* 247:405 */ if (j > 0) {\r\n/* 248:406 */ for (n = k - paramInt; n <= k + paramInt; n++) {\r\n/* 249:407 */ for (i1 = m - paramInt; i1 <= m + paramInt; i1++)\r\n/* 250: */ {\r\n/* 251:408 */ qr localqr = a(n, i1, true);\r\n/* 252:410 */ if (!qr.b(localqr).contains(localqw)) {\r\n/* 253:411 */ localqr.a(localqw);\r\n/* 254: */ }\r\n/* 255: */ }\r\n/* 256: */ }\r\n/* 257: */ } else {\r\n/* 258:416 */ for (n = k - this.g; n <= k + this.g; n++) {\r\n/* 259:417 */ for (i1 = m - this.g; i1 <= m + this.g; i1++) {\r\n/* 260:418 */ if (!a(n, i1, k, m, paramInt)) {\r\n/* 261:419 */ a(n, i1, true).b(localqw);\r\n/* 262: */ }\r\n/* 263: */ }\r\n/* 264: */ }\r\n/* 265: */ }\r\n/* 266: */ }\r\n/* 267:426 */ this.g = paramInt;\r\n/* 268: */ }", "title": "" }, { "docid": "93161b57788577525a4b2fa125b64265", "score": "0.46600524", "text": "private void removeInvalidFromPool()\r\n\t{\r\n\t\tint i;\r\n\t\tint size_mature_pool;\r\n\t\tint idx_to_remove;//index of an chromosome which has to be removed\r\n\t\tDiffEvolutionError error_cur;//object of the current error\r\n\t\tdouble[] max_error;\r\n\t\t\r\n\t\tsize_mature_pool = _pool_of_bests.size();\r\n\t\t\r\n\t\t//if the maturity pool is full and none of the genotypes could be removed above because of module outputs\r\n\t\t//then remove one of the oldest individuals according to the errors\r\n\t\tif(_pool_of_bests.size()==_size_pool_of_bests)\r\n\t\t{\r\n\t\t\t//simply take the worst genotype if all have errors below the threshold\r\n\t\t\tif(_best_idx_previous!=0)\r\n\t\t\t{\r\n\t\t\t\tidx_to_remove = 0;\r\n\t\t\t\tmax_error = _pool_of_bests.get(idx_to_remove)._error.getAverageError();\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tidx_to_remove = 1;\r\n\t\t\t\tmax_error = _pool_of_bests.get(idx_to_remove)._error.getAverageError();\r\n\t\t\t}\r\n\t\t\tfor(i=0; i<size_mature_pool; i++)\r\n\t\t\t{\r\n\t\t\t\tif(i!=_best_idx_previous)//previously found best genotype cannot be removed\r\n\t\t\t\t{\r\n\t\t\t\t\terror_cur = _pool_of_bests.get(i)._error;\r\n\t\t\t\t\tif(error_cur.isWorse(max_error)==true)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tmax_error = error_cur.getAverageError();\r\n\t\t\t\t\t\tidx_to_remove = i;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//check consistency\r\n\t\t\tif(idx_to_remove==_best_idx_previous)\r\n\t\t\t{\r\n\t\t\t\tSystem.err.println(\"DiffEvolutionMature.findBest: best previous genotype cannot be removed\");\r\n\t\t\t\tSystem.exit(1);\r\n\t\t\t}\r\n\t\t\telse if(idx_to_remove < _best_idx_previous)//correct index of the previous best genotype\r\n\t\t\t{\r\n\t\t\t\t_best_idx_previous--;\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\t//everything is fine\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t_pool_of_bests.remove(idx_to_remove);\r\n\t\t}//is maturity pool full?\r\n\t}", "title": "" }, { "docid": "9085c661ea666c2c29ca94a68d3b77d6", "score": "0.46537703", "text": "public static void main(String[] args) {\n\t\tInteger in = 11;\n\t\twhile( in > 1 ) {\n\t\t\tif( in%2 != 0 && (in >> 1)%2 != 0)\n\t\t\t\tSystem.out.println( true );\n\t\t\tin = in >> 1;\n\t\t}\n\t\t\n\t\t/*\n\t\t * Problem 2: Compute the smallest string possible by removing all instances of any one char\n\t\t * String should be the smallest one possible.\n\t\t */\n\t\tString str = \"\";\n\t\tHashMap<Character, Integer> map = new HashMap<>();\n\t\tchar maxChar = 'a';\n\t\tint maxCount = 0, newCount = 0;\n\t\tfor( char c : str.toCharArray() ) {\n\t\t\tif( map.containsKey(c) ) {\n\t\t\t\tmap.put(c, map.get(c) + 1 );\n\t\t\t\t\n\t\t\t}\n\t\t\telse {\n\t\t\t\tmap.put(c, 1);\n\t\t\t}\n\t\t\tnewCount = map.get(c);\n\t\t\tif( newCount > maxCount ) {\n\t\t\t\tmaxCount = newCount;\n\t\t\t\tmaxChar = c;\n\t\t\t}\n\t\t}\n\t\t\n\t\t/*\n\t\t * Problem 3: Calculate total of substrings of S containing \n\t\t * both Strings A and B \n\t\t */\n\t\t\n\t\tString[] newStr = str.split(\"c\");\n\t\tString resultStr = \"\";\n\t\tfor( String tStr : newStr ) {\n\t\t\tresultStr.concat( tStr );\n\t\t}\n\t\tSystem.out.println( resultStr );\n\t\t\n\t\t\n\t\tString a = \"c\", b = \"\", s = \"\";\n\t\tint totalCount = 0;\n\t\tfor( int i = 0; i < a.length(); i++ ) {\n\t\t\tfor( int j=i+1; j < b.length(); j++ ) {\n\t\t\t\tString newSubStr = s.substring(i, j);\n\t\t\t\tif ( newSubStr.contains(a) && newSubStr.contains(b) )\n\t\t\t\t\ttotalCount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(totalCount);\n\n\t}", "title": "" }, { "docid": "93a48c6f01e5bcdc5907cc54cae02309", "score": "0.46522623", "text": "static int knapSack(int W, int wt[], int val[], int n) {\n\t\tif(n == 0 || W == 0) {\n\t\t\treturn 0;\n\t\t}\n\t\t// If the last element of the weights array is greater than the target weight, then we do not select that Weight\n\t\tif(wt[n-1]>W) {\n\t\t\treturn knapSack(W,wt,val,n-1);\n\t\t}\n\t\t// Else we select the maximum weight out of the tow condition, whether including it or not including it.\n\t\telse {\n\t\t\treturn Math.max(val[n-1] + knapSack(W - wt[n-1], wt, val, n - 1) , knapSack(W, wt, val, n-1)); \n\t\t}\n\t}", "title": "" }, { "docid": "e0977d2762139af5a706b0231284b834", "score": "0.46491355", "text": "static void doo(String s, int k){\n\n if(!check(s,k)){\n System.out.print(-1);\n return;\n }\n\n\n Set<Character> set = new HashSet<>();\n set.clear();\n// aabacbebebe\n\n int n=s.length();\n int i=0;\n int mx = -1;\n\n for(i=0; i<n; i++){\n int c=0;\n for (int j=i; j<n; j++) {\n char ch = s.charAt(j);\n\n\n if(set.size()<k){\n set.add(ch);\n }\n else if(set.size()==k && set.contains(ch)){\n set.add(ch);\n }\n else{\n j=n;\n continue;\n }\n c++;\n // System.out.print(ch);\n mx = Math.max(mx, c);\n }\n // System.out.println();\n\n set.clear();\n }\n\n System.out.println(mx);\n\n\n }", "title": "" }, { "docid": "facaca0041507b8d47ca992e67f24a44", "score": "0.4644437", "text": "private boolean multSol () {\n\t\tint n = 0;\n\t\tfor (int i = 0; i < 9; i++) {\n\t\t\tfor (int j = 0; j < 9; j++) {\n\t\t\t\tif (srcBoard.getCell(i,j) != null && srcBoard.getCell(i,j).equals(0)) {\n\t\t\t\t\t//if a cell in the original puzzle is empty\n\t\t\t\t\tfor (int k = 1; k < 10; k++) {\n\t\t\t\t\t\t//loop through all possible numbers for this cell\n\t\t\t\t\t\tboard.copy(srcBoard);\n\t\t\t\t\t\tboard.setCell(i,j,k, true);\n\t\t\t\t\t\tif (!board.contains(i, j, k) && solvable()) {\n\t\t\t\t\t\t\t//count all possible solutions for numbers in this cell\n\t\t\t\t\t\t\tn++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (n > 1) {\n\t\t\t\t\t\t//if there is more than one possible solution, return true\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\tboard.setCell(i,j,0,false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//if after testing all possible numbers for all empty cells there is not more than one solution, return false\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9a7aa11fd89940443138015b0285dcde", "score": "0.46297425", "text": "private int[] checkStraight(Card[] combination) {\n int[] combo_value = new int[7];\n boolean s = true; // True if the combination is a straight.\n // Checks that the next card is the next card in order.\n for (int i = 0; i < combination.length-1; i++) {\n if (combination[i].value != combination[i+1].value+1) {\n s = false;\n break;\n }\n }\n \n if (s) {\n combo_value[0] = straight;\n combo_value[1] = combination[0].value;\n combo_value[3] = combination[1].value;\n combo_value[4] = combination[2].value;\n combo_value[5] = combination[3].value;\n combo_value[6] = combination[4].value;\n }\n \n return combo_value;\n }", "title": "" }, { "docid": "4087291f4585b8afcb7e88be8b07c4b4", "score": "0.4619857", "text": "public int findChainCombination()\n {\n // Get the combinations count\n int combinationsCount = Core.getInstance().getPreSetCombinations().getChainCombinationsCount();\n // Don't allow redundant combinations\n int combinationId;\n do\n {\n // Find a random combination id\n combinationId = MathUtils.random(0, combinationsCount - 1);\n } while(combinationId == lastChainCombinationId);\n // Return the chain combination\n return (lastChainCombinationId = combinationId);\n }", "title": "" }, { "docid": "ec57e48c153f6122d1659237b81fe380", "score": "0.46178296", "text": "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\r\n\t\tint N = Integer.parseInt(br.readLine());\r\n\t\tint[][] arr = new int[N][N];\r\n\t\tint[][][] chk = new int[N][N][2];\r\n\t\tStringTokenizer st;\r\n\t\tfor(int i = 0; i < N; i++)\r\n\t\t{\r\n\t\t\tst = new StringTokenizer(br.readLine());\r\n\t\t\tfor(int j = 0; j < N; j++)\r\n\t\t\t{\r\n\t\t\t\tarr[i][j] = Integer.parseInt(st.nextToken());\r\n\t\t\t\tif(i != 0 || j != 0) Arrays.fill(chk[i][j], Integer.MAX_VALUE);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\tQueue<Pair> q = new LinkedList<Pair>();\r\n\t\tq.offer(new Pair(0, 0, 0));\r\n\t\tint size = 0;\r\n\t\twhile(!q.isEmpty())\r\n\t\t{\r\n\t\t\tsize = q.size();\r\n\t\t\twhile(--size >= 0)\r\n\t\t\t{\r\n\t\t\t\tPair p = q.poll();\r\n\t\t\t\tif(p.x == N - 1 && p.y == N - 1) continue;\r\n\t\t\t\tif(p.y + 1 < N)\r\n\t\t\t\t{\r\n\t\t\t\t\tint sub = (arr[p.x][p.y] <= arr[p.x][p.y + 1] ? arr[p.x][p.y + 1] - arr[p.x][p.y] + 1 : 0);\r\n\t\t\t\t\tif(chk[p.x][p.y+1][1] > chk[p.x][p.y][p.d] + sub)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchk[p.x][p.y + 1][1] = chk[p.x][p.y][p.d] + sub;\r\n\t\t\t\t\t\tq.offer(new Pair(p.x, p.y + 1, 1));\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif(p.x + 1 < N)\r\n\t\t\t\t{\r\n\t\t\t\t\tint sub = (arr[p.x][p.y] <= arr[p.x+1][p.y] ? arr[p.x+1][p.y] - arr[p.x][p.y] + 1 : 0);\r\n\t\t\t\t\tif(chk[p.x+1][p.y][0] > chk[p.x][p.y][p.d] + sub)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tchk[p.x+1][p.y][0] = chk[p.x][p.y][p.d] + sub;\r\n\t\t\t\t\t\tq.offer(new Pair(p.x+1, p.y, 0));\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\tSystem.out.println(Math.min(chk[N-1][N-1][0], chk[N-1][N-1][1]));\r\n\t}", "title": "" }, { "docid": "846ef5eb95babe331928e360ff565835", "score": "0.46161655", "text": "public void findHandValue(ArrayList<Card[]> combinations) {\n int[] combo_value;\n \n for (Card[] combination : combinations) {\n int[] f = checkFlush(combination); // Check if it is a flush\n int[] s = checkStraight(combination); // Check if it is a straight\n // Check first if it is a royal flush, or a straight flush\n // If it isn't, then check for the other \n if (f[0] > 0 && s[0] > 0) {\n if (s[1] == 14 && f[1] == 14) {\n combo_value = s;\n combo_value[0] = royal_flush;\n } else {\n combo_value = s;\n combo_value[0] = straight_flush;\n }\n } else {\n int[] m = checkMatches(combination);\n if (f[0] > m[0]) {\n combo_value = f;\n } else if (s[0] > m[0]) {\n combo_value = s;\n } else {\n combo_value = m;\n }\n }\n \n \n // Checks if the combination is the best combination the player has.\n for (int val = 0; val < hand_value.length; val++) {\n if (combo_value[val] > hand_value[val]) {\n hand_value = combo_value;\n hand_cards = combination;\n } else if (combo_value[val] != hand_value[val]) {\n break;\n }\n }\n }\n }", "title": "" }, { "docid": "9c0dd4e9d96ef30840da4d6beaf990ef", "score": "0.4613829", "text": "void removeAllBadPairs() {\n\t\tArrayList<String> toBeRemoved = new ArrayList<String>();\n\t\tfor(String pair: listOfPairs) {\n\t\t\tString fp = pair.split(\",\")[0];\n\t\t\tString sp = pair.split(\",\")[1];\n\t\t\t// if both have parent, remove the pair\n\t\t\tif(tree.contains(fp) && tree.getNode(fp).hasParent()) {\n\t\t\t\tif(tree.contains(sp) && tree.getNode(sp).hasParent()) {\n\t\t\t\t\ttoBeRemoved.add(pair);\n\t\t\t\t\t//\tSystem.out.println(\"removed \"+pair);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tlistOfPairs.removeAll(toBeRemoved);\n\t}", "title": "" }, { "docid": "8b9ea58d35cfc7b6e795e7b6cbd8fab6", "score": "0.46133274", "text": "static void displayPathtoPrincess(int q, char[][] grid){\n Queue<String> ans = new LinkedList<String>();\n Queue<Integer> x = new LinkedList<Integer>();\n Queue<Integer> y = new LinkedList<Integer>();\n if(grid[startx][starty] == 'd') {\n \tSystem.out.println(\"CLEAN\");\n \treturn;\n }\n boolean[][] visited = new boolean[m][n];\n visited[startx][starty] = true;\n x.add(startx);\n y.add(starty);\n ans.add(\"\");\n while(x.size() != 0) {\n int xx = x.remove();\n int yy = y.remove();\n String tmp = ans.remove();\n if(grid[xx][yy] == 'd') {\n System.out.println(tmp.split(\"\\n\")[0]);\n return;\n }\n int[] xxx = {0,1,0,-1};\n int[] yyy = {1,0,-1,0};\n Vector<Integer> rand = new Vector<Integer>();\n HashSet<Integer> set = new HashSet<Integer>();\n while(rand.size() != 4) {\n \tint temp = (int)(Math.random()*4);\n \tif(set.add(temp))\n\t \trand.add(temp);\n }\n for(Integer r : rand) {\n \tint i = (int)r;\n if(xx+xxx[i] >= 0 && xx+xxx[i] < m && yy+yyy[i] >= 0 && yy+yyy[i] < n)\n if(!visited[xx+xxx[i]][yy+yyy[i]]) {\n visited[xx+xxx[i]][yy+yyy[i]] = true;\n x.add(xx+xxx[i]);\n y.add(yy+yyy[i]);\n if(xxx[i] == 0) {\n if(yyy[i] == 1)\n ans.add(tmp+\"RIGHT\\n\");\n if(yyy[i] == -1)\n ans.add(tmp+\"LEFT\\n\");\n }\n if(yyy[i] == 0) {\n if(xxx[i] == 1)\n ans.add(tmp+\"DOWN\\n\");\n if(xxx[i] == -1)\n ans.add(tmp+\"UP\\n\");\n }\n }\n }\n }\n }", "title": "" }, { "docid": "ceeddaba736bad7f1a68bc646fc56169", "score": "0.46050575", "text": "void solve(){\n int t=ii();\n int a=ii(),b=ii();\n for(int tc=0;tc<t;tc++)\n {\n String s=is();\n if(s.charAt(0)=='A')\n {\n char num=s.charAt(1);\n int A=0;\n for(int i=a;i<=b;i++)\n {\n char c[]=String.valueOf(i).toCharArray();\n if(c.length>2)\n {\n boolean ans=true;\n if(c[0]==num)\n {\n for(int j=2;j<c.length;j++)\n if(c[j]!=num)\n {\n ans=false;\n break;\n }\n }\n else if(c[0]!=num || !ans)\n {\n ans=false;\n for(int j=1;j<c.length;j++)\n if(c[j]!=num)\n {\n ans=false;\n break;\n }\n }\n if(ans)\n A++;\n }\n }\n out.println(A);\n }\n else if(s.charAt(0)=='C')\n {\n int num=Integer.parseInt(s.substring(s.length()-1));\n int rep=Integer.parseInt(s.substring(1, s.length()-1));\n int v=0;\n for(int i=a;i<=b;i++)\n {\n String km=String.valueOf(i);\n String pat=String.valueOf(num);\n for(int ii=0;ii<rep;ii++)\n pat=pat.concat(pat);\n if(km.contains(pat))\n v++;\n }\n out.println(v);\n }\n else\n {\n int count=0;\n for(int i=0;i<s.length();i++)\n if(s.charAt(i)=='W')\n count++;\n out.println((long)Math.pow(10, count));\n }\n }\n }", "title": "" }, { "docid": "64d7d6473d14ff47ec62fcb39fd9c514", "score": "0.46027413", "text": "public String evaluate(ArrayList<String> myStatements, ArrayList<Wire[]> wireSpots){\r\n ArrayList<String> tempList = new ArrayList<String>();\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"(\")){\r\n myStatements.remove(i);\r\n if(myStatements.get(i-1).equals(\"!\")||myStatements.get(i-1).equals(\"~\")){\r\n tempList.add(myStatements.get(i-1));\r\n myStatements.remove(i-1);\r\n i--;\r\n }\r\n int there = 0;\r\n while(!myStatements.get(i).equals(\")\") || there!=0){\r\n if(myStatements.get(i).equals(\"(\"))\r\n there++;\r\n if(there!=0&&myStatements.get(i).equals(\")\"))\r\n there--;\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.remove(i);\r\n int currSize=tempList.size();\r\n boolean turnary = false;\r\n if(i<myStatements.size()){\r\n if(myStatements.get(i).equals(\"?\"))\r\n turnary=true;\r\n }\r\n else{\r\n for(int l=0;l<currSize;l++){\r\n if(tempList.get(l).equals(\">=\")||tempList.get(l).equals(\"<=\")||\r\n tempList.get(l).equals(\">\")||tempList.get(l).equals(\"<\")||\r\n tempList.get(l).equals(\"==\")||tempList.get(l).equals(\"!=\"))\r\n turnary=true;\r\n }\r\n }\r\n if(turnary){\r\n while(!myStatements.get(i).equals(\"?\"))\r\n i++;\r\n for(int j=0;j<4;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n }\r\n myStatements.add(i,parens(tempList,wireSpots));\r\n for(int j=i+1;j<myStatements.size();j++){\r\n try{\r\n int newNum = Integer.parseInt(myStatements.get(j));\r\n newNum = newNum-1;\r\n myStatements.remove(j);\r\n myStatements.add(j,\"\"+newNum);\r\n }\r\n catch(NumberFormatException e){}\r\n }\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"*\")){\r\n i--;\r\n for(int j = 0; j < 3; j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.add(i,multiplier(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i = 0; i < myStatements.size(); i++){\r\n if(myStatements.get(i).equals(\"+\")){\r\n i--;\r\n for(int j = 0; j < 3; j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n if(i <= myStatements.size()-1){\r\n if(myStatements.get(i).equals(\"+\")){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n }\r\n myStatements.add(i,adder(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"-\")){\r\n i--;\r\n for(int j = 0; j < 3; j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.add(i,subtractor(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"&\")||myStatements.get(i).equals(\"&&\")){\r\n i--;\r\n int size=3;\r\n if(myStatements.get(i).equals(\"~\")){\r\n size=4;\r\n i--;\r\n }\r\n for(int j=0;j<size;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n if(tempList.size()==3)\r\n myStatements.add(i,and(tempList,wireSpots));\r\n else if(tempList.size()==4)\r\n myStatements.add(i,nand(tempList,wireSpots));\r\n for(int j=i+1;j<myStatements.size();j++){\r\n try{\r\n int newNum = Integer.parseInt(myStatements.get(j));\r\n newNum = newNum-1;\r\n myStatements.remove(j);\r\n myStatements.add(j,\"\"+newNum);\r\n }\r\n catch(NumberFormatException e){}\r\n }\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"|\")||myStatements.get(i).equals(\"||\")){\r\n i--;\r\n int size=3;\r\n if(myStatements.get(i).equals(\"~\")){\r\n size=4;\r\n i--;\r\n }\r\n for(int j=0;j<size;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n if(tempList.size()==3)\r\n myStatements.add(i,or(tempList,wireSpots));\r\n else if(tempList.size()==4)\r\n myStatements.add(i,nor(tempList,wireSpots));\r\n for(int j=i+1;j<myStatements.size();j++){\r\n try{\r\n int newNum = Integer.parseInt(myStatements.get(j));\r\n newNum = newNum-1;\r\n myStatements.remove(j);\r\n myStatements.add(j,\"\"+newNum);\r\n }\r\n catch(NumberFormatException e){}\r\n }\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"^\")){\r\n i--;\r\n int size=3;\r\n if(myStatements.get(i).equals(\"~\")){\r\n size=4;\r\n i--;\r\n }\r\n for(int j=0;j<size;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n if(tempList.size()==3)\r\n myStatements.add(i,xor(tempList,wireSpots));\r\n else if(tempList.size()==4)\r\n myStatements.add(i,xnor(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"{\")){\r\n myStatements.remove(i);\r\n while(!myStatements.get(i).equals(\"}\")){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.remove(i);\r\n myStatements.add(i,concatenate(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\">\")){\r\n i--;\r\n for(int j=0;j<4;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.add(i,bitShiftR(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"<\")){\r\n i--;\r\n for(int j=0;j<4;j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n myStatements.add(i,bitShiftL(tempList,wireSpots));\r\n tempList.clear();\r\n }\r\n }\r\n for(int i=0;i<myStatements.size();i++){\r\n if(myStatements.get(i).equals(\"=\")){\r\n i--;\r\n for(int j = 0; j < 3; j++){\r\n tempList.add(myStatements.get(i));\r\n myStatements.remove(i);\r\n }\r\n String action = equalSign(tempList,wireSpots);\r\n if(action.equals(\"0\"))\r\n return \"\";\r\n else\r\n return \"\"+action;\r\n }\r\n }\r\n return\"\"+myStatements.get(0);\r\n }", "title": "" }, { "docid": "c20fc96b6e4fc67433638e419c8ebc6a", "score": "0.45986474", "text": "public ArrayList<Integer> checkIfOrderPossible(String color, int order) {\n ArrayList<Integer> result = new ArrayList<>();\n if (order <= 0) {\n System.out.println(\"Invalid Input for order\");\n return result;\n }\n try {\n stack = new Stack<>();\n stackSum = 0;\n Paint paintRequired = null;\n int x = 0;\n for (Paint paint : goods) {\n\n if (paint.getColor().equalsIgnoreCase(color)) {\n paintRequired = paint;\n break;\n }\n x++;\n }\n \n if (paintRequired==null){\n System.out.print(\"Invalid input for color\");\n return result;\n }\n \n // calling helper method to check if target order can be obtained or not\n subset(paintRequired.getCans(), 0, paintRequired.getCans().size(), order);\n\n if (stackSum != order) {\n System.out.println(\"Not possible to fulfill an order of \" + order + \" liter(s) of \" + paintRequired.getColor() + \" paint with current inventory.\");\n\n } else {\n\n ArrayList<Integer> removeCans = new ArrayList<>();\n\n System.out.print(\"Checked out the following cans to fulfill the order of \" + order + \" liter(s) of \" + paintRequired.getColor() + \" paint: [\");\n while (!stack.isEmpty()) {\n int num = stack.pop();\n removeCans.add(num);\n System.out.print(num);\n\n if (!stack.isEmpty()) {\n System.out.print(\",\");\n\n }\n\n }\n System.out.println(\"]\");\n //Calling remove method to remove checked out paint cans\n removeFromInventory(x, removeCans);\n result = removeCans;\n }\n\n } catch (Exception e) {\n System.err.println(e.getMessage());\n }\n return result;\n }", "title": "" }, { "docid": "b49ae8a147b1f0cd492a0bdb75cc0969", "score": "0.4598453", "text": "int blockPlayerWin() {\n int equalCount = 0;\n int emptyI = 0, emptyJ = 0;\n // fieldSize * 2 for rows and columns , 2 more for diagonals\n int winCombinationsNumber = fieldSize * 2 + 2;\n for (int k = 0; k < winCombinationsNumber; k++) {\n equalCount = 0;\n for (int i = 0; i < fieldSize; i++)\n for (int j = 0; j < fieldSize; j++) {\n if (fieldArray[i][j] == playerMark\n && (getWinCombination(k, i, j) == BELONGS_TO_WIN_COMBINATION)) {\n equalCount++; // count number of player marks , that belong to win combination\n }\n if ((fieldArray[i][j] == EMPTY_MARK)\n && (getWinCombination(k, i, j) == BELONGS_TO_WIN_COMBINATION)) {\n emptyI = i; // coordinates of empty cell , that belongs to win combination\n emptyJ = j;\n }\n\n if ((fieldArray[i][j] == aIMark)\n && (getWinCombination(k, i, j) == BELONGS_TO_WIN_COMBINATION)) {\n j = fieldSize; // already non-win combination\n i = fieldSize; // check next combination\n equalCount = 0;\n }\n }\n if (equalCount == (fieldSize - 1)) {\n return (emptyI * fieldSize + emptyJ); // cell number\n }\n }\n return NOTHING_TO_PREVENT;\n }", "title": "" }, { "docid": "de7ab71ec9f43f726f618df54ca9dadf", "score": "0.45881742", "text": "public List<String> removeInvalidParentheses(String s) {\n int leftUnmatch = 0;\n int rightUnmatch = 0;\n for (char c : s.toCharArray()) {\n if (c == '(') {\n leftUnmatch++;\n }\n else if (c == ')') {\n if (leftUnmatch == 0) {\n rightUnmatch++;\n }\n else {\n leftUnmatch--;\n }\n }\n }\n\n System.out.println(leftUnmatch + \" \" + rightUnmatch);\n List<String> result = new ArrayList<>();\n dfs(result, s, leftUnmatch, rightUnmatch, 0);\n return result;\n }", "title": "" }, { "docid": "d727241da6a0774137e6f2c81c1a3225", "score": "0.4584714", "text": "public void lastlooptest(){\n if(loopNumber<10) {\n //remenber which position have been selected and selected it from index of groupChoice\n String[] keepChoice=new String[3]; // save three wrong choice\n int selectedUsed = 0; // check keepChoice have been used or not\n Random random = new Random();\n int choiceRandom = random.nextInt(4);\n ButtomCorrectPosition = choiceRandom;\n String presentCorrectAnswer=Choice.get(loopNumber);\n if(allChoice.containsKey(Choice.get(loopNumber))){ // check whether map have this key\n Choice.set(loopNumber,allChoice.get(presentCorrectAnswer)); // delete the index value and add new value to the indexx\n //Choice[loopNumber]=allChoice.get(presentCorrectAnswer);\n }\n String lastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n char[] last = lastChar.toCharArray();\n if(lastChar.equals(\"1\")){\n for(int i=2;i<5;i++) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer=presentCorrectAnswer.concat(Integer.toString(i)); //concatenate string\n if(allChoice.containsKey(presentCorrectAnswer)){\n keepChoice[i-2]=allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n }\n String AgainlastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last= AgainlastChar.toCharArray(); //set new last\n }\n }else if(lastChar.equals(\"2\")) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer = presentCorrectAnswer.concat(\"1\"); //concatenate string\n if (allChoice.containsKey(presentCorrectAnswer)) {\n keepChoice[0] = allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n String AgainlastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last= AgainlastChar.toCharArray(); //set new last\n }\n for (int i = 3; i < 5; i++) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer = presentCorrectAnswer.concat(Integer.toString(i)); //concatenate string\n if (allChoice.containsKey(presentCorrectAnswer)) {\n keepChoice[i - 2] = allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n }\n String AgainlastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last= AgainlastChar.toCharArray(); //set new last\n }\n }else if(lastChar.equals(\"3\")) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer = presentCorrectAnswer.concat(\"4\"); //concatenate string\n if (allChoice.containsKey(presentCorrectAnswer)) {\n keepChoice[0] = allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n String AgainlastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last= AgainlastChar.toCharArray(); //set new last\n }\n for (int i =1; i < 3; i++) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer = presentCorrectAnswer.concat(Integer.toString(i)); //concatenate string\n if (allChoice.containsKey(presentCorrectAnswer)) {\n keepChoice[i] = allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n }\n String AgainlastChar=presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last= AgainlastChar.toCharArray(); //set new last\n }\n }else if(lastChar.equals(\"4\")) {\n for (int i = 3; i > 0; i--) {\n if (presentCorrectAnswer.charAt(presentCorrectAnswer.length() - 1) == last[0]) {// delete the last character\n presentCorrectAnswer = presentCorrectAnswer.substring(0, presentCorrectAnswer.length() - 1);\n\n presentCorrectAnswer = presentCorrectAnswer.concat(Integer.toString(i)); //concatenate string\n if (allChoice.containsKey(presentCorrectAnswer)) {\n keepChoice[3 - i] = allChoice.get(presentCorrectAnswer);// save the wronng choice to keepChoice array\n }\n }\n String AgainlastChar = presentCorrectAnswer.substring(presentCorrectAnswer.length() - 1);// get the last character\n last = AgainlastChar.toCharArray(); //set new last\n }\n }\n if (choiceRandom == 0) {\n bone.setText(Choice.get(loopNumber));\n //bone.setBackgroundColor(Color.GREEN);\n } else {\n bone.setText(keepChoice[selectedUsed]);\n ++selectedUsed;\n }\n if (choiceRandom == 1) {\n btwo.setText(Choice.get(loopNumber));\n } else {\n btwo.setText(keepChoice[selectedUsed]);\n ++selectedUsed;\n }\n if (choiceRandom == 2) {\n bthree.setText(Choice.get(loopNumber));\n } else {\n bthree.setText(keepChoice[selectedUsed]);\n ++selectedUsed;\n }\n if (choiceRandom == 3) {\n bfour.setText(Choice.get(loopNumber));\n } else {\n bfour.setText(keepChoice[selectedUsed]);\n }\n play(loopNumber);\n loopNumber++;\n }else{\n Intent intent=new Intent(this,score.class);\n intent.putExtra(\"Testscore\",score);\n intent.putExtra(\"cateid\",cateid);\n intent.putExtra(\"lessonid\", lessonid);\n startActivity(intent);\n //Toast.makeText(this,\"....Finished....\",Toast.LENGTH_LONG).show();\n }\n }", "title": "" }, { "docid": "961cf91f5ace3ae5ccd9babcf8b2af14", "score": "0.45785385", "text": "static void printExceptNumOfMultiplyBy7(int x){\r\n for(int i=1; i<x; i++){\r\n if(i%7==0)\r\n continue;\r\n System.out.print(i + \" \");\r\n }\r\n }", "title": "" }, { "docid": "77cf1094bc6f71565f659a4ff3ead1fb", "score": "0.45772496", "text": "public String minRemoveToMakeValidV4(String s) {\n int left = 0;\n int right = 0;\n for (char ch : s.toCharArray()) {\n if (ch == ')') {\n right++;\n }\n }\n\n StringBuilder res = new StringBuilder();\n for (char ch : s.toCharArray()) {\n if (ch == '(') {\n if (left == right) {\n /**\n * It means current ch '(' is illegal, because left-bracket counts have matched out.\n * We need to skip it.\n */\n continue;\n }\n left++;\n } else if (ch == ')') {\n right--;\n if (left == 0) {\n /**\n * It means current ch ')' is illegal, because there is no left-bracket to match with it.\n * We need to skip it.\n */\n continue;\n }\n left--;\n }\n res.append(ch);\n }\n return res.toString();\n }", "title": "" }, { "docid": "a1e7444871fefcc50941122ae68434e8", "score": "0.45745102", "text": "protected static long getNextCombination(long x) {\n // Assume in the annotations that x has form x'01^a10^b\n long u = x & -x; // extract rightmost bit 1; u = 0'00^a10^b\n long v = u + x; // set last non-trailing bit 0, and clear to the right; v = x'10^a00^b\n if (v == 0) { // then overflow in v, or x == 0\n return -1; // signal that next k-combination cannot be represented\n }\n x = v + (((v ^ x) / u) >> 2); // v^x = 0'11^a10^b, (v^x)/u = 0'0^b1^{a+2}, and x ← x'100^b1^a\n return x;\n }", "title": "" }, { "docid": "2d49e89b01ff93a71c0d24b524b5afbf", "score": "0.4570648", "text": "public int findSimpleCombination()\n {\n // Get the combinations count\n int combinationsCount = Core.getInstance().getPreSetCombinations().getSimpleCombinationsCount();\n // Don't allow redundant combinations\n int combinationId;\n do\n {\n // Find a random movement (different from 0 as its the default static movement)\n combinationId = MathUtils.random(0, combinationsCount - 1);\n } while(combinationId == lastSimpleCombinationId);\n // Return the simple combination\n return (lastSimpleCombinationId = combinationId);\n }", "title": "" }, { "docid": "f66fc657c159852c246a8e65727e3f48", "score": "0.45685813", "text": "@Test\r\n\t@SuppressWarnings(\"unchecked\")\r\n\tpublic void probarCombinacionesDeNumeros() {\n\t\tIterable<Integer> centenas = Resetable2IterableAdapter.createFrom(IntegerRangeIterator.create(0, 2));\r\n\t\tIterable<Integer> decenas = Resetable2IterableAdapter.createFrom(IntegerRangeIterator.create(0, 2));\r\n\t\tIterable<Integer> unidades = Resetable2IterableAdapter.createFrom(IntegerRangeIterator.create(0, 2));\r\n\t\tCombinatorialIterator<Integer> combinations = CombinatorialIterator.<Integer> createFrom(new Iterable[] {\r\n\t\t\t\tcentenas, decenas, unidades });\r\n\t\tfor (int i = 0; i < 8; i++) {\r\n\t\t\tAssert.True(combinations.hasNext());\r\n\t\t\tint expectedUnidad = i & 1;\r\n\t\t\tint expectedDecena = (i & 2) >> 1;\r\n\t\t\tint expectedCentena = (i & 4) >> 2;\r\n\r\n\t\t\tList<Integer> integers = combinations.next();\r\n\t\t\tAssert.equals(expectedCentena, integers.get(0).intValue());\r\n\t\t\tAssert.equals(expectedDecena, integers.get(1).intValue());\r\n\t\t\tAssert.equals(expectedUnidad, integers.get(2).intValue());\r\n\t\t}\r\n\t\tAssert.False(combinations.hasNext());\r\n\t}", "title": "" }, { "docid": "ab1a732ae3d2fc5e00dbc7d2bdc864be", "score": "0.45676628", "text": "public void removeFailing()\r\n\t{\n\t\tint x = 0;\r\n\t\twhile (x<student.size())\r\n\t\t{\r\n\t\t\tif((student.get(x)).gpa<2)\r\n\t\t\t\tstudent.remove(x);\r\n\t\t\telse\r\n\t\t\t\tx++;\r\n\t\t}\r\n\t}", "title": "" }, { "docid": "209eb68afffb482d4b28340f9da26ade", "score": "0.45615128", "text": "private static int calculateCouple(int target, int[] values) throws Exception {\n if(target != values.length) {\n throw new Exception(\"Not match\");\n }\n int pairs = 0;\n Set<Integer> sets = new HashSet<>();\n for (int i : values) {\n if(!sets.contains(i)) {\n sets.add(i);\n }else{\n sets.remove(i);\n ++pairs;\n }\n }\n return pairs;\n }", "title": "" }, { "docid": "61762f4cd8bdb8664d0746a3108c38f3", "score": "0.4558154", "text": "public static void Apply_Reduc_Rules(Hashtable<Integer,TreeSet<Integer>>E, TreeSet<Integer> V,TreeSet<Integer>IN,TreeSet<Integer>LN,TreeSet<Integer>BN,TreeSet<Integer>FL,TreeSet<Integer>Free)\n\t{\n\t\t{\n\t\t\tfor(Integer u : FL)\n\t\t\t{\n\t\t\t\tTreeSet<Integer> nei_u = new TreeSet<Integer>(E.get(u));\n\t\t\t\tfor(Integer v:E.get(u))\n\t\t\t\t{\n\t\t\t\t\tif(FL.contains(v))\n\t\t\t\t\t{\n\t\t\t\t\t\t//E.get(u).remove(v);\n\t\t\t\t\t\t//E.get(v).remove(u);\n\t\t\t\t\t\tnei_u.remove(v);\n\t\t\t\t\t\tnei_u.remove(u);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tE.put(u, nei_u);\n\t\t\t}\n\t\t\tfor(Integer u : BN)\n\t\t\t{\n\t\t\t\tTreeSet<Integer> nei_u = new TreeSet<Integer>(E.get(u));\n\t\t\t\tfor(Integer v:E.get(u))\n\t\t\t\t{\n\t\t\t\t\tif(BN.contains(v))\n\t\t\t\t\t{\n\t\t\t\t\t\t//E.get(u).remove(v);\n\t\t\t\t\t\t//E.get(v).remove(u);\n\t\t\t\t\t\tnei_u.remove(v);\n\t\t\t\t\t\tnei_u.remove(u);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tE.put(u, nei_u);\n\t\t\t}\n\t\t}\n\t\t//==================== RULE 2 ============\n\t\t{\n\t\t\tTreeSet<Integer> BN_copy = new TreeSet<Integer>(BN);\n\t\t\tfor(Integer u : BN)\n\t\t\t{\n\t\t\t\tif(get_degree(u,E,V,IN,LN,BN,FL,Free)==0)\n\t\t\t\t{\n\t\t\t\t\tLN.add(u);\n\t\t\t\t\tBN_copy.remove(u);\n\t\t\t\t\t//Free.remove(u);\n\t\t\t\t}\n\t\t\t}\n\t\t\tBN = BN_copy;\n\t\t}\n\t\t//=================== RULE 3 ================\n\t\t{\n\t\t\tTreeSet<Integer> Free_copy = new TreeSet<Integer>(Free);\n\t\t\tfor(Integer u : Free)\n\t\t\t{\n\t\t\t\tif(get_degree(u,E,V,IN,LN,BN,FL,Free)==1)\n\t\t\t\t{\n\t\t\t\t\tFL.add(u);\n\t\t\t\t\t//BN.remove(u);\n\t\t\t\t\tFree_copy.remove(u);\n\t\t\t\t}\n\t\t\t}\n\t\t\t//Free = Free_copy;\n\t\t\tFree = new TreeSet<Integer>(Free_copy);\n\t\t}\n\t\t//=================== RULE 4 ================\n\t\t{\n\t\t\tTreeSet<Integer> temp = new TreeSet<Integer>(Free);\n\t\t\tTreeSet<Integer> Free_copy = new TreeSet<Integer>(Free);\n\t\t\ttemp.addAll(FL);\n\t\t\tfor(Integer u : Free)\n\t\t\t{\t//if(!temp.contains(v))\n\t\t\t\ttemp.retainAll(E.get(u));\n\t\t\t\t//if(temp.equals(new TreeSet<Integer>()))\n\t\t\t\tif(temp.size()==0)\n\t\t\t\t{\n\t\t\t\t\tFL.add(u);\n\t\t\t\t\tFree_copy.remove(u);\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\tFree = new TreeSet<Integer>(Free_copy);\n\t\t\t//Free = Free_copy;\n\t\t}\n\t\t//=================== RULE 5 ================\n\t\t{\n\t\t\tTreeSet<Integer> Free_copy = new TreeSet<Integer>(Free);\n\t\t\tfor(Integer x : Free)\n\t\t\t{\n\t\t\t\tif(get_degree(x,E,V,IN,LN,BN,FL,Free)==2)\n\t\t\t\t{\n\t\t\t\t\tfor(Integer y: E.get(x))\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(Integer z: E.get(y))\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(E.get(z).contains(x))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tFL.add(x);\n\t\t\t\t\t\t\t\tFree_copy.remove(x);\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\tFree = new TreeSet<Integer>(Free_copy);\n\t\t\t//Free = Free_copy;\n\t\t}\n\t\t//=================== RULE 6 ================\n\t\t{\n\t\t\tHashtable<Integer,Integer> visited = new Hashtable<Integer,Integer>();\n\t\t\tTreeSet<Integer> BN_copy = new TreeSet<Integer>(BN);\n\t\t\tfor(Integer u:BN)\n\t\t\t{\n\t\t\t\tfor(Integer v:E.keySet())\n\t\t\t\t\tvisited.put(v, 0);\n\t\t\t\tQueue<Integer> s = new LinkedList<Integer>();\n\t\t\t\ts.add(E.get(u).first());\n\t\t\t\tvisited.put(u, 1);\n\t\t\t\tvisited.put(E.get(u).first(),1);\n\t\t\t\twhile(s.size()!=0) //?????????????????\n\t\t\t\t{\n\t\t\t\t\tInteger t = s.poll();\n\t\t\t\t\tvisited.put(t, 1);\n\t\t\t\t\tfor(Integer n:E.get(t))\n\t\t\t\t\t{\n\t\t\t\t\t\tif(n!=u && visited.get(n)==0)\n\t\t\t\t\t\t\ts.add(n);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(visited.contains(0))\n\t\t\t\t{\n\t\t\t\t\t//u--->IN\n\t\t\t\t\t//IN.add(u);\n\t\t\t\t\t//BN_copy.remove(u);\n\t\t\t\t\tADD(u,BN_copy,IN,E,IN,BN_copy,FL,Free);\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\tBN = BN_copy;\n\t\t}\n\t\t//=================== RULE 7 ================\n\t\t{\n\t\t\tTreeSet<Integer> tem = new TreeSet<Integer>(V);\n\t\t\ttem.removeAll(IN);\n\t\t\tfor(Integer u : LN)\n\t\t\t{\n\t\t\t\tTreeSet<Integer> nei_u = new TreeSet<Integer>(E.get(u));\n\t\t\t\tfor(Integer v:E.get(u))\n\t\t\t\t{\n\t\t\t\t\tif(tem.contains(v))\n\t\t\t\t\t{\n\t\t\t\t\t\t//E.get(u).remove(v);\n\t\t\t\t\t\t//E.get(v).remove(u);\n\t\t\t\t\t\tnei_u.remove(v);\n\t\t\t\t\t\tnei_u.remove(u);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tE.put(u, nei_u);\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "8ac689893e2f004160378ee212d0d7fe", "score": "0.45557013", "text": "public static boolean isValid(String s) {\n Boolean pass = false;\n// if (s.length() == 1 || s.length() == 0){\n// return \"YES\";\n// }\n\n //Condition 1: string has 1 lot of each character, e.g map values are all 1\n\n //Condition 2: if e.g abccc is entered, remove a c and we get 1a 1b and 2c \n\n char[] charArray = s.toCharArray();\n HashMap<Character, Integer> characterHashSet = new HashMap<>();\n for (char c : charArray) {\n Integer frequency = characterHashSet.get(c) != null ? characterHashSet.get(c) + 1 : 1;\n characterHashSet.put(c, frequency);\n }\n\n //Need to find the different values\n //We only allow tolerance of +1, if we get > 1 then we fail\n Integer min = Collections.min(characterHashSet.values());\n Integer max = Collections.max(characterHashSet.values());\n\n Integer maxFreq = Collections.frequency(characterHashSet.values(), max);\n Integer minFreq = Collections.frequency(characterHashSet.values(), min);\n\n Integer amountDiffMax = characterHashSet.size() - maxFreq;\n Integer amountDiffMin = characterHashSet.size() - minFreq;\n\n //There can be only one difference, lets say there are 8 characters\n //Minimum frequency we should have 7, therefore if we find the difference we should expect 1\n //as that is the tolerance we allow\n if (amountDiffMax == 1 || amountDiffMin == 1) {\n pass = true;\n\n //There is just frequency of 1 for max or min\n //We then have a sub condition where if the min frequency is NOT 1 fre, e.g 1,1,1,5\n //We then need to calculate the difference due as example has difference of 4\n //If min frequency is 1, then e.g we have 1,3,3,3\n //then this is allowed as we are able to remove 1 to make 3,3,3 pass therefore pass this condition\n if (minFreq != 1){\n Integer diff = Math.abs(max - min);\n if (diff > 1) {\n pass = false;\n }\n }\n } else {\n //If lets say we have 4,4,4,4,4 then amount diff is 0 and also min max diff is 0\n\n //Also if we have 2,2,4,4 then the min max diff will be greater than 1\n\n //Second condition, we cant have diff of max - min of 2\n Integer diff = Math.abs(max - min);\n if (diff == 0) {\n pass = true;\n } else if (diff > 1) {\n pass = false;\n }\n }\n\n//\n\n return pass;\n }", "title": "" }, { "docid": "2f16c2fb566ce2caee4f09613a22e5cd", "score": "0.45415443", "text": "private void trimSolution() {\n if (solution.size() > 4) {\n int size = solution.size();\n solution = solution.subList(size - 4, size);\n } else if (solution.size() < 4) {\n solution.clear();\n }\n System.out.println(Arrays.deepToString(solution.toArray()));\n }", "title": "" }, { "docid": "d746e680140357e3e23526ef51bd21b2", "score": "0.45336834", "text": "private String rowConLegalEasy() { \n String problems = \"\";\n int row = 0; //used to count the amount of lines its gone through\n while(row < rowConstraints.length) {\n int column = 0; //row constraint position\n while(column < rowConstraints.length-1) { \n if(grid[row][column].getSquareValue() != 0 && grid[row][column+1].getSquareValue() > 1 && \"<\".equals(rowConstraints[row][column].getValue())) { //to check for legal < \n if(grid[row][column].getSquareValue() >= grid[row][column+1].getSquareValue()) { \n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n }\n else if(grid[row][column].getSquareValue() > 1 && grid[row][column+1].getSquareValue() != 0 && \">\".equals(rowConstraints[row][column].getValue())) { //to check for legal > \n if(grid[row][column].getSquareValue() <= grid[row][column+1].getSquareValue()) { \n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n }\n if(grid[row][column].getSquareValue() == grid[0].length && grid[row][column+1].getSquareValue() == 0 && \"<\".equals(rowConstraints[row][column].getValue())) {\n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n else if(grid[row][column+1].getSquareValue() == grid[0].length && grid[row][column].getSquareValue() == 0 && \">\".equals(rowConstraints[row][column].getValue())) {\n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n else if(grid[row][column].getSquareValue() == 1 && \">\".equals(rowConstraints[row][column].getValue())) {\n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n else if(grid[row][column+1].getSquareValue() == 1 && \"<\".equals(rowConstraints[row][column].getValue())) {\n problems+=\"Numbers in row \" + (row+1) + \" column \" + (column+1) + \" and column \" + (column+2) + \" break its row constraint -\\n\";\n }\n column++;\n }\n row++;\n }\n return problems;\n }", "title": "" }, { "docid": "1eed520b5ac9e49b3c8a32d666b980ff", "score": "0.4532535", "text": "public int[] checkUserCombination(int[] userComb, ArrayList<Integer> combination) {\n int hits = 0;\n int almostHits = 0;\n int [] returnResult = new int[2];\n int[] copyOfUserComb = new int[numberOfColumns];\n int[] copyOfMainComb = new int[numberOfColumns];\n for (int i = 0; i < numberOfColumns; i++) {\n copyOfUserComb[i] = userComb[i];\n copyOfMainComb[i] = combination.get(i);\n }\n for (int i = 0; i < numberOfColumns; i++) {\n if (copyOfUserComb[i] == copyOfMainComb[i]) {\n hits++;\n copyOfUserComb[i] = -1;\n copyOfMainComb[i] = -2;\n }\n }\n for (int i = 0; i < numberOfColumns; i++) {\n for (int j = 0; j < numberOfColumns; j++) {\n if (copyOfUserComb[i] == copyOfMainComb[j] && i != j) {\n almostHits++;\n copyOfMainComb[j] = -2;\n copyOfUserComb[i] = -1;\n }\n }\n }\n returnResult[0] = hits;\n returnResult[1] = almostHits;\n return returnResult;\n }", "title": "" }, { "docid": "c7b40f9fbacd6cc86e3c2fee31f73d5c", "score": "0.452756", "text": "private void goParen() {\r\n\r\n while (!theStackP.isEmpty()) {\r\n\r\n String s = theStackP.pop();\r\n if (s.equals(\"(\"))\r\n break;\r\n output.add(s);\r\n }\r\n\r\n }", "title": "" }, { "docid": "54ede77c4c14200845df43a2a365ac44", "score": "0.45262244", "text": "@Test\n\tpublic void checkParanthesisBalance() {\n\t\tint [] arr={2,5,1,8,2,9,1};\n\n\t\tint maxSum=0;\n\t\tint windowSize=3;\n\t\t//Here subArrays of size are\n\t\t/*{2,5,1} =>8\n\t\t{5,1,8}=>14\n\t\t{1,8,2}=>11\n\t\t{8,2,9}=>19\n\t\t{2,9,1}=>12*/\n\t\tfor(int i=0;i<arr.length-2;i++){\n\t\t\tint sum=0;\n\t\t\tfor(int j=i;j<i+windowSize;j++){\n\t\t\t\tsum=sum+arr[j];\n\t\t\t}\n\t\t\tif(sum>maxSum){\n\t\t\t\tmaxSum=sum;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(maxSum);\n\t}", "title": "" }, { "docid": "62272d0f61317f787e755911bac2b964", "score": "0.45252776", "text": "public static int Main()\n\t{\n\t\tfor (int a = 1; a < 6; a++)\n\t\t{\n\t\t\tfor (int b = 1; b < 6; b++)\n\t\t\t{\n\t\t\t\tfor (int c = 1; c < 6; c++)\n\t\t\t\t{\n\t\t\t\t\tfor (int d = 1; d < 6; d++)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor (int e = 1; e < 6; e++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif (e != 2 && e != 3 && ((e == 1 && d == 1 && c != 1) + (b == 2) + (a == 5 && e != 1) + (c != 1) + (d == 1 && c != 1) == 2) && (a == 5) && (c == 1) && (a + b + c + d + e) == 15 && a * b * c * d * e == 120)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tSystem.out.print(a);\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t\tSystem.out.print(b);\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t\tSystem.out.print(d);\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t\tSystem.out.print(e);\n\t\t\t\t\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn 0;\n\t}", "title": "" }, { "docid": "2533e2de17f44fda6d3e3e8bb9b031a9", "score": "0.45249578", "text": "private static <T> List<List<T>> combination(List<T> values, int size) {\n\n if (0 == size) {\n return Collections.singletonList(Collections.<T>emptyList());\n }\n\n if (values.isEmpty()) {\n return Collections.emptyList();\n }\n\n List<List<T>> combination = new LinkedList<List<T>>();\n\n T actual = values.iterator().next();\n\n List<T> subSet = new LinkedList<T>(values);\n subSet.remove(actual);\n\n List<List<T>> subSetCombination = combination(subSet, size - 1);\n\n for (List<T> set : subSetCombination) {\n List<T> newSet = new LinkedList<T>(set);\n newSet.add(0, actual);\n combination.add(newSet);\n }\n\n combination.addAll(combination(subSet, size));\n\n return combination;\n }", "title": "" }, { "docid": "2dd92306d2920b66a58cf2e55f1884ed", "score": "0.4519015", "text": "private boolean r1() // Rule for testing chance for winning\n {\n int x ;\n int y ;\n int c ;\n\n for(int i=0;i < 3;i++)\t\t\t\n {\n x = -1 ;\n y = -1 ;\n c = 0 ;\n \n for(int j=0;j < 3;j++)\t\t\n { \n if(sq[i][j] == this.compSymbol)\t\n {\n c++ ;\n }\n\t\t\t\telse if(sq[i][j] == -1)\t\n {\n x = i ; \n y = j ;\n }\n }\n \n if(x != -1 && y != -1)\n {\n if(c==2 && sq[x][y] == -1)\n {\n sq[x][y] = this.compSymbol ;\n this.aa = 1 ;\n this.bb = 1 ;\n return true ;\n }\n }\n }\n\n //X Axis\n for(int i=0;i < 3;i++)\n {\n x = -1 ;\n y = -1 ;\n c = 0 ;\n \n for(int j=0;j < 3;j++)\n {\n\t\t\t\tif(sq[j][i] == this.compSymbol)\n {\n c++ ;\n }\n\t\t\t\telse if(sq[j][i] == -1)\t\n {\n x = j ;\n y = i ;\n }\n }\n \n if(x != -1 && y != -1)\n {\n if(c==2 && sq[x][y] == -1)\n {\n sq[x][y] = this.compSymbol ;\n this.aa = 1 ;\n this.bb = 2 ;\n return true ;\n }\n }\n }\n\n // Diagonal 1\n x = -1 ;\n y = -1 ;\n c = 0 ;\n \n for(int i=0;i < 3;i++)\n {\n if(sq[i][i] == this.compSymbol)\n {\n\t\t\t\tc++ ;\n }\n else if(sq[i][i] == -1)\t\n {\n\t\t\t\tx = i ;\n\t\t\t\ty = i ;\n }\n }\n \n if(x != -1 && y != -1)\n {\n if(c==2 && sq[x][y] == -1)\n {\n sq[x][y] = this.compSymbol ;\n this.aa = 1 ;\n this.bb = 3 ;\n return true ;\n }\n }\n\n // Diagonal 2\n x = -1 ;\n y = -1 ;\n c = 0 ;\n \n for(int i=0;i < 3;i++)\n {\n if(sq[2-i][i] == this.compSymbol)\n {\n\t\t\t\tc++ ;\n }\n else if(sq[2-i][i] == -1)\n {\n\t\t\t\tx = 2 - i ;\n\t\t\t\ty = i ;\n }\n }\n \n if(x != -1 && y != -1)\n {\n if(c == 2 && sq[x][y] == -1)\n {\n sq[x][y] = this.compSymbol ;\n this.aa = 1 ;\n this.bb = 4 ;\n return true ;\n }\n }\n\n return false ;\n }", "title": "" }, { "docid": "556ed6283cfe9a234b83badaeb529d72", "score": "0.4514619", "text": "private static int maximum()\n {\n int PopulationSize = 0;\n Chromosome DNA = null;\n Chromosome thatChromo = null;\n int winner = 0;\n boolean foundNewWinner = false;\n boolean Solution = false;\n while(!Solution)\n {\n foundNewWinner = false;\n PopulationSize = population.size();\n for(int i = 0; i < PopulationSize; i++)\n {\n if(i != winner){ // Avoid self-comparison.\n DNA = population.get(i);\n thatChromo = population.get(winner);\n if(DNA.conflicts() > thatChromo.conflicts()){\n winner = i;\n foundNewWinner = true;\n }\n }\n }\n if(foundNewWinner == false){\n Solution = true;\n }\n }\n return winner;\n }", "title": "" }, { "docid": "d66371ebdb2bbb4defd4e0c021c705f6", "score": "0.45136055", "text": "private static int generateAllValidPermutations(int[] validTopSort) {\n\n\t\tint t = n + 1;\n\t\t// create a tXt matrix which marks the constraints. if i,j is a\n\t\t// restriction then i,j and j,i location of the matrix will be 1/true.\n\t\t// for all other locations it will be 0. Also all the items in the last\n\t\t// row will be 1/true\n\t\tint[][] incidenceMatrix = new int[t][t];\n\n\t\tfor (int i = 0; i < t; i++) {\n\t\t\tincidenceMatrix[i][t - 1] = 1;\n\t\t}\n\t\t// marking the constraints in the matrix with data from incedenceArray\n\t\tfor (int i = 0; i < restrictions; i++) {\n\t\t\tint val1 = incedenceArray[i][0];\n\t\t\tint val2 = incedenceArray[i][1];\n\n\t\t\tincidenceMatrix[val1][val2] = 1;\n\t\t\tincidenceMatrix[val2][val1] = 1;\n\t\t}\n\t\t// creating array arr_p of size t and populating values from 0 to t\n\t\t// creating array arr_loc of size t and populating values from 0 to t\n\t\tint[] arr_p = new int[t];\n\t\tint[] arr_loc = new int[t];\n\t\tfor (int i = 0; i < t; i++) {\n\t\t\tarr_p[i] = i;\n\t\t\tarr_loc[i] = i;\n\t\t}\n\t\tint counter = 1;\n\t\t// initialize all the variables\n\t\tint i = 0, var_k = 0, var_k1 = 0, obj_k, obj_k1;\n\n\t\tif (v == 1) {\n\n\t\t\tvisit(validTopSort, arr_p, n);\n\n\t\t}\n\t\t// Algorithm is explained in detail in the project report. variables are\n\t\t// named with the same names as in the original algorithm\n\t\twhile (i < t - 1) {\n\t\t\tvar_k = arr_loc[i];\n\t\t\tvar_k1 = var_k + 1;\n\t\t\tobj_k = arr_p[var_k];\n\t\t\tobj_k1 = arr_p[var_k1];\n\t\t\t// if incidenceMatrix[i][obj_k1] == 1 then this can't be swapped\n\t\t\tif (incidenceMatrix[i][obj_k1] == 1) {\n\t\t\t\t// reversing the array from location k\n\t\t\t\tfor (int l = var_k; l >= i + 1; l--)\t\n\t\t\t\t\tarr_p[l] = arr_p[l - 1];\n\t\t\t\tarr_p[i] = obj_k;\n\t\t\t\tarr_loc[i] = i;\n\t\t\t\ti++;\n\t\t\t} else {\n\t\t\t\t// swap arr_p[var_k] and arr_p[var_k1]. add var_k1 to arr_loc[i]\n\t\t\t\tarr_p[var_k] = obj_k1;\n\t\t\t\tarr_p[var_k1] = obj_k;\n\t\t\t\tarr_loc[i] = var_k1;\n\t\t\t\t// Visit the permutation and increment the counter\n\n\t\t\t\t// if verbose input==1 then print the permutation\n\t\t\t\tif (v == 1) {\n\t\t\t\t\tvisit(validTopSort, arr_p, n);\n\t\t\t\t}\n\n\t\t\t\tcounter++;\n\t\t\t\ti = 0;\n\n\t\t\t}\n\t\t}\n\t\treturn counter;\n\t}", "title": "" }, { "docid": "f6b14dadc992ea3c479e204f1354c2dd", "score": "0.4507802", "text": "public void checkOrderCombination(int pickup_variation, int drop_variation){\n if(pickup_variation <=1 && drop_variation<=1){\n System.out.println(\" Pickup Variation is: \"+pickup_variation+ \".Delivery Variation is \"+pickup_variation+ \" \\n\\n\\ncombine the orders\");\n }else{\n System.out.println(\" Pickup Variation is: \"+pickup_variation+ \".Delivery Variation is \"+pickup_variation+ \" \\n\\n\\nOrders cannot be combined\"); \n }\n \n }", "title": "" }, { "docid": "22ea99f3f7d31360ce51a371180b63fe", "score": "0.45062014", "text": "private List<Pair<Integer, Point>> getUnStuck( HashMap<Integer, Point> player_pieces, HashMap<Integer, Point> opponent_pieces, boolean isplayer1, List<Integer> player_list, List<Pair<Integer, Point>> possible_moves){\t\t\n\t\tSystem.out.println(\"get unstuck\");\n\t\tpossible_moves = new ArrayList<>();\n\t\tList<Pair<Double, Double>> potential_holes = new ArrayList<>();\n\t\tfor (Map.Entry<Integer, Point> entry : player_pieces.entrySet()){\n\t\t\tboolean over_line = isplayer1 ? entry.getValue().x < -20 - 1E-7 : entry.getValue().x > 20 + 1E-7 ;\n\t\t\tif (!over_line && !stuck_pieces.containsKey(entry.getKey())){\n\t\t\t\tstuck_pieces.put(entry.getKey(), false);\n\t\t\t}\n\t\t}\t\n\t\t\n\t\tfor (Integer stuck_piece : stuck_pieces.keySet()){\n\t\t\tpotential_holes.addAll(find_hole(opponent_pieces, player_pieces, player_pieces.get(stuck_piece)));\n\t\t}\n\t\tif(potential_holes.size() > 0){\n\t\t\tdouble closest_dist = Double.MAX_VALUE;\n\t\t\tPair<Double, Double> closest_hole = new Pair<>(22.0, 22.0);\n\t\t\tInteger closest_player = -1;\n\t\t\tHashMap<Integer, Double> side_of_hole = new HashMap<>();\n\t\t\t// Identify a stuck point that has the minimal distance to a hole\n\t\t\tfor (Pair<Double, Double> potential_hole : potential_holes){\n\t\t\t\tfor (int stuck_player : stuck_pieces.keySet()){\n\t\t\t\t\tPoint stuck_loc = player_pieces.get(stuck_player); \n\t\t\t\t\tdouble dist = 22.0;\n\t\t\t\t\tif(stuck_loc.y > potential_hole.getKey()){\n\t\t\t\t\t\tdist = Math.sqrt(/*Math.pow(stuck_loc.x - potential_hole.,2) + */Math.pow(stuck_loc.y - potential_hole.getKey(),2)); \n\t\t\t\t\t\tside_of_hole.put(stuck_player, potential_hole.getKey());\n\t\t\t\t\t}\n\t\t\t\t\telse if(stuck_loc.y < potential_hole.getValue()){\n\t\t\t\t\t\tdist = Math.sqrt(/*Math.pow(stuck_loc.x - potential_hole.,2) + */Math.pow(stuck_loc.y - potential_hole.getValue(),2)); \n\t\t\t\t\t\tside_of_hole.put(stuck_player, potential_hole.getValue());\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tdist = Math.sqrt(Math.pow(stuck_loc.y - potential_hole.getKey(),2));\n\t\t\t\t\t\tside_of_hole.put(stuck_player, potential_hole.getKey());\n\t\t\t\t\t}\n\t\t\t\t\tif (dist < closest_dist){\n\t\t\t\t\t \tclosest_dist = dist; \n\t\t\t\t\t\tclosest_player = stuck_player; \n\t\t\t\t\t\tclosest_hole = potential_hole;\n\t\t\t\t\t}// we have now found our closest y coord to send our stuck player to\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tboolean moved_backwards = stuck_pieces.get(closest_player);\n\t\t\tif(!moved_backwards){\n\t\t\t\tPoint curr_position = new Point(player_pieces.get(closest_player));\n\t\t\t\tfor(int i = 0; i < 2; i++){\n\t\t\t\t\tPoint new_position = new Point(curr_position);\n\t\t\t\t\tnew_position.x = isplayer1 ? new_position.x + diameter_piece : new_position.x - diameter_piece;\n\t\t\t\t\tPair<Integer, Point> move = new Pair<Integer, Point>(closest_player, new_position);\t\t\n\t\t\t\t\tcurr_position = move.getValue();\n\t\t\t\t\tif(!Board.check_collision(opponent_pieces, move) && !Board.check_collision(player_pieces, move)){\n\t\t\t\t\t\tpossible_moves.add(move);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(possible_moves.size() >= 2){\n\t\t\t\t\tstuck_pieces.put(closest_player, true);\t\t\n\t\t\t\t\treturn possible_moves;\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\t\t\t\n\t\t\t\tDouble closest_y = side_of_hole.get(closest_player);\n\t\t\t\tboolean above = closest_y > closest_hole.getValue();\n\t\t\t\tPoint curr_position = new Point(player_pieces.get(closest_player));\n\t\t\t\tfor (int i = 0; i < 2; i++){\n\t\t\t\t\tPoint new_position = new Point(curr_position);\n\t\t\t\t\tnew_position.y = above ? new_position.y - diameter_piece : new_position.y + diameter_piece;\n\t\t\t\t\tPair<Integer, Point> move = new Pair<Integer, Point>(closest_player, new_position);\n\t\t\t\t\tif(valid_whitespace(player_pieces, opponent_pieces, move)){\n\t\t\t\t\t\tpossible_moves.add(move);\n\t\t\t\t\t}\n\t\t\t\t\tcurr_position = move.getValue();\n\t\t\t\t}\n\t\t\t\t// Remove players that are at the hole \n\t\t\t\tboolean beyond_y = above? player_pieces.get(closest_player).y < closest_y + 1 : player_pieces.get(closest_player).y > closest_y + 1 ;\n\t\t\t\tif(beyond_y){\n\t\t\t\t\tstuck_pieces.remove(closest_player);\n\t\t\t\t}\n\t\t\t\tif(possible_moves.size()>=2){\n\t\t\t\t\treturn possible_moves;\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\telse{\n\t\t\t// if we can't find a hole (we should use the bouncy strategy from the group we saw in class)\n\t\t\tSystem.out.println(\"we can't find a hole\");\n\t\t}\n\t\t// TODO: this check shouldn't be if ran out of moves but should be if can move forward \n\t\tif( possible_moves.size() < 2){\n\t\t\tstuck_pieces = new HashMap<>();\n\t\t}\n\t\treturn null;\n\t}", "title": "" } ]
481d167c9c533fc9653f69f53188ee3f
Should be serialized as "warnings"
[ { "docid": "7ccdd1f19ce55b254fa50083e1e84521", "score": "0.7101745", "text": "String getWarningsString();", "title": "" } ]
[ { "docid": "15b5bb9a0be549b7b3c8d4017e5f0059", "score": "0.70417273", "text": "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Contains warnings about possible misuse.\")\n\n public Object getWarnings() {\n return warnings;\n }", "title": "" }, { "docid": "eb87673dd07c7efdb7465347160f119e", "score": "0.70034355", "text": "public List<String> getWarnings() {\n return warnings;\n }", "title": "" }, { "docid": "25840af1ddc112d8abfc22434058a7ea", "score": "0.6908833", "text": "public boolean isWarning() {\n\t\t\treturn false;\n\t\t}", "title": "" }, { "docid": "8a6fb4734006b4af9eb5621fad9a4df8", "score": "0.68071014", "text": "@Override\n\tpublic boolean isWarnEnabled() {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "98224ab50c21d9c98ed60464a5d49ce6", "score": "0.67795575", "text": "public void warningPermit();", "title": "" }, { "docid": "3aac57256502cc3e69eecaed20256bbf", "score": "0.6748846", "text": "@Override\n\tpublic void warn(Object message) {\n\n\t}", "title": "" }, { "docid": "381f153febe322f5a316c030be52cae5", "score": "0.6745037", "text": "@Override\n\tpublic void warn(Marker marker, Object message) {\n\n\t}", "title": "" }, { "docid": "751a0237d965b0c24eb1b0c0f95f488c", "score": "0.672164", "text": "public static void showWarnings() {\n\t\tenableWarn = true;\n\t}", "title": "" }, { "docid": "5f35dc428d07f972dc6e27aaeedce13b", "score": "0.6714355", "text": "@Override\n\tpublic void warn(Marker marker, Message msg) {\n\n\t}", "title": "" }, { "docid": "f87e3642758797c95a964d35281f43dc", "score": "0.6711647", "text": "@Override\n\tpublic void warn(Message msg) {\n\n\t}", "title": "" }, { "docid": "40fbccc7bc1ab8bec08f131d174c9a05", "score": "0.6636419", "text": "public abstract boolean hasWarning();", "title": "" }, { "docid": "a5a27aea74744158c960b869d7627a80", "score": "0.66134554", "text": "@Override\n\tpublic void warn(Marker marker, String message) {\n\n\t}", "title": "" }, { "docid": "01f66900feb475108d71cbca24d71104", "score": "0.6589249", "text": "public static void hideWarnings() {\n\t\tenableWarn = false;\n\t}", "title": "" }, { "docid": "f2f48aeeacc48e13c66b11ea028f660a", "score": "0.6587925", "text": "public\n ResourceWarning getWarnings() throws ResourceException;", "title": "" }, { "docid": "56b2f24722000aca225163c01589eb63", "score": "0.6532344", "text": "@Override\r\n public void onStallWarning(StallWarning arg0) {\n\r\n }", "title": "" }, { "docid": "56b2f24722000aca225163c01589eb63", "score": "0.6532344", "text": "@Override\r\n public void onStallWarning(StallWarning arg0) {\n\r\n }", "title": "" }, { "docid": "b1c9645a69847c3a5c86a23ad2e4b936", "score": "0.652952", "text": "public boolean hasWarnings() {\n return !warnings.isEmpty();\n }", "title": "" }, { "docid": "4776465052b81d5465da2a330c9d8b7d", "score": "0.6513221", "text": "public void addWarning(String warning);", "title": "" }, { "docid": "88e2b239a440ccaa2bfb42d704abffc5", "score": "0.6510405", "text": "boolean hasWarnings();", "title": "" }, { "docid": "743e391f5a307be15979565d25a10ac4", "score": "0.64727646", "text": "abstract void warn(String warning);", "title": "" }, { "docid": "5f6bc62ef2ee4b51c993510df75b9e6e", "score": "0.64662117", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0) {\n\n\t}", "title": "" }, { "docid": "e271c5cdc28e352a61decdf936e5b181", "score": "0.6456232", "text": "@Override\n public void onWarning(String debugMessage) {\n }", "title": "" }, { "docid": "582656cb5ccf54b363b18131a784a925", "score": "0.6454852", "text": "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "title": "" }, { "docid": "582656cb5ccf54b363b18131a784a925", "score": "0.6454852", "text": "@Override\r\n public void onStallWarning(StallWarning warning) {\n }", "title": "" }, { "docid": "1ff48881df39ddeba6ede709ed8f5c78", "score": "0.6449496", "text": "@Nonnull\r\n public Set<Warning> getWarnings() {\r\n return warnings;\r\n }", "title": "" }, { "docid": "0be9c2610e90731f644253adb6c57b93", "score": "0.6442734", "text": "public List<ReportType> getWarnings() {\n\t\treturn warningList;\n\t}", "title": "" }, { "docid": "5871a374449a86da7950fbaa296427a2", "score": "0.64042574", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object... params) {\n\n\t}", "title": "" }, { "docid": "96a8e37c0ee520cb92c951362aa3425f", "score": "0.63671523", "text": "@Override\n\tpublic boolean isWarnEnabled(Marker marker) {\n\t\treturn false;\n\t}", "title": "" }, { "docid": "9ae238101c8749a3b414d3fb22b20786", "score": "0.6361804", "text": "@Override\n\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\n\t}", "title": "" }, { "docid": "ab804be22b8999b2c05ad623a991b846", "score": "0.6360732", "text": "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "ab804be22b8999b2c05ad623a991b846", "score": "0.6360732", "text": "@Override\n\t\tpublic void onStallWarning(StallWarning arg0) {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "71a19a561f0a3da6087f5dc6e1b383fe", "score": "0.6343627", "text": "public SQLWarning getWarnings() throws SQLException {\n return null;\r\n }", "title": "" }, { "docid": "b61101b619541ddc5bb6c1571f52bd6a", "score": "0.63414586", "text": "public final String getWarningString() {\n return warningString;\n }", "title": "" }, { "docid": "0fd696f05e272535cbb4ee794ebe2603", "score": "0.6319678", "text": "@Override\r\n public String getWarningMessageId() {\n return null;\r\n }", "title": "" }, { "docid": "b18c1828997c0c7213a50fa07940d4db", "score": "0.63178056", "text": "@Override\n\t\t\tpublic void onStallWarning(StallWarning arg0) {\n\n\t\t\t}", "title": "" }, { "docid": "0b1da23c8586f29b0f3777c0476bf834", "score": "0.63176996", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1) {\n\n\t}", "title": "" }, { "docid": "097d510148f58477213358a7c0afe6af", "score": "0.63113284", "text": "@Override\n\tpublic void warn(Marker marker, CharSequence message) {\n\n\t}", "title": "" }, { "docid": "b6aacdf8bfa82c1e8164c652135f8b91", "score": "0.63102406", "text": "protected Warning() {\n\n }", "title": "" }, { "docid": "386dd28daa54f8a153f6216aa95594a9", "score": "0.6309613", "text": "@Override\r\n\t\tpublic SQLWarning getWarnings() throws SQLException {\n\t\t\treturn null;\r\n\t\t}", "title": "" }, { "docid": "58adbe73af2614cbc0adf6d13da578fd", "score": "0.62959725", "text": "@Override\n public final SQLWarning getWarnings() throws SQLException {\n return null;\n }", "title": "" }, { "docid": "7a7508d96163045b1537ece92f4c9b4c", "score": "0.628188", "text": "int getWarningMode();", "title": "" }, { "docid": "8b035e7c8c19829b283ecdb24fa8afe8", "score": "0.6262262", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2) {\n\n\t}", "title": "" }, { "docid": "296a6671bfb91f1f667f9d62a31718f7", "score": "0.62514913", "text": "@Override\n\tpublic void warn(String message, Object... params) {\n\n\t}", "title": "" }, { "docid": "0f09aea6f3818ce3a23cf2c7c00f58fb", "score": "0.6224246", "text": "protected final void warning(String warning) {\r\n //System.err.format(\"[\" + name + \"] @%4.9f: WARNING: %s\", Harness.getTime().getFracSeconds(), warning);\r\n //System.err.println();\r\n Harness.log(name, \"WARNING: \" + warning);\r\n warningCount++;\r\n }", "title": "" }, { "docid": "030f47a63a03dcd3340dca83316c6278", "score": "0.62011254", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "title": "" }, { "docid": "dbdfc1439a8b5c2f28f76635cc404c54", "score": "0.61905396", "text": "public void onStallWarning(StallWarning arg0) { }", "title": "" }, { "docid": "0489121a40fb503e1099028450249d69", "score": "0.61592597", "text": "@Override\n public void warning(SAXParseException saxpe) throws SAXException {\n System.out.println(\"Warning reported: \" + saxpe.getMessage());\n }", "title": "" }, { "docid": "38e7dc9bc4444dc52aa7a964c1485048", "score": "0.6144201", "text": "abstract void logWarn(String warning);", "title": "" }, { "docid": "2af89cd924f8f7447bce9981c3ead655", "score": "0.6143078", "text": "@Override\n\tpublic void warn(Marker marker, MessageSupplier msgSupplier) {\n\n\t}", "title": "" }, { "docid": "3433acd465277e427223cb859629418b", "score": "0.6141656", "text": "public void warning(ValidationType type, String validationName, String content);", "title": "" }, { "docid": "d8a16177b0441b091e1330529d50865e", "score": "0.6124719", "text": "@Override\n\tpublic void warn(Marker marker, Object message, Throwable t) {\n\n\t}", "title": "" }, { "docid": "0ef59840f25afb710d247a3338cfd18f", "score": "0.61208075", "text": "public void onStallWarning(StallWarning warning) {\n \t\t\t}", "title": "" }, { "docid": "ae1a61cbfc2abe07cc280327e462a5c8", "score": "0.61091787", "text": "public void publishTiancheWarn(String errorMsg) {\n }", "title": "" }, { "docid": "eaac566ffc994de4b729ced02f341604", "score": "0.6083836", "text": "public String muestraListaWarnings(){\r\n \tString salida;\r\n \tsalida= \"\\n\";\r\n \tif (warnings.size()==0){\r\n\t \tsalida=salida+\"No hubo warnings\\n\";\r\n\t \treturn salida;\r\n \t}\r\n \telse {\r\n \t\tfor(TWarning warning: warnings) {\r\n \t\t\tsalida += warning + \"\\n\";\r\n \t\t}\r\n \t\treturn salida;\r\n \t}\r\n }", "title": "" }, { "docid": "04d26b687adc2a7964a011ad346c4bb3", "score": "0.6082905", "text": "public synchronized boolean shouldWarn() {\n return fWarningAll;\n }", "title": "" }, { "docid": "70842f387e90f3ac61c3b42ebe868d14", "score": "0.60767597", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8, Object p9) {\n\n\t}", "title": "" }, { "docid": "11cecef02940eefe70e8529785402e27", "score": "0.6049745", "text": "boolean isWarnEnabled();", "title": "" }, { "docid": "69133c364f6ddfb963731d3c38c06f88", "score": "0.60492945", "text": "@Override\n\tpublic void warn(String message, Object p0) {\n\n\t}", "title": "" }, { "docid": "e9290806676b0d7d57435801ea91403a", "score": "0.6049163", "text": "String getWarna() {\r\n\t\treturn warna;\r\n\t}", "title": "" }, { "docid": "c0d9debb8904ba3f79b8719c002f81f2", "score": "0.60375553", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4) {\n\n\t}", "title": "" }, { "docid": "97f4c93132cc25767b313c2e848ed9f2", "score": "0.6034263", "text": "Warnings warn(Database database);", "title": "" }, { "docid": "949e8be8f65e71d6aef0c522fcc20570", "score": "0.60198474", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7) {\n\n\t}", "title": "" }, { "docid": "3a9fa0faf72f16dfbdd2d44084c21b90", "score": "0.60198325", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6, Object p7, Object p8) {\n\n\t}", "title": "" }, { "docid": "3130ed4627b11498fb2080415ddf2e55", "score": "0.60056543", "text": "public final void setWarn() {\r\n setLevel(org.apache.log4j.Level.WARN);\r\n }", "title": "" }, { "docid": "383439aae402f19ad860c7d832588709", "score": "0.6002105", "text": "public Warning() {\n this(new ArrayList());\n }", "title": "" }, { "docid": "9834b8aee1d165f2a781d25748f56786", "score": "0.5997813", "text": "public void printWarnings() {\n final int size = _warnings.size();\n if (size > 0) {\n System.err.println(new ErrorMsg(ErrorMsg.COMPILER_WARNING_KEY));\n for (int i = 0; i < size; i++) {\n System.err.println(\" \" + _warnings.get(i));\n }\n }\n }", "title": "" }, { "docid": "837b6bb315e778ae1285b368391da6b7", "score": "0.5983306", "text": "public Object getWarningContext() {\n\t\treturn warningContext;\n\t}", "title": "" }, { "docid": "a4d8fa3175d4be0df6034e47e64a5f35", "score": "0.59817266", "text": "@Override\n\tpublic void warn(String message, Object p0, Object p1) {\n\n\t}", "title": "" }, { "docid": "abd92c330dc8a4db1f8e41b8512aa74a", "score": "0.5981541", "text": "@Override\n\tpublic void warn(Marker marker, Message msg, Throwable t) {\n\n\t}", "title": "" }, { "docid": "9faecaba9c6557fde7f419f7a6efcdca", "score": "0.5971752", "text": "abstract void errorLogWarn(String warning);", "title": "" }, { "docid": "6fcc7891a8d7e99abcefe352c4578d06", "score": "0.5970895", "text": "@Override\n\tpublic void warn(CharSequence message) {\n\n\t}", "title": "" }, { "docid": "32be15ff2964b04c5341d4b9038a1c7d", "score": "0.5970089", "text": "@Override\n\tpublic void reportErrorWarning(String warningString) {\n\n\t}", "title": "" }, { "docid": "1eedf82c322610e45d7aa704a97b947b", "score": "0.5951189", "text": "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2) {\n\n\t}", "title": "" }, { "docid": "7f40fb86e5cefead22ec9b17c055ce34", "score": "0.595085", "text": "private void logWarning(String msgText) {\n System.out.println (\"[WARNING] \" + msgText);\n \n }", "title": "" }, { "docid": "c826b20216330628aaacabff51c28504", "score": "0.5948119", "text": "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3) {\n\n\t}", "title": "" }, { "docid": "95c3151e1bdc79c59807c06d3cbadfd8", "score": "0.5947609", "text": "@Override\n\tpublic void warn(Marker marker, Supplier<?> msgSupplier) {\n\n\t}", "title": "" }, { "docid": "7ef38697d8bf4c17c2804c9605b9cc95", "score": "0.592719", "text": "@Override\n\tpublic void warn(Marker marker, String message, Throwable t) {\n\n\t}", "title": "" }, { "docid": "b2fe082c12df384e1daa08862502f47d", "score": "0.5926968", "text": "public void warn(String message);", "title": "" }, { "docid": "b2fe082c12df384e1daa08862502f47d", "score": "0.5926968", "text": "public void warn(String message);", "title": "" }, { "docid": "8332fbf412fff1183fe1b6f1588d8093", "score": "0.59250885", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5) {\n\n\t}", "title": "" }, { "docid": "f3d81adac1e59845930d04af5901bf36", "score": "0.5919674", "text": "void notifyWarn(MessageSnapshot snapshot);", "title": "" }, { "docid": "8019be0b08ef65d81c3e0d192eb8d3ec", "score": "0.5912949", "text": "@Override\n\tpublic void warn(Object message, Throwable t) {\n\n\t}", "title": "" }, { "docid": "c256a5e26bf0836966b63cf07c96cc9c", "score": "0.5910882", "text": "@Override\n\tpublic void warn(Marker marker, String message, Object p0, Object p1, Object p2, Object p3,\n\t\t\tObject p4, Object p5, Object p6) {\n\n\t}", "title": "" }, { "docid": "52a31dbcd99e64103fa327e5c96bd868", "score": "0.5907795", "text": "abstract void warn(String warning, Exception[] exceptions);", "title": "" }, { "docid": "4d1d78395ec0cdafa73369c414842954", "score": "0.58905846", "text": "public final void printWarnings() {\n for (ShadowException exception : warningList) LOGGER.warn(exception.getMessage());\n }", "title": "" }, { "docid": "a280726bcd2a1dcb302b441ed3bdf380", "score": "0.58887136", "text": "@Override\n\tpublic void warn(String message, Object p0, Object p1, Object p2, Object p3, Object p4) {\n\n\t}", "title": "" }, { "docid": "b3980be7a33b869dd5666649fea18d0e", "score": "0.5885285", "text": "@Override\n public void warning(SAXParseException saxpe) throws SAXException {\n }", "title": "" }, { "docid": "3d2bcbea0dd0e3ac4d0b272e1e854a26", "score": "0.5883848", "text": "public synchronized boolean getGenericWarningFlag() {\n return fWarningAll;\n }", "title": "" }, { "docid": "9a8c6c770205eb51abcac9ae00ca237c", "score": "0.5858131", "text": "public void printWarning(){\n if (hasWarning()){\n System.err.println(\"Warning in line \"+filterLineNumber);\n }\n }", "title": "" }, { "docid": "3ccbf8ac95aae612904e50628ea9657a", "score": "0.5856882", "text": "@Override\r\n public void warning(SAXParseException e) throws SAXException\r\n {\r\n System.out.println(\"Warning: \"); \r\n printInfo(e);\r\n }", "title": "" }, { "docid": "d29fda1099afcde8c5ca103ba99620eb", "score": "0.585352", "text": "@Override\n\tpublic void warn(Marker marker, CharSequence message, Throwable t) {\n\n\t}", "title": "" }, { "docid": "778ffec14e374d957b95c8999bd0dbc9", "score": "0.5850977", "text": "public void warning(String msg) {\n log(WARNING, msg);\n }", "title": "" }, { "docid": "b8524f347c413d8588a787b9b1f98170", "score": "0.5850844", "text": "public SQLWarning getWarnings() throws SQLException\n {\n return m_rs.getWarnings();\n }", "title": "" }, { "docid": "e0cbbb785c11def54ef08f031ec81ea4", "score": "0.5850807", "text": "void k2h_set_debug_level_warning();", "title": "" }, { "docid": "a1431c53a5c206c9e7acc5fe134ae9b0", "score": "0.58502626", "text": "public SQLWarning getWarnings() throws SQLException {\n return currentPreparedStatement.getWarnings();\n }", "title": "" }, { "docid": "7bff2742a0be99dbb8f72b19055fc1f4", "score": "0.58252984", "text": "public boolean logWarnings()\r\n {\r\n return warningLevelHandler.getBoolean();\r\n }", "title": "" }, { "docid": "e01f44640c43d890dfb8ddfbb2c1f65e", "score": "0.5820653", "text": "public Long getWarn_count() {\n return warn_count;\n }", "title": "" }, { "docid": "cb84d79544448eb3e6598953e171979b", "score": "0.58205694", "text": "public SQLWarning getWarnings() throws SQLException {\n\n try {\n debugCodeCall(\"getWarnings\");\n checkClosed();\n return null;\n }\n catch (Exception e) {\n throw logAndConvert(e);\n }\n }", "title": "" }, { "docid": "ffc4a9ff11885d38e04accf65e7a9063", "score": "0.5812366", "text": "@Override\n\tpublic void warn(MessageSupplier msgSupplier) {\n\n\t}", "title": "" }, { "docid": "91b477563621a90de855b80fcef01dbd", "score": "0.5795554", "text": "public boolean isWarnEnabled()\n/* */ {\n/* 290 */ return getLogger().isWarnEnabled();\n/* */ }", "title": "" } ]
21377f446d35c4a026e15d36b8a8745c
recogemos los parametros necesarios
[ { "docid": "e4e6ef164b511981ad3c1601b56ca4f9", "score": "0.0", "text": "public String borrarVenta(){\n FacesContext facesContext = FacesContext.getCurrentInstance();\r\n HttpSession session = (HttpSession) facesContext.getExternalContext().getSession(false);\r\n String idVenta = (String) facesContext.getExternalContext().getRequestParameterMap().get(\"idVentaABorrar\");\r\n Venta venta=ventaFacade.find((Integer)Integer.parseInt(idVenta));\r\n if (!venta.isCobrado()||!venta.isEnviado()||!venta.isPagado()||!venta.isRecibido()){\r\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,ResourcesUtil.getString(\"app.MensajeNoBorradaVenta\"),\"\");\r\n FacesContext.getCurrentInstance().addMessage(null, message);\r\n return \"index.xhtml?faces-redirect=true\"; \r\n }else{\r\n \r\n \r\n productoFacade.remove(venta.getProductoIdproducto());\r\n FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_INFO,\"Borrada Venta,\",\"\");\r\n FacesContext.getCurrentInstance().addMessage(null, message);\r\n return \"index.xhtml?faces-redirect=true\"; \r\n }\r\n \r\n }", "title": "" } ]
[ { "docid": "25b01e1b9000cd5a750b185847405d80", "score": "0.66812414", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n // jika id kosong maka simpan, jika id ada nilainya maka ubah\n params.put(\"idl\", id_lahan);\n return params;\n }", "title": "" }, { "docid": "1ca77b09e8fbb0082f000ae98606af81", "score": "0.66633195", "text": "public abstract String getParams();", "title": "" }, { "docid": "440f20ba2613ae583213c45763971c20", "score": "0.66355264", "text": "Map<String, List<String>> parameters();", "title": "" }, { "docid": "cc74bd39705366e6f2221321ccc8e0f0", "score": "0.65785486", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n params.put(\"id_marca\",String.valueOf(id_marca));\r\n return params;\r\n }", "title": "" }, { "docid": "3cf31e41113ad78493217a826b0e8b50", "score": "0.657519", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"Rango\", Rango);\n params.put(\"Sexo\", Sexo);\n params.put(\"idCliente\", idCliente);\n\n\n\n return params;\n }", "title": "" }, { "docid": "0db1edf5715f6dc37d94ad773595b77b", "score": "0.6537585", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"nominal\", nominal);\n params.put(\"nomor\", nomor);\n\n return params;\n }", "title": "" }, { "docid": "e28b3617c10d42e4ffa1b98b96034373", "score": "0.65217626", "text": "Parametro createParametro();", "title": "" }, { "docid": "c18b75322e56e5f0ccb12fa02946e08c", "score": "0.6510214", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n\r\n // Adding All values to Params.\r\n // The firs argument should be same sa your MySQL database table columns.\r\n params.put(\"name\", NameHolder);\r\n params.put(\"uid\", UidHolder);\r\n params.put(\"password\", PasswordHolder);\r\n params.put(\"gender\", GenderHolder);\r\n params.put(\"email\", EmailHolder);\r\n params.put(\"department\", DepartmentHolder);\r\n\r\n return params;\r\n }", "title": "" }, { "docid": "d7be7138335a101b09bb5e2b45d48fcb", "score": "0.64774597", "text": "public ParametroPorParametro() {\r\n\t}", "title": "" }, { "docid": "8551aed46b70fc66998f01073f97aa69", "score": "0.6438514", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n\n Map<String, String> parametros = new Hashtable<String, String>();\n parametros.put(\"usuario\", usuario.getUsuario());\n parametros.put(\"usuarioDestino\", \"TODOS\");\n\n return parametros;\n }", "title": "" }, { "docid": "0d507def6af69aa0a6f1c83f5728e9b2", "score": "0.64270383", "text": "Map<String, Object> getParameters();", "title": "" }, { "docid": "f52a8e857bdc345c33d9625066fe1096", "score": "0.6413558", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> parameters = new HashMap<String, String>();\n parameters.put(\"id_usuario\",user);\n //parameters.put(\"idP\", productos[0]);\n parameters.put(\"idP\",idProducto);\n //parameters.put(\"precio\", productos[2]);\n parameters.put(\"precio\", precioProducto);\n parameters.put(\"cantidad\", cant.getText().toString());\n parameters.put(\"modopago\", modoP);\n parameters.put(\"deudor\", deudo.getText().toString());\n //parameters.put(\"fecha\", date);\n return parameters;\n }", "title": "" }, { "docid": "4d2b3795422d4227a5ff82a675a5eb6c", "score": "0.63961005", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n\r\n\r\n\r\n // Adding All values to Params.\r\n // The firs argument should be same sa your MySQL database table columns.\r\n params.put(\"enrolment_no\", enrolment_no.getText().toString());\r\n params.put(\"password\", password.getText().toString());\r\n\r\n return params;\r\n }", "title": "" }, { "docid": "41660a3ff3bc27b7ea4f8dd6a2a83cd4", "score": "0.63909376", "text": "Object[] getParameters();", "title": "" }, { "docid": "927a62121cb942cb30c0b5121ef0bb21", "score": "0.6382999", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> parametros = new HashMap<String, String>();\n parametros.put(\"nrocuentaorigen\", cOrigen);\n parametros.put(\"nrocuentadestino\", cDestino);\n parametros.put(\"valor\", cvalor);\n return parametros;\n }", "title": "" }, { "docid": "029089c4ba0c5b72637b120e87a04045", "score": "0.6379632", "text": "private void setParametersToQuery(StringBuilder str,Map<String,Object> parametros,YoutubePlaylist filtro){\n\t\tif(isNotNull(filtro)){\n\t\t\tLong id=filtro.getId();\n\t\t\tNegocio negocio=filtro.getNegocio();\n\t\t\tLong idNeg=(negocio!=null)?negocio.getId():null;\n\t\t\tString nombre=filtro.getNombre();\n\t\t\tif(isNotNull(id)){\n\t\t\t\tagregarCondicion(str, \" p.id=:id \", CondicionLogica.AND);\n\t\t\t\tparametros.put(\"id\",id);\n\t\t\t}else{\n\t\t\t\tif(isValid(nombre)){\n\t\t\t\t\tagregarCondicion(str, \" p.nombre = :nombre \", CondicionLogica.AND);\n\t\t\t\t\tparametros.put(\"nombre\",nombre);\n\t\t\t\t}\n\t\t\t\tif(isNotNull(idNeg)){\n\t\t\t\t\tagregarCondicion(str, \" p.negocio.id = :idNeg \", CondicionLogica.AND);\n\t\t\t\t\tparametros.put(\"idNeg\",idNeg);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "title": "" }, { "docid": "bc7bb5f6d9580101806cdc1e23ca0047", "score": "0.636183", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n params.put(\"nomor_bmn\", nomorbmn);\r\n\r\n return params;\r\n }", "title": "" }, { "docid": "5fb8ed82bc9c98e2cc660e1b89f3a6e5", "score": "0.6338157", "text": "@Override\n protected Map<String,String> getParams(){\n\n Map<String,String> params = new HashMap<String, String>();\n\n params.put(\"docno\", repl);\n params.put(\"name\",Name.getText().toString());\n params.put(\"pass\",spinner2.getSelectedItem().toString());\n params.put(\"id\",ID.getText().toString());\n\n //Convert\n /*String YEAR = DOB.getText().toString().substring(0,4);\n String MONTH = DOB.getText().toString().substring(4,6);\n String DAY = DOB.getText().toString().substring(6,8);\n\n String dob = YEAR + \"-\" + MONTH + \"-\" + DAY;*/\n //System.out.println(\"DATE : \" + YEAR + \"-\" + MONTH + \"-\" + DAY);\n\n params.put(\"dob\", DOB.getText().toString());\n params.put(\"gender\", Gender.getText().toString());\n params.put(\"nationality\", Nationality.getText().toString());\n params.put(\"add\", Address.getText().toString());\n params.put(\"add2\", Address2.getText().toString());\n params.put(\"add3\", Address3.getText().toString());\n params.put(\"postcode\", Postcode.getText().toString());\n params.put(\"city\", City.getText().toString());\n params.put(\"state\", State.getText().toString());\n\n //FP1 = bytesToHexString(thumbprint1);\n // FP2 = bytesToHexString(thumbprint2);\n // params.put(\"fp1\", FP1);\n // params.put(\"fp2\", FP2);\n\n\n return params;\n }", "title": "" }, { "docid": "775039b6387f81fb8110cb243232c709", "score": "0.63288337", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n\n return params;\n }", "title": "" }, { "docid": "775039b6387f81fb8110cb243232c709", "score": "0.63288337", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n\n return params;\n }", "title": "" }, { "docid": "e672fcd853de6bcc472cc2dbab0e246a", "score": "0.6314709", "text": "@Override\n protected Map<String, String> getParams() {\n\n\n\n Map<String, String> params = new HashMap<String, String>();\n //params.put(\"doctor_user_name\", signUpUserNameText);\n params.put(\"key\", Glob.Key);\n params.put(\"doctor_id\", myid);\n params.put(\"claimed_id\", climId);\n\n return params;\n }", "title": "" }, { "docid": "63a962f2c8d01adbfee430ee5c8b1cea", "score": "0.6312357", "text": "@Override\n protected Map<String, String> getParams() {\n\n Map<String, String> params = new HashMap<String, String>();\n //Toast.makeText(FindDoctor.this, \"speciality_id in service\"+speciality_id, Toast.LENGTH_SHORT).show();\n params.put(\"key\", Glob.Key);\n params.put(\"doctor_id\", docId);\n params.put(\"uniqueId\", uniqueId);\n\n return params;\n }", "title": "" }, { "docid": "fafeb86c5aba2b323cfb7c35cb677383", "score": "0.6299847", "text": "@Override\n protected Map<String, String> getParams() {\n\n Map<String, String> params = new HashMap<String, String>();\n //Toast.makeText(FindDoctor.this, \"speciality_id in service\"+speciality_id, Toast.LENGTH_SHORT).show();\n params.put(\"key\", Glob.Key);\n params.put(\"doctor_id\", docId);\n\n return params;\n }", "title": "" }, { "docid": "d3c6ba8a2edc361b913e1cf00d844d8d", "score": "0.62934333", "text": "@Override\n\tprotected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (ProcessInfoParameter element : para) {\n\t\t\tString name = element.getParameterName();\n\t\t\tif (element.getParameter() == null && element.getParameter_To() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"AD_Client_ID\"))\n\t\t\t\tp_client_id = element.getParameterAsInt();\n\t\t\telse if (name.equals(\"C_Order_ID\"))\n\t\t\t\tp_order_id = element.getParameterAsInt();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t}", "title": "" }, { "docid": "a10f4c568ba2dffecc0c1d22a32d0742", "score": "0.6282963", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n for (int i = 0; i < _e_no.size(); i++) {\r\n params.put(\"quiz_id\", _quiz_id);\r\n params.put(\"name[\" + i + \"]\", _name.get(i));\r\n params.put(\"e_no[\" + i + \"]\", _e_no.get(i));\r\n params.put(\"marks[\" + i + \"]\", _marks.get(i));\r\n }\r\n return params;\r\n }", "title": "" }, { "docid": "77187cb00cbc09b962767e7e0168825c", "score": "0.6279143", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n\n Map<String, String> parametros = new Hashtable<String, String>();\n parametros.put(\"usuario\", usuario.getUsuario());\n parametros.put(\"usuarioDestino\", \"TODOS\");\n parametros.put(\"mensaje\", etTexto.getText().toString());\n\n return parametros;\n }", "title": "" }, { "docid": "bd112a0a27bdf6fac131406a4149124e", "score": "0.62762207", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"userID\", String.valueOf(userID));\n params.put(\"music\", music);\n params.put(\"food\", food);\n params.put(\"festival\", festival);\n params.put(\"social\", social);\n params.put(\"sports\", sports);\n params.put(\"party\", party);\n\n\n return params;\n }", "title": "" }, { "docid": "183bc25582c49d4048dfd91d347c7bb4", "score": "0.6263155", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n return params;\r\n }", "title": "" }, { "docid": "6893c71bfb684a203da53fbe5929c25b", "score": "0.6257797", "text": "public void generateParameters() {\n\t\tparameters.add(shift.getDate());\n\t\tparameters.add(\"\" + shift.getTime());\n\t\tparameters.add(shift.getLocation());\n\t\tparameters.add(shift.getAbsentTeacherName());\n\t\tparameters.add(sub.getFirstName() + \" \" + sub.getLastName());\n\t\tgenerateEmailNotification();\n\t\tparameters.add(emailText);\n\t}", "title": "" }, { "docid": "07359bc1f0fda01145a72e917149d10a", "score": "0.62505347", "text": "Map<String, String[]> getParamValues();", "title": "" }, { "docid": "880d4bf3a4f281790bda252822651847", "score": "0.62484735", "text": "private SetParametersRequest(){}", "title": "" }, { "docid": "3fc023f6e42e21940e2d4010ee77b587", "score": "0.6247019", "text": "public abstract String[] getParameterNames();", "title": "" }, { "docid": "0bf080718ff161fc915b05f7000ddcd8", "score": "0.624564", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n params.put(\"kdcust\", kdcustx);\n params.put(\"kdbrg\", kdbrg);\n params.put(\"satuan\", spin_satuan.getSelectedItem().toString());\n params.put(\"hrg\", harga.toString());\n params.put(\"hrgincppn\", hargaincppn.toString());\n params.put(\"diskon1\", disc1.toString());\n params.put(\"diskon2\", disc2.toString());\n params.put(\"diskon3\", disc3.toString());\n\n return params;\n }", "title": "" }, { "docid": "68177a894dcf452a0e93bfbc9f77e963", "score": "0.6243766", "text": "@Override\n protected Map<String, String> getParams() {\n\n\n\n Map<String, String> params = new HashMap<String, String>();\n //params.put(\"doctor_user_name\", signUpUserNameText);\n params.put(\"key\", Glob.Key);\n\n return params;\n }", "title": "" }, { "docid": "061b2329e4f1b0410e6e005f729f8293", "score": "0.62386453", "text": "@Override\n public void asignaParametros() {\n String sUsuario = request.getParameter(\"usuario\")!=null?request.getParameter(\"usuario\"):\"\";\n String sPass = request.getParameter(\"pass\")!=null?request.getParameter(\"pass\"):\"\";\n \n Usuario usuario = new Usuario(sUsuario, sPass);\n sesion.setUsuario(usuario);\n }", "title": "" }, { "docid": "7a90c7eb601a08cc32d0bb5b622cfc5f", "score": "0.6232835", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n params.put(\"kdcust\", kdcustx);\n params.put(\"kdbrg\", edt_kdbrg.getText().toString());\n params.put(\"satuan\", spin_satuan.getSelectedItem().toString());\n params.put(\"hrg\", harga.toString());\n params.put(\"hrgincppn\", hargaincppn.toString());\n params.put(\"diskon1\", disc1.toString());\n params.put(\"diskon2\", disc2.toString());\n params.put(\"diskon3\", disc3.toString());\n\n return params;\n }", "title": "" }, { "docid": "f0c308e60bf13e2061c0ac97a5901013", "score": "0.6226837", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"name\", name);\n params.put(\"age\", age);\n params.put(\"gender\", gender);\n if (image != null) {\n params.put(\"image\", image);\n }\n return params;\n }", "title": "" }, { "docid": "06c09dc3d70f16c86fe7a2324a7255e6", "score": "0.62220097", "text": "@Override\n protected Map<String,String> getParams(){\n\n Map<String,String> params = new HashMap<String, String>();\n\n params.put(\"docty\", spinner.getSelectedItem().toString());\n params.put(\"docno\", ID.getText().toString());\n params.put(\"operator\",spinner2.getSelectedItem().toString());\n params.put(\"phoneNo\",PhoneNo.getText().toString());\n params.put(\"serialno\", SerialNo.getText().toString());\n params.put(\"puk1\",PUK1.getText().toString());\n params.put(\"puk2\", PUK2.getText().toString());\n\n\n return params;\n }", "title": "" }, { "docid": "a69573e38aa8b1934fae173c54a7396e", "score": "0.6205053", "text": "protected void validateIdRepartoOrdenes(java.lang.String[] param){\r\n \r\n }", "title": "" }, { "docid": "fb38e2bfc6544e859a21d736231330f7", "score": "0.6196452", "text": "public abstract String[] getParameterValues(String name);", "title": "" }, { "docid": "553bf6d7a75396c424899638615ee429", "score": "0.6185645", "text": "private static String montaParametres(HashMap<String, String> params) throws UnsupportedEncodingException {\n StringBuilder result = new StringBuilder();\n boolean first = true;\n for(Map.Entry<String, String> entry : params.entrySet()){\n if (first) { first = false;} else {result.append(\"&\");}\n result.append(URLEncoder.encode(entry.getKey(), \"UTF-8\"));\n result.append(\"=\");\n result.append(URLEncoder.encode(entry.getValue(), \"UTF-8\"));\n }return result.toString();\n }", "title": "" }, { "docid": "7d376230db11b75c908d71e361dd843d", "score": "0.61805886", "text": "@Override\r\n protected Map<String, String>getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n params.put(\"Full_Name\",Full_Name);\r\n params.put(\"Mobile_Number\",Mobile_Number);\r\n params.put(\"DOB\",DOB);\r\n params.put(\"Email\",Email);\r\n params.put(\"Qualification\",Qualification);\r\n params.put(\"Address\",Address);\r\n params.put(\"Blood_Group\",Blood_Group);\r\n params.put(\"Password\", Password);\r\n\r\n return params;\r\n }", "title": "" }, { "docid": "524edd2c9f901cccb770a04bc36d417b", "score": "0.61768425", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"MitarbeiterID\", name);\n params.put(\"password\", pw);\n\n return params;\n }", "title": "" }, { "docid": "5645b4633f9a2db6f090f6ef2cc7afb5", "score": "0.617004", "text": "Map<String, String> getParam();", "title": "" }, { "docid": "267ef392424f366b2406cd18ff396554", "score": "0.6164376", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"fullname\", fullname);\n params.put(\"username\", username);\n params.put(\"emailId\", emailId);\n params.put(\"password\", password);\n params.put(\"courseInterest\", courseInterest);\n params.put(\"undergradGpa\", undergradGpa);\n params.put(\"greQuant\", greQuant);\n params.put(\"greVerbal\", greVerbal);\n params.put(\"greAWA\", greAWA);\n params.put(\"engScore\", engScore);\n params.put(\"workExp\", workExp);\n\n return params;\n }", "title": "" }, { "docid": "346c116794ca6a887eeeabc47a681319", "score": "0.61592346", "text": "@Override\n\tpublic String[] getParams() {\n\t\tVector<String> s = new Vector<String>();\n\t\ts.add(\"name\");\n\t\ts.add(\"plural\");\n\t\ts.add(\"numerusGenus\");\n\t\ts.add(\"id\");\n\t\treturn s.toArray(new String[0]);\n\t}", "title": "" }, { "docid": "8b1109ae93fa10b675810abe6ffa3e5c", "score": "0.6144321", "text": "@Override\n public void setParams()\n {\n\n }", "title": "" }, { "docid": "099e034550790c989127bc83a58f9153", "score": "0.6141572", "text": "@Override\n protected Map<String, String> getParams()\n {\n return params;\n }", "title": "" }, { "docid": "ea5662e602b0ace3a0707a73d43adbe7", "score": "0.6117019", "text": "@Override\n protected Map<String, String> getParams() {\n\n\n\n Map<String, String> params = new HashMap<String, String>();\n //params.put(\"doctor_user_name\", signUpUserNameText);\n params.put(\"key\", Glob.Key);\n params.put(\"doctor_id\", toReportID);\n params.put(\"user_id\", reporterID);\n params.put(\"report\", reportText);\n\n return params;\n }", "title": "" }, { "docid": "99d4adb04200defe35e663db6d1c2902", "score": "0.61138415", "text": "public String getParameter();", "title": "" }, { "docid": "3aeef8d4de882d4921aa69015f0d7ebe", "score": "0.60980415", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n return params;\n }", "title": "" }, { "docid": "dde601606989c724fa2c8bacdcf6510e", "score": "0.6097558", "text": "private String[] getAntecedentParameters(){\n\t\tString[] param = new String[1];\n\t\tparam[0] = antecedentParameters.getText().trim();\n\t\treturn param;\n\t}", "title": "" }, { "docid": "d2a46a3bdf1f449656accf5e59741366", "score": "0.60877806", "text": "@Parameters\n public static Collection<Object[]> getParameters() {\n final Collection<Object[]> parameters = new ArrayList<Object[]>(10);\n parameters.add(new String[] {\"Alice\", \"secret\"});\n parameters.add(new String[] {\"Bob\", \"s&e+c`ret\"});\n parameters.add(new String[] {\"user\", \"\\u20ac\\u20ac\"});\n return parameters;\n }", "title": "" }, { "docid": "bb13858e343e917ab56797524bc142bd", "score": "0.6082097", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"first_name\", first_name);\n params.put(\"last_name\", last_name);\n params.put(\"sex\", sex);\n params.put(\"email\", email);\n params.put(\"telephone\", telephone);\n params.put(\"category\", category);\n params.put(\"password\", password);\n\n return params;\n }", "title": "" }, { "docid": "f99fb0ec0368b6ddb6290c59b3e30c75", "score": "0.608077", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"imgurl\", imgurl);\n params.put(\"uname\", uname);\n params.put(\"status\", status);\n params.put(\"uid\", uid);\n params.put(\"ureport\", ureport);\n\n return params;\n }", "title": "" }, { "docid": "c1aa0d788ef04151f531395d587946c3", "score": "0.6075087", "text": "private void initParameters() {\n\t\tString parameterOperation = getParameter(PARAMETER_OPERATION);\n\t\tif (parameterOperation != null) {\n\t\t\toperation = Operation.valueOf(parameterOperation);\n\t\t}\n\n\t\tString parameterToken = getParameter(PARAMETER_TOKEN);\n\t\tif (parameterToken != null) {\n\t\t\ttokenType = SignatureTokenType.valueOf(parameterToken);\n\t\t}\n\n\t\tif (operation == null) {\n\t\t\tthrow new RuntimeException(\"Unable to retrieve '\" + PARAMETER_OPERATION + \"' parameter (\" + parameterOperation + \")\");\n\t\t}\n\n\t\tif (tokenType == null) {\n\t\t\tthrow new RuntimeException(\"Unable to retrieve '\" + PARAMETER_TOKEN + \"' parameter (\" + parameterToken + \")\");\n\t\t}\n\n\t\tif (Operation.sign_digest.equals(operation)) {\n\t\t\tString parameterDigest = getParameter(PARAMETER_DIGEST_TO_SIGN);\n\t\t\tif (parameterDigest != null) {\n\t\t\t\ttoBeSigned = new ToBeSigned(DatatypeConverter.parseBase64Binary(parameterDigest));\n\t\t\t}\n\n\t\t\tString parameterAlgo = getParameter(PARAMETER_DIGET_ALGORITHM);\n\t\t\tif (parameterAlgo != null) {\n\t\t\t\tdigestAlgorithm = DigestAlgorithm.valueOf(parameterAlgo);\n\t\t\t}\n\n\t\t\tbase64Certificate = getParameter(PARAMETER_BASE64_CERTIFICATE);\n\t\t}\n\n\t\tif (SignatureTokenType.PKCS11.equals(tokenType)) {\n\t\t\tpkcs11LibPath = getParameter(PARAMETER_PKCS11_PATH);\n\t\t\tpkcs11Pwd = getParameter(PARAMETER_PKCS11_PWD).toCharArray();\n\t\t}\n\t}", "title": "" }, { "docid": "4b40749beb3ea9b5950d83a6d6ec8987", "score": "0.6064441", "text": "@Override\n\tprotected void prepare() {\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (ProcessInfoParameter element : para) {\n\t\t\tString name = element.getParameterName();\n\t\t\tif (element.getParameter() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"AD_Client_ID\"))\n\t\t\t\tm_AD_Client_ID = ((BigDecimal) element.getParameter())\n\t\t\t\t\t\t.intValue();\n\t\t\telse if (name.equals(\"DeleteOldImported\"))\n\t\t\t\tm_deleteOldImported = \"Y\".equals(element.getParameter());\n\t\t\telse if (name.equals(\"M_PriceList_Version_ID\"))\n\t\t\t\tp_M_PriceList_Version_ID = element.getParameterAsInt();\n\t\t\telse\n\t\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t\tif (m_DateValue == null)\n\t\t\tm_DateValue = new Timestamp(System.currentTimeMillis());\n\t}", "title": "" }, { "docid": "d34b6c868d414ccb8ce5bad4372afbd5", "score": "0.6061306", "text": "public void setP_parametros(java.lang.String param){\r\n localP_parametrosTracker = true;\r\n \r\n this.localP_parametros=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "d34b6c868d414ccb8ce5bad4372afbd5", "score": "0.6061306", "text": "public void setP_parametros(java.lang.String param){\r\n localP_parametrosTracker = true;\r\n \r\n this.localP_parametros=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "955fcc73b5df47db443833025cb59553", "score": "0.60466045", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n if (!bitmap.equals(\"\")){\n image = getStringImage(bitmap);\n\n }\n\n\n\n\n\n\n //Getting Image Name\n\n\n Map<String,String> params = new Hashtable<String, String>();\n\n //Adding parameters\n params.put(KEY_IMAGE, image);\n params.put(KEY_NOM, nom);\n params.put(KEY_PRENOM, prenom);\n params.put(KEY_TEL, numtel);\n params.put(KEY_MAIL, mail);\n params.put(KEY_IDCLASSE, classe.getIdClasse()+\"\");\n\n\n //Creating parameters\n\n //returning parameters\n return params;\n }", "title": "" }, { "docid": "380590a715a04b0d0d2072c2aa1bfabb", "score": "0.6040724", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"userId\", SharedPrefManager.getInstance(context).getUser().getId());\n params.put(\"workbenchId\", listOfBookingInfomation.get(position).getWorkbenchId());\n params.put(\"DateandTimeStart\",listOfBookingInfomation.get(position).getDateandTimeStart());\n params.put(\"Status\",listOfBookingInfomation.get(position).getStatus());\n \n\n return params;\n }", "title": "" }, { "docid": "5c1bffe077e6667cc4ef033bcfb96de7", "score": "0.60406584", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"idPrestasi\", idx);\n\n return params;\n }", "title": "" }, { "docid": "5c1bffe077e6667cc4ef033bcfb96de7", "score": "0.60406584", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"idPrestasi\", idx);\n\n return params;\n }", "title": "" }, { "docid": "384304c49351ed8583bef9adb1079865", "score": "0.6028118", "text": "public abstract String getParameter(String name);", "title": "" }, { "docid": "b772f7597e754d342de25cebd1709c8c", "score": "0.60167724", "text": "protected void prepare()\n\t{\n\t\tProcessInfoParameter[] para = getParameter();\n\t\tfor (int i = 0; i < para.length; i++)\n\t\t{\n\t\t\tString name = para[i].getParameterName();\n\t\t\tif (para[i].getParameter() == null)\n\t\t\t\t;\n\t\t\telse if (name.equals(\"'PONum\"))\n\t\t\t\tp_Ponum = (String)para[i].getParameter();\t\t\t\t\n\t\t\telse if (name.equals(\"MovementDate\")) {\n\t\t\t\tp_MovementDatefrom = (Timestamp)para[i].getParameter();\n\t\t\t\tp_MovementDateto = (Timestamp)para[i].getParameter_To();\t\t\t\n\t\t\t} \n\t\t\telse if (name.equals(\"M_Product_Categoty_ID\"))\n\t\t\t\tp_M_Product_Categoty_ID = ((BigDecimal)para[i].getParameter()).intValue();\n\t\t\telse if (name.equals(\"M_Product_ID\"))\n\t\t\t\tp_M_Product_ID = ((BigDecimal)para[i].getParameter()).intValue();\n\t\t\telse if (name.equals(\"SalesRep_ID\"))\n\t\t\t\tp_SalesRep_ID = ((BigDecimal)para[i].getParameter()).intValue();\n\t//\t\telse\n\t//\t\t\tlog.log(Level.SEVERE, \"Unknown Parameter: \" + name);\n\t\t}\n\t\tif (p_MovementDatefrom == null)\n\t\t\tp_MovementDatefrom = new Timestamp (System.currentTimeMillis());\n\t\tif (p_MovementDateto == null) \n\t\t\tp_MovementDateto = new Timestamp (System.currentTimeMillis());\n\t System.out.println(\" date :\" + p_MovementDatefrom + p_MovementDateto);\n\t}", "title": "" }, { "docid": "6e98cc7cabd49b9c327893a5b4a17e96", "score": "0.6012104", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n // Adding All values to Params.\n params.put(\"first_name\", FirstNameHolder);\n params.put(\"Mobile_no\", MobileNoHolder);\n params.put(\"email\", EmailHolder);\n\n return params;\n }", "title": "" }, { "docid": "5e416fd968f3520b56f2ff5b1e9e70c3", "score": "0.6008649", "text": "public String getParameterFromP();", "title": "" }, { "docid": "8385b397baa5f8e297e1c6d258491e2b", "score": "0.5999497", "text": "protected void validateInfoRepartoOrdenes(RepartoOrdenesDTO[] param){\r\n \r\n }", "title": "" }, { "docid": "228505346d4306cde0f2815344bd13ab", "score": "0.59972686", "text": "public interface ParamsConstants {\n final static String PAGE_PARAMS_OFFSET = \"offset\";\n final static String PAGE_PARAMS_LENGTH = \"length\";\n final static String PAGE_PARAMS_ORDER_DESC = \"orderDesc\";\n final static String PAGE_PARAMS_EQUALPARAMS = \"equalParams\";\n final static String PAGE_PARAMS_LIKEPARAMS = \"likePrams\";\n final static String PAGE_DATA_COUNT = \"dataCount\";\n\n final static String PARAM_NAME = \"name\";\n final static String PARAM_TYPE = \"type\";\n final static String PARAM_PASSWORD = \"password\";\n\n final static String PARAM_MONGO_FILE_NAME = \"filename\";\n final static String PARAM_MONGO_ARTICLE_INFORMATION_ID = \"informationId\";\n\n final static String PARAM_ID = \"id\";\n final static String PARAM_UUID = \"uuid\";\n final static String PARAM_PICTURE = \"picture\";\n\n final static String PARAM_USER_NAME = \"name\";\n final static String PARAM_USER_USERNAME = \"userName\";\n final static String PARAM_USER_PASSWORD = \"password\";\n\n final static String PARAM_KTV_NAME = \"name\";\n final static String PARAM_KTV_ADDRESS = \"address\";\n final static String PARAM_KTV_ID = \"ktvId\";\n final static String PARAM_KTV_DISTRICT_ID = \"districtId\";\n\n final static String PARAM_INFORMATION_TITLE = \"title\";\n final static String PARAM_INFORMATION_ID = \"informationId\";\n\n final static String PARAM_COMMENT_COMMENT = \"comment\";\n final static String PARAM_COMMENT_SCORE = \"score\";\n final static String PARAM_COMMENT_KTV_ID = \"KTVId\";\n\n final static String PARAM_GAME_NAME = \"name\";\n final static String PARAM_GAME_ID = \"gameId\";\n\n final static String PARAM_SMALL_PICTURES = \"bigPictures\";\n final static String PARAM_MIDDLE_PICTURES = \"middlePictures\";\n final static String PARAM_BIG_PICTURES = \"smallPictures\";\n\n final static String DISTRICT_ID_REFERENCE = \"reference\";\n final static String DISTRICT_PROVINCE_ID = \"provinceId\";\n final static String DISTRICT_CITY_ID = \"cityId\";\n final static String DISTRICT_AREA_ID = \"areaId\";\n\n}", "title": "" }, { "docid": "48186b1327150690b12d3beee1f0da6d", "score": "0.5996312", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"name\", name);\n params.put(\"email\", email);\n params.put(\"password\", password);\n params.put(\"gender\", gender);\n params.put(\"phone\", phone);\n return params;\n }", "title": "" }, { "docid": "c6e2165ac1e356e73974c849d0ff81d9", "score": "0.59927636", "text": "List<Parameter> getParameters();", "title": "" }, { "docid": "7e0ab11052a86349648fc14d3c9d5d63", "score": "0.5991918", "text": "public void setParametro(java.lang.String param){\r\n localParametroTracker = true;\r\n \r\n this.localParametro=param;\r\n \r\n\r\n }", "title": "" }, { "docid": "f0840215000b82460dd89125253ce7fc", "score": "0.5981958", "text": "private void writeParameters() throws Exception {\n\t\t\n\t\tString paramName;\n\t\t\n\t\tString paramValue;\n\t\tJavaClassElement.javaCodeBuffer.append(\"params=new ArrayList<>()\"+ JavaConstants.DOT_WITH_COMMA+ JavaConstants.NEW_LINE);\n\t\tfor(int i=0; i<queryTokenList.size();i++){\n\n\t\t\tcurToken=queryTokenList.get(i);\n\t\t\t\n\t\t\tif(curToken.isFiltreValue() && !curToken.isConstantVariableWithQuota()){\n\t\t\t\tif(curToken.getFiltreNameToken()!=null && curToken.getFiltreNameToken().getLinkedToken()!=null){\n\t\t\t\t\t\n\t\t\t\t\tparamName=curToken.getFiltreNameToken().getLinkedToken().getDeger().toString();\n\t\t\t\t}else if(curToken.getFiltreNameToken()!=null && curToken.getFiltreNameToken().getColumnNameToken()!=null){\n\t\t\t\t\tparamName=curToken.getFiltreNameToken().getColumnNameToken().getDeger().toString();\n\t\t\t\t}else{\n\t\t\t\t\tparamName=curToken.getFiltreNameToken().getDeger().toString();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tJavaClassElement.javaCodeBuffer.append(\"params.add(new SQLParameter(\\\"\"+paramName+\"\\\", \"+JavaWriteUtilities.toCustomString(curToken)+\"))\"+ JavaConstants.DOT_WITH_COMMA+ JavaConstants.NEW_LINE);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t}", "title": "" }, { "docid": "c451763e8c0455c7d31dd563d5d6be9d", "score": "0.5981369", "text": "@Override\n protected Map<String, String> getParams() {\n final Map<String, String> params = new HashMap<>();\n params.put(\"id\", mid);\n// params.put(\"q\", query);\n// params.put(\"password\", password.getText().toString());\n\n return params;\n }", "title": "" }, { "docid": "bb92b2bfaaf423750c5cf7a9185f79d7", "score": "0.59806556", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n // params.put(\"tag\", \"upload\");\n params.put(\"product_name\", productname);\n params.put(\"description\", description);\n params.put(\"price\", price);\n params.put(\"supermarket\", supermarket);\n params.put(\"image\", attach);\n\n\n return params;\n }", "title": "" }, { "docid": "3deaf9d110fa9b62b3740d87d278a05f", "score": "0.5980397", "text": "@Override\n public Iterator<String> getParameterNames()\n {\n return _params.keySet().iterator();\n }", "title": "" }, { "docid": "cd86ef25176e6adc3f511296bc8af568", "score": "0.597021", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n // Adding All values to Params.\n params.put( \"keterangan\", KeteangabnHolder );\n params.put( \"id_pelanggan\", id_pelanggan );\n params.put( \"berat\", BeratHolder );\n params.put( \"total\", TotalHolder );\n params.put( \"room_chat\", room_chat );\n return params;\n }", "title": "" }, { "docid": "d5d9535ac04c1ec04abac825f81922d2", "score": "0.5968736", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n params.put(\"id\", id);\n params.put(\"nama_kue\", nama);\n params.put(\"keterangan\", keterangan);\n params.put(\"harga\", harga);\n\n return params;\n }", "title": "" }, { "docid": "f635a21f154475e13db0e13a2976c542", "score": "0.5964683", "text": "@Override\r\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\r\n params.put(\"name\", name);\r\n\r\n return params;\r\n }", "title": "" }, { "docid": "ef6a66eb8bc953be0405f632b11d1477", "score": "0.59631366", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n Log.d(\"enterd valuesssss......\",userName+\" \"+ user_email+\" \"+user_phn+\" \"+user_spclty+\" \"+gendr);\n\n params.put(\"user_login\", userName);\n params.put(\"user_email\", user_email);\n params.put(\"user_gender\", genderValue);\n params.put(\"user_description\", user_spclty);\n params.put(\"user_primary_contact\", user_phn);\n return params;\n }", "title": "" }, { "docid": "4bb43637428329b9d1d72b6bfcdec50c", "score": "0.5956743", "text": "@Override\r\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> parametros = new HashMap<>();\r\n parametros.put(\"usuario\", usuario);\r\n parametros.put(\"pass\", pass);\r\n\r\n return parametros;\r\n }", "title": "" }, { "docid": "a142988740cbf0d8d98f01de275d1db4", "score": "0.5955283", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError {\n Map<String,String> map = data.getParametersInMap(db);\n for (Map.Entry<String, String> entry : map.entrySet())\n {\n System.out.println(entry.getKey() + \" : \" + entry.getValue());\n\n }\n return map;\n }", "title": "" }, { "docid": "66300bf3d16144bf3d59ef38dc194029", "score": "0.5952609", "text": "protected String paramString ( ) {\r\n\t\treturn \"x=\" + x + \",y=\" + y;\r\n\t}", "title": "" }, { "docid": "b2bf48f51f1cbdffca95e175cadde70a", "score": "0.59501487", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n Log.d(\"hello world\",\"sdkjfhsdkfbsk \"+ sid + subcode + rating + fid);\n params.put(\"Sid\", sid);\n params.put(\"Rating\", rating);\n params.put(\"Fid\", fid);\n params.put(\"subject\", subcode);\n params.put(\"comment1\", feedback);\n params.put(\"comment2\", comment);\n\n return params;\n }", "title": "" }, { "docid": "ee737673a62b352b8c9f702b8c7c799d", "score": "0.5937131", "text": "public abstract Iterable<String> getParameterIterable();", "title": "" }, { "docid": "cf7609f1339904119eda43fe160a2e66", "score": "0.5936393", "text": "@Override\n protected Map<String, String> getParams() throws AuthFailureError{\n Map<String, String> params = new HashMap<String, String>();\n // jika id kosong maka simpan, jika id ada nilainya maka update\n// if (idPrestasi.isEmpty()){\n params.put(\"npm\", getId);\n params.put(\"namaLomba\", namaLomba);\n params.put(\"tahun\", tahunPrestasi);\n params.put(\"juara\", juaraPrestasi);\n params.put(\"tingkat\", tingkatHide);\n params.put(\"jenis\", jenisHide);\n //params.put(\"scanBukti\", scanBukti);\n //params.put(\"PDF\", encodedimage);\n if(bitmap==null){\n params.put(\"PDF\", encodedPDF);\n params.put(\"file\", namaLomba + \".pdf\");\n encodedPDF = \"\";\n encodedimage = \"\";\n } else{\n params.put(\"PDF\", encodedimage);\n params.put(\"file\", namaLomba + \".jpg\");\n encodedPDF = \"\";\n encodedimage = \"\";\n bitmap = null;\n }\n\n return params;\n }", "title": "" }, { "docid": "910bf59cddeb86018daa08c578bcbfb3", "score": "0.5931808", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n\n params.put(\"id\", itemid);\n params.put(\"qty\", itemqty);\n params.put(\"ccaid\", id);\n params.put(\"tprice\", tprice);\n params.put(\"email\", sp.getString(\"userEmail\", \"abc@def.com\"));\n params.put(\"addr\", sp.getString(\"userAddr\", \"error\"));\n return params;\n }", "title": "" }, { "docid": "886fab8bb072275a5e63375d85649371", "score": "0.59294885", "text": "protected Map<String, String> getParams() throws AuthFailureError {\n Map<String, String> param = new HashMap<>();\n param.put(\"registros\", registros);\n return param;\n }", "title": "" }, { "docid": "0cf214f9903a0b9ee4d2b9e681b802cd", "score": "0.59282535", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"name\", name);\n params.put(\"email\", email);\n params.put(\"mobile\", mobile);\n // params.put(\"mobile\", downpayment);\n params.put(\"password\", password);\n\n return params;\n }", "title": "" }, { "docid": "724f4b7f9ca0c2cff6ec26274692254c", "score": "0.59218025", "text": "public void analyzeParameters(){\n determineTitle();\n determineSQLStatements();\n determineCustomization();\n }", "title": "" }, { "docid": "62544bcdad1a5ea5979503f7f9035ad7", "score": "0.5910727", "text": "@Override\n protected Map<String, String> getParams() {\n Map<String, String> params = new HashMap<String, String>();\n params.put(\"ruserid\",userid);\n params.put(\"usertype\", type);\n params.put(\"track_jobid\", trackjobid);\n params.put(\"wages_paid\", wages);\n params.put(\"review\", rating);\n params.put(\"labour_id\", laborid);\n\n Log.e(\"\",\"\"+params);\n return params;\n }", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.5902726", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.5902726", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.5902726", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" }, { "docid": "e3bb6d50ebce4b00af8a59027a16db80", "score": "0.59009707", "text": "eicio.Model.Params getParams();", "title": "" } ]