public abstract class DelegatingIterator<T,I extends java.util.Iterator<? extends T>,U>
extends java.lang.Object
implements java.util.Iterator<U>
Iterator
that delegates to another Iterator
of a specified type.Modifier | Constructor and Description |
---|---|
protected |
DelegatingIterator(I iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
void |
remove() |
protected DelegatingIterator(I iterator)