org.pentaho.reporting.libraries.formula.operators

Class GreaterEqualOperator

public class GreaterEqualOperator extends AbstractCompareOperator

Creation-Date: 31.10.2006, 16:34:11

Author: Thomas Morgner

Constructor Summary
GreaterEqualOperator()
Method Summary
protected booleanevaluate(int compareResult)
intgetLevel()
booleanisAssociative()
Defines, whether the operation is associative.
booleanisLeftOperation()
StringtoString()

Constructor Detail

GreaterEqualOperator

public GreaterEqualOperator()

Method Detail

evaluate

protected boolean evaluate(int compareResult)

getLevel

public int getLevel()

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).

Returns: true, if the operation is associative, false otherwise

isLeftOperation

public boolean isLeftOperation()

toString

public String toString()