yuriy.yarosh
06/26/2016, 5:27 AMclass Stuff(a: String, b: String) {}
It means that I’ve got two properties that are accessible in the primary constructor, but not stored as the class properties.
But when I do
class Stuff(val a: String, val b: String) {}
it creates the respective class properties instead.
And the data class modifier adds the respective equals() / hashCode() / toString() / copy() implementations.
Right ?