toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.util
/
CollectionUtils
/
collectMap
collect
Map
API
open
fun
<
K
,
V
>
collectMap
(
destination
:
Map
<
K
,
V
>
,
items
:
Iterable
<
out
V
>
,
keyGenerator
:
Transformer
<
out
K
,
in
V
>
)
(
source
)
open
fun
<
K
,
V
>
collectMap
(
items
:
Iterable
<
out
V
>
,
keyGenerator
:
Transformer
<
out
K
,
in
V
>
)
:
Map
<
K
,
V
>
(
source
)
Given a set of values, derive a set of keys and return a map