← ZIO Prelude docs

Equals

zio.prelude.Ordering.Equals
case object Equals extends Ordering, Comparison

Attributes

Source
Ord.scala
Graph
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

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Inherited methods

final def <>(that: => Ordering): Ordering

A symbolic alias for orElse.

A symbolic alias for orElse.

Attributes

Inherited from:
Ordering
Source
Ord.scala
final def <>(that: => PartialOrdering): PartialOrdering

A symbolic alias for orElse.

A symbolic alias for orElse.

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
final def isEqual: Boolean

Returns whether this Ordering is Ordering.Equals.

Returns whether this Ordering is Ordering.Equals.

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala
final def isGreaterThan: Boolean

Returns whether this Ordering is Ordering.GreaterThan.

Returns whether this Ordering is Ordering.GreaterThan.

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala
final def isLessThan: Boolean

Returns whether this Ordering is Ordering.LessThan.

Returns whether this Ordering is Ordering.LessThan.

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala
final def opposite: Ordering

Returns the opposite of this Ordering, with LessThan converted to GreaterThan and GreaterThan converted to LessThan.

Returns the opposite of this Ordering, with LessThan converted to GreaterThan and GreaterThan converted to LessThan.

Attributes

Inherited from:
Ordering
Source
Ord.scala
final def orElse(that: => Ordering): Ordering

Returns this ordering, but if this ordering is equal returns the specified ordering.

Returns this ordering, but if this ordering is equal returns the specified ordering.

Attributes

Inherited from:
Ordering
Source
Ord.scala
final def orElse(that: => PartialOrdering): PartialOrdering

Returns this ordering, but if this ordering is equal returns the specified ordering.

Returns this ordering, but if this ordering is equal returns the specified ordering.

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala
final def ordinal: Int

Converts this Ordering to an ordinal representation, with 0 representing LessThan, 1 representing Equals and 2 representing GreaterThan.

Converts this Ordering to an ordinal representation, with 0 representing LessThan, 1 representing Equals and 2 representing GreaterThan.

Attributes

Inherited from:
Ordering
Source
Ord.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
PartialOrdering
Source
Ord.scala