toggle menu
ktor
3.0.2
3.0.3
3.0.2
3.0.0
2.3.12
2.2.4
2.0.3
1.6.8
common
jsAndWasmShared
jvm
posix
switch theme
search in API
ktor-utils
/
io.ktor.util.collections
/
ConcurrentMap
/
computeIfAbsent
compute
If
Absent
common
jsAndWasmShared
jvm
posix
expect
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
Computes
block
and inserts result in map. The
block
will be evaluated at most once.