(a container)
| 458 | } |
| 459 | |
| 460 | func (bc *bitmapContainer) or(a container) container { |
| 461 | switch x := a.(type) { |
| 462 | case *arrayContainer: |
| 463 | return bc.orArray(x) |
| 464 | case *bitmapContainer: |
| 465 | return bc.orBitmap(x) |
| 466 | case *runContainer16: |
| 467 | if x.isFull() { |
| 468 | return x.clone() |
| 469 | } |
| 470 | return x.orBitmapContainer(bc) |
| 471 | } |
| 472 | panic("unsupported container type") |
| 473 | } |
| 474 | |
| 475 | func (bc *bitmapContainer) orCardinality(a container) int { |
| 476 | switch x := a.(type) { |
nothing calls this directly
no test coverage detected