AssociatedProperties

Associations between a key of type T and a PropertyContainer.

Example usage:

val properties: AssociatedProperties<K> = ...
val key: K = ...
val value = properties.of(key)[MyProperty]

Parameters

T

the type of key elements

V

the type of values in the PropertyContainer

See also

Inheritors

Functions

Link copied to clipboard
abstract fun of(key: T): PropertyContainer<V>

Retrieves the PropertyContainer associated with the given key, also registering an empty new one to it if it doesn't exist.