public class MutableNumber<T extends java.lang.Number>
extends java.lang.Object
value()
to get the value of the number and value(Number)
to set a new value of the number.public MutableNumber(T value) throws java.lang.IllegalArgumentException
value
- the initial valuejava.lang.IllegalArgumentException
- public T value()
public void value(T value) throws java.lang.IllegalArgumentException
value
- the valuejava.lang.IllegalArgumentException
- public java.lang.String toString()
toString
in class java.lang.Object