MutableGapBuffer
inline fun <T> MutableGapBuffer(size: Int, crossinline init: (Int) -> T): MutableGapBuffer<T>
Content copied to clipboard
Creates a MutableGapBuffer with a given size, where each item is init.
Throws
if the size is negative.