class PostorderIterator<T> extends java.lang.Object implements java.util.Iterator<T>
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<T> |
l |
private java.util.Iterator<T> |
r |
private T |
v |
Constructor and Description |
---|
PostorderIterator(T v,
java.util.Iterator<T> l,
java.util.Iterator<T> r) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |
PostorderIterator(T v, java.util.Iterator<T> l, java.util.Iterator<T> r)