Enum Class RoadCategory

java.lang.Object
java.lang.Enum<RoadCategory>
com.mapfactor.sdk.routing.RoadCategory
All Implemented Interfaces:
Serializable, Comparable<RoadCategory>, Constable

public enum RoadCategory extends Enum<RoadCategory>
Road categories
Since:
1.0
  • Enum Constant Details

    • Motorway

      public static final RoadCategory Motorway
    • MajorRoad

      public static final RoadCategory MajorRoad
    • OtherMajorRoad

      public static final RoadCategory OtherMajorRoad
    • SecondaryRoad

      public static final RoadCategory SecondaryRoad
    • LocalConnectingRoad

      public static final RoadCategory LocalConnectingRoad
    • LocalRoadOfHighImportance

      public static final RoadCategory LocalRoadOfHighImportance
    • LocalRoad

      public static final RoadCategory LocalRoad
    • LocalRoadOfMinorImportance

      public static final RoadCategory LocalRoadOfMinorImportance
    • BoatFerry

      public static final RoadCategory BoatFerry
    • TrainFerry

      public static final RoadCategory TrainFerry
    • OtherRoad

      public static final RoadCategory OtherRoad
  • Method Details

    • values

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