thana
02/12/2019, 10:44 AM::someMethod
does - that's what i tried in the very beginng 🤷tekjar
02/12/2019, 4:17 PMtekjar
02/12/2019, 4:17 PMdumptruckman
02/12/2019, 5:32 PMdumptruckman
02/12/2019, 5:32 PMdumptruckman
02/12/2019, 5:32 PMkarelpeeters
02/12/2019, 5:32 PMLeoColman
03/06/2019, 8:10 PMval v: Int = 14
with the hintLeoColman
03/06/2019, 8:10 PMLuke
03/06/2019, 8:12 PMbbaldino
03/06/2019, 8:21 PMursus
03/07/2019, 5:36 PMHexa
03/07/2019, 7:21 PMRafa
03/07/2019, 8:31 PMcomponent
functions that would be created. Vs. a list could have an infinite amount more propertiesMarc Knaup
03/07/2019, 8:44 PMjw
03/07/2019, 8:45 PMjw
03/07/2019, 8:46 PMjw
03/07/2019, 8:47 PMMarc Knaup
03/07/2019, 8:49 PMpakoito
03/07/2019, 11:43 PMmap { f(it) }
will it remove the unnecessary allocation?jw
03/08/2019, 12:12 AMbbaldino
03/08/2019, 5:50 AMhalirutan
03/08/2019, 7:49 AMhalirutan
03/08/2019, 7:49 AMkotlin
import kotlin.reflect.KClass
open class Base
class Derived1 : Base()
class Derived2 : Base()
class Derived3 : Base()
fun main() {
val d1 = Derived1()
val clazzes : Set<KClass<out Base>> = setOf(
Derived1::class,
Derived2::class,
Derived3::class
)
clazzes.forEach { cls ->
println(d1::class == cls)
}
}
Hullaballoonatic
03/08/2019, 11:33 PMthis.app.credentials && this.app.credentials.email
kotlin: app.credentials?.email
Hullaballoonatic
03/08/2019, 11:58 PMHullaballoonatic
03/08/2019, 11:58 PMlist.remove()
method.