core
/
dev.fritz2.binding
/
Patch
js
Patch
sealed class
Patch
<out
T
>
Content copied to clipboard
A
Patch
describes the changes made to a
List
.
Types
Functions
Inheritors
Types
Delete
Link copied to clipboard
js
data class
Delete
<
T
>(start:
Int
, count:
Int
) :
Patch
<
T
>
Content copied to clipboard
A
Patch
saying, that one or more elements have been deleted
Insert
Link copied to clipboard
js
data class
Insert
<
T
>(element:
T
, index:
Int
) :
Patch
<
T
>
Content copied to clipboard
A
Patch
saying, that a new element has been inserted
InsertMany
Link copied to clipboard
js
data class
InsertMany
<
T
>(elements:
List
<
T
>, index:
Int
) :
Patch
<
T
>
Content copied to clipboard
A
Patch
saying, that a several element have been inserted
Move
Link copied to clipboard
js
data class
Move
<
T
>(from:
Int
, to:
Int
) :
Patch
<
T
>
Content copied to clipboard
A
Patch
saying, that an element has been moved from one position to another.
Functions
equals
Link copied to clipboard
js
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
js
open fun
hashCode
():
Int
Content copied to clipboard
map
Link copied to clipboard
js
abstract fun <
R
>
map
(parentJob:
Job
, mapping: (
T
,
Job
) ->
R
):
Patch
<
R
>
Content copied to clipboard
a convenience-method, to map the values encapsulated in a
Patch
toString
Link copied to clipboard
js
open fun
toString
():
String
Content copied to clipboard
Inheritors
Patch
Link copied to clipboard
Patch
Link copied to clipboard
Patch
Link copied to clipboard
Patch
Link copied to clipboard