java.io.Serializable
AbstractCompareOperator
, AbstractNumericOperator
, AddOperator
, ConcatOperator
, DivideOperator
, EqualOperator
, GreaterEqualOperator
, GreaterOperator
, LesserEqualOperator
, LesserOperator
, MultiplyOperator
, NotEqualOperator
, PowerOperator
, SubtractOperator
public interface InfixOperator
extends java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
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.
|
TypeValuePair evaluate(FormulaContext context, TypeValuePair value1, TypeValuePair value2) throws EvaluationException
context
- value1
- value2
- EvaluationException
int getLevel()
boolean isLeftOperation()
boolean isAssociative()