public static enum MassTransitRouteLine.TransitStep.StepVehicleInfoType extends java.lang.Enum<MassTransitRouteLine.TransitStep.StepVehicleInfoType>
枚举常量和说明 |
---|
ESTEP_BUS
公交
|
ESTEP_COACH
大巴
|
ESTEP_DRIVING
驾车
|
ESTEP_PLANE
飞机
|
ESTEP_TRAIN
火车
|
ESTEP_WALK
步行
|
限定符和类型 | 方法和说明 |
---|---|
int |
getInt() |
static MassTransitRouteLine.TransitStep.StepVehicleInfoType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static MassTransitRouteLine.TransitStep.StepVehicleInfoType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_TRAIN
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_PLANE
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_BUS
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_DRIVING
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_WALK
public static final MassTransitRouteLine.TransitStep.StepVehicleInfoType ESTEP_COACH
public static MassTransitRouteLine.TransitStep.StepVehicleInfoType[] values()
for (MassTransitRouteLine.TransitStep.StepVehicleInfoType c : MassTransitRouteLine.TransitStep.StepVehicleInfoType.values()) System.out.println(c);
public static MassTransitRouteLine.TransitStep.StepVehicleInfoType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getInt()