JDK1.8 HashMap存储结构由链表改成了平衡树,复杂度 o(n) –> o(log n).看来还是应该跟进最新版。

Leave a reply

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

required