Constructor and Description |
---|
AbsExpr() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract java.lang.Object |
acceptBreadth(BreadthIterator i) |
(package private) abstract java.lang.Object |
acceptPostOrder(PostorderIterator i) |
(package private) abstract java.lang.Object |
acceptPreOrder(PreorderIterator i) |
java.util.Iterator<java.lang.Object> |
breadthIterator() |
abstract int |
evaluate() |
java.util.Iterator<java.lang.Object> |
postorderIterator() |
java.util.Iterator<java.lang.Object> |
preorderIterator() |
AbsExpr()
public java.util.Iterator<java.lang.Object> preorderIterator()
preorderIterator
in interface Expr
public java.util.Iterator<java.lang.Object> postorderIterator()
postorderIterator
in interface Expr
public java.util.Iterator<java.lang.Object> breadthIterator()
breadthIterator
in interface Expr
abstract java.lang.Object acceptPreOrder(PreorderIterator i)
abstract java.lang.Object acceptPostOrder(PostorderIterator i)
abstract java.lang.Object acceptBreadth(BreadthIterator i)