Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.math/Ordering/Implicits

Implicits

scala.math.Ordering.Implicits

An object containing implicits which are not in the default scope.

Attributes

Source
Ordering.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Implicits

Inherited implicits

implicitdefinfixOrderingOps[T](x:T)(implicitord:Ordering[T]):Ordering[T]#OrderingOps

This implicit creates a conversion from any value for which an implicitOrdering exists to the class which creates infix operations.

This implicit creates a conversion from any value for which an implicitOrdering exists to the class which creates infix operations. With it imported, you can write methods as follows:

def lessThan[T: Ordering](x: T, y: T) = x < y

Attributes

Inherited from:
ExtraImplicits
Source
Ordering.scala
implicitdefseqOrdering[CC <:(Seq),T](implicitord:Ordering[T]):Ordering[CC[T]]

Not in the standard scope due to the potential for divergence: For instanceimplicitly[Ordering[Any]] diverges in its presence.

Not in the standard scope due to the potential for divergence: For instanceimplicitly[Ordering[Any]] diverges in its presence.

Attributes

Inherited from:
ExtraImplicits
Source
Ordering.scala
implicitdefsortedSetOrdering[CC <:(SortedSet),T](implicitord:Ordering[T]):Ordering[CC[T]]

Attributes

Inherited from:
ExtraImplicits
Source
Ordering.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp