public static enum ForestScoreOptions.VOTE extends java.lang.Enum<ForestScoreOptions.VOTE> implements CASActionOptions.EnumValue
| Modifier and Type | Method and Description |
|---|---|
static ForestScoreOptions.VOTE |
getByValue(java.lang.String value) |
java.lang.String |
getValue() |
static ForestScoreOptions.VOTE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ForestScoreOptions.VOTE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForestScoreOptions.VOTE MAJORITY
public static final ForestScoreOptions.VOTE PROB
public static ForestScoreOptions.VOTE[] values()
for (ForestScoreOptions.VOTE c : ForestScoreOptions.VOTE.values()) System.out.println(c);
public static ForestScoreOptions.VOTE 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 nullpublic java.lang.String getValue()
getValue in interface CASActionOptions.EnumValuepublic static ForestScoreOptions.VOTE getByValue(java.lang.String value)