org.apache.geronimo.gbean
Class GBeanData.PriorityComparator

java.lang.Object
  extended by org.apache.geronimo.gbean.GBeanData.PriorityComparator
All Implemented Interfaces:
Comparator
Enclosing class:
GBeanData

public static class GBeanData.PriorityComparator
extends Object
implements Comparator

Note: this comparator imposes orderings that are inconsistent with equals.


Constructor Summary
GBeanData.PriorityComparator()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
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
 

Constructor Detail

GBeanData.PriorityComparator

public GBeanData.PriorityComparator()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright © 2006 Apache Software Foundation. All Rights Reserved.