java最快速的冒泡排序
Integer[] cum={11,3,34,32,45,4,5,223,6};
System.out.println(Arrays.toString(cum));
Arrays.sort(cum);
System.out.println(Arrays.toString(cum));
Arrays.sort(cum,Collections.reverseOrder());
System.out.println(Arrays.toString(cum));
这里Collections.reverseOrder() 是倒序,只能用Integer
java android ios delphi