jp.crestmuse.cmx.inference
列挙型 MusicRepresentation.Type
java.lang.Object
java.lang.Enum<MusicRepresentation.Type>
jp.crestmuse.cmx.inference.MusicRepresentation.Type
- すべての実装されたインタフェース:
- java.io.Serializable, java.lang.Comparable<MusicRepresentation.Type>
- 含まれているクラス:
- MusicRepresentation
public static enum MusicRepresentation.Type
- extends java.lang.Enum<MusicRepresentation.Type>
クラス java.lang.Enum から継承されたメソッド |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Melody
public static final MusicRepresentation.Type Melody
Chord
public static final MusicRepresentation.Type Chord
Bass
public static final MusicRepresentation.Type Bass
Voicing
public static final MusicRepresentation.Type Voicing
values
public static final MusicRepresentation.Type[] values()
- この列挙型の定数を含む配列を宣言されている順序で返します。
このメソッドは次のようにして定数を反復するために使用できます:
for(MusicRepresentation.Type c : MusicRepresentation.Type.values())
System.out.println(c);
- 戻り値:
- この列挙型の定数を宣言されている順序で含む配列
valueOf
public static MusicRepresentation.Type valueOf(java.lang.String name)
- 指定した名前を持つこの型の列挙型定数を返します。
文字列は、この型の列挙型定数を宣言するのに使用した識別子と厳密に
一致している必要があります (余分な空白文字を含めることはできません)。
- パラメータ:
name
- 返される列挙型定数の名前
- 戻り値:
- 指定された名前を持つ列挙型定数
- 例外:
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合