music
Class MTSeqList

java.lang.Object
  extended by music.MTSeqList
All Implemented Interfaces:
IPhrase, ISeqList

public class MTSeqList
extends java.lang.Object
implements ISeqList

An empty sequence list.


Field Summary
private  int repeatCount
           
 
Constructor Summary
MTSeqList(int repeatCount)
           
 
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.
 int getRepeat()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

repeatCount

private int repeatCount
Constructor Detail

MTSeqList

public MTSeqList(int repeatCount)
Method Detail

getRepeat

public int getRepeat()

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.

Specified by:
execute in interface IPhrase
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