Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.benchmark.impl.ranking
Class ResilientScoreComparator

    java.lang.Object
      org.optaplanner.benchmark.impl.ranking.ResilientScoreComparator

All Implemented Interfaces:
  Serializable, Comparator<Score>

    public class ResilientScoreComparator

extends Object
implements Comparator<Score>, Serializable

Like `NaturalScoreComparator`, but is able to compare `Score`s of different types or nulls.

See Also:
  Serialized Form

Constructor Summary
`ResilientScoreComparator()`

Method Summary
`int` | `compare(Score a, Score 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`

Constructor Detail

### ResilientScoreComparator

    public ResilientScoreComparator()

Method Detail

### compare

    public int compare(Score a,
                       Score b)

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.1.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.