public class LessThanOperator extends RelationalOperator
The implementation of the less than operator
Modifier and Type | Field and Description |
---|---|
static LessThanOperator |
SINGLETON |
Constructor and Description |
---|
LessThanOperator()
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, isLess
shouldCoerceToBoolean, shouldEvaluate
public static final LessThanOperator SINGLETON
public LessThanOperator()
public String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public Object apply(Object pLeft, Object pRight) throws ELException
apply
in class RelationalOperator
ELException
public boolean apply(double pLeft, double pRight)
apply
in class RelationalOperator
public boolean apply(long pLeft, long pRight)
apply
in class RelationalOperator
public boolean apply(String pLeft, String pRight)
apply
in class RelationalOperator
public boolean apply(BigDecimal pLeft, BigDecimal pRight)
apply
in class RelationalOperator
public boolean apply(BigInteger pLeft, BigInteger pRight)
apply
in class RelationalOperator
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.