会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Notes
博客园
首页
联系
订阅
管理
2018年11月1日
forEach java8 输出list set更简单
摘要: names.forEach(System.out::println);
阅读全文
posted @ 2018-11-01 22:06 7894561230
阅读(4344)
评论(0)
推荐(0)
编辑
Java的map
摘要: 基本类型数据,直接用map.put(k,v)修改数据即可 hashMap无序,treeMap按key值的大小排序。 输出: Iterate over the entrySet rather than the keySet. You get a set of Map.Entry<K, V> which
阅读全文
posted @ 2018-11-01 20:35 7894561230
阅读(137)
评论(0)
推荐(0)
编辑
公告