|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmusic.NESeqList
public class NESeqList
A non-empty sequence list.
| Field Summary | |
|---|---|
private IPhrase |
_first
|
private ISeqList |
_rest
|
private IPhraseVisitor |
toStringAlgo
toString algo for rest |
| Constructor Summary | |
|---|---|
NESeqList(IPhrase first,
ISeqList rest)
Cons an IPhrase to a Sequence List. |
|
| 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. |
IPhrase |
getFirst()
|
ISeqList |
getRest()
|
java.lang.String |
toString()
Run a visitor over the list to convert it to a String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private IPhrase _first
private ISeqList _rest
private IPhraseVisitor toStringAlgo
| Constructor Detail |
|---|
public NESeqList(IPhrase first,
ISeqList rest)
| Method Detail |
|---|
public IPhrase getFirst()
public ISeqList getRest()
public java.lang.Object execute(IPhraseVisitor algo,
java.lang.Object... params)
IPhrase
execute in interface IPhrasealgo - The visitor to executeparams - The input parameters supplied to the algo when its appropriate case is called.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||