natpryce
07/07/2017, 2:18 PMtypealias
maybe it could be done as a librarynatpryce
07/07/2017, 2:19 PMkotlinx.time.jar
. Add that to the classpath and import kotlinx.time.LocalTime
etc.natpryce
07/07/2017, 2:19 PMjoachim.reiss.
07/07/2017, 2:22 PMnatpryce
07/07/2017, 2:23 PMval list = listOfB.map { A(it.x, it.y) }
?spand
07/07/2017, 2:30 PMkotlin.String
. I am not sure what part of kotlin it is implemented in. I was sure I had seen it on java namespaced classes but maybe the inferred @NotNull
annotation have got me confuseddamian
07/07/2017, 3:24 PMlucasas
07/07/2017, 4:04 PMfunction
{
}
bj0
07/07/2017, 4:07 PMtrevjones
07/07/2017, 4:08 PMjlleitschuh
07/07/2017, 4:26 PMtrevjones
07/07/2017, 4:37 PMjlleitschuh
07/07/2017, 5:00 PMjlleitschuh
07/07/2017, 5:01 PMassertAll
Paul Woitaschek
07/07/2017, 5:20 PMjw
07/07/2017, 5:36 PMziggy42
07/07/2017, 7:24 PMdamian
07/07/2017, 7:26 PMziggy42
07/07/2017, 7:27 PMjokr
07/07/2017, 7:46 PMdamian
07/07/2017, 8:00 PMval foo = Runnable { /* ... */ }
, then no, unfortunately. You will have to use an anonymous class:
val foo = object : Runnable {
override fun run() { /* ... this ... */ }
}
groostav
07/07/2017, 8:02 PMthis
reference to a closure?jokr
07/07/2017, 8:14 PMbj0
07/07/2017, 8:16 PMjokr
07/07/2017, 8:18 PMbj0
07/07/2017, 8:21 PMdumptruckman
07/08/2017, 2:19 AMdumptruckman
07/08/2017, 2:22 AMagomez
07/08/2017, 2:24 AMagomez
07/08/2017, 2:24 AM