K
- 主键类型public class TitleComparator<K extends Comparable<K>,T extends BaseObject<K>> extends Object implements Comparator<T>
Constructor and Description |
---|
TitleComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T object1,
T object2)
首先按排序号排序,接下来按显示名排序
|
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 int compare(T object1, T object2)
compare
in interface Comparator<T extends BaseObject<K>>
Copyright © 2006–2018 TinyGroup. All rights reserved.