MCPcopy Create free account
hub / github.com/davidgiven/luje / removeRange

Method removeRange

lib/java/util/AbstractList.java:329–340  ·  view source on GitHub ↗
(int start, int end)

Source from the content-addressed store, hash-verified

327 }
328
329 @Override
330 protected void removeRange(int start, int end) {
331 if (start != end) {
332 if (modCount == fullList.modCount) {
333 fullList.removeRange(start + offset, end + offset);
334 size -= end - start;
335 modCount = fullList.modCount;
336 } else {
337 throw new ConcurrentModificationException();
338 }
339 }
340 }
341
342 @Override
343 public E set(int location, E object) {

Callers

nothing calls this directly

Calls 1

removeRangeMethod · 0.45

Tested by

no test coverage detected