org.codehaus.groovy.reflection

## Class CachedClass.CachedMethodComparatorByName

- java.lang.Object
- - org.codehaus.groovy.reflection.CachedClass.CachedMethodComparatorByName

- All Implemented Interfaces:
    Comparator<CachedMethod>
  Enclosing class:
    CachedClass

      public static class CachedClass.CachedMethodComparatorByName
      extends Object
      implements Comparator<CachedMethod>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static Comparator` | `INSTANCE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CachedMethodComparatorByName()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(CachedMethod o1, CachedMethod o2)`

    - ### 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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Field Detail

    - #### INSTANCE

          public static final Comparator INSTANCE

  - ### Constructor Detail

    - #### CachedMethodComparatorByName

          public CachedMethodComparatorByName()

  - ### Method Detail

    - #### compare

          public int compare(CachedMethod o1,
                             CachedMethod o2)

      Specified by:
        `compare` in interface `Comparator<CachedMethod>`