BitSet.and=
Performs AND operation for all indexes with another bitset of the same maximum size.
Arguments
bitset
to perform AND operation with. If maximum sizes of the bitsets differ, an error will occur.
Return values
None
Complexity
O(size)
Example
Output:
old a=FALSE,TRUE,TRUE,FALSE,
old b=FALSE,TRUE,FALSE,TRUE,
new a=FALSE,TRUE,FALSE,FALSE,