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