public abstract class ForwardPeekingMappingIterator<T,U> extends DelegatingReferenceIterator<T,U>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hasNext |
protected T |
next |
iterator| Constructor and Description |
|---|
ForwardPeekingMappingIterator(java.util.Iterator<T> iterator,
T replacement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
protected abstract T |
mapFollowing(boolean hasFollowing,
T following) |
protected abstract U |
mapNext(T next,
T following) |
U |
next() |
void |
remove() |