org.jfree.formula.operators
public interface InfixOperator extends Serializable
Method Summary | |
---|---|
TypeValuePair | evaluate(FormulaContext context, TypeValuePair value1, TypeValuePair value2)
Evaluates the comptuation for both parameters. |
int | getLevel() |
boolean | isAssociative()
Defines, whether the operation is associative. |
boolean | isLeftOperation()
Defines the bind-direction of the operator. |
Parameters: context value1 value2
Returns:
Throws: EvaluationException
Returns: true, if the operation is associative, false otherwise
Returns: true, if the operation is left-binding, false if right-binding