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
|
Object |
apply(Object pLeft,
Object pRight,
Object pContext,
Logger pLogger)
Applies the operator to the given value
|
boolean |
apply(String pLeft,
String pRight,
Logger pLogger)
Applies the operator to the given String values
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
shouldCoerceToBoolean, shouldEvaluate
public static final LessThanOrEqualsOperator SINGLETON
public String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public Object apply(Object pLeft, Object pRight, 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(String pLeft, String pRight, Logger pLogger)
apply
in class RelationalOperator
Copyright © 2016 JBoss by Red Hat. All rights reserved.