(/*...collections*/)
| 636 | }, |
| 637 | |
| 638 | interleave(/*...collections*/) { |
| 639 | const collections = [this].concat(arrCopy(arguments)); |
| 640 | const zipped = zipWithFactory(this.toSeq(), IndexedSeq.of, collections); |
| 641 | const interleaved = zipped.flatten(true); |
| 642 | if (zipped.size) { |
| 643 | interleaved.size = zipped.size * collections.length; |
| 644 | } |
| 645 | return reify(this, interleaved); |
| 646 | }, |
| 647 | |
| 648 | keySeq() { |
| 649 | return Range(0, this.size); |