Package org.apache.openjpa.lib.rop
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
get
(int index) int
boolean
isEmpty()
iterator()
protected abstract ListIterator
itr
(int index) Implement this method andList.size()
.int
listIterator
(int index) Object[]
toArray()
Object[]
Methods inherited from class org.apache.openjpa.lib.rop.AbstractResultList
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObject
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, size, sort, spliterator, subList
Methods inherited from interface org.apache.openjpa.lib.rop.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
-