Interface ClosableIterator<T>

All Superinterfaces:
AutoCloseable, Iterator<T>
All Known Subinterfaces:
ClosableReportingIterator<T>
All Known Implementing Classes:
CSVReader

public interface ClosableIterator<T> extends Iterator<T>, AutoCloseable
An iterator that needs to be explicitly closed when it is not used anymore.