public static enum CompassPoint.Ordinal extends java.lang.Enum<CompassPoint.Ordinal>
| Enum Constant and Description |
|---|
NE
Northeast.
|
NW
Northwest.
|
SE
Southeast.
|
SW
Southwest.
|
| Modifier and Type | Method and Description |
|---|---|
static CompassPoint.Ordinal |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompassPoint.Ordinal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompassPoint.Ordinal NE
public static final CompassPoint.Ordinal SE
public static final CompassPoint.Ordinal SW
public static final CompassPoint.Ordinal NW
public static CompassPoint.Ordinal[] values()
for (CompassPoint.Ordinal c : CompassPoint.Ordinal.values()) System.out.println(c);
public static CompassPoint.Ordinal 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 nullCopyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.