Savarese.Org

org.savarese.unicorn.util
Class Sorting.MBeanOperationInfoComparator

java.lang.Object
  extended by org.savarese.unicorn.util.Sorting.MBeanOperationInfoComparator
All Implemented Interfaces:
java.util.Comparator<javax.management.MBeanOperationInfo>
Enclosing class:
Sorting

public static class Sorting.MBeanOperationInfoComparator
extends java.lang.Object
implements java.util.Comparator<javax.management.MBeanOperationInfo>

Orders MBeanOperationInfo objects according to their names.


Constructor Summary
Sorting.MBeanOperationInfoComparator()
           
 
Method Summary
 int compare(javax.management.MBeanOperationInfo o1, javax.management.MBeanOperationInfo o2)
           
 boolean equals(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sorting.MBeanOperationInfoComparator

public Sorting.MBeanOperationInfoComparator()
Method Detail

compare

public int compare(javax.management.MBeanOperationInfo o1,
                   javax.management.MBeanOperationInfo o2)
Specified by:
compare in interface java.util.Comparator<javax.management.MBeanOperationInfo>

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface java.util.Comparator<javax.management.MBeanOperationInfo>
Overrides:
equals in class java.lang.Object

Savarese.Org

Copyright © 2006 Daniel F. Savarese. All Rights Reserved.