类 NullComparator<T>
java.lang.Object
spring.turbo.util.collection.NullComparator<T>
- 类型参数:
T- 泛型
- 所有已实现的接口:
Comparator<T>
已过时。
对
null 值友好的比较器- 作者:
- 应卓
-
构造器概要
构造器构造器说明NullComparator(boolean nullGreater) 已过时。NullComparator(boolean nullGreater, Comparator<? super T> comparator) 已过时。 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.util.Comparator
equals, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
构造器详细资料
-
NullComparator
public NullComparator(boolean nullGreater) 已过时。 -
NullComparator
已过时。
-
-
方法详细资料
-
compare
已过时。- 指定者:
compare在接口中Comparator<T>
-
thenComparing
已过时。- 指定者:
thenComparing在接口中Comparator<T>
-
reversed
已过时。- 指定者:
reversed在接口中Comparator<T>
-
Comparator.nullsFirst(Comparator)或Comparator.nullsLast(Comparator)替代