![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
文章平均质量分 80
风起不落
这个作者很懒,什么都没留下…
展开
-
Hashmap深入探究
Hashmap是日常JAVA开发中最常用的容器之一,而本人对HashMap实现原理却一直未曾深究。进入java.util.HashMap类:1.public V put(K key, V value)方法 /** * Associates the specified value with the specified key in this map. * I原创 2015-06-29 12:43:57 · 66 阅读 · 0 评论 -
Hashmap深入探究
Hashmap是一种非常常用的、应用广泛的数据类型。根据java.util.HashMap类源码可知,其数据模型实质为数组和链表的结合体。下面我们由put方法为入口探究其结构和原理:1.public V put(K key, V value) /** * Associates the specified value with the specified key in原创 2015-06-29 14:05:40 · 67 阅读 · 0 评论