|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number org.onemind.commons.java.lang.MutableShort
An mutable short
Constructor Summary | |
MutableShort(short l)
{@inheritDoc} |
Method Summary | |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MutableShort(short l)
l
- the long valueMethod Detail |
public final void set(short l)
l
- the short valuepublic final byte byteValue()
public final double doubleValue()
public final float floatValue()
public final int intValue()
public final long longValue()
public final short shortValue()
public void inc(short i)
i
- the value to increasepublic void dec(short i)
i
- the value to decreasepublic java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |