Serializable
, Comparable<Bisected.Half>
public static enum Bisected.Half extends Enum<Bisected.Half>
Enum Constant | Description |
---|---|
BOTTOM |
The bottom half of the block, normally with the lower y coordinate.
|
TOP |
The top half of the block, normally with the higher y coordinate.
|
Modifier and Type | Method | Description |
---|---|---|
static Bisected.Half |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Bisected.Half[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bisected.Half TOP
public static final Bisected.Half BOTTOM
public static Bisected.Half[] values()
for (Bisected.Half c : Bisected.Half.values()) System.out.println(c);
public static Bisected.Half 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 © 2020. All rights reserved.