public class Pair<A,B>
extends java.lang.Object
implements scala.Product, scala.Serializable
Additional tuple types for 3 to 22 values are defined in the akka.japi.tuple
package, e.g. Tuple3
.
Modifier and Type | Method and Description |
---|---|
static <A,B> Pair<A,B> |
create(A first,
B second) |
A |
first() |
B |
second() |
scala.Tuple2<A,B> |
toScala() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait