public static enum RoadInstruction.SubType extends Enum<RoadInstruction.SubType>
| Enum Constant and Description |
|---|
ROUTE_END |
ROUTE_START |
ROUTE_START_UNMENTIONED
This instruction is the first in a route, but the instruction should
not mention this explicitly.
|
STRAIGHT |
SWITCH_SIDE_OF_ROAD
Instruction for switching the side of a road - typically one and the
same - and continuing in the same direction.
|
TURN |
U_TURN |
| Modifier and Type | Method and Description |
|---|---|
static RoadInstruction.SubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadInstruction.SubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadInstruction.SubType ROUTE_START
public static final RoadInstruction.SubType ROUTE_START_UNMENTIONED
public static final RoadInstruction.SubType ROUTE_END
public static final RoadInstruction.SubType STRAIGHT
public static final RoadInstruction.SubType TURN
public static final RoadInstruction.SubType U_TURN
public static final RoadInstruction.SubType SWITCH_SIDE_OF_ROAD
public static RoadInstruction.SubType[] values()
for (RoadInstruction.SubType c : RoadInstruction.SubType.values()) System.out.println(c);
public static RoadInstruction.SubType 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.