Package: groovy.inspect

## [Java] Class Inspector.MemberComparatorWithValue

- groovy.inspect.Inspector.MemberComparatorWithValue

- All Implemented Interfaces and Traits:
    Comparator, Serializable

      public static class Inspector.MemberComparatorWithValue
      extends Object
      implements Comparator, Serializable

  Comparator for property tuples that include values.

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public int` | `compare(Object a, Object b)` Compares two property tuples using the underlying property metadata.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### public int compare(Object a, Object b)

      Compares two property tuples using the underlying property metadata.

      Parameters:
        `a` - the first tuple to compare
        `b` - the second tuple to compare
      Returns:
        a negative value, zero, or a positive value as the first tuple is less than, equal to, or greater than the second