Identities

class Identities(val dynamicKind: IdKind) : IIdentities

Deprecated

Use SequentialIdentities instead

Replace with

SequentialIdentities(dynamicKind)

Legacy implementation of IIdentities that mixes parent ID into dynamic IDs. This approach can cause ID collisions. Use SequentialIdentities instead.

Constructors

Link copied to clipboard
constructor(dynamicKind: IdKind)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val dynamicKind: IdKind

Functions

Link copied to clipboard
fun mix(rdId: RdId, tail: Int): RdId
fun mix(rdId: RdId, tail: Long): RdId

open override fun mix(rdId: RdId, tail: String): RdId

Creates a stable identifier by mixing the parent ID with a string key.

Link copied to clipboard
open override fun next(parent: RdId): RdId

Generates the next unique dynamic identifier for a runtime-created entity.