public static enum DrivingRoutePlanOption.DrivingPolicy extends java.lang.Enum<DrivingRoutePlanOption.DrivingPolicy>
Enum Constant and Description |
---|
ECAR_AVOID_JAM
驾车策略: 躲避拥堵
|
ECAR_DIS_FIRST
驾乘检索策略常量:最短距离
|
ECAR_FEE_FIRST
驾乘检索策略常量:较少费用
|
ECAR_TIME_FIRST
驾乘检索策略常量:时间优先
|
Modifier and Type | Method and Description |
---|---|
int |
getInt()
获取枚举值
|
static DrivingRoutePlanOption.DrivingPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingRoutePlanOption.DrivingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingRoutePlanOption.DrivingPolicy ECAR_AVOID_JAM
public static final DrivingRoutePlanOption.DrivingPolicy ECAR_TIME_FIRST
public static final DrivingRoutePlanOption.DrivingPolicy ECAR_DIS_FIRST
public static final DrivingRoutePlanOption.DrivingPolicy ECAR_FEE_FIRST
public static DrivingRoutePlanOption.DrivingPolicy[] values()
for (DrivingRoutePlanOption.DrivingPolicy c : DrivingRoutePlanOption.DrivingPolicy.values()) System.out.println(c);
public static DrivingRoutePlanOption.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 nullpublic int getInt()