scala.Predef
object Pair

[source: `scala/Predef.scala`]

`` `object` Pair
  `extends` AnyRef

Method Summary
`def` | apply [A, B](x : A, y : B) : (A, B)
`def` | unapply [A, B](x : (A, B)) : Option[(A, B)]

Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` apply[A, B](x : A, y : B) : (A, B)

`` `def` unapply[A, B](x : (A, B)) : Option[(A, B)]