toggle menu
0.13.0-SNAPSHOT
0.13.0-SNAPSHOT
0.12.5
jvm
switch theme
search in API
modulecheck-utils:lazy
/
modulecheck.utils.lazy.internal
/
LazySetImpl
Lazy
Set
Impl
internal
class
LazySetImpl
<
E
>
(
cache
:
Set
<
E
>
,
sources
:
List
<
LazySet.DataSource
<
E
>
>
)
:
AbstractFlow
<
E
>
,
LazySet
<
E
>
(
source
)
Members
Members & Extensions
Constructors
Lazy
Set
Impl
Link copied to clipboard
constructor
(
cache
:
Set
<
E
>
,
sources
:
List
<
LazySet.DataSource
<
E
>
>
)
Properties
is
Fully
Cached
Link copied to clipboard
open
override
val
isFullyCached
:
Boolean
state
Link copied to clipboard
internal
val
state
:
AtomicReference
<
LazySet.State
<
E
>
>
Functions
as
Data
Source
Link copied to clipboard
fun
<
E
>
Flow
<
E
>
.
asDataSource
(
priority
:
LazySet.DataSource.Priority
=
MEDIUM
)
:
LazySet.DataSource
<
E
>
collect
Link copied to clipboard
suspend override
fun
collect
(
collector
:
FlowCollector
<
E
>
)
collect
Safely
Link copied to clipboard
open
suspend override
fun
collectSafely
(
collector
:
FlowCollector
<
E
>
)
contains
Link copied to clipboard
open
suspend override
fun
contains
(
element
:
Any
?
)
:
Boolean
contains
Any
Link copied to clipboard
open
suspend override
fun
containsAny
(
other
:
LazySet
<
Any
?
>
)
:
Boolean
contains
Any
Link copied to clipboard
suspend
fun
<
T
:
B
,
E
:
B
,
B
>
LazySet
<
T
>
.
containsAny
(
elements
:
Collection
<
E
>
)
:
Boolean
get
Or
Null
Link copied to clipboard
inline suspend
fun
<
T
:
E
,
E
>
LazySet
<
E
>
.
getOrNull
(
element
:
E
)
:
T
?
is
Empty
Link copied to clipboard
open
suspend override
fun
isEmpty
(
)
:
Boolean
is
Not
Empty
Link copied to clipboard
open
suspend override
fun
isNotEmpty
(
)
:
Boolean
remaining
Flow
Link copied to clipboard
private
fun
LazySet.State
<
E
>
.
remainingFlow
(
)
:
Flow
<
Set
<
E
>
>
snapshot
Link copied to clipboard
open
override
fun
snapshot
(
)
:
LazySet.State
<
E
>
to
Lazy
Set
Link copied to clipboard
fun
<
E
>
Flow
<
E
>
.
toLazySet
(
priority
:
LazySet.DataSource.Priority
=
MEDIUM
)
:
LazySet
<
E
>
update
Cache
Link copied to clipboard
private
fun
updateCache
(
new
:
Set
<
E
>
,
completed
:
List
<
LazySet.DataSource
<
E
>
>
)