code: public void set(int index, double value) {
          if (isImmutable) 
              throw new UnsupportedOperationException(
                  "Cannot modify an immutable vector");
          doubleVector.set(getIndex(index), value);
      }
docs: {@inheritDoc}