Collections.sort(list); // 顺序排列 Collections.shuffle(list); // 打乱list Collections.reverse(list); // 倒序排列 System.out.println(Collections.binarySearch(list, " a5 " )); // 折半查找