public class IteratorAsCloseableIterator<E> extends Object implements CloseableIterator<E>
Iterator into a
CloseableIterator where the close method does nothing| Constructor and Description |
|---|
IteratorAsCloseableIterator(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 AutoCloseableclose in interface CloseableIterator<E>Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.