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
|
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, shouldEvaluatepublic static final GreaterThanOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol in class BinaryOperatorpublic java.lang.Object apply(java.lang.Object pLeft,
java.lang.Object pRight,
java.lang.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(java.lang.String pLeft,
java.lang.String pRight,
Logger pLogger)
apply in class RelationalOperatorCopyright (c) 1999-2012 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.