Acrobits SDK
Toggle table of contents
26.1.0
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Acrobits SDK
Commons
/
cz.acrobits.commons.ref
/
Lazy
Lazy
open
class
Lazy
<
T
>
:
Supplier
<
T
>
Holder of a value that is computed only once and lazily when getter is called.
Members
Constructors
Lazy
Link copied to clipboard
constructor
(
@
NonNull
supplier
:
Supplier
<
T
>
)
Functions
get
Link copied to clipboard
open
fun
get
(
)
:
T
of
Link copied to clipboard
@
NonNull
@
Contract
(
value
=
"_ -> new"
,
pure
=
true
)
open
fun
<
T
>
of
(
@
NonNull
supplier
:
Supplier
<
T
>
)
:
Lazy
<
T
>