|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.jpdl.el.impl.BinaryOperator org.jbpm.jpdl.el.impl.ArithmeticOperator org.jbpm.jpdl.el.impl.PlusOperator
public class PlusOperator
The implementation of the plus operator
Field Summary | |
---|---|
static PlusOperator |
SINGLETON
|
Constructor Summary | |
---|---|
PlusOperator()
Constructor |
Method Summary | |
---|---|
java.math.BigDecimal |
apply(java.math.BigDecimal pLeft,
java.math.BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal. |
java.math.BigInteger |
apply(java.math.BigInteger pLeft,
java.math.BigInteger pRight)
Applies the operator to the given BigInteger values, returning a BigInteger. |
double |
apply(double pLeft,
double pRight)
Applies the operator to the given double values, returning a double |
long |
apply(long pLeft,
long pRight)
Applies the operator to the given double values, returning a double |
java.lang.String |
getOperatorSymbol()
Returns the symbol representing the operator |
Methods inherited from class org.jbpm.jpdl.el.impl.ArithmeticOperator |
---|
apply |
Methods inherited from class org.jbpm.jpdl.el.impl.BinaryOperator |
---|
shouldCoerceToBoolean, shouldEvaluate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PlusOperator SINGLETON
Constructor Detail |
---|
public PlusOperator()
Method Detail |
---|
public java.lang.String getOperatorSymbol()
getOperatorSymbol
in class BinaryOperator
public double apply(double pLeft, double pRight)
apply
in class ArithmeticOperator
public long apply(long pLeft, long pRight)
apply
in class ArithmeticOperator
public java.math.BigDecimal apply(java.math.BigDecimal pLeft, java.math.BigDecimal pRight)
apply
in class ArithmeticOperator
public java.math.BigInteger apply(java.math.BigInteger pLeft, java.math.BigInteger pRight)
apply
in class ArithmeticOperator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |