be.lassi.control.midi
Class MidiDeviceComparator
java.lang.Object
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 MidiDevice
s for sorting
by device name.
- See Also:
- Serialized Form
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 |
MidiDeviceComparator
public MidiDeviceComparator()
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>