putIfAbsent abstract method

ComputedMap<K, V> putIfAbsent(
  1. K key,
  2. V ifAbsent()
)

Reactively adds key to this reactive map using the value returned by ifAbsent, if key does not already exist.

Implementation

ComputedMap<K, V> putIfAbsent(
    K key, V Function() ifAbsent);