Package com.tangosol.util
Class SegmentedHashMap.EntrySet.EntrySetIterator
java.lang.Object
com.oracle.coherence.common.collections.AbstractStableIterator
com.tangosol.util.SegmentedHashMap.EntrySet.EntrySetIterator
- All Implemented Interfaces:
Enumeration,Iterator
- Enclosing class:
- SegmentedHashMap.EntrySet
protected class SegmentedHashMap.EntrySet.EntrySetIterator
extends com.oracle.coherence.common.collections.AbstractStableIterator
An Iterator over the EntrySet that is backed by the SegmentedHashMap.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstruct an Iterator over the Entries in the SegmentedHashMap. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadvance()Advance to the next object in the iteration.protected voidShut down the Iterator.protected voidRemove the specified item from the underlying Map.Methods inherited from class com.oracle.coherence.common.collections.AbstractStableIterator
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EntrySetIterator
protected EntrySetIterator()Construct an Iterator over the Entries in the SegmentedHashMap.
-
-
Method Details
-
advance
protected void advance()Advance to the next object in the iteration.- Specified by:
advancein classcom.oracle.coherence.common.collections.AbstractStableIterator
-
remove
Remove the specified item from the underlying Map.- Overrides:
removein classcom.oracle.coherence.common.collections.AbstractStableIterator- Parameters:
oPrev- the previously iterated object to remove
-
deactivate
protected void deactivate()Shut down the Iterator. This is done on exhaustion of the contents of the Iterator, or on finalization of the Iterator.
-