int与List类型转化 Integer与List Integer[] arrays = {1, 2, 3}; List<Integer> listStrings = Stream.of(arrays).collect(Collectors.toList()); Int与List int[] arrays = {1, 2, 3}; List<Integer> listStrings = Arrays.stream(arrays).boxed().collect(Collectors.toList());