Packages

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ordering
  2. PartialOrdering
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def productArity: Int
    Definition Classes
    Product
  3. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def <>(that: => Ordering): Ordering

    A symbolic alias for orElse.

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

    A symbolic alias for orElse.

    A symbolic alias for orElse.

    Definition Classes
    PartialOrdering
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isEqual: Boolean

    Returns whether this Ordering is Ordering.Equals.

    Returns whether this Ordering is Ordering.Equals.

    Definition Classes
    PartialOrdering
  14. final def isGreaterThan: Boolean

    Returns whether this Ordering is Ordering.GreaterThan.

    Returns whether this Ordering is Ordering.GreaterThan.

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

    Returns whether this Ordering is Ordering.LessThan.

    Returns whether this Ordering is Ordering.LessThan.

    Definition Classes
    PartialOrdering
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def opposite: Ordering

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

  21. final def orElse(that: => Ordering): Ordering

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

  22. 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.

    Definition Classes
    PartialOrdering
  23. final def ordinal: Int

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

  24. def productElementName(n: Int): String
    Definition Classes
    Product
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def productIterator: Iterator[Any]
    Definition Classes
    Product
  27. def productPrefix: String
    Definition Classes
    Product
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def unify(that: PartialOrdering): PartialOrdering
    Definition Classes
    PartialOrdering
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from PartialOrdering

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped