Overview  Package   Class  Tree  Index 

be.lassi.control.midi
Class MidiDeviceComparator

java.lang.Object
  extended by be.lassi.control.midi.MidiDeviceComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<javax.sound.midi.MidiDevice>

public class MidiDeviceComparator
extends java.lang.Object
implements java.util.Comparator<javax.sound.midi.MidiDevice>, java.io.Serializable

Compares two MidiDevices for sorting by device name.

See Also:
Serialized Form

Constructor Summary
MidiDeviceComparator()
           
 
Method Summary
 int compare(javax.sound.midi.MidiDevice device1, javax.sound.midi.MidiDevice device2)
          
 
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

MidiDeviceComparator

public MidiDeviceComparator()
Method Detail

compare

public int compare(javax.sound.midi.MidiDevice device1,
                   javax.sound.midi.MidiDevice device2)

Specified by:
compare in interface java.util.Comparator<javax.sound.midi.MidiDevice>

Overview  Package   Class  Tree  Index 
Lighting Assistant 1.2