Enum Class FuelType

java.lang.Object
java.lang.Enum<FuelType>
com.here.sdk.transport.FuelType
All Implemented Interfaces:
Serializable, Comparable<FuelType>, Constable

public enum FuelType extends 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 Details

    • 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 Details

    • values

      public static FuelType[] 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

      public static FuelType valueOf(String name)
      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 name
      NullPointerException - if the argument is null