MaterializeState

Interface for objects that can materialize their state into a different representation.

This interface provides a contract for transforming the current state of an object into a materialized form, which could be a different data structure, format, or view suitable for storage, transmission, or presentation.

Parameters

MATERIALIZED

The type of the materialized representation.

Functions

Link copied to clipboard
abstract fun materialize(): MATERIALIZED

Materializes the current state into the target representation.