T1
- type of the first value.T2
- type of the second value.public class Tuple<T1,T2> extends Object
Constructor and Description |
---|
Tuple(T1 value1,
T2 value2)
Constructs a tuple of two elements.
|
Modifier and Type | Method and Description |
---|---|
T1 |
getValue1()
Retrieves the first value of the Tuple.
|
T2 |
getValue2()
Retrieves the second value of the Tuple.
|