intarsys runtime library

de.intarsys.tools.collection
Class ConversionIterator<S,T>

java.lang.Object
  extended by de.intarsys.tools.collection.ConversionIterator<S,T>
Type Parameters:
S - The source object type.
T - The target object type.
All Implemented Interfaces:
Iterator<T>

public abstract class ConversionIterator<S,T>
extends Object
implements Iterator<T>

Abstract iterator implementation allowing the conversion from a source iterator's output elements to the desired target elements.


Method Summary
 Iterator<S> getBaseIterator()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBaseIterator

public Iterator<S> getBaseIterator()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Specified by:
next in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.