com.threerings.expr
Class MutableInteger
java.lang.Object
com.threerings.expr.MutableInteger
public class MutableInteger
- extends Object
A mutable equivalent to Integer.
|
Field Summary |
int |
value
The value of this variable. |
|
Constructor Summary |
MutableInteger()
Creates a mutable integer with a value of zero. |
MutableInteger(int value)
Creates a mutable integer with the supplied value. |
value
public int value
- The value of this variable.
MutableInteger
public MutableInteger(int value)
- Creates a mutable integer with the supplied value.
MutableInteger
public MutableInteger()
- Creates a mutable integer with a value of zero.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.