void (Map<? extends String, Integer> map) { map.entrySet().forEach(entry -> { String str = entry.getKey(); Integer num = entry.getValue(); System.out.println(str +":"+ num); String str2 = entry.getKey(); System.out.println(str2); }); }