Enum RouteType

  • java.lang.Object
    • java.lang.Enum<RouteType>
      • com.here.sdk.core.RouteType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RouteType>

    public enum RouteType
    extends java.lang.Enum<RouteType>

    Indicates the level of significance of a route in a range from 1 to 6. A value of 1 stands for the most major route and 6 the most minor. The route type indicates that the road's name is actually a route number and in many countries is displayed in a shield symbol (e.g., Interstate and State routes in the U.S.). See https://developer.here.com/documentation/here-map-content-schema/dev_guide/topics_schema/streetname.routetype.html

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RouteType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RouteType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • TYPE_UNKNOWN

        public static final RouteType TYPE_UNKNOWN

        Unknown

      • LEVEL_1_ROAD

        public static final RouteType LEVEL_1_ROAD

        International / European road

      • LEVEL_2_ROAD

        public static final RouteType LEVEL_2_ROAD

        National road

      • LEVEL_3_ROAD

        public static final RouteType LEVEL_3_ROAD

        Primary road

      • LEVEL_4_ROAD

        public static final RouteType LEVEL_4_ROAD

        Secondary road

      • LEVEL_5_ROAD

        public static final RouteType LEVEL_5_ROAD

        Minor road

      • LEVEL_6_ROAD

        public static final RouteType LEVEL_6_ROAD

        Avenue

    • Method Detail

      • values

        public static RouteType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RouteType c : RouteType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RouteType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null