|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmusic.NoteCollection
music.Chord
public class Chord
A collection of notes that make up a Chord. All of the notes should be played simultaneously.
Field Summary |
---|
Fields inherited from class music.NoteCollection |
---|
notes |
Constructor Summary | |
---|---|
Chord(Note... notes)
Create a Chord out of a collection of notes. |
Method Summary | |
---|---|
java.lang.Object |
execute(IPhraseVisitor algo,
java.lang.Object... params)
Executes (accepts) the visitor, calling the case associated with this host's index value. |
Methods inherited from class music.NoteCollection |
---|
getNotes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Chord(Note... notes)
Method Detail |
---|
public java.lang.Object execute(IPhraseVisitor algo, java.lang.Object... params)
IPhrase
algo
- The visitor to executeparams
- The input parameters supplied to the algo when its appropriate case is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |