Class OverflowMap.EntrySet.EntrySetIterator

java.lang.Object
com.oracle.coherence.common.collections.AbstractStableIterator
com.tangosol.net.cache.OverflowMap.EntrySet.EntrySetIterator
All Implemented Interfaces:
Enumeration, Iterator
Enclosing class:
OverflowMap.EntrySet

protected class OverflowMap.EntrySet.EntrySetIterator extends com.oracle.coherence.common.collections.AbstractStableIterator
A pessimistic Iterator over the EntrySet that is backed by the OverflowMap.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Iterator
    Key iterator.
    protected Map
    Map to use with getInternal() in order to determine differences between null values and non-present values.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Advance to the next object.
    protected void
    remove(Object oPrev)
    Remove the specified item.

    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
  • Field Details

    • m_iterKeys

      protected Iterator m_iterKeys
      Key iterator.
    • m_mapTemp

      protected Map m_mapTemp
      Map to use with getInternal() in order to determine differences between null values and non-present values.
  • Constructor Details

    • EntrySetIterator

      protected EntrySetIterator()
  • 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 class com.oracle.coherence.common.collections.AbstractStableIterator
    • remove

      protected void remove(Object oPrev)
      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 class com.oracle.coherence.common.collections.AbstractStableIterator
      Parameters:
      oPrev - the previously iterated object that should be removed