240 发简信
IP属地:天津
  • List集合排序Collections.sort()方法的一个容易忽略的小问题

    很多人对list集合排序时喜欢实现Comparator<T>接口,自己定义排序方式,例如: Listlist = new ArrayList<>...