public enum WeatherGridType extends Enum<WeatherGridType>
Modifier and Type | Method and Description |
---|---|
static WeatherGridType |
fromValue(String value) |
static WeatherGridType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherGridType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherGridType INVALID
public static final WeatherGridType DIRECTION
public static final WeatherGridType SPEED
public final String value
public static WeatherGridType[] values()
for (WeatherGridType c : WeatherGridType.values()) System.out.println(c);
public static WeatherGridType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static WeatherGridType fromValue(String value)
Copyright © 2022. All rights reserved.