/**
* 升序
*/
@Test
public void test25() {
List<Integer> array = Stream.of(1, 8, 5, 3).collect(toList());
// 升序排序
array.sort(Integer::compareTo);
System.out.println(array);
}
/**
* 升序
*/
@Test
public void test25() {
List<Integer> array = Stream.of(1, 8, 5, 3).collect(toList());
// 升序排序
array.sort(Integer::compareTo);
System.out.println(array);
}