Package com.sun.media.sound
Class ModelInstrumentComparator
java.lang.Object
com.sun.media.sound.ModelInstrumentComparator
- All Implemented Interfaces:
Comparator<Instrument>
Instrument comparator class.
Used to order instrument by program, bank, percussion.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ModelInstrumentComparator
public ModelInstrumentComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Instrument>
-