- 博客(1)
- 收藏
- 关注
原创 JDK源码分析--HashMap
哈希算法 equals()==> hashcode() (JDK 1.7) return hashcode()&(length - 1) (JDK 1.9) hash = (h = key.hashCode()) ^ (h >>> 16) return (n - 1) & hash null值返回零 哈希冲突 头插入(...
2018-07-29 18:22:01 71
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人