Scala Standard Library 2.12.18 - scala.math.Ordered (original) (raw)
object Ordered
Ordering
- Alphabetic
- By Inheritance
Inherited
Ordered
AnyRef
Any
Hide All
Show All
Value Members
- final def !=(arg0: Any): Boolean
Test two objects for inequality. - final def ##(): Int
Equivalent tox.hashCode
except for boxed numeric types andnull
. - final def ==(arg0: Any): Boolean
The expressionx == that
is equivalent toif (x eq null) that eq null else x.equals(that)
. - final def asInstanceOf[T0]: T0
Cast the receiver object to be of typeT0
. - def clone(): AnyRef
Create a copy of the receiver object. - final def eq(arg0: AnyRef): Boolean
Tests whether the argument (that
) is a reference to the receiver object (this
). - def equals(arg0: Any): Boolean
The equality method for reference types. - def finalize(): Unit
Called by the garbage collector on the receiver object when there are no more references to the object. - final def getClass(): Class[_]
Returns the runtime class representation of the object. - def hashCode(): Int
The hashCode method for reference types. - final def isInstanceOf[T0]: Boolean
Test whether the dynamic type of the receiver object isT0
. - final def ne(arg0: AnyRef): Boolean
Equivalent to!(this eq that)
. - final def notify(): Unit
Wakes up a single thread that is waiting on the receiver object's monitor. - final def notifyAll(): Unit
Wakes up all threads that are waiting on the receiver object's monitor. - implicit def orderingToOrdered[T](x: T)(implicit ord: Ordering[T]): Ordered[T]
Lens fromOrdering[T]
toOrdered[T]
- final def synchronized[T0](arg0: ⇒ T0): T0
- def toString(): String
Creates a String representation of this object. - final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
Ungrouped
Scala programming documentation. Copyright (c) 2002-2023 EPFL, with contributions from Lightbend.