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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final ELArithmetic.BigDecimalDelegatestatic final ELArithmetic.BigIntegerDelegatestatic final ELArithmetic.DoubleDelegatestatic final ELArithmetic.LongDelegate
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
ELArithmeticprotected ELArithmetic()
 
- 
- 
Method Details- 
add
- 
mod
- 
subtract
- 
divide
- 
multiply
- 
isNumber
- 
isNumberType
- 
add
- 
multiply
- 
subtract
- 
mod
- 
coerce
- 
coerce
- 
coerce
- 
divide
- 
matches
 
-