Collection、List、Set、Map之間的關係

初學java,單個的接觸有點迷糊,因此總結下他們的關係java 1、關係數組 Collection安全 --List:以特定順序存儲多線程 --ArrayList、LinkList、Vector函數 --Set:不能包含重複的元素spa --HashSet、TreeSet線程 Mapcode --HashMap、HashTable、TreeMap對象 2、分別講解排序 Collection:Col
相關文章
相關標籤/搜索