logo


math
Class OperationEvaluation

java.lang.Object
  extended by math.OperationEvaluation
All Implemented Interfaces:
Evaluation

public class OperationEvaluation
extends java.lang.Object
implements Evaluation


Field Summary
 
Fields inherited from interface math.Evaluation
CONSTANT, FUNCTION, OPERATION, VARIABLE
 
Constructor Summary
OperationEvaluation(MathToken opr, Evaluation left, Evaluation right)
 
Method Summary
 boolean equals(int id)
 boolean is_analytic()
 complex operate(ComplexVarList variables)
 java.lang.String toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationEvaluation

public OperationEvaluation(MathToken opr,
                           Evaluation left,
                           Evaluation right)
Parameters:
opr -
left -
right -
Method Detail

equals

public boolean equals(int id)
Specified by:
equals in interface Evaluation
Parameters:
id -
Returns:

operate

public complex operate(ComplexVarList variables)
Specified by:
operate in interface Evaluation
Parameters:
variables -
Returns:

toString

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

is_analytic

public boolean is_analytic()
Specified by:
is_analytic in interface Evaluation
Returns: