public static enum Bed.Part extends Enum<Bed.Part>
| Modifier and Type | Method and Description |
|---|---|
static Bed.Part |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bed.Part[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Bed.Part[] values()
for (Bed.Part c : Bed.Part.values()) System.out.println(c);
public static Bed.Part 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 © 2017–2018 NukkitX. All rights reserved.