Class AbstractResultList<E>
java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList<E>
- All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, List<E>, ResultList<E>, Closeable
- Direct Known Subclasses:
AbstractNonSequentialResultList, AbstractSequentialResultList, ListResultList
Abstract base class for read-only result lists.
- Author:
- Abe White
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends E> c) booleanaddAll(Collection<? extends E> c) protected voidvoidclear()final ObjectGet the opaque user object attached to this receiver.remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) final voidsetUserObject(Object opaque) Set the opaque user object to this receiver.Methods 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
contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, replaceAll, size, sort, spliterator, subList, toArray, toArrayMethods inherited from interface ResultList
close, isClosed, isProviderOpen
-
Constructor Details
-
AbstractResultList
public AbstractResultList()
-
-
Method Details
-
add
-
add
-
addAll
-
addAll
-
remove
-
remove
-
removeAll
-
retainAll
-
set
-
clear
-
assertOpen
protected void assertOpen() -
getUserObject
Description copied from interface:ResultListGet the opaque user object attached to this receiver.- Specified by:
getUserObjectin interfaceResultList<E>
-
setUserObject
Description copied from interface:ResultListSet the opaque user object to this receiver.- Specified by:
setUserObjectin interfaceResultList<E>
-