public static enum Constants.CompassDirection extends Enum<Constants.CompassDirection>
| Modifier and Type | Method and Description |
|---|---|
static Constants.CompassDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.CompassDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.CompassDirection N
public static final Constants.CompassDirection NE
public static final Constants.CompassDirection E
public static final Constants.CompassDirection SE
public static final Constants.CompassDirection S
public static final Constants.CompassDirection SW
public static final Constants.CompassDirection W
public static final Constants.CompassDirection NW
public static Constants.CompassDirection[] values()
for (Constants.CompassDirection c : Constants.CompassDirection.values()) System.out.println(c);
public static Constants.CompassDirection 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 nullCopyright © 2018. All rights reserved.