// "Use 'putIfAbsent' method without lambda" "false" import java.util.Map; class Test { public String test(Map map, String key) { return map.computeIfAbsent(key, k -> ("empty")); } }