- Type Parameters:
E - the type of elements returned by this iterator
- All Superinterfaces:
- java.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<E>
public interface CloseableIterator<E>
extends java.util.Iterator<E>, java.io.Closeable
Iterator that supports closing underlying resources.