(a container)
| 565 | } |
| 566 | |
| 567 | func (ac *arrayContainer) andCardinality(a container) int { |
| 568 | switch x := a.(type) { |
| 569 | case *arrayContainer: |
| 570 | return ac.andArrayCardinality(x) |
| 571 | case *bitmapContainer: |
| 572 | return x.andCardinality(ac) |
| 573 | case *runContainer16: |
| 574 | return x.andArrayCardinality(ac) |
| 575 | } |
| 576 | panic("unsupported container type") |
| 577 | } |
| 578 | |
| 579 | func (ac *arrayContainer) intersects(a container) bool { |
| 580 | switch x := a.(type) { |
nothing calls this directly
no test coverage detected