com.sun.appserv.management.util.jmx
Class MBeanOperationInfoComparator
java.lang.Object
com.sun.appserv.management.util.jmx.MBeanOperationInfoComparator
- All Implemented Interfaces:
- Comparator<MBeanOperationInfo>
public final class MBeanOperationInfoComparator
- extends Object
- implements Comparator<MBeanOperationInfo>
Caution: this Comparator may be inconsistent with equals() because it ignores the description.
INSTANCE
public static final MBeanOperationInfoComparator INSTANCE
compare
public int compare(MBeanOperationInfo info1,
MBeanOperationInfo info2)
- Specified by:
compare
in interface Comparator<MBeanOperationInfo>
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Comparator<MBeanOperationInfo>
- Overrides:
equals
in class Object
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.