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

loci.compatibility.Iterable.scala Maven / Gradle / Ivy

The newest version!
package loci
package compatibility

object iterable {
  @inline private[loci] def collectFirst[T, U](iterable: IterableOnce[T])(pf: PartialFunction[T, U]) =
    iterable collectFirst pf

  @inline private[loci] def exists[T](iterable: IterableOnce[T])(p: T => Boolean) =
    iterable exists p
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy