Run-length encode an input iterator, replacing contiguous runs of identical elements with pairs consisting of the
first element in the run and the number of elements observed.
See RunLengthIteratorTest for examples.
Linear Supertypes
Iterator[(K, Int)], TraversableOnce[(K, Int)], GenTraversableOnce[(K, Int)], AnyRef, Any
Run-length encode an input iterator, replacing contiguous runs of identical elements with pairs consisting of the first element in the run and the number of elements observed.
See RunLengthIteratorTest for examples.