public static enum DrivingParam.Policy extends java.lang.Enum<DrivingParam.Policy>
| Enum Constant and Description |
|---|
LEAST_TIME
[默认]参考实时路况,时间最短
|
PICKUP
网约车场景 – 接乘客
|
TRIP
网约车场景 – 送乘客
|
| Modifier and Type | Method and Description |
|---|---|
static DrivingParam.Policy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingParam.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingParam.Policy LEAST_TIME
public static final DrivingParam.Policy PICKUP
public static final DrivingParam.Policy TRIP
public static DrivingParam.Policy[] values()
for (DrivingParam.Policy c : DrivingParam.Policy.values()) System.out.println(c);
public static DrivingParam.Policy 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