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