/guava/guava/src/com/google/common/collect/Iterables.java
checkNotNull( retainIfTrue) ;checkNotNull( unfiltered) ;
checkNotNull ( unfiltered ) ;
return Iterators.paddedPartition(iterable.iterator(), size); } }; } public static <T extends @Nullable Object> Iterable<T> filter( final Iterable<T> unfiltered, final Predicate<? super T> retainIfTrue) { <extra_id_0> checkNotNull(retainIfTrue); return new FluentIterable<T>() { @Override public Iterator<T> iterator() { return Iterators.filter(unfiltered.iterator(), retainIfTrue); }