Examples of elements()


Examples of mesquite.lib.TreeVector.elements()

      // To be used by the tree traversal methods.
      setCurrentTaxaList(treeTaxonLabels);
      setCurrentTreeTaxa(treeTaxa);

      Enumeration e = treeVector.elements();
      while (e.hasMoreElements()) {
        Tree mesqTree = (Tree) e.nextElement();
        String newick = mesqTree.writeTreeByNames(true);

        if (LOGGER.isDebugEnabled()) {
View Full Code Here

Examples of net.citizensnpcs.utils.PageUtils.PageInstance.elements()

        PageInstance display = PageUtils.newInstance(player);
        display.setSmoothTransition(true);
        display.header(ChatColor.GREEN + StringUtils.listify("Quest %x/%y - " + StringUtils.wrap(quest.getName())));
        for (String push : Splitter.on("<br>").omitEmptyStrings().split(quest.getDescription())) {
            display.push(push);
            if ((display.elements() % 8 == 0 && display.maxPages() == 1) || display.elements() % 9 == 0) {
                display.push(ChatColor.GOLD + "Right click to continue description.");
            }
        }
        display.process(1);
        if (display.maxPages() == 1) {
View Full Code Here

Examples of net.jini.core.constraint.ClientMinPrincipal.elements()

     {
        if (subject != null) {
            Iterator itAlt = alt.elements().iterator();
            while (itAlt.hasNext()) {
                ClientMinPrincipal cminp = (ClientMinPrincipal) itAlt.next();
                int matchCount = cminp.elements().size();
                Iterator itCminp = cminp.elements().iterator();
                while (itCminp.hasNext()) {
                    Principal altP = (Principal) itCminp.next();
                    Iterator itSub = subject.getPrincipals().iterator();
                    while (itSub.hasNext()) {
View Full Code Here

Examples of net.jini.core.constraint.ConstraintAlternatives.elements()

      return constraint;
  }
  if (constraint instanceof ConstraintAlternatives) {
      ConstraintAlternatives ca = (ConstraintAlternatives) constraint;
      Collection dist = new ArrayList();
      for (Iterator i = ca.elements().iterator(); i.hasNext(); ) {
    Object d = distill((InvocationConstraint) i.next(), request);
    if (d == SUPPORTED) {
        return SUPPORTED;
    } else if (d instanceof InvocationConstraint) {
        dist.add(d);
View Full Code Here

Examples of net.rim.device.api.util.SimpleSortingVector.elements()

            }

            featureIds.setSortComparator( JSUtilities.getStringComparator() );
            featureIds.reSort();

            Enumeration sortedFeatureIds = featureIds.elements();
            while( sortedFeatureIds.hasMoreElements() ) {
                IJSExtension jsExtension = (IJSExtension) jsExtensionsByFeatureId.get( sortedFeatureIds.nextElement() );
                jsExtension.loadFeature( feature.getID(), feature.getVersion(), doc, scriptEngine, ( (WidgetConfigImpl) _widgetConfig ).getJSInjectionPaths() );
            }
        }
View Full Code Here

Examples of net.sf.jcontracts.antlr.collections.impl.IndexedVector.elements()

        alreadyExpanded = true;
        GrammarFile gf = hier_.getFile(getFileName());
        gf.setExpanded(true);
        IndexedVector inhRules = superG.getRules();
        Rule r;
        for (Enumeration e = inhRules.elements(); e.hasMoreElements(); inherit(r, superG))
        {
            r = (Rule) e.nextElement();
        }

        IndexedVector inhOptions = superG.getOptions();
View Full Code Here

Examples of net.sf.jcontracts.antlr.collections.impl.LList.elements()

        }
        else
        {
            System.out.println("correct: length is 4");
        }
        Enumeration e = l.elements();
        while (e.hasMoreElements())
        {
            System.out.println(e.nextElement());
        }
        if (list.includes("Frank"))
View Full Code Here

Examples of nz.ac.waikato.jdsl.core.api.Sequence.elements()

      }
    }
    // remove all decorations added during the DFS
    cleanup();
    // get ready to return the cycle.
    cycleIterator_ = theCycle.elements();
  }
   
  /**
   * As new vertices are visited, they are added to the prospective
   * cyclic path.
View Full Code Here

Examples of nz.ac.waikato.jdsl.core.ref.NodeSequence.elements()

      }
    }
    // remove all decorations added during the DFS
    cleanup();
    // get ready to return the cycle.
    cycleIterator_ = theCycle.elements();
  }
   
  /**
   * As new vertices are visited, they are added to the prospective
   * cyclic path.
View Full Code Here

Examples of oracle.toplink.essentials.internal.helper.IdentityHashtable.elements()

                if (isNestedUnitOfWork()) {
                    changeSetLists = ((UnitOfWorkChangeSet)getUnitOfWorkChangeSet()).getNewObjectChangeSets().elements();
                    while (changeSetLists.hasMoreElements()) {
                        IdentityHashtable objectChangesList = (IdentityHashtable)((IdentityHashtable)changeSetLists.nextElement()).clone();
                        if (objectChangesList != null) {// may be no changes for that class type.
                            for (Enumeration pendingEnum = objectChangesList.elements();
                                     pendingEnum.hasMoreElements();) {
                                ObjectChangeSet changeSetToWrite = (ObjectChangeSet)pendingEnum.nextElement();
                                if (changeSetToWrite.hasChanges()) {
                                    Object objectToWrite = changeSetToWrite.getUnitOfWorkClone();
                                    manager.mergeChanges(objectToWrite, changeSetToWrite);
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.