Class MutableBigDecimal
java.lang.Object
com.gigaspaces.internal.utils.math.MutableNumber
com.gigaspaces.internal.utils.math.MutableBigDecimal
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcalcDivision(long count) calcDivisionPreserveType(long count) Returns the same type as the valuevoidvoidvoidvoidvoidtoNumber()voidMethods inherited from class com.gigaspaces.internal.utils.math.MutableNumber
fromClassMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
MutableBigDecimal
public MutableBigDecimal()
-
-
Method Details
-
toNumber
- Specified by:
toNumberin classMutableNumber
-
add
- Specified by:
addin classMutableNumber
-
subtract
- Specified by:
subtractin classMutableNumber
-
multiply
- Specified by:
multiplyin classMutableNumber
-
divide
- Specified by:
dividein classMutableNumber
-
calcDivision
- Specified by:
calcDivisionin classMutableNumber
-
remainder
- Specified by:
remainderin classMutableNumber
-
calcDivisionPreserveType
Description copied from class:MutableNumberReturns the same type as the value- Specified by:
calcDivisionPreserveTypein classMutableNumber
-
writeExternal
- Throws:
IOException
-
readExternal
- Throws:
IOExceptionClassNotFoundException
-