Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.util
Class SafeSortedMap.ViewMap.EntryIterator

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.AbstractStableIterator
          extended by com.tangosol.util.SafeSortedMap.ViewMap.EntryIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
SafeSortedMap.ViewMap

protected class SafeSortedMap.ViewMap.EntryIterator
extends AbstractStableIterator

An Iterator over the Entries backed by this ViewMap.


Field Summary
protected  boolean m_fInitialized
          Has this iterator been initialized yet?
protected  SafeSortedMap.SkipNode m_nodeCur
          The last node iterated, or null.
 
Constructor Summary
protected SafeSortedMap.ViewMap.EntryIterator()
           
 
Method Summary
protected  void advance()
          Advance to the next object.
protected  void remove(java.lang.Object o)
          Remove the specified item.
 
Methods inherited from class com.tangosol.util.AbstractStableIterator
getPrevious, hasNext, next, remove, setNext
 

Field Detail

m_nodeCur

protected SafeSortedMap.SkipNode m_nodeCur
The last node iterated, or null.


m_fInitialized

protected boolean m_fInitialized
Has this iterator been initialized yet?

Constructor Detail

SafeSortedMap.ViewMap.EntryIterator

protected SafeSortedMap.ViewMap.EntryIterator()
Method Detail

advance

protected void advance()
Advance to the next object.

This method must be implemented by the concrete sub-class by calling AbstractStableIterator.setNext(java.lang.Object) if there is a next object.

Specified by:
advance in class AbstractStableIterator

remove

protected void remove(java.lang.Object o)
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 AbstractStableIterator
Parameters:
o - the previously iterated object that should be removed

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.