org.jfree.formula.operators
Interface InfixOperator
- Serializable
- AbstractCompareOperator, AbstractNumericOperator, AddOperator, ConcatOperator, DivideOperator, EqualOperator, GreaterEqualOperator, GreaterOperator, LesserEqualOperator, LesserOperator, MultiplyOperator, NotEqualOperator, PowerOperator, SubtractOperator
An operator. An operator always takes two arguments. Prefix and postfix
operators are implemented differently.
isAssociative
public boolean isAssociative()
Defines, whether the operation is associative. For associative operations,
the evaluation order does not matter, if the operation appears more than
once in an expression, and therefore we can optimize them
a lot better than non-associative operations (ie. merge constant parts
and precompute them once).
- true, if the operation is associative, false otherwise
isLeftOperation
public boolean isLeftOperation()
Defines the bind-direction of the operator. That direction defines, in
which direction a sequence of equal operators is resolved.
- true, if the operation is left-binding, false if right-binding