public static enum TempSensor.MEASURE extends java.lang.Enum<TempSensor.MEASURE>
| Enum Constant and Description | 
|---|
CELSIUS  | 
FAHRENHEIT  | 
| Modifier and Type | Method and Description | 
|---|---|
static TempSensor.MEASURE | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static TempSensor.MEASURE[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TempSensor.MEASURE CELSIUS
public static final TempSensor.MEASURE FAHRENHEIT
public static TempSensor.MEASURE[] values()
for (TempSensor.MEASURE c : TempSensor.MEASURE.values()) System.out.println(c);
public static TempSensor.MEASURE 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