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, waitforEach, spliteratorpublic CloseableWrappedIterableImpl(CloseableIterable<T> iterable)
public CloseableIterator<T> iterator()
public CloseableIterator<T> closeableIterator()
CloseableIterablecloseableIterator in interface CloseableIterable<T>public void close()
throws Exception
CloseableWrappedIterableclose in interface CloseableWrappedIterable<T>close in interface AutoCloseableExceptionThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.