Extension to CloseableIterable which defines a class which has an iterator() method that returns a {@link CloseableIterator} but also can be closed itself. This allows us to do something like this pattern:
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.