public class Tuplet extends NoteCollection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The ID value of this class
|
notes
Constructor and Description |
---|
Tuplet(Note... notes)
Constructor for a tuplet
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute(IPhraseVisitor algo,
java.lang.Object... params)
Calls the Tuplet.ID case of the visitor.
|
java.lang.String |
toString()
String representation of the tuplet:
|
getNotes
public static final java.lang.String ID
public Tuplet(Note... notes)
notes
- vararg list of notes that form the tuplet, in order of play.public java.lang.Object execute(IPhraseVisitor algo, java.lang.Object... params)
algo
- the visitor being usedparams
- vararg list of parameters for the visitorpublic java.lang.String toString()
toString
in class java.lang.Object