public enum FreqSwitchingMode extends Enum<FreqSwitchingMode> implements IEnumType
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get the enum code value
|
String |
toString()
Return the name of the enum
|
static FreqSwitchingMode |
valueOf(int code) |
static FreqSwitchingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FreqSwitchingMode |
valueOfName(String name) |
static FreqSwitchingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FreqSwitchingMode Stop
public static final FreqSwitchingMode NonStop
public static FreqSwitchingMode[] values()
for (FreqSwitchingMode c : FreqSwitchingMode.values()) System.out.println(c);
public static FreqSwitchingMode 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 int getCode()
IEnumTypepublic String toString()
IEnumTypetoString in interface IEnumTypetoString in class Enum<FreqSwitchingMode>public static FreqSwitchingMode valueOf(int code)
public static FreqSwitchingMode valueOfName(String name)