public enum EKlang extends java.lang.Enum<EKlang>
ILautsprecher.spieleKlang(EKlang klang, int frequenz, int dauer).
Alle verfügbaren Klänge orientieren sich an Instrumenten.| Modifier and Type | Method and Description |
|---|---|
static EKlang |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EKlang[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EKlang FLOETE
public static final EKlang KLAVIER
public static final EKlang XYLOPHON
public static EKlang 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 static EKlang[] values()
for (EKlang c : EKlang.values()) System.out.println(c);