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