|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InfixOperator
An operator. An operator always takes two arguments. Prefix and postfix operators are implemented differently.
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. |
Method Detail |
---|
TypeValuePair evaluate(FormulaContext context, TypeValuePair value1, TypeValuePair value2) throws EvaluationException
context
- value1
- value2
-
EvaluationException
int getLevel()
boolean isLeftOperation()
boolean isAssociative()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |