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/ExtraImplicits

ExtraImplicits

scala.math.Ordering.ExtraImplicits

Attributes

Source
Ordering.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Known subtypes
objectImplicits

Members list

Implicits

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

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

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

Attributes

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