Class TransformingIterator<T1,T2>
- java.lang.Object
-
- org.codehaus.commons.compiler.util.iterator.TransformingIterator<T1,T2>
-
-
Constructor Summary
Constructors Constructor Description TransformingIterator(Iterator<? extends T1> delegate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T2
next()
void
remove()
protected abstract T2
transform(T1 o)
Derived classes must implement this method such that it does the desired transformation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-