Apache CXF API

org.apache.cxf.helpers
Class MethodComparator

java.lang.Object
  extended by org.apache.cxf.helpers.MethodComparator
All Implemented Interfaces:
Serializable, Comparator<Method>

public class MethodComparator
extends Object
implements Comparator<Method>, Serializable

Sorts methods according to their name, number of parameters, and parameter types.

See Also:
Serialized Form

Constructor Summary
MethodComparator()
           
 
Method Summary
 int compare(Method m1, Method m2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

MethodComparator

public MethodComparator()
Method Detail

compare

public int compare(Method m1,
                   Method m2)
Specified by:
compare in interface Comparator<Method>

Apache CXF API

Apache CXF