Java集合學習

Java集合學習 Collection是List、Set、Queue的最基本接口 Iterator:迭代器可以通過迭代器遍歷集合中的數據 Map:是映射表的基礎接口 List一共實現三個類,分別是ArrayList、LinkedList、Vector 1.ArrayList (1)排列有序、可重複 (2)底層使用數組 (3)速度快、增刪慢,getter()和setter()方法快 (4)線程不安全
相關文章
相關標籤/搜索