| 467 | } |
| 468 | |
| 469 | static Result<MergedRunsIterator> MakeBegin(const Left& left, const Right& right) { |
| 470 | if (left.length() != right.length()) { |
| 471 | return Status::Invalid( |
| 472 | "MergedRunsIterator expects RunEndEncodedArraySpans of the same length"); |
| 473 | } |
| 474 | return MergedRunsIterator(left, right); |
| 475 | } |
| 476 | |
| 477 | static Result<MergedRunsIterator> MakeEnd(const Left& left, const Right& right) { |
| 478 | if (left.length() != right.length()) { |
nothing calls this directly
no test coverage detected