Enum FuelType
Enum FuelType
- java.lang.Object
-
- java.lang.Enum<FuelType>
-
- com.here.sdk.transport.FuelType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FuelType>
public enum FuelType extends java.lang.Enum<FuelType>
Defines possible fuel types provided by a fuel station.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIO_DIESELBio-Diesel fuel type.CNGCompressed natural gas fuel type.DIESELDiesel fuel type.DIESEL_WITH_ADDITIVESDiesel with additives fuel type.E1010% Ethanol and 90% Gasoline fuel type.E2020% Ethanol and 80% Gasoline fuel type.E8585% Ethanol and 15% Gasoline fuel type.ETHANOLEthanol fuel type.ETHANOL_WITH_ADDITIVESEthanol with additives fuel type.GASOHOL_91Gasohol 91 fuel type.GASOHOL_95Gasohol 95 fuel type.GASOLINEGasoline fuel type.HVOHydrotreated vegetable oil fuel type.HYDROGENHydrogen fuel type.LNGLiquefied natural gas fuel type.LPGLiquified petroleum gas fuel type.MIDGRADEMidgrade fuel type.OCTANE_100Octane 100 fuel type.OCTANE_87Octane 87 fuel type.OCTANE_89Octane 89 fuel type.OCTANE_90Octane 90 fuel type.OCTANE_91Octane 91 fuel type.OCTANE_92Octane 92 fuel type.OCTANE_93Octane 93 fuel type.OCTANE_95Octane 95 fuel type.OCTANE_98Octane 98 fuel type.PREMIUMPremium fuel type.PREMIUM_WITH_ADDITIVESPremium with additives fuel type.REGULARRegular fuel type.REGULAR_WITH_ADDITIVESRegular with additives fuel type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FuelTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FuelType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIESEL
public static final FuelType DIESEL
Diesel fuel type.
-
LPG
public static final FuelType LPG
Liquified petroleum gas fuel type.
-
BIO_DIESEL
public static final FuelType BIO_DIESEL
Bio-Diesel fuel type.
-
CNG
public static final FuelType CNG
Compressed natural gas fuel type.
-
DIESEL_WITH_ADDITIVES
public static final FuelType DIESEL_WITH_ADDITIVES
Diesel with additives fuel type.
-
E10
public static final FuelType E10
10% Ethanol and 90% Gasoline fuel type.
-
E20
public static final FuelType E20
20% Ethanol and 80% Gasoline fuel type.
-
E85
public static final FuelType E85
85% Ethanol and 15% Gasoline fuel type.
-
ETHANOL
public static final FuelType ETHANOL
Ethanol fuel type.
-
ETHANOL_WITH_ADDITIVES
public static final FuelType ETHANOL_WITH_ADDITIVES
Ethanol with additives fuel type.
-
GASOLINE
public static final FuelType GASOLINE
Gasoline fuel type.
-
GASOHOL_91
public static final FuelType GASOHOL_91
Gasohol 91 fuel type.
-
GASOHOL_95
public static final FuelType GASOHOL_95
Gasohol 95 fuel type.
-
HVO
public static final FuelType HVO
Hydrotreated vegetable oil fuel type.
-
HYDROGEN
public static final FuelType HYDROGEN
Hydrogen fuel type.
-
LNG
public static final FuelType LNG
Liquefied natural gas fuel type.
-
MIDGRADE
public static final FuelType MIDGRADE
Midgrade fuel type.
-
PREMIUM
public static final FuelType PREMIUM
Premium fuel type.
-
PREMIUM_WITH_ADDITIVES
public static final FuelType PREMIUM_WITH_ADDITIVES
Premium with additives fuel type.
-
REGULAR
public static final FuelType REGULAR
Regular fuel type.
-
REGULAR_WITH_ADDITIVES
public static final FuelType REGULAR_WITH_ADDITIVES
Regular with additives fuel type.
-
OCTANE_87
public static final FuelType OCTANE_87
Octane 87 fuel type.
-
OCTANE_89
public static final FuelType OCTANE_89
Octane 89 fuel type.
-
OCTANE_90
public static final FuelType OCTANE_90
Octane 90 fuel type.
-
OCTANE_91
public static final FuelType OCTANE_91
Octane 91 fuel type.
-
OCTANE_92
public static final FuelType OCTANE_92
Octane 92 fuel type.
-
OCTANE_93
public static final FuelType OCTANE_93
Octane 93 fuel type.
-
OCTANE_95
public static final FuelType OCTANE_95
Octane 95 fuel type.
-
OCTANE_98
public static final FuelType OCTANE_98
Octane 98 fuel type.
-
OCTANE_100
public static final FuelType OCTANE_100
Octane 100 fuel type.
-
-
Method Detail
-
values
public static FuelType[] 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 (FuelType c : FuelType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FuelType 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
-
-