摘要: 1.拿到所有键,放入set集合,遍历取键,用get方法取值。 public void test1() { HashMap<Integer, String> map = new HashMap<>(); map.put(1,"奥"); map.put(2,"运"); map.put(3,"会"); S 阅读全文
posted @ 2021-07-31 10:48 如砚 阅读(109) 评论(0) 推荐(0)