Kenneth
04/23/2020, 8:52 AMdiesieben07
04/23/2020, 8:53 AMval instance = MyJavaClass().also {
it.setValue("foo")
}
Kenneth
04/23/2020, 8:54 AMdiesieben07
04/23/2020, 8:55 AMapply
has the same effect, just that you can use this
inside the lambdaKenneth
04/23/2020, 8:55 AM