public static enum DrivingParam.RoadType extends java.lang.Enum<DrivingParam.RoadType>
Enum Constant and Description |
---|
ABOVE_BRIDGE
1 在桥上
|
BELOW_BRIDGE
2 在桥下
|
DEF
0 [默认]不考虑起点道路类型
|
ON_MAIN_ROAD
3 在主路
|
ON_MAIN_ROAD_BELOW_BRIDGE
6 桥下主路
|
ON_SIDE_ROAD
4 在辅路
|
ON_SIDE_ROAD_BELOW_BRIDGE
7 桥下辅路
|
OPPOSITE_SIDE
5 在对面
|
Modifier and Type | Method and Description |
---|---|
static DrivingParam.RoadType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingParam.RoadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingParam.RoadType DEF
public static final DrivingParam.RoadType ABOVE_BRIDGE
public static final DrivingParam.RoadType BELOW_BRIDGE
public static final DrivingParam.RoadType ON_MAIN_ROAD
public static final DrivingParam.RoadType ON_SIDE_ROAD
public static final DrivingParam.RoadType OPPOSITE_SIDE
public static final DrivingParam.RoadType ON_MAIN_ROAD_BELOW_BRIDGE
public static final DrivingParam.RoadType ON_SIDE_ROAD_BELOW_BRIDGE
public static DrivingParam.RoadType[] values()
for (DrivingParam.RoadType c : DrivingParam.RoadType.values()) System.out.println(c);
public static DrivingParam.RoadType 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 null