Java ArrayList <Integer>转为int[]数组,welcometomyblog一句话:al.stream().mapToInt(k->k).toArray();如下所示ArrayList.
確定! 回上一頁