org.optaplanner.benchmark.impl.ranking

## Class TotalScoreSingleBenchmarkRankingComparator

- java.lang.Object
- - org.optaplanner.benchmark.impl.ranking.TotalScoreSingleBenchmarkRankingComparator

- All Implemented Interfaces:
    Serializable, Comparator<SingleBenchmarkResult>

      public class TotalScoreSingleBenchmarkRankingComparator
      extends Object
      implements Comparator<SingleBenchmarkResult>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TotalScoreSingleBenchmarkRankingComparator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(SingleBenchmarkResult a, SingleBenchmarkResult 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

    - #### TotalScoreSingleBenchmarkRankingComparator

          public TotalScoreSingleBenchmarkRankingComparator()

  - ### Method Detail

    - #### compare

          public int compare(SingleBenchmarkResult a,
                             SingleBenchmarkResult b)

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

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