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

Method addAll

lib/java/util/AbstractList.java:256–271  ·  view source on GitHub ↗
(int location, Collection<? extends E> collection)

Source from the content-addressed store, hash-verified

254 }
255
256 @Override
257 public boolean addAll(int location, Collection<? extends E> collection) {
258 if (modCount == fullList.modCount) {
259 if (0 <= location && location <= size) {
260 boolean result = fullList.addAll(location + offset,
261 collection);
262 if (result) {
263 size += collection.size();
264 modCount = fullList.modCount;
265 }
266 return result;
267 }
268 throw new IndexOutOfBoundsException();
269 }
270 throw new ConcurrentModificationException();
271 }
272
273 @Override
274 public boolean addAll(Collection<? extends E> collection) {

Callers

nothing calls this directly

Calls 2

addAllMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected