Class ELArithmetic
java.lang.Object
org.apache.el.lang.ELArithmetic
- Direct Known Subclasses:
ELArithmetic.BigDecimalDelegate, ELArithmetic.BigIntegerDelegate, ELArithmetic.DoubleDelegate, ELArithmetic.LongDelegate
A helper class of Arithmetic defined by the EL Specification.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ELArithmetic.BigDecimalDelegatestatic final ELArithmetic.BigIntegerDelegatestatic final ELArithmetic.DoubleDelegatestatic final ELArithmetic.LongDelegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Numberstatic Numberprotected abstract Numberprotected final Numberprotected abstract Numberprotected abstract Numberstatic Numberstatic booleanstatic booleanisNumberType(Class<?> type) protected abstract booleanprotected abstract Numberstatic Numberprotected abstract Numberstatic Numberprotected abstract Numberstatic Number
-
Field Details
-
BIGDECIMAL
-
BIGINTEGER
-
DOUBLE
-
LONG
-
-
Constructor Details
-
ELArithmetic
protected ELArithmetic()
-
-
Method Details
-
add
-
mod
-
subtract
-
divide
-
multiply
-
isNumber
-
isNumberType
-
add
-
multiply
-
subtract
-
mod
-
coerce
-
coerce
-
coerce
-
divide
-
matches
-