Removes the objects in the specified range from the start to the end index minus one. @param start the index at which to start removing. @param end the index after the last element to remove. @throws UnsupportedOperationException if removing from this list is not s
(int start, int end)
| 651 | * if {@code start < 0} or {@code start >= size()}. |
| 652 | */ |
| 653 | protected void removeRange(int start, int end) { |
| 654 | Iterator<?> it = listIterator(start); |
| 655 | for (int i = start; i < end; i++) { |
| 656 | it.next(); |
| 657 | it.remove(); |
| 658 | } |
| 659 | } |
| 660 | |
| 661 | /** |
| 662 | * Replaces the element at the specified location in this list with the |
no test coverage detected