Package org.glassfish.expressly.lang
Class ELArithmetic
java.lang.Object
org.glassfish.expressly.lang.ELArithmetic
- Direct Known Subclasses:
ELArithmetic.BigDecimalDelegate,ELArithmetic.BigIntegerDelegate,ELArithmetic.DoubleDelegate,ELArithmetic.LongDelegate
A helper class of Arithmetic defined by the Jakarta Expression Specification
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
-
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.LongDelegateprivate static final Long -
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
-
ZERO
-
-
Constructor Details
-
ELArithmetic
protected ELArithmetic()
-
-
Method Details
-
add
-
mod
-
subtract
-
divide
-
multiply
-
isNumber
-
isNumberType
-
add
-
multiply
-
subtract
-
mod
-
coerce
-
coerce
-
coerce
-
divide
-
matches
-