org.optaplanner.core.api.score.constraint

## Class IndictmentScoreTotalComparator

- java.lang.Object
- - org.optaplanner.core.api.score.constraint.IndictmentScoreTotalComparator

- All Implemented Interfaces:
    Serializable, Comparator<Indictment>

  Deprecated.
  If you need this, it is trivial to implement via `Comparator.comparing(Function)`.

      @Deprecated
      public class IndictmentScoreTotalComparator
      extends Object
      implements Comparator<Indictment>, Serializable

  Compares by `Indictment`s based on `Indictment.getScore()`.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IndictmentScoreTotalComparator()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Indictment a, Indictment b)` Deprecated.

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

    - #### IndictmentScoreTotalComparator

          public IndictmentScoreTotalComparator()

      Deprecated.

  - ### Method Detail

    - #### compare

          public int compare(Indictment a,
                             Indictment b)

      Deprecated.
      Specified by:
        `compare` in interface `Comparator<Indictment>`

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