Exemple #1
0
 public Expression(AbstractOperand root)
 {
     this.root  = root;
     this.value = 0.0f;
 }
Exemple #2
0
 /**
  * @param root the root to set
  */
 public void setRoot(AbstractOperand root)
 {
     this.root = root;
 }
Exemple #3
0
 public Expression()
 {
     this.root  = null;
     this.value = 0.0f;
 }
Exemple #4
0
 /**
  * @param right the right to set
  */
 public void setRight(AbstractOperand right)
 {
     this.right = right;
 }
Exemple #5
0
 /**
  * @param left the left to set
  */
 public void setLeft(AbstractOperand left)
 {
     this.left = left;
 }
Exemple #6
0
 public BinaryOperand()
 {
     this.left  = null;
     this.right = null;
 }
Exemple #7
0
 public BinaryOperand(char op, AbstractOperand l, AbstractOperand r)
 {
     this.op    = op;
     this.left  = l;
     this.right = r;
 }