java集合之Map家族

Map家族類圖關係 HashTable,HashMap,TreeMap,ConcurrentMap,LinkedHashMap做分析比較 線程安全性和key值以及Value值是否可以爲空做比較 集合 Key Value 有序 線程安全 HashMap 可以爲null 可以爲null 無序 線程不安全 HashTable 不可以爲null 不可以爲null 無序 線程安全 TreeMap 不可以爲n
相關文章
相關標籤/搜索