摘要: 1. Map集合之基础增删查等功能 2. 遍历Map集合 3. 通过Entry对Map集合进行遍历 4. HashMap 5. LinkedHashMap 怎么存就怎么取 6. TreeMap 6.1 Student 自定义类 7. HashMap和Hashtable的区别 * 共同点: * 底层都 阅读全文
posted @ 2018-07-04 07:20 just_do_it_! 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1 public class Demo1_Set { 2 3 /* 4 * set集合无序、不可重复、无索引 5 */ 6 public static void main(String[] args) { 7 8 //demo1(); 9 HashSet hs = new HashSet(... 阅读全文
posted @ 2018-07-04 07:12 just_do_it_! 阅读(169) 评论(0) 推荐(0) 编辑