Enum StreetAttributes
Package com.here.sdk.routing
Enum StreetAttributes
- java.lang.Object
-
- java.lang.Enum<StreetAttributes>
-
- com.here.sdk.routing.StreetAttributes
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StreetAttributes>
public enum StreetAttributes extends java.lang.Enum<StreetAttributes>
Types of street attributes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BRIDGEThe street goes over a bridge.BUILT_UP_AREAThe street is most likely in a built-up area.CONTROLLED_ACCESS_HIGHWAYThe street is either a controlled access or a limited access road or both.DIRT_ROADThe street is a dirt road.DIVIDED_ROADThe street is a divided road.MOTORWAYThe street is a motorway.PRIVATE_ROADThe street is a private road.RAMPThe street contains a ramp.RIGHT_DRIVING_SIDEThe driving on the street is done on the right side.ROUNDABOUTThe street contains a roundabout.TUNNELThe street goes through a tunnel.UNDER_CONSTRUCTIONThe street is under construction.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreetAttributesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StreetAttributes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RIGHT_DRIVING_SIDE
public static final StreetAttributes RIGHT_DRIVING_SIDE
The driving on the street is done on the right side.
-
DIRT_ROAD
public static final StreetAttributes DIRT_ROAD
The street is a dirt road.
-
TUNNEL
public static final StreetAttributes TUNNEL
The street goes through a tunnel.
-
BRIDGE
public static final StreetAttributes BRIDGE
The street goes over a bridge.
-
RAMP
public static final StreetAttributes RAMP
The street contains a ramp.
-
ROUNDABOUT
public static final StreetAttributes ROUNDABOUT
The street contains a roundabout.
-
UNDER_CONSTRUCTION
public static final StreetAttributes UNDER_CONSTRUCTION
The street is under construction.
-
DIVIDED_ROAD
public static final StreetAttributes DIVIDED_ROAD
The street is a divided road.
-
MOTORWAY
public static final StreetAttributes MOTORWAY
The street is a motorway.
-
PRIVATE_ROAD
public static final StreetAttributes PRIVATE_ROAD
The street is a private road.
-
BUILT_UP_AREA
public static final StreetAttributes BUILT_UP_AREA
The street is most likely in a built-up area.
-
CONTROLLED_ACCESS_HIGHWAY
public static final StreetAttributes CONTROLLED_ACCESS_HIGHWAY
The street is either a controlled access or a limited access road or both.
-
-
Method Detail
-
values
public static StreetAttributes[] 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 (StreetAttributes c : StreetAttributes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreetAttributes 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
-
-