A2uiComponentDefinitionCollection


public sealed interface A2uiComponentDefinitionCollection extends List<@NonNull A2uiComponentDefinition>


An immutable, indexed collection of A2uiComponentDefinitions registered within an A2uiCatalogDefinition.

Provides list-based access that enables iterator-free iteration using indices, as well as lookup by component name using the index operator.

Summary

Public methods

abstract A2uiComponentDefinition

Retrieves a component definition by its unique name.

Inherited methods

From kotlin.collections.Collection
From kotlin.collections.Iterable
From kotlin.collections.List

Public methods

get

Added in 1.0.0-alpha03
abstract A2uiComponentDefinition get(@NonNull String name)

Retrieves a component definition by its unique name.

Parameters
@NonNull String name

The name of the component.

Returns
A2uiComponentDefinition

The component definition, or null if it is not registered in this collection.