| Enum Constant and Description |
|---|
ARRAY |
BYTE_STRING |
MAP |
NEGATIVE_INTEGER |
PRIMITIVE |
SEMANTIC_TAG |
TEXT_STRING |
UNSIGNED_INTEGER |
| Modifier and Type | Method and Description |
|---|---|
static MajorType |
fromByte(byte b) |
static MajorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MajorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MajorType UNSIGNED_INTEGER
public static final MajorType NEGATIVE_INTEGER
public static final MajorType BYTE_STRING
public static final MajorType TEXT_STRING
public static final MajorType ARRAY
public static final MajorType MAP
public static final MajorType SEMANTIC_TAG
public static final MajorType PRIMITIVE
public static MajorType[] values()
for (MajorType c : MajorType.values()) System.out.println(c);
public static MajorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MajorType fromByte(byte b)