public enum SemiPitched extends Enum<SemiPitched>
Java class for semi-pitched.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="semi-pitched">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="high"/>
<enumeration value="medium-high"/>
<enumeration value="medium"/>
<enumeration value="medium-low"/>
<enumeration value="low"/>
<enumeration value="very-low"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HIGH |
LOW |
MEDIUM |
MEDIUM_HIGH |
MEDIUM_LOW |
VERY_LOW |
| Modifier and Type | Method and Description |
|---|---|
static SemiPitched |
fromValue(String v) |
String |
value() |
static SemiPitched |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SemiPitched[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SemiPitched HIGH
public static final SemiPitched MEDIUM_HIGH
public static final SemiPitched MEDIUM
public static final SemiPitched MEDIUM_LOW
public static final SemiPitched LOW
public static final SemiPitched VERY_LOW
public static SemiPitched[] values()
for (SemiPitched c : SemiPitched.values()) System.out.println(c);
public static SemiPitched 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()
public static SemiPitched fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.