From the Java docs I see the "The List interface provides two methods to efficiently insert and remove multiple elements at an arbitrary point in the list.". Presumably
- addAll(int index, Collection<? extends E> c) What's the second method?
Or is this in reference to removeAll(Collection<?> c) and addAll(Collection<? extends E> c)?
https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/util/List.html