Interface RegistryHolder<T,E>
- Type Parameters:
T- the registry's typeE- the type of the registry entry (for inlined values)
- All Known Subinterfaces:
RegistryHolder.Inlined<T,E>, RegistryHolder.Reference<T, E>
@Experimental
public sealed interface RegistryHolder<T,E>
permits RegistryHolder.Reference<T,E>, RegistryHolder.Inlined<T,E>
During the registry loading phase, some values can be references to values to-be-loaded
in the future, or inlined, anonymous values that already exist. This type (and subtypes) represent
that structure.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA holder that contains an inlined registry entry, an anonymous value (does not have a key).static interfaceA holder that references a registry value by key, but does not have the entry itself.