alun.util
Class IntValue
java.lang.Object
alun.util.IntValue
- All Implemented Interfaces:
- java.lang.Comparable<IntValue>
public class IntValue
- extends java.lang.Object
- implements java.lang.Comparable<IntValue>
A wrapper around a modifiable int value.
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
i
public int i
IntValue
public IntValue()
IntValue
public IntValue(int j)
add
public void add(int x)
value
public int value()
compareTo
public final int compareTo(IntValue x)
- Specified by:
compareTo in interface java.lang.Comparable<IntValue>
hashCode
public final int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public final 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