| Enum Constant and Description |
|---|
R_ARRAY |
R_BOOL |
R_JSON |
R_NULL |
R_NUM |
R_OBJECT |
R_STR |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static DatumType |
fromValue(int value) |
static @Nullable DatumType |
maybeFromValue(int value) |
static DatumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatumType R_NULL
public static final DatumType R_BOOL
public static final DatumType R_NUM
public static final DatumType R_STR
public static final DatumType R_ARRAY
public static final DatumType R_OBJECT
public static final DatumType R_JSON
public static DatumType[] values()
for (DatumType c : DatumType.values()) System.out.println(c);
public static DatumType 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 DatumType fromValue(int value)
@Nullable public static @Nullable DatumType maybeFromValue(int value)