com.japisoft.formula.operator
Interface BinaryOperator

All Known Implementing Classes:
ADDOperator, ADDOperator, ANDOperator, ASSIGNOperator, DIVOperator, DIVOperator, EQOperator, GREATEQOperator, GREATEQOperator, GREATOperator, GREATOperator, IFOperator, INOperator, LESSEQOperator, LESSEQOperator, LESSOperator, LESSOperator, MINUSOperator, MINUSOperator, MODOperator, MODOperator, MULOperator, MULOperator, NOTEQOperator, OROperator, POWEROperator, POWEROperator, XOROperator

public interface BinaryOperator

Operator with two operands like the '+'

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Method Summary
 java.lang.Object eval(OperatorContext context)
          Eval this expression and return the operation result
 

Method Detail

eval

public java.lang.Object eval(OperatorContext context)
                      throws EvaluateException
Eval this expression and return the operation result

Parameters:
context - Evaluation context, useful for getting the operands
Returns:
The operation result
Throws:
EvaluateException