Enum GridSound.Type
- java.lang.Object
-
- java.lang.Enum<GridSound.Type>
-
- uk.ac.qmul.eecs.depic.daw.referencesound.GridSound.Type
-
- Enclosing class:
- GridSound
public static enum GridSound.Type extends java.lang.Enum<GridSound.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description NONE
PITCH
PITCH_MUL_REF
PITCH_ONE_REF
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
toString()
static GridSound.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GridSound.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final GridSound.Type NONE
-
PITCH
public static final GridSound.Type PITCH
-
PITCH_MUL_REF
public static final GridSound.Type PITCH_MUL_REF
-
PITCH_ONE_REF
public static final GridSound.Type PITCH_ONE_REF
-
-
Method Detail
-
values
public static GridSound.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GridSound.Type c : GridSound.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridSound.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<GridSound.Type>
-
-