- All Superinterfaces:
- AutoCloseable, java.io.Closeable, java.util.Iterator<T>
@DeveloperApi
public interface CloseableIterator<T>
extends java.util.Iterator<T>, java.io.Closeable
:: DeveloperApi ::
An iterator that may contain resources which should be released after use. Users of
CloseableIterator are responsible for closing the iterator if they are done with it.
- Since:
- 1.0.0