com.sun.media.sound
Class ModelInstrumentComparator
java.lang.Object
com.sun.media.sound.ModelInstrumentComparator
- All Implemented Interfaces:
- java.util.Comparator<javax.sound.midi.Instrument>
public class ModelInstrumentComparator
- extends java.lang.Object
- implements java.util.Comparator<javax.sound.midi.Instrument>
Instrument comparator class.
Used to order instrument by program, bank, percussion.
- Author:
- Karl Helgason
Method Summary |
int |
compare(javax.sound.midi.Instrument arg0,
javax.sound.midi.Instrument arg1)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
ModelInstrumentComparator
public ModelInstrumentComparator()
compare
public int compare(javax.sound.midi.Instrument arg0,
javax.sound.midi.Instrument arg1)
- Specified by:
compare
in interface java.util.Comparator<javax.sound.midi.Instrument>