public enum WeatherGridSector extends Enum<WeatherGridSector>
Enum Constant and Description |
---|
EAST |
INVALID |
NORTH |
NORTHEAST |
NORTHWEST |
SOUTH |
SOUTHEAST |
SOUTHWEST |
WEST |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static WeatherGridSector |
fromValue(int value) |
static WeatherGridSector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WeatherGridSector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WeatherGridSector INVALID
public static final WeatherGridSector NORTH
public static final WeatherGridSector NORTHEAST
public static final WeatherGridSector EAST
public static final WeatherGridSector SOUTHEAST
public static final WeatherGridSector SOUTH
public static final WeatherGridSector SOUTHWEST
public static final WeatherGridSector WEST
public static final WeatherGridSector NORTHWEST
public static WeatherGridSector[] values()
for (WeatherGridSector c : WeatherGridSector.values()) System.out.println(c);
public static WeatherGridSector 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 WeatherGridSector fromValue(int value)
Copyright © 2022. All rights reserved.