Package org.optaplanner.core.impl.domain.lookup

## Class ClassAndPlanningIdComparator

- java.lang.Object
- - org.optaplanner.core.impl.domain.lookup.ClassAndPlanningIdComparator

- All Implemented Interfaces:
    `Comparator<Object>`

      public class ClassAndPlanningIdComparator
      extends Object
      implements Comparator<Object>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ClassAndPlanningIdComparator()` |
    `ClassAndPlanningIdComparator​(boolean failFastIfNoPlanningId)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `compare​(Object a, Object b)` |

    - ### 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### ClassAndPlanningIdComparator

          public ClassAndPlanningIdComparator()

    - #### ClassAndPlanningIdComparator

          public ClassAndPlanningIdComparator​(boolean failFastIfNoPlanningId)

  - ### Method Detail

    - #### compare

          public int compare​(Object a,
                             Object b)

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