Examples of elementAt()


Examples of org.integratedmodelling.riskwiz.learning.data.FastVector.elementAt()

                        // be a numeric variable.
                        if (tempHash.size() == 0) {
                            for (int j = 0; j < m_cumulativeInstances.size(); j++) {
                                FastVector tempUpdate = ((FastVector) m_cumulativeInstances.elementAt(
                                        j));
                                Object tempO = tempUpdate.elementAt(i);

                                if (tempO instanceof String) {// must have been a missing value
                                } else {
                                    if (!tempHash.containsKey(tempO)) {
                                        tempHash.put(
View Full Code Here

Examples of org.jgroups.util.RspList.elementAt()

                                                new Class[]{String.class},
                                                GroupRequest.GET_ALL, 10000);

                Float val=null;
                for(int i=0; i < rsp_list.size(); i++) {
                    Rsp rsp=(Rsp)rsp_list.elementAt(i);
                    Object obj=rsp.getValue();
                    if(obj == null || obj instanceof Throwable)
                        continue;
                    val=(Float)obj;
                    break;
View Full Code Here

Examples of org.jgroups.util.RspList.elementAt()

                        System.out.println("rsp_list is " + rsp_list);

                        Hashtable all_stocks=null;
                        for(int i=0; i < rsp_list.size(); i++) {
                            Rsp rsp=(Rsp)rsp_list.elementAt(i);
                            Object obj=rsp.getValue();
                            if(obj == null || obj instanceof Throwable)
                                continue;
                            all_stocks=(Hashtable)obj;
                            break;
View Full Code Here

Examples of org.jostraca.comp.antlr.collections.impl.Vector.elementAt()

        println(tm.getName() + "    // output token vocab name");

        // Generate a definition for each token type
        Vector v = tm.getVocabulary();
        for (int i = Token.MIN_USER_TYPE; i < v.size(); i++) {
            String s = (String)v.elementAt(i);
            if (DEBUG_CODE_GENERATOR) {
                System.out.println("gen persistence file entry for: " + s);
            }
            if (s != null && !s.startsWith("<")) {
                // if literal, find label
View Full Code Here

Examples of org.jpedal.utils.repositories.Vector_Float.elementAt()

              test = rowContents[row].elementAt(i + 1);
              if ((test != -1) | (count == i + 1))
                break;

              //break if over another col - roll up single value on line
              if ((itemCount[row] > 1)& (cell_x1.elementAt(i + 1) > f_x2[item]))
                break;

              count--;
              rowContents[row].removeElementAt(i + 1);
              colspan++;
View Full Code Here

Examples of org.jpedal.utils.repositories.Vector_String.elementAt()

        if (isXHTML) {

          //get width
          float current_width = widths.elementAt(i);
          String current_alignment = alignments.elementAt(i);
          int test, colspan = 1, pointer = i + 1;

          if (item != -1) {

            //look for colspan
View Full Code Here

Examples of org.mozilla.jss.asn1.SEQUENCE.elementAt()

      // constructor. Anyway, we do it manually...
      SEQUENCE.Template foo = new SEQUENCE.Template();
      foo.addElement(ANY.getTemplate());
      foo.addElement(ANY.getTemplate());
      SEQUENCE bar = (SEQUENCE) foo.decode(new ByteArrayInputStream(sigBytes));
      BigInteger r = new BigInteger(1, ((ANY) bar.elementAt(0)).getContents());
      BigInteger s = new BigInteger(1, ((ANY) bar.elementAt(1)).getContents());

      BigInteger e = trimHash(hash.digest(), params);
      BigInteger n = params.getOrder();
View Full Code Here

Examples of org.w3c.util.ArrayDictionary.elementAt()

      i<ssiVars.capacity() && ssiVars.keyAt(i)!=null;
      i++)
      env[j++] =
    (ssiVars.keyAt(i).toString())
    + "="
    + (ssiVars.elementAt(i).toString()) ;

  Reply reply = new Reply(request.getClient()) ;
  reply.setStream(new DelayedProcessStream(cmd,env)) ;
  return reply ;
    }
View Full Code Here

Examples of persistence.antlr.collections.impl.Vector.elementAt()

        tabs++;

        // Enumerate all the valid token types
        Vector v = tm.getVocabulary();
        for (int i = Token.MIN_USER_TYPE; i < v.size(); i++) {
            String s = (String)v.elementAt(i);
            if (s != null) {
                println(s + " = " + i);
            }
        }
View Full Code Here

Examples of simtools.diagram.DiagramClipboard.elementAt()

      for(int i=0;i<dc.size();i++){
        // connectors are not connected to connections
        // can't call getConnections() on
        // connections are connected to connectors
        // and have been copied to clipboard
        Object o=dc.elementAt(i);
        if(o instanceof AbstractShape){
          AbstractShape r=(AbstractShape)o;
          r.draw(g2);
          // update drawing size
          r.getMax(pMax);
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.