Package com.webmethods.caf.common
Class MutableInt
java.lang.Object
com.webmethods.caf.common.MutableInt
- All Implemented Interfaces:
Serializable
Basics class to hold a mutable int with getters and setter methods.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, does nothingMutableInt
(int value) Sets the mutable integer. -
Method Summary
-
Constructor Details
-
MutableInt
public MutableInt()Default constructor, does nothing -
MutableInt
public MutableInt(int value) Sets the mutable integer.- Parameters:
value
- returns mutable integer
-
-
Method Details
-
getValue
public int getValue()Returns the mutable integer- Returns:
- integer mutable value
-
setValue
public void setValue(int value) Does same as MutableInt- Parameters:
value
- returns mutable integer
-
toString
Returns the string representation of the mutable integer (just the integer value)
-