Or will bitwise or two bit arrays and return a new bit array representing the result.
(other BitArray)
| 218 | // Or will bitwise or two bit arrays and return a new bit array |
| 219 | // representing the result. |
| 220 | func (ba *bitArray) Or(other BitArray) BitArray { |
| 221 | if dba, ok := other.(*bitArray); ok { |
| 222 | return orDenseWithDenseBitArray(ba, dba) |
| 223 | } |
| 224 | |
| 225 | return orSparseWithDenseBitArray(other.(*sparseBitArray), ba) |
| 226 | } |
| 227 | |
| 228 | // And will bitwise and two bit arrays and return a new bit array |
| 229 | // representing the result. |
nothing calls this directly
no test coverage detected