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