https://kotlinlang.org logo
o

orangy

02/17/2016, 6:00 PM
Copy code
fun <T> foo(): T {
    val x = SimpleObjectProperty<T>().get()
    return x
}