T - Type of iterator returnedpublic class NestedIterator<T> extends java.lang.Object implements CloseableIterator<T>
| Constructor and Description |
|---|
NestedIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.util.Iterator<? extends T> i) |
void |
close() |
boolean |
hasNext() |
T |
next() |
void |
remove() |
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception