code: public void setRow(int row, double[] columns) {
          checkIndices(row, 0);
          AtomicSparseVector rowEntry = getRow(row, columns.length - 1, true);
          denseArrayReadLock.lock();
          for (int i = 0; i < columns.length; ++i)
              rowEntry.set(i, columns[i]);
          denseArrayReadLock.unlock();
      }
docs: {@inheritDoc}