public enum SectionType extends java.lang.Enum<SectionType>
Enum Constant and Description |
---|
CAR_TRAIN |
COUNTRY |
FERRY |
MOTORWAY |
PEDESTRIAN |
TOLL_ROAD |
TOLL_VIGNETTE |
TRAFFIC |
TRAVEL_MODE |
TUNNEL |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static SectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SectionType UNDEFINED
public static final SectionType CAR_TRAIN
public static final SectionType COUNTRY
public static final SectionType FERRY
public static final SectionType MOTORWAY
public static final SectionType PEDESTRIAN
public static final SectionType TOLL_ROAD
public static final SectionType TOLL_VIGNETTE
public static final SectionType TRAFFIC
public static final SectionType TRAVEL_MODE
public static final SectionType TUNNEL
public static SectionType[] values()
for (SectionType c : SectionType.values()) System.out.println(c);
public static SectionType 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 java.lang.String toString()
toString
in class java.lang.Enum<SectionType>