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
- Alphabetic
- By Inheritance
Inherited
- Tuple2
- Serializable
- Product2
- Product
- Equals
- AnyRef
- Any
Implicitly
by tuple2ToZippedOps
by any2stringadd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show All
Visibility
- Public
- Protected
Instance Constructors
- new Tuple2(_1: T1, _2: T2)
Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- def +(other: String): String
- def ->[B](y: B): ((T1, T2), B)
- final def ==(arg0: Any): Boolean
- val _1: T1
- val _2: T2
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- def ensuring(cond: ((T1, T2)) => Boolean, msg: => Any): (T1, T2)
- def ensuring(cond: ((T1, T2)) => Boolean): (T1, T2)
- def ensuring(cond: Boolean, msg: => Any): (T1, T2)
- def ensuring(cond: Boolean): (T1, T2)
- final def eq(arg0: AnyRef): Boolean
- def finalize(): Unit
- final def getClass(): Class[_ <: AnyRef]
- final def isInstanceOf[T0]: Boolean
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- def productArity: Int
- def productElement(n: Int): Any
- def productElementNames: Iterator[String]
- def swap: (T2, T1)
- final def synchronized[T0](arg0: => T0): T0
- def toString(): String
- final def wait(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
Deprecated Value Members
- def formatted(fmtstr: String): String
- 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
- 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]
- def →[B](y: B): ((T1, T2), B)