docs: @Override
    protected void removeRange(int fromIndex, int toIndex) {
      rangeCheck(fromIndex, toIndex);
      for (int i = fromIndex, j = toIndex; j < size; j++) {
        elements[i] = elements[j];
      }
      size -= (toIndex - fromIndex);
    }