com.frinika.sequencer.model.util
Class EventsInPartsIterator

java.lang.Object
  extended by com.frinika.sequencer.model.util.EventsInPartsIterator
All Implemented Interfaces:
java.util.Iterator<MultiEvent>

public class EventsInPartsIterator
extends java.lang.Object
implements java.util.Iterator<MultiEvent>

Iterates on all the notes in given part list IN the order part by part not sequentially

Author:
Paul

Constructor Summary
EventsInPartsIterator(java.util.Collection<Part> partList, EventFilter filter)
           
EventsInPartsIterator(Part part, EventFilter filter)
           
 
Method Summary
 boolean hasNext()
           
 MultiEvent next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventsInPartsIterator

public EventsInPartsIterator(java.util.Collection<Part> partList,
                             EventFilter filter)

EventsInPartsIterator

public EventsInPartsIterator(Part part,
                             EventFilter filter)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<MultiEvent>

next

public MultiEvent next()
Specified by:
next in interface java.util.Iterator<MultiEvent>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<MultiEvent>