Class AbstractSequentialResultList

java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.AbstractSequentialResultList
All Implemented Interfaces:
Serializable, Iterable, Collection, List, ResultList, Closeable
Direct Known Subclasses:
LazyForwardResultList

public abstract class AbstractSequentialResultList extends AbstractResultList
Abstract base class for sequential result lists. Unlike the AbstractSequentialList, this class doesn't rely on the Collection.size() method.
Author:
Abe White
See Also:
  • Constructor Details

    • AbstractSequentialResultList

      public AbstractSequentialResultList()
  • Method Details

    • itr

      protected abstract ListIterator itr(int index)
      Implement this method and List.size().
    • contains

      public boolean contains(Object o)
    • containsAll

      public boolean containsAll(Collection c)
    • get

      public Object get(int index)
    • indexOf

      public int indexOf(Object o)
    • lastIndexOf

      public int lastIndexOf(Object o)
    • isEmpty

      public boolean isEmpty()
    • iterator

      public Iterator iterator()
    • listIterator

      public ListIterator listIterator()
    • listIterator

      public ListIterator listIterator(int index)
    • toArray

      public Object[] toArray()
    • toArray

      public Object[] toArray(Object[] a)