MutableIntGapBuffer

fun MutableIntGapBuffer(size: Int): MutableIntGapBuffer

Creates a MutableIntGapBuffer with a given size, where each cell is init at zero.

Throws

if the size is negative.


fun MutableIntGapBuffer(size: Int, init: (Int) -> Int): MutableIntGapBuffer

Creates a MutableIntGapBuffer with a given size, where each item is init.

Throws

if the size is negative.