import java.util.*; public class Main { public Main() { } public void sortIntegerArray(Integer[] pIntegerArray, int iSortFlag) { // 按升序 if (iSortFlag == 0) { Arrays.sort(pIntegerArray, new Comparator<Integer>() { public int compare(Integer o1, Integer o2) { return o1 - o2; } }); } // 按降序 else ...