groupBy<K2> abstract method

ComputedMap<K2, ComputedMap<K, V>> groupBy<K2>(
  1. K2 key(
    1. K key,
    2. V value
    )
)

Groups this map using the given key function as a ComputedMap.

The outer key is set to the result of the key function. The inner key is set to the original key.

Implementation

ComputedMap<K2, ComputedMap<K, V>> groupBy<K2>(
    K2 Function(K key, V value) key);