Example usage for Java org.apache.commons.lang.mutable MutableLong fields, constructors, methods, implement or subclass
The text is from its open source code.
MutableLong(long value) Constructs a new MutableLong with the specified value. | |
MutableLong(Number value) Constructs a new MutableLong with the specified value. | |
MutableLong() Constructs a new MutableLong with the default value of zero. |
void | add(long operand) Adds a value. |
void | add(Number operand) Adds a value. |
void | decrement() Decrements the value. |
Object | getValue() Gets the value as a Long instance. |
void | increment() Increments the value. |
int | intValue() Returns the value of this MutableLong as a int. |
long | longValue() Returns the value of this MutableLong as a long. |
void | setValue(long value) Sets the value. |
void | setValue(Object value) Sets the value from any Number instance. |
Long | toLong() Gets this mutable as an instance of Long. |