de.xabsl.jxabsl.expression.decimal
Class ArithmeticOperator

java.lang.Object
  extended by de.xabsl.jxabsl.expression.decimal.DecimalExpression
      extended by de.xabsl.jxabsl.expression.decimal.ArithmeticOperator
Direct Known Subclasses:
DivideOperator, MinusOperator, ModOperator, MultiplyOperator, PlusOperator

public abstract class ArithmeticOperator
extends DecimalExpression

Base class for the +, -, *, / and % operator.


Field Summary
protected  DecimalExpression operand1
           
protected  DecimalExpression operand2
           
 
Fields inherited from class de.xabsl.jxabsl.expression.decimal.DecimalExpression
debug
 
Constructor Summary
ArithmeticOperator(DebugMessages debug)
           
 
Method Summary
 void create(DecimalExpression operand1, DecimalExpression operand2)
          Creates the operator
 java.lang.String toString()
           
 
Methods inherited from class de.xabsl.jxabsl.expression.decimal.DecimalExpression
create, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

operand1

protected DecimalExpression operand1

operand2

protected DecimalExpression operand2
Constructor Detail

ArithmeticOperator

public ArithmeticOperator(DebugMessages debug)
Method Detail

create

public void create(DecimalExpression operand1,
                   DecimalExpression operand2)
Creates the operator

Parameters:
operand1 - The first operand
operand2 - The second operand

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object