public static enum JsonNumber.NumberType extends Enum<JsonNumber.NumberType>
| Enum Constant and Description |
|---|
DECIMAL
Represents a number that is numerically decimal.
|
INTEGER
Represents a number that is numerically integer.
|
| Modifier and Type | Method and Description |
|---|---|
static JsonNumber.NumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonNumber.NumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonNumber.NumberType INTEGER
public static final JsonNumber.NumberType DECIMAL
public static JsonNumber.NumberType[] values()
for (JsonNumber.NumberType c : JsonNumber.NumberType.values()) System.out.println(c);
public static JsonNumber.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 © 2013. All Rights Reserved.