Scoop API

scoop:scoop.core:0.1.0

MutableList

interface MutableList

source · line 24
public
public interface MutableList<T> : List<T>, IndexSet<Long, T>

An ordered collection supporting element replacement, insertion, removal, and clearing.

Extensions

function removeAt

source · line 41
public
public fun removeAt(index: Long): T

Removes and returns the element at the supplied index, shifting later elements toward the beginning.

function add

source · line 32
public
public fun add(value: T): Unit

Appends an element, or inserts it at the supplied position and shifts later elements.