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
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanget(int index) intbooleanisEmpty()iterator()protected abstract ListIteratoritr(int index) Implement this method andList.size().intlistIterator(int index) Object[]toArray()Object[]Methods inherited from class AbstractResultList
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObjectMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
equals, hashCode, replaceAll, size, sort, spliterator, subListMethods inherited from interface ResultList
close, isClosed, isProviderOpen
-
Constructor Details
-
AbstractSequentialResultList
public AbstractSequentialResultList()
-
-
Method Details
-
itr
Implement this method andList.size(). -
contains
-
containsAll
-
get
-
indexOf
-
lastIndexOf
-
isEmpty
public boolean isEmpty() -
iterator
-
listIterator
-
listIterator
-
toArray
-
toArray
-