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)]