T1 - type of the first elementT2 - type of the second elementpublic class Tuple2<T1,T2> extends Object
| Constructor and Description |
|---|
Tuple2(T1 first,
T2 second)
Creates a new instance of
Tuple2 with given elements. |
| Modifier and Type | Method and Description |
|---|---|
T1 |
getFirst()
Get the first element.
|
T2 |
getSecond()
Get the second element.
|
String |
toString() |
Copyright © 1998–2024 Apryse Group NV. All rights reserved.