Tuple2TypeOps

final case class Tuple2TypeOps(tupleType: Tuple2.type) extends AnyVal
trait Product
trait Equals
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def _1[A, B](pair: (A, B)): A

fst convenience method for composition

fst convenience method for composition

def _2[A, B](pair: (A, B)): B

snd convenience method for composition

snd convenience method for composition

def swap[A, B](pair: (A, B)): (B, A)

swap convenience method for composition

swap convenience method for composition

Inherited methods

Inherited from:
Product