T
- Type of the first object.U
- Type of the second object.public class Pair<T,U> extends Object
Constructor and Description |
---|
Pair(Pair<T,U> aPair)
Copies a pair.
|
Pair(T aT,
U aU)
Constructs the pair.
|
Modifier and Type | Method and Description |
---|---|
T |
getFirst()
Gets the first object of the pair.
|
U |
getSecond()
Gets the second object of the pair.
|
Copyright © 2022. All rights reserved.