程序包 cn.taketoday.util.comparator
package cn.taketoday.util.comparator
Useful generic
java.util.Comparator implementations,
such as an invertible comparator and a compound comparator.-
类类说明ComparableComparator<T extends Comparable<T>>Comparator that adapts Comparables to the Comparator interface.Convenient entry point with generically typed factory methods for common
Comparatorvariants.Comparator capable of sorting exceptions based on their depth from the thrown exception type.Compares objects based on an arbitrary class order.A Comparator that will safely compare nulls to be lower or higher than other objects.