public class Chord extends NoteCollection
notes| Constructor and Description |
|---|
Chord(Note... notes)
Create a Chord out of a collection of notes.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(IPhraseVisitor algo,
java.lang.Object... params)
Calls the "Chord" case of the given algo.
|
java.lang.String |
toString()
Returns a string representation of the chord: "(noteA, noteB, ...)"
|
getNotespublic Chord(Note... notes)
notes - vararg list of notes used in the chord.public java.lang.Object execute(IPhraseVisitor algo, java.lang.Object... params)
algo - The IPhraseVisitor algo to use.params - vararg list of input parameterspublic java.lang.String toString()
toString in class java.lang.Object