Enum Constant and Description |
---|
HIGH |
HUGE |
LOW |
MIDHIGH |
MIDLOW |
VERYHIGH |
VERYLOW |
Modifier and Type | Method and Description |
---|---|
double |
getValue() |
static Dominance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dominance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dominance VERYLOW
public static final Dominance LOW
public static final Dominance MIDLOW
public static final Dominance MIDHIGH
public static final Dominance HIGH
public static final Dominance VERYHIGH
public static final Dominance HUGE
public static Dominance[] values()
for (Dominance c : Dominance.values()) System.out.println(c);
public static Dominance 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 double getValue()