java.io.Serializable
, java.lang.Comparable<Area.State>
public static enum Area.State extends java.lang.Enum<Area.State>
Area.getAreaState()
Enum Constant | Description |
---|---|
ACTIVE |
|
FROZEN |
Area is threaded, and running, but not mobile
|
PASSIVE |
Area is mobile, threaded, and running
|
STOPPED |
Area is thread, but not running or mobile
|
Modifier and Type | Method | Description |
---|---|---|
static Area.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Area.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Area.State ACTIVE
public static final Area.State PASSIVE
public static final Area.State FROZEN
public static final Area.State STOPPED
public static Area.State[] values()
for (Area.State c : Area.State.values()) System.out.println(c);
public static Area.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null