public static enum Maneuver.TrafficDirection extends java.lang.Enum<Maneuver.TrafficDirection>
Enum Constant and Description |
---|
LEFT
Traffic flows on the left side of the road, as in the UK.
|
RIGHT
Traffic flows on the right side of the road, as in the USA.
|
Modifier and Type | Method and Description |
---|---|
static Maneuver.TrafficDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Maneuver.TrafficDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Maneuver.TrafficDirection LEFT
public static final Maneuver.TrafficDirection RIGHT
public static Maneuver.TrafficDirection[] values()
for (Maneuver.TrafficDirection c : Maneuver.TrafficDirection.values()) System.out.println(c);
public static Maneuver.TrafficDirection 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