public static enum MassTransitRoutePlanOption.TacticsIncity extends java.lang.Enum<MassTransitRoutePlanOption.TacticsIncity>
枚举常量和说明 |
---|
ETRANS_LEAST_TIME
时间短
|
ETRANS_LEAST_TRANSFER
少换乘
|
ETRANS_LEAST_WALK
少步行
|
ETRANS_NO_SUBWAY
不坐地铁
|
ETRANS_SUBWAY_FIRST
地铁优先
|
ETRANS_SUGGEST
推荐
|
限定符和类型 | 方法和说明 |
---|---|
int |
getInt() |
static MassTransitRoutePlanOption.TacticsIncity |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MassTransitRoutePlanOption.TacticsIncity[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_SUGGEST
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_LEAST_TRANSFER
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_LEAST_WALK
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_NO_SUBWAY
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_LEAST_TIME
public static final MassTransitRoutePlanOption.TacticsIncity ETRANS_SUBWAY_FIRST
public static MassTransitRoutePlanOption.TacticsIncity[] values()
for (MassTransitRoutePlanOption.TacticsIncity c : MassTransitRoutePlanOption.TacticsIncity.values()) System.out.println(c);
public static MassTransitRoutePlanOption.TacticsIncity valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getInt()