mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 15:51:01 +00:00
For now, JavaResolverSettings in runtime are different from default language version, so it might have a little bit different API surface In future, it's worth considering changing JavaResolverSettings.Default once default language version is changing #KT-47903
17 lines
524 B
Java
Vendored
17 lines
524 B
Java
Vendored
// SKIP_IN_RUNTIME_TEST
|
|
package test;
|
|
import java.util.Map;
|
|
public class MapRemove {
|
|
public abstract class MyMap<K, V> implements Map<K, V> {
|
|
public boolean remove(Object x, Object y) { return false; }
|
|
}
|
|
|
|
public abstract class MyMapString implements Map<String, Integer> {
|
|
public boolean remove(Object x, Object y) { return false; }
|
|
}
|
|
|
|
public abstract class MyMapStringInvalid implements Map<String, Integer> {
|
|
public boolean remove(String x, Integer y) { return false; }
|
|
}
|
|
}
|