Class MutableInteger
java.lang.Object
org.deltava.util.MutableInteger
- All Implemented Interfaces:
Comparable<MutableInteger>
A class to store mutable Integer values.
- Since:
- 8.7
- Version:
- 11.0
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MutableInteger
public MutableInteger(int value) Creates the integer.- Parameters:
value
- the initial value
-
-
Method Details
-
inc
public void inc()Increments the value. -
intValue
public int intValue()Returns the value as a primitive.- Returns:
- the value
-
getValue
-
toString
-
hashCode
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MutableInteger>
-