ArrayList转int数组

流式转换

int[] a = list.stream().mapToInt(Integer::intValue).toArray();
posted @ 2020-08-28 10:24  我不爱吃鱼  阅读(524)  评论(0编辑  收藏  举报
Live2D