org.msgpack.type
Class IntegerValue

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

public abstract class IntegerValue
extends NumberValue

See Also:
Serialized Form

Constructor Summary
IntegerValue()
           
 
Method Summary
 IntegerValue asIntegerValue()
           
 BigInteger getBigInteger()
           
abstract  byte getByte()
           
abstract  int getInt()
           
abstract  long getLong()
           
abstract  short getShort()
           
 ValueType getType()
           
 boolean isIntegerValue()
           
 
Methods inherited from class org.msgpack.type.NumberValue
asArrayValue, asBooleanValue, asFloatValue, asMapValue, asNilValue, asRawValue, bigIntegerValue, isArrayValue, isBooleanValue, isFloatValue, 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

IntegerValue

public IntegerValue()
Method Detail

getType

public ValueType getType()

isIntegerValue

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

asIntegerValue

public IntegerValue asIntegerValue()
Specified by:
asIntegerValue in interface Value
Overrides:
asIntegerValue in class NumberValue

getByte

public abstract byte getByte()

getShort

public abstract short getShort()

getInt

public abstract int getInt()

getLong

public abstract long getLong()

getBigInteger

public BigInteger getBigInteger()


Copyright © 2011. All Rights Reserved.