Enum TollOptions.EmissionType
Package com.here.sdk.routing
Enum TollOptions.EmissionType
- java.lang.Object
-
- java.lang.Enum<TollOptions.EmissionType>
-
- com.here.sdk.routing.TollOptions.EmissionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TollOptions.EmissionType>
- Enclosing class:
- TollOptions
public static enum TollOptions.EmissionType extends java.lang.Enum<TollOptions.EmissionType>
Supported options of emission type
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TollOptions.EmissionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TollOptions.EmissionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EURO1
public static final TollOptions.EmissionType EURO1
toll emission type; euro1
-
EURO2
public static final TollOptions.EmissionType EURO2
toll emission type; euro2
-
EURO3
public static final TollOptions.EmissionType EURO3
toll emission type; euro3
-
EURO4
public static final TollOptions.EmissionType EURO4
toll emission type; euro4
-
EURO5
public static final TollOptions.EmissionType EURO5
toll emission type; euro5
-
EURO6
public static final TollOptions.EmissionType EURO6
toll emission type; euro6
-
EURO_EEV
public static final TollOptions.EmissionType EURO_EEV
toll emission type; euroEev
-
-
Method Detail
-
values
public static TollOptions.EmissionType[] 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.EmissionType c : TollOptions.EmissionType.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.EmissionType 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
-
-