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