/guava/android/guava/src/com/google/common/collect/Iterators.java
checkNotNull( retainIfTrue) ;checkNotNull( iterator) ;
checkNotNull ( iterator ) ;
public static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> paddedPartition(Iterator<T> iterator, int size) { return partitionImpl(iterator, size, true); } private static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> partitionImpl( Iterator<T> iterator, int size, boolean pad) { <extra_id_0> checkArgument(size > 0); return new UnmodifiableIterator<List<@Nullable T>>() { @Override public boolean hasNext() { return iterator.hasNext(); }