Enum Class Smoothness

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

public enum Smoothness extends Enum<Smoothness>
This enum defines the road smoothness of an edge. If not tagged the value will be MISSING, which is the default. All unknown smoothness tags will get OTHER .
  • Enum Constant Details

    • MISSING

      public static final Smoothness MISSING
    • EXCELLENT

      public static final Smoothness EXCELLENT
    • GOOD

      public static final Smoothness GOOD
    • INTERMEDIATE

      public static final Smoothness INTERMEDIATE
    • BAD

      public static final Smoothness BAD
    • VERY_BAD

      public static final Smoothness VERY_BAD
    • HORRIBLE

      public static final Smoothness HORRIBLE
    • VERY_HORRIBLE

      public static final Smoothness VERY_HORRIBLE
    • IMPASSABLE

      public static final Smoothness IMPASSABLE
    • OTHER

      public static final Smoothness OTHER
  • Field Details

  • Method Details

    • values

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

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

      public static Smoothness find(String name)