Examples of elementAt()


Examples of java.util.Vector.elementAt()

        // Used for weka leaf packages
        //        Box singletonHolderPanel = null;

        // name of the bean component to handle this class of weka algorithms
        String tempBeanCompName = (String) tempBarSpecs.elementAt(1);

        // a JPanel holding an instantiated bean + label ready to be added
        // to the current toolbar
        JPanel tempBean;
View Full Code Here

Examples of javax.swing.DefaultListModel.elementAt()

        }
        list.setModel(listModel);
        List<Integer> newIndices = Lists.newArrayListWithCapacity(selected.length);
        Set<Object> selectedSet = Sets.newHashSet(selected);
        for (int i = 0; i < listModel.size(); i++) {
            if (selectedSet.contains(listModel.elementAt(i))) {
                newIndices.add(i);
            }
        }
        list.setSelectedIndices(ArrayUtils.toPrimitive(newIndices.toArray(new Integer[0])));
    }
View Full Code Here

Examples of mesquite.lib.ListableVector.elementAt()

    ListableVector taxas = project.getTaxas();
    Taxa t = null;

    for (int i = 0; i < taxas.size(); i++) {
      // One Taxa represents one TAXA block in a Nexus file.
      t = (Taxa) taxas.elementAt(i);
      if (!t.isDoomed()) {
        // a taxa is represented by a TaxonLabelSet
        // name is important:
        TaxonLabelSet labelSet = new TaxonLabelSet();
        labelSet.setStudy(pStudy);
View Full Code Here

Examples of net.sf.jcontracts.antlr.collections.impl.Vector.elementAt()

        tabs = 0;
        println(tm.getName() + "    // tokenVocabulary name");
        Vector v = tm.getVocabulary();
        for (int i = 4; i < v.size(); i++)
        {
            String s = (String) v.elementAt(i);
            if (s != null && !s.startsWith("<"))
            {
                if (s.startsWith("\""))
                {
                    StringLiteralSymbol sl = (StringLiteralSymbol) grammar.tokenManager.getTokenSymbol(s);
View Full Code Here

Examples of netscape.ldap.LDAPAttributeSet.elementAt()

    existing = _conn.read( entry.getDN() );

    modifs = new LDAPModificationSet();
    attrSet = entry.getAttributeSet();
    for ( i = 0 ; i < attrSet.size() ; ++i ) {
                    attr = attrSet.elementAt( i );
                    if ( existing.getAttributeSet().getAttribute( attr.getName() ) != null ) {
                        if ( ( policy & ImportDescriptor.Policy.NewAttrOnly ) == 0 ) {
                            if ( attr.size() > 0 ) {
                                modifs.add( LDAPModification.REPLACE, attr );
                            } else {
View Full Code Here

Examples of netscape.ldap.ber.stream.BERSequence.elementAt()

            if (logger.isDebugEnabled()) {
                logger.debug("PasswordPolicyResponse, ASN.1 sequence has " + size + " elements");
            }

            for (int i = 0; i < seq.size(); i++) {
                BERTag elt = (BERTag) seq.elementAt(i);

                int tag = elt.getTag() & 0x1F;

                if (tag == 0) {
                    BERChoice warning = (BERChoice) elt.getValue();
View Full Code Here

Examples of nz.co.abrahams.asithappens.storage.DataSet.elementAt()

                range = dataSet.pointIndiciesBetween(graphContext.getTimeFromXPixel(xPixel), graphContext.getTimeFromXPixel(xPixel + 1));
            else
                range = dataSet.pointIndiciesBetween(graphContext.getTimeFromXPixel(xPixel), graphContext.getTimeFromXPixel(xPixel + 1), startIndicies[set]);
            nextIndex = range.first;
            while ( nextIndex <= range.second ) {
                point = dataSet.elementAt(nextIndex);
                if ( summaryPoint > 0 )
                    point.setValue(point.getValue() * reductionNumerator / summaryPoint);
                else
                    point.setValue(0);
                nextIndex++;
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.ColumnDescriptorList.elementAt()

        if (! zeroBasedBitSet.get(index))
        {
          continue;
        }
        numSet++;
        ColumnDescriptor cd = (ColumnDescriptor) cdl.elementAt(index);
        DataTypeDescriptor dts = cd.getType();


        for (int i = 0; i < bulkFetchSize; i++)
        {
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptorList.elementAt()

        if (! zeroBasedBitSet.get(index))
        {
          continue;
        }
        numSet++;
        ColumnDescriptor cd = (ColumnDescriptor) cdl.elementAt(index);
        DataTypeDescriptor dts = cd.getType();


        for (int i = 0; i < bulkFetchSize; i++)
        {
View Full Code Here

Examples of org.apache.derby.iapi.sql.dictionary.ConstraintDescriptorList.elementAt()

      cdl = cd.getForeignKeyConstraints(ReferencedKeyConstraintDescriptor.ALL);
      int cdlSize = cdl.size();

      for(int index = 0; index < cdlSize; index++)
      {
        fkcd = (ForeignKeyConstraintDescriptor) cdl.elementAt(index);
        dm.invalidateFor(fkcd, DependencyManager.DROP_CONSTRAINT, lcc);
        fkcd.drop(lcc, true);
      }
 
      /*
 
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.