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(BigDecimal pLeft,
BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
|
boolean |
apply(BigInteger pLeft,
BigInteger pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
|
boolean |
apply(double pLeft,
double pRight)
Applies the operator to the given double values
|
boolean |
apply(long pLeft,
long pRight)
Applies the operator to the given long values
|
Object |
apply(Object pLeft,
Object pRight)
Applies the operator to the given value
|
boolean |
apply(String pLeft,
String pRight)
Applies the operator to the given String values
|
String |
getOperatorSymbol()
Returns the symbol representing the operator
|
isEqual, isGreater, isLessshouldCoerceToBoolean, shouldEvaluatepublic static final GreaterThanOperator SINGLETON
public GreaterThanOperator()
public String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic Object apply(Object pLeft, Object pRight) throws ELException
apply in class RelationalOperatorELExceptionpublic boolean apply(double pLeft, double pRight)
apply in class RelationalOperatorpublic boolean apply(long pLeft, long pRight)
apply in class RelationalOperatorpublic boolean apply(String pLeft, String pRight)
apply in class RelationalOperatorpublic boolean apply(BigDecimal pLeft, BigDecimal pRight)
apply in class RelationalOperatorpublic boolean apply(BigInteger pLeft, BigInteger pRight)
apply in class RelationalOperatorCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.