public static enum MassTransitRouteLine.TransitStep.StepVehicleInfoType extends java.lang.Enum<MassTransitRouteLine.TransitStep.StepVehicleInfoType>
Enum Constant and Description |
---|
ESTEP_BUS
公交
|
ESTEP_COACH
大巴
|
ESTEP_DRIVING
驾车
|
ESTEP_PLANE
飞机
|
ESTEP_TRAIN
火车
|
ESTEP_WALK
步行
|
Modifier and Type | Method and Description |
---|---|
int |
getInt() |
static MassTransitRouteLine.TransitStep.StepVehicleInfoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MassTransitRouteLine.TransitStep.StepVehicleInfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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()