code: public void setDenseComponent(int component, double[] values) {
      if (component >= pointers.length) {
        increaseSizeTo(component + 1);
      }
      pointers[component] = values;
      sparse[component] = false;
      copyOnWrite[component] = true;
    }
docs: Sets a single component of the concat vector value as a dense vector. This will make a copy of you values array,
  so you're free to continue mutating it.
  
  @param component the index of the component to set
  @param values    the array of dense values to put into the component