Nand will return the result of doing a bitwise and not of the bit array with the other bit array on each block.
(other BitArray)
| 278 | // Nand will return the result of doing a bitwise and not of the bit array |
| 279 | // with the other bit array on each block. |
| 280 | func (sba *sparseBitArray) Nand(other BitArray) BitArray { |
| 281 | if ba, ok := other.(*sparseBitArray); ok { |
| 282 | return nandSparseWithSparseBitArray(sba, ba) |
| 283 | } |
| 284 | |
| 285 | return nandSparseWithDenseBitArray(sba, other.(*bitArray)) |
| 286 | } |
| 287 | |
| 288 | func (sba *sparseBitArray) IsEmpty() bool { |
| 289 | // This works because the and, nand and delete functions only |
nothing calls this directly
no test coverage detected