mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
25 lines
633 B
Kotlin
Vendored
25 lines
633 B
Kotlin
Vendored
interface I1<R> : MutableSet<R> {
|
|
override fun contains(o: R): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
|
|
override fun containsAll(c: Collection<R>): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}
|
|
|
|
interface I2 : MutableSet<String> {
|
|
override fun contains(o: String): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
|
|
override fun containsAll(c: Collection<String>): Boolean {
|
|
throw UnsupportedOperationException()
|
|
}
|
|
}
|
|
|
|
abstract class A : I2
|
|
|
|
// 1 public final bridge contains\(Ljava/lang/Object;\)Z
|
|
// 1 public final bridge remove\(Ljava/lang/Object;\)Z
|