music
Class Tuplet

java.lang.Object
  extended by music.NoteCollection
      extended by music.Tuplet
All Implemented Interfaces:
INote, IPhrase

public class Tuplet
extends NoteCollection

Author:
swong

Field Summary
 
Fields inherited from class music.NoteCollection
notes
 
Constructor Summary
Tuplet(Note... 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.
 java.lang.String toString()
           
 
Methods inherited from class music.NoteCollection
getNotes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuplet

public Tuplet(Note... notes)
Method Detail

execute

public java.lang.Object execute(IPhraseVisitor algo,
                                java.lang.Object... params)
Description copied from interface: IPhrase
Executes (accepts) the visitor, calling the case associated with this host's index value.

Parameters:
algo - The visitor to execute
params - The input parameters supplied to the algo when its appropriate case is called.
Returns:
The return value from executing the appropriate case on the visitor.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object