putIfAbsent

abstract fun putIfAbsent(ast: K, value: V): V?

Store a value for the ast only if nothing was previously associated. Return a previously associated value or null, if nothing was associated.