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