org.apache.geronimo.console.web.util
Class ObjectInstanceComparator

java.lang.Object
  extended byorg.apache.geronimo.console.web.util.ObjectInstanceComparator
All Implemented Interfaces:
Comparator

public class ObjectInstanceComparator
extends Object
implements Comparator

This class sort ObjectNames by canonical name. Unfortunately, it will not place single token domains before multiple token domains of the same type (foo.bar > foo at the moment).

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
ObjectInstanceComparator()
           
 
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

ObjectInstanceComparator

public ObjectInstanceComparator()
Method Detail

compare

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.