Class NoteTrackEnumerator

  extended by com.softsynth.jmsl.score.NoteTrackEnumerator
All Implemented Interfaces:

public class NoteTrackEnumerator
extends java.lang.Object
implements java.util.Enumeration

Enumerate through all Notes in a Track, crossing Measure bar into next corresponding Track, etc
Enumerating all notes that would belong to a contiguous "melody". First and Last notes must belong to same track index of same staff index. JMSL Notation Project

Nick Didkovsky , copyright 2000 Nick Didkovsky , all rights reserved

Field Summary
static java.lang.String copyright
Constructor Summary
NoteTrackEnumerator(Score score, Note firstNote, Note lastNote)
Method Summary
 boolean hasMoreElements()
          There are more elements if the last Object returned was not the last Note
 java.lang.Object nextElement()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final java.lang.String copyright
See Also:
Constant Field Values
Constructor Detail


public NoteTrackEnumerator(Score score,
                           Note firstNote,
                           Note lastNote)
Method Detail


public boolean hasMoreElements()
There are more elements if the last Object returned was not the last Note

Specified by:
hasMoreElements in interface java.util.Enumeration


public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration