Package | Description |
---|---|
data | |
gui.instrument | |
gui.management | |
process.visitor |
Modifier and Type | Method and Description |
---|---|
<T> T |
Variable.accept(TreeVisitor<T> visitor) |
<T> T |
Tree.accept(TreeVisitor<T> visitor)
A tree node can accept the visit of any
TreeVisitor . |
<T> T |
Subtraction.accept(TreeVisitor<T> visitor) |
<T> T |
Multiplication.accept(TreeVisitor<T> visitor) |
<T> T |
Constant.accept(TreeVisitor<T> visitor) |
<T> T |
Addition.accept(TreeVisitor<T> visitor) |
Modifier and Type | Class and Description |
---|---|
class |
InstrumentVisitor
This class works with
ChartManager . |
Modifier and Type | Class and Description |
---|---|
class |
PaintVisitor
This visitor print the nodes of a tree.
|
Modifier and Type | Class and Description |
---|---|
class |
CalculationVisitor
This visitor can calculate the formula result reprented by the tree.
|
class |
HeigtVisitor
This visitor can calculate the
Tree height. |
class |
NodeCountVisitor
This visitor can count the total node number of a
Tree . |