Class AviatorDecimal
java.lang.Object
com.googlecode.aviator.runtime.type.AviatorObject
com.googlecode.aviator.runtime.type.AviatorNumber
com.googlecode.aviator.runtime.type.AviatorDecimal
- All Implemented Interfaces:
Serializable
Aviator Big Decimal
- Since:
- 2.3.0
- See Also:
-
Field Summary
FieldsFields inherited from class com.googlecode.aviator.runtime.type.AviatorNumber
doubleValue, longValue, number
Fields inherited from class com.googlecode.aviator.runtime.type.AviatorObject
metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninnerAdd
(Map<String, Object> env, AviatorNumber other) int
innerCompare
(Map<String, Object> env, AviatorNumber other) innerDiv
(Map<String, Object> env, AviatorNumber other) innerMod
(Map<String, Object> env, AviatorNumber other) innerMult
(Map<String, Object> env, AviatorNumber other) innerSub
(Map<String, Object> env, AviatorNumber other) static final AviatorDecimal
valueOf
(AviatorEvaluatorInstance instance, String d) static final AviatorDecimal
static final AviatorDecimal
Methods inherited from class com.googlecode.aviator.runtime.type.AviatorNumber
add, div, doubleValue, getValue, innerCompare, longValue, mod, mult, sub, toBigInt, toDecimal, valueOf
Methods inherited from class com.googlecode.aviator.runtime.type.AviatorObject
bitAnd, bitNot, bitOr, bitXor, booleanValue, compare, compareEq, defineValue, deref, desc, exponent, getElement, getMetadata, isNull, match, meta, not, numberValue, setValue, shiftLeft, shiftRight, stringValue, toString, unsignedShiftRight, withMeta, withoutMeta
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AviatorDecimal
-
-
Method Details
-
valueOf
-
valueOf
-
valueOf
-
innerSub
- Specified by:
innerSub
in classAviatorNumber
-
neg
- Overrides:
neg
in classAviatorObject
-
innerMult
- Specified by:
innerMult
in classAviatorNumber
-
innerMod
- Specified by:
innerMod
in classAviatorNumber
-
innerDiv
- Specified by:
innerDiv
in classAviatorNumber
-
innerAdd
- Specified by:
innerAdd
in classAviatorNumber
-
innerCompare
- Specified by:
innerCompare
in classAviatorNumber
-
getAviatorType
- Specified by:
getAviatorType
in classAviatorObject
-