Java排序(一)实现类的排序

有 3 种方法可以实现,
  1、Collections.sort 排序重写 compare方法
  2、实现Comparable接口
  3、通过自定义比较器类的方式实现排序

原文地址:https://www.cnblogs.com/seaw/p/13927847.html