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,21 @@
package org.msgpack.schema;
public abstract class PrimitiveSchema extends Schema {
public static enum PrimitiveType {
BYTE,
SHORT,
INT,
LONG,
FLOAT,
DOUBLE,
}
public final PrimitiveType type;
protected PrimitiveSchema(String name, PrimitiveType type)
{
super(name);
this.type = type;
}
}