Packages

object Sortable

Companion object for Sortable that provides implicit implementations for the following types:

  • scala.collection.GenSeq
  • Array
  • java.util.List
Source
Sortable.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sortable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def sortableNatureOfArray[E](implicit ordering: Ordering[E]): Sortable[Array[E]]

    Enable Sortable implementation for Array

    Enable Sortable implementation for Array

    E

    type of elements in the Array

    ordering

    scala.math.Ordering of type E

    returns

    Sortable[Array[E]] that supports Array in be sortable syntax

  2. implicit def sortableNatureOfJavaList[E, JLIST[e] <: List[e]](implicit ordering: Ordering[E]): Sortable[JLIST[E]]

    Enable Sortable implementation for java.util.List

    Enable Sortable implementation for java.util.List

    E

    type of elements in the java.util.List

    JLIST

    any subtype of java.util.List

    ordering

    scala.math.Ordering of type E

    returns

    Sortable[JLIST[E]] that supports java.util.List in be sortable syntax

  3. implicit def sortableNatureOfSeq[E, SEQ[e] <: GenSeq[e]](implicit ordering: Ordering[E]): Sortable[SEQ[E]]

    Enable Sortable implementation for scala.collection.GenSeq

    Enable Sortable implementation for scala.collection.GenSeq

    E

    type of elements in the scala.collection.GenSeq

    SEQ

    any subtype of scala.collection.GenSeq

    ordering

    scala.math.Ordering of type E

    returns

    Sortable[SEQ[E]] that supports scala.collection.GenSeq in be sortable syntax

  4. implicit def sortableNatureOfString(implicit ordering: Ordering[Char]): Sortable[String]

    Enable Sortable implementation for String

    Enable Sortable implementation for String

    ordering

    scala.math.Ordering of type Char

    returns

    Sortable[String] that supports String in be sortable syntax