public class EqualOperator extends Object implements InfixOperator
| Constructor and Description |
|---|
EqualOperator() |
| Modifier and Type | Method and 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.
|
String |
toString() |
public TypeValuePair evaluate(FormulaContext context, TypeValuePair value1, TypeValuePair value2) throws EvaluationException
InfixOperatorevaluate in interface InfixOperatorEvaluationExceptionpublic int getLevel()
getLevel in interface InfixOperatorpublic boolean isLeftOperation()
InfixOperatorisLeftOperation in interface InfixOperatorpublic boolean isAssociative()
isAssociative in interface InfixOperator