K
- key typeV
- value typepublic static class PartitionedCache.EntryIterator<K,V> extends WrapperCollections.AbstractWrapperIterator
Constructor and Description |
---|
EntryIterator(Iterator<Map.Entry<K,V>> iter,
PartitionedCache<K,V> cache)
Construct an
PartitionedCache.EntryIterator backed by the specified iterator. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
javax.cache.Cache.Entry<K,V> |
next() |
void |
remove() |
equals, getDelegate, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining
public EntryIterator(Iterator<Map.Entry<K,V>> iter, PartitionedCache<K,V> cache)
PartitionedCache.EntryIterator
backed by the specified iterator.iter
- the underlying iteratorcache
- iterate over entries of this cachepublic boolean hasNext()
WrapperCollections.AbstractWrapperIterator
hasNext
in interface Iterator
hasNext
in class WrapperCollections.AbstractWrapperIterator
public javax.cache.Cache.Entry<K,V> next()
WrapperCollections.AbstractWrapperIterator
next
in interface Iterator
next
in class WrapperCollections.AbstractWrapperIterator
public void remove()
WrapperCollections.AbstractWrapperIterator
remove
in interface Iterator
remove
in class WrapperCollections.AbstractWrapperIterator