Join Slack
Communities
Powered by
`Map<K, Set<T>>` or `Map<K, Iterabl...
# stdlib
g
gregorbg
02/09/2019, 2:49 PM
Map<K, Set<T>>
or
Map<K, Iterable<T>>
will also be perfectly fine, I'm mainly concerned about the grouping aspect and not the explicit return type
p
Pavlo Liapota
02/09/2019, 3:00 PM
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/group-by.html
?
g
gregorbg
02/09/2019, 9:41 PM
Thank you! :)
2
Views
Open in Slack
Previous
Next