toggle menu
Affogato
1.10.2
jvm
switch theme
search in API
affogato-structure
/
com.parsuomash.affogato.structure.lazy_object
Package-level
declarations
Types
Types
Instance
Holder
Link copied to clipboard
abstract
class
InstanceHolder
<
T
>
Instance holder store an instance of class to create object.
Singleton
Holder
Link copied to clipboard
open
class
SingletonHolder
<
R
:
Any
,
in
T
>
(
creator
:
(
T
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder10
Link copied to clipboard
open
class
SingletonHolder10
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
,
in
T6
,
in
T7
,
in
T8
,
in
T9
,
in
T10
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
,
T6
,
T7
,
T8
,
T9
,
T10
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder2
Link copied to clipboard
open
class
SingletonHolder2
<
R
:
Any
,
in
T1
,
in
T2
>
(
creator
:
(
T1
,
T2
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder3
Link copied to clipboard
open
class
SingletonHolder3
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
>
(
creator
:
(
T1
,
T2
,
T3
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder4
Link copied to clipboard
open
class
SingletonHolder4
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder5
Link copied to clipboard
open
class
SingletonHolder5
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder6
Link copied to clipboard
open
class
SingletonHolder6
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
,
in
T6
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
,
T6
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder7
Link copied to clipboard
open
class
SingletonHolder7
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
,
in
T6
,
in
T7
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
,
T6
,
T7
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder8
Link copied to clipboard
open
class
SingletonHolder8
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
,
in
T6
,
in
T7
,
in
T8
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
,
T6
,
T7
,
T8
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.
Singleton
Holder9
Link copied to clipboard
open
class
SingletonHolder9
<
R
:
Any
,
in
T1
,
in
T2
,
in
T3
,
in
T4
,
in
T5
,
in
T6
,
in
T7
,
in
T8
,
in
T9
>
(
creator
:
(
T1
,
T2
,
T3
,
T4
,
T5
,
T6
,
T7
,
T8
,
T9
)
->
R
)
:
InstanceHolder
<
R
>
Create lazy singleton.