摘要:
有序单列集合 public class TreeSetExercise { public static void main(String[] args) { Integer integer = new Integer(10); TreeSet treeSet = new TreeSet(new Co 阅读全文
摘要:
1.判断存储的类型,一组对象【单列】或者一组键值对【双列】 2.一组对象【单列】:collection 的子类:允许重复:List的某个实现类:增删多 LinkedList(底层维护的是双向链表) 改查多 ArrayList(底层维护的是object类型的可变数组) 不允许重复,Set某个实现类:无 阅读全文
摘要:
Properties继承了HashTable并且实现了Map接口,也是以键值对的形式保存数据 Properties经常用于xxx.properties文件中加载Properties对象,并进行读取和修改 public class PropertiesExercise { public static 阅读全文