****
## HashMap底层数据结构?
- ### 底层:数组+链表 大概结构如图:
![](https://lazy-baby.oss-cn-beijing.aliyuncs.com/images/hashmap结构.webp)
- ### 能说得再详细一点吗?
1.在jdk1.7中,HashMap的主干由一个一个的Entry数组组成,源码:
```java
/**
* An empty table instance to share when the table is not inflated.
*/
static final Entry[] EMPTY_TABLE = {};
/**
* The table, resized as necessary. Length MUST Always be a power of two.
*/
transient Entry