_methods

trait _methods[A <: AnyRef.Opaque, REAL <: AnyRef] extends _methods[A, REAL]

Default methods for all AnyRef.Opaque.Data.Ordered defined types

Source
Ordered.scala
trait _methods[AnyRef.Opaque.Data.Ordered._methods.A, REAL]
trait _methods[AnyRef.Opaque.Data.Ordered._methods.A, REAL]
class java.lang.Object
trait scala.Matchable
class Any
class AnyRef.Opaque.Data.Ordered[AnyRef.Opaque.Data.Ordered.A, REAL]

Def

@targetName("less")
def <(v: A): Boolean

Less

Less

Returns true if current value is less than given, false - otherwise

Source
Ordered.scala
@targetName("lessOrEqual")
def <=(v: A): Boolean

Less or equal

Less or equal

Returns true if current value is less or equal to given, false - otherwise

Source
Ordered.scala
@targetName("greater")
def >(v: A): Boolean

Greater

Greater

Returns true if current value is greater than given, false - otherwise

Source
Ordered.scala
@targetName("greaterOrEqual")
def >=(v: A): Boolean

Greater or equal

Greater or equal

Returns true if current value is greater or equal to given, false - otherwise

Source
Ordered.scala
def max(v: A): A

Max value

Max value

Returns maximum of current or given value

Source
Ordered.scala
def min(v: A): A

Min value

Min value

Returns minimun of current or given value

Source
Ordered.scala
inline def real: THIS_REAL

Real value

Real value

Returns real value standing behind the opaque type.

This is a zero cost call.

Inherited from
_methods
Source
Base.scala