BetterModel
Toggle table of contents
1.14.1-SNAPSHOT-417
api
Target filter
api
Switch theme
Search in API
Skip to content
BetterModel
api
/
kr.toxicity.model.api.util
/
CollectionUtil
/
mapValue
map
Value
@
NotNull
@
Unmodifiable
open
fun
<
K
,
V
,
R
>
mapValue
(
@
NotNull
original
:
@
NotNull
Map
<
K
,
V
>
,
@
NotNull
mapper
:
@
NotNull
(
V
)
->
R
)
:
@
NotNull
@
Unmodifiable
Map
<
K
,
R
>
Map some map's value.
Return
unmodifiable map
Parameters
original
original map
mapper
value mapper
<K>
key
<V>
value
<R>
new value