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