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(java.math.BigDecimal pLeft,
java.math.BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal
|
boolean |
apply(java.math.BigInteger pLeft,
java.math.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
|
java.lang.Object |
apply(java.lang.Object pLeft,
java.lang.Object pRight,
Logger pLogger)
Applies the operator to the given value
|
boolean |
apply(java.lang.String pLeft,
java.lang.String pRight)
Applies the operator to the given String values
|
java.lang.String |
getOperatorSymbol()
Returns the symbol representing the operator
|
isEqual, isGreater, isLess
shouldCoerceToBoolean, shouldEvaluate
public static final LessThanOperator SINGLETON
public java.lang.String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public java.lang.Object apply(java.lang.Object pLeft, java.lang.Object pRight, Logger pLogger) throws javax.servlet.jsp.el.ELException
apply
in class RelationalOperator
javax.servlet.jsp.el.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(java.lang.String pLeft, java.lang.String pRight)
apply
in class RelationalOperator
public boolean apply(java.math.BigDecimal pLeft, java.math.BigDecimal pRight)
apply
in class RelationalOperator
public boolean apply(java.math.BigInteger pLeft, java.math.BigInteger pRight)
apply
in class RelationalOperator
Copyright (c) 2001-2002 - Apache Software Foundation