public enum Pitched extends Enum<Pitched>
Java class for pitched.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="pitched">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="chimes"/>
<enumeration value="glockenspiel"/>
<enumeration value="mallet"/>
<enumeration value="marimba"/>
<enumeration value="tubular chimes"/>
<enumeration value="vibraphone"/>
<enumeration value="xylophone"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CHIMES |
GLOCKENSPIEL |
MALLET |
MARIMBA |
TUBULAR_CHIMES |
VIBRAPHONE |
XYLOPHONE |
| Modifier and Type | Method and Description |
|---|---|
static Pitched |
fromValue(String v) |
String |
value() |
static Pitched |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pitched[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pitched CHIMES
public static final Pitched GLOCKENSPIEL
public static final Pitched MALLET
public static final Pitched MARIMBA
public static final Pitched TUBULAR_CHIMES
public static final Pitched VIBRAPHONE
public static final Pitched XYLOPHONE
public static Pitched[] values()
for (Pitched c : Pitched.values()) System.out.println(c);
public static Pitched 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 String value()
Copyright © 2016 Audiveris Ltd. All rights reserved.