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 and Description
    `ClassAndPlanningIdComparator()`
    `ClassAndPlanningIdComparator(boolean failFastIfNoPlanningId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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

      `comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, 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>`

Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.