mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 18:29:53 +00:00
import MessagePack for Java implementation plan 2
This commit is contained in:
parent
93a95725fc
commit
e39e1d4f60
48 changed files with 3676 additions and 0 deletions
21
java-plan2/src/org/msgpack/schema/PrimitiveSchema.java
Normal file
21
java-plan2/src/org/msgpack/schema/PrimitiveSchema.java
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue