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

Method addAll

lib/java/util/Collections.java:2938–2945  ·  view source on GitHub ↗

@see java.util.List#addAll(int, Collection)

(int index, Collection<? extends E> c1)

Source from the content-addressed store, hash-verified

2936 * @see java.util.List#addAll(int, Collection)
2937 */
2938 @SuppressWarnings("unchecked")
2939 public boolean addAll(int index, Collection<? extends E> c1) {
2940 Object[] array = c1.toArray();
2941 for (Object o : array) {
2942 checkType(o, type);
2943 }
2944 return l.addAll(index, (List<E>) Arrays.asList(array));
2945 }
2946
2947 /**
2948 * @see java.util.List#get(int)

Callers

nothing calls this directly

Calls 4

asListMethod · 0.95
checkTypeMethod · 0.80
toArrayMethod · 0.65
addAllMethod · 0.65

Tested by

no test coverage detected