scala / 3.1 / scala / runtime / orderedproxy.html

Trait scala.runtime.OrderedProxy

@nowarn("cat=deprecation")
trait OrderedProxy[T] extends Ordered[T] with Typed[T]

Supertypes
Known subtypes

Abstract methods

Source
protected def ord: Ordering[T]

Concrete methods

Source
def compare(y: T): Int

Inherited methods

Source
def <(that: T): Boolean

Returns true if this is less than that

Inherited from Ordered

Source
def <=(that: T): Boolean

Returns true if this is less than or equal to that.

Inherited from Ordered

Source
def >(that: T): Boolean

Returns true if this is greater than that.

Inherited from Ordered

Source
def >=(that: T): Boolean

Returns true if this is greater than or equal to that.

Inherited from Ordered

Source
def compareTo(that: T): Int

Result of comparing this with operand that.

Inherited from Ordered

Source
override def equals(that: Any): Boolean

Definition Classes Proxy -> Any
Inherited from Proxy

Source
override def hashCode: Int

Definition Classes Proxy -> Any
Inherited from Proxy

Source
def self: T

Inherited from Typed

Source
override def toString: String

Definition Classes Proxy -> Any
Inherited from Proxy

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/runtime/OrderedProxy.html