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

Equiv

scala.math.Equiv
See theEquiv companion trait
objectEquiv extendsLowPriorityEquiv

Attributes

Companion
trait
Source
Equiv.scala
Graph
Supertypes
Self type
Equiv.type

Members list

Type members

Classlikes

Attributes

Source
Equiv.scala
Supertypes
classObject
traitMatchable
classAny
Self type
objectBigInt extendsEquiv[BigInt]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[BigInt]
classObject
traitMatchable
classAny
Self type
BigInt.type
objectBoolean extendsEquiv[Boolean]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Boolean]
classObject
traitMatchable
classAny
Self type
Boolean.type
objectByte extendsEquiv[Byte]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Byte]
classObject
traitMatchable
classAny
Self type
Byte.type
objectChar extendsEquiv[Char]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Char]
classObject
traitMatchable
classAny
Self type
Char.type

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Double]
classObject
traitMatchable
classAny
Show all
Self type

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Float]
classObject
traitMatchable
classAny
Show all
Self type
objectDouble

Equivs forDoubles.

Equivs forDoubles.

Attributes

Source
Equiv.scala
Supertypes
classObject
traitMatchable
classAny
Self type
Double.type

Attributes

Source
Equiv.scala
Supertypes
classObject
traitMatchable
classAny
Known subtypes
objectImplicits
objectFloat

Equivs forFloats.

Equivs forFloats.

Attributes

Source
Equiv.scala
Supertypes
classObject
traitMatchable
classAny
Self type
Float.type

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

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

Attributes

Source
Equiv.scala
Supertypes
classObject
traitMatchable
classAny
Self type
objectInt extendsEquiv[Int]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Int]
classObject
traitMatchable
classAny
Self type
Int.type
objectLong extendsEquiv[Long]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Long]
classObject
traitMatchable
classAny
Self type
Long.type
objectShort extendsEquiv[Short]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Short]
classObject
traitMatchable
classAny
Self type
Short.type
objectString extendsEquiv[String]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[String]
classObject
traitMatchable
classAny
Self type
String.type
objectSymbol extendsEquiv[Symbol]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Symbol]
classObject
traitMatchable
classAny
Self type
Symbol.type
objectUnit extendsEquiv[Unit]

Attributes

Source
Equiv.scala
Supertypes
traitEquiv[Unit]
classObject
traitMatchable
classAny
Self type
Unit.type

Value members

Concrete methods

defapply[T :Equiv]:Equiv[T]

Attributes

Source
Equiv.scala
defby[T,S :Equiv](f:T=>S):Equiv[T]

Attributes

Source
Equiv.scala

Attributes

Source
Equiv.scala
deffromFunction[T](cmp: (T,T)=>Boolean):Equiv[T]

Attributes

Source
Equiv.scala

Attributes

Source
Equiv.scala
defuniversal[T]:Equiv[T]

Attributes

Source
Equiv.scala

Implicits

Implicits

implicitdefOption[T](impliciteqv:Equiv[T]):Equiv[Option[T]]

Attributes

Source
Equiv.scala
implicitdefTuple2[T1,T2](impliciteqv1:Equiv[T1],eqv2:Equiv[T2]):Equiv[(T1,T2)]

Attributes

Source
Equiv.scala
implicitdefTuple3[T1,T2,T3](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3]):Equiv[(T1,T2,T3)]

Attributes

Source
Equiv.scala
implicitdefTuple4[T1,T2,T3,T4](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4]):Equiv[(T1,T2,T3,T4)]

Attributes

Source
Equiv.scala
implicitdefTuple5[T1,T2,T3,T4,T5](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4],eqv5:Equiv[T5]):Equiv[(T1,T2,T3,T4,T5)]

Attributes

Source
Equiv.scala
implicitdefTuple6[T1,T2,T3,T4,T5,T6](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4],eqv5:Equiv[T5],eqv6:Equiv[T6]):Equiv[(T1,T2,T3,T4,T5,T6)]

Attributes

Source
Equiv.scala
implicitdefTuple7[T1,T2,T3,T4,T5,T6,T7](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4],eqv5:Equiv[T5],eqv6:Equiv[T6],eqv7:Equiv[T7]):Equiv[(T1,T2,T3,T4,T5,T6,T7)]

Attributes

Source
Equiv.scala
implicitdefTuple8[T1,T2,T3,T4,T5,T6,T7,T8](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4],eqv5:Equiv[T5],eqv6:Equiv[T6],eqv7:Equiv[T7],eqv8:Equiv[T8]):Equiv[(T1,T2,T3,T4,T5,T6,T7,T8)]

Attributes

Source
Equiv.scala
implicitdefTuple9[T1,T2,T3,T4,T5,T6,T7,T8,T9](impliciteqv1:Equiv[T1],eqv2:Equiv[T2],eqv3:Equiv[T3],eqv4:Equiv[T4],eqv5:Equiv[T5],eqv6:Equiv[T6],eqv7:Equiv[T7],eqv8:Equiv[T8],eqv9:Equiv[T9]):Equiv[(T1,T2,T3,T4,T5,T6,T7,T8,T9)]

Attributes

Source
Equiv.scala

Deprecated and Inherited implicits

implicitdefuniversalEquiv[T]:Equiv[T]

Attributes

Deprecated
[Since version 2.13.0]Use explicit Equiv.universal instead. See Scaladoc entry for more information: ".+("https://www.scala-lang.org/api/current/scala/math/Equiv$.html#universalEquiv[T]:scala.math.Equiv[T]")

This implicit universalEquiv instance allows accidentally comparing instances of types for which equality isn't well-defined or implemented. (For example, it does not make sense to compare twoFunction1 instances.) UseEquiv.universal explicitly instead. If you really want an implicit universalEquiv instance despite the potential problems, considerimplicit def universalEquiv[T]: Equiv[T] = universal[T].

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

[8]ページ先頭

©2009-2025 Movatter.jp