You have a function:
public static Iterator> partition(final Iterator iterator, final int partitionSize);
It takes the intial iterator and partitions it into partitionSize chunks returning an Iterator or Iterators. Pretty good so far.
But really I want to partition an Iterable into Iterable>. Figure out how to do this given the other function
(
Read more... )