public enum HazmatTunnel extends Enum<HazmatTunnel>
A
https://wiki.openstreetmap.org/wiki/Key:hazmat#Tunnel_restrictions
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static HazmatTunnel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HazmatTunnel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HazmatTunnel A
public static final HazmatTunnel B
public static final HazmatTunnel C
public static final HazmatTunnel D
public static final HazmatTunnel E
public static final String KEY
public static HazmatTunnel[] values()
for (HazmatTunnel c : HazmatTunnel.values()) System.out.println(c);
public static HazmatTunnel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<HazmatTunnel>
Copyright © 2012–2020. All rights reserved.