Class PartitionedCache.EntryIterator<K,V>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperIterator
com.tangosol.coherence.jcache.partitionedcache.PartitionedCache.EntryIterator<K,V>
- Type Parameters:
K- key typeV- value type
- All Implemented Interfaces:
Iterator
- Enclosing class:
PartitionedCache<K,V>
public static class PartitionedCache.EntryIterator<K,V>
extends WrapperCollections.AbstractWrapperIterator
JCache Entry iterator
-
Constructor Summary
ConstructorsConstructorDescriptionEntryIterator(Iterator<Map.Entry<K, V>> iter, PartitionedCache<K, V> cache) Construct anPartitionedCache.EntryIteratorbacked by the specified iterator. -
Method Summary
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperIterator
equals, getDelegate, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EntryIterator
Construct anPartitionedCache.EntryIteratorbacked by the specified iterator.- Parameters:
iter- the underlying iteratorcache- iterate over entries of this cache
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from class:WrapperCollections.AbstractWrapperIterator- Specified by:
hasNextin interfaceIterator<K>- Overrides:
hasNextin classWrapperCollections.AbstractWrapperIterator
-
next
Description copied from class:WrapperCollections.AbstractWrapperIterator- Specified by:
nextin interfaceIterator<K>- Overrides:
nextin classWrapperCollections.AbstractWrapperIterator
-
remove
public void remove()Description copied from class:WrapperCollections.AbstractWrapperIterator- Specified by:
removein interfaceIterator<K>- Overrides:
removein classWrapperCollections.AbstractWrapperIterator
-