会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
destinying
博客园
首页
新随笔
联系
管理
订阅
08 2016 档案
java中变量赋值过程中内存块复制还是共用内存问题
摘要:1 class Person{ 2 private int age; 3 public void setAge(int para){ 4 age = para; 5 } 6 public int getAge(){ 7 return age; 8 } 9 } 10 public static voi
阅读全文
posted @
2016-08-24 22:10
destinying
阅读(711)
评论(0)
推荐(0)
HashMap在遍历的过程中修改(remove操作)
摘要:1.如下的方式删除键值对不会抛出异常 2.否则直接通过finalResult.remove(key)修改hashmap时会在remove()执行之后抛出异常
阅读全文
posted @
2016-08-24 17:18
destinying
阅读(3087)
评论(0)
推荐(0)
公告