HashMap实现原理分析
参考:http://blog.csdn.net/vking_wang/article/details/14166593
1.数组 + 链表方式存储
2.put int i = new item % hash len
new item.next = hash[i]
hash[i] = new item next
参考:http://blog.csdn.net/vking_wang/article/details/14166593
1.数组 + 链表方式存储
2.put int i = new item % hash len
new item.next = hash[i]
hash[i] = new item next