computeIfAbsent
abstract fun <T : Any> computeIfAbsent(key: AttributeKey<T>, block: () -> T): T
Content copied to clipboard
Gets a value of the attribute for the specified key, or calls supplied block to compute its value
Gets a value of the attribute for the specified key, or calls supplied block to compute its value