会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
习惯沉淀
闻道有先后 术业有专攻
Fork me on GitHub
博客园
首页
新随笔
联系
订阅
管理
2020年7月7日
java8关于list的操作
摘要: list操作 List转Map Map<String, String> collect = list.stream().collect(Collectors.toMap(p -> p.getId(), p -> p.getName())); 从 List 中取出某个属性的组成 list 集合 //1
阅读全文
posted @ 2020-07-07 21:03 习惯沉淀
阅读(7235)
评论(0)
推荐(0)
编辑
公告