N - node typeL - leaf typepublic class MultiLevelIterator<N,L> extends Object implements Iterator<L>
| Modifier and Type | Field and Description |
|---|---|
protected int |
idx |
| Constructor and Description |
|---|
MultiLevelIterator(Iterator<N> rootIterator,
int depth) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<?> |
createThisLevelIterator(N currVal,
int resultLevelIndex)
Creates the next level iterator for the current iterator value being
currVal. |
boolean |
hasNext() |
L |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2002 – 2020 Project Wonder.