public enum ParkingSpotType extends Enum<ParkingSpotType>
| Enum Constant and Description |
|---|
CHARGING |
DISABLED |
FIRE_RESCUE_PATH |
NO_PARKING |
NO_STANDING |
NORMAL |
RESIDENTIAL |
WOMAN |
| Modifier and Type | Method and Description |
|---|---|
static ParkingSpotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParkingSpotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParkingSpotType NORMAL
public static final ParkingSpotType RESIDENTIAL
public static final ParkingSpotType DISABLED
public static final ParkingSpotType CHARGING
public static final ParkingSpotType WOMAN
public static final ParkingSpotType FIRE_RESCUE_PATH
public static final ParkingSpotType NO_STANDING
public static final ParkingSpotType NO_PARKING
public static ParkingSpotType[] values()
for (ParkingSpotType c : ParkingSpotType.values()) System.out.println(c);
public static ParkingSpotType 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 nullCopyright © 2019. All rights reserved.