Ordering

scas.math.Ordering
See theOrdering companion trait
object Ordering

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ordering.type

Members list

Type members

Classlikes

object Byte extends ByteOrdering

Attributes

Supertypes
trait ByteOrdering
trait Ordering[Byte]
trait PartialOrdering[Byte]
trait Equiv[Byte]
trait Ordering[Byte]
trait PartialOrdering[Byte]
trait Equiv[Byte]
trait Serializable
trait Comparator[Byte]
class Object
trait Matchable
class Any
Show all
Self type
Byte.type
trait ByteOrdering extends Ordering[Byte]

Attributes

Supertypes
trait Ordering[Byte]
trait PartialOrdering[Byte]
trait Equiv[Byte]
trait Ordering[Byte]
trait PartialOrdering[Byte]
trait Equiv[Byte]
trait Serializable
trait Comparator[Byte]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Byte
object Int extends IntOrdering

Attributes

Supertypes
trait IntOrdering
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Serializable
trait Comparator[Int]
class Object
trait Matchable
class Any
Show all
Self type
Int.type
trait IntOrdering extends Ordering[Int]

Attributes

Supertypes
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Ordering[Int]
trait PartialOrdering[Int]
trait Equiv[Int]
trait Serializable
trait Comparator[Int]
class Object
trait Matchable
class Any
Show all
Known subtypes
object IntIsIntegral
object Int
object Long extends LongOrdering

Attributes

Supertypes
trait LongOrdering
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Serializable
trait Comparator[Long]
class Object
trait Matchable
class Any
Show all
Self type
Long.type
trait LongOrdering extends Ordering[Long]

Attributes

Supertypes
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Ordering[Long]
trait PartialOrdering[Long]
trait Equiv[Long]
trait Serializable
trait Comparator[Long]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Long
object Short extends ShortOrdering

Attributes

Supertypes
trait Ordering[Short]
trait PartialOrdering[Short]
trait Equiv[Short]
trait Ordering[Short]
trait PartialOrdering[Short]
trait Equiv[Short]
trait Serializable
trait Comparator[Short]
class Object
trait Matchable
class Any
Show all
Self type
Short.type
trait ShortOrdering extends Ordering[Short]

Attributes

Supertypes
trait Ordering[Short]
trait PartialOrdering[Short]
trait Equiv[Short]
trait Ordering[Short]
trait PartialOrdering[Short]
trait Equiv[Short]
trait Serializable
trait Comparator[Short]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Short

Value members

Concrete methods

def by[T, S](f: T => S)(using ord: Ordering[S]): Ordering[T]

Givens

Givens

given Byte: Byte
given Int: Int
given Long: Long
given Short: Short