You can declare your map as `ConcurrentHashMap<...
# getting-started
i
You can declare your map as
ConcurrentHashMap<Long, String>
and cast it to
ConcurrentHashMap<Long, String?>
before calling computeIfAbsent.