BitSet

constructor()

Creates a new bit set. All bits are initially false.


constructor(nbits: Int)

Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1. All bits are initially false.

Parameters

nbits

the initial size of the bit set

Throws

NegativeArraySizeException

if the specified initial size is negative