会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Katsura's blog
Keep It Simple, Stupied.
博客园
首页
新随笔
订阅
管理
2014年12月1日
ConcurrentHashMap中的2的n次方幂上舍入方法
摘要: 最近看JDK中的concurrentHashMap类的源码,其中有那么一个函数:/** * Returns a power of two table size for the given desired capacity. * See Hackers Delight, sec 3.2...
阅读全文
posted @ 2014-12-01 12:20 Katsura
阅读(1245)
评论(1)
推荐(1)
编辑