SynchronizedLazyVar

private class SynchronizedLazyVar<T>(initializer: () -> T) : ReadWriteProperty<Any?, T> (source)

Constructors

Link copied to clipboard
constructor(initializer: () -> T)

Properties

Link copied to clipboard
private var initializer: () -> T?
Link copied to clipboard
private var isSet: Boolean
Link copied to clipboard
private var value: Any?

Functions

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