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, shouldEvaluate
public static final GreaterThanOperator 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 © 2012 JBoss by Red Hat. All Rights Reserved.