public static enum A.State extends Enum<A.State>
Modifier and Type | Method and Description |
---|---|
static A.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static A.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final A.State CREATED
public static final A.State STATE1
public static final A.State STATE2
public static A.State[] values()
for (A.State c : A.State.values()) System.out.println(c);
public static A.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 © 2012–2022. All rights reserved.