Packages

case class Pair[A, B](first: A, second: B) extends Product with Serializable

Java API Represents a pair (tuple) of two elements.

Additional tuple types for 3 to 22 values are defined in the akka.japi.tuple package, e.g. akka.japi.tuple.Tuple3.

Annotations
@SerialVersionUID()
Source
JavaAPI.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pair
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pair(first: A, second: B)

Value Members

  1. val first: A
  2. val second: B
  3. def toScala: (A, B)