public enum UnitsTemperature extends java.lang.Enum<UnitsTemperature> implements java.io.Serializable
Enum Constant and Description |
---|
CELSIUS |
FAHRENHEIT |
KELVIN |
RANKINE |
Modifier and Type | Method and Description |
---|---|
static UnitsTemperature |
__read(IceInternal.BasicStream __is) |
void |
__write(IceInternal.BasicStream __os) |
static void |
__write(IceInternal.BasicStream __os,
UnitsTemperature __v) |
int |
value() |
static UnitsTemperature |
valueOf(int __v) |
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 int value()
public static UnitsTemperature valueOf(int __v)
public void __write(IceInternal.BasicStream __os)
public static void __write(IceInternal.BasicStream __os, UnitsTemperature __v)
public static UnitsTemperature __read(IceInternal.BasicStream __is)