Iterators

object Iterators

Utilities and implicits for iterators. Nothing major.

class Object
trait Matchable
class Any

Value members

Concrete methods

def fromProducer[E](prod: => Option[E]): Iterator[E]
def merge[T](iters: Iterator[T]*)(compare: (T, T) => Int): Iterator[T]

Merges (ordered) iterators by returning the lesser element at the head of each, according to the given comparator. Ties go to the element from the first iterator.

Merges (ordered) iterators by returning the lesser element at the head of each, according to the given comparator. Ties go to the element from the first iterator.