mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
21 lines
314 B
Java
21 lines
314 B
Java
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;
|
|
}
|
|
}
|
|
|