public abstract class TranslatingIterator<F,T> extends Object implements Iterator<T>
Constructor and Description |
---|
TranslatingIterator(Iterator<F> base) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
protected abstract T |
translate(F from)
You implement this - convert from one object to the other
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
Copyright © 2016. All rights reserved.