public static enum JsonParser.NumberType extends Enum<JsonParser.NumberType>
Enum Constant and Description |
---|
BIG_DECIMAL |
BIG_INTEGER |
DOUBLE |
FLOAT |
INT |
LONG |
Modifier and Type | Method and Description |
---|---|
static JsonParser.NumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonParser.NumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 nullCopyright © 2008–2020 FasterXML. All rights reserved.