public class ResilientScoreComparator extends Object implements Comparator<org.optaplanner.core.api.score.Score>, Serializable
NaturalScoreComparator, but is able to compare Scores of different types or nulls.| Constructor and Description |
|---|
ResilientScoreComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.optaplanner.core.api.score.Score a,
org.optaplanner.core.api.score.Score b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(org.optaplanner.core.api.score.Score a,
org.optaplanner.core.api.score.Score b)
compare in interface Comparator<org.optaplanner.core.api.score.Score>Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.