- All Implemented Interfaces:
- Closeable, AutoCloseable, Iterator<E>
public class CloseableIterationIterator<E>
implements Iterator<E>, Closeable
Wraps an Iteration as an Iterator.
If the Iteration is a CloseableIteration then this.close() will close it
and it will also be automatically closed when this Iterator is exhausted.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Copyright © 2001-2016 Aduna. All Rights Reserved.