摘要:
private static void method() { ArrayList nums = getArray(COUNT); ArrayList newNums = new ArrayList(); for (int i = COUNT; i > 0; i--) { int num = (int) (Math.random() * i); newNums.add(nums.remove(num)); } System.out.println(newNums); } public static ArrayList getArray(int num) { ArrayList... 阅读全文