Class AbstractSequentialResultList

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.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:
    Serialized Form
    • Constructor Detail

      • AbstractSequentialResultList

        public AbstractSequentialResultList()
    • Method Detail

      • itr

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

        public boolean contains​(java.lang.Object o)
      • containsAll

        public boolean containsAll​(java.util.Collection c)
      • get

        public java.lang.Object get​(int index)
      • indexOf

        public int indexOf​(java.lang.Object o)
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object o)
      • isEmpty

        public boolean isEmpty()
      • iterator

        public java.util.Iterator iterator()
      • listIterator

        public java.util.ListIterator listIterator()
      • listIterator

        public java.util.ListIterator listIterator​(int index)
      • toArray

        public java.lang.Object[] toArray()
      • toArray

        public java.lang.Object[] toArray​(java.lang.Object[] a)