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