public class ActivationComparator<T> extends Object implements Comparator<T>
| Constructor and Description |
|---|
ActivationComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2)
sequence 大的排在后面,如果没有设置sequence的排到最前面
|
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(T o1, T o2)
compare in interface Comparator<T>Copyright © 2020. All rights reserved.