associate With To
abstract fun <V, M : MutableMapWrapper<in PT, in V>> associateWithTo(destination: M, valueSelector: (PT) -> V): M
将此数组的每个元素与其对应的值关联起来,并将结果添加到给定的 MutableMapWrapper 中.
参考 kotlin.collections.associateWithTo
Return
Parameters
destination
用于存储结果的 MutableMapWrapper
value Selector
用于为每个元素选择值的函数