Java EE 5 SDK

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

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

public final class MBeanAttributeInfoComparator
extends Object
implements Comparator<MBeanAttributeInfo>

Caution: this Comparator may be inconsistent with equals() because it ignores the description.


Field Summary
static MBeanAttributeInfoComparator INSTANCE
           
 
Method Summary
 int compare(MBeanAttributeInfo o1, MBeanAttributeInfo 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 MBeanAttributeInfoComparator INSTANCE
Method Detail

compare

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

equals

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.