public enum BedStates extends java.lang.Enum<BedStates>
| Enum Constant and Description | 
|---|
DEEP_SLEEP
There is a state called DEEP_SLEEP defined. 
 | 
FREE
There is a state called FREE defined. 
 | 
LIGHT_SLEEP
There is a state called LIGHT_SLEEP defined. 
 | 
OCCUPIED
There is a state called OCCUPIED defined. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BedStates | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static BedStates[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final BedStates FREE
public static final BedStates OCCUPIED
public static final BedStates LIGHT_SLEEP
public static final BedStates DEEP_SLEEP
public static BedStates[] values()
for (BedStates c : BedStates.values()) System.out.println(c);
public static BedStates valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null