list排序,顺序,倒序

Collections.sort(list); // 顺序排列 

Collections.reverse(list); // 倒序排列 

Collections.shuffle(list); // 无序
posted @ 2018-06-20 10:51  宇枫  阅读(19894)  评论(0编辑  收藏  举报