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

com.tangosol.util
Class ConverterCollections.ConverterEntrySet.ConverterIterator

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.ConverterCollections.ConverterEntrySet.ConverterIterator
All Implemented Interfaces:
Iterator
Enclosing class:
ConverterCollections.ConverterEntrySet

protected class ConverterCollections.ConverterEntrySet.ConverterIterator
extends Base
implements Iterator

A Map Entry Iterator that converts the key and value types.


Field Summary
protected  Iterator m_iter
           
 
Constructor Summary
ConverterCollections.ConverterEntrySet.ConverterIterator(Iterator iter)
          Constructor.
 
Method Summary
 boolean hasNext()
          Returns true if the iteration has more elements.
 Object next()
          Returns the next element in the interation.
 void remove()
          Removes from the underlying collection the last element returned by the iterator.
 

Field Detail

m_iter

protected Iterator m_iter
Constructor Detail

ConverterCollections.ConverterEntrySet.ConverterIterator

public ConverterCollections.ConverterEntrySet.ConverterIterator(Iterator iter)
Constructor.

Parameters:
iter - the Iterator to wrap
Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more elements.

Specified by:
hasNext in interface Iterator
Returns:
true if the iterator has more elements

next

public Object next()
Returns the next element in the interation.

Specified by:
next in interface Iterator
Returns:
the next element in the iteration

remove

public void remove()
Removes from the underlying collection the last element returned by the iterator.

Specified by:
remove in interface Iterator

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