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