public class IteratorWrapper<E> extends Object implements CloseableIterator<E>
| Constructor and Description |
|---|
IteratorWrapper(Iterator<E> iterator) |
| 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()
close in interface Closeableclose in interface AutoCloseableCopyright © 2020. All Rights Reserved.