Delete

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
constructor(start: Int, count: Int = 1)

Properties

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

Functions

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

nothing to be mapped here...