com.threerings.expr
Class MutableFloat

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

public class MutableFloat
extends Object

A mutable equivalent to Float.


Field Summary
 float value
          The value of this variable.
 
Constructor Summary
MutableFloat()
          Creates a mutable float with a value of zero.
MutableFloat(float value)
          Creates a mutable float 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 float value
The value of this variable.

Constructor Detail

MutableFloat

public MutableFloat(float value)
Creates a mutable float with the supplied value.


MutableFloat

public MutableFloat()
Creates a mutable float 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.