Class ListResultList
java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.ListResultList
- All Implemented Interfaces:
Serializable, Iterable, Collection, List, ResultList, Closeable
- Direct Known Subclasses:
EagerResultList
A basic
ResultList implementation that wraps a normal list.- Author:
- Abe White
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the list.booleanbooleanget(int index) Return the wrapped list.intbooleanisClosed()Returns true if the list has been closed.booleanisEmpty()booleanReturns true if the provider backing this list is open.iterator()intlistIterator(int index) intsize()subList(int fromIndex, int toIndex) Object[]toArray()Object[]toString()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, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
ListResultList
Constructor. Supply delegate.
-
-
Method Details
-
getDelegate
Return the wrapped list. -
isProviderOpen
public boolean isProviderOpen()Description copied from interface:ResultListReturns true if the provider backing this list is open. -
isClosed
public boolean isClosed()Description copied from interface:ResultListReturns true if the list has been closed. -
close
-
contains
-
containsAll
-
get
-
indexOf
-
lastIndexOf
-
size
public int size() -
isEmpty
public boolean isEmpty() -
iterator
-
listIterator
-
listIterator
-
toArray
-
toArray
-
writeReplace
-
toString
-
subList
-