org.optaplanner.benchmark.impl.ranking

## Class ScoreSubSingleBenchmarkRankingComparator

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

- All Implemented Interfaces:
    Serializable, Comparator<SubSingleBenchmarkResult>

      public class ScoreSubSingleBenchmarkRankingComparator
      extends Object
      implements Comparator<SubSingleBenchmarkResult>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScoreSubSingleBenchmarkRankingComparator()`

  - ### Method Summary

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

    - #### ScoreSubSingleBenchmarkRankingComparator

          public ScoreSubSingleBenchmarkRankingComparator()

  - ### Method Detail

    - #### compare

          public int compare(SubSingleBenchmarkResult a,
                             SubSingleBenchmarkResult b)

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

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