java.lang.Objectorg.objectweb.telosys.common.val.IntValue
This class wraps a value of the primitive type 'int' in an object. The current value can be changed with the 'setValue' method.
Constructor Summary | |
IntValue()
Default constructor, the initial value is '0'. |
|
IntValue(int v)
Constructor with initial value |
Method Summary | |
int |
getValue()
Returns the current value |
void |
setValue(int v)
Changes the current value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IntValue()
public IntValue(int v)
v
- initial valueMethod Detail |
public void setValue(int v)
v
- public int getValue()
public java.lang.String toString()