public enum CommonGroups extends Enum<CommonGroups> implements WithProbability
Modifier and Type | Method and Description |
---|---|
double |
getProbability() |
String |
toString() |
static CommonGroups |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommonGroups[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommonGroups CONTROL
public static final CommonGroups TEST
public static CommonGroups[] values()
for (CommonGroups c : CommonGroups.values()) System.out.println(c);
public static CommonGroups 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 double getProbability()
getProbability
in interface WithProbability
public String toString()
toString
in class Enum<CommonGroups>