lisken.systoolbox
Class MutableInteger
java.lang.Object
lisken.systoolbox.MutableInteger
- All Implemented Interfaces:
- java.lang.Comparable
public class MutableInteger
- extends java.lang.Object
- implements java.lang.Comparable
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MutableInteger
public MutableInteger(int n)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
intValue
public int intValue()
setValue
public void setValue(int n)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object