public static enum Chord.InversionType extends Enum<Chord.InversionType>
Enum Constant and Description |
---|
FIRST
First inversion.
|
NONE
No inversion.
|
SECOND
Second inversion.
|
Modifier and Type | Method and Description |
---|---|
static Chord.InversionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chord.InversionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Chord.InversionType NONE
public static final Chord.InversionType FIRST
public static final Chord.InversionType SECOND
public static Chord.InversionType[] values()
for (Chord.InversionType c : Chord.InversionType.values()) System.out.println(c);
public static Chord.InversionType 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 null