public static enum MassTransitRoutePlanOption.TacticsIncity extends java.lang.Enum<MassTransitRoutePlanOption.TacticsIncity>
Enum Constant and Description |
---|
ETRANS_LEAST_TIME
时间短
|
ETRANS_LEAST_TRANSFER
少换乘
|
ETRANS_LEAST_WALK
少步行
|
ETRANS_NO_SUBWAY
不坐地铁
|
ETRANS_SUBWAY_FIRST
地铁优先
|
ETRANS_SUGGEST
推荐
|
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static MassTransitRoutePlanOption.TacticsIncity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MassTransitRoutePlanOption.TacticsIncity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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()