public enum CityType extends Enum<CityType>
| Enum Constant and Description |
|---|
BRUSSELS |
DORTMUND |
GDANSK |
GRUENBERG |
MINDEN |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static CityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CityType BRUSSELS
public static final CityType DORTMUND
public static final CityType GDANSK
public static final CityType MINDEN
public static final CityType GRUENBERG
public static final CityType UNSPECIFIED
public static CityType[] values()
for (CityType c : CityType.values()) System.out.println(c);
public static CityType 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 © 2010–2020 T.I.V. Consulting GmbH. All rights reserved.