Mutable Vector
inline fun <T> MutableVector(size: Int, noinline init: (Int) -> T): MutableVector<T>
Content copied to clipboard
Create a MutableVector with a given size, initialiing each element using the init function.
init is called for each element in the MutableVector, starting from the first one and should return the value to be assigned to the element at its given index.