public enum FunctionalRoadClass extends java.lang.Enum<FunctionalRoadClass>
Enum Constant and Description |
---|
INVALID |
LOCAL_CONNECTING_ROAD |
LOCAL_ROAD |
LOCAL_ROAD_OF_HIGH_IMPORTANCE |
MAJOR_ROAD |
MOTORWAY |
OTHER_MAJOR_ROAD |
SECONDARY_ROAD |
Modifier and Type | Method and Description |
---|---|
static FunctionalRoadClass |
fromInt(int value) |
int |
getValue() |
static FunctionalRoadClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FunctionalRoadClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionalRoadClass INVALID
public static final FunctionalRoadClass MOTORWAY
public static final FunctionalRoadClass MAJOR_ROAD
public static final FunctionalRoadClass OTHER_MAJOR_ROAD
public static final FunctionalRoadClass SECONDARY_ROAD
public static final FunctionalRoadClass LOCAL_CONNECTING_ROAD
public static final FunctionalRoadClass LOCAL_ROAD_OF_HIGH_IMPORTANCE
public static final FunctionalRoadClass LOCAL_ROAD
public static FunctionalRoadClass[] values()
for (FunctionalRoadClass c : FunctionalRoadClass.values()) System.out.println(c);
public static FunctionalRoadClass 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 getValue()
public static FunctionalRoadClass fromInt(int value)