import java.util.HashMap fun foo(k: K, v: V) { val map = HashMap() val old = map.put(k, v) } fun box(): String { foo("", "") return "OK" }