| Modifier | Constructor and Description |
|---|---|
protected |
Tuple2(T1 _1,
T2 _2) |
| Modifier and Type | Method and Description |
|---|---|
T1 |
_1()
Element 1 of this Tuple2
|
T2 |
_2()
Element 2 of this Tuple2
|
static <T1,T2> Tuple2<T1,T2> |
apply(T1 _1,
T2 _2) |
T1 |
getFirst()
Element 1 of this Tuple2
|
T2 |
getSecond()
Element 2 of this Tuple2
|
Tuple2<T2,T1> |
swap()
Swaps the elements of this Tuple.
|
String |
toString() |
static <T1,T2> Option<Tuple2<T1,T2>> |
unapply(Tuple2<T1,T2> tuple) |
Copyright © 2015. All rights reserved.