2、put()方法具体经历了什么? · HashMap首先判断table是否为null或长度为0,是的话则进行扩容,然后根据key计算hashCode(),得到存储key-value对的位置 ...
確定! 回上一頁