Package org.apache.openjpa.lib.rop
Class SoftRandomAccessResultList
java.lang.Object
org.apache.openjpa.lib.rop.AbstractResultList
org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
org.apache.openjpa.lib.rop.RandomAccessResultList
org.apache.openjpa.lib.rop.SoftRandomAccessResultList
- All Implemented Interfaces:
Serializable,Iterable,Collection,List,ResultList,Closeable
Specialization of the
RandomAccessResultList that only maintains
soft references to instantiated objects.- Author:
- Abe White
- See Also:
-
Field Summary
Fields inherited from class org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
PAST_END -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.openjpa.lib.rop.RandomAccessResultList
close, equals, getInternal, hashCode, isClosed, isProviderOpen, size, toString, writeReplaceMethods inherited from class org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArrayMethods inherited from class org.apache.openjpa.lib.rop.AbstractResultList
add, add, addAll, addAll, assertOpen, clear, getUserObject, remove, remove, removeAll, retainAll, set, setUserObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
SoftRandomAccessResultList
-
-
Method Details
-
newRowMap
Description copied from class:RandomAccessResultListOverride this method to control what kind of map is used for the instantiated rows.- Overrides:
newRowMapin classRandomAccessResultList
-