com.threerings.expr
Class MutableLong

java.lang.Object
  extended by com.threerings.expr.MutableLong

public class MutableLong
extends Object

A mutable equivalent to Long.


Field Summary
 long value
          The value of this variable.
 
Constructor Summary
MutableLong()
          Creates a mutable long with a value of zero.
MutableLong(long value)
          Creates a mutable long with the supplied value.
 
Method Summary
 boolean equals(Object other)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public long value
The value of this variable.

Constructor Detail

MutableLong

public MutableLong(long value)
Creates a mutable long with the supplied value.


MutableLong

public MutableLong()
Creates a mutable long with a value of zero.

Method Detail

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.