org.msgpack.type
Class FloatValue

java.lang.Object
  extended by java.lang.Number
      extended by org.msgpack.type.NumberValue
          extended by org.msgpack.type.FloatValue
All Implemented Interfaces:
Serializable, Value

public abstract class FloatValue
extends NumberValue

See Also:
Serialized Form

Constructor Summary
FloatValue()
           
 
Method Summary
 FloatValue asFloatValue()
           
abstract  double getDouble()
           
abstract  float getFloat()
           
 ValueType getType()
           
 boolean isFloatValue()
           
 
Methods inherited from class org.msgpack.type.NumberValue
asArrayValue, asBooleanValue, asIntegerValue, asMapValue, asNilValue, asRawValue, bigIntegerValue, isArrayValue, isBooleanValue, isIntegerValue, isMapValue, isNilValue, isRawValue
 
Methods inherited from class java.lang.Number
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.type.Value
toString, writeTo
 

Constructor Detail

FloatValue

public FloatValue()
Method Detail

getType

public ValueType getType()

isFloatValue

public boolean isFloatValue()
Specified by:
isFloatValue in interface Value
Overrides:
isFloatValue in class NumberValue

asFloatValue

public FloatValue asFloatValue()
Specified by:
asFloatValue in interface Value
Overrides:
asFloatValue in class NumberValue

getFloat

public abstract float getFloat()

getDouble

public abstract double getDouble()


Copyright © 2011. All Rights Reserved.