Delete

data class Delete<T>(val start: Int, val count: Int = 1) : Patch<T>

A Patch saying, that one or more elements have been deleted

Parameters

start

the index of the first element, that has been deleted

count

the number of elements, that have to be deleted

Constructors

Link copied to clipboard
fun Delete(start: Int, count: Int = 1)

Functions

Link copied to clipboard
open override fun <R> map(parentJob: Job, mapping: (T, Job) -> R): Patch<R>

nothing to be mapped here...

Properties

Link copied to clipboard
val count: Int = 1
Link copied to clipboard
val start: Int