Java复习之类集

一、类集,Collection接口

1. 类集框架的目的

2. 类集中各个主要接口

Collection;List;Set;Map;Iterator;ListIterator;Enumeration;SortedSet;SortedMap;Queue;Map.Entry

3. Collection接口的作用

二、List接口

1. List接口与Collection接口的关系

2. List接口常用子类:ArrayList,Vector

3. ArrayList与Vector的区别

三、LinkedList 类

1. LinkedList 与List接口的关系

2. Queue接口的作用

四、Set接口

1. Set接口与Collection 接口的关系

2. Set常用子类:TreeSet,HashSet

3. TreeSet排序原理

4. Set接口中重复元素的定义

一个好的类应该覆写Object类中的equals(),hashCode(),toString()三个方法

5. SortedSet接口

五、Iterator接口

1. 集合输出的标准操作

2. Iterator接口的主要作用及使用注意事项

六、ListIterator接口

1. ListIterator与Iterator接口 的关系及区别

2. ListIterator接口的使用限制

七、foreach及Enumeration接口

1. foreach对集合的输出支持

2. Enumeration接口及使用要求

七、Map接口

1. Map接口与Collection接口的不同

2. Map接口与Map.Entry接口的关系

3. Map接口的常用子类:HashMap,HashTable,TreeMap,WeakHashMap,IdentityHashMap

4. HashMap与HashTable的区别

5. 对象的引用强度:强引用,软引用,弱引用,虚引用

6. Map接口的输出

map->entrySet->Set->Iterator->Map.Entry->key和value

7. IdentityHashMap类

8. SortedMap接口

9. Map使用非系统类作为key必须覆写equals()和hashCode()

八、Collections

1. Collections 与Collection的区别

Collections与Collection没有直接关系,但是与集合中的各个接口都有操作方法支持

2. Collections类中提供的主要操作方法

九、Stack类

1. 栈的操作原理

2. Stack类提供的入栈和出栈操作

Stack类是Vector的子类

十、Properties

1. Properties类的使用

2. 向普通及XML格式的文件保存及读取属性

原文地址:https://www.cnblogs.com/wenjing-coding/p/4765874.html