TransitParam.Policy
public static enum RoutePlanningParam.TransitPolicy extends java.lang.Enum<RoutePlanningParam.TransitPolicy>
Enum Constant and Description |
---|
LEAST_TIME
Deprecated.
较快捷
|
LEAST_TRANSFER
Deprecated.
少换乘
|
LEAST_WALKING
Deprecated.
少走路
|
Modifier and Type | Method and Description |
---|---|
static RoutePlanningParam.TransitPolicy |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RoutePlanningParam.TransitPolicy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutePlanningParam.TransitPolicy LEAST_TIME
public static final RoutePlanningParam.TransitPolicy LEAST_TRANSFER
public static final RoutePlanningParam.TransitPolicy LEAST_WALKING
public static RoutePlanningParam.TransitPolicy[] values()
for (RoutePlanningParam.TransitPolicy c : RoutePlanningParam.TransitPolicy.values()) System.out.println(c);
public static RoutePlanningParam.TransitPolicy 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 null