Interface CloseableIterator<T>

Type Parameters:
T - The type of the elements
All Superinterfaces:
AutoCloseable, Closeable, Iterator<T>
All Known Implementing Classes:
CloseableIterator.AlwaysClosed

public interface CloseableIterator<T> extends Iterator<T>, Closeable
An iterator that also must be closed at some point.
See Also: