ElementKey

data class ElementKey<T : Any>(val value: T)(source)

Immutable typed identity for a keyed element.

The wrapped value must have stable equality and hash-code behavior for the entire time it is used as a sibling key. Keys are compared only among direct children of one parent.

Type Parameters

T

the application-owned key value type.

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

the non-null key value.