org.simantics.databoard.primitives
Class MutableLong

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

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

See Also:
Serialized Form

Field Summary
 long value
           
 
Constructor Summary
MutableLong()
           
MutableLong(long value)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(MutableLong anotherLong)
           
 double doubleValue()
           
 boolean equals(java.lang.Object obj)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 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 long value
Constructor Detail

MutableLong

public MutableLong()

MutableLong

public MutableLong(long value)
Method Detail

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

toString

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

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(MutableLong anotherLong)
Specified by:
compareTo in interface java.lang.Comparable<MutableLong>