Oracle® Coherence Java API Reference
v3.5

E14977-01

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:
java.util.Iterator
Enclosing class:
ConverterCollections.ConverterEntrySet

protected class ConverterCollections.ConverterEntrySet.ConverterIterator
extends Base
implements java.util.Iterator

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


Field Summary
protected  java.util.Iterator m_iter
          The underlying Iterator.
 
Constructor Summary
ConverterCollections.ConverterEntrySet.ConverterIterator(java.util.Iterator iter)
          Constructor.
 
Method Summary
 java.util.Iterator getIterator()
          Return the underlying Iterator.
 boolean hasNext()
          Returns true if the iteration has more elements.
 java.lang.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 java.util.Iterator m_iter
The underlying Iterator.

Constructor Detail

ConverterCollections.ConverterEntrySet.ConverterIterator

public ConverterCollections.ConverterEntrySet.ConverterIterator(java.util.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 java.util.Iterator
Returns:
true if the iterator has more elements

next

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

Specified by:
next in interface java.util.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 java.util.Iterator

getIterator

public java.util.Iterator getIterator()
Return the underlying Iterator.

Returns:
the underlying Iterator

Oracle® Coherence Java API Reference
v3.5

E14977-01

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