← ZIO Prelude docs

PartialOrdering

zio.prelude.PartialOrdering
See thePartialOrdering companion object
sealed trait PartialOrdering extends Product, Serializable

Attributes

Companion
object
Source
Ord.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Ordering
object Equals
object GreaterThan
object LessThan
object Incomparable
Self type

Members list

Value members

Concrete methods

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

A symbolic alias for orElse.

A symbolic alias for orElse.

Attributes

Source
Ord.scala
final def isEqual: Boolean

Returns whether this Ordering is Ordering.Equals.

Returns whether this Ordering is Ordering.Equals.

Attributes

Source
Ord.scala
final def isGreaterThan: Boolean

Returns whether this Ordering is Ordering.GreaterThan.

Returns whether this Ordering is Ordering.GreaterThan.

Attributes

Source
Ord.scala
final def isLessThan: Boolean

Returns whether this Ordering is Ordering.LessThan.

Returns whether this Ordering is Ordering.LessThan.

Attributes

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

Source
Ord.scala

Attributes

Source
Ord.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product