ktor
Toggle table of contents
3.1.0
Select version
3.1.0
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
Platform filter
common
jsAndWasmShared
jvm
posix
Switch theme
Search in API
ktor
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.
Report a problem
actual
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
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
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
Computes
block
and inserts result in map. The
block
will be evaluated at most once.
Report a problem