AttributesJs

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val allKeys: List<AttributeKey<*>>

Functions

Link copied to clipboard
open override fun <T : Any> computeIfAbsent(key: AttributeKey<T>, block: () -> T): T
Link copied to clipboard
open operator override fun contains(key: AttributeKey<*>): Boolean
Link copied to clipboard
open operator fun <T : Any> get(key: AttributeKey<T>): T
Link copied to clipboard
open override fun <T : Any> getOrNull(key: AttributeKey<T>): T?
Link copied to clipboard
open override fun <T : Any> put(key: AttributeKey<T>, value: T)
Link copied to clipboard

Adds all attributes from another collection, replacing original values if any.

Link copied to clipboard
open override fun <T : Any> remove(key: AttributeKey<T>)
Link copied to clipboard
open fun <T : Any> take(key: AttributeKey<T>): T
Link copied to clipboard
open fun <T : Any> takeOrNull(key: AttributeKey<T>): T?