Class MutableNumber
java.lang.Object
com.gigaspaces.internal.utils.math.MutableNumber
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
MutableBigDecimal,MutableBigInteger,MutableByte,MutableDouble,MutableFloat,MutableInteger,MutableLong,MutableShort
- Since:
- 10.0
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract NumbercalcDivision(long count) abstract NumbercalcDivisionPreserveType(long count) Returns the same type as the valueabstract voidstatic MutableNumberabstract voidabstract voidabstract voidabstract NumbertoNumber()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
MutableNumber
public MutableNumber()
-
-
Method Details
-
toNumber
-
add
-
subtract
-
multiply
-
divide
-
calcDivision
-
remainder
-
calcDivisionPreserveType
Returns the same type as the value -
fromClass
-