void (Map<String, String> map, String key, Main other) { if(map.conta<caret>insKey("k")) { System.out.println(/* output map value */ map.get("k")); } else { System.out.println(/* output none */ NONE); } }