- 博客(1)
- 收藏
- 关注
原创 Collections.sort()的两种使用方法
sort()的两种调用方式的代码如下 public static <T extends Comparable<? super T>> void sort(List<T> list) { list.sort(null); } public static <T> void sort(List<T> list, Comparator<? super T> c) { list.s...
2021-06-30 10:36:41
734
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人