public class DelegatingIterator<T> extends java.lang.Object implements CloseableIterator<T>
| Constructor and Description |
|---|
DelegatingIterator(java.util.Iterator<T> iterator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
public DelegatingIterator(java.util.Iterator<T> iterator)
public void close()
close in interface CloseableIterator<T>close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>