Kone
0.0.0-dev-1
common
kone.util.collectionOperations
/
com.lounres.kone.util.collectionOperations
/
count
count
inline
fun
<
T
>
Iterable
<
T
>
.
count
(
from
:
Int
=
0
,
to
:
Int
=
-1
,
predicate
:
(
T
)
->
Boolean
)
:
Int
inline
fun
<
T
>
List
<
T
>
.
count
(
from
:
Int
=
0
,
to
:
Int
=
size
,
predicate
:
(
T
)
->
Boolean
)
:
Int
inline
fun
IntArray
.
count
(
from
:
Int
=
0
,
to
:
Int
=
size
,
predicate
:
(
Int
)
->
Boolean
)
:
Int
inline
fun
BooleanArray
.
count
(
from
:
Int
=
0
,
to
:
Int
=
size
,
predicate
:
(
Boolean
)
->
Boolean
)
:
Int