public enum WaypointTurnDirection extends Enum<WaypointTurnDirection> implements Enumeration
Enum Constant and Description |
---|
LEFT
Indicates that the position will turn left at the waypoint.
|
RIGHT
Indicates that the position will turn right at the waypoint.
|
UNSPECIFIED
Indicates that the turn at the given waypoint should move in the direction
that makes the most sense given the heading information from the previous
and to the next procedure.
|
Modifier and Type | Method and Description |
---|---|
static WaypointTurnDirection |
getDefault()
Get the enum constant that is considered to be the default.
|
static WaypointTurnDirection |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static WaypointTurnDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaypointTurnDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaypointTurnDirection UNSPECIFIED
public static final WaypointTurnDirection RIGHT
public static final WaypointTurnDirection LEFT
public static WaypointTurnDirection[] values()
for (WaypointTurnDirection c : WaypointTurnDirection.values()) System.out.println(c);
public static WaypointTurnDirection 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static WaypointTurnDirection getFromValue(int value)
value
- a numeric value.@Nonnull public static WaypointTurnDirection getDefault()