| Constructor and Description |
|---|
CloseableIterator(Iterator<E> delegate,
Closeable resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020. All rights reserved.