Utils
object Utils
Value members
Concrete methods
@inline
final def filterOutAndSortByName[A](as: Iterable[A])(f: A => Boolean, name: A => String): Iterable[A]
Fit an index within the acceptable window of indices.
Fit an index within the acceptable window of indices.
- Value parameters:
- i
The index needing correction.
- length
The length of the collection. Must be > 0.
- Returns:
0 ≤ new-index < length
def mergeSets[A : UnivEq](v: Set[_ <: A], w: Set[_ <: A], x: Set[_ <: A], y: Set[_ <: A], z: Set[_ <: A]): Set[A]
def partitionBetween[F <: (Iterable), A](as: F[A])(split: (A, A) => Boolean)(implicit cbf: Factory[A, F[A]]): (F[A], F[A])
def partitionConsecutive[F <: (Iterable), A](as: F[A])(implicit cbf: Factory[A, F[A]], n: Numeric[A]): (F[A], F[A])
def partitionConsecutiveBy[F <: (Iterable), A, B](as: F[A])(f: A => B)(implicit cbf: Factory[A, F[A]], n: Numeric[B]): (F[A], F[A])
Pattern.quote doesn't work in Scala.JS.
Pattern.quote doesn't work in Scala.JS.
http://stackoverflow.com/questions/2593637/how-to-escape-regular-expression-in-javascript
def sideBySideStringSeqs(vec1: IndexedSeq[String], vec2: IndexedSeq[String], sep: String): Vector[String]