docs: public int setInt(
          @DoNotSub final int index,
          final int element)
      {
          checkIndex(index);
  
          final int previous = elements[index];
          elements[index] = element;
  
          return previous;
      }