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

Method addAll

lib/java/util/Collections.java:2788–2795  ·  view source on GitHub ↗

@see java.util.Collection#addAll(Collection)

(Collection<? extends E> c1)

Source from the content-addressed store, hash-verified

2786 * @see java.util.Collection#addAll(Collection)
2787 */
2788 @SuppressWarnings("unchecked")
2789 public boolean addAll(Collection<? extends E> c1) {
2790 Object[] array = c1.toArray();
2791 for (Object o : array) {
2792 checkType(o, type);
2793 }
2794 return c.addAll((List<E>) Arrays.asList(array));
2795 }
2796
2797 /**
2798 * @see java.util.Collection#removeAll(Collection)

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