Package org.apache.el.lang
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
- Author:
- Jacob Hookom [jacob@hookom.net]
-
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 final Numberprotected abstract Numberprotected final Numberprotected abstract Numberprotected abstract Numberstatic final Numberstatic final booleanstatic final booleanisNumberType(Class<?> type) protected abstract booleanprotected abstract Numberstatic final Numberprotected abstract Numberstatic final Numberprotected abstract Numberstatic final 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
-