Interface CloseableIterator<E>

Type Parameters:
E - the type of elements returned by this iterator
All Superinterfaces:
AutoCloseable, Closeable, Iterator<E>

public interface CloseableIterator<E> extends Iterator<E>, Closeable
Iterator that supports closing underlying resources.