public class MutableInt extends Object implements Serializable
Constructor and Description |
---|
MutableInt()
Default constructor, does nothing
|
MutableInt(int value)
Sets the mutable integer.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the mutable integer
|
void |
setValue(int value)
Does same as MutableInt
|
String |
toString()
Returns the string representation of the mutable integer (just the integer value)
|
public MutableInt()
public MutableInt(int value)
value
- returns mutable integer