public class Triplet extends NoteCollection
notes
Constructor and Description |
---|
Triplet(Note n1,
Note n2,
Note n3)
Create a new Note out of three notes
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(IPhraseVisitor algo,
java.lang.Object... params)
Calls the "Triplet" case of the visitor
|
java.lang.String |
toString()
Return string representation of the triplet
|
getNotes
public java.lang.Object execute(IPhraseVisitor algo, java.lang.Object... params)
algo
- the visitor being usedparams
- vararg list of parameters for use by the visitorpublic java.lang.String toString()
toString
in class java.lang.Object