All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.velocidi.apso.iterator.Implicits.scala Maven / Gradle / Ivy

The newest version!
package com.velocidi.apso.iterator

import scala.collection.BufferedIterator

/** Object containing implicit classes and methods of general purpose on iterators.
  */
object Implicits {

  /** Implicit conversion from a `BufferedIterator` to a `MergedBufferedIterator`.
    */
  final implicit def toMergeBufferedIterator[T: Ordering](it: BufferedIterator[T]): MergedBufferedIterator[T] =
    MergedBufferedIterator(List(it))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy