Join Slack
how does kotlin generate hashcodes for data classes?
# announcements
d
Dalinar
01/29/2019, 2:12 PM
how does kotlin generate hashcodes for data classes?
c
Czar
01/29/2019, 2:37 PM
specifics are here:
https://kotlinlang.org/docs/reference/data-classes.html
But in short, only properties declared in the primary constructor are used for hashCode generation.
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by