- 博客(2)
- 收藏
- 关注
原创 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 62
原创 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 65
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人