Trait/Object

zio.prelude

Ordering

Related Docs: object Ordering | package prelude

Permalink

sealed trait Ordering extends PartialOrdering

An Ordering is the result of comparing two values. The result may be LessThan, Equals, or GreaterThan.

Self Type
Ordering
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ordering
  2. PartialOrdering
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  2. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def <>(that: ⇒ Ordering): Ordering

    Permalink

    A symbolic alias for orElse.

  4. final def <>(that: ⇒ PartialOrdering): PartialOrdering

    Permalink

    A symbolic alias for orElse.

    A symbolic alias for orElse.

    Definition Classes
    PartialOrdering
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isEqual: Boolean

    Permalink

    Returns whether this Ordering is Ordering.Equals.

    Returns whether this Ordering is Ordering.Equals.

    Definition Classes
    PartialOrdering
  14. final def isGreaterThan: Boolean

    Permalink

    Returns whether this Ordering is Ordering.GreaterThan.

    Returns whether this Ordering is Ordering.GreaterThan.

    Definition Classes
    PartialOrdering
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def isLessThan: Boolean

    Permalink

    Returns whether this Ordering is Ordering.LessThan.

    Returns whether this Ordering is Ordering.LessThan.

    Definition Classes
    PartialOrdering
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def opposite: Ordering

    Permalink

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

  21. final def orElse(that: ⇒ Ordering): Ordering

    Permalink

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

  22. final def orElse(that: ⇒ PartialOrdering): PartialOrdering

    Permalink

    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.

    Definition Classes
    PartialOrdering
  23. final def ordinal: Int

    Permalink

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

  24. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  25. def productPrefix: String

    Permalink
    Definition Classes
    Product
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def unify(that: PartialOrdering): PartialOrdering

    Permalink
    Definition Classes
    PartialOrdering
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PartialOrdering

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped