Enum Class HazmatTunnel

java.lang.Object
java.lang.Enum<HazmatTunnel>
com.graphhopper.routing.ev.HazmatTunnel
All Implemented Interfaces:
Serializable, Comparable<HazmatTunnel>, Constable

public enum HazmatTunnel extends Enum<HazmatTunnel>
Defines the degree of restriction for the transport of hazardous goods through tunnels.
If not tagged it will be A
See Also:
  • Enum Constant Details

    • A

      public static final HazmatTunnel A
      driving with any dangerous goods allowed
    • B

      public static final HazmatTunnel B
      no goods with very large explosion range
    • C

      public static final HazmatTunnel C
      no goods with large explosion or poisoning range
    • D

      public static final HazmatTunnel D
      no goods which threaten a large explosion, poisoning or fire
    • E

      public static final HazmatTunnel E
      forbids all dangerous goods except: UN 2919,3291, 3331, 3359, 3373
  • Field Details

  • Method Details

    • values

      public static HazmatTunnel[] 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

      public static HazmatTunnel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • create

      public static EnumEncodedValue<HazmatTunnel> create()