/guava/android/guava/src/com/google/common/collect/Iterators.java
checkNotNull( predicate, "predicate") ;checkNotNull( iterator) ;
checkNotNull ( iterator ) ;
return Iterables.<T>toArray(list, type); } @CanIgnoreReturnValue public static <T extends @Nullable Object> boolean addAll( Collection<T> addTo, Iterator<? extends T> iterator) { checkNotNull(addTo); <extra_id_0> boolean wasModified = false; while (iterator.hasNext()) { wasModified |= addTo.add(iterator.next()); } return wasModified; }