org.qi4j.tools.model.util

## Class DescriptorNameComparator<T>

- java.lang.Object
- - org.qi4j.tools.model.util.DescriptorNameComparator<T>

- Type Parameters:
    `T` - Parameterized descriptor type
  All Implemented Interfaces:
    Comparator<T>

      public class DescriptorNameComparator<T>
      extends Object
      implements Comparator<T>

  DescriptorName comparator. Implementation is using toString() for comparing

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DescriptorNameComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(T o1, T 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

      `equals`

- - ### Constructor Detail

    - #### DescriptorNameComparator

          public DescriptorNameComparator()

  - ### Method Detail

    - #### compare

          public int compare(T o1,
                    T o2)

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