public enum DispenserSound extends java.lang.Enum<DispenserSound>
| Modifier and Type | Method and Description |
|---|---|
static DispenserSound |
dispense() |
static DispenserSound |
fail() |
int |
getSoundType() |
static DispenserSound |
launch() |
static DispenserSound |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DispenserSound[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispenserSound DISPENSE
public static final DispenserSound FAIL
public static final DispenserSound LAUNCH
public static DispenserSound[] values()
for (DispenserSound c : DispenserSound.values()) System.out.println(c);
public static DispenserSound 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 int getSoundType()
public static DispenserSound dispense()
public static DispenserSound fail()
public static DispenserSound launch()