Method Summary |
|
public void | add(int 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 MutableInt as a double. |
public boolean | equals(Object obj) Compares this object to the specified object. |
public float | floatValue() Returns the value of this MutableInt as a float. |
public Object | getValue() Gets the value as a Integer 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 MutableInt as a int. |
public long | longValue() Returns the value of this MutableInt as a long. |
public void | setValue(int value) Sets the value. |
public void | setValue(Object value) Sets the value from any Number instance. |
public void | subtract(int operand) Subtracts a value. |
public void | subtract(Number operand) Subtracts a value. |
public Integer | toInteger() Gets this mutable as an instance of Integer. |
public String | toString() Returns the String value of this mutable. |