get

abstract override fun get(key: Key): T

Gets a value by its namespaced key, or null if there is no value associated with the given key.

Return

the value, or null if not present

Parameters

key

the key


abstract override fun get(key: ResourceKey<T>): T

Gets a value by its resource key, or null if there is no value associated with the given key.

Return

the value, or null if not present

Parameters

key

the resource key