toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.util
/
CollectionUtils
/
collect
collect
API
open
fun
<
R
,
I
>
collect
(
list
:
Array
<
I
>
,
transformer
:
Transformer
<
out
R
,
in
I
>
)
:
List
<
R
>
(
source
)
open
fun
<
R
,
I
>
collect
(
set
:
Set
<
out
I
>
,
transformer
:
Transformer
<
out
R
,
in
I
>
)
:
Set
<
R
>
(
source
)
open
fun
<
R
,
I
>
collect
(
source
:
Iterable
<
out
I
>
,
transformer
:
Transformer
<
out
R
,
in
I
>
)
:
List
<
R
>
(
source
)
open
fun
<
R
,
I
,
C
:
Collection
<
R
>
?
>
collect
(
source
:
Iterable
<
out
I
>
,
destination
:
C
,
transformer
:
Transformer
<
out
R
,
in
I
>
)
:
C
(
source
)