|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.el.BinaryOperator
org.apache.commons.el.ArithmeticOperator
public abstract class ArithmeticOperator
This is the superclass for all binary arithmetic operators
Constructor Summary | |
---|---|
ArithmeticOperator()
|
Method Summary | |
---|---|
abstract BigDecimal |
apply(BigDecimal pLeft,
BigDecimal pRight)
Applies the operator to the given BigDecimal values, returning a BigDecimal. |
abstract BigInteger |
apply(BigInteger pLeft,
BigInteger pRight)
Applies the operator to the given BigInteger values, returning a BigInteger. |
abstract double |
apply(double pLeft,
double pRight)
Applies the operator to the given double values, returning a double |
abstract long |
apply(long pLeft,
long pRight)
Applies the operator to the given double values, returning a double |
Object |
apply(Object pLeft,
Object pRight)
Applies the operator to the given value |
Methods inherited from class org.apache.commons.el.BinaryOperator |
---|
getOperatorSymbol, shouldCoerceToBoolean, shouldEvaluate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArithmeticOperator()
Method Detail |
---|
public Object apply(Object pLeft, Object pRight) throws javax.servlet.jsp.el.ELException
apply
in class BinaryOperator
javax.servlet.jsp.el.ELException
public abstract double apply(double pLeft, double pRight)
public abstract long apply(long pLeft, long pRight)
public abstract BigDecimal apply(BigDecimal pLeft, BigDecimal pRight)
public abstract BigInteger apply(BigInteger pLeft, BigInteger pRight)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |