public class Pair<T,U>
extends java.lang.Object
Constructor and Description |
---|
Pair(T first,
U second)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
getFirst()
Returns the first value.
|
U |
getSecond()
Returns the second value.
|