java基礎--5.集合-4.Collection接口

1      Collection接口 常用方法   1.1  基本方法     1.2  轉數組方法à遍歷 toArray();                            //將集合轉換成數組   1.3  帶all方法   1.4  迭代器方法à遍歷 c.iterator();     2      Collections工具類     3      List和set Vector
相關文章
相關標籤/搜索