de.intarsys.tools.collection
Class ConversionIterator<S,T>
java.lang.Object
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.
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>
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.