Packages

o

scala.math.Ordering

Implicits

object Implicits extends ExtraImplicits

An object containing implicits which are not in the default scope.

Source
Ordering.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Implicits
  2. ExtraImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def infixOrderingOps[T](x: T)(implicit ord: Ordering[T]): Ops

    This implicit creates a conversion from any value for which an implicit Ordering exists to the class which creates infix operations.

    This implicit creates a conversion from any value for which an implicit Ordering exists to the class which creates infix operations. With it imported, you can write methods as follows:

    def lessThan[T: Ordering](x: T, y: T) = x < y
    Definition Classes
    ExtraImplicits
  2. implicit def seqDerivedOrdering[CC[X] <: collection.Seq[X], T](implicit ord: Ordering[T]): Ordering[CC[T]]

    Not in the standard scope due to the potential for divergence: For instance implicitly[Ordering[Any]] diverges in its presence.

    Not in the standard scope due to the potential for divergence: For instance implicitly[Ordering[Any]] diverges in its presence.

    Definition Classes
    ExtraImplicits