Examples of asList()


Examples of org.jenetics.util.ISeq.asList()

        if (model.size > 0) {
          final ISeq pt = Array.of(model.phenotypes)
            .map(jaxb.Unmarshaller(model.phenotypes.get(0)))
            .toISeq();

          population = new Population(pt.asList());
        }

        return population;
      }
    }
View Full Code Here

Examples of org.jibx.util.InsertionOrderedSet.asList()

                qnames.add(null);
            }
        }
       
        // generate bindings for all data classes used
        m_bindingGenerator.generateSpecified(qnames, concrs.asList(), abstrs.asList());
       
        // add binding definitions for collections passed or returned in plain doc/lit, and find empty service bindings
        Map typemap = new HashMap();
        Set unbounduris = new HashSet();
        for (Iterator iter = services.iterator(); iter.hasNext();) {
View Full Code Here

Examples of org.jibx.util.InsertionOrderedSet.asList()

                // add any schemas specified in customizations
                addCustomizedSchemas(base, basedir, parms.getCustomRoot(), fileset);
               
                // load the full set of schemas
                Refactory inst = new Refactory(parms);
                SchemaElement[] schemas = inst.load(fileset.asList());
                if (!reportProblems(inst.m_validationContext)) {
                    if (inst.customizeSchemas()) {
                        System.out.println("Loaded and validated " + fileset.size() + " schemas");
                       
                        // apply the customizations to the schema
View Full Code Here

Examples of org.jibx.util.InsertionOrderedSet.asList()

        }
       
        // process all members found in class
        m_memberMap = new InsertionOrderedMap();
        boolean auto = !getName().startsWith("java.") && !getName().startsWith("javax.");
        List names = nameset.asList();
        for (Iterator iter = names.iterator(); iter.hasNext();) {
           
            // get basic member information
            String name = (String)iter.next();
            String lcname = name.toLowerCase();
View Full Code Here

Examples of org.jibx.util.InsertionOrderedSet.asList()

            handler.addHandler(new ProblemConsoleLister());
            handler.addHandler(new ProblemLogLister(s_logger));
            CodeGen inst = new CodeGen(parms.getCustomRoot(), parms.getSchemaRoot(),
                parms.getGeneratePath());
            inst.generate(parms.isVerbose(), parms.getUsingNamespace(), parms.getNonamespacePackage(),
                parms.getBindingName(), fileset.asList(), parms.getIncludePaths(), parms.getModelFile(), handler);
           
        } else {
            if (args.length > 0) {
                s_logger.error("Terminating due to command line or customization errors");
            } else {
View Full Code Here

Examples of org.jibx.util.InsertionOrderedSet.asList()

           
            // build schema extracts from main component and all referenced components
            String clasname = group.getGenerateClass().getFullName();
            TreeWalker walker = new TreeWalker(null, new SchemaContextTracker());
            boolean ref = false;
            List list = refcomps.asList();
            for (Iterator iter = list.iterator(); iter.hasNext();) {
               
                // add a blank line separating components
                if (ref) {
                    strwriter.write(COMMENT_LEAD_TEXT);
View Full Code Here

Examples of org.openrdf.result.GraphResult.asList()

        }

        // Evaluate the query on the query data
        GraphResult result = con.prepareGraphQuery(getQueryLanguage(), query).evaluate();
        try {
          actualStatements = result.asList();
        }
        finally {
          result.close();
        }
      }
View Full Code Here

Examples of org.openrdf.result.ModelResult.asList()

    testCon.add(alice, name, nameAlice);

    Model model;
    ModelResult statements = testCon.match(null, null, null, true);
    try {
      model = new LinkedHashModel(statements.asList());
    }
    finally {
      statements.close();
    }
View Full Code Here

Examples of org.openrdf.result.impl.MutableTupleResult.asList()

       * getName().length(), message);
       * message.append("========================\n");
       */

      List<BindingSet> queryBindings = queryResultTable.asList();
      List<BindingSet> expectedBindings = expectedResultTable.asList();

      List<BindingSet> missingBindings = new ArrayList<BindingSet>(expectedBindings);
      missingBindings.removeAll(queryBindings);

      List<BindingSet> unexpectedBindings = new ArrayList<BindingSet>(queryBindings);
View Full Code Here

Examples of org.openrdf.result.impl.MutableTupleResult.asList()

       * getName().length(), message);
       * message.append("========================\n");
       */

      List<BindingSet> queryBindings = queryResultTable.asList();
      List<BindingSet> expectedBindings = expectedResultTable.asList();

      List<BindingSet> missingBindings = new ArrayList<BindingSet>(expectedBindings);
      missingBindings.removeAll(queryBindings);

      List<BindingSet> unexpectedBindings = new ArrayList<BindingSet>(queryBindings);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.