docs: protected void ensureRestrictedIndex(final int index) {
          if (index < 0) throw new IndexOutOfBoundsException("Index (" + index + ") is negative");
          if (index >= size())
              throw new IndexOutOfBoundsException("Index (" + index + ") is greater than or equal to list size (" + (size()) + ")");
      }