← ZIO Prelude docs

Ordering

zio.prelude.Ordering
See theOrdering companion trait
object Ordering

Attributes

Companion
trait
Source
Ord.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Ordering.type

Members list

Type members

Classlikes

case object Equals extends Ordering, Comparison

Attributes

Source
Ord.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Comparison
trait Ordering
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Equals.type
case object GreaterThan extends Ordering, NotEqual

Attributes

Source
Ord.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait NotEqual
trait Comparison
trait Ordering
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object LessThan extends Ordering, NotEqual

Attributes

Source
Ord.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait NotEqual
trait Comparison
trait Ordering
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
LessThan.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Converts an integer result from scala.math.Ordering.compare or java.lang.Comparable to a Compare.

Converts an integer result from scala.math.Ordering.compare or java.lang.Comparable to a Compare.

Attributes

Source
Ord.scala

Implicits

Implicits

Hash and Ord instance for Ordering values.

Hash and Ord instance for Ordering values.

Attributes

Source
Ord.scala

Idempotent, Identity (and thus Associative) instance for Ordering values.

Idempotent, Identity (and thus Associative) instance for Ordering values.

Attributes

Source
Ord.scala