public enum AreaGeografica extends java.lang.Enum<AreaGeografica>
Modifier and Type | Method and Description |
---|---|
static AreaGeografica |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AreaGeografica[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AreaGeografica NORD
public static final AreaGeografica CENTRO
public static final AreaGeografica SUD
public static final AreaGeografica ISOLE
public static AreaGeografica[] values()
for (AreaGeografica c : AreaGeografica.values()) System.out.println(c);
public static AreaGeografica valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null