T - 被排序元素类型public class IndexedComparator<T> extends Object implements Comparator<T>
| Constructor and Description |
|---|
IndexedComparator(T... objs)
构造
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T 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, thenComparingLongCopyright © 2019. All rights reserved.