Class LRSProxyCollection
java.lang.Object
org.apache.openjpa.util.AbstractLRSProxyCollection
org.apache.openjpa.jdbc.meta.strats.LRSProxyCollection
- All Implemented Interfaces:
Iterable, Collection, Predicate, Set, ChangeTracker, CollectionChangeTracker, LRSProxy, Proxy
Large result set collection.
- Author:
- Abe White
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcount()Return the number of elements in the collection, orInteger.MAX_VALUE.protected booleanReturn whether the collection contains the given element.protected Iteratoritr()Implement this method to return an iterator over the contents of the collection.Methods inherited from class 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, writeReplaceMethods 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 Set
equals, hashCode, spliterator
-
Constructor Details
-
LRSProxyCollection
-
-
Method Details
-
count
protected int count()Description copied from class:AbstractLRSProxyCollectionReturn the number of elements in the collection, orInteger.MAX_VALUE.- Specified by:
countin classAbstractLRSProxyCollection
-
has
Description copied from class:AbstractLRSProxyCollectionReturn whether the collection contains the given element.- Specified by:
hasin classAbstractLRSProxyCollection
-
itr
Description copied from class:AbstractLRSProxyCollectionImplement 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:
itrin classAbstractLRSProxyCollection
-