Package org.datanucleus.sco

Examples of org.datanucleus.sco.SCOListIterator


     * Method to retrieve an iterator for the list.
     * @return The iterator
     **/
    public Iterator iterator()
    {
        return new SCOListIterator(this, ownerSM, delegate, null, true, -1);
    }
View Full Code Here


     * @param index The start point
     * @return The iterator
     **/
    public ListIterator listIterator(int index)
    {
        return new SCOListIterator(this, ownerSM, delegate, null, true, index);
    }
View Full Code Here

            loadFromStore();
            return delegate.elements();
        }
        else
        {
            final Iterator iter = new SCOListIterator(this, ownerSM, delegate, backingStore, useCache, -1);
            return new Enumeration() {
                public boolean hasMoreElements()
                {
                    return iter.hasNext();
                }
                public Object nextElement()
                {
                    return iter.next();
                }
            };
        }
    }
View Full Code Here

        if (useCache)
        {
            loadFromStore();
        }

        return new SCOListIterator(this, ownerSM, delegate, backingStore, useCache, -1);
    }
View Full Code Here

        if (useCache)
        {
            loadFromStore();
        }

        return new SCOListIterator(this, ownerSM, delegate, backingStore, useCache, -1);
    }
View Full Code Here

        if (useCache)
        {
            loadFromStore();
        }

        return new SCOListIterator(this, ownerSM, delegate, backingStore, useCache, index);
    }
View Full Code Here

     * Accessor for an iterator for the List
     * @return The iterator
     **/
    public synchronized Iterator iterator()
    {
        return new SCOListIterator(this, ownerSM, delegate, null, true, -1);
    }
View Full Code Here

     * Method to retrieve a List iterator for the list.
     * @return The iterator
     **/
    public ListIterator listIterator()
    {
        return new SCOListIterator(this, ownerSM, delegate, null, true, -1);
    }
View Full Code Here

     * @param index The start point
     * @return The iterator
     **/
    public ListIterator listIterator(int index)
    {
        return new SCOListIterator(this, ownerSM, delegate, null, true, index);
    }
View Full Code Here

        if (useCache)
        {
            loadFromStore();
        }

        return new SCOListIterator(this, ownerSM, delegate, backingStore, useCache, -1);
    }
View Full Code Here

TOP

Related Classes of org.datanucleus.sco.SCOListIterator

Copyright © 2018 www.massapicom. 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.