HumphreyHao / humphreyhao.github.io

private repo for create a homepage
1 stars 0 forks source link

容器类 | Humphrey爵士的小海豚 #9

Open HumphreyHao opened 4 years ago

HumphreyHao commented 4 years ago

https://humphreyhao.github.io/2019/05/05/rong-qi-lei/

HashMap1.Hashmap是怎么实现的?hashmap里面有一个resize方法,怎么实现的?hashmap如何扩容的?HashMap实际上是一个一定长度的数组,数组中存放的是链表.当向hashmap中添加元素时,也就是put方法,先