org.simantics.databoard.binding.mutable
Class MutableFloat

java.lang.Object
  extended by java.lang.Number
      extended by org.simantics.databoard.binding.mutable.MutableFloat
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MutableFloat>

public class MutableFloat
extends java.lang.Number
implements java.lang.Comparable<MutableFloat>

See Also:
Serialized Form

Field Summary
 float value
           
 
Constructor Summary
MutableFloat()
           
MutableFloat(float value)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(MutableFloat anotherFloat)
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 boolean isInfinite()
           
 boolean isNaN()
           
 long longValue()
           
 short shortValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

public float value
Constructor Detail

MutableFloat

public MutableFloat()

MutableFloat

public MutableFloat(float value)
Method Detail

isNaN

public boolean isNaN()

isInfinite

public boolean isInfinite()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

byteValue

public byte byteValue()
Overrides:
byteValue in class java.lang.Number

shortValue

public short shortValue()
Overrides:
shortValue in class java.lang.Number

intValue

public int intValue()
Specified by:
intValue in class java.lang.Number

longValue

public long longValue()
Specified by:
longValue in class java.lang.Number

floatValue

public float floatValue()
Specified by:
floatValue in class java.lang.Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class java.lang.Number

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(MutableFloat anotherFloat)
Specified by:
compareTo in interface java.lang.Comparable<MutableFloat>