Class 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 Detail

      • EntrySetIterator

        protected EntrySetIterator()
        Construct an Iterator over the Entries in the SegmentedHashMap.
    • Method Detail

      • advance

        protected void advance()
        Advance to the next object in the iteration.
        Specified by:
        advance in class com.oracle.coherence.common.collections.AbstractStableIterator
      • remove

        protected void remove​(Object oPrev)
        Remove the specified item from the underlying Map.
        Overrides:
        remove in class com.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.