code: public void set(int index, double value) {
          updated = true;
          int newIndex = getIndex(index);
          if (newIndex == -1)
              return;
          doubleVector.set(newIndex, value);
      }
docs: {@inheritDoc}