Kenneth
03/07/2019, 10:33 AMdiesieben07
03/07/2019, 10:33 AMlist.distinctBy { it.name to it.age }
diesieben07
03/07/2019, 10:34 AMlist.distinctBy { listOf(it.name, it.firstName, it.age) }
Kenneth
03/07/2019, 10:41 AMKenneth
03/07/2019, 10:42 AM.groupingBy { it.name to it.age }.eachCount().filterValues { it > 1 }
?diesieben07
03/07/2019, 10:45 AMdiesieben07
03/07/2019, 10:46 AMKenneth
03/07/2019, 10:49 AMDico
03/07/2019, 3:06 PMTriple
if you have 3 properties to compareKenneth
03/07/2019, 3:54 PM