public class Triplet extends NoteCollection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The ID value of this class
|
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.ID case of the visitor
|
java.lang.String |
toString()
Return string representation of the triplet
|
getNotes
public static final java.lang.String ID
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