public static enum JsonParser.NumberType extends Enum<JsonParser.NumberType>
枚举常量和说明 |
---|
BIG_DECIMAL |
BIG_INTEGER |
DOUBLE |
FLOAT |
INT |
LONG |
public static final JsonParser.NumberType INT
public static final JsonParser.NumberType LONG
public static final JsonParser.NumberType BIG_INTEGER
public static final JsonParser.NumberType FLOAT
public static final JsonParser.NumberType DOUBLE
public static final JsonParser.NumberType BIG_DECIMAL
public static JsonParser.NumberType[] values()
for (JsonParser.NumberType c : JsonParser.NumberType.values()) System.out.println(c);
public static JsonParser.NumberType valueOf(String name)
name
- 要返回的枚举常量的名称。如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException如果参数为空值,
- 则抛出 NullPointerException