public enum EElectionType extends Enum<EElectionType>
| Modifier and Type | Method and Description |
|---|---|
static EElectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EElectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EElectionType MAYORAL
public static final EElectionType ALDERMAN
public static EElectionType[] values()
for (EElectionType c : EElectionType.values()) System.out.println(c);
public static EElectionType 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 © 2011-2018 Sahits GmbH. All Rights Reserved.