Scala Standard Library 2.13.15 - scala.Tuple2 (original) (raw)

final case class Tuple2[+T1, +T2](_1: T1, _2: T2) extends Product2[T1, T2] with Product with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Tuple2
  2. Serializable
  3. Product2
  4. Product
  5. Equals
  6. AnyRef
  7. Any

Implicitly

  1. by tuple2ToZippedOps

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Tuple2(_1: T1, _2: T2)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): ((T1, T2), B)
  5. final def ==(arg0: Any): Boolean
  6. val _1: T1
  7. val _2: T2
  8. final def asInstanceOf[T0]: T0
  9. def clone(): AnyRef
  10. def ensuring(cond: ((T1, T2)) => Boolean, msg: => Any): (T1, T2)
  11. def ensuring(cond: ((T1, T2)) => Boolean): (T1, T2)
  12. def ensuring(cond: Boolean, msg: => Any): (T1, T2)
  13. def ensuring(cond: Boolean): (T1, T2)
  14. final def eq(arg0: AnyRef): Boolean
  15. def finalize(): Unit
  16. final def getClass(): Class[_ <: AnyRef]
  17. final def isInstanceOf[T0]: Boolean
  18. final def ne(arg0: AnyRef): Boolean
  19. final def notify(): Unit
  20. final def notifyAll(): Unit
  21. def productArity: Int
  22. def productElement(n: Int): Any
  23. def productElementNames: Iterator[String]
  24. def swap: (T2, T1)
  25. final def synchronized[T0](arg0: => T0): T0
  26. def toString(): String
  27. final def wait(): Unit
  28. final def wait(arg0: Long, arg1: Int): Unit
  29. final def wait(arg0: Long): Unit

Deprecated Value Members

  1. def formatted(fmtstr: String): String
  2. def invert[El1, It1[a] <: Iterable[a], El2, It2[a] <: Iterable[a], That](implicit w1: <:<[T1, It1[El1]], w2: <:<[T2, It2[El2]], bf: BuildFrom[T1, (El1, El2), That]): That
  3. def zipped[El1, It1 <: Iterable[El1], El2, It2 <: Iterable[El2]](implicit w1: (T1) => IterableOps[El1, Iterable, It1] with It1, w2: (T2) => IterableOps[El2, Iterable, It2] with It2): Tuple2Zipped[El1, It1, El2, It2]
  4. def →[B](y: B): ((T1, T2), B)

Inherited from java.io.Serializable

Inherited from Product2[T1, T2]

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion tuple2ToZippedOps from(T1, T2) to Ops[T1, T2]

Inherited by implicit conversion any2stringadd from(T1, T2) to any2stringadd[(T1, T2)]

Inherited by implicit conversion StringFormat from(T1, T2) to StringFormat[(T1, T2)]

Inherited by implicit conversion Ensuring from(T1, T2) to Ensuring[(T1, T2)]

Inherited by implicit conversion ArrowAssoc from(T1, T2) to ArrowAssoc[(T1, T2)]

Ungrouped