public class LessThanOrEqualsOperator extends RelationalOperator
The implementation of the less than or equals operator
Modifier and Type | Field and Description |
---|---|
static LessThanOrEqualsOperator |
SINGLETON |
Constructor and Description |
---|
LessThanOrEqualsOperator()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(double pLeft,
double pRight,
Logger pLogger)
Applies the operator to the given double values
|
boolean |
apply(long pLeft,
long pRight,
Logger pLogger)
Applies the operator to the given long values
|
java.lang.Object |
apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.Object pContext,
Logger pLogger)
Applies the operator to the given value
|
boolean |
apply(java.lang.String pLeft,
java.lang.String pRight,
Logger pLogger)
Applies the operator to the given String values
|
java.lang.String |
getOperatorSymbol()
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluate
public static final LessThanOrEqualsOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public java.lang.Object apply(java.lang.Object pLeft, java.lang.Object pRight, java.lang.Object pContext, Logger pLogger) throws ELException
apply
in class RelationalOperator
ELException
public boolean apply(double pLeft, double pRight, Logger pLogger)
apply
in class RelationalOperator
public boolean apply(long pLeft, long pRight, Logger pLogger)
apply
in class RelationalOperator
public boolean apply(java.lang.String pLeft, java.lang.String pRight, Logger pLogger)
apply
in class RelationalOperator