or (BitSet)
Creates a new bitset as a result of OR 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,TRUE,TRUE,