public class ClosingIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
ClosingIterator(CloseableIterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
public ClosingIterator(CloseableIterator<T> iterator)