Associate<T> extension
- on
-
- Iterable<
T>
- Iterable<
Methods
-
associate<
K, V> (Pair< K, V> transform(T value)) → Map<K, V> -
Available on Iterable<
Returns aT> , provided by the Associate extensionMapcontaining key-value pairs that are provided bytransform. -
associateBy<
K> (K keySelector(T value)) → Map< K, T> -
Available on Iterable<
Returns aT> , provided by the Associate extensionMapcontaining the elements indexed by the key fromkeySelector. -
associateWith<
V> (V valueSelector(T value)) → Map< T, V> -
Available on Iterable<
Returns aT> , provided by the Associate extensionMapcontaining the elements paired with the value fromvalueSelector.