code: public static <T> CloseableIterator<List<T>> paddedParition(final CloseableIterator<T> iterator, final int size) {
          return wrap(Iterators.paddedPartition(iterator, size), iterator);
      }
docs: Divides a closeableiterator into unmodifiable sublists of the given size, padding
  the final iterator with null values if necessary. For example, partitioning
  a closeable iterator containing {@code [a, b, c, d, e]} with a partition size of 3
  yields {@code [[a, b, c], [d, e, null]]} -- an outer iterator containing
  two inner lists of three elements each, all in the original order.
  <p/>
  <p>The returned lists implement {@link java.util.RandomAccess}.