org.apache.commons.el
public class PlusOperator extends ArithmeticOperator
The implementation of the plus operator
Version: $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $
Field Summary | |
---|---|
static PlusOperator | SINGLETON |
Constructor Summary | |
---|---|
PlusOperator()
Constructor
|
Method Summary | |
---|---|
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
|
BigDecimal | apply(BigDecimal pLeft, BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a
BigDecimal.
|
BigInteger | apply(BigInteger pLeft, BigInteger pRight)
Applies the operator to the given BigInteger values, returning a
BigInteger.
|
String | getOperatorSymbol()
Returns the symbol representing the operator
|