类 ComparableComparator<T extends Comparable<T>>
java.lang.Object
cn.taketoday.util.comparator.ComparableComparator<T>
- 类型参数:
T- the type of comparable objects that may be compared by this comparator
- 所有已实现的接口:
Comparator<T>
Comparator that adapts Comparables to the Comparator interface.
Mainly for internal use in other Comparators, when supposed
to work on Comparables.
- 从以下版本开始:
- 4.0
- 作者:
- Keith Donald
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
字段详细资料
-
INSTANCE
A shared instance of this default comparator.- 另请参阅:
-
-
构造器详细资料
-
ComparableComparator
public ComparableComparator()
-
-
方法详细资料
-
compare
- 指定者:
compare在接口中Comparator<T extends Comparable<T>>
-