mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
12 lines
254 B
Kotlin
12 lines
254 B
Kotlin
import java.lang.Runnable
|
|
import java.lang.Thread
|
|
|
|
class ThreadRunQfTest {
|
|
fun doTest() {
|
|
val runnable = object : Runnable {
|
|
override fun run() {}
|
|
}
|
|
val thread = Thread(runnable)
|
|
thread.ru<caret>n()
|
|
}
|
|
} |