public class MutableInteger extends java.lang.Object implements java.lang.Cloneable, java.lang.Comparable<MutableInteger>, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
value |
Constructor and Description |
---|
MutableInteger() |
MutableInteger(int value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MutableInteger that) |
public MutableInteger()
public MutableInteger(int value)
public int compareTo(MutableInteger that)
compareTo
in interface java.lang.Comparable<MutableInteger>