Enum RoadFeatures
- Last UpdatedJul 23, 2025
- 2 minute read
- java.lang.Object
-
- java.lang.Enum<RoadFeatures>
-
- com.here.sdk.routing.RoadFeatures
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RoadFeatures>
public enum RoadFeatures extends java.lang.Enum<RoadFeatures>
Road features or states.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAR_SHUTTLE_TRAIN
This part of the route is for transit with a car shuttle train.CONTROLLED_ACCESS_HIGHWAY
This part of the route is a controlled-access highway, i.e.DIRT_ROAD
This part of the route has an un-paved surface.FERRY
This part of the route is for transit with a ferry.SEASONAL_CLOSURE
This part of the route is subject to seasonal closure.TOLL_ROAD
Access to this part of the route is restricted with a fee or toll.TUNNEL
This part of the route is a tunnel.U_TURNS
This part of the route has a u-turns.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoadFeatures
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RoadFeatures[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEASONAL_CLOSURE
public static final RoadFeatures SEASONAL_CLOSURE
This part of the route is subject to seasonal closure.
-
TOLL_ROAD
public static final RoadFeatures TOLL_ROAD
Access to this part of the route is restricted with a fee or toll.
-
CONTROLLED_ACCESS_HIGHWAY
public static final RoadFeatures CONTROLLED_ACCESS_HIGHWAY
This part of the route is a controlled-access highway, i.e. high-speed and highly controlled.
-
FERRY
public static final RoadFeatures FERRY
This part of the route is for transit with a ferry.
-
CAR_SHUTTLE_TRAIN
public static final RoadFeatures CAR_SHUTTLE_TRAIN
This part of the route is for transit with a car shuttle train.
-
TUNNEL
public static final RoadFeatures TUNNEL
This part of the route is a tunnel.
-
DIRT_ROAD
public static final RoadFeatures DIRT_ROAD
This part of the route has an un-paved surface.
-
U_TURNS
public static final RoadFeatures U_TURNS
This part of the route has a u-turns. Note that this feature is valid only for cars, trucks, taxis and buses.
-
-
Method Detail
-
values
public static RoadFeatures[] 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 (RoadFeatures c : RoadFeatures.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoadFeatures 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
-
-