mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
14 lines
364 B
Kotlin
14 lines
364 B
Kotlin
// "Create function 'set'" "true"
|
|
|
|
import java.util.ArrayList
|
|
|
|
class Foo<T> {
|
|
fun <T> x (y: Any, w: java.util.ArrayList<T>) {
|
|
y["", w] = w
|
|
}
|
|
}
|
|
|
|
fun <T> Any.set(s: String, w: ArrayList<T>, value: ArrayList<T>) {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|