InsertMany

data class InsertMany<T>(elements: List<T>, 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

InsertMany
Link copied to clipboard
js
fun <T> InsertMany(elements: List<T>, index: Int)
the new elements that have been inserted

Functions

component1
Link copied to clipboard
js
operator fun component1(): List<T>
component2
Link copied to clipboard
js
operator fun component2(): Int
copy
Link copied to clipboard
js
fun copy(elements: List<T>, index: Int): Patch.InsertMany<T>
equals
Link copied to clipboard
js
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
js
open override fun hashCode(): Int
map
Link copied to clipboard
js
open override fun <R> map(parentJob: Job, mapping: (T, Job) -> R): Patch<R>
maps each of the new elements
toString
Link copied to clipboard
js
open override fun toString(): String

Properties

elements
Link copied to clipboard
js
val elements: List<T>
the new elements that have been inserted
index
Link copied to clipboard
js
val index: Int
the elements have been inserted at this index