org.apache.commons.el
Class PlusOperator
public class PlusOperator
The implementation of the plus operator
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: luehe $- Nathan Abramson - Art Technology Group
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.
|
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
|
String | getOperatorSymbol() -
Returns the symbol representing the operator
|
PlusOperator
public PlusOperator()
Constructor
apply
public BigDecimal apply(BigDecimal pLeft,
BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a
BigDecimal.
- apply in interface ArithmeticOperator
apply
public BigInteger apply(BigInteger pLeft,
BigInteger pRight)
Applies the operator to the given BigInteger values, returning a
BigInteger.
- apply in interface ArithmeticOperator
apply
public double apply(double pLeft,
double pRight)
Applies the operator to the given double values, returning a double
- apply in interface ArithmeticOperator
apply
public long apply(long pLeft,
long pRight)
Applies the operator to the given double values, returning a double
- apply in interface ArithmeticOperator
Copyright (c) 2001-2002 - Apache Software Foundation