Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ModelInstrumentComparator()`

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`

Constructor Detail

### ModelInstrumentComparator

    public ModelInstrumentComparator()

Method Detail

### 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>`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD