摘要:
sort(),max(),binarySearch(),fill() public class CollectionsDemo { public static void main(String[] args) { replaceAllDemo(); } public static void repl 阅读全文
摘要:
map集合被使用是因为具备映射关系。 一个学校有多个教室,每个教室都有多个学生。 public class Demo { public static void main(String[] args) { HashMap<String,HashMap<String,String>> czbk = ne 阅读全文
摘要:
描述学生,map容器,学生为键,地址为值,获取map中的元素。 public class MapDemo { public static void main(String[] args) { HashMap<Student, String> hm = new HashMap<Student, Str 阅读全文