docs: @Override
      public void setValue(int attributeIndex, double d) {
          int index = locateIndex(attributeIndex);
          if (index(index) == attributeIndex) {
              this.attributeValues[index] = d;
          } else {
              // We need to add the value
          }
      }