1、遍历map map.forEach((k, v) -> System.out.println("key:value = " + k + ":" + v)); 2、map转list map.entrySet().stream().map(e -> new Person(e.getKey(),e.g Read More
posted @ 2020-05-31 15:15 pretty.sunshine Views(1081) Comments(0) Diggs(0) Edit