public interface CloseableIterator<T>
extends java.util.Iterator<T>, java.io.Closeable
Modifier and Type | Method and Description |
---|---|
static <E> CloseableIterator<E> |
empty() |
static <E> CloseableIterator<E> |
withClose(java.util.Iterator<E> iterator) |
static <E> CloseableIterator<E> empty()
static <E> CloseableIterator<E> withClose(java.util.Iterator<E> iterator)