public class CloseableWrappedIterableImpl<T> extends Object implements CloseableWrappedIterable<T>
Dao.getWrappedIterable()
or ForeignCollection.getWrappedIterable()
.Constructor and Description |
---|
CloseableWrappedIterableImpl(CloseableIterable<T> iterable) |
Modifier and Type | Method and Description |
---|---|
void |
close()
This will close the iterator that was wrapped.
|
CloseableIterator<T> |
closeableIterator()
Returns an iterator over a set of elements of type T which can be closed.
|
CloseableIterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public CloseableWrappedIterableImpl(CloseableIterable<T> iterable)
public CloseableIterator<T> iterator()
public CloseableIterator<T> closeableIterator()
CloseableIterable
closeableIterator
in interface CloseableIterable<T>
public void close() throws Exception
CloseableWrappedIterable
close
in interface CloseableWrappedIterable<T>
close
in interface AutoCloseable
Exception
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.