# 程序包的使用
org.springframework.util.comparator

- 使用org.springframework.util.comparator的程序包
  程序包 | 说明
  --- | ---
  org.springframework.util.comparator | Useful generic `java.util.Comparator` implementations, such as an invertible comparator and a compound comparator.

- org.springframework.util.comparator使用的org.springframework.util.comparator中的类
  类和说明
  BooleanComparator A `Comparator` for `Boolean` objects that can sort either `true` or `false` first.
  ComparableComparator Comparator that adapts Comparables to the Comparator interface.
  NullSafeComparator A Comparator that will safely compare nulls to be lower or higher than other objects.