public static enum GroupInfo.ElectionType extends Enum<GroupInfo.ElectionType>
| Enum Constant and Description |
|---|
COMPARE_GROUPMEMBERS
Election by comparing group members
|
NONE
Election type none
|
| Modifier and Type | Method and Description |
|---|---|
static GroupInfo.ElectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupInfo.ElectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupInfo.ElectionType NONE
public static final GroupInfo.ElectionType COMPARE_GROUPMEMBERS
public static GroupInfo.ElectionType[] values()
for (GroupInfo.ElectionType c : GroupInfo.ElectionType.values()) System.out.println(c);
public static GroupInfo.ElectionType 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 © 2014. All Rights Reserved.