Java EE 5 SDK

com.sun.appserv.management.util.jmx
Class ObjectNameComparator

java.lang.Object
  extended by com.sun.appserv.management.util.jmx.ObjectNameComparator
All Implemented Interfaces:
Comparator<ObjectName>

public final class ObjectNameComparator
extends Object
implements Comparator<ObjectName>


Field Summary
static ObjectNameComparator INSTANCE
           
 
Method Summary
 int compare(ObjectName o1, ObjectName o2)
           
 boolean equals(Object other)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ObjectNameComparator INSTANCE
Method Detail

compare

public int compare(ObjectName o1,
                   ObjectName o2)
Specified by:
compare in interface Comparator<ObjectName>

equals

public boolean equals(Object other)
Specified by:
equals in interface Comparator<ObjectName>
Overrides:
equals in class Object

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.