Class LocalCache.EntryIterator<K,V>
- java.lang.Object
-
- com.tangosol.util.WrapperCollections.AbstractWrapperIterator
-
- com.tangosol.coherence.jcache.localcache.LocalCache.EntryIterator<K,V>
-
- Type Parameters:
K
- key typeV
- value type
- All Implemented Interfaces:
Iterator
- Enclosing class:
- LocalCache<K,V>
public static class LocalCache.EntryIterator<K,V> extends WrapperCollections.AbstractWrapperIterator
JCache Entry iterator
-
-
Constructor Summary
Constructors Constructor Description EntryIterator(Iterator<Map.Entry<K,V>> iter, LocalCache<K,V> cache)
Construct an EntryIterator backed by the specified iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
javax.cache.Cache.Entry<K,V>
next()
void
remove()
-
Methods inherited from class com.tangosol.util.WrapperCollections.AbstractWrapperIterator
equals, getDelegate, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from class:WrapperCollections.AbstractWrapperIterator
- Specified by:
hasNext
in interfaceIterator<K>
- Overrides:
hasNext
in classWrapperCollections.AbstractWrapperIterator
-
next
public javax.cache.Cache.Entry<K,V> next()
Description copied from class:WrapperCollections.AbstractWrapperIterator
- Specified by:
next
in interfaceIterator<K>
- Overrides:
next
in classWrapperCollections.AbstractWrapperIterator
-
remove
public void remove()
Description copied from class:WrapperCollections.AbstractWrapperIterator
- Specified by:
remove
in interfaceIterator<K>
- Overrides:
remove
in classWrapperCollections.AbstractWrapperIterator
-
-