modCount

HashMap里面有哪些方法会更改modCount

modCount 是 HashMap 类中的一个成员变量,用于记录 HashMap 结构发生变更(如插入、删除、扩容等操作)的次数。在 HashMap 中,有以下方法会更改 modCount的值:1. put(K key, V value):插入一个新的键值对。2. putAll(Map<? ext ......
modCount HashMap 方法
共1篇  :1/1页 首页上一页1下一页尾页