目录 Comparable接口 Comparable接口的定义 实现Comparable接口 使用Comparable接口排序 Comparable接口的最佳实践 Comparator接口 Comparator接口的定义 实现Comparator接口 使用Comparator接口排序<