public abstract class MutableNumber extends Object implements SmartExternalizable
Constructor and Description |
---|
MutableNumber() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(Number x) |
abstract Number |
calcDivision(long count) |
abstract Number |
calcDivisionPreserveType(long count)
Returns the same type as the value
|
abstract void |
divide(Number x) |
static MutableNumber |
fromClass(Class<?> type,
boolean widest) |
abstract void |
multiply(Number x) |
abstract void |
remainder(Number x) |
abstract void |
subtract(Number x) |
abstract Number |
toNumber() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
readExternal, writeExternal
public abstract Number toNumber()
public abstract void add(Number x)
public abstract void subtract(Number x)
public abstract void multiply(Number x)
public abstract void divide(Number x)
public abstract Number calcDivision(long count)
public abstract void remainder(Number x)
public abstract Number calcDivisionPreserveType(long count)
public static MutableNumber fromClass(Class<?> type, boolean widest)
Copyright © GigaSpaces.