public enum Neighbor extends Enum<Neighbor>
Enum Constant and Description |
---|
LEFT |
LOWER |
LOWER_LEFT |
LOWER_RIGHT |
RIGHT |
UPPER |
UPPER_LEFT |
UPPER_RIGHT |
Modifier and Type | Method and Description |
---|---|
static Neighbor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Neighbor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Neighbor UPPER
public static final Neighbor UPPER_LEFT
public static final Neighbor UPPER_RIGHT
public static final Neighbor LOWER
public static final Neighbor LOWER_LEFT
public static final Neighbor LOWER_RIGHT
public static final Neighbor LEFT
public static final Neighbor RIGHT
public static Neighbor[] values()
for (Neighbor c : Neighbor.values()) System.out.println(c);
public static Neighbor 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 © 1996–2019 Geotools. All rights reserved.