public class ResourceClosingIterator<T> extends Object implements Iterator<T>
Constructor and Description |
---|
ResourceClosingIterator(Runnable onClose,
Iterator<T> source) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining