会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mj-w
博客园
首页
新随笔
联系
订阅
管理
2015年9月28日
double checked locking in Singleton
摘要: public class Singleton{private static volatile Singleton _instance; //volatile variable public static Singleton getInstance(){ if(_instance == null)...
阅读全文
posted @ 2015-09-28 16:09 mj-w
阅读(117)
评论(0)
推荐(0)
2015年8月28日
How can worst case time complexity of Hashtable be O(n^2)
摘要: Hash tablesareO(1)average andamortizedcase complexity, however is suffers fromO(n)worst casetime complexity. [And I think this is where your confusion...
阅读全文
posted @ 2015-08-28 12:02 mj-w
阅读(229)
评论(0)
推荐(0)
公告