com.sun.appserv.management.util.jmx
Class MBeanAttributeInfoComparator
java.lang.Object
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.
INSTANCE
public static final MBeanAttributeInfoComparator INSTANCE
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
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.