01 2022 档案
摘要:创建 Map<Integer,String> map = new HashMap<Integer, String>(); 增添元素 /* * 将键值对存储到集合中 * V put(K,V) K 作为键的对象, V作为值的对象 * 存储的是重复的键,将原有的值,覆盖 * 返回值一般情况下返回null,
阅读全文
摘要:链表数组的定义 //定义链表数组 List<Integer> a = new ArrayList<>() ; 增添 //定义链表数组 List<Integer> a = new ArrayList<>() ; //定义普通int型数组 int num[] = new int[10] ; //为普通数
阅读全文