addAll(context) {
    assert(context.count === this.count);

    const source = context.segmentsList;

    for (let i = 0; i < source.length; ++i) {
      this.segmentsList.push(source[i]);
    }
  }
Adds all segments of a given fork context into this context.
@param {ForkContext} context A fork context to add.
@returns {void}