public class DelegatingIterator<T> extends Object implements CloseableIterator<T>
Constructor and Description |
---|
DelegatingIterator(Iterator<T> iterator) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public void close()
close
in interface CloseableIterator<T>
close
in interface Closeable
close
in interface AutoCloseable