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:
java.io.Serializable
,java.lang.Iterable
,java.util.Collection
,java.util.List
,ResultList
,Closeable
public class SoftRandomAccessResultList extends RandomAccessResultList
Specialization of theRandomAccessResultList
that 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 java.util.Map
newRowMap()
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
-
-
-
-
Constructor Detail
-
SoftRandomAccessResultList
public SoftRandomAccessResultList(ResultObjectProvider rop)
-
-
Method Detail
-
newRowMap
protected java.util.Map newRowMap()
Description copied from class:RandomAccessResultList
Override this method to control what kind of map is used for the instantiated rows.- Overrides:
newRowMap
in classRandomAccessResultList
-
-