public enum Country extends Enum<Country>
Modifier and Type | Method and Description |
---|---|
static EnumEncodedValue<Country> |
create() |
String |
toString() |
static Country |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Country[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Country DEFAULT
public static final Country DEU
public static final Country AUT
public static final String KEY
public static Country[] values()
for (Country c : Country.values()) System.out.println(c);
public static Country 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 static EnumEncodedValue<Country> create()
Copyright © 2012–2020. All rights reserved.