protected class BroadleafResourceHttpRequestHandler.OrderedComparator extends Object implements Comparator<Object>
Ordered.getOrder().
Nulls are considered greater except that a getOrder with a value of Integer.MAX_VALUE will always sort at the end (even after nulls).
| Modifier | Constructor and Description |
|---|---|
protected |
OrderedComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2) |
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(Object o1, Object o2)
compare in interface Comparator<Object>Copyright © 2022. All rights reserved.