molikuner
11/29/2019, 9:53 AMval a = "x"
val b = "x"
println(a === b)
This differs from the behaviour that I expected, as the following prints false:
val c = "X".toLowerCase()
println(a === c)
example code: https://pl.kotl.in/NTVgQNuWekarelpeeters
11/29/2019, 9:54 AMmolikuner
11/29/2019, 9:55 AMDias
11/29/2019, 9:55 AMkarelpeeters
11/29/2019, 9:57 AMjava.lang.Integer
class keeping a cache for the factory function.Dias
11/29/2019, 9:57 AMdiesieben07
11/29/2019, 10:01 AM