Kone
Toggle table of contents
0.0.0-experiment
common
Platform filter
common
Switch theme
Search in API
Kone
kone.collections
/
dev.lounres.kone.collections.utils
/
associateByTo
associate
By
To
inline
fun
<
T
,
K
,
V
,
D
:
KoneMutableMap
<
in
K
,
V
>
>
KoneIterable
<
T
>
.
associateByTo
(
destination
:
D
,
keySelector
:
(
T
)
->
K
,
valueTransform
:
(
T
)
->
V
,
resolve
:
(
key
:
K
,
currentValue
:
V
,
newValue
:
V
)
->
V
)
:
D
(
source
)
inline
fun
<
T
,
K
,
D
:
KoneMutableMap
<
K
,
T
>
>
KoneIterable
<
T
>
.
associateByTo
(
destination
:
D
,
keySelector
:
(
T
)
->
K
,
resolve
:
(
key
:
K
,
currentValue
:
T
,
newValue
:
T
)
->
T
)
:
D
(
source
)