集合转数组

2018-08-10 18:13:09

1、Colleaction转化为int[],可以使用colleaction.stream().mapToInt(i -> i).toArray()

猜你喜欢

转载自www.cnblogs.com/TIMHY/p/9456713.html