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
public class SoftRandomAccessResultList extends RandomAccessResultList
Specialization of theRandomAccessResultListthat only maintains soft references to instantiated objects.- Author:
- Abe White
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
PAST_END
-
-
Constructor Summary
Constructors Constructor Description SoftRandomAccessResultList(ResultObjectProvider rop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MapnewRowMap()Override this method to control what kind of map is used for the instantiated rows.-
Methods inherited from class org.apache.openjpa.lib.rop.RandomAccessResultList
close, equals, getInternal, hashCode, isClosed, isProviderOpen, size, toString, writeReplace
-
Methods inherited from class org.apache.openjpa.lib.rop.AbstractNonSequentialResultList
contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, subList, toArray, toArray
-
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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
-
-
-
-
Constructor Detail
-
SoftRandomAccessResultList
public SoftRandomAccessResultList(ResultObjectProvider rop)
-
-
Method Detail
-
newRowMap
protected Map newRowMap()
Description copied from class:RandomAccessResultListOverride this method to control what kind of map is used for the instantiated rows.- Overrides:
newRowMapin classRandomAccessResultList
-
-