Package model
Class Pair<T,U>
java.lang.Object
model.Pair<T,U>
- Type Parameters:
T
- The type of the first object.U
- The type of the second object.
A class that represents a pair of objects.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Pair
Constructs a new pair.- Parameters:
first
- The first object.second
- The second object.
-
-
Method Details
-
getMap
Returns the first object.- Returns:
- The first object.
-
setMap
Sets the first object.- Parameters:
map
- The first object.
-
getFile
Returns the second object.- Returns:
- The second object.
-
setFile
Sets the second object.- Parameters:
file
- The second object.
-