Method Summary |
|
public void | add(long operand) Adds a value. |
public void | add(Number operand) Adds a value. |
public int | compareTo(Object obj) Compares this mutable to another in ascending order. |
public void | decrement() Decrements the value. |
public double | doubleValue() Returns the value of this MutableLong as a double. |
public boolean | equals(Object obj) Compares this object against the specified object. |
public float | floatValue() Returns the value of this MutableLong as a float. |
public Object | getValue() Gets the value as a Long instance. |
public int | hashCode() Returns a suitable hashcode for this mutable. |
public void | increment() Increments the value. |
public int | intValue() Returns the value of this MutableLong as a int. |
public long | longValue() Returns the value of this MutableLong as a long. |
public void | setValue(long value) Sets the value. |
public void | setValue(Object value) Sets the value from any Number instance. |
public void | subtract(long operand) Subtracts a value. |
public void | subtract(Number operand) Subtracts a value. |
public Long | toLong() Gets this mutable as an instance of Long. |
public String | toString() Returns the String value of this mutable. |