会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
wenjie's blog
博客园
首页
新随笔
联系
订阅
管理
2020年5月4日
Java8:将int数组转换为Integer数组
摘要: //将int数组转换为Integer数组 int[] nums = {1,2,3}; //先将int数组转换为数值流 IntStream stream = Arrays.stream(nums); //流中的元素全部装箱,转换为流 >int转为Integer Stream<Integer> inte
阅读全文
posted @ 2020-05-04 23:53 秋风飒飒吹
阅读(16483)
评论(3)
推荐(2)
公告