BitSet

constructor(length: Int, initializer: (Int) -> Boolean)(source)

Creates a bit set of given length filling elements using initializer


constructor(size: Int = ELEMENT_SIZE)(source)

creates an empty bit set with the specified size

Parameters

size

the size of one element in the array used to store bits.