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