public enum RelativeDirection extends Enum<RelativeDirection>
Enum Constant and Description |
---|
CIRCLE_CLOCKWISE |
CIRCLE_COUNTERCLOCKWISE |
CONTINUE |
DEPART |
ELEVATOR |
HARD_LEFT |
HARD_RIGHT |
LEFT |
RIGHT |
SLIGHTLY_LEFT |
SLIGHTLY_RIGHT |
UTURN_LEFT |
UTURN_RIGHT |
Modifier and Type | Method and Description |
---|---|
static RelativeDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelativeDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelativeDirection DEPART
public static final RelativeDirection HARD_LEFT
public static final RelativeDirection LEFT
public static final RelativeDirection SLIGHTLY_LEFT
public static final RelativeDirection CONTINUE
public static final RelativeDirection SLIGHTLY_RIGHT
public static final RelativeDirection RIGHT
public static final RelativeDirection HARD_RIGHT
public static final RelativeDirection CIRCLE_CLOCKWISE
public static final RelativeDirection CIRCLE_COUNTERCLOCKWISE
public static final RelativeDirection ELEVATOR
public static final RelativeDirection UTURN_LEFT
public static final RelativeDirection UTURN_RIGHT
public static RelativeDirection[] values()
for (RelativeDirection c : RelativeDirection.values()) System.out.println(c);
public static RelativeDirection 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 nullCopyright © 2018. All rights reserved.