Examples of elementAt()


Examples of org.apache.derby.impl.sql.compile.ResultColumnList.elementAt()

                {
                        {if (true) throw StandardException.newException(SQLState.LANG_INVALID_CALL_STATEMENT);}
                }

                // we must have a method call node
                value = ((ResultColumn) rcl.elementAt(0)).getExpression();
                if (! (value instanceof JavaToSQLValueNode) ||
                        ! (((JavaToSQLValueNode) value).getJavaValueNode() instanceof MethodCallNode))
                {
                        {if (true) throw StandardException.newException(SQLState.LANG_INVALID_CALL_STATEMENT);}
                }
View Full Code Here

Examples of org.apache.isis.objectstore.xml.internal.data.ListOfRootOid.elementAt()

        assertEquals(data.getRootOid(), read.getRootOid());
        assertEquals(data.getObjectSpecId(), read.getObjectSpecId());

        final ListOfRootOid c = read.elements("Members");
        for (int i = 0; i < oid.length; i++) {
            assertEquals(oid[i], c.elementAt(i));
        }
    }


    private ObjectData createData(final Class<?> type, final long id, final Version version) {
View Full Code Here

Examples of org.apache.isis.runtimes.dflt.objectstores.xml.internal.data.ReferenceVector.elementAt()

        if (collection.getResolveState().canChangeTo(ResolveState.RESOLVING)) {
            PersistorUtil.start(collection, ResolveState.RESOLVING);
            final int size = refs == null ? 0 : refs.size();
            final ObjectAdapter[] elements = new ObjectAdapter[size];
            for (int j = 0; j < size; j++) {
                final SerialOid elementOid = refs.elementAt(j);
                ObjectAdapter adapter;
                adapter = getAdapterManager().getAdapterFor(elementOid);
                if (adapter == null) {
                    adapter = getObject(elementOid, null);
                }
View Full Code Here

Examples of org.apache.tapestry.dom.Element.elementAt()

        Asset asset = _assetSource.getClasspathAsset(
                "org/apache/tapestry/default.css",
                _threadLocale.getLocale());

        head.elementAt(0, "link", "rel", "stylesheet", "type", "text/css", "href", asset
                .toClientURL());
    }
}
View Full Code Here

Examples of org.apache.xml.utils.IntStack.elementAt()

        boolean descendant = false;

        final int possibleAncestor;
        final IntStack nodeStack = ctx.getCurrentNodeStack();
        if (nodeStack.size() > 1) {
            possibleAncestor = nodeStack.elementAt(1);
        }
        else {
            possibleAncestor = DTM.NULL;
        }
View Full Code Here

Examples of org.apache.xml.utils.NodeVector.elementAt()

    NodeVector vec = getVector();
    if (null != vec)
    { 
      if(m_next < vec.size())
      {
      int next = vec.elementAt(m_next);
        m_next++;
        return next;
      }
      else if((-1 != m_last) || (null == m_iter))
      {
View Full Code Here

Examples of org.apache.xml.utils.ObjectStack.elementAt()

  {
    ObjectStack elems = m_transformer.getCurrentTemplateElements();
    int count = 1;
    for (int i = pos-1; i >= 0; i--)
    {
      if((ElemTemplateElement)elems.elementAt(i) == templ)
        count++;
    }
 
    return count;
  }
View Full Code Here

Examples of org.apache.xml.utils.StringVector.elementAt()

        {
          int n = node2Strings.size();

          for (int i = 0; i < n; i++)
          {
            if (comparator.compareStrings(s1, node2Strings.elementAt(i)))
            {
              result = true;

              break;
            }
View Full Code Here

Examples of org.apache.xml.utils.SuballocatedIntVector.elementAt()

            // size of the inherited list - but within reason!
            nsList=new SuballocatedIntVector(Math.max(Math.min(isize+16,2048), 32));
           
            for(int i=0;i<isize;++i)
              {
                nsList.addElement(inherited.elementAt(i));
              }
          } else {
            nsList=new SuballocatedIntVector(32);
          }
          m_namespaceDeclSets.addElement(nsList);
View Full Code Here

Examples of org.apache.xpath.NodeSet.elementAt()

    NodeSet ns = new NodeSet(ni);
    Node maxNode = null;
    double m = Double.MIN_VALUE;
    for (int i = 0; i < ns.getLength(); i++)
    {
      Node n = ns.elementAt(i);
      double d = expCon.toNumber(n);
      if (Double.isNaN(d))
        return "NaN";
      else if (d > m)
      {
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.