(a container)
| 789 | } |
| 790 | |
| 791 | func (bc *bitmapContainer) intersects(a container) bool { |
| 792 | switch x := a.(type) { |
| 793 | case *arrayContainer: |
| 794 | return bc.intersectsArray(x) |
| 795 | case *bitmapContainer: |
| 796 | return bc.intersectsBitmap(x) |
| 797 | case *runContainer16: |
| 798 | return x.intersects(bc) |
| 799 | |
| 800 | } |
| 801 | panic("unsupported container type") |
| 802 | } |
| 803 | |
| 804 | func (bc *bitmapContainer) iand(a container) container { |
| 805 | switch x := a.(type) { |
nothing calls this directly
no test coverage detected