orangy
filter
operation in Any
case, which is, I think, a good thing.punksta
09/10/2016, 9:29 PMClass<T>
orangy
punksta
09/10/2016, 9:54 PMzeesh49
09/11/2016, 4:01 PMzeesh49
09/11/2016, 4:01 PMzeesh49
09/11/2016, 4:02 PMilya.gorbunov
09/11/2016, 4:18 PMit
that is default name of a single parameter? You can treat it as usual parameter/variable. More about it in https://kotlinlang.org/docs/reference/lambdas.htmlilya.gorbunov
09/11/2016, 4:20 PMjavaClass
extension property like this: it.javaClass
zeesh49
09/11/2016, 4:21 PMzeesh49
09/11/2016, 4:21 PMzeesh49
09/11/2016, 4:25 PMilya.gorbunov
09/11/2016, 4:27 PMjavaClass
extension property?zeesh49
09/11/2016, 4:28 PMyole
09/12/2016, 9:32 AMcollection.any { it is R && it is F }
kirillrakhman
09/12/2016, 9:32 AMkirillrakhman
09/12/2016, 9:33 AMyole
09/12/2016, 9:33 AMyole
09/12/2016, 9:33 AMc.any { it is R } && c.any { it is F }
kirillrakhman
09/12/2016, 9:34 AMzeesh49
09/12/2016, 9:39 AMzeesh49
09/12/2016, 9:41 AMmzgreen
09/12/2016, 11:25 AMfun a() {}
fun a(param: Int = 1) {}
When I call a()
the first function is called. Why? And is there any way in this case to use second one with default parameter?mzgreen
09/12/2016, 11:25 AMdrfriendless
09/12/2016, 11:26 AMdrfriendless
09/12/2016, 11:27 AMmzgreen
09/12/2016, 11:29 AMmzgreen
09/12/2016, 11:30 AMkirillrakhman
09/12/2016, 11:32 AM