ktor-utils
Toggle table of contents
3.3.2
common
jsAndWasmShared
jvm
posix
Target filter
common
jsAndWasmShared
jvm
posix
Switch theme
Search in API
Skip to content
ktor-utils
ktor-utils
/
io.ktor.util.collections
/
ConcurrentMap
/
computeIfAbsent
compute
If
Absent
common
jsAndWasmShared
jvm
posix
expect
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
(
source
)
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
Report a problem
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
(
source
)
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
Report a problem
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
(
source
)
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
Report a problem
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
(
source
)
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
Report a problem