JAVA笔记-java8常用操作
一、数组转ListList<Integer> intList Arrays.stream(new int[] { 1, 2, 3}).boxed().collect(Collectors.toList());List<Long> longList Arrays.stream(new long[] { 1, 2, 3 }).boxed().collect(Collectors.toList());List<Double> doubleList Arrays.st…
2026/7/15 14:01:08