public class MutableShort
extends java.lang.Number
| Modifier and Type | Field and Description |
|---|---|
private short |
_value
the long value *
|
| Constructor and Description |
|---|
MutableShort(short l) |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
void |
dec(short i)
decrease by i
|
double |
doubleValue() |
float |
floatValue() |
void |
inc(short i)
increase by i
|
int |
intValue() |
long |
longValue() |
void |
set(short l)
Set the short value
|
short |
shortValue() |
java.lang.String |
toString() |
public final void set(short l)
l - the short valuepublic final byte byteValue()
byteValue in class java.lang.Numberpublic final double doubleValue()
doubleValue in class java.lang.Numberpublic final float floatValue()
floatValue in class java.lang.Numberpublic final int intValue()
intValue in class java.lang.Numberpublic final long longValue()
longValue in class java.lang.Numberpublic final short shortValue()
shortValue in class java.lang.Numberpublic void inc(short i)
i - the value to increasepublic void dec(short i)
i - the value to decreasepublic java.lang.String toString()
toString in class java.lang.Object