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