Skip navigation links
A B C D F G I L M N O P R S T V 

C

calculate() - Method in class data.Addition
To process the addition, we need the calculation results of both operands.
calculate() - Method in class data.Constant
The calculation of the node is to simply return the constant value.
calculate() - Method in class data.Multiplication
To process the addition, we need the calculation results of both operands.
calculate() - Method in class data.Subtraction
To process the subtraction, we need the calculation results of both operands.
calculate() - Method in interface data.Tree
 
calculate() - Method in class data.Variable
To calculate a Variable node, we need to fetch the stocked value of the variable in VariableRepository.
Constant - Class in data
This class represents the Constant tree node.
Constant(int) - Constructor for class data.Constant
To create a Constant node, we need to specify the constant int value.
createConstant(int) - Static method in class process.TreeNodeFactory
Creates a Constant node.
createOperation(char, Tree, Tree) - Static method in class process.TreeNodeFactory
Create a concrete arithmetic operation.
createVariable(String) - Static method in class process.TreeNodeFactory
Creates a Variable node.
A B C D F G I L M N O P R S T V 
Skip navigation links