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