rd-core
2023.2.3
rd-core
/
com.jetbrains.rd.util.reactive
/
IViewableList
/
Event
/
Add
Add
class
Add
<
V
>
(
index
:
Int
,
val
newValue
:
V
)
:
IViewableList.Event
<
V
>
Content copied to clipboard
Constructors
Functions
Properties
Constructors
Add
Link copied to clipboard
fun
<
V
>
Add
(
index
:
Int
,
newValue
:
V
)
Content copied to clipboard
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
index
Link copied to clipboard
val
index
:
Int
Content copied to clipboard
new
Value
Link copied to clipboard
val
newValue
:
V
Content copied to clipboard
new
Value
Opt
Link copied to clipboard
val
newValueOpt
:
V
?
Content copied to clipboard
Returns the new value for add or update events, or null for removal events.