public static enum Constants.ParkingType extends Enum<Constants.ParkingType>
| Enum Constant and Description |
|---|
CARPARK
car park in a building (DE: Parkhaus)
|
SURFACE
surface parking with no or little protection from the elements
|
UNDERGROUND
underground car park (in a building)
|
| Modifier and Type | Method and Description |
|---|---|
static Constants.ParkingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ParkingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ParkingType SURFACE
public static final Constants.ParkingType UNDERGROUND
public static final Constants.ParkingType CARPARK
public static Constants.ParkingType[] values()
for (Constants.ParkingType c : Constants.ParkingType.values()) System.out.println(c);
public static Constants.ParkingType 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 © 2018. All rights reserved.