Enum RouteType
Package com.here.sdk.core
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEVEL_1_ROADInternational / European roadLEVEL_2_ROADNational roadLEVEL_3_ROADPrimary roadLEVEL_4_ROADSecondary roadLEVEL_5_ROADMinor roadLEVEL_6_ROADAvenueTYPE_UNKNOWNUnknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RouteTypevalueOf(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.
-
-
-
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 namejava.lang.NullPointerException- if the argument is null
-
-