com.tencent.lbssearch.object.param.DrivingParam.DrivingPolicy
public static enum RoutePlanningParam.DrivingPolicy extends java.lang.Enum<RoutePlanningParam.DrivingPolicy>
Enum Constant and Description |
---|
LEAST_DISTANCE
Deprecated.
距离最短
|
LEAST_FEE
Deprecated.
省钱
|
LEAST_TIME
Deprecated.
较快捷
|
REAL_TRAFFIC
Deprecated.
结合路况
|
Modifier and Type | Method and Description |
---|---|
static RoutePlanningParam.DrivingPolicy |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static RoutePlanningParam.DrivingPolicy[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutePlanningParam.DrivingPolicy LEAST_TIME
public static final RoutePlanningParam.DrivingPolicy LEAST_FEE
public static final RoutePlanningParam.DrivingPolicy LEAST_DISTANCE
public static final RoutePlanningParam.DrivingPolicy REAL_TRAFFIC
public static RoutePlanningParam.DrivingPolicy[] values()
for (RoutePlanningParam.DrivingPolicy c : RoutePlanningParam.DrivingPolicy.values()) System.out.println(c);
public static RoutePlanningParam.DrivingPolicy 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