ktor
1.6.8
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
common
ktor-utils
/
io.ktor.util.collections
/
ConcurrentMap
/
computeIfAbsent
compute
If
Absent
common
fun
computeIfAbsent
(
key
:
Key
,
block
:
(
)
->
Value
)
:
Value
Content copied to clipboard
Computes
block
and inserts result in map. The
block
will be evaluated at most once.