public static enum LocationUtils.Direction extends Enum<LocationUtils.Direction>
Enum Constant and Description |
---|
BACK |
BACK_LEFT |
BACK_RIGHT |
FRONT |
FRONT_LEFT |
FRONT_RIGHT |
LEFT |
RIGHT |
Modifier and Type | Method and Description |
---|---|
static LocationUtils.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocationUtils.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationUtils.Direction FRONT
public static final LocationUtils.Direction BACK
public static final LocationUtils.Direction LEFT
public static final LocationUtils.Direction RIGHT
public static final LocationUtils.Direction FRONT_LEFT
public static final LocationUtils.Direction FRONT_RIGHT
public static final LocationUtils.Direction BACK_LEFT
public static final LocationUtils.Direction BACK_RIGHT
public static LocationUtils.Direction[] values()
for (LocationUtils.Direction c : LocationUtils.Direction.values()) System.out.println(c);
public static LocationUtils.Direction 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