public interface CloseableIterator<T> extends Iterator<T>, Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this iterator and releases any system resources associated
with it.
|
forEachRemaining, hasNext, next, removevoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2015. All rights reserved.