(value2 *bitmapContainer)
| 778 | } |
| 779 | |
| 780 | func (ac *arrayContainer) andNotBitmap(value2 *bitmapContainer) container { |
| 781 | desiredcapacity := ac.getCardinality() |
| 782 | answer := newArrayContainerCapacity(desiredcapacity) |
| 783 | answer.content = answer.content[:desiredcapacity] |
| 784 | pos := 0 |
| 785 | for _, v := range ac.content { |
| 786 | answer.content[pos] = v |
| 787 | pos += 1 - int(value2.bitValue(v)) |
| 788 | } |
| 789 | answer.content = answer.content[:pos] |
| 790 | return answer |
| 791 | } |
| 792 | |
| 793 | func (ac *arrayContainer) andBitmap(value2 *bitmapContainer) container { |
| 794 | desiredcapacity := ac.getCardinality() |
no test coverage detected