ImpliedKeysRegistry

A registry that stores keys that can be implied from other keys, along with their mapping functions.

This allows defining relationships between keys where the presence of one key implies the presence of other keys, with values computed from the source value.

Type Parameters

I

The type of the source value from which implied keys can be derived.

Inheritors

Types

Link copied to clipboard

An empty implied keys registry that contains no implied keys.

Functions

Link copied to clipboard
abstract operator fun contains(registryKey: RegistryKey<*>): Boolean

Checks if this registry contains the specified key.

Link copied to clipboard
abstract operator fun <T> get(registryKey: RegistryKey<out T>): (I) -> T

Gets the mapping function for the specified key.

Link copied to clipboard
abstract operator fun iterator(): Iterator<ImplicationRegistration<I, *>>