public static enum Vehicle.EnumBodyStyle extends Enum<Vehicle.EnumBodyStyle>
| Enum Constant and Description |
|---|
VALUE_CONVERTIBLE |
VALUE_COUPE |
VALUE_CROSSOVER |
VALUE_HATCHBACK |
VALUE_MINIVAN |
VALUE_NONE |
VALUE_OTHER |
VALUE_SEDAN |
VALUE_SMALL_CAR |
VALUE_SUV |
VALUE_TRUCK |
VALUE_VAN |
VALUE_WAGON |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Vehicle.EnumBodyStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vehicle.EnumBodyStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vehicle.EnumBodyStyle VALUE_CONVERTIBLE
public static final Vehicle.EnumBodyStyle VALUE_COUPE
public static final Vehicle.EnumBodyStyle VALUE_CROSSOVER
public static final Vehicle.EnumBodyStyle VALUE_HATCHBACK
public static final Vehicle.EnumBodyStyle VALUE_MINIVAN
public static final Vehicle.EnumBodyStyle VALUE_NONE
public static final Vehicle.EnumBodyStyle VALUE_OTHER
public static final Vehicle.EnumBodyStyle VALUE_SEDAN
public static final Vehicle.EnumBodyStyle VALUE_SMALL_CAR
public static final Vehicle.EnumBodyStyle VALUE_SUV
public static final Vehicle.EnumBodyStyle VALUE_TRUCK
public static final Vehicle.EnumBodyStyle VALUE_VAN
public static final Vehicle.EnumBodyStyle VALUE_WAGON
public static Vehicle.EnumBodyStyle[] values()
for (Vehicle.EnumBodyStyle c : Vehicle.EnumBodyStyle.values()) System.out.println(c);
public static Vehicle.EnumBodyStyle 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.EnumBodyStyle>Copyright © 2020. All rights reserved.