public static enum Lever.LeverPos extends Enum<Lever.LeverPos>
| Modifier and Type | Method and Description |
|---|---|
static Lever.LeverPos |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lever.LeverPos[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lever.LeverPos SIDE
public static final Lever.LeverPos TOP
public static final Lever.LeverPos BOTTOM
public static Lever.LeverPos[] values()
for (Lever.LeverPos c : Lever.LeverPos.values()) System.out.println(c);
public static Lever.LeverPos 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.