Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-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:
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
          The underlying Iterator.

 

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

 

Method Summary
 Iterator getIterator()
          Return the underlying Iterator.
 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
The underlying Iterator.

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

getIterator

public Iterator getIterator()
Return the underlying Iterator.
Returns:
the underlying Iterator

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.6.0.0

E15725-01


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