Enum Instructions
- java.lang.Object
-
- java.lang.Enum<Instructions>
-
- global.maplink.trip.schema.v2.features.turnByTurn.Instructions
-
- All Implemented Interfaces:
Serializable,Comparable<Instructions>
public enum Instructions extends Enum<Instructions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTINUE_ON_STREETKEEP_LEFTKEEP_RIGHTLAST_POINTLEAVE_ROUNDABOUTLEFT_U_TURNRIGHT_U_TURNROUNDABOUTTURN_LEFTTURN_RIGHTTURN_SHARP_LEFTTURN_SHARP_RIGHTTURN_SLIGHT_LEFTTURN_SLIGHT_RIGHTU_TURNUNKNOWNVIA_POINT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstructionsvalueOf(String name)Returns the enum constant of this type with the specified name.static Instructions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
U_TURN
public static final Instructions U_TURN
-
LEFT_U_TURN
public static final Instructions LEFT_U_TURN
-
KEEP_LEFT
public static final Instructions KEEP_LEFT
-
LEAVE_ROUNDABOUT
public static final Instructions LEAVE_ROUNDABOUT
-
TURN_SHARP_LEFT
public static final Instructions TURN_SHARP_LEFT
-
TURN_LEFT
public static final Instructions TURN_LEFT
-
TURN_SLIGHT_LEFT
public static final Instructions TURN_SLIGHT_LEFT
-
CONTINUE_ON_STREET
public static final Instructions CONTINUE_ON_STREET
-
TURN_SLIGHT_RIGHT
public static final Instructions TURN_SLIGHT_RIGHT
-
TURN_RIGHT
public static final Instructions TURN_RIGHT
-
TURN_SHARP_RIGHT
public static final Instructions TURN_SHARP_RIGHT
-
LAST_POINT
public static final Instructions LAST_POINT
-
VIA_POINT
public static final Instructions VIA_POINT
-
ROUNDABOUT
public static final Instructions ROUNDABOUT
-
KEEP_RIGHT
public static final Instructions KEEP_RIGHT
-
RIGHT_U_TURN
public static final Instructions RIGHT_U_TURN
-
UNKNOWN
public static final Instructions UNKNOWN
-
-
Method Detail
-
values
public static Instructions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Instructions c : Instructions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Instructions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-