replaceValues(key, values) {
    this.removeAll(key);
    this.addAllValues(key, values);
  }
Replaces all the values for the given key with the given values.
@param {K} key The key whose values are to be replaced.
@param {!Array<V>} values The new values. If empty, this is
    equivalent to `removeAll(key)`.