code: public static <T> CloseableIterable<List<T>> paddedParition(final CloseableIterable<T> iterable, final int size) {
          return wrap(Iterables.paddedPartition(iterable, size), iterable);
      }
docs: Divides a closeable iterable into unmodifiable sublists of the given size, padding
  the final list with null values if necessary. For example, partitioning
  a closeable iterable containing {@code [a, b, c, d, e]} with a partition size of 3
  yields {@code [[a, b, c], [d, e, null]]} -- an outer iterable containing
  two inner lists of three elements each, all in the original order.
  <p/>
  <p>Iterators returned by the returned closeableiterable do not support the {@link
  Iterator#remove()} method.