public enum AntiFreezing extends Enum<AntiFreezing>
| Modifier and Type | Method and Description |
|---|---|
static AntiFreezing |
fromValue(byte val) |
byte |
getValue() |
static AntiFreezing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AntiFreezing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntiFreezing SHUT_DOWN
public static final AntiFreezing OPEN
public static AntiFreezing[] values()
for (AntiFreezing c : AntiFreezing.values()) System.out.println(c);
public static AntiFreezing 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 byte getValue()
public static AntiFreezing fromValue(byte val)
Copyright © 2018. All rights reserved.