Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.net.cache
Class OverflowMap.EntrySet.EntrySetIterator

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.AbstractStableIterator
          extended by com.tangosol.net.cache.OverflowMap.EntrySet.EntrySetIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
OverflowMap.EntrySet

protected class OverflowMap.EntrySet.EntrySetIterator
extends AbstractStableIterator

A pessimistic Iterator over the EntrySet that is backed by the OverflowMap.


Field Summary
protected  java.util.Iterator m_iterKeys
          Key iterator.
protected  java.util.Map m_mapTemp
          Map to use with getInternal() in order to determine differences between null values and non-present values.
 
Constructor Summary
protected OverflowMap.EntrySet.EntrySetIterator()
           
 
Method Summary
protected  void advance()
          Advance to the next object.
protected  void remove(java.lang.Object oPrev)
          Remove the specified item.
 
Methods inherited from class com.tangosol.util.AbstractStableIterator
getPrevious, hasNext, next, remove, setNext
 

Field Detail

m_iterKeys

protected java.util.Iterator m_iterKeys
Key iterator.


m_mapTemp

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

Constructor Detail

OverflowMap.EntrySet.EntrySetIterator

protected OverflowMap.EntrySet.EntrySetIterator()
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 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 AbstractStableIterator
Parameters:
oPrev - the previously iterated object that should be removed

Oracle® Coherence Java API Reference
v3.5

E14977-01

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