Enum Class Crossing

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

public enum Crossing extends Enum<Crossing>
  • Enum Constant Details

    • MISSING

      public static final Crossing MISSING
    • RAILWAY_BARRIER

      public static final Crossing RAILWAY_BARRIER
    • RAILWAY

      public static final Crossing RAILWAY
    • TRAFFIC_SIGNALS

      public static final Crossing TRAFFIC_SIGNALS
    • UNCONTROLLED

      public static final Crossing UNCONTROLLED
    • MARKED

      public static final Crossing MARKED
    • UNMARKED

      public static final Crossing UNMARKED
    • NO

      public static final Crossing NO
  • Field Details

  • Method Details

    • values

      public static Crossing[] 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 Crossing 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<Crossing> create()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Crossing>
    • find

      public static Crossing find(String name)