TransformedMutableField

class TransformedMutableField<V, R>(val prop: KMutableProperty0<V>, val transform: (V) -> R, val reverseTransform: (R) -> V)

Constructors

Link copied to clipboard
constructor(prop: KMutableProperty0<V>, transform: (V) -> R, reverseTransform: (R) -> V)

Properties

Link copied to clipboard
Link copied to clipboard
val reverseTransform: (R) -> V
Link copied to clipboard
val transform: (V) -> R

Functions

Link copied to clipboard
inline operator fun getValue(thisRef: Any?, property: KProperty<*>): R
Link copied to clipboard
inline operator fun setValue(thisRef: Any?, property: KProperty<*>, value: R)