| Constructor and Description |
|---|
Pair(A first,
A second)
Constructs a
Pair with a first and a second element. |
| Modifier and Type | Method and Description |
|---|---|
A |
getFirst()
Returns the first element.
|
A |
getSecond()
Returns the second element.
|