collektive-stdlib
Toggle table of contents
25.0.0
common
Platform filter
common
Switch theme
Search in API
collektive-stdlib
collektive-stdlib
/
it.unibo.collektive.stdlib.iterables
/
FieldedCollectionsExtensions
/
mapIndexed
map
Indexed
@
JvmName
(
name
=
"mapIndexed_with_it_unibo_collektive_aggregate_Field_of_collections_Iterable_of_T_end_end_and_Function2_of_Int_and_T_and_R_end"
)
inline
fun
<
T
,
R
,
ID
:
Any
>
Field
<
ID
,
Iterable
<
T
>
>
.
mapIndexed
(
crossinline
transform
:
(
Int
,
T
)
->
R
)
:
Field
<
ID
,
List
<
R
>
>
@
JvmName
(
name
=
"mapIndexed_with_collections_Iterable_of_T_end_and_it_unibo_collektive_aggregate_Field_of_Function2_of_Int_and_T_and_R_end_end"
)
fun
<
T
,
R
,
ID
:
Any
>
Iterable
<
T
>
.
mapIndexed
(
transform
:
Field
<
ID
,
(
Int
,
T
)
->
R
>
)
:
Field
<
ID
,
List
<
R
>
>
@
JvmName
(
name
=
"mapIndexed_with_it_unibo_collektive_aggregate_Field_of_collections_Iterable_of_T_end_end_and_it_unibo_collektive_aggregate_Field_of_Function2_of_Int_and_T_and_R_end_end"
)
fun
<
T
,
R
,
ID
:
Any
>
Field
<
ID
,
Iterable
<
T
>
>
.
mapIndexed
(
transform
:
Field
<
ID
,
(
Int
,
T
)
->
R
>
)
:
Field
<
ID
,
List
<
R
>
>