MCPcopy Create free account
hub / github.com/antlr/codebuff / checkElements

Method checkElements

output/java_guava/1.4.16/Constraints.java:352–358  ·  view source on GitHub ↗
(Collection<E> elements, Constraint<? super E> constraint)

Source from the content-addressed store, hash-verified

350 */
351
352 private static <E> Collection<E> checkElements(Collection<E> elements, Constraint<? super E> constraint) {
353 Collection<E> copy = Lists.newArrayList(elements);
354 for (E element : copy) {
355 constraint.checkElement(element);
356 }
357 return copy;
358 }
359}

Callers 4

addAllMethod · 0.45
addAllMethod · 0.45
addAllMethod · 0.45
addAllMethod · 0.45

Calls 2

newArrayListMethod · 0.95
checkElementMethod · 0.65

Tested by

no test coverage detected