provided.music
Class NoteCollection

java.lang.Object
  extended by provided.music.NoteCollection
All Implemented Interfaces:
INote, IPhrase
Direct Known Subclasses:
Chord, Triplet, Tuplet

public abstract class NoteCollection
extends java.lang.Object
implements INote

A collection of multiple notes


Field Summary
protected  Note[] notes
          An array of the notes that comprise this collection.
 
Constructor Summary
NoteCollection(Note... notes)
          Constructor that takes notes that form this collection
 
Method Summary
 Note[] getNotes()
          Accessor for the array of notes in this collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface provided.music.IPhrase
execute
 

Field Detail

notes

protected Note[] notes
An array of the notes that comprise this collection.

Constructor Detail

NoteCollection

public NoteCollection(Note... notes)
Constructor that takes notes that form this collection

Parameters:
notes - vararg list of the notes in this collection
Method Detail

getNotes

public Note[] getNotes()
Accessor for the array of notes in this collection

Returns:
the array of notes