public static enum RouteRequest.InstructionMeasurementSystem extends Enum<RouteRequest.InstructionMeasurementSystem>
Enum Constant and Description |
---|
IMPERIAL
The imperial unit system (feet, yards etc.)
|
METRIC
The metric unit system (meters, kilometers).
|
Modifier and Type | Method and Description |
---|---|
static RouteRequest.InstructionMeasurementSystem |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteRequest.InstructionMeasurementSystem[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteRequest.InstructionMeasurementSystem METRIC
public static final RouteRequest.InstructionMeasurementSystem IMPERIAL
public static RouteRequest.InstructionMeasurementSystem[] values()
for (RouteRequest.InstructionMeasurementSystem c : RouteRequest.InstructionMeasurementSystem.values()) System.out.println(c);
public static RouteRequest.InstructionMeasurementSystem 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 null