public class ArbitraryRankComparator extends Object implements Comparator<Object>
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_FOUND_OBJECTS_WITH_SAME_RANK |
static String |
EXCEPTION_MESSAGE_KEY_RANK_COMPARATOR_OVERFLOW |
Constructor and Description |
---|
ArbitraryRankComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
protected long |
rank(Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String EXCEPTION_MESSAGE_KEY_FOUND_OBJECTS_WITH_SAME_RANK
public static final String EXCEPTION_MESSAGE_KEY_RANK_COMPARATOR_OVERFLOW
Copyright © 2017. All rights reserved.