MethodComparator (Apache CXF API 2.7.0.redhat-611445 API)

org.apache.cxf.helpers

## Class MethodComparator

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `MethodComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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