protected class SafeSortedMap.ViewMap.EntryIterator
extends com.oracle.coherence.common.collections.AbstractStableIterator
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_fInitialized
Has this iterator been initialized yet?
|
protected SafeSortedMap.EntryNode |
m_nodeNext
The next node in the iteration, or null.
|
Modifier | Constructor and Description |
---|---|
protected |
EntryIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
advance()
Advance to the next object.
|
protected void |
remove(Object o)
Remove the specified item.
|
getPrevious, hasMoreElements, hasNext, next, nextElement, remove, setNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected SafeSortedMap.EntryNode m_nodeNext
protected boolean m_fInitialized
protected void advance()
This method must be implemented by the concrete sub-class by calling
AbstractStableIterator.setNext(T)
if there is a next object.
advance
in class com.oracle.coherence.common.collections.AbstractStableIterator
protected void remove(Object o)
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.
remove
in class com.oracle.coherence.common.collections.AbstractStableIterator
o
- the previously iterated object that should be removed