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