kitttn
val customersSet = customers.collectToSet { it.phoneNumber }
marstran
customers.distinctBy { it.phoneNumber }
List
toSet
Reinis
equals
A modern programming language that makes developers happier.