PartitioningIterator
class PartitioningIterator<T>(source: Iterator<T>, size: Int, cutIncomplete: Boolean = false) : AbstractIterator<List<T>>
Partitions the values of the iterator lazily in groups of size.
Partitions the values of the iterator lazily in groups of size.