| java.lang.Object org.jbpm.jpdl.el.impl.BinaryOperator org.jbpm.jpdl.el.impl.RelationalOperator
All known Subclasses: org.jbpm.jpdl.el.impl.LessThanOperator, org.jbpm.jpdl.el.impl.LessThanOrEqualsOperator, org.jbpm.jpdl.el.impl.GreaterThanOperator, org.jbpm.jpdl.el.impl.GreaterThanOrEqualsOperator,
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$ |
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 |
|
|