摘要: 1.LinkedHashMap和HashMap和TreeMap和HashTable和concurrentHashTable的区别 HashMap是由数组和链表或红黑树组成,先通过key的hash值来确定在数组中的位置,该位置可以放链表放相同hash值的entry。 当链表长度大于8时转红黑树。 Li 阅读全文
posted @ 2020-03-02 20:12 haohao1234 阅读(193) 评论(0) 推荐(0)