InsertMany

class InsertMany<T>(val elements: List<T>, val index: Int) : Patch<T>

A Patch saying, that a several element have been inserted

Parameters

elements

the new elements that have been inserted

index

the elements have been inserted at this index

Constructors

Link copied to clipboard
constructor(elements: List<T>, index: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val index: Int

Functions

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

maps each of the new elements