Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-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.EntryNode m_nodeNext
          The next node in the iteration, 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_nodeNext

protected SafeSortedMap.EntryNode m_nodeNext
The next node in the iteration, 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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.