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
- Alphabetic
- By Inheritance
- Ordering
- PartialOrdering
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def <>(that: => Ordering): Ordering
A symbolic alias for
orElse
. - final def <>(that: => PartialOrdering): PartialOrdering
A symbolic alias for
orElse
.A symbolic alias for
orElse
.- Definition Classes
- PartialOrdering
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isEqual: Boolean
Returns whether this
Ordering
isOrdering.Equals
.Returns whether this
Ordering
isOrdering.Equals
.- Definition Classes
- PartialOrdering
- final def isGreaterThan: Boolean
Returns whether this
Ordering
isOrdering.GreaterThan
.Returns whether this
Ordering
isOrdering.GreaterThan
.- Definition Classes
- PartialOrdering
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isLessThan: Boolean
Returns whether this
Ordering
isOrdering.LessThan
.Returns whether this
Ordering
isOrdering.LessThan
.- Definition Classes
- PartialOrdering
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def opposite: Ordering
Returns the opposite of this
Ordering
, withLessThan
converted toGreaterThan
andGreaterThan
converted toLessThan
. - final def orElse(that: => Ordering): Ordering
Returns this ordering, but if this ordering is equal returns the specified ordering.
- 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
- final def ordinal: Int
Converts this
Ordering
to an ordinal representation, with0
representingLessThan
,1
representingEquals
and2
representingGreaterThan
. - def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unify(that: PartialOrdering): PartialOrdering
- Definition Classes
- PartialOrdering
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()