public static enum CountingMethodJS.SwitchMnemonic extends Enum<CountingMethodJS.SwitchMnemonic>
Enum Constant and Description |
---|
nul
Designating a null
count.
|
q
Designating a quantitive summation count.
|
v
Designating a vote
count.
|
Modifier and Type | Method and Description |
---|---|
String |
fullName()
Returns the full name of the counting method.
|
static CountingMethodJS.SwitchMnemonic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CountingMethodJS.SwitchMnemonic |
valueOfFullName(String fullName)
Returns the switch mnemonic with the specified full name.
|
static CountingMethodJS.SwitchMnemonic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CountingMethodJS.SwitchMnemonic nul
public static final CountingMethodJS.SwitchMnemonic q
public static final CountingMethodJS.SwitchMnemonic v
public static CountingMethodJS.SwitchMnemonic[] values()
for (CountingMethodJS.SwitchMnemonic c : CountingMethodJS.SwitchMnemonic.values()) System.out.println(c);
public static CountingMethodJS.SwitchMnemonic 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 CountingMethodJS.SwitchMnemonic valueOfFullName(String fullName) throws CountingMethodJS.NoSuchMethod
CountingMethodJS.NoSuchMethod
- if no switch mnemonic has the specified full name.