Module hw06

Interface IPhrase

All Known Subinterfaces:
INote, ISeqList
All Known Implementing Classes:
Chord, DecoratorSeqList, FineToggleDecoratorSeqList, Header, MTSeqList, NESeqList, Note, NoteCollection, ToggleDecoratorSeqList, Triplet, Tuplet

public interface IPhrase
Top level of a piece of abc music. The generalized notion of a playable piece of music. ---------------------------------------------- Abstract Host Each concrete host calls its associated case on the visitor.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute​(IPhraseVisitor algo, Object... params)
    Executes (accepts) the visitor, calling the case associated with this host's index value.
  • Method Details

    • execute

      Object execute(IPhraseVisitor algo, Object... params)
      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.