Rachel
Toggle table of contents
3.5.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Rachel
love.yinlin.compose.startup.config
/
love.yinlin.compose.config
/
CollectionState
Collection
State
@
Stable
abstract
class
CollectionState
<
C
,
RC
:
C
>
(
kv
:
StartupKV
,
name
:
String
,
version
:
String
?
=
null
,
serializer
:
KSerializer
<
C
>
,
stateFactory
:
(
C
)
->
RC
,
defaultFactory
:
(
)
->
C
)
:
ConfigState
Inheritors
ListState
MapState
Members
Constructors
Collection
State
Link copied to clipboard
constructor
(
kv
:
StartupKV
,
name
:
String
,
version
:
String
?
=
null
,
serializer
:
KSerializer
<
C
>
,
stateFactory
:
(
C
)
->
RC
,
defaultFactory
:
(
)
->
C
)
Properties
is
Empty
Link copied to clipboard
abstract
val
isEmpty
:
Boolean
is
Not
Empty
Link copied to clipboard
abstract
val
isNotEmpty
:
Boolean
items
Link copied to clipboard
val
items
:
C
size
Link copied to clipboard
abstract
val
size
:
Int