ArrayList转int数组

流式转换

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