Package org.optaplanner.benchmark.impl.ranking

## Class SubSingleBenchmarkRankBasedComparator

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

- All Implemented Interfaces:
    `Serializable`, `Comparator<SubSingleBenchmarkResult>`

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

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SubSingleBenchmarkRankBasedComparator()` |

  - ### Method Summary

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

      `equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong`

- - ### Constructor Detail

    - #### SubSingleBenchmarkRankBasedComparator

          public SubSingleBenchmarkRankBasedComparator()

  - ### Method Detail

    - #### compare

          public int compare​(SubSingleBenchmarkResult a,
                             SubSingleBenchmarkResult b)

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