public static enum KeyValue.Type extends java.lang.Enum<KeyValue.Type>
| Enum Constant and Description |
|---|
COLOR |
END |
FLOAT32 |
INT32 |
INT64 |
NONE |
POINTER |
STRING |
UINT64 |
WIDESTRING |
| Modifier and Type | Method and Description |
|---|---|
byte |
code() |
static KeyValue.Type |
from(byte code) |
static KeyValue.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyValue.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyValue.Type NONE
public static final KeyValue.Type STRING
public static final KeyValue.Type INT32
public static final KeyValue.Type FLOAT32
public static final KeyValue.Type POINTER
public static final KeyValue.Type WIDESTRING
public static final KeyValue.Type COLOR
public static final KeyValue.Type UINT64
public static final KeyValue.Type END
public static final KeyValue.Type INT64
public static KeyValue.Type[] values()
for (KeyValue.Type c : KeyValue.Type.values()) System.out.println(c);
public static KeyValue.Type 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 byte code()
public static KeyValue.Type from(byte code)