Interface CloseableIterable<T>

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

public interface CloseableIterable<T> extends Iterable<T>, Closeable
Extend the Java Iterable interface to provide a way to close the iterator.