public class MutableShort extends MutableNumber
Constructor and Description |
---|
MutableShort() |
Modifier and Type | Method and Description |
---|---|
void |
add(Number x) |
Number |
calcDivision(long count) |
Number |
calcDivisionPreserveType(long count)
Returns the same type as the value
|
void |
divide(Number x) |
void |
multiply(Number x) |
void |
readExternal(ObjectInput in) |
void |
remainder(Number x) |
void |
subtract(Number x) |
Number |
toNumber() |
void |
writeExternal(ObjectOutput out) |
fromClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public Number toNumber()
toNumber
in class MutableNumber
public void add(Number x)
add
in class MutableNumber
public void subtract(Number x)
subtract
in class MutableNumber
public void multiply(Number x)
multiply
in class MutableNumber
public void divide(Number x)
divide
in class MutableNumber
public Number calcDivision(long count)
calcDivision
in class MutableNumber
public void remainder(Number x)
remainder
in class MutableNumber
public Number calcDivisionPreserveType(long count)
MutableNumber
calcDivisionPreserveType
in class MutableNumber
public void writeExternal(ObjectOutput out) throws IOException
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
Copyright © GigaSpaces.