public static enum JSONScanner.State extends Enum<JSONScanner.State>
Modifier and Type | Method and Description |
---|---|
static JSONScanner.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSONScanner.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSONScanner.State initial
public static final JSONScanner.State key
public static final JSONScanner.State string
public static JSONScanner.State[] values()
for (JSONScanner.State c : JSONScanner.State.values()) System.out.println(c);
public static JSONScanner.State 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 © 2015 JBoss by Red Hat. All rights reserved.