CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net.cache
Class OverflowMap.InternalKeySet.InternalKeySetIterator

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

protected class OverflowMap.InternalKeySet.InternalKeySetIterator
extends AbstractStableIterator

An Iterator implementation over the keys in the OverflowMap that that is based on a concurrent Iterator over the internal status map.


Constructor Summary
OverflowMap.InternalKeySet.InternalKeySetIterator()
          Default constructor.
 
Method Summary
protected  void advance()
          Advance to the next object.
protected  void remove(Object oPrev)
          Remove the specified item.
 
Methods inherited from class com.tangosol.util.AbstractStableIterator
getPrevious, hasNext, next, remove, setNext
 

Constructor Detail

OverflowMap.InternalKeySet.InternalKeySetIterator

public OverflowMap.InternalKeySet.InternalKeySetIterator()
Default constructor.

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(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
See Also:
OverflowMap.isInternalKeySetIteratorMutable()

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation