JDK1.8 HashMap ----resize源码解读
/**
* Initializes or doubles table size. If null, allocates in
* accord with initial capacity target held in field threshold.
* Otherwise, because we are using power-of-two expansion, the
* elements from each bin must either stay at sa
原创
2020-10-05 09:00:57 ·
248 阅读 ·
3 评论