public class ResilientScoreComparator extends Object implements Comparator<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(Score a,
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(Score a, Score b)
compare in interface Comparator<Score>Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.