(Collection<E> elements, Constraint<? super E> constraint)
| 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 | } |
no test coverage detected