TruckRoadType (API Reference)
Package com.here.sdk.transport
Enum Class TruckRoadType
- All Implemented Interfaces:
Serializable,Comparable<TruckRoadType>,Constable
Specifies Truck road type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA2 class truck road type.A4 class truck road type.B2 class truck road type.B4 class truck road type.BK1 class truck road type.BK2 class truck road type.BK3 class truck road type.BK4 class truck road type.C class truck road type.D class truck road type.ET2 class truck road type.ET4 class truck road type. -
Method Summary
Modifier and TypeMethodDescriptionstatic TruckRoadTypeReturns the enum constant of this class with the specified name.static TruckRoadType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ET4
ET4 class truck road type.
-
ET2
ET2 class truck road type.
-
A4
A4 class truck road type.
-
A2
A2 class truck road type.
-
B4
B4 class truck road type.
-
B2
B2 class truck road type.
-
C
C class truck road type.
-
D
D class truck road type.
-
BK1
BK1 class truck road type.
-
BK2
BK2 class truck road type.
-
BK3
BK3 class truck road type.
-
BK4
BK4 class truck road type.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-