public enum MS_Corona extends Enum<MS_Corona>
| Enum Constant and Description |
|---|
MS_AcceptAnyCorona
The value of this constant is 2
|
MS_CoronaOff
The value of this constant is 1
|
MS_CoronaOn
The value of this constant is 0
|
| Modifier and Type | Method and Description |
|---|---|
static MS_Corona |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MS_Corona[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MS_Corona MS_CoronaOn
The value of this constant is 0
public static final MS_Corona MS_CoronaOff
The value of this constant is 1
public static final MS_Corona MS_AcceptAnyCorona
The value of this constant is 2
public static MS_Corona[] values()
for (MS_Corona c : MS_Corona.values()) System.out.println(c);
public static MS_Corona 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 nullCopyright © 2017. All rights reserved.