org.msgpack.type
Class NumberValue

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

public abstract class NumberValue
extends Number
implements Value

See Also:
Serialized Form

Constructor Summary
NumberValue()
           
 
Method Summary
 ArrayValue asArrayValue()
           
 BooleanValue asBooleanValue()
           
 FloatValue asFloatValue()
           
 IntegerValue asIntegerValue()
           
 MapValue asMapValue()
           
 NilValue asNilValue()
           
 RawValue asRawValue()
           
abstract  BigInteger bigIntegerValue()
           
 boolean isArrayValue()
           
 boolean isBooleanValue()
           
 boolean isFloatValue()
           
 boolean isIntegerValue()
           
 boolean isMapValue()
           
 boolean isNilValue()
           
 boolean 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
getType, toString, writeTo
 

Constructor Detail

NumberValue

public NumberValue()
Method Detail

isNilValue

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

isBooleanValue

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

isIntegerValue

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

isFloatValue

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

isArrayValue

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

isMapValue

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

isRawValue

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

asNilValue

public NilValue asNilValue()
Specified by:
asNilValue in interface Value

asBooleanValue

public BooleanValue asBooleanValue()
Specified by:
asBooleanValue in interface Value

asIntegerValue

public IntegerValue asIntegerValue()
Specified by:
asIntegerValue in interface Value

asFloatValue

public FloatValue asFloatValue()
Specified by:
asFloatValue in interface Value

asArrayValue

public ArrayValue asArrayValue()
Specified by:
asArrayValue in interface Value

asMapValue

public MapValue asMapValue()
Specified by:
asMapValue in interface Value

asRawValue

public RawValue asRawValue()
Specified by:
asRawValue in interface Value

bigIntegerValue

public abstract BigInteger bigIntegerValue()


Copyright © 2011. All Rights Reserved.