kotlin.collections.aggregate

aggregate

inline fun <T, K, R> Grouping<T, K>.aggregate(
    operation: (key: K, accumulator: R?, element: T, first: Boolean) -> R
): Map<K, R>

Platform and version requirements: Kotlin 1.1

Groups elements from the Grouping source by key and applies 登录查看完整内容