intellij-randomness / com.fwdekker.randomness.ui / EditableDatum

EditableDatum

data class EditableDatum<T>

An entry in the table.

Associates a datum with a boolean that indicates whether the datum is active. The datum can be "edited" by changing its reference to another datum.

Parameters

T - the type of datum

Constructors

<init>

EditableDatum(active: Boolean, datum: T)

An entry in the table.

Properties

active

var active: Boolean

whether the entry is active

datum

var datum: T

a reference to a piece of data