docs: protected void setValue(int newPosition, T1[] values, int number,
        boolean currentExisting) {
      if (number > 0) {
        T1 valueSum = null;
        T2 valueSumOfLogs = null;
        T1 valueSumOfSquares = null;
        T1 valueMin = null;
        T1 valueMax = null;
        for (int i = 0; i < number; i++) {
          valueSum = (i == 0) ? values[i] : operations.add11(valueSum, values[i]);
          valueSumOfLogs = (i == 0) ? operations.log1(values[i])
              : operations.add22(valueSumOfLogs, operations.log1(values[i]));
          valueSumOfSquares = (i == 0)
              ? operations.product11(values[i], values[i])
              : operations.add11(valueSumOfSquares,
                  operations.product11(values[i], values[i]));
          valueMin = (i == 0) ? values[i] : operations.min11(valueMin, values[i]);
          valueMax = (i == 0) ? values[i] : operations.max11(valueMax, values[i]);
        }
        setValue(newPosition, valueSum, valueSumOfLogs, valueSumOfSquares,
            valueMin, valueMax, number, currentExisting);
      }
    }