and (BitSet)
Creates a new bitset as a result of AND operation for operands.
Arguments
bitset0
and bitset1
are the operand BitSets. If their maximum sizes differ, an error will occur.
Return values
bitset2
is the resulting BitSet.
Complexity
O(size)
Example
Output:
a=FALSE,TRUE,TRUE,FALSE,
b=FALSE,TRUE,FALSE,TRUE,
c=FALSE,TRUE,FALSE,FALSE,