Or will perform a bitwise or operation with the provided bitarray and return a new result bitarray.
(other BitArray)
| 258 | // Or will perform a bitwise or operation with the provided bitarray and |
| 259 | // return a new result bitarray. |
| 260 | func (sba *sparseBitArray) Or(other BitArray) BitArray { |
| 261 | if ba, ok := other.(*sparseBitArray); ok { |
| 262 | return orSparseWithSparseBitArray(sba, ba) |
| 263 | } |
| 264 | |
| 265 | return orSparseWithDenseBitArray(sba, other.(*bitArray)) |
| 266 | } |
| 267 | |
| 268 | // And will perform a bitwise and operation with the provided bitarray and |
| 269 | // return a new result bitarray. |
nothing calls this directly
no test coverage detected