toggle menu
gradle
8.11.1
API
switch theme
search in API
gradle
/
org.gradle.util
/
CollectionUtils
/
filter
filter
API
open
fun
<
T
>
filter
(
set
:
Set
<
out
T
>
,
filter
:
Spec
<
in
T
>
)
:
Set
<
T
>
(
source
)
open
fun
<
T
>
filter
(
list
:
List
<
out
T
>
,
filter
:
Spec
<
in
T
>
)
:
List
<
T
>
(
source
)
open
fun
<
T
>
filter
(
array
:
Array
<
T
>
,
filter
:
Spec
<
in
T
>
)
:
List
<
T
>
(
source
)
open
fun
<
T
,
C
:
Collection
<
T
>
?
>
filter
(
source
:
Iterable
<
out
T
>
,
destination
:
C
,
filter
:
Spec
<
in
T
>
)
:
C
(
source
)
open
fun
<
K
,
V
>
filter
(
map
:
Map
<
K
,
V
>
,
filter
:
Spec
<
Map.Entry
<
K
,
V
>
>
)
:
Map
<
K
,
V
>
(
source
)
open
fun
<
K
,
V
>
filter
(
map
:
Map
<
K
,
V
>
,
destination
:
Map
<
K
,
V
>
,
filter
:
Spec
<
Map.Entry
<
K
,
V
>
>
)
:
Map
<
K
,
V
>
(
source
)