Enum Constant and Description |
---|
East |
None |
North |
NorthEast |
NorthWest |
South |
SouthEast |
SouthWest |
West |
Modifier and Type | Method and Description |
---|---|
static Windrose |
fromName(java.lang.String val) |
static Windrose |
fromValue(int val) |
int |
getValue() |
static Windrose |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Windrose[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Windrose East
public static final Windrose NorthEast
public static final Windrose North
public static final Windrose NorthWest
public static final Windrose West
public static final Windrose SouthWest
public static final Windrose South
public static final Windrose SouthEast
public static final Windrose None
public static Windrose[] values()
for (Windrose c : Windrose.values()) System.out.println(c);
public static Windrose 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 getValue()
public static Windrose fromValue(int val)
public static Windrose fromName(java.lang.String val)