docs: @Override
      public double value(int indexAttribute) {
          int location = locateIndex(indexAttribute);
          if ((location >= 0) && (indexValues[location] == indexAttribute)) {
              return attributeValues[location];
          } else {
              // returns a NaN value which represents missing values instead of a 0 (zero)
              return Double.NaN;
          }
      }