makeBitSet (BitSet)
Creates a new bitset for a given number of indexes, with initial indexes enumerated in a list.
Arguments
list
is a builtin-list with the initial indexes to set.size
is the maximum number of indexes in the BitSet being created.
Return values
The resulting
bitset
.
Complexity
O(size)
Example
Output:
FALSE
a=FALSE,FALSE,TRUE,TRUE,FALSE,