public interface HierarchicalPrioritizer<T extends Request> extends Comparator<T>
Comparator for Requests that can also compare Requestors, and which guarantees that
given Requests r1, r2, then r1.getRequestor > r2.getRequestor implies r1 > r2.| Modifier and Type | Method and Description |
|---|---|
int |
compareRequestors(Requestor<T> r1,
Requestor<T> r2) |
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong