(a container)
| 777 | } |
| 778 | |
| 779 | func (bc *bitmapContainer) andCardinality(a container) int { |
| 780 | switch x := a.(type) { |
| 781 | case *arrayContainer: |
| 782 | return bc.andArrayCardinality(x) |
| 783 | case *bitmapContainer: |
| 784 | return bc.andBitmapCardinality(x) |
| 785 | case *runContainer16: |
| 786 | return x.andBitmapContainerCardinality(bc) |
| 787 | } |
| 788 | panic("unsupported container type") |
| 789 | } |
| 790 | |
| 791 | func (bc *bitmapContainer) intersects(a container) bool { |
| 792 | switch x := a.(type) { |
nothing calls this directly
no test coverage detected