public enum ValueType extends Enum<ValueType> implements SerialEnum
| Enum Constant and Description |
|---|
BOOLEAN |
DOUBLE |
FLOAT |
ID_VALUE |
ID_VALUE_LIST |
ID_VALUE_LIST_LIST |
INT |
LIST_VALUE |
LONG |
NULL |
STRING |
UNKNOWN |
TABLE| Modifier and Type | Method and Description |
|---|---|
int |
byteSize() |
byte |
code() |
String |
string() |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromCode, registerpublic static final ValueType UNKNOWN
public static final ValueType NULL
public static final ValueType BOOLEAN
public static final ValueType INT
public static final ValueType LONG
public static final ValueType FLOAT
public static final ValueType DOUBLE
public static final ValueType STRING
public static final ValueType ID_VALUE
public static final ValueType ID_VALUE_LIST
public static final ValueType ID_VALUE_LIST_LIST
public static final ValueType LIST_VALUE
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte code()
code in interface SerialEnumpublic int byteSize()
public String string()
Copyright © 2020–2021. All rights reserved.