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
Modifier and TypeClassDescriptionstatic final class
static final class
static final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ELArithmetic.BigDecimalDelegate
static final ELArithmetic.BigIntegerDelegate
static final ELArithmetic.DoubleDelegate
static final ELArithmetic.LongDelegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Number
static final Number
protected abstract Number
protected final Number
protected abstract Number
protected abstract Number
static final Number
static final boolean
static final boolean
isNumberType
(Class<?> type) protected abstract boolean
protected abstract Number
static final Number
protected abstract Number
static final Number
protected abstract Number
static 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
-