= Arrays.asList(longs);
System.out.println("longList:" + JSON.toJSONString(longList) + "longs:"...("longList:" + JSON.toJSONString(longList) + "longs:" + JSON.toJSONString(longs));
longList.sort...(longs));
longs[2] = 7L;
System.out.println("longList:" + JSON.toJSONString(longList) + "longs...:" + JSON.toJSONString(longs));
}
输出如下:
longList:[1,2,4,3]longs:[1,2,4,3]
longList:[1,5,4,3]longs:[1,5,4,3...]
longList:[2,6,5,4]longs:[2,6,5,4]
longList:[2,4,5,6]longs:[2,4,5,6]
longList:[2,4,7,6]longs:[2,4,7,6