摘要:
以基于Map接口的HashMap类的集合为 例1、 判断文件是否存在public void isRight(){ //判断文件是否存在 if(!myfile.exists()){ try { myf... 阅读全文
摘要:
1、通过 KeySet()方法Map newmap = new HashMap(); //newmap HaspMap类型的集合 有唯一的Key,一个Key对应相应的学生Student stu = new Student("11","Mary","79"); ... 阅读全文