public enum DirectionType extends java.lang.Enum<DirectionType>
方向枚举类。
该常量用在行驶导引子项中。
限定符和类型 | 方法和说明 |
---|---|
static DirectionType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DirectionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final DirectionType EAST
东。
public static final DirectionType NONE
无方向。
public static final DirectionType NORTH
北。
public static final DirectionType SOUTH
南。
public static final DirectionType WEST
西。
public static DirectionType[] values()
for (DirectionType c : DirectionType.values()) System.out.println(c);
public static DirectionType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。