Package com.baidu.mapapi.search.route
Enum Class MassTransitRoutePlanOption.TacticsIncity
java.lang.Object
java.lang.Enum<MassTransitRoutePlanOption.TacticsIncity>
com.baidu.mapapi.search.route.MassTransitRoutePlanOption.TacticsIncity
- All Implemented Interfaces:
Serializable,Comparable<MassTransitRoutePlanOption.TacticsIncity>,Constable
- Enclosing class:
- MassTransitRoutePlanOption
public static enum MassTransitRoutePlanOption.TacticsIncity
extends Enum<MassTransitRoutePlanOption.TacticsIncity>
市内公交换乘策略
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription时间短少换乘少步行不坐地铁地铁优先推荐 -
Method Summary
-
Enum Constant Details
-
ETRANS_SUGGEST
推荐 -
ETRANS_LEAST_TRANSFER
少换乘 -
ETRANS_LEAST_WALK
少步行 -
ETRANS_NO_SUBWAY
不坐地铁 -
ETRANS_LEAST_TIME
时间短 -
ETRANS_SUBWAY_FIRST
地铁优先
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getInt
public int getInt()
-