public enum Location extends Enum<Location>
| Modifier and Type | Method and Description |
|---|---|
static Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location n
public static final Location ne
public static final Location e
public static final Location se
public static final Location s
public static final Location sw
public static final Location w
public static final Location nw
public static Location[] values()
for (Location c : Location.values()) System.out.println(c);
public static Location 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 © 2025. All rights reserved.