# | Line 528 | Line 528 | public class CopyOnWriteArrayList<E> | |
---|---|---|
528 | * @param fromIndex index of first element to be removed | |
529 | * @param toIndex index after last element to be removed | |
530 | * @throws IndexOutOfBoundsException if fromIndex or toIndex out of range | |
531 | < | * ({@code{fromIndex < 0 || toIndex > size() || toIndex < fromIndex}) |
531 | > | * ({@code fromIndex < 0 || toIndex > size() || toIndex < fromIndex}) |
532 | */ | |
533 | void removeRange(int fromIndex, int toIndex) { | |
534 | final ReentrantLock lock = this.lock; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |