import MessagePack for Java implementation plan 2

This commit is contained in:
frsyuki 2009-11-12 01:10:36 +09:00
parent 93a95725fc
commit e39e1d4f60
48 changed files with 3676 additions and 0 deletions

View file

@ -0,0 +1,29 @@
package org.msgpack;
public class GenericShort extends GenericObject {
short value;
public GenericShort(short value)
{
this.value = value;
}
@Override
public short asShort()
{
return value;
}
@Override
public int asInt()
{
return value;
}
@Override
public long asLong()
{
return value;
}
}