public enum ValueType extends Enum<ValueType> implements SerialEnum
| 枚举常量和说明 |
|---|
BOOLEAN |
DOUBLE |
FLOAT |
ID_VALUE |
ID_VALUE_LIST |
ID_VALUE_LIST_LIST |
INT |
LIST_VALUE |
LONG |
NULL |
UNKNOWN |
TABLE| 限定符和类型 | 方法和说明 |
|---|---|
int |
byteSize() |
byte |
code() |
String |
string() |
static ValueType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ValueType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public byte code()
code 在接口中 SerialEnumpublic int byteSize()
public String string()
Copyright © 2020–2021. All rights reserved.