Class LRSProxyCollection
- java.lang.Object
-
- org.apache.openjpa.util.AbstractLRSProxyCollection
-
- org.apache.openjpa.jdbc.meta.strats.LRSProxyCollection
-
- All Implemented Interfaces:
java.lang.Iterable
,java.util.Collection
,java.util.function.Predicate
,java.util.Set
,ChangeTracker
,CollectionChangeTracker
,LRSProxy
,Proxy
public class LRSProxyCollection extends AbstractLRSProxyCollection
Large result set collection.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description LRSProxyCollection(LRSCollectionFieldStrategy strat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
count()
Return the number of elements in the collection, orInteger.MAX_VALUE
.protected boolean
has(java.lang.Object obj)
Return whether the collection contains the given element.protected java.util.Iterator
itr()
Implement this method to return an iterator over the contents of the collection.-
Methods inherited from class org.apache.openjpa.util.AbstractLRSProxyCollection
add, addAll, added, clear, contains, containsAll, copy, getAdded, getChanged, getChangeTracker, getNextSequence, getOwner, getOwnerField, getRemoved, isEmpty, isTracking, iterator, remove, removeAll, removed, retainAll, setNextSequence, setOwner, size, startTracking, stopTracking, test, toArray, toArray, writeReplace
-
-
-
-
Constructor Detail
-
LRSProxyCollection
public LRSProxyCollection(LRSCollectionFieldStrategy strat)
-
-
Method Detail
-
count
protected int count()
Description copied from class:AbstractLRSProxyCollection
Return the number of elements in the collection, orInteger.MAX_VALUE
.- Specified by:
count
in classAbstractLRSProxyCollection
-
has
protected boolean has(java.lang.Object obj)
Description copied from class:AbstractLRSProxyCollection
Return whether the collection contains the given element.- Specified by:
has
in classAbstractLRSProxyCollection
-
itr
protected java.util.Iterator itr()
Description copied from class:AbstractLRSProxyCollection
Implement this method to return an iterator over the contents of the collection. This method may be invoked multiple times. The returned iterator does not have to support theIterator.remove()
method, and may implementCloseable
.- Specified by:
itr
in classAbstractLRSProxyCollection
-
-