Package com.graphhopper.routing.ev
Enum Class HazmatTunnel
- All Implemented Interfaces:
Serializable
,Comparable<HazmatTunnel>
,Constable
Defines the degree of restriction for the transport of hazardous goods through tunnels.
If not tagged it will be
If not tagged it will be
A
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumEncodedValue
<HazmatTunnel> create()
static HazmatTunnel
Returns the enum constant of this class with the specified name.static HazmatTunnel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
A
driving with any dangerous goods allowed -
B
no goods with very large explosion range -
C
no goods with large explosion or poisoning range -
D
no goods which threaten a large explosion, poisoning or fire -
E
forbids all dangerous goods except: UN 2919,3291, 3331, 3359, 3373
-
-
Field Details
-
KEY
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
create
-