Enum TollOptions.VehicleCategory
Package com.here.sdk.routing
Enum TollOptions.VehicleCategory
- java.lang.Object
-
- java.lang.Enum<TollOptions.VehicleCategory>
-
- com.here.sdk.routing.TollOptions.VehicleCategory
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TollOptions.VehicleCategory>
- Enclosing class:
- TollOptions
public static enum TollOptions.VehicleCategory extends java.lang.Enum<TollOptions.VehicleCategory>
Supported options of vehicle category for toll calculation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MINIBUSCommercial buses with a seating capacity of 16-25 passengers or small bus that is used to transport a maximum of 15 passengers.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TollOptions.VehicleCategoryvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TollOptions.VehicleCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINIBUS
public static final TollOptions.VehicleCategory MINIBUS
Commercial buses with a seating capacity of 16-25 passengers or small bus that is used to transport a maximum of 15 passengers.
-
-
Method Detail
-
values
public static TollOptions.VehicleCategory[] 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 (TollOptions.VehicleCategory c : TollOptions.VehicleCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TollOptions.VehicleCategory 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
-
-