public class GreaterThanOperator extends RelationalOperator
The implementation of the greater than operator
| Modifier and Type | Field and Description |
|---|---|
static GreaterThanOperator |
SINGLETON |
| Constructor and Description |
|---|
GreaterThanOperator()
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, shouldEvaluatepublic static final GreaterThanOperator SINGLETON
public String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic Object apply(Object pLeft, Object pRight, Object pContext, Logger pLogger) throws ELException
apply in class RelationalOperatorELExceptionpublic boolean apply(double pLeft,
double pRight,
Logger pLogger)
apply in class RelationalOperatorpublic boolean apply(long pLeft,
long pRight,
Logger pLogger)
apply in class RelationalOperatorpublic boolean apply(String pLeft, String pRight, Logger pLogger)
apply in class RelationalOperatorCopyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.