public static enum Vehicle.EnumFuelType extends Enum<Vehicle.EnumFuelType>
| Enum Constant and Description |
|---|
VALUE_DIESEL |
VALUE_ELECTRIC |
VALUE_FLEX |
VALUE_GASOLINE |
VALUE_HYBRID |
VALUE_NONE |
VALUE_OTHER |
VALUE_PETROL |
VALUE_PLUGIN_HYBRID |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Vehicle.EnumFuelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vehicle.EnumFuelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vehicle.EnumFuelType VALUE_DIESEL
public static final Vehicle.EnumFuelType VALUE_ELECTRIC
public static final Vehicle.EnumFuelType VALUE_FLEX
public static final Vehicle.EnumFuelType VALUE_GASOLINE
public static final Vehicle.EnumFuelType VALUE_HYBRID
public static final Vehicle.EnumFuelType VALUE_NONE
public static final Vehicle.EnumFuelType VALUE_OTHER
public static final Vehicle.EnumFuelType VALUE_PETROL
public static final Vehicle.EnumFuelType VALUE_PLUGIN_HYBRID
public static Vehicle.EnumFuelType[] values()
for (Vehicle.EnumFuelType c : Vehicle.EnumFuelType.values()) System.out.println(c);
public static Vehicle.EnumFuelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Vehicle.EnumFuelType>Copyright © 2020. All rights reserved.