private static enum JsonScanner.NumberState extends java.lang.Enum<JsonScanner.NumberState>
Enum Constant and Description |
---|
DONE |
INVALID |
SAW_DECIMAL_POINT |
SAW_EXPONENT_DIGITS |
SAW_EXPONENT_LETTER |
SAW_EXPONENT_SIGN |
SAW_FRACTION_DIGITS |
SAW_INTEGER_DIGITS |
SAW_LEADING_MINUS |
SAW_LEADING_ZERO |
SAW_MINUS_I |
Modifier and Type | Method and Description |
---|---|
static JsonScanner.NumberState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonScanner.NumberState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonScanner.NumberState SAW_LEADING_MINUS
public static final JsonScanner.NumberState SAW_LEADING_ZERO
public static final JsonScanner.NumberState SAW_INTEGER_DIGITS
public static final JsonScanner.NumberState SAW_DECIMAL_POINT
public static final JsonScanner.NumberState SAW_FRACTION_DIGITS
public static final JsonScanner.NumberState SAW_EXPONENT_LETTER
public static final JsonScanner.NumberState SAW_EXPONENT_SIGN
public static final JsonScanner.NumberState SAW_EXPONENT_DIGITS
public static final JsonScanner.NumberState SAW_MINUS_I
public static final JsonScanner.NumberState DONE
public static final JsonScanner.NumberState INVALID
public static JsonScanner.NumberState[] values()
for (JsonScanner.NumberState c : JsonScanner.NumberState.values()) System.out.println(c);
public static JsonScanner.NumberState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null