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.bytearrays
/
FieldedArraysExtensions
/
associate
associate
@
JvmName
(
name
=
"associate_with_it_unibo_collektive_aggregate_Field_of_ByteArray_end_and_Function1_of_Byte_and_Pair_of_K_and_V_end_end"
)
inline
fun
<
K
,
V
,
ID
:
Any
>
Field
<
ID
,
ByteArray
>
.
associate
(
crossinline
transform
:
(
Byte
)
->
Pair
<
K
,
V
>
)
:
Field
<
ID
,
Map
<
K
,
V
>
>
@
JvmName
(
name
=
"associate_with_ByteArray_and_it_unibo_collektive_aggregate_Field_of_Function1_of_Byte_and_Pair_of_K_and_V_end_end_end"
)
fun
<
K
,
V
,
ID
:
Any
>
ByteArray
.
associate
(
transform
:
Field
<
ID
,
(
Byte
)
->
Pair
<
K
,
V
>
>
)
:
Field
<
ID
,
Map
<
K
,
V
>
>
@
JvmName
(
name
=
"associate_with_it_unibo_collektive_aggregate_Field_of_ByteArray_end_and_it_unibo_collektive_aggregate_Field_of_Function1_of_Byte_and_Pair_of_K_and_V_end_end_end"
)
fun
<
K
,
V
,
ID
:
Any
>
Field
<
ID
,
ByteArray
>
.
associate
(
transform
:
Field
<
ID
,
(
Byte
)
->
Pair
<
K
,
V
>
>
)
:
Field
<
ID
,
Map
<
K
,
V
>
>