public static enum RouteElement.Type extends java.lang.Enum<RouteElement.Type>
RouteElement
.Enum Constant and Description |
---|
INVALID
Type of
RouteElement is invalid. |
ROAD
Type of
RouteElement is road. |
Modifier and Type | Method and Description |
---|---|
static RouteElement.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteElement.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteElement.Type ROAD
RouteElement
is road.public static final RouteElement.Type INVALID
RouteElement
is invalid.public static RouteElement.Type[] values()
for (RouteElement.Type c : RouteElement.Type.values()) System.out.println(c);
public static RouteElement.Type 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