public enum GroupTypeValues extends Enum<GroupTypeValues>
Enum Constant and Description |
---|
AFFINITY |
DIVERSITY |
EXCLUSIVITY |
Modifier and Type | Method and Description |
---|---|
static boolean |
isGroupTypeValid(String groupType) |
static GroupTypeValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupTypeValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupTypeValues EXCLUSIVITY
public static final GroupTypeValues AFFINITY
public static final GroupTypeValues DIVERSITY
public static GroupTypeValues[] values()
for (GroupTypeValues c : GroupTypeValues.values()) System.out.println(c);
public static GroupTypeValues 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 boolean isGroupTypeValid(String groupType)
Copyright © 2017. All rights reserved.