org.openide.util.lookup
Class ALPairComparator

java.lang.Object
  extended by org.openide.util.lookup.ALPairComparator
All Implemented Interfaces:
java.util.Comparator<AbstractLookup.Pair<?>>

final class ALPairComparator
extends java.lang.Object
implements java.util.Comparator<AbstractLookup.Pair<?>>

Implementation of comparator for AbstractLookup.Pair

Author:
Jaroslav Tulach

Field Summary
static java.util.Comparator<AbstractLookup.Pair<?>> DEFAULT
           
 
Method Summary
 int compare(AbstractLookup.Pair<?> i1, AbstractLookup.Pair<?> i2)
          Compares two items.
 
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
 

Field Detail

DEFAULT

public static final java.util.Comparator<AbstractLookup.Pair<?>> DEFAULT
Method Detail

compare

public int compare(AbstractLookup.Pair<?> i1,
                   AbstractLookup.Pair<?> i2)
Compares two items.

Specified by:
compare in interface java.util.Comparator<AbstractLookup.Pair<?>>