alchemist
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.util
/
LazyMutable
Lazy
Mutable
class
LazyMutable
<
T
>
(
initializer
:
(
)
->
T
)
:
ReadWriteProperty
<
Any
?
,
T
>
A delegate allowing to lazily initialise a non-null mutable variable (= var).
Members
Constructors
Lazy
Mutable
Link copied to clipboard
constructor
(
initializer
:
(
)
->
T
)
Functions
get
Value
Link copied to clipboard
open
operator override
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
open
operator override
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)