public enum ColdState extends Enum<ColdState>
| Enum Constant and Description |
|---|
BOTH_OFF |
BOTH_ON |
ONE_ON |
TWO_ON |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ColdState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColdState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColdState UNKNOWN
public static final ColdState BOTH_OFF
public static final ColdState ONE_ON
public static final ColdState TWO_ON
public static final ColdState BOTH_ON
public static ColdState[] values()
for (ColdState c : ColdState.values()) System.out.println(c);
public static ColdState 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 © 2023 LSST. All rights reserved.