com.frinika.sequencer.model
Class NoteEvent.StartComparator

java.lang.Object
  extended by com.frinika.sequencer.model.NoteEvent.StartComparator
All Implemented Interfaces:
java.util.Comparator<NoteEvent>
Enclosing class:
NoteEvent

public static class NoteEvent.StartComparator
extends java.lang.Object
implements java.util.Comparator<NoteEvent>

Utility comparators for sorted sets. Notes are never equaly unless they are the same object.

Author:
pjl

Constructor Summary
NoteEvent.StartComparator()
           
 
Method Summary
 int compare(NoteEvent o1, NoteEvent o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NoteEvent.StartComparator

public NoteEvent.StartComparator()
Method Detail

compare

public int compare(NoteEvent o1,
                   NoteEvent o2)
Specified by:
compare in interface java.util.Comparator<NoteEvent>