ch.qos.cal10n.smoke
public enum Countries extends Enum<Countries>
Modifier and Type | Method and Description |
---|---|
static Countries |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Countries[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Countries CH
public static final Countries CN
public static final Countries FR
public static final Countries UK
public static Countries[] values()
for (Countries c : Countries.values()) System.out.println(c);
public static Countries 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 © 2009-2014 QOS.ch. All Rights Reserved.