| java.lang.Object org.apache.commons.el.BinaryOperator org.apache.commons.el.RelationalOperator
All known Subclasses: org.apache.commons.el.LessThanOrEqualsOperator, org.apache.commons.el.LessThanOperator, org.apache.commons.el.GreaterThanOrEqualsOperator, org.apache.commons.el.GreaterThanOperator,
RelationalOperator | abstract public class RelationalOperator extends BinaryOperator (Code) | | This is the superclass for all relational operators (except ==
or !=)
author: Nathan Abramson - Art Technology Group version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $ |
Method Summary | |
public Object | apply(Object pLeft, Object pRight, Logger pLogger) | abstract public boolean | apply(double pLeft, double pRight) | abstract public boolean | apply(long pLeft, long pRight) | abstract public boolean | apply(String pLeft, String pRight) | abstract public boolean | apply(BigDecimal pLeft, BigDecimal pRight) | abstract public boolean | apply(BigInteger pLeft, BigInteger pRight) | protected boolean | isEqual(int val) Test return value of BigInteger/BigDecimal A.compareTo(B). | protected boolean | isGreater(int val) Test return value of BigInteger/BigDecimal A.compareTo(B). | protected boolean | isLess(int val) Test return value of BigInteger/BigDecimal A.compareTo(B). |
apply | abstract public boolean apply(double pLeft, double pRight)(Code) | | Applies the operator to the given double values
|
apply | abstract public boolean apply(long pLeft, long pRight)(Code) | | Applies the operator to the given long values
|
apply | abstract public boolean apply(String pLeft, String pRight)(Code) | | Applies the operator to the given String values
|
apply | abstract public boolean apply(BigDecimal pLeft, BigDecimal pRight)(Code) | | Applies the operator to the given BigDecimal values, returning a BigDecimal
|
apply | abstract public boolean apply(BigInteger pLeft, BigInteger pRight)(Code) | | Applies the operator to the given BigDecimal values, returning a BigDecimal
|
isEqual | protected boolean isEqual(int val)(Code) | | Test return value of BigInteger/BigDecimal A.compareTo(B).
Parameters: val - - result of BigInteger/BigDecimal compareTo() call - true if result is equal to 0, otherwise false |
isGreater | protected boolean isGreater(int val)(Code) | | Test return value of BigInteger/BigDecimal A.compareTo(B).
Parameters: val - - result of BigInteger/BigDecimal compareTo() call - true if result is greater than 0, otherwise false |
isLess | protected boolean isLess(int val)(Code) | | Test return value of BigInteger/BigDecimal A.compareTo(B).
Parameters: val - - result of BigInteger/BigDecimal compareTo() call - true if result is less than 0, otherwise false |
|
|