private final class TreeTraverser.PreOrderIterator extends UnmodifiableIterator<T>
Modifier and Type | Field and Description |
---|---|
private java.util.Deque<java.util.Iterator<T>> |
stack |
Constructor and Description |
---|
PreOrderIterator(T root) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
remove