org.openmuc.framework.data
Class LongValue

java.lang.Object
  extended by org.openmuc.framework.data.LongValue
All Implemented Interfaces:
Value

public final class LongValue
extends java.lang.Object
implements Value


Constructor Summary
LongValue(long value)
           
 
Method Summary
 boolean asBoolean()
           
 byte asByte()
           
 byte[] asByteArray()
           
 double asDouble()
           
 float asFloat()
           
 int asInt()
           
 long asLong()
           
 short asShort()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LongValue

public LongValue(long value)
Method Detail

asDouble

public double asDouble()
Specified by:
asDouble in interface Value

asFloat

public float asFloat()
Specified by:
asFloat in interface Value

asLong

public long asLong()
Specified by:
asLong in interface Value

asInt

public int asInt()
Specified by:
asInt in interface Value

asShort

public short asShort()
Specified by:
asShort in interface Value

asByte

public byte asByte()
Specified by:
asByte in interface Value

asBoolean

public boolean asBoolean()
Specified by:
asBoolean in interface Value

asByteArray

public byte[] asByteArray()
Specified by:
asByteArray in interface Value

toString

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