public enum ManeuverType extends java.lang.Enum<ManeuverType>
Enum Constant and Description |
---|
Change
Change from one motorway on another.
|
DestinationReached
You have reached your destination.
|
Enter
Enter motorway.
|
EnterRoad
Enter a road of a class below motorway.
|
EnterRoundabout
Not used.
|
Error
Invalid manoeuvre type.
|
Exit
Exit motorway.
|
ExitRoundabout
Exit roundabout
|
Further
Continue in same direction.
|
Keep
Light change of direction.
|
LeaveRoad
Leave a road of a class below motorway.
|
StayRoundabout
Not used.
|
StopOver
A stop-over point - that means intermediate station, has been reached.
|
Turn
A turn manoeuvre.
|
UTurn
U-turn on a road with separated driving lanes.
|
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static ManeuverType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManeuverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManeuverType Error
public static final ManeuverType Further
public static final ManeuverType Keep
public static final ManeuverType Turn
public static final ManeuverType UTurn
public static final ManeuverType Enter
public static final ManeuverType Exit
public static final ManeuverType EnterRoundabout
public static final ManeuverType StayRoundabout
public static final ManeuverType ExitRoundabout
public static final ManeuverType Change
public static final ManeuverType DestinationReached
public static final ManeuverType EnterRoad
public static final ManeuverType LeaveRoad
public static final ManeuverType StopOver
public static ManeuverType[] values()
for (ManeuverType c : ManeuverType.values()) System.out.println(c);
public static ManeuverType 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 nullpublic int getId()