net.charlesames.music.musicxml.attribute
Enum StartStopSingle
java.lang.Object
java.lang.Enum<StartStopSingle>
net.charlesames.music.musicxml.attribute.StartStopSingle
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<StartStopSingle>
public enum StartStopSingle
- extends java.lang.Enum<StartStopSingle>
Selection options for MusicXML StartStopSingle attributes.
- Author:
- Charles Ames
|
Method Summary |
static StartStopSingle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StartStopSingle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
start
public static final StartStopSingle start
stop
public static final StartStopSingle stop
single
public static final StartStopSingle single
values
public static StartStopSingle[] 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 (StartStopSingle c : StartStopSingle.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StartStopSingle 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 name
java.lang.NullPointerException - if the argument is null