Package com.tangosol.net.cache
Class OverflowMap.InternalKeySet.InternalKeySetIterator
java.lang.Object
com.oracle.coherence.common.collections.AbstractStableIterator
com.tangosol.net.cache.OverflowMap.InternalKeySet.InternalKeySetIterator
- All Implemented Interfaces:
Enumeration
,Iterator
- Enclosing class:
OverflowMap.InternalKeySet
protected class OverflowMap.InternalKeySet.InternalKeySetIterator
extends com.oracle.coherence.common.collections.AbstractStableIterator
An Iterator implementation over the keys in the OverflowMap that
that is based on a concurrent Iterator over the internal status
map.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.oracle.coherence.common.collections.AbstractStableIterator
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
InternalKeySetIterator
public InternalKeySetIterator()Default constructor.
-
-
Method Details
-
advance
protected void advance()Advance to the next object.This method must be implemented by the concrete sub-class by calling
AbstractStableIterator.setNext(T)
if there is a next object.- Specified by:
advance
in classcom.oracle.coherence.common.collections.AbstractStableIterator
-
remove
Remove the specified item.This is an optional operation. If the Iterator supports element removal, then it should implement this method, which is delegated to by the
AbstractStableIterator.remove()
method.- Overrides:
remove
in classcom.oracle.coherence.common.collections.AbstractStableIterator
- Parameters:
oPrev
- the previously iterated object that should be removed- See Also:
-