public static enum RouteRequest.Profile extends Enum<RouteRequest.Profile>
Enum Constant and Description |
---|
CAR |
Modifier and Type | Method and Description |
---|---|
static RouteRequest.Profile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteRequest.Profile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteRequest.Profile CAR
public static RouteRequest.Profile[] values()
for (RouteRequest.Profile c : RouteRequest.Profile.values()) System.out.println(c);
public static RouteRequest.Profile 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