public static enum MassTransitRoutePlanOption.TacticsIntercity extends java.lang.Enum<MassTransitRoutePlanOption.TacticsIntercity>
Enum Constant and Description |
---|
ETRANS_LEAST_PRICE
价格低
|
ETRANS_LEAST_TIME
时间短
|
ETRANS_START_EARLY
出发早
|
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static MassTransitRoutePlanOption.TacticsIntercity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MassTransitRoutePlanOption.TacticsIntercity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MassTransitRoutePlanOption.TacticsIntercity ETRANS_LEAST_TIME
public static final MassTransitRoutePlanOption.TacticsIntercity ETRANS_START_EARLY
public static final MassTransitRoutePlanOption.TacticsIntercity ETRANS_LEAST_PRICE
public static MassTransitRoutePlanOption.TacticsIntercity[] values()
for (MassTransitRoutePlanOption.TacticsIntercity c : MassTransitRoutePlanOption.TacticsIntercity.values()) System.out.println(c);
public static MassTransitRoutePlanOption.TacticsIntercity 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()