public enum BorderSide extends java.lang.Enum<BorderSide>
| Modifier and Type | Method and Description |
|---|---|
abstract BorderSide |
mirror() |
abstract int[] |
move(int[] coordinates) |
static BorderSide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderSide top
public static final BorderSide bottom
public static final BorderSide left
public static final BorderSide right
public static final BorderSide diagonal
public static BorderSide[] values()
for (BorderSide c : BorderSide.values()) System.out.println(c);
public static BorderSide 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 abstract int[] move(int[] coordinates)
public abstract BorderSide mirror()